From 95b02a470fa233548b3c3be0cff13caf4c88ba21 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 18 Sep 2011 23:43:22 +0000 Subject: Fix a number of strings in Trinity that were incorrectly converted to TQ* from Q* This fixes the Kopete MSN protocol among other things git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1254372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtruby/rubylib/designer/rbuic/widgetdatabase.cpp | 2 +- qtruby/rubylib/designer/uilib/qui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'qtruby/rubylib') 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"); -- cgit v1.2.1