summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:50 -0600
commitf67cd2d3fcf56b6bf82449c1f32b417c6c3c08ac (patch)
tree3ef3119c6168327fde2458a8626bd39d0fc89eef /qtruby
parentd44e6f1e60fa21065854e4731c7b04886b801dc1 (diff)
downloadtdebindings-f67cd2d3fcf56b6bf82449c1f32b417c6c3c08ac.tar.gz
tdebindings-f67cd2d3fcf56b6bf82449c1f32b417c6c3c08ac.zip
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/rubylib/qtruby/Qt.cpp6
-rw-r--r--qtruby/rubylib/qtruby/handlers.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp
index 37cfd637..dbb5b54a 100644
--- a/qtruby/rubylib/qtruby/Qt.cpp
+++ b/qtruby/rubylib/qtruby/Qt.cpp
@@ -104,7 +104,7 @@ VALUE kconfigskeleton_class = Qnil;
VALUE kconfigskeleton_itemenum_class = Qnil;
VALUE kconfigskeleton_itemenum_choice_class = Qnil;
VALUE kio_udsatom_class = Qnil;
-VALUE kwin_class = Qnil;
+VALUE twin_class = Qnil;
VALUE konsole_part_class = Qnil;
bool application_terminated = false;
};
@@ -2674,7 +2674,7 @@ static TQRegExp * scope_op = 0;
rb_define_method(klass, "immutable?", (VALUE (*) (...)) _kconfigskeletonitem_immutable, 0);
rb_define_method(klass, "isImmutable", (VALUE (*) (...)) _kconfigskeletonitem_immutable, 0);
} else if (packageName.startsWith("KDE::Win::")) {
- klass = rb_define_class_under(kwin_class, package+strlen("KDE::Win::"), base_class);
+ klass = rb_define_class_under(twin_class, package+strlen("KDE::Win::"), base_class);
rb_define_singleton_method(klass, "new", (VALUE (*) (...)) _new_kde, -1);
} else if (packageName.startsWith("KDE::")) {
klass = rb_define_class_under(kde_module, package+strlen("KDE::"), base_class);
@@ -2845,7 +2845,7 @@ set_new_kde(VALUE (*new_kde) (int, VALUE *, VALUE))
rb_define_singleton_method(ktexteditor_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1);
rb_define_singleton_method(ktexteditor_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1);
- kwin_class = rb_define_class_under(kde_module, "Win", qt_base_class);
+ twin_class = rb_define_class_under(kde_module, "Win", qt_base_class);
kate_module = rb_define_module("Kate");
rb_define_singleton_method(kate_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1);
diff --git a/qtruby/rubylib/qtruby/handlers.cpp b/qtruby/rubylib/qtruby/handlers.cpp
index e6cf263c..9386ce15 100644
--- a/qtruby/rubylib/qtruby/handlers.cpp
+++ b/qtruby/rubylib/qtruby/handlers.cpp
@@ -1743,7 +1743,7 @@ void marshall_QPairintint(Marshall *m) {
#include <tqdir.h>
#include <tqobjectlist.h>
#include <tqwidgetlist.h>
-#include <tqdockwindow.h>
+#include <tqdoctwindow.h>
#include <tqnetworkprotocol.h>
#include <tqtoolbar.h>
#include <tqtabbar.h>