summaryrefslogtreecommitdiffstats
path: root/konsole
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 17:17:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-10 10:58:36 +0900
commit3515607e5ac48686510e60e2e67e4bc15ff03e46 (patch)
tree438d015eaa54fc439546794db480c5b39d42c404 /konsole
parent196b1629b9f5de20f3769eb5ec755a635df3c3e7 (diff)
downloadtdebase-3515607e5ac48686510e60e2e67e4bc15ff03e46.tar.gz
tdebase-3515607e5ac48686510e60e2e67e4bc15ff03e46.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 67f2b0da2c80c3ee335aecda5dfedf3176edd8b9)
Diffstat (limited to 'konsole')
-rw-r--r--konsole/konsole/konsole.cpp2
-rw-r--r--konsole/konsole/konsolebookmarkmenu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/konsole/konsole/konsole.cpp b/konsole/konsole/konsole.cpp
index 6bdb07e6d..7f27a678e 100644
--- a/konsole/konsole/konsole.cpp
+++ b/konsole/konsole/konsole.cpp
@@ -2591,7 +2591,7 @@ void Konsole::listSessions()
void Konsole::switchToSession()
{
- activateSession( TQString( TQT_TQOBJECT_CONST(sender())->name() ).right( 2 ).toInt() -1 );
+ activateSession( TQString( sender()->name() ).right( 2 ).toInt() -1 );
}
void Konsole::activateSession(int position)
diff --git a/konsole/konsole/konsolebookmarkmenu.cpp b/konsole/konsole/konsolebookmarkmenu.cpp
index 0afe6a693..77b86882b 100644
--- a/konsole/konsole/konsolebookmarkmenu.cpp
+++ b/konsole/konsole/konsolebookmarkmenu.cpp
@@ -149,7 +149,7 @@ void KonsoleBookmarkMenu::fillBookmarkMenu()
void KonsoleBookmarkMenu::slotBookmarkSelected()
{
if ( !m_pOwner ) return; // this view doesn't handle bookmarks...
- m_kOwner->openBookmarkURL( TQString::fromUtf8(TQT_TQOBJECT_CONST(sender())->name()), /* URL */
+ m_kOwner->openBookmarkURL( TQString::fromUtf8(sender()->name()), /* URL */
( (TDEAction *)sender() )->text() /* Title */ );
}