summaryrefslogtreecommitdiffstats
path: root/src/knutrwvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutrwvar.h')
-rwxr-xr-xsrc/knutrwvar.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/knutrwvar.h b/src/knutrwvar.h
index 4cef64c..1fb0bad 100755
--- a/src/knutrwvar.h
+++ b/src/knutrwvar.h
@@ -26,8 +26,8 @@
#include <kcombobox.h>
-class QString;
-class QGridLayout;
+class TQString;
+class TQGridLayout;
/**
* This class is graphics interface for changes of RW variables.
@@ -39,6 +39,7 @@ class QGridLayout;
*/
class KNutRWVar : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor - makes window for change of RW variable.
@@ -55,7 +56,7 @@ class KNutRWVar : public KDialogBase {
* @param initUpsNet Je odkaz na instanci tridy KNutNet.
* @since 0.2
**/
- KNutRWVar(QString* userName, QString* userPassword, const QString uName, const QString password, KNutNet* const initUpsNet, QWidget* parent = 0, const char* name = 0, const bool modal = TRUE);
+ KNutRWVar(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const initUpsNet, TQWidget* tqparent = 0, const char* name = 0, const bool modal = TRUE);
/**
* Destructor
@@ -107,7 +108,7 @@ class KNutRWVar : public KDialogBase {
* Najde pozadovanou polozku v boxu.
* Ve verzi qt > 3.0.0 neni potreba.
*/
-int findItem(const KComboBox *myBox ,const QString text);
+int findItem(const KComboBox *myBox ,const TQString text);
signals:
/**
@@ -117,7 +118,7 @@ int findItem(const KComboBox *myBox ,const QString text);
*
* @since 0.1
**/
- void signalChangeRWVars (QString varName);
+ void signalChangeRWVars (TQString varName);
private:
@@ -127,12 +128,12 @@ int findItem(const KComboBox *myBox ,const QString text);
KComboBox *m_rWVarBox;
KComboBox *m_valueVarBox;
KLineEdit *m_valueVarLine;
- QGridLayout *m_passLayout;
+ TQGridLayout *m_passLayout;
bool m_upsValueType;
bool m_upsConnectOk;
- QString* m_oldUserName;
- QString* m_oldUserPassword;
+ TQString* m_oldUserName;
+ TQString* m_oldUserPassword;
};