summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/thumbnailpicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/thumbnailpicker.cpp')
-rw-r--r--kstars/kstars/thumbnailpicker.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kstars/kstars/thumbnailpicker.cpp b/kstars/kstars/thumbnailpicker.cpp
index 5a4887a9..e3e381d2 100644
--- a/kstars/kstars/thumbnailpicker.cpp
+++ b/kstars/kstars/thumbnailpicker.cpp
@@ -16,7 +16,7 @@
***************************************************************************/
#include <tqframe.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqimage.h>
#include <tqpixmap.h>
@@ -85,9 +85,9 @@ void ThumbnailPicker::slotFillList() {
//Query Google Image Search:
KURL gURL( "http://images.google.com/images" );
//Search for the primary name, or longname and primary name
- TQString sName = TQString("\"%1\"").tqarg( Object->name() );
+ TQString sName = TQString("\"%1\"").arg( Object->name() );
if ( Object->longname() != Object->name() ) {
- sName = TQString("\"%1\" ").tqarg( Object->longname() ) + sName;
+ sName = TQString("\"%1\" ").arg( Object->longname() ) + sName;
}
gURL.addQueryItem( "q", sName ); //add the Google-image query string
@@ -176,7 +176,7 @@ void ThumbnailPicker::downloadReady(KIO::Job *job) {
//Add image to list
//If image is taller than desktop, rescale it.
- //I tried to use kapp->style().tqpixelMetric( TQStyle::PM_TitleBarHeight )
+ //I tried to use kapp->style().pixelMetric( TQStyle::PM_TitleBarHeight )
//for the titlebar height, but this returned zero.
//Hard-coding 25 instead :(
if ( tmp.exists() ) {
@@ -195,7 +195,7 @@ void ThumbnailPicker::downloadReady(KIO::Job *job) {
// this returns zero...
// //DEBUG
-// kdDebug() << "Title bar height: " << kapp->style().tqpixelMetric( TQStyle::PM_TitleBarHeight ) << endl;
+// kdDebug() << "Title bar height: " << kapp->style().pixelMetric( TQStyle::PM_TitleBarHeight ) << endl;
if ( h > hDesk )
im = im.smoothScale( w*hDesk/h, hDesk );
@@ -313,7 +313,7 @@ void ThumbnailPicker::slotSetFromURL() {
if ( im.isNull() ) {
KMessageBox::sorry( 0,
- i18n("Failed to load image at %1").tqarg( localFile.name() ),
+ i18n("Failed to load image at %1").arg( localFile.name() ),
i18n("Failed to Load Image") );
return;
}