diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:51 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:51 +0900 |
commit | 6504041928e91e6e7b29c23afbfe4e9fb012d6d2 (patch) | |
tree | c0a2a24018c6163ffd56ed8028d7138b1894352c /languages | |
parent | 6289fd3b695d025d5f4361887abe080927edf641 (diff) | |
download | tdevelop-6504041928e91e6e7b29c23afbfe4e9fb012d6d2.tar.gz tdevelop-6504041928e91e6e7b29c23afbfe4e9fb012d6d2.zip |
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'languages')
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" { |