summaryrefslogtreecommitdiffstats
path: root/kturtle/src/dialogs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kturtle/src/dialogs.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kturtle/src/dialogs.h')
-rw-r--r--kturtle/src/dialogs.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/kturtle/src/dialogs.h b/kturtle/src/dialogs.h
index dd4f2474..0a421d49 100644
--- a/kturtle/src/dialogs.h
+++ b/kturtle/src/dialogs.h
@@ -27,12 +27,12 @@
#define _DIALOGS_H_
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qstring.h>
-#include <qtable.h>
-#include <qvaluelist.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
+#include <tqstring.h>
+#include <tqtable.h>
+#include <tqvaluelist.h>
#include <kdialogbase.h>
#include <kcolordialog.h>
@@ -46,7 +46,7 @@ struct errorData
{
uint code;
Token tok;
- QString msg;
+ TQString msg;
};
@@ -55,7 +55,7 @@ class ErrorMessage : public KDialogBase
Q_OBJECT
public:
- ErrorMessage(QWidget *parent);
+ ErrorMessage(TQWidget *parent);
~ErrorMessage() {}
bool containsErrors();
@@ -63,7 +63,7 @@ class ErrorMessage : public KDialogBase
void display();
public slots:
- void slotAddError(Token&, const QString&, uint code);
+ void slotAddError(Token&, const TQString&, uint code);
void updateSelection();
private slots:
@@ -75,17 +75,17 @@ class ErrorMessage : public KDialogBase
void setSelection(uint, uint, uint, uint);
private:
- typedef QValueList<errorData> errorList;
+ typedef TQValueList<errorData> errorList;
errorList errList;
- QTable *errTable;
+ TQTable *errTable;
uint errCount;
errorData currentError;
protected:
- QDialog *dialog;
- QVBoxLayout *baseLayout;
- QLabel *label;
- QSpacerItem *spacer;
+ TQDialog *dialog;
+ TQVBoxLayout *baseLayout;
+ TQLabel *label;
+ TQSpacerItem *spacer;
};
// END
@@ -99,13 +99,13 @@ class ColorPicker : public KDialogBase
Q_OBJECT
public:
- ColorPicker(QWidget *parent);
+ ColorPicker(TQWidget *parent);
virtual ~ColorPicker() {}
signals:
void visible(bool); // for toggling convenience
- void ColorCode(QString);
+ void ColorCode(TQString);
private:
@@ -114,16 +114,16 @@ class ColorPicker : public KDialogBase
void updatePatch();
void updateColorCode();
- QWidget *BaseWidget;
+ TQWidget *BaseWidget;
KHSSelector *hsSelector;
KValueSelector *valuePal;
- QVBoxLayout *vlayout;
- QHBoxLayout *h1layout;
- QHBoxLayout *h2layout;
+ TQVBoxLayout *vlayout;
+ TQHBoxLayout *h1layout;
+ TQHBoxLayout *h2layout;
KColorPatch *patch;
- QLabel *copyable;
- QLineEdit *colorcode;
- QColor color;
+ TQLabel *copyable;
+ TQLineEdit *colorcode;
+ TQColor color;
int h, s, v, r, g, b;
@@ -151,12 +151,12 @@ class RestartOrBack : public KDialogBase
Q_OBJECT
public:
- RestartOrBack (QWidget *parent);
+ RestartOrBack (TQWidget *parent);
~RestartOrBack() {}
protected:
- QVBoxLayout *baseLayout;
- QLabel *label;
+ TQVBoxLayout *baseLayout;
+ TQLabel *label;
};
// END