diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/quotajobs.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/quotajobs.h')
-rw-r--r-- | kmail/quotajobs.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/kmail/quotajobs.h b/kmail/quotajobs.h index 31bd1ef58..e53a4f18e 100644 --- a/kmail/quotajobs.h +++ b/kmail/quotajobs.h @@ -19,18 +19,18 @@ * * In addition, as a special exception, the copyright holders give * permission to link the code of this program with any edition of - * the Qt library by Trolltech AS, Norway (or with modified versions - * of Qt that use the same license as Qt), and distribute linked + * the TQt library by Trolltech AS, Norway (or with modified versions + * of TQt that use the same license as TQt), and distribute linked * combinations including the two. You must obey the GNU General * Public License in all respects for all of the code used other than - * Qt. If you modify this file, you may extend this exception to + * TQt. If you modify this file, you may extend this exception to * your version of the file, but you are not obligated to do so. If * you do not wish to do so, delete this exception statement from * your version. */ -#ifndef QUOTAJOBS_H -#define QUOTAJOBS_H +#ifndef TQUOTAJOBS_H +#define TQUOTAJOBS_H #include <tqvariant.h> @@ -48,7 +48,7 @@ namespace KMail { // the current value and the maximal value class QuotaInfo { public : - QuotaInfo() {} // for QValueVector + QuotaInfo() {} // for TQValueVector QuotaInfo( const TQString& _name, const TQString& _root, const TQVariant& _current, const TQVariant& _max ) : mName( _name ), mRoot( _root ), mCurrent( _current ),mMax( _max ) {} bool operator==( const QuotaInfo & other ) const { @@ -109,7 +109,7 @@ class QuotaInfo { typedef TQValueVector<QuotaInfo> QuotaInfoList; /** - * This namespace tqcontains functions that return jobs for quota operations. + * This namespace contains functions that return jobs for quota operations. * * The current implementation is tied to IMAP. * If someone wants to extend this to other protocols, turn the namespace into a class @@ -137,6 +137,7 @@ GetStorageQuotaJob* getStorageQuota( KIO::Slave* slave, const KURL& url ); class GetQuotarootJob : public KIO::SimpleJob { Q_OBJECT + TQ_OBJECT public: GetQuotarootJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo ); @@ -163,6 +164,7 @@ protected slots: class GetStorageQuotaJob : public KIO::Job { Q_OBJECT + TQ_OBJECT public: GetStorageQuotaJob( KIO::Slave* slave, const KURL& url ); @@ -190,5 +192,5 @@ private: } // KMail namespace -#endif /* QUOTAJOBS_H */ +#endif /* TQUOTAJOBS_H */ |