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

List:       kde-commits
Subject:    KDE/kdelibs/kio/kio
From:       David Faure <faure () kde ! org>
Date:       2007-01-10 9:58:17
Message-ID: 1168423097.127233.19368.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 622012 by dfaure:

Move mimetype() up from MimetypeJob to TransferJob, so that kmail doesn't have to do \
a nasty downcast of a TransferJob to MimetypeJob to get hold of it.


 M  +7 -7      jobclasses.h  


--- trunk/KDE/kdelibs/kio/kio/jobclasses.h #622011:622012
@@ -771,6 +771,13 @@
          */
         bool reportDataSent();
 
+        /**
+         * Call this in the slot connected to result,
+         * and only after making sure no error happened.
+	 * @return the mimetype of the URL
+         */
+         QString mimetype() const { return m_mimetype; }
+
     Q_SIGNALS:
         /**
          * Data from the slave has arrived.
@@ -1026,13 +1033,6 @@
         MimetypeJob(const KUrl& url, int command, const QByteArray &packedArgs, bool \
showProgressInfo);  
         /**
-         * Call this in the slot connected to result,
-         * and only after making sure no error happened.
-	 * @return the mimetype of the URL
-         */
-         QString mimetype() const { return m_mimetype; }
-
-        /**
 	 * @internal
          * Called by the scheduler when a slave gets to
          * work on this job.


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

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