summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/designer')
-rw-r--r--qtruby/rubylib/designer/rbuic/widgetdatabase.cpp2
-rw-r--r--qtruby/rubylib/designer/uilib/qui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp b/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp
index 17b5014c..2538d0ae 100644
--- a/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp
+++ b/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp
@@ -357,7 +357,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconSet = "lcdnumber.xpm";
- r->name = "TQLCDNumber";
+ r->name = "QLCDNumber";
r->group = widgetGroup( "Display" );
r->toolTip = "LCD Number";
diff --git a/qtruby/rubylib/designer/uilib/qui.cpp b/qtruby/rubylib/designer/uilib/qui.cpp
index e587eee8..c52a40f2 100644
--- a/qtruby/rubylib/designer/uilib/qui.cpp
+++ b/qtruby/rubylib/designer/uilib/qui.cpp
@@ -93,7 +93,7 @@ create(int argc, VALUE * argv, VALUE /*klass*/)
TQIODevice * dev = 0;
smokeruby_object *o = value_obj_info(argv[0]);
- if (o != 0 && o->ptr != 0 && o->classId == qt_Smoke->idClass("TQIODevice")) {
+ if (o != 0 && o->ptr != 0 && o->classId == qt_Smoke->idClass("QIODevice")) {
dev = (TQIODevice *) o->ptr;
} else {
rb_raise(rb_eArgError, "invalid argument type\n");