diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:48:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 17:07:59 +0900 |
commit | e5cb335358db67ee9a68a15d99dc89d1e0da3111 (patch) | |
tree | 70cf0b11d74c625d2bbea4f9d3f62ab0c1eb00bc /parts/tools | |
parent | 57951b635ee02df8266476eafb5094a3b3731a8f (diff) | |
download | tdevelop-e5cb335358db67ee9a68a15d99dc89d1e0da3111.tar.gz tdevelop-e5cb335358db67ee9a68a15d99dc89d1e0da3111.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0813a2c41340ea35119ba3225c8c9b710d9ced07)
Diffstat (limited to 'parts/tools')
-rw-r--r-- | parts/tools/tools_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp index 61f962ad..5487bc77 100644 --- a/parts/tools/tools_part.cpp +++ b/parts/tools/tools_part.cpp @@ -113,7 +113,7 @@ void ToolsPart::updateMenu() void ToolsPart::slotToolActivated() { - TQString df = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); + TQString df = sender()->name(); kapp->startServiceByDesktopPath(df); } @@ -224,7 +224,7 @@ void ToolsPart::contextMenu(TQPopupMenu *popup, const Context *context) void ToolsPart::toolsMenuActivated() { - TQString menutext = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); + TQString menutext = sender()->name(); TDEConfig *config = ToolsFactory::instance()->config(); config->setGroup("Tool Menu " + menutext); TQString cmdline = config->readPathEntry("CommandLine"); |