joachim99@8: About the "kreplacements"-directory: joachim99@8: ==================================== joachim99@8: joachim99@8: I want to be able to compile and use KDiff3 without KDE too. joachim99@8: Since KDiff3 is a KDE program, which uses many KDE-classes and joachim99@8: functions there must be some replacement. joachim99@8: joachim99@8: In many cases this is just the corresponding Qt-class, but often joachim99@8: I wrote something myself. For several very KDE-specific functions joachim99@8: there is no real replacement, but only stub functions that allow joachim99@8: the program to compile and link. joachim99@8: joachim99@8: This stuff is not intended to be used for anything else but KDiff3. joachim99@8: Think of it rather as a big hack, that only has the advantage joachim99@8: that I need not mess up the normal program with many ugly joachim99@8: #ifdef/#endif-clauses. joachim99@8: joachim99@8: Most include files in this directory only include kreplacements.h joachim99@8: where the actual declarations are. The implementions are in joachim99@8: kreplacements.cpp. joachim99@8: joachim99@8: The *.moc-files are dummies. The new KDE-philosophy seems to be joachim99@8: that *.moc-files are directly included into the sources. joachim99@8: The Qt-philosophy still is to generate moc*.cpp files which will joachim99@8: be compiled seperately. With these dummy-moc-files both versions joachim99@8: can be compiled. joachim99@8: joachim99@8: joachim99@8: Joachim joachim99@8: (2003-10-02)