From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- kmail/kmfilteraction.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kmail/kmfilteraction.h') diff --git a/kmail/kmfilteraction.h b/kmail/kmfilteraction.h index 55aba2cf..21fa0e73 100644 --- a/kmail/kmfilteraction.h +++ b/kmail/kmfilteraction.h @@ -111,7 +111,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -190,8 +190,8 @@ public: virtual void argsFromString(const TQString) {}; /** Return extra arguments as string. Must not contain newlines. We - return TQString::null, because we have no parameter. */ - virtual const TQString argsAsString() const { return TQString::null; } + return TQString(), because we have no parameter. */ + virtual const TQString argsAsString() const { return TQString(); } /** Returns a translated string describing this filter for visualization purposes, e.g. in the filter log. */ @@ -234,7 +234,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -345,7 +345,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -404,7 +404,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -469,7 +469,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -493,7 +493,7 @@ public: /** Abstract base class for KMail's filter actions that need a command - line as parameter, e.g. 'forward to'. Can create a QLineEdit + line as parameter, e.g. 'forward to'. Can create a TQLineEdit (are there better widgets in the depths of the kdelibs?) as parameter widget. A subclass of this must provide at least implementations for the following methods: @@ -526,7 +526,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -565,7 +565,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -607,7 +607,7 @@ public: /** Creates a widget for setting the filter action parameter. Also sets the value of the widget. */ - virtual TQWidget* createParamWidget(TQWidget* parent) const; + virtual TQWidget* createParamWidget(TQWidget* tqparent) const; /** The filter action shall set it's parameter from the widget's contents. It is allowed that the value is read by the action @@ -648,7 +648,7 @@ struct KMFilterActionDesc KMFilterActionNewFunc create; }; -/** Dictionary that tqcontains a list of all registered filter actions +/** Dictionary that contains a list of all registered filter actions with their creation functions. They are hard-coded into the constructor. If you want to add a new KMFilterAction, make sure you add the details of it in init, too. -- cgit v1.2.3