summaryrefslogtreecommitdiffstats
path: root/tdeui/tdeaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tdeaction.cpp')
-rw-r--r--tdeui/tdeaction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tdeaction.cpp b/tdeui/tdeaction.cpp
index 63f633d95..985782f33 100644
--- a/tdeui/tdeaction.cpp
+++ b/tdeui/tdeaction.cpp
@@ -1109,7 +1109,7 @@ void TDEAction::activate()
void TDEAction::slotActivated()
{
- const TQObject *senderObj = TQT_TQOBJECT_CONST(sender());
+ const TQObject *senderObj = sender();
if ( senderObj )
{
if ( ::tqqt_cast<TDEAccelPrivate *>( senderObj ) )
@@ -1167,7 +1167,7 @@ void TDEAction::slotButtonClicked( int, TQt::ButtonState state )
void TDEAction::slotDestroyed()
{
kdDebug(129) << "TDEAction::slotDestroyed(): this = " << this << ", name = \"" << name() << "\", sender = " << sender() << endl;
- const TQObject* const o = TQT_TQOBJECT_CONST(sender());
+ const TQObject* const o = sender();
#ifndef KDE_NO_COMPAT // KDE 4: remove
if ( o == d->m_tdeaccel )
@@ -1193,7 +1193,7 @@ void TDEAction::slotDestroyed()
int i;
do
{
- i = findContainer( TQT_TQWIDGET_CONST( static_cast<const QObject*>(o) ) );
+ i = findContainer( static_cast<const TQWidget*>(o) );
if ( i != -1 )
removeContainer( i );
} while ( i != -1 );