summaryrefslogtreecommitdiffstats
path: root/renamedlgplugins/images
diff options
context:
space:
mode:
Diffstat (limited to 'renamedlgplugins/images')
-rw-r--r--renamedlgplugins/images/image_plugin.cpp2
-rw-r--r--renamedlgplugins/images/imagevisualizer.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/renamedlgplugins/images/image_plugin.cpp b/renamedlgplugins/images/image_plugin.cpp
index 65023f7..abab724 100644
--- a/renamedlgplugins/images/image_plugin.cpp
+++ b/renamedlgplugins/images/image_plugin.cpp
@@ -29,7 +29,7 @@
#include <tqwidget.h>
#include <tqstringlist.h>
#include <kio/global.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <sys/types.h>
diff --git a/renamedlgplugins/images/imagevisualizer.cpp b/renamedlgplugins/images/imagevisualizer.cpp
index e347dc4..009eb8b 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").tqarg( img.depth() ));
- desc.append(i18n("The dimensions of an image", "Dimensions: %1x%1").tqarg(img.width()).tqarg(img.height() ));
+ 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() ));
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 , tqtopLevelWidget()) )
+ if( KIO::NetAccess::download( KURL::fromPathOrURL( url ), tmpFile , topLevelWidget()) )
{
loadImage( tmpFile );
KIO::NetAccess::removeTempFile( tmpFile );