summaryrefslogtreecommitdiffstats
path: root/libkdepim/kscoringeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kscoringeditor.h')
-rw-r--r--libkdepim/kscoringeditor.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/libkdepim/kscoringeditor.h b/libkdepim/kscoringeditor.h
index 92421ccee..a4e9555d7 100644
--- a/libkdepim/kscoringeditor.h
+++ b/libkdepim/kscoringeditor.h
@@ -49,9 +49,10 @@ class KColorCombo;
/** this widget implements an editor for one condition.
It is used in ExpressionEditWidget
*/
-class KDE_EXPORT SingleConditionWidget : public QFrame
+class KDE_EXPORT SingleConditionWidget : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
friend class ConditionEditWidget;
public:
SingleConditionWidget(KScoringManager *,TQWidget *p =0, const char *n =0);
@@ -84,6 +85,7 @@ private:
class ConditionEditWidget: public KWidgetLister
{
Q_OBJECT
+ TQ_OBJECT
public:
ConditionEditWidget(KScoringManager *,TQWidget *p =0, const char *n =0);
~ConditionEditWidget();
@@ -99,9 +101,10 @@ private:
/** this widget implements an editor for one action.
It is used in ActionEditWidget
*/
-class SingleActionWidget : public QWidget
+class SingleActionWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
friend class ActionEditWidget;
public:
SingleActionWidget(KScoringManager *m,TQWidget *p =0, const char *n =0);
@@ -131,10 +134,11 @@ private:
class KDE_EXPORT ActionEditWidget : public KWidgetLister
{
Q_OBJECT
+ TQ_OBJECT
public:
ActionEditWidget(KScoringManager *m,TQWidget *p =0, const char *n =0);
~ActionEditWidget();
- TQWidget* createWidget(TQWidget *parent);
+ TQWidget* createWidget(TQWidget *tqparent);
void updateRule(KScoringRule*);
void clearWidget(TQWidget *);
public slots:
@@ -145,9 +149,10 @@ private:
/** This widget implements the rule editor
*/
-class RuleEditWidget : public QWidget
+class RuleEditWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
RuleEditWidget(KScoringManager *m,TQWidget *p =0, const char *n =0);
~RuleEditWidget();
@@ -195,9 +200,10 @@ private:
/** This widget shows a list of rules with buttons for
copy, delete aso.
*/
-class KDE_EXPORT RuleListWidget : public QWidget
+class KDE_EXPORT RuleListWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
RuleListWidget(KScoringManager *m, bool =false, TQWidget *p =0, const char *n =0);
~RuleListWidget();
@@ -248,14 +254,15 @@ private:
class KDE_EXPORT KScoringEditor : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
~KScoringEditor();
void setRule(KScoringRule*);
- static KScoringEditor *createEditor(KScoringManager* m, TQWidget *parent=0, const char *name=0);
+ static KScoringEditor *createEditor(KScoringManager* m, TQWidget *tqparent=0, const char *name=0);
static KScoringEditor *editor() { return scoreEditor; }
void setDirty();
protected:
- KScoringEditor(KScoringManager* m, TQWidget *parent=0, const char *name=0);
+ KScoringEditor(KScoringManager* m, TQWidget *tqparent=0, const char *name=0);
private:
/** the editor for the current rule */
RuleEditWidget* ruleEditor;
@@ -278,8 +285,9 @@ private:
class KScoringEditorWidgetDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KScoringEditorWidgetDialog(KScoringManager *m, const TQString& rName, TQWidget *parent=0, const char *name=0);
+ KScoringEditorWidgetDialog(KScoringManager *m, const TQString& rName, TQWidget *tqparent=0, const char *name=0);
protected slots:
void slotApply();
void slotOk();
@@ -291,9 +299,10 @@ private:
TQString ruleName;
};
-class KDE_EXPORT KScoringEditorWidget : public QWidget
+class KDE_EXPORT KScoringEditorWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
KScoringEditorWidget(KScoringManager *m,TQWidget *p =0, const char *n =0);
~KScoringEditorWidget();