diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/tests/krulertest.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/tests/krulertest.h')
-rw-r--r-- | kdeui/tests/krulertest.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kdeui/tests/krulertest.h b/kdeui/tests/krulertest.h index ba9938deb..20ee8d372 100644 --- a/kdeui/tests/krulertest.h +++ b/kdeui/tests/krulertest.h @@ -5,10 +5,10 @@ #include <kapplication.h> #include <kmainwindow.h> -#include <qwidget.h> -#include <qcheckbox.h> -#include <qradiobutton.h> -#include <qbuttongroup.h> +#include <tqwidget.h> +#include <tqcheckbox.h> +#include <tqradiobutton.h> +#include <tqbuttongroup.h> #include <knuminput.h> class KRuler; @@ -23,7 +23,7 @@ class MouseWidget : public QFrame { Q_OBJECT public: -MouseWidget( QWidget *parent=0, const char *name=0, WFlags f=0 ); +MouseWidget( TQWidget *parent=0, const char *name=0, WFlags f=0 ); signals: void newXPos(int); @@ -32,10 +32,10 @@ signals: void newHeight(int); protected: - virtual void mousePressEvent ( QMouseEvent * ); - virtual void mouseReleaseEvent ( QMouseEvent * ); - virtual void mouseMoveEvent ( QMouseEvent * ); - virtual void resizeEvent ( QResizeEvent * ); + virtual void mousePressEvent ( TQMouseEvent * ); + virtual void mouseReleaseEvent ( TQMouseEvent * ); + virtual void mouseMoveEvent ( TQMouseEvent * ); + virtual void resizeEvent ( TQResizeEvent * ); private: bool mouseButtonDown; @@ -74,17 +74,17 @@ private slots: private: KRuler *hruler, *vruler; - QGridLayout *layout; - QFrame *miniwidget, *bigwidget; - QFrame *mainframe; + TQGridLayout *layout; + TQFrame *miniwidget, *bigwidget; + TQFrame *mainframe; - QLabel *mouse_message; - QGroupBox *showMarks, *lineEdit, *vertrot; - QCheckBox *showTM, *showLM, *showMM, *showBM, *showEM, *showPT, *fixLen; + TQLabel *mouse_message; + TQGroupBox *showMarks, *lineEdit, *vertrot; + TQCheckBox *showTM, *showLM, *showMM, *showBM, *showEM, *showPT, *fixLen; KIntNumInput *beginMark, *endMark, *lengthInput; KDoubleNumInput *transX, *transY, *rotV; - QButtonGroup *metricstyle; - QRadioButton *pixelmetric, *inchmetric, *mmmetric, *cmmetric, *mmetric; + TQButtonGroup *metricstyle; + TQRadioButton *pixelmetric, *inchmetric, *mmmetric, *cmmetric, *mmetric; }; #endif |