summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
commit95b02a470fa233548b3c3be0cff13caf4c88ba21 (patch)
tree3e3f85a208a9450e8552e17c23f4b4f3ab5acdbb /qtruby
parent37fb195dc2faceddc010981e2648cdb9cd04a43f (diff)
downloadtdebindings-95b02a470fa233548b3c3be0cff13caf4c88ba21.tar.gz
tdebindings-95b02a470fa233548b3c3be0cff13caf4c88ba21.zip
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
Diffstat (limited to 'qtruby')
-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");