diff options
Diffstat (limited to 'languages/cpp/app_templates/opienet')
-rw-r--r-- | languages/cpp/app_templates/opienet/simmplemodule.h | 4 | ||||
-rw-r--r-- | languages/cpp/app_templates/opienet/simplemodule.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/opienet/simplemodule.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/app_templates/opienet/simmplemodule.h b/languages/cpp/app_templates/opienet/simmplemodule.h index b19152b6..9a10c4c5 100644 --- a/languages/cpp/app_templates/opienet/simmplemodule.h +++ b/languages/cpp/app_templates/opienet/simmplemodule.h @@ -17,14 +17,14 @@ public: bool isOwner( Interface* ); TQWidget *configure( Interface* ); TQWidget *information( Interface* ); - TQList<Interface> getInterfaces(); + TQPtrList<Interface> getInterfaces(); void possibleNewInterfaces( TQMap<TQString, TQString>& ); Interface *addNewInterface( const TQString& ); bool remove( Interface* iface ); TQString getPixmapName( Interface* ) {return TQString::fromLatin1("Tux"); } void receive( const TQCString&, const TQByteArray& ar ) {} // don't listen private: - TQList<Interface> m_interfaces; + TQPtrList<Interface> m_interfaces; }; extern "C" { diff --git a/languages/cpp/app_templates/opienet/simplemodule.cpp b/languages/cpp/app_templates/opienet/simplemodule.cpp index 143e9f90..27571be9 100644 --- a/languages/cpp/app_templates/opienet/simplemodule.cpp +++ b/languages/cpp/app_templates/opienet/simplemodule.cpp @@ -41,7 +41,7 @@ TQWidget* %{APPNAME}Module::information( Interface* iface ) { return new InterfaceInformationImp(0, "Interface info", iface ); } -TQList<Interface> %{APPNAME}Module::getInterfaces() { +TQPtrList<Interface> %{APPNAME}Module::getInterfaces() { return m_interfaces; } diff --git a/languages/cpp/app_templates/opienet/simplemodule.h b/languages/cpp/app_templates/opienet/simplemodule.h index 6fce8b10..3e9eae00 100644 --- a/languages/cpp/app_templates/opienet/simplemodule.h +++ b/languages/cpp/app_templates/opienet/simplemodule.h @@ -17,14 +17,14 @@ public: bool isOwner( Interface* ); TQWidget *configure( Interface* ); TQWidget *information( Interface* ); - TQList<Interface> getInterfaces(); + TQPtrList<Interface> getInterfaces(); void possibleNewInterfaces( TQMap<TQString, TQString>& ); Interface *addNewInterface( const TQString& ); bool remove( Interface* iface ); TQString getPixmapName( Interface* ) {return TQString::fromLatin1("Tux"); } void receive( const TQCString&, const TQByteArray& ar ) {} // don't listen private: - TQList<Interface> m_interfaces; + TQPtrList<Interface> m_interfaces; }; extern "C" { |