summaryrefslogtreecommitdiffstats
path: root/kmail/kmsearchpatternedit.h
diff options
context:
space:
mode:
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