Drop TQT_TQ*_CONST defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/12/head
Michele Calgaro 1 year ago
parent 290876c286
commit a266dff036
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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());

Loading…
Cancel
Save