summaryrefslogtreecommitdiffstats
path: root/puic
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:26:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:26:28 -0600
commitd866fe2c926adf0bacf59595a777c2f2a5879e49 (patch)
tree86ca02842dbb2e2247e6d3cc970ff6f35a640a3c /puic
parentf0201c2d37cd3b94c6a720eb11d84263cd5d013b (diff)
downloadlibtqt-perl-d866fe2c926adf0bacf59595a777c2f2a5879e49.tar.gz
libtqt-perl-d866fe2c926adf0bacf59595a777c2f2a5879e49.zip
Rename additional global TQt functions
Diffstat (limited to 'puic')
-rw-r--r--puic/form.cpp8
-rw-r--r--puic/main.cpp10
-rw-r--r--puic/uic.h2
3 files changed, 10 insertions, 10 deletions
diff --git a/puic/form.cpp b/puic/form.cpp
index 853c601..e54f338 100644
--- a/puic/form.cpp
+++ b/puic/form.cpp
@@ -47,14 +47,14 @@ static TQByteArray tqUncompress( const uchar* data, int nbytes )
{
if ( !data ) {
#if defined(TQT_CHECK_RANGE)
- qWarning( "qUncompress: data is NULL." );
+ tqWarning( "qUncompress: data is NULL." );
#endif
return TQByteArray();
}
if ( nbytes <= 4 ) {
#if defined(TQT_CHECK_RANGE)
if ( nbytes < 4 || ( data[0]!=0 || data[1]!=0 || data[2]!=0 || data[3]!=0 ) )
- qWarning( "qUncompress: Input data is corrupted." );
+ tqWarning( "qUncompress: Input data is corrupted." );
#endif
return TQByteArray();
}
@@ -74,7 +74,7 @@ static TQByteArray tqUncompress( const uchar* data, int nbytes )
break;
case Z_MEM_ERROR:
#if defined(TQT_CHECK_RANGE)
- qWarning( "qUncompress: Z_MEM_ERROR: Not enough memory." );
+ tqWarning( "qUncompress: Z_MEM_ERROR: Not enough memory." );
#endif
break;
case Z_BUF_ERROR:
@@ -82,7 +82,7 @@ static TQByteArray tqUncompress( const uchar* data, int nbytes )
break;
case Z_DATA_ERROR:
#if defined(TQT_CHECK_RANGE)
- qWarning( "qUncompress: Z_DATA_ERROR: Input data is corrupted." );
+ tqWarning( "qUncompress: Z_DATA_ERROR: Input data is corrupted." );
#endif
break;
}
diff --git a/puic/main.cpp b/puic/main.cpp
index c064d02..d6411ee 100644
--- a/puic/main.cpp
+++ b/puic/main.cpp
@@ -202,7 +202,7 @@ int main( int argc, char * argv[] )
if ( !outputFile.isEmpty() ) {
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) ) {
- qWarning( "puic: Could not open output file '%s'", outputFile.data() );
+ tqWarning( "puic: Could not open output file '%s'", outputFile.data() );
return 1;
}
} else {
@@ -221,7 +221,7 @@ int main( int argc, char * argv[] )
TQFile file( fileName );
if ( !file.open( IO_ReadOnly ) ) {
- qWarning( "puic: Could not open file '%s' ", fileName );
+ tqWarning( "puic: Could not open file '%s' ", fileName );
return 1;
}
@@ -229,13 +229,13 @@ int main( int argc, char * argv[] )
TQString errMsg;
int errLine;
if ( !doc.setContent( &file, &errMsg, &errLine ) ) {
- qWarning( TQString("puic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine );
+ tqWarning( TQString("puic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine );
return 1;
}
TQDomElement e = doc.firstChild().toElement();
if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.2 ) {
- qWarning( TQString("puic: File generated with too recent version of TQt Designer (%s). Recent extensions won't be handled."),
+ tqWarning( TQString("puic: File generated with too recent version of TQt Designer (%s). Recent extensions won't be handled."),
e.attribute("version").latin1() );
return 1;
}
@@ -282,7 +282,7 @@ int main( int argc, char * argv[] )
out << indent << "exit $a->exec;" << endl;
}
if ( fileOut.status() != IO_Ok ) {
- qWarning( "uic: Error writing to file" );
+ tqWarning( "uic: Error writing to file" );
if ( !outputFile.isEmpty() )
remove( outputFile );
}
diff --git a/puic/uic.h b/puic/uic.h
index f153722..aa5a81a 100644
--- a/puic/uic.h
+++ b/puic/uic.h
@@ -34,7 +34,7 @@
# ifdef TTQ_FULL_TEMPLATE_INSTANTIATION
# define TQ_DUMMY_COMPARISON_OPERATOR(C) \
bool operator==( const C& ) const { \
- qWarning( #C"::operator==( const "#C"& ) got called." ); \
+ tqWarning( #C"::operator==( const "#C"& ) got called." ); \
return FALSE; \
}
# else