summaryrefslogtreecommitdiff
path: root/src/download.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-02-24 11:50:03 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-02-24 11:50:03 +0100
commit1388bed0effca69e1fee0fb080eb035a3653f4c1 (patch)
treef9f2bdd05a1e54d6ed4fda632064a6c0f9f26fc0 /src/download.h
parentNew Icons! (diff)
downloadrekonq-1388bed0effca69e1fee0fb080eb035a3653f4c1.tar.xz
Documented API bookmarks && download classes.
Fixed load on startup
Diffstat (limited to 'src/download.h')
-rw-r--r--src/download.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/download.h b/src/download.h
index cd363d00..a3ce9d23 100644
--- a/src/download.h
+++ b/src/download.h
@@ -29,16 +29,31 @@
#include <QObject>
#include <QByteArray>
-/*
+/**
* This class lets rekonq to download an object from the network.
* 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);
+
+ /**
+ * class destructor
+ */
~Download();
private slots: