summaryrefslogtreecommitdiffstats
path: root/kmail/kmfilterdlg.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/kmfilterdlg.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/kmfilterdlg.h')
-rw-r--r--kmail/kmfilterdlg.h27
1 files changed, 16 insertions, 11 deletions
diff --git a/kmail/kmfilterdlg.h b/kmail/kmfilterdlg.h
index 4b8d67a7..a664fad9 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;