summaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:33:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 17:32:41 +0900
commitd31a7027d0b8e2237b1b398e436e82e9944b38cb (patch)
tree1cd933e46759d2209dad0c74090f1e3487ab4b3e /languages
parent8308ebcedcc01c7588346da09b69b97b5c8e8059 (diff)
downloadtdevelop-d31a7027d0b8e2237b1b398e436e82e9944b38cb.tar.gz
tdevelop-d31a7027d0b8e2237b1b398e436e82e9944b38cb.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 676a13490dc7163e5c99a0f39094a2a4148d3963)
Diffstat (limited to 'languages')
-rw-r--r--languages/cpp/app_templates/opieapplet/simpleimpl.cpp2
-rw-r--r--languages/cpp/app_templates/opieinput/simpleimpl.cpp2
-rw-r--r--languages/cpp/app_templates/opiemenu/simpleimpl.cpp2
-rw-r--r--languages/cpp/app_templates/opietoday/examplepluginimpl.cpp2
4 files changed, 4 insertions, 4 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/opieinput/simpleimpl.cpp b/languages/cpp/app_templates/opieinput/simpleimpl.cpp
index a4c2e177..a77f413b 100644
--- a/languages/cpp/app_templates/opieinput/simpleimpl.cpp
+++ b/languages/cpp/app_templates/opieinput/simpleimpl.cpp
@@ -137,7 +137,7 @@ void %{APPNAME}Impl::onKeyPress( TQObject *receiver, const char *slot )
TQRESULT %{APPNAME}Impl::queryInterface( const TQUuid &uuid, TQUnknownInterface **iface )
{
*iface = 0;
- if ( uuid == IID_TQUnknown )
+ if ( uuid == IID_QUnknown )
*iface = this;
else if ( uuid == IID_InputMethod )
*iface = this;
diff --git a/languages/cpp/app_templates/opiemenu/simpleimpl.cpp b/languages/cpp/app_templates/opiemenu/simpleimpl.cpp
index 9d953663..7b32c534 100644
--- a/languages/cpp/app_templates/opiemenu/simpleimpl.cpp
+++ b/languages/cpp/app_templates/opiemenu/simpleimpl.cpp
@@ -60,7 +60,7 @@ void %{APPNAME}::activated()
TQRESULT %{APPNAME}::queryInterface( const TQUuid &uuid, TQUnknownInterface **iface )
{
*iface = 0;
- if ( uuid == IID_TQUnknown )
+ if ( uuid == IID_QUnknown )
*iface = this;
else if ( uuid == IID_MenuApplet )
*iface = this;
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;