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 16:42:35 +0900 |
commit | 0813a2c41340ea35119ba3225c8c9b710d9ced07 (patch) | |
tree | be99c4c1f95e9a19ddc3d28f7484b4b866e2fce7 /parts/tools/tools_part.cpp | |
parent | 03e67cae445e4207ff23b64c813fbc62d24ff364 (diff) | |
download | tdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.tar.gz tdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/tools/tools_part.cpp')
-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"); |