summaryrefslogtreecommitdiffstats
path: root/kmail/kmsearchpatternedit.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/kmsearchpatternedit.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-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/kmsearchpatternedit.h')
-rw-r--r--kmail/kmsearchpatternedit.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/kmail/kmsearchpatternedit.h b/kmail/kmsearchpatternedit.h
index 3fee81e1b..307a7ae2f 100644
--- a/kmail/kmsearchpatternedit.h
+++ b/kmail/kmsearchpatternedit.h
@@ -37,15 +37,16 @@ class KMSearchPatternEdit;
@author Marc Mutz <Marc@Mutz.com>
*/
-class KMSearchRuleWidget : public QWidget
+class KMSearchRuleWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
/** Constructor. You can give a KMSearchRule as parameter, which will
be used to initialize the widget. */
- KMSearchRuleWidget( TQWidget* parent=0, KMSearchRule* aRule=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
+ KMSearchRuleWidget( TQWidget* tqparent=0, KMSearchRule* aRule=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
- enum { Message, Body, AnyHeader, Recipients, Size, AgeInDays, Status,
+ enum { Message, Body, AnyHeader, Recipients, Size, AgeInDays, tqStatus,
Subject, From, To, CC, ReplyTo, Organization };
/** Set whether only header fields can be searched. If @p is true only
@@ -105,11 +106,12 @@ private:
class KMSearchRuleWidgetLister : public KWidgetLister
{
Q_OBJECT
+ TQ_OBJECT
friend class ::KMSearchPatternEdit;
public:
- KMSearchRuleWidgetLister( TQWidget *parent=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
+ KMSearchRuleWidgetLister( TQWidget *tqparent=0, const char* name=0, bool headersOnly = false, bool absoluteDates = false );
virtual ~KMSearchRuleWidgetLister();
@@ -121,7 +123,7 @@ public slots:
protected:
virtual void clearWidget( TQWidget *aWidget );
- virtual TQWidget* createWidget( TQWidget *parent );
+ virtual TQWidget* createWidget( TQWidget *tqparent );
private:
void regenerateRuleListFromWidgets();
@@ -165,13 +167,14 @@ private:
class KMSearchPatternEdit : public TQGroupBox {
Q_OBJECT
+ TQ_OBJECT
public:
- /** Constructor. The parent and name parameters are passed to the underlying
+ /** Constructor. The tqparent and name parameters are passed to the underlying
TQGroupBox, as usual. */
- KMSearchPatternEdit(TQWidget *parent=0, const char *name=0, bool headersOnly = false, bool absoluteDates = false);
+ KMSearchPatternEdit(TQWidget *tqparent=0, const char *name=0, bool headersOnly = false, bool absoluteDates = false);
/** Constructor. This one allows you to set a title different from
i18n("Search Criteria"). */
- KMSearchPatternEdit(const TQString & title, TQWidget *parent=0, const char *name=0, bool headersOnly = false, bool absoluteDates = false);
+ KMSearchPatternEdit(const TQString & title, TQWidget *tqparent=0, const char *name=0, bool headersOnly = false, bool absoluteDates = false);
~KMSearchPatternEdit();
/** Set the search pattern. Rules are inserted regardless of the