summaryrefslogtreecommitdiffstats
path: root/tools/qembed
diff options
context:
space:
mode:
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;