summaryrefslogtreecommitdiffstats
path: root/src/knutnewupsdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutnewupsdlg.h')
-rw-r--r--src/knutnewupsdlg.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/knutnewupsdlg.h b/src/knutnewupsdlg.h
index 447c089..2322f1b 100644
--- a/src/knutnewupsdlg.h
+++ b/src/knutnewupsdlg.h
@@ -27,13 +27,13 @@
#include <kpushbutton.h>
#include <kactionselector.h>
-#include <qlistbox.h>
+#include <tqlistbox.h>
-class QLabel;
-class QGroupBox;
-class QButtonGroup;
-class QCheckBox;
+class TQLabel;
+class TQGroupBox;
+class TQButtonGroup;
+class TQCheckBox;
/**
* This class is dialog for makeing or correting informations about UPS.
@@ -48,6 +48,7 @@ class QCheckBox;
class KNutNewUpsDlg : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
@@ -66,7 +67,7 @@ public:
*
* @since 0.7
**/
- KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const analogData, const bool add = TRUE, QWidget* parent = 0, const char* name = 0, const bool modal = TRUE);
+ KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const analogData, const bool add = TRUE, TQWidget* tqparent = 0, const char* name = 0, const bool modal = TRUE);
/**
* @since 0.3
@@ -119,19 +120,19 @@ private:
*
* @version 0.1
*/
- class KNutUpsBoxItem : public QListBoxText
+ class KNutUpsBoxItem : public TQListBoxText
{
private:
int m_ordVarCode;
public:
- KNutUpsBoxItem ( QListBox* listbox, const QString & text=QString::null, const int ordVarCode = 0 ) :
- QListBoxText (listbox, text), m_ordVarCode (ordVarCode) {};
- KNutUpsBoxItem ( QListBox* listbox, const QString & text, QListBoxItem *after, const int ordVarCode = 0 ) :
- QListBoxText (listbox, text, after), m_ordVarCode (ordVarCode) {};
+ KNutUpsBoxItem ( TQListBox* listbox, const TQString & text=TQString(), const int ordVarCode = 0 ) :
+ TQListBoxText (listbox, text), m_ordVarCode (ordVarCode) {};
+ KNutUpsBoxItem ( TQListBox* listbox, const TQString & text, TQListBoxItem *after, const int ordVarCode = 0 ) :
+ TQListBoxText (listbox, text, after), m_ordVarCode (ordVarCode) {};
int getVarCode (void) const {return m_ordVarCode;};
void putGetCode (const int ordVarCode) {m_ordVarCode = ordVarCode;};
-// QString text () const {return QListBoxItem::text();};
+// TQString text () const {return TQListBoxItem::text();};
};
@@ -151,7 +152,7 @@ private:
KLineEdit* m_lineEdit6;
KLineEdit* m_lineEdit7;
- QCheckBox* m_savePassword;
+ TQCheckBox* m_savePassword;
KActionSelector* m_upsValueSelector;