Are you using KDevelop? One sure way of deleting a class is to remove it in the automake manager. So just go to the automake manager on the right, and in the sources delete the .cpp file (check the checkbox to actually delete the file), and same for the header (also check the checkbox). With this method you will not have to mess around with any makefiles, or with the project file. At worst, you may have to do redo automake and configure. However, you will have to manually remove all the #include statements from all other files. This can easily be done with find in files... feature, and also since the compiler will give errors (or warnings?) about non-existant includes. Also I guess find and replace could do the job. Just find in all files #include "myfile.h", and replace it with nothing.
I am not sure if there may be an option in the class browser to delete a class, by right-clicking on the class, and what it could do. I don't usually use the class borswer, so don't know. Can't check now, because im on a windows computer =[.
Hope this answers your question.
Latem
The march of progress:
C:
printf("%10.2f", x);
C++:
cout << setw(10) << setprecision(2) << showpoint << x;
Java:
java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
formatter.setMinimumFractionDigits(2);
formatter.setMaximumFractionDigits(2);
String s = formatter.format(x);
for (int i = s.length(); i < 10; i++) System.out.print(' ');
System.out.print(s);
This post has been edited 1 times, last edit by "Latem" (Jul 25th 2005, 6:39pm)