summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opieapplet
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/opieapplet')
-rw-r--r--languages/cpp/app_templates/opieapplet/simpleimpl.cpp2
-rw-r--r--languages/cpp/app_templates/opieapplet/simpleimpl.h2
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 fbb29ae2..db3e71c4 100644
--- a/languages/cpp/app_templates/opieapplet/simpleimpl.cpp
+++ b/languages/cpp/app_templates/opieapplet/simpleimpl.cpp
@@ -128,7 +128,7 @@ TQRESULT %{APPNAME}Impl::queryInterface( const TQUuid& uuid, TQUnknownInterface*
* Now the caller knows that the Interface Pointer
* is valid and the interface supported
*/
- if ( uuid == IID_TQUnknown )
+ if ( uuid == IID_QUnknown )
*iface = this;
else if ( uuid == IID_TaskbarApplet )
*iface = this;
diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.h b/languages/cpp/app_templates/opieapplet/simpleimpl.h
index dc227bb1..a1e8400f 100644
--- a/languages/cpp/app_templates/opieapplet/simpleimpl.h
+++ b/languages/cpp/app_templates/opieapplet/simpleimpl.h
@@ -39,7 +39,7 @@
* You might also want to reimplement mouse*Event to use some simple actions
*/
class %{APPNAME} : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}(TQWidget *parent);