summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--languages/cpp/app_templates/opieapplet/simpleimpl.cpp2
-rw-r--r--languages/cpp/app_templates/opieapplet/simpleimpl.h2
-rw-r--r--languages/cpp/app_templates/opienet/simmplemodule.h4
-rw-r--r--languages/cpp/app_templates/opienet/simplemodule.cpp2
-rw-r--r--languages/cpp/app_templates/opienet/simplemodule.h4
5 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.cpp b/languages/cpp/app_templates/opieapplet/simpleimpl.cpp
index 9a181745..fbb29ae2 100644
--- a/languages/cpp/app_templates/opieapplet/simpleimpl.cpp
+++ b/languages/cpp/app_templates/opieapplet/simpleimpl.cpp
@@ -79,7 +79,7 @@ void %{APPNAME}::paintEvent( TQPaintEvent* ) {
%{APPNAME}Impl::~%{APPNAME}Impl() {
/*
* we will delete our applets as well
- * setAUtoDelete makes the TQList free
+ * setAUtoDelete makes the TQPtrList free
* the objects behind the pointers
*/
m_applets.setAutoDelete( true );
diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.h b/languages/cpp/app_templates/opieapplet/simpleimpl.h
index 89df1dab..dc227bb1 100644
--- a/languages/cpp/app_templates/opieapplet/simpleimpl.h
+++ b/languages/cpp/app_templates/opieapplet/simpleimpl.h
@@ -69,7 +69,7 @@ public:
TQ_REFCOUNT
private:
- TQList<%{APPNAME}> m_applets;
+ TQPtrList<%{APPNAME}> m_applets;
};
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" {