diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/AudioFaderBox.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/HSpinBox.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/AudioFaderBox.cpp b/src/gui/widgets/AudioFaderBox.cpp index a39209e..5103719 100644 --- a/src/gui/widgets/AudioFaderBox.cpp +++ b/src/gui/widgets/AudioFaderBox.cpp @@ -60,7 +60,7 @@ AudioFaderBox::AudioFaderBox(TQWidget *parent, bool haveInOut, const char *name): TQFrame(parent, name), - m_signalMapper(new TQSignalMapper(TQT_TQOBJECT(this))), + m_signalMapper(new TQSignalMapper(this)), m_id(id), m_isStereo(false) { @@ -80,7 +80,7 @@ AudioFaderBox::AudioFaderBox(TQWidget *parent, (plugin, i18n("Audio plugin button")); m_plugins.push_back(plugin); - m_signalMapper->setMapping(TQT_TQOBJECT(plugin), i); + m_signalMapper->setMapping(plugin, i); connect(plugin, TQT_SIGNAL(clicked()), m_signalMapper, TQT_SLOT(map())); } diff --git a/src/gui/widgets/HSpinBox.cpp b/src/gui/widgets/HSpinBox.cpp index f6cf114..0c8639b 100644 --- a/src/gui/widgets/HSpinBox.cpp +++ b/src/gui/widgets/HSpinBox.cpp @@ -48,7 +48,7 @@ HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* parent, double bottom, double top, int decimals, float initialValue) : TQSpinBox(minV,maxV,step,parent) { - setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this))); + setValidator(new TQDoubleValidator(bottom,top,decimals,this)); initialize(decimals); setValuef(initialValue); } @@ -60,7 +60,7 @@ HSpinBox::HSpinBox( TQWidget* parent, float initialValue, int step, : TQSpinBox((int)(bottom*pow(10.0, decimals)), (int)(top*pow(10.0, decimals)), step, parent) { - setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this))); + setValidator(new TQDoubleValidator(bottom,top,decimals,this)); initialize(decimals); setValuef(initialValue); if (recv != NULL && mem != NULL) |