diff options
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 0c38b4a8..9822c96d 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; |