summaryrefslogtreecommitdiffstats
path: root/parts/doxygen/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'parts/doxygen/input.h')
-rw-r--r--parts/doxygen/input.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/parts/doxygen/input.h b/parts/doxygen/input.h
index 15c3a263..473d94dd 100644
--- a/parts/doxygen/input.h
+++ b/parts/doxygen/input.h
@@ -14,8 +14,8 @@
#ifndef _INPUT_H
#define _INPUT_H
-#include <qcheckbox.h>
-#include <qdict.h>
+#include <tqcheckbox.h>
+#include <tqdict.h>
class QComboBox;
class QLabel;
@@ -29,49 +29,49 @@ class IInput
public:
virtual void init() = 0;
virtual void setEnabled(bool) = 0;
- virtual QObject *qobject() = 0;
+ virtual TQObject *qobject() = 0;
};
-class InputBool : public QWidget, public IInput
+class InputBool : public TQWidget, public IInput
{
Q_OBJECT
public:
- InputBool(const QCString &key, const QString &text, QWidget *parent, bool &flag);
+ InputBool(const TQCString &key, const TQString &text, TQWidget *parent, bool &flag);
~InputBool();
void init();
virtual void setEnabled(bool b);
- virtual QObject *qobject() { return this; }
+ virtual TQObject *qobject() { return this; }
virtual bool getState() const { return state; }
signals:
void changed();
- void toggle(const QString &, bool);
+ void toggle(const TQString &, bool);
private slots:
void valueChanged(bool);
private:
bool &state;
- QCString key;
- QCheckBox *cb;
+ TQCString key;
+ TQCheckBox *cb;
};
-class InputInt : public QWidget, public IInput
+class InputInt : public TQWidget, public IInput
{
Q_OBJECT
public:
- InputInt(const QString &text, QWidget *parent,
+ InputInt(const TQString &text, TQWidget *parent,
int &val, int minVal, int maxVal);
~InputInt();
void init();
virtual void setEnabled(bool);
- QObject *qobject() { return this; }
+ TQObject *qobject() { return this; }
signals:
void changed();
@@ -80,15 +80,15 @@ private slots:
void valueChanged(int val);
private:
- QLabel *lab;
- QSpinBox *sp;
+ TQLabel *lab;
+ TQSpinBox *sp;
int &m_val;
int m_minVal;
int m_maxVal;
};
-class InputString : public QWidget, public IInput
+class InputString : public TQWidget, public IInput
{
Q_OBJECT
@@ -99,36 +99,36 @@ public:
StringFixed=3
};
- InputString(const QString &text, QWidget *parent,
- QCString &s, StringMode m=StringFree);
+ InputString(const TQString &text, TQWidget *parent,
+ TQCString &s, StringMode m=StringFree);
~InputString();
void init();
void addValue(const char *s);
void setEnabled(bool);
- QObject *qobject() { return this; }
+ TQObject *qobject() { return this; }
signals:
void changed();
private slots:
- void textChanged(const QString&);
+ void textChanged(const TQString&);
void browse();
void clear();
private:
- QLabel *lab;
+ TQLabel *lab;
KLineEdit *le;
- QPushButton *br;
- QComboBox *com;
- QCString &str;
+ TQPushButton *br;
+ TQComboBox *com;
+ TQCString &str;
StringMode sm;
- QDict<int> *m_values;
+ TQDict<int> *m_values;
int m_index;
};
-class InputStrList : public QWidget, public IInput
+class InputStrList : public TQWidget, public IInput
{
Q_OBJECT
@@ -139,13 +139,13 @@ public:
ListFileDir=ListFile|ListDir
};
- InputStrList(const QString &text, QWidget *parent,
- QStrList &sl, ListMode v=ListString);
+ InputStrList(const TQString &text, TQWidget *parent,
+ TQStrList &sl, ListMode v=ListString);
~InputStrList();
void init();
void setEnabled(bool);
- QObject *qobject() { return this; }
+ TQObject *qobject() { return this; }
signals:
void changed();
@@ -154,20 +154,20 @@ private slots:
void addString();
void delString();
void updateString();
- void selectText(const QString &s);
+ void selectText(const TQString &s);
void browseFiles();
void browseDir();
private:
- QLabel *lab;
+ TQLabel *lab;
KLineEdit *le;
- QPushButton *add;
- QPushButton *del;
- QPushButton *upd;
- QPushButton *brFile;
- QPushButton *brDir;
- QListBox *lb;
- QStrList &strList;
+ TQPushButton *add;
+ TQPushButton *del;
+ TQPushButton *upd;
+ TQPushButton *brFile;
+ TQPushButton *brDir;
+ TQListBox *lb;
+ TQStrList &strList;
};
#endif