summaryrefslogtreecommitdiffstats
path: root/libkonq
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-09 17:17:58 +0900
committerMichele Calgaro <[email protected]>2023-08-09 17:17:58 +0900
commit67f2b0da2c80c3ee335aecda5dfedf3176edd8b9 (patch)
tree24062384f6f95b5407af0708c477cbfa4a39198e /libkonq
parent7bc43c68b3c095631628e1fb691242315687d15b (diff)
downloadtdebase-67f2b0da2c80c3ee335aecda5dfedf3176edd8b9.tar.gz
tdebase-67f2b0da2c80c3ee335aecda5dfedf3176edd8b9.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'libkonq')
-rw-r--r--libkonq/knewmenu.cpp4
-rw-r--r--libkonq/konq_popupmenu.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/libkonq/knewmenu.cpp b/libkonq/knewmenu.cpp
index 621b1f614..042bb4e92 100644
--- a/libkonq/knewmenu.cpp
+++ b/libkonq/knewmenu.cpp
@@ -368,11 +368,11 @@ void KNewMenu::slotNewDir()
void KNewMenu::slotNewFile()
{
- int id = TQString( TQT_TQOBJECT_CONST(sender())->name() + 7 ).toInt(); // skip "newmenu"
+ int id = TQString( sender()->name() + 7 ).toInt(); // skip "newmenu"
if (id == 0)
{
// run the command for the templates
- KRun::runCommand(TQString(TQT_TQOBJECT_CONST(sender())->name()));
+ KRun::runCommand(TQString(sender()->name()));
return;
}
diff --git a/libkonq/konq_popupmenu.cpp b/libkonq/konq_popupmenu.cpp
index adaffe9e3..fa096a239 100644
--- a/libkonq/konq_popupmenu.cpp
+++ b/libkonq/konq_popupmenu.cpp
@@ -1087,7 +1087,7 @@ void KonqPopupMenu::slotPopupAddToBookmark()
void KonqPopupMenu::slotRunService()
{
- TQCString senderName = TQT_TQOBJECT_CONST(sender())->name();
+ TQCString senderName = sender()->name();
int id = senderName.mid( senderName.find( '_' ) + 1 ).toInt();
// Is it a usual service (application)