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-09 17:17:58 +0900
commit67f2b0da2c80c3ee335aecda5dfedf3176edd8b9 (patch)
tree24062384f6f95b5407af0708c477cbfa4a39198e /konsole
parent7bc43c68b3c095631628e1fb691242315687d15b (diff)
downloadtdebase-67f2b0da2c80c3ee335aecda5dfedf3176edd8b9.tar.gz
tdebase-67f2b0da2c80c3ee335aecda5dfedf3176edd8b9.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 */ );
}