diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 3fcef18c75f7cd751ed706c12977230242fb817d (patch) | |
tree | a94c2497a3923ed9972e71c5bbba0697882c1427 /src/gui/widgets/HSpinBox.cpp | |
parent | 80ee419f074dc252449791628d4584b5c0ea0c9b (diff) | |
download | rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.tar.gz rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/widgets/HSpinBox.cpp')
-rw-r--r-- | src/gui/widgets/HSpinBox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/HSpinBox.cpp b/src/gui/widgets/HSpinBox.cpp index 637c010..e49cf1b 100644 --- a/src/gui/widgets/HSpinBox.cpp +++ b/src/gui/widgets/HSpinBox.cpp @@ -46,9 +46,9 @@ int HSpinBox::mapTextToValue( bool* ok ) return int(f * m_scaleFactor); } -HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* tqparent, +HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* parent, double bottom, double top, int decimals, float initialValue) - : TQSpinBox(minV,maxV,step,tqparent) + : TQSpinBox(minV,maxV,step,parent) { setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this))); initialize(decimals); @@ -56,11 +56,11 @@ HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* tqparent, } //constructor with default settings -HSpinBox::HSpinBox( TQWidget* tqparent, float initialValue, int step, +HSpinBox::HSpinBox( TQWidget* parent, float initialValue, int step, double bottom, double top, int decimals, const TQObject* recv, const char* mem) : TQSpinBox((int)(bottom*pow(10.0, decimals)), - (int)(top*pow(10.0, decimals)), step, tqparent) + (int)(top*pow(10.0, decimals)), step, parent) { setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this))); initialize(decimals); |