Dne p=E1 4. kv=ECten 2001 08:56 Michael H=E4ckel napsal(a): > On Friday, 4. May 2001 03:16, CVS by bruggie wrote: > > kdenetwork/kmail kmfilterdlg.cpp,1.54,1.55 kmscoring.cpp,1.2,1.3 > > kmsearchpatternedit.cpp,1.2,1.3 kwidgetlister.cpp,1.1,1.2 > > smtp.cpp,1.3,1.4 Author: bruggie > > Fri May 4 01:14:38 UTC 2001 > > In directory cvs.kde.org:/var/tmp/cvs-serv12091 > > > > Modified Files: > > =09kmfilterdlg.cpp kmscoring.cpp kmsearchpatternedit.cpp > > =09kwidgetlister.cpp smtp.cpp > > Log Message: > > includemocs > > Hi, probably you have a good reason for that, but could you please expl= ain > me, what exactely is the advantage of this change? > > Regards, > Michael H=E4ckel Index: kdenetwork/kmail/kmscoring.cpp diff -c kdenetwork/kmail/kmscoring.cpp:1.2 kdenetwork/kmail/kmscoring.cpp= :1.3 *** kdenetwork/kmail/kmscoring.cpp:1.2 Thu Apr 19 18:48:07 2001 --- kdenetwork/kmail/kmscoring.cpp Fri May 4 01:14:38 2001 *************** *** 139,141 **** --- 139,142 ---- =20 KMScoringManager* KMScoringManager::mScoringManager =3D 0; + #include "kmscoring.moc" The reason for including the .moc file in the corresponding .cpp is that= it=20 usually significantly reduces compilation time ( sometimes >30% ). Instea= d of=20 compiling two files ( including analyzing headers files twice ) only one = a=20 bit larger file is compiled ( gcc cannot do precompiled headers yet :( )= =2E =20 Lubos Lunak -- l.lunak@email.cz ; l.lunak@kde.org http://dforce.sh.cvut.cz/~seli >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<