summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kguiutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kguiutils.h')
-rw-r--r--kmymoney2/widgets/kguiutils.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kmymoney2/widgets/kguiutils.h b/kmymoney2/widgets/kguiutils.h
index 9a7b603..94cd756 100644
--- a/kmymoney2/widgets/kguiutils.h
+++ b/kmymoney2/widgets/kguiutils.h
@@ -21,9 +21,9 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qobject.h>
-#include <qvaluelist.h>
-class QWidget;
+#include <tqobject.h>
+#include <tqvaluelist.h>
+class TQWidget;
// ----------------------------------------------------------------------------
// KDE Includes
@@ -37,27 +37,28 @@ class QWidget;
/**
* @author Tony Bloomfield
*/
-class kMandatoryFieldGroup : public QObject
+class kMandatoryFieldGroup : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- kMandatoryFieldGroup(QObject *parent) :
- QObject(parent), okButton(0), m_enabled(true) {}
+ kMandatoryFieldGroup(TQObject *tqparent) :
+ TQObject(tqparent), okButton(0), m_enabled(true) {}
/**
* This method adds a widget to the list of mandatory fields for the current dialog
*
* @param widget pointer to the widget to be added
*/
- void add(QWidget *widget);
+ void add(TQWidget *widget);
/**
* This method removes a widget form the list of mandatory fields for the current dialog
*
* @param widget pointer to the widget to be removed
*/
- void remove(QWidget *widget);
+ void remove(TQWidget *widget);
/**
* This method designates the button to be enabled when all mandatory fields
@@ -65,7 +66,7 @@ public:
*
* @param button pointer to the 'ok' button
*/
- void setOkButton(QPushButton *button);
+ void setOkButton(TQPushButton *button);
/**
* This method returns if all requirements for the mandatory group
@@ -86,8 +87,8 @@ signals:
void stateChanged(bool state);
private:
- QValueList<QWidget *> widgets;
- QPushButton* okButton;
+ TQValueList<TQWidget *> widgets;
+ TQPushButton* okButton;
bool m_enabled;
};