summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:41:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-14 10:13:14 +0900
commit6f1ff535cda60600a7dd79d0136ec90e9440b345 (patch)
treefada63c90a135d3287ec79ef1b7bc574a0f07c94
parent6cb527429edfe819512fc8643a2b1d950d4745b5 (diff)
downloadkonversation-6f1ff535cda60600a7dd79d0136ec90e9440b345.tar.gz
konversation-6f1ff535cda60600a7dd79d0136ec90e9440b345.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--konversation/src/channel.cpp2
-rw-r--r--konversation/src/konvibookmarkmenu.cpp2
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 */ );
}