diff options
Diffstat (limited to 'lib/kross/main')
-rw-r--r-- | lib/kross/main/mainmodule.h | 2 | ||||
-rw-r--r-- | lib/kross/main/manager.cpp | 4 | ||||
-rw-r--r-- | lib/kross/main/manager.h | 2 | ||||
-rw-r--r-- | lib/kross/main/scriptaction.h | 2 | ||||
-rw-r--r-- | lib/kross/main/scriptcontainer.h | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/lib/kross/main/mainmodule.h b/lib/kross/main/mainmodule.h index bc7efc45..96abd06d 100644 --- a/lib/kross/main/mainmodule.h +++ b/lib/kross/main/mainmodule.h @@ -55,7 +55,7 @@ namespace Kross { namespace Api { public: /// Shared pointer to implement reference-counting. - typedef KSharedPtr<MainModule> Ptr; + typedef TDESharedPtr<MainModule> Ptr; /** * Constructor. diff --git a/lib/kross/main/manager.cpp b/lib/kross/main/manager.cpp index 156eb2ac..21ee1eca 100644 --- a/lib/kross/main/manager.cpp +++ b/lib/kross/main/manager.cpp @@ -60,7 +60,7 @@ namespace Kross { namespace Api { * The Manager-singleton instance is NULL by default till the * Manager::scriptManager() method got called first time. */ - static KSharedPtr<Manager> m_manager = KSharedPtr<Manager>(0); + static TDESharedPtr<Manager> m_manager = TDESharedPtr<Manager>(0); }} @@ -68,7 +68,7 @@ Manager* Manager::scriptManager() { if(! m_manager.data()) { // Create the Manager-singleton on demand. - m_manager = KSharedPtr<Manager>( new Manager() ); + m_manager = TDESharedPtr<Manager>( new Manager() ); } // and finally return the singleton. diff --git a/lib/kross/main/manager.h b/lib/kross/main/manager.h index fe815e7c..5e7c43f4 100644 --- a/lib/kross/main/manager.h +++ b/lib/kross/main/manager.h @@ -116,7 +116,7 @@ namespace Kross { namespace Api { * \return The \a ScriptContainer instance matching to * scriptname. */ - KSharedPtr<ScriptContainer> getScriptContainer(const TQString& scriptname); + TDESharedPtr<ScriptContainer> getScriptContainer(const TQString& scriptname); /** * Return the \a Interpreter instance defined by diff --git a/lib/kross/main/scriptaction.h b/lib/kross/main/scriptaction.h index e6b17c73..3d6e890b 100644 --- a/lib/kross/main/scriptaction.h +++ b/lib/kross/main/scriptaction.h @@ -58,7 +58,7 @@ namespace Kross { namespace Api { public: /// Shared pointer to implement reference-counting. - typedef KSharedPtr<ScriptAction> Ptr; + typedef TDESharedPtr<ScriptAction> Ptr; /// A list of \a ScriptAction instances. //typedef TQValueList<ScriptAction::Ptr> List; diff --git a/lib/kross/main/scriptcontainer.h b/lib/kross/main/scriptcontainer.h index 5d2b38d0..e838317d 100644 --- a/lib/kross/main/scriptcontainer.h +++ b/lib/kross/main/scriptcontainer.h @@ -72,7 +72,7 @@ namespace Kross { namespace Api { public: /// Shared pointer to implement reference-counting. - typedef KSharedPtr<ScriptContainer> Ptr; + typedef TDESharedPtr<ScriptContainer> Ptr; /** * Destructor. @@ -171,7 +171,7 @@ namespace Kross { namespace Api { * \return \a Object instance representing * the functioncall returnvalue. */ - KSharedPtr<Object> callFunction(const TQString& functionname, KSharedPtr<List> arguments = 0); + TDESharedPtr<Object> callFunction(const TQString& functionname, TDESharedPtr<List> arguments = 0); /** * Return a list of classes. @@ -181,7 +181,7 @@ namespace Kross { namespace Api { /** * Create and return a new class instance. */ - KSharedPtr<Object> classInstance(const TQString& classname); + TDESharedPtr<Object> classInstance(const TQString& classname); /** * Initialize the \a Script instance. |