diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:41:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-14 10:13:14 +0900 |
commit | 6f1ff535cda60600a7dd79d0136ec90e9440b345 (patch) | |
tree | fada63c90a135d3287ec79ef1b7bc574a0f07c94 | |
parent | 6cb527429edfe819512fc8643a2b1d950d4745b5 (diff) | |
download | konversation-6f1ff535cda60600a7dd79d0136ec90e9440b345.tar.gz konversation-6f1ff535cda60600a7dd79d0136ec90e9440b345.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | konversation/src/channel.cpp | 2 | ||||
-rw-r--r-- | 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<TQT_BASE_OBJECT_NAME*>(sender()))->name()), + m_kOwner->openBookmarkURL( TQString::fromUtf8(sender()->name()), ( (TDEAction *)sender() )->text() /* Title */ ); } |