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 02:33:14 +0900
commit676a13490dc7163e5c99a0f39094a2a4148d3963 (patch)
tree2eff206a80899e040b1c6221e0c4fdcb9b38d237 /languages
parentaefcba8280fc1520675866143baf2f8c020ec82e (diff)
downloadtdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.tar.gz
tdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;