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 16:28:56 +0900
commit04e6c49e9cd03210f2569cdebec50a879c708d95 (patch)
treefada63c90a135d3287ec79ef1b7bc574a0f07c94
parent0984efdd171cd7b18762d1402392beb4e375aca2 (diff)
downloadkonversation-04e6c49e9cd03210f2569cdebec50a879c708d95.tar.gz
konversation-04e6c49e9cd03210f2569cdebec50a879c708d95.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6f1ff535cda60600a7dd79d0136ec90e9440b345)
-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 */ );
}