diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/kmfilteraction.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
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
Diffstat (limited to 'kmail/kmfilteraction.h')
-rw-r--r-- | kmail/kmfilteraction.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmail/kmfilteraction.h b/kmail/kmfilteraction.h index 55aba2cf2..21fa0e73b 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. |