|
|
@ -47,7 +47,7 @@ KMyMoneyPlugin::Plugin::~Plugin()
|
|
|
|
TDEAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const
|
|
|
|
TDEAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
static TDEShortcut shortcut("");
|
|
|
|
static TDEShortcut shortcut("");
|
|
|
|
static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), "");
|
|
|
|
static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, this, 0, static_cast<TDEActionCollection*>(0), "");
|
|
|
|
|
|
|
|
|
|
|
|
TDEAction* p = actionCollection()->action(actionName.latin1());
|
|
|
|
TDEAction* p = actionCollection()->action(actionName.latin1());
|
|
|
|
if(p)
|
|
|
|
if(p)
|
|
|
@ -60,7 +60,7 @@ TDEAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const
|
|
|
|
TDEToggleAction* KMyMoneyPlugin::Plugin::toggleAction(const TQString& actionName) const
|
|
|
|
TDEToggleAction* KMyMoneyPlugin::Plugin::toggleAction(const TQString& actionName) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
static TDEShortcut shortcut("");
|
|
|
|
static TDEShortcut shortcut("");
|
|
|
|
static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), "");
|
|
|
|
static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, this, 0, static_cast<TDEActionCollection*>(0), "");
|
|
|
|
|
|
|
|
|
|
|
|
TDEAction* q = actionCollection()->action(actionName.latin1());
|
|
|
|
TDEAction* q = actionCollection()->action(actionName.latin1());
|
|
|
|
|
|
|
|
|
|
|
|