From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/kmfiltermgr.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kmail/kmfiltermgr.h') 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 -#include +#include +#include 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 &filters, + void appendFilters( const TQValueList &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 &filters ); + void setFilters( const TQValueList &filters ); /** @return the list of filters managed by this object */ - const QValueList & filters() const { return mFilters; } + const TQValueList & 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 mEditDialog; - QValueVector mOpenFolders; - QValueList mFilters; + TQGuardedPtr mEditDialog; + TQValueVector mOpenFolders; + TQValueList mFilters; bool bPopFilter; bool mShowLater; bool mDirtyBufferedFolderTarget; -- cgit v1.2.1