summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer/rbuic/embed.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:36 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:36 +0900
commit5dba7cef0aec034ce61df1516a305723480b86ca (patch)
treee5006ec6ac540ebd6e47307d1f3caca253ede51d /qtruby/rubylib/designer/rbuic/embed.cpp
parent78a950757d18f6f1c37d01d5fb290b7b11b20e73 (diff)
downloadtdebindings-5dba7cef0aec034ce61df1516a305723480b86ca.tar.gz
tdebindings-5dba7cef0aec034ce61df1516a305723480b86ca.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
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;