diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/widgets/HSpinBox.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/widgets/HSpinBox.h')
-rw-r--r-- | src/gui/widgets/HSpinBox.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/HSpinBox.h b/src/gui/widgets/HSpinBox.h index aa60b65..70baf87 100644 --- a/src/gui/widgets/HSpinBox.h +++ b/src/gui/widgets/HSpinBox.h @@ -26,10 +26,10 @@ #ifndef _RG_HSPINBOX_H_ #define _RG_HSPINBOX_H_ -#include <qobject.h> -#include <qspinbox.h> -#include <qstring.h> -#include <qvalidator.h> +#include <tqobject.h> +#include <tqspinbox.h> +#include <tqstring.h> +#include <tqvalidator.h> namespace Rosegarden @@ -37,18 +37,18 @@ namespace Rosegarden class HSpinBox : public QSpinBox { - QString mapValueToText(int j); + TQString mapValueToText(int j); int mapTextToValue( bool* ok ); public: - HSpinBox( int minV, int maxV, int step, QWidget* parent, + HSpinBox( int minV, int maxV, int step, TQWidget* parent, double bottom, double top, int decimals, float initialValue); //constructor with default settings - HSpinBox( QWidget* parent, float initialValue = 0.2, int step=1, + HSpinBox( TQWidget* parent, float initialValue = 0.2, int step=1, double bottom=-25.0, double top=25.0, int decimals=3, - const QObject* recv=NULL, const char* mem=NULL); + const TQObject* recv=NULL, const char* mem=NULL); float valuef(); void setValuef(float v); |