summaryrefslogtreecommitdiffstats
path: root/ksirc/mditoplevel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:47:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-17 14:53:20 +0900
commit6148e60759606fe8c1d7037956a38b9a4427e8b2 (patch)
treed37ae6133be1967a9aaa8d97150b6e9a2d706085 /ksirc/mditoplevel.cpp
parent214a5ef176c1b0f20402da9ddf018052f3b89fa5 (diff)
downloadtdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.tar.gz
tdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksirc/mditoplevel.cpp')
-rw-r--r--ksirc/mditoplevel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/mditoplevel.cpp b/ksirc/mditoplevel.cpp
index dfad0c5c..f04acd8e 100644
--- a/ksirc/mditoplevel.cpp
+++ b/ksirc/mditoplevel.cpp
@@ -207,7 +207,7 @@ void MDITopLevel::slotMarkPageDirty( bool addressed )
{
// This is called when a line appeared in this channel.
// addressed is true if it was addressed to the user
- TDEMainWindow *window = dynamic_cast<TDEMainWindow *>( TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME *>( sender() )) );
+ TDEMainWindow *window = dynamic_cast<TDEMainWindow *>( const_cast<TQObject*>( sender() ) );
if ( !window )
return;
@@ -225,7 +225,7 @@ void MDITopLevel::slotMarkPageDirty( bool addressed )
void MDITopLevel::slotChangeChannelName( const TQString &, const TQString &channelName )
{
- TDEMainWindow *window = dynamic_cast<TDEMainWindow *>( TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME *>( sender() )) );
+ TDEMainWindow *window = dynamic_cast<TDEMainWindow *>( const_cast<TQObject*>( sender() ) );
if ( !window )
return;