[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    make_it_cool: kdenetwork/kmail
From:       Zack Rusin <zack () kde ! org>
Date:       2002-12-06 14:47:28
[Download RAW message or body]

CVS commit by zrusin: 

Small cleanups.


  M +2 -2      cachedimapjob.cpp   1.1.2.3
  M +1 -4      cachedimapjob.h   1.1.2.2


--- kdenetwork/kmail/cachedimapjob.cpp:1.1.2.2	Fri Dec  6 08:42:23 2002
@@ -77,7 +77,7 @@
   mAccount->mJobList.remove(this);
 }
 
-void CachedImapJob::init( JobType type )
+void CachedImapJob::init()
 {
   if( !mFolder ) {
     if( !mMsgList.isEmpty() ) {
@@ -545,7 +545,7 @@
 
 void CachedImapJob::execute()
 {
-  init( mType );
+  init();
 }
 
 void CachedImapJob::expireMessages()
--- kdenetwork/kmail/cachedimapjob.h:1.1.2.1	Fri Dec  6 03:55:04 2002
@@ -78,7 +78,7 @@
   virtual void slotRenameFolderResult( KIO::Job *job );
 
 private:
-  void init( JobType type );
+  void init();
 
   KMFolderCachedImap *mFolder;
   KMAcctCachedImap   *mAccount;
@@ -92,9 +92,6 @@
   QString mString; // Used as uids and as rename target
   KIO::Job *mJob;
   QByteArray mData;
-
-  // If this is true, the destructor won't emit finished()
-  bool mPassiveDestructor;
 };
 
 }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic