diff options
Diffstat (limited to 'kexi/plugins/macros/lib/macro.cpp')
-rw-r--r-- | kexi/plugins/macros/lib/macro.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/plugins/macros/lib/macro.cpp b/kexi/plugins/macros/lib/macro.cpp index 808c4043..af29da57 100644 --- a/kexi/plugins/macros/lib/macro.cpp +++ b/kexi/plugins/macros/lib/macro.cpp @@ -41,7 +41,7 @@ namespace KoMacro { /** * A list of @a MacroItem instances. */ - TQValueList<KSharedPtr<MacroItem > > itemlist; + TQValueList<TDESharedPtr<MacroItem > > itemlist; /** * The name the @a Macro has. @@ -55,7 +55,7 @@ namespace KoMacro { //constructor, initalize internal (d-pointer) name Macro::Macro(const TQString& name) : TQObject() - , KShared() + , TDEShared() , XMLHandler(this) , d( new Private() ) // create the private d-pointer instance. { @@ -88,13 +88,13 @@ const TQString Macro::toString() const } //get (d-pointer) itemlist -TQValueList<KSharedPtr<MacroItem > >& Macro::items() const +TQValueList<TDESharedPtr<MacroItem > >& Macro::items() const { return d->itemlist; } //add a macroitem to internal (d-pointer) itemlist -void Macro::addItem(KSharedPtr<MacroItem> item) +void Macro::addItem(TDESharedPtr<MacroItem> item) { d->itemlist.append(item); } @@ -105,15 +105,15 @@ void Macro::clearItems() } //run our macro -KSharedPtr<Context> Macro::execute(TQObject* sender) +TDESharedPtr<Context> Macro::execute(TQObject* sender) { - kdDebug() << "Macro::execute(KSharedPtr<Context>)" << endl; + kdDebug() << "Macro::execute(TDESharedPtr<Context>)" << endl; //create context in which macro can/should run - KSharedPtr<Context> c = KSharedPtr<Context>( new Context(this) ); + TDESharedPtr<Context> c = TDESharedPtr<Context>( new Context(this) ); if(sender) { // set the sender-variable if we got a sender TQObject. - c->setVariable("[sender]", KSharedPtr<Variable>( new Variable(sender) )); + c->setVariable("[sender]", TDESharedPtr<Variable>( new Variable(sender) )); } //connect(context, TQT_SIGNAL(activated()), this, TQT_SIGNAL(activated())); |