From 6b45a7b7b2a804ccb2d522eb9ba6423fedb59b8f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:12 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit ca82971624269719d487c6f7980d7237f9420036. --- renamedlgplugins/images/image_plugin.cpp | 2 +- renamedlgplugins/images/imagevisualizer.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'renamedlgplugins/images') diff --git a/renamedlgplugins/images/image_plugin.cpp b/renamedlgplugins/images/image_plugin.cpp index abab724..65023f7 100644 --- a/renamedlgplugins/images/image_plugin.cpp +++ b/renamedlgplugins/images/image_plugin.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include diff --git a/renamedlgplugins/images/imagevisualizer.cpp b/renamedlgplugins/images/imagevisualizer.cpp index 009eb8b..e347dc4 100644 --- a/renamedlgplugins/images/imagevisualizer.cpp +++ b/renamedlgplugins/images/imagevisualizer.cpp @@ -64,8 +64,8 @@ void ImageVisualizer::loadImage( const TQString& path ) pic->adjustSize(); TQString desc; - desc.append(i18n("The color depth of an image", "Depth: %1\n").arg( img.depth() )); - desc.append(i18n("The dimensions of an image", "Dimensions: %1x%1").arg(img.width()).arg(img.height() )); + desc.append(i18n("The color depth of an image", "Depth: %1\n").tqarg( img.depth() )); + desc.append(i18n("The dimensions of an image", "Dimensions: %1x%1").tqarg(img.width()).tqarg(img.height() )); description->setText(desc ); description->adjustSize(); } @@ -73,7 +73,7 @@ void ImageVisualizer::loadImage( const TQString& path ) void ImageVisualizer::downloadImage(const TQString& url) { TQString tmpFile; - if( KIO::NetAccess::download( KURL::fromPathOrURL( url ), tmpFile , topLevelWidget()) ) + if( KIO::NetAccess::download( KURL::fromPathOrURL( url ), tmpFile , tqtopLevelWidget()) ) { loadImage( tmpFile ); KIO::NetAccess::removeTempFile( tmpFile ); -- cgit v1.2.1