diff options
Diffstat (limited to 'qtruby/rubylib')
-rw-r--r-- | qtruby/rubylib/qtruby/Qt.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp index ad0241fc..90cd759e 100644 --- a/qtruby/rubylib/qtruby/Qt.cpp +++ b/qtruby/rubylib/qtruby/Qt.cpp @@ -98,13 +98,13 @@ extern "C" { VALUE qt_module = Qnil; VALUE qext_scintilla_module = Qnil; VALUE kde_module = Qnil; -VALUE kparts_module = Qnil; +VALUE tdeparts_module = Qnil; VALUE kio_module = Qnil; VALUE kns_module = Qnil; VALUE dom_module = Qnil; VALUE kontact_module = Qnil; VALUE kate_module = Qnil; -VALUE ktexteditor_module = Qnil; +VALUE tdetexteditor_module = Qnil; VALUE koffice_module = Qnil; VALUE qt_internal_module = Qnil; VALUE qt_base_class = Qnil; @@ -2690,7 +2690,7 @@ static TQRegExp * scope_op = 0; klass = rb_define_class_under(kde_module, package+strlen("KDE::"), base_class); rb_define_singleton_method(klass, "new", (VALUE (*) (...)) _new_kde, -1); } else if (packageName.startsWith("KParts::")) { - klass = rb_define_class_under(kparts_module, package+strlen("KParts::"), base_class); + klass = rb_define_class_under(tdeparts_module, package+strlen("KParts::"), base_class); rb_define_singleton_method(klass, "new", (VALUE (*) (...)) _new_kde, -1); if (packageName == "KParts::ReadOnlyPart") { konsole_part_class = rb_define_class_under(kde_module, "KonsolePart", klass); @@ -2720,7 +2720,7 @@ static TQRegExp * scope_op = 0; klass = rb_define_class_under(kate_module, package+strlen("Kate"), base_class); rb_define_singleton_method(klass, "new", (VALUE (*) (...)) _new_kde, -1); } else if (packageName.startsWith("KTextEditor::")) { - klass = rb_define_class_under(ktexteditor_module, package+strlen("KTextEditor::"), base_class); + klass = rb_define_class_under(tdetexteditor_module, package+strlen("KTextEditor::"), base_class); rb_define_singleton_method(klass, "new", (VALUE (*) (...)) _new_kde, -1); } else if (scope_op->search(packageName) != -1) { // If an unrecognised classname of the form 'XXXXXX::YYYYYY' is found, @@ -2831,9 +2831,9 @@ set_new_kde(VALUE (*new_kde) (int, VALUE *, VALUE)) rb_define_singleton_method(kde_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1); rb_define_singleton_method(kde_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1); - kparts_module = rb_define_module("KParts"); - rb_define_singleton_method(kparts_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1); - rb_define_singleton_method(kparts_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1); + tdeparts_module = rb_define_module("KParts"); + rb_define_singleton_method(tdeparts_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1); + rb_define_singleton_method(tdeparts_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1); kns_module = rb_define_module("KNS"); rb_define_singleton_method(kns_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1); @@ -2851,9 +2851,9 @@ set_new_kde(VALUE (*new_kde) (int, VALUE *, VALUE)) rb_define_singleton_method(kontact_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1); rb_define_singleton_method(kontact_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1); - ktexteditor_module = rb_define_module("KTextEditor"); - 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); + tdetexteditor_module = rb_define_module("KTextEditor"); + rb_define_singleton_method(tdetexteditor_module, "method_missing", (VALUE (*) (...)) kde_module_method_missing, -1); + rb_define_singleton_method(tdetexteditor_module, "const_missing", (VALUE (*) (...)) kde_module_method_missing, -1); twin_class = rb_define_class_under(kde_module, "Win", qt_base_class); |