Mercurial > hg > easyhg-kdiff3
comparison kdiff3/src-QT4/kreplacements/README @ 75:08ea9b86c12c
KDiff3-0.9.91
author | joachim99 |
---|---|
date | Sat, 04 Nov 2006 00:05:00 +0000 |
parents | kdiff3/src/kreplacements/README@86d21651c8db |
children |
comparison
equal
deleted
inserted
replaced
74:069521efec1a | 75:08ea9b86c12c |
---|---|
1 About the "kreplacements"-directory: | |
2 ==================================== | |
3 | |
4 I want to be able to compile and use KDiff3 without KDE too. | |
5 Since KDiff3 is a KDE program, which uses many KDE-classes and | |
6 functions there must be some replacement. | |
7 | |
8 In many cases this is just the corresponding Qt-class, but often | |
9 I wrote something myself. For several very KDE-specific functions | |
10 there is no real replacement, but only stub functions that allow | |
11 the program to compile and link. | |
12 | |
13 This stuff is not intended to be used for anything else but KDiff3. | |
14 Think of it rather as a big hack, that only has the advantage | |
15 that I need not mess up the normal program with many ugly | |
16 #ifdef/#endif-clauses. | |
17 | |
18 Most include files in this directory only include kreplacements.h | |
19 where the actual declarations are. The implementions are in | |
20 kreplacements.cpp. | |
21 | |
22 The *.moc-files are dummies. The new KDE-philosophy seems to be | |
23 that *.moc-files are directly included into the sources. | |
24 The Qt-philosophy still is to generate moc*.cpp files which will | |
25 be compiled seperately. With these dummy-moc-files both versions | |
26 can be compiled. | |
27 | |
28 | |
29 Joachim | |
30 (2003-10-02) |