diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-07-21 13:04:14 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-07-21 13:04:14 +0200 |
commit | 644c7c8c062228c760b490838748c5f14547ff1c (patch) | |
tree | 624769f17e4a250712776eaeb095ac3585877066 /src/history/historymanager.h | |
parent | Don't hide the bookmarks toolbar by default (diff) | |
download | rekonq-644c7c8c062228c760b490838748c5f14547ff1c.tar.xz |
Moving download history management from HistoryManager to Application class
It's actually the same, but probably a bit more coherent.
More over, we are going to change a lot of things in the HistoryManager class...
Diffstat (limited to 'src/history/historymanager.h')
-rw-r--r-- | src/history/historymanager.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/history/historymanager.h b/src/history/historymanager.h index 7b82579d..6b73cac0 100644 --- a/src/history/historymanager.h +++ b/src/history/historymanager.h @@ -84,30 +84,6 @@ public: // --------------------------------------------------------------------------------------------------------------- -class DownloadItem -{ -public: - DownloadItem() {} - explicit DownloadItem(const QString &srcUrl, - const QString &destUrl, - const QDateTime &d - ) - : srcUrlString(srcUrl) - , destUrlString(destUrl) - , dateTime(d) - {} - - QString srcUrlString; - QString destUrlString; - QDateTime dateTime; -}; - - -typedef QList<DownloadItem> DownloadList; - -// --------------------------------------------------------------------------------------------------------------- - - // Forward Declarations class AutoSaver; class HistoryModel; @@ -157,10 +133,6 @@ public: */ AwesomeUrlCompletion *completionObject() const; - void addDownload(const QString &srcUrl, const QString &destUrl); - DownloadList downloads(); - bool clearDownloadsHistory(); - public slots: void clear(); void loadSettings(); |