summaryrefslogtreecommitdiffstats
path: root/languages/ruby
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:23:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:23:50 -0600
commit3a044decb0a5d7be822c888b2d5374573d7df96e (patch)
treeddf4681e0233c25203fc927596aa7b3bdb5f2efa /languages/ruby
parent5c0390ebaa2be82d8684af5a6bc2b16740f4cc1b (diff)
downloadtdevelop-3a044decb0a5d7be822c888b2d5374573d7df96e.tar.gz
tdevelop-3a044decb0a5d7be822c888b2d5374573d7df96e.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'languages/ruby')
-rw-r--r--languages/ruby/app_templates/dcopservice/app.cpp2
-rw-r--r--languages/ruby/app_templates/kapp/app.cpp2
-rw-r--r--languages/ruby/app_templates/kxt/app.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/languages/ruby/app_templates/dcopservice/app.cpp b/languages/ruby/app_templates/dcopservice/app.cpp
index 4825c116..04770335 100644
--- a/languages/ruby/app_templates/dcopservice/app.cpp
+++ b/languages/ruby/app_templates/dcopservice/app.cpp
@@ -6,7 +6,7 @@
#include <kstandarddirs.h>
int main(int argc, char **argv) {
- KInstance * instance = new KInstance("%{APPNAMELC}");
+ TDEInstance * instance = new TDEInstance("%{APPNAMELC}");
TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance);
delete instance;
if (appdir.isNull()) {
diff --git a/languages/ruby/app_templates/kapp/app.cpp b/languages/ruby/app_templates/kapp/app.cpp
index 4825c116..04770335 100644
--- a/languages/ruby/app_templates/kapp/app.cpp
+++ b/languages/ruby/app_templates/kapp/app.cpp
@@ -6,7 +6,7 @@
#include <kstandarddirs.h>
int main(int argc, char **argv) {
- KInstance * instance = new KInstance("%{APPNAMELC}");
+ TDEInstance * instance = new TDEInstance("%{APPNAMELC}");
TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance);
delete instance;
if (appdir.isNull()) {
diff --git a/languages/ruby/app_templates/kxt/app.cpp b/languages/ruby/app_templates/kxt/app.cpp
index 4825c116..04770335 100644
--- a/languages/ruby/app_templates/kxt/app.cpp
+++ b/languages/ruby/app_templates/kxt/app.cpp
@@ -6,7 +6,7 @@
#include <kstandarddirs.h>
int main(int argc, char **argv) {
- KInstance * instance = new KInstance("%{APPNAMELC}");
+ TDEInstance * instance = new TDEInstance("%{APPNAMELC}");
TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance);
delete instance;
if (appdir.isNull()) {