summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opietoday
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/opietoday')
-rw-r--r--languages/cpp/app_templates/opietoday/examplepluginimpl.cpp2
-rw-r--r--languages/cpp/app_templates/opietoday/examplepluginwidget.cpp2
-rw-r--r--languages/cpp/app_templates/opietoday/examplepluginwidget.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp b/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp
index a4896308..5b6367d2 100644
--- a/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp
+++ b/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp
@@ -16,7 +16,7 @@ TodayPluginObject* %{APPNAME}Impl::guiPart() {
TQRESULT %{APPNAME}Impl::queryInterface( const TQUuid & uuid, TQUnknownInterface **iface ) {
*iface = 0;
- if ( ( uuid == IID_TQUnknown ) || ( uuid == IID_TodayPluginInterface ) ) {
+ if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) {
*iface = this, (*iface)->addRef();
}else
return TQS_FALSE;
diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp b/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp
index 2f491481..fdbbf4dd 100644
--- a/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp
+++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp
@@ -17,7 +17,7 @@
// that should be triggered when clicked are defined in slotClicked()
// of course also normal widgets can be used.
m_exampleLabel = new OClickableLabel( this );
- connect( m_exampleLabel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotClicked() ) );
+ connect( m_exampleLabel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClicked() ) );
if ( m_layout ) {
delete m_layout;
diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.h b/languages/cpp/app_templates/opietoday/examplepluginwidget.h
index 252efc85..a802f2ba 100644
--- a/languages/cpp/app_templates/opietoday/examplepluginwidget.h
+++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.h
@@ -7,7 +7,7 @@
class %{APPNAME}Widget : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public: