summaryrefslogtreecommitdiffstats
path: root/kmymoney2
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2')
-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());