summaryrefslogtreecommitdiffstats
path: root/ksirc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:47:49 +0900
committerMichele Calgaro <[email protected]>2023-08-17 14:53:20 +0900
commit6148e60759606fe8c1d7037956a38b9a4427e8b2 (patch)
treed37ae6133be1967a9aaa8d97150b6e9a2d706085 /ksirc
parent214a5ef176c1b0f20402da9ddf018052f3b89fa5 (diff)
downloadtdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.tar.gz
tdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksirc')
-rw-r--r--ksirc/ahistlineedit.cpp2
-rw-r--r--ksirc/mditoplevel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/ahistlineedit.cpp b/ksirc/ahistlineedit.cpp
index 1eb0df88..468b6dc1 100644
--- a/ksirc/ahistlineedit.cpp
+++ b/ksirc/ahistlineedit.cpp
@@ -362,7 +362,7 @@ void aHistLineEdit::mousePressEvent ( TQMouseEvent *e )
#endif
bool aHistLineEdit::eventFilter( TQObject *o, TQEvent *e )
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) && e->type() == TQEvent::AccelOverride )
+ if ( o == this && e->type() == TQEvent::AccelOverride )
if(processKeyEvent( TQT_TQKEYEVENT( e ) ) == true)
return true;
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;