summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:30:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:30:40 -0600
commit32459311b349db581cc5fb0d80739a95b3d998b4 (patch)
treefd6475e6f0e015fce495961d6a0c50027bb95faa /qtruby/rubylib/designer
parentef5a04df564ad5c27406c41fb55e32ad3aa39d25 (diff)
downloadtdebindings-32459311b349db581cc5fb0d80739a95b3d998b4.tar.gz
tdebindings-32459311b349db581cc5fb0d80739a95b3d998b4.zip
Rename additional global TQt functions
Diffstat (limited to 'qtruby/rubylib/designer')
-rw-r--r--qtruby/rubylib/designer/rbuic/embed.cpp2
-rw-r--r--qtruby/rubylib/designer/rbuic/form.cpp2
-rw-r--r--qtruby/rubylib/designer/rbuic/main.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/qtruby/rubylib/designer/rbuic/embed.cpp b/qtruby/rubylib/designer/rbuic/embed.cpp
index dda9a5ee..02b88de4 100644
--- a/qtruby/rubylib/designer/rbuic/embed.cpp
+++ b/qtruby/rubylib/designer/rbuic/embed.cpp
@@ -74,7 +74,7 @@ static TQString convertToCIdentifier( const char *s )
static ulong embedData( TQTextStream& out, const uchar* input, int nbytes )
{
#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
- TQByteArray bazip( qCompress( input, nbytes ) );
+ TQByteArray bazip( tqCompress( input, nbytes ) );
ulong len = bazip.size();
#else
ulong len = nbytes;
diff --git a/qtruby/rubylib/designer/rbuic/form.cpp b/qtruby/rubylib/designer/rbuic/form.cpp
index 13241e82..937c32eb 100644
--- a/qtruby/rubylib/designer/rbuic/form.cpp
+++ b/qtruby/rubylib/designer/rbuic/form.cpp
@@ -241,7 +241,7 @@ void Uic::createFormImpl( const TQDomElement &e )
// children
if( !objectNames.isEmpty() )
- qWarning("WARNING : objectNames should be empty at "__FILE__" line %d\n", __LINE__);
+ tqWarning("WARNING : objectNames should be empty at "__FILE__" line %d\n", __LINE__);
nl = e.parentNode().toElement().elementsByTagName( "widget" );
for ( i = 1; i < (int) nl.length(); i++ )
{ // start at 1, 0 is the toplevel widget
diff --git a/qtruby/rubylib/designer/rbuic/main.cpp b/qtruby/rubylib/designer/rbuic/main.cpp
index e06ff586..ed74aece 100644
--- a/qtruby/rubylib/designer/rbuic/main.cpp
+++ b/qtruby/rubylib/designer/rbuic/main.cpp
@@ -189,7 +189,7 @@ int main( int argc, char * argv[] )
if ( outputFile ) {
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) )
- qFatal( "rbuic: Could not open output file '%s'", outputFile );
+ tqFatal( "rbuic: Could not open output file '%s'", outputFile );
} else {
fileOut.open( IO_WriteOnly, stdout );
}
@@ -205,13 +205,13 @@ int main( int argc, char * argv[] )
out.setEncoding( TQTextStream::UnicodeUTF8 );
TQFile file( fileName );
if ( !file.open( IO_ReadOnly ) )
- qFatal( "rbuic: Could not open file '%s' ", fileName );
+ tqFatal( "rbuic: Could not open file '%s' ", fileName );
TQDomDocument doc;
TQString errMsg;
int errLine;
if ( !doc.setContent( &file, &errMsg, &errLine ) )
- qFatal( TQString("rbuic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine );
+ tqFatal( TQString("rbuic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine );
DomTool::fixDocument( doc );