diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:47:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-17 20:13:00 +0900 |
commit | 9795d15cda9fa26bfbd90321f774014537f9675b (patch) | |
tree | bf8891490cdfee593c7e28db0fbae55e68b162e4 /kdict/toplevel.cpp | |
parent | e1feb0d70ede96e4407bb091220561b099dc781f (diff) | |
download | tdenetwork-9795d15cda9fa26bfbd90321f774014537f9675b.tar.gz tdenetwork-9795d15cda9fa26bfbd90321f774014537f9675b.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6148e60759606fe8c1d7037956a38b9a4427e8b2)
Diffstat (limited to 'kdict/toplevel.cpp')
-rw-r--r-- | kdict/toplevel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdict/toplevel.cpp b/kdict/toplevel.cpp index 46e4f02a..7f05207b 100644 --- a/kdict/toplevel.cpp +++ b/kdict/toplevel.cpp @@ -521,7 +521,7 @@ void TopLevel::buildHistMenu() // process a query via the history menu void TopLevel::queryHistMenu() { - TQCString name = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); + TQCString name = sender()->name(); if (!name.isEmpty()) define(TQString::fromUtf8(name)); } @@ -557,7 +557,7 @@ void TopLevel::stratDbChanged() void TopLevel::dbInfoMenuClicked() { - TQCString name = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); + TQCString name = sender()->name(); if (!name.isEmpty()) interface->showDbInfo(name); } |