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/kmfilter.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kmail/kmfilter.h') diff --git a/kmail/kmfilter.h b/kmail/kmfilter.h index 767343ecd..87820777d 100644 --- a/kmail/kmfilter.h +++ b/kmail/kmfilter.h @@ -25,7 +25,7 @@ #include -#include +#include class QString; class KConfig; @@ -76,7 +76,7 @@ public: ~KMFilter() {} /** Equivalent to @pattern()->name(). @return name of the filter */ - QString name() const { + TQString name() const { return mPattern.name(); } @@ -124,10 +124,10 @@ public: /** Provides a reference to the internal action list. If your used the @p setAction() and @p action() functions before, please convert to using myFilter->actions()->at() and friends now. */ - QPtrList* actions() { return &mActions; } + TQPtrList* actions() { return &mActions; } /** Provides a reference to the internal action list. Const version. */ - const QPtrList* actions() const { return &mActions; } + const TQPtrList* actions() const { return &mActions; } /** Provides a reference to the internal pattern. If you used the @p matches() function before, please convert to using @@ -251,12 +251,12 @@ public: or toolbar. Default is the gear icon. @see setConfigureShortcut setConfigureToolbar */ - void setIcon( QString icon ) { mIcon = icon; } + void setIcon( TQString icon ) { mIcon = icon; } /** @return The name of the icon to be used. @see setIcon */ - QString icon() const { return mIcon; } + TQString icon() const { return mIcon; } /** * Called from the filter manager when a folder is moved. @@ -271,7 +271,7 @@ public: debugging but not much else. Don't use, as it may well go away in the future... */ #ifndef NDEBUG - const QString asString() const; + const TQString asString() const; #endif /** No descriptions */ @@ -293,10 +293,10 @@ public: private: KMSearchPattern mPattern; - QPtrList mActions; - QValueList mAccounts; + TQPtrList mActions; + TQValueList mAccounts; KMPopFilterAction mAction; - QString mIcon; + TQString mIcon; KShortcut mShortcut; bool bPopFilter : 1; bool bApplyOnInbound : 1; -- cgit v1.2.1