summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 15:34:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 15:34:11 +0900
commita266dff036219bfe8687956cbb05861ae26f0d1b (patch)
tree0fc8497464d86ede41b22f9e57bd91150e1d6777
parent290876c28679f397be9eabed8110c28b42b3d27a (diff)
downloadkmymoney-a266dff036219bfe8687956cbb05861ae26f0d1b.tar.gz
kmymoney-a266dff036219bfe8687956cbb05861ae26f0d1b.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kmymoney2/kmymoney2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/kmymoney2.cpp b/kmymoney2/kmymoney2.cpp
index d90f46c..f9c4b8b 100644
--- a/kmymoney2/kmymoney2.cpp
+++ b/kmymoney2/kmymoney2.cpp
@@ -510,7 +510,7 @@ void KMyMoney2App::dumpActions(void) const
TDEAction* KMyMoney2App::action(const TQString& actionName) const
{
static TDEShortcut shortcut("");
- static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, TQT_TQOBJECT_CONST(this), 0, static_cast<TDEActionCollection*>(0), "");
+ static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), "");
TDEAction* p = actionCollection()->action(actionName.latin1());
if(p)
@@ -523,7 +523,7 @@ TDEAction* KMyMoney2App::action(const TQString& actionName) const
TDEToggleAction* KMyMoney2App::toggleAction(const TQString& actionName) const
{
static TDEShortcut shortcut("");
- static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, TQT_TQOBJECT_CONST(this), 0, static_cast<TDEActionCollection*>(0), "");
+ static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), "");
TDEAction* q = actionCollection()->action(actionName.latin1());