summaryrefslogtreecommitdiff
path: root/src/download.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-28 15:53:26 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-28 15:53:26 +0100
commita934072cf9695e46e793898102590322f43c0733 (patch)
tree6f04f558aec622c4b044fccbe1481db933f8901e /src/download.h
parentscripts (diff)
downloadrekonq-a934072cf9695e46e793898102590322f43c0733.tar.xz
astyle. First round..
Diffstat (limited to 'src/download.h')
-rw-r--r--src/download.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/download.h b/src/download.h
index a905e1ae..fe415c0b 100644
--- a/src/download.h
+++ b/src/download.h
@@ -31,41 +31,41 @@
/**
* This class lets rekonq to download an object from the network.
- * Creating a new object, you can continue downloading a file also
+ * Creating a new object, you can continue downloading a file also
* when rekonq is closed.
*
- */
+ */
class Download : public QObject
{
Q_OBJECT
- public:
- /**
- * Class constructor. This is the unique method we need to
- * use this class. In fact Download class needs to know just
- * "where" catch the file to download and where it has to put it
- *
- * @param srcUrl the source url
- *
- * @param destUrl the destination url
- *
- */
- Download(const KUrl &srcUrl, const KUrl &destUrl);
+public:
+ /**
+ * Class constructor. This is the unique method we need to
+ * use this class. In fact Download class needs to know just
+ * "where" catch the file to download and where it has to put it
+ *
+ * @param srcUrl the source url
+ *
+ * @param destUrl the destination url
+ *
+ */
+ Download(const KUrl &srcUrl, const KUrl &destUrl);
- /**
- * class destructor
- */
- ~Download();
+ /**
+ * class destructor
+ */
+ ~Download();
- private slots:
- void slotResult(KJob * job);
- void slotData(KIO::Job *job, const QByteArray& data);
+private slots:
+ void slotResult(KJob * job);
+ void slotData(KIO::Job *job, const QByteArray& data);
- private:
- KIO::TransferJob *m_copyJob;
- KUrl m_srcUrl;
- KUrl m_destUrl;
- KUrl m_destFile;
- QByteArray m_data;
+private:
+ KIO::TransferJob *m_copyJob;
+ KUrl m_srcUrl;
+ KUrl m_destUrl;
+ KUrl m_destFile;
+ QByteArray m_data;
};
#endif