summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:36 +0900
commit5dba7cef0aec034ce61df1516a305723480b86ca (patch)
treee5006ec6ac540ebd6e47307d1f3caca253ede51d /qtruby
parent78a950757d18f6f1c37d01d5fb290b7b11b20e73 (diff)
downloadtdebindings-5dba7cef0aec034ce61df1516a305723480b86ca.tar.gz
tdebindings-5dba7cef0aec034ce61df1516a305723480b86ca.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/rubylib/designer/rbuic/embed.cpp6
-rw-r--r--qtruby/rubylib/designer/rbuic/widgetdatabase.cpp8
2 files changed, 7 insertions, 7 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;
diff --git a/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp b/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp
index f8a0f0fd..816a6e74 100644
--- a/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp
+++ b/qtruby/rubylib/designer/rbuic/widgetdatabase.cpp
@@ -207,7 +207,7 @@ void WidgetDatabase::setupDataBase( int id )
append( r );
-#if !defined(QT_NO_ICONVIEW) || defined(UIC)
+#if !defined(TQT_NO_ICONVIEW) || defined(UIC)
r = new WidgetDatabaseRecord;
r->iconSet = "iconview.xpm";
r->name = "TQIconView";
@@ -217,7 +217,7 @@ void WidgetDatabase::setupDataBase( int id )
append( r );
#endif
-#if !defined(QT_NO_TABLE)
+#if !defined(TQT_NO_TABLE)
r = new WidgetDatabaseRecord;
r->iconSet = "table.xpm";
r->name = "TQTable";
@@ -227,7 +227,7 @@ void WidgetDatabase::setupDataBase( int id )
append( r );
#endif
-#if !defined(QT_NO_SQL)
+#if !defined(TQT_NO_SQL)
r = new WidgetDatabaseRecord;
r->iconSet = "datatable.xpm";
r->includeFile = "tqdatatable.h";
@@ -483,7 +483,7 @@ void WidgetDatabase::setupDataBase( int id )
append( r );
-#ifndef QT_NO_SQL
+#ifndef TQT_NO_SQL
r = new WidgetDatabaseRecord;
r->iconSet = "";
r->name = "TQDataBrowser";