From 6f1ff535cda60600a7dd79d0136ec90e9440b345 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:41:43 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- konversation/src/channel.cpp | 2 +- konversation/src/konvibookmarkmenu.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/konversation/src/channel.cpp b/konversation/src/channel.cpp index c6ea53c..a8ac8a3 100644 --- a/konversation/src/channel.cpp +++ b/konversation/src/channel.cpp @@ -2733,7 +2733,7 @@ void Channel::setIdentity(const IdentityPtr identity) bool Channel::eventFilter(TQObject* watched, TQEvent* e) { - if((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(nicknameListView)) && (e->type() == TQEvent::Resize) && splittersInitialized && isShown()) + if(watched == nicknameListView && e->type() == TQEvent::Resize && splittersInitialized && isShown()) { if (!topicSplitterHidden && !channelSplitterHidden) { diff --git a/konversation/src/konvibookmarkmenu.cpp b/konversation/src/konvibookmarkmenu.cpp index 9a03fd6..d4685e0 100644 --- a/konversation/src/konvibookmarkmenu.cpp +++ b/konversation/src/konvibookmarkmenu.cpp @@ -147,7 +147,7 @@ void KonviBookmarkMenu::slotBookmarkSelected() { if ( !m_pOwner ) return; // this view doesn't handle bookmarks... /* URL */ - m_kOwner->openBookmarkURL( TQString::fromUtf8(TQT_TQOBJECT(const_cast(sender()))->name()), + m_kOwner->openBookmarkURL( TQString::fromUtf8(sender()->name()), ( (TDEAction *)sender() )->text() /* Title */ ); } -- cgit v1.2.1