diff options
Diffstat (limited to 'kmail/kmfilterdlg.h')
-rw-r--r-- | kmail/kmfilterdlg.h | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/kmail/kmfilterdlg.h b/kmail/kmfilterdlg.h index 4b8d67a7d..a664fad9c 100644 --- a/kmail/kmfilterdlg.h +++ b/kmail/kmfilterdlg.h @@ -57,12 +57,13 @@ class KListView; @see KMFilter KMFilterDlg KMFilterActionEdit KMSearchPatternEdit */ -class KMFilterListBox : public QGroupBox +class KMFilterListBox : public TQGroupBox { Q_OBJECT + TQ_OBJECT public: /** Constuctor. */ - KMFilterListBox( const TQString & title, TQWidget* parent=0, const char* name=0, bool popFilter = false); + KMFilterListBox( const TQString & title, TQWidget* tqparent=0, const char* name=0, bool popFilter = false); /** Called from KMFilterDlg. Creates a new filter and presets the first rule with "field equals value". It's there mainly to @@ -192,13 +193,14 @@ private: @see KMFilterAction KMFilter KMFilterActionWidgetLister */ -class KMFilterActionWidget : public QHBox +class KMFilterActionWidget : public TQHBox { Q_OBJECT + TQ_OBJECT public: /** Constructor. Creates a filter action widget with no type selected. */ - KMFilterActionWidget( TQWidget* parent=0, const char* name=0 ); + KMFilterActionWidget( TQWidget* tqparent=0, const char* name=0 ); /** Set an action. The action's type is determined and the corresponding widget it loaded with @p aAction's parameters and @@ -216,7 +218,7 @@ private: that they are 'forced' to create parameter widgets for the widget stack and to clear them on setAction. */ TQPtrList<KMFilterAction> mActionList; - /** The combo box that tqcontains the labels of all KMFilterActions. + /** The combo box that contains the labels of all KMFilterActions. It's @p activated(int) signal is internally connected to the @p raiseWidget(int) slot of @p mWidgetStack. */ TQComboBox *mComboBox; @@ -225,11 +227,12 @@ private: TQWidgetStack *mWidgetStack; }; -class KMPopFilterActionWidget : public QVButtonGroup +class KMPopFilterActionWidget : public TQVButtonGroup { Q_OBJECT + TQ_OBJECT public: - KMPopFilterActionWidget( const TQString &title, TQWidget* parent=0, const char* name=0 ); + KMPopFilterActionWidget( const TQString &title, TQWidget* tqparent=0, const char* name=0 ); void setAction( KMPopFilterAction aAction ); KMPopFilterAction action(); @@ -252,8 +255,9 @@ signals: // Signals class KMFilterActionWidgetLister : public KWidgetLister { Q_OBJECT + TQ_OBJECT public: - KMFilterActionWidgetLister( TQWidget *parent=0, const char* name=0 ); + KMFilterActionWidgetLister( TQWidget *tqparent=0, const char* name=0 ); virtual ~KMFilterActionWidgetLister(); @@ -267,7 +271,7 @@ public slots: protected: virtual void clearWidget( TQWidget *aWidget ); - virtual TQWidget* createWidget( TQWidget *parent ); + virtual TQWidget* createWidget( TQWidget *tqparent ); private: void regenerateActionListFromWidgets(); @@ -335,11 +339,12 @@ private: class KMFilterDlg: public KDialogBase { Q_OBJECT + TQ_OBJECT public: /** Create the filter dialog. The only class which should be able to do this is KMFilterMgr. This ensures that there is only a single filter dialog */ - KMFilterDlg( TQWidget* parent=0, const char* name=0, bool popFilter=false, + KMFilterDlg( TQWidget* tqparent=0, const char* name=0, bool popFilter=false, bool createDummyFilter=true ); /** Called from KMFilterMgr. Creates a new filter and presets @@ -386,7 +391,7 @@ protected slots: void slotExportFilters(); protected: - /** The widget that tqcontains the ListBox showing the filters, and + /** The widget that contains the ListBox showing the filters, and the controls to remove filters, add new ones and to change their order. */ KMFilterListBox *mFilterList; |