summaryrefslogtreecommitdiffstats
path: root/tools/qembed
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:11:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:11:59 -0600
commit9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch)
treedf1e10cc7504665622d096f9ba80dc9e56f3afb8 /tools/qembed
parenta830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff)
downloadqt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz
qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip
Undo prior accidental commit
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 8bcff7c..db0a87d 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 ) {
- tqWarning( "Usage:\n\t%s [--images] files", argv[0] );
+ qWarning( "Usage:\n\t%s [--images] files", argv[0] );
return 1;
}
@@ -103,19 +103,19 @@ int main( int argc, char **argv )
} else {
QFile f( *it );
if ( !f.open(IO_ReadOnly) ) {
- tqWarning( "Cannot open file %s, ignoring it", (*it).latin1() );
+ qWarning( "Cannot open file %s, ignoring it", (*it).latin1() );
continue;
}
QByteArray a( f.size() );
if ( f.size() == 0
|| f.readBlock(a.data(), f.size()) != (int)f.size() ) {
- tqWarning( "Cannot read file %s, ignoring it", (*it).latin1() );
+ qWarning( "Cannot read file %s, ignoring it", (*it).latin1() );
continue;
}
if ( images ) {
QImage img;
if ( !img.loadFromData(a) ) {
- tqWarning( "Cannot read image from file %s, ignoring it", (*it).latin1() );
+ qWarning( "Cannot read image from file %s, ignoring it", (*it).latin1() );
continue;
}
EmbedImage *e = new EmbedImage;