diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/kmfiltermgr.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmfiltermgr.h')
-rw-r--r-- | kmail/kmfiltermgr.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/kmfiltermgr.h b/kmail/kmfiltermgr.h index 0c38b4a88..9822c96d3 100644 --- a/kmail/kmfiltermgr.h +++ b/kmail/kmfiltermgr.h @@ -23,8 +23,8 @@ #include "kmfilteraction.h" // for KMFilterAction::ReturnCode #include "kmfolder.h" -#include <qguardedptr.h> -#include <qobject.h> +#include <tqguardedptr.h> +#include <tqobject.h> class KMFilter; class KMFilterDlg; @@ -54,11 +54,11 @@ public: /** Open an edit dialog. If checkForEmptyFilterList is true, an empty filter is created to improve the visibility of the dialog in case no filter has been defined so far. */ - void openDialog( QWidget *parent, bool checkForEmptyFilterList = true ); + void openDialog( TQWidget *parent, bool checkForEmptyFilterList = true ); /** Open an edit dialog, create a new filter and preset the first rule with "field equals value" */ - void createFilter( const QCString & field, const QString & value ); + void createFilter( const TQCString & field, const TQString & value ); bool beginFiltering(KMMsgBase *msgBase) const; int moveMessage(KMMessage *msg) const; @@ -83,20 +83,20 @@ public: /** Check for existing filters with the &p name and extend the "name" to "name (i)" until no match is found for i=1..n */ - const QString createUniqueName( const QString & name ); + const TQString createUniqueName( const TQString & name ); /** Append the list of filters to the current list of filters and write everything back into the configuration. The filter manager takes ownership of the filters in the list. */ - void appendFilters( const QValueList<KMFilter*> &filters, + void appendFilters( const TQValueList<KMFilter*> &filters, bool replaceIfNameExists = false ); /** Replace the list of filters under control of the filter manager. * The manager takes ownershipt of the filters. */ - void setFilters( const QValueList<KMFilter*> &filters ); + void setFilters( const TQValueList<KMFilter*> &filters ); /** @return the list of filters managed by this object */ - const QValueList<KMFilter*> & filters() const { return mFilters; } + const TQValueList<KMFilter*> & filters() const { return mFilters; } /** Process given message by applying the filter rules one by one. You can select which set of filters (incoming or outgoing) @@ -184,9 +184,9 @@ private: /** Find out if a message matches the filter criteria */ bool isMatching( Q_UINT32 serNum, const KMFilter *filter ); - QGuardedPtr<KMFilterDlg> mEditDialog; - QValueVector<KMFolder *> mOpenFolders; - QValueList<KMFilter *> mFilters; + TQGuardedPtr<KMFilterDlg> mEditDialog; + TQValueVector<KMFolder *> mOpenFolders; + TQValueList<KMFilter *> mFilters; bool bPopFilter; bool mShowLater; bool mDirtyBufferedFolderTarget; |