summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer/rbuic
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-14 21:17:02 -0600
committerTimothy Pearson <[email protected]>2012-02-14 21:17:02 -0600
commit3fda03faf1b67aa1221099f3a2153a0aa40811ef (patch)
tree99c8ff09fb5c748c0e2fbb19e56f102476c2eb49 /qtruby/rubylib/designer/rbuic
parent7e7a6b6965f6463062bf5b60feca8b50d4434b96 (diff)
downloadtdebindings-3fda03faf1b67aa1221099f3a2153a0aa40811ef.tar.gz
tdebindings-3fda03faf1b67aa1221099f3a2153a0aa40811ef.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'qtruby/rubylib/designer/rbuic')
-rw-r--r--qtruby/rubylib/designer/rbuic/embed.cpp2
-rw-r--r--qtruby/rubylib/designer/rbuic/form.cpp4
-rw-r--r--qtruby/rubylib/designer/rbuic/main.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/designer/rbuic/embed.cpp b/qtruby/rubylib/designer/rbuic/embed.cpp
index 997e1701..dda9a5ee 100644
--- a/qtruby/rubylib/designer/rbuic/embed.cpp
+++ b/qtruby/rubylib/designer/rbuic/embed.cpp
@@ -217,7 +217,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
out << indent << "end" << endl;
out << indent << endl;
#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
- out << indent << "baunzip = qUncompress( @@embed_images[name][0].pack(\"C*\")," << endl;
+ out << indent << "baunzip = tqUncompress( @@embed_images[name][0].pack(\"C*\")," << endl;
out << indent << " @@embed_images[name][0].length )" << endl;
out << indent << "img = TQt::Image.new( baunzip.data," << endl;
out << indent << " @@embed_images[name][1]," << endl;
diff --git a/qtruby/rubylib/designer/rbuic/form.cpp b/qtruby/rubylib/designer/rbuic/form.cpp
index 42ec751f..13241e82 100644
--- a/qtruby/rubylib/designer/rbuic/form.cpp
+++ b/qtruby/rubylib/designer/rbuic/form.cpp
@@ -62,13 +62,13 @@ static TQByteArray unzipXPM( TQString data, ulong& length )
r += l - 'a' + 10;
ba[ i ] = r;
}
- // qUncompress() expects the first 4 bytes to be the expected length of the
+ // tqUncompress() expects the first 4 bytes to be the expected length of the
// uncompressed data
ba[0] = ( length & 0xff000000 ) >> 24;
ba[1] = ( length & 0x00ff0000 ) >> 16;
ba[2] = ( length & 0x0000ff00 ) >> 8;
ba[3] = ( length & 0x000000ff );
- TQByteArray baunzip = qUncompress( ba, baSize );
+ TQByteArray baunzip = tqUncompress( ba, baSize );
delete[] ba;
return baunzip;
}
diff --git a/qtruby/rubylib/designer/rbuic/main.cpp b/qtruby/rubylib/designer/rbuic/main.cpp
index 6d45af04..e06ff586 100644
--- a/qtruby/rubylib/designer/rbuic/main.cpp
+++ b/qtruby/rubylib/designer/rbuic/main.cpp
@@ -117,7 +117,7 @@ int main( int argc, char * argv[] )
} else if ( opt == "version" ) {
fprintf( stderr,
"QtRuby User Interface Compiler v%s for Qt version %s\n", RBUIC_VERSION,
- QT_VERSION_STR );
+ TQT_VERSION_STR );
exit( 1 );
} else if ( opt == "help" ) {
break;