[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2011-03-13 20:18:55
Message-ID: 20110313201855.3E817AC8CF () svn ! kde ! org
[Download RAW message or body]

SVN commit 1224717 by khudyakov:

Remove unused SkyMap::slotJobResult

 M  +0 -6      skymap.h  
 M  +0 -13     skymapevents.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skymap.h #1224716:1224717
@@ -38,9 +38,6 @@
 class QPaintDevice;
 class QPixmap;
 
-//DEBUG_KIO_JOB
-class KJob;
-
 class dms;
 class KStarsData;
 class KSPopupMenu;
@@ -277,9 +274,6 @@
 
 
 public slots:
-    //DEBUG_KIO_JOB
-    void slotJobResult( KJob *j );
-
     /**@short This overloaded function is used internally to resize the Sky pixmap to match the window size. */
     virtual void setGeometry( int x, int y, int w, int h );
 
--- trunk/KDE/kdeedu/kstars/kstars/skymapevents.cpp #1224716:1224717
@@ -28,7 +28,6 @@
 #include <QToolTip>
 
 #include <kstatusbar.h>
-#include <kio/job.h>
 
 #include "skymap.h"
 #include "skyqpainter.h"
@@ -359,18 +358,6 @@
     forceUpdate(); //need a total update, or slewing with the arrow keys doesn't work.
 }
 
-//DEBUG_KIO_JOB
-void SkyMap::slotJobResult( KJob *job ) {
-    KIO::StoredTransferJob *stjob = (KIO::StoredTransferJob*)job;
-
-    QPixmap pm;
-    pm.loadFromData( stjob->data() );
-
-    //DEBUG
-    kDebug() << "Pixmap: " << pm.width() << "x" << pm.height();
-
-}
-
 void SkyMap::stopTracking() {
     KStars* kstars = KStars::Instance();
     emit positionChanged( focus() );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic