summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer/rbuic/embed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/designer/rbuic/embed.cpp')
-rw-r--r--qtruby/rubylib/designer/rbuic/embed.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/designer/rbuic/embed.cpp b/qtruby/rubylib/designer/rbuic/embed.cpp
index 02b88de4..5b4a2fc3 100644
--- a/qtruby/rubylib/designer/rbuic/embed.cpp
+++ b/qtruby/rubylib/designer/rbuic/embed.cpp
@@ -73,7 +73,7 @@ static TQString convertToCIdentifier( const char *s )
static ulong embedData( TQTextStream& out, const uchar* input, int nbytes )
{
-#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
+#ifndef TQT_NO_IMAGE_COLLECTION_COMPRESSION
TQByteArray bazip( tqCompress( input, nbytes ) );
ulong len = bazip.size();
#else
@@ -88,7 +88,7 @@ static ulong embedData( TQTextStream& out, const uchar* input, int nbytes )
s.truncate( 0 );
}
uint v = (uchar)
-#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
+#ifndef TQT_NO_IMAGE_COLLECTION_COMPRESSION
bazip
#else
input
@@ -216,7 +216,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
--indent;
out << indent << "end" << endl;
out << indent << endl;
-#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
+#ifndef TQT_NO_IMAGE_COLLECTION_COMPRESSION
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;