diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /karbon/widgets/vtranslate.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/widgets/vtranslate.h')
-rw-r--r-- | karbon/widgets/vtranslate.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/karbon/widgets/vtranslate.h b/karbon/widgets/vtranslate.h index 23fd1325..1b019d4b 100644 --- a/karbon/widgets/vtranslate.h +++ b/karbon/widgets/vtranslate.h @@ -21,36 +21,37 @@ #ifndef __VTRANSLATE_H__ #define __VTRANSLATE_H__ -#include <qwidget.h> +#include <tqwidget.h> -class QCheckBox; -class QLabel; -class QPushButton; -class QString; +class TQCheckBox; +class TQLabel; +class TQPushButton; +class TQString; class KDoubleNumInput; -class VTranslate : public QWidget +class VTranslate : public TQWidget { Q_OBJECT + TQ_OBJECT public: - VTranslate( QWidget* parent = 0L, const char* name = 0L ); + VTranslate( TQWidget* tqparent = 0L, const char* name = 0L ); ~VTranslate(); public slots: //sets the unit labels do display correct text (mm, cm, pixels etc): - void setUnits( const QString& units ); + void setUnits( const TQString& units ); private: - QLabel* m_labelX; + TQLabel* m_labelX; KDoubleNumInput* m_inputX; //X coordinate - QLabel* labely; + TQLabel* labely; KDoubleNumInput* m_inputY; //Y coordinate - QLabel* m_labelUnit1; - QLabel* m_labelUnit2; - QCheckBox* m_checkBoxPosition; //If checked, displays coordinates of selected object - QPushButton* m_buttonDuplicate; //duplicate (makes a copy of selected object(s) with a new position) - QPushButton* m_buttonApply; //apply new position + TQLabel* m_labelUnit1; + TQLabel* m_labelUnit2; + TQCheckBox* m_checkBoxPosition; //If checked, displays coordinates of selected object + TQPushButton* m_buttonDuplicate; //duplicate (makes a copy of selected object(s) with a new position) + TQPushButton* m_buttonApply; //apply new position }; #endif |