diff options
author | Michele Calgaro <[email protected]> | 2018-10-17 23:25:51 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-10-17 23:25:51 +0900 |
commit | 6504041928e91e6e7b29c23afbfe4e9fb012d6d2 (patch) | |
tree | c0a2a24018c6163ffd56ed8028d7138b1894352c /languages/cpp/app_templates/opieapplet | |
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 <[email protected]>
Diffstat (limited to 'languages/cpp/app_templates/opieapplet')
-rw-r--r-- | languages/cpp/app_templates/opieapplet/simpleimpl.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/opieapplet/simpleimpl.h | 2 |
2 files changed, 2 insertions, 2 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; }; |