diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-21 11:27:17 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-21 11:27:17 +0200 |
commit | 8eac211c434358cbe536eb6f1448f1d565a5f26f (patch) | |
tree | 379776ba033cbf868d8a66d80b20359d9c19fb4c /src/application.h | |
parent | Simpler MessageBoxs handling.. (diff) | |
download | rekonq-8eac211c434358cbe536eb6f1448f1d565a5f26f.tar.xz |
Moving new download system to mainline.
I did some changes to fit things as simple as possible.
We can obviously improve things in a second moment..
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/application.h b/src/application.h index 654d554f..8393e184 100644 --- a/src/application.h +++ b/src/application.h @@ -19,8 +19,12 @@ -#ifndef REKONQ_APPLICATION_H -#define REKONQ_APPLICATION_H +#ifndef APPLICATION_H +#define APPLICATION_H + + +// Local Includes +#include "download.h" // KDE Includes #include <KUniqueApplication> @@ -31,12 +35,14 @@ #include <kio/job.h> #include <kio/jobclasses.h> + // Forward Declarations class MainWindow; class WebView; -class CookieJar; class HistoryManager; +class CookieJar; class NetworkAccessManager; +class DownloadManager; /** * @@ -56,15 +62,10 @@ public: KIcon icon(const KUrl &url) const; - /** - * This method lets you to download a file from a source remote url - * to a local destination url. - */ - void downloadUrl(const KUrl &srcUrl, const KUrl &destUrl); - static HistoryManager *historyManager(); static CookieJar *cookieJar(); static NetworkAccessManager *networkAccessManager(); + static DownloadManager *downloadManager(); private slots: @@ -77,9 +78,10 @@ private slots: private: static HistoryManager *s_historyManager; static NetworkAccessManager *s_networkAccessManager; + static DownloadManager *s_downloadManager; MainWindow* m_mainWindow; }; -#endif // REKONQ_APPLICATION_H +#endif // APPLICATION_H |