diff options
Diffstat (limited to 'kexi/plugins/macros/lib/manager.cpp')
-rw-r--r-- | kexi/plugins/macros/lib/manager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/plugins/macros/lib/manager.cpp b/kexi/plugins/macros/lib/manager.cpp index f73ddaa8..5ab431d5 100644 --- a/kexi/plugins/macros/lib/manager.cpp +++ b/kexi/plugins/macros/lib/manager.cpp @@ -41,10 +41,10 @@ namespace KoMacro { { public: KXMLGUIClient* const xmlguiclient; - TQMap<TQString, KSharedPtr<Macro > > macros; + TQMap<TQString, TDESharedPtr<Macro > > macros; TQStringList actionnames; - TQMap<TQString, KSharedPtr<Action> > actions; + TQMap<TQString, TDESharedPtr<Action> > actions; TQMap<TQString, TQGuardedPtr<TQObject> > objects; @@ -108,12 +108,12 @@ bool Manager::hasMacro(const TQString& macroname) return d->macros.contains(macroname); } -KSharedPtr<Macro> Manager::getMacro(const TQString& macroname) +TDESharedPtr<Macro> Manager::getMacro(const TQString& macroname) { return d->macros[macroname]; } -void Manager::addMacro(const TQString& macroname, KSharedPtr<Macro> macro) +void Manager::addMacro(const TQString& macroname, TDESharedPtr<Macro> macro) { d->macros.replace(macroname, macro); } @@ -123,13 +123,13 @@ void Manager::removeMacro(const TQString& macroname) d->macros.remove(macroname); } -KSharedPtr<Macro> Manager::createMacro(const TQString& macroname) +TDESharedPtr<Macro> Manager::createMacro(const TQString& macroname) { - KSharedPtr<Macro> macro = KSharedPtr<Macro>( new Macro(macroname) ); + TDESharedPtr<Macro> macro = TDESharedPtr<Macro>( new Macro(macroname) ); return macro; } -KSharedPtr<Action> Manager::action(const TQString& name) const +TDESharedPtr<Action> Manager::action(const TQString& name) const { return d->actions[name]; } @@ -144,7 +144,7 @@ TQStringList Manager::actionNames() const return d->actionnames; } -void Manager::publishAction(KSharedPtr<Action> action) +void Manager::publishAction(TDESharedPtr<Action> action) { const TQString name = action->name(); if(! d->actions.contains(name)) { |