summaryrefslogtreecommitdiffstats
path: root/tools/qembed
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /tools/qembed
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
Diffstat (limited to 'tools/qembed')
-rw-r--r--tools/qembed/qembed.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qembed/qembed.cpp b/tools/qembed/qembed.cpp
index 80fe1113c..9a3336e41 100644
--- a/tools/qembed/qembed.cpp
+++ b/tools/qembed/qembed.cpp
@@ -55,7 +55,7 @@ struct EmbedImage {
int main( int argc, char **argv )
{
if ( argc < 2 ) {
- qWarning( "Usage:\n\t%s [--images] files", argv[0] );
+ tqWarning( "Usage:\n\t%s [--images] files", argv[0] );
return 1;
}
@@ -103,19 +103,19 @@ int main( int argc, char **argv )
} else {
TQFile f( *it );
if ( !f.open(IO_ReadOnly) ) {
- qWarning( "Cannot open file %s, ignoring it", (*it).latin1() );
+ tqWarning( "Cannot open file %s, ignoring it", (*it).latin1() );
continue;
}
TQByteArray a( f.size() );
if ( f.size() == 0
|| f.readBlock(a.data(), f.size()) != (int)f.size() ) {
- qWarning( "Cannot read file %s, ignoring it", (*it).latin1() );
+ tqWarning( "Cannot read file %s, ignoring it", (*it).latin1() );
continue;
}
if ( images ) {
TQImage img;
if ( !img.loadFromData(a) ) {
- qWarning( "Cannot read image from file %s, ignoring it", (*it).latin1() );
+ tqWarning( "Cannot read image from file %s, ignoring it", (*it).latin1() );
continue;
}
EmbedImage *e = new EmbedImage;