author | alwin <alwin> | 2004-03-08 03:03:12 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-08 03:03:12 (UTC) |
commit | 9553bf83fd98812781b5d15aad9b69daaadec3f5 (patch) (side-by-side diff) | |
tree | 8495eaf7fae291b498114bd70d532f1aecba1fd9 /noncore/net | |
parent | eddc5184f5be6a067b077d18e240a1fe982bbcf4 (diff) | |
download | opie-9553bf83fd98812781b5d15aad9b69daaadec3f5.zip opie-9553bf83fd98812781b5d15aad9b69daaadec3f5.tar.gz opie-9553bf83fd98812781b5d15aad9b69daaadec3f5.tar.bz2 |
obsolete variables removed
-rw-r--r-- | noncore/net/mail/libmailwrapper/mboxwrapper.cpp | 4 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/mboxwrapper.h | 1 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/mhwrapper.cpp | 4 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/mhwrapper.h | 1 |
4 files changed, 2 insertions, 8 deletions
diff --git a/noncore/net/mail/libmailwrapper/mboxwrapper.cpp b/noncore/net/mail/libmailwrapper/mboxwrapper.cpp index 11ffd92..abe4bb6 100644 --- a/noncore/net/mail/libmailwrapper/mboxwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/mboxwrapper.cpp @@ -5,10 +5,8 @@ #include <qdir.h> #include <stdlib.h> #include <qpe/global.h> -const MAILLIB::ATYPE MBOXwrapper::wrapperType=MAILLIB::MBOX; - MBOXwrapper::MBOXwrapper(const QString & mbox_dir,const QString&mbox_name) : Genericwrapper(),MBOXPath(mbox_dir),MBOXName(mbox_name) { QDir dir(MBOXPath); @@ -327,9 +325,9 @@ void MBOXwrapper::statusFolder(folderStat&target_stat,const QString & mailbox) } MAILLIB::ATYPE MBOXwrapper::getType()const { - return wrapperType; + return MAILLIB::A_MBOX; } const QString&MBOXwrapper::getName()const { diff --git a/noncore/net/mail/libmailwrapper/mboxwrapper.h b/noncore/net/mail/libmailwrapper/mboxwrapper.h index a12a1dd..7e7f359 100644 --- a/noncore/net/mail/libmailwrapper/mboxwrapper.h +++ b/noncore/net/mail/libmailwrapper/mboxwrapper.h @@ -41,8 +41,7 @@ public: protected: static void deleteMails(mailmbox_folder*f,QList<RecMail> &target); QString MBOXPath; QString MBOXName; - static const MAILLIB::ATYPE wrapperType; }; #endif diff --git a/noncore/net/mail/libmailwrapper/mhwrapper.cpp b/noncore/net/mail/libmailwrapper/mhwrapper.cpp index 179bd34..560eab0 100644 --- a/noncore/net/mail/libmailwrapper/mhwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/mhwrapper.cpp @@ -7,10 +7,8 @@ #include <stdlib.h> #include <qpe/global.h> #include <opie2/oprocess.h> -const MAILLIB::ATYPE MHwrapper::wrapperType=MAILLIB::A_MH; - MHwrapper::MHwrapper(const QString & mbox_dir,const QString&mbox_name) : Genericwrapper(),MHPath(mbox_dir),MHName(mbox_name) { if (MHPath.length()>0) { @@ -367,9 +365,9 @@ void MHwrapper::statusFolder(folderStat&target_stat,const QString & mailbox) } MAILLIB::ATYPE MHwrapper::getType()const { - return wrapperType; + return MAILLIB::A_MH; } const QString&MHwrapper::getName()const { diff --git a/noncore/net/mail/libmailwrapper/mhwrapper.h b/noncore/net/mail/libmailwrapper/mhwrapper.h index c1ba78d..b7c23af 100644 --- a/noncore/net/mail/libmailwrapper/mhwrapper.h +++ b/noncore/net/mail/libmailwrapper/mhwrapper.h @@ -49,9 +49,8 @@ public slots: protected: QString buildPath(const QString&p); QString MHPath; QString MHName; - static const MAILLIB::ATYPE wrapperType; void init_storage(); void clean_storage(); |