[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kdenetwork/kmail
From: Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date: 2001-05-04 7:41:03
[Download RAW message or body]
Dne pá 4. kvìten 2001 08:56 Michael Häckel 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:
> > kmfilterdlg.cpp kmscoring.cpp kmsearchpatternedit.cpp
> > kwidgetlister.cpp smtp.cpp
> > Log Message:
> > includemocs
>
> Hi, probably you have a good reason for that, but could you please explain
> me, what exactely is the advantage of this change?
>
> Regards,
> Michael Häckel
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 ----
KMScoringManager*
KMScoringManager::mScoringManager = 0;
+ #include "kmscoring.moc"
The reason for including the .moc file in the corresponding .cpp is that it
usually significantly reduces compilation time ( sometimes >30% ). Instead of
compiling two files ( including analyzing headers files twice ) only one a
bit larger file is compiled ( gcc cannot do precompiled headers yet :( ).
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 <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic