summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/AudioPluginDialog.cpp2
-rw-r--r--src/gui/dialogs/EventEditDialog.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/dialogs/AudioPluginDialog.cpp b/src/gui/dialogs/AudioPluginDialog.cpp
index b4a4220..51be09c 100644
--- a/src/gui/dialogs/AudioPluginDialog.cpp
+++ b/src/gui/dialogs/AudioPluginDialog.cpp
@@ -602,7 +602,7 @@ AudioPluginDialog::getProgramsForInstance(AudioPluginInstance *inst, int &curren
void
AudioPluginDialog::slotPluginPortChanged(float value)
{
- const TQObject* object = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject* object = sender();
const PluginControl* control = dynamic_cast<const PluginControl*>(object);
diff --git a/src/gui/dialogs/EventEditDialog.cpp b/src/gui/dialogs/EventEditDialog.cpp
index c359dc6..8f214c2 100644
--- a/src/gui/dialogs/EventEditDialog.cpp
+++ b/src/gui/dialogs/EventEditDialog.cpp
@@ -354,7 +354,7 @@ EventEditDialog::slotSubOrderingChanged(int value)
void
EventEditDialog::slotIntPropertyChanged(int value)
{
- const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject *s = sender();
const TQSpinBox *spinBox = dynamic_cast<const TQSpinBox *>(s);
if (!spinBox)
return ;
@@ -367,7 +367,7 @@ EventEditDialog::slotIntPropertyChanged(int value)
void
EventEditDialog::slotRealTimePropertyChanged(int value)
{
- const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject *s = sender();
const TQSpinBox *spinBox = dynamic_cast<const TQSpinBox *>(s);
if (!spinBox)
return ;
@@ -391,7 +391,7 @@ EventEditDialog::slotRealTimePropertyChanged(int value)
void
EventEditDialog::slotBoolPropertyChanged()
{
- const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject *s = sender();
const TQCheckBox *checkBox = dynamic_cast<const TQCheckBox *>(s);
if (!checkBox)
return ;
@@ -406,7 +406,7 @@ EventEditDialog::slotBoolPropertyChanged()
void
EventEditDialog::slotStringPropertyChanged(const TQString &value)
{
- const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject *s = sender();
const TQLineEdit *lineEdit = dynamic_cast<const TQLineEdit *>(s);
if (!lineEdit)
return ;
@@ -419,7 +419,7 @@ EventEditDialog::slotStringPropertyChanged(const TQString &value)
void
EventEditDialog::slotPropertyDeleted()
{
- const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject *s = sender();
const TQPushButton *pushButton = dynamic_cast<const TQPushButton *>(s);
if (!pushButton)
return ;
@@ -451,7 +451,7 @@ EventEditDialog::slotPropertyDeleted()
void
EventEditDialog::slotPropertyMadePersistent()
{
- const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject *s = sender();
const TQPushButton *pushButton = dynamic_cast<const TQPushButton *>(s);
if (!pushButton)
return ;