diff options
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/src/application.h b/src/application.h index 26f5cf74..8afb956f 100644 --- a/src/application.h +++ b/src/application.h @@ -33,36 +33,28 @@ // Rekonq Includes #include "rekonq_defines.h" -#include "opensearchmanager.h" - // KDE Includes #include <KUniqueApplication> -#include <KIcon> -#include <ThreadWeaver/Job> // Qt Includes -#include <QWeakPointer> -#include <QList> +#include <QtCore/QDateTime> +#include <QtCore/QWeakPointer> // Forward Declarations -class KIcon; -class KUrl; +class AdBlockManager; class BookmarkProvider; +class DownloadItem; class HistoryManager; +class IconManager; class MainWindow; +class OpenSearchManager; class SessionManager; -class AdBlockManager; -class IconManager; -class WebView; - - -typedef QList< QWeakPointer<MainWindow> > MainWindowList; - -// --------------------------------------------------------------------------------------------------------------- +namespace ThreadWeaver {class Job;} -#include <QDateTime> +typedef QList< QWeakPointer<MainWindow> > MainWindowList; +typedef QList<DownloadItem> DownloadList; class DownloadItem @@ -84,13 +76,9 @@ public: }; -typedef QList<DownloadItem> DownloadList; - - // --------------------------------------------------------------------------------------------------------------- - /** * */ @@ -114,7 +102,7 @@ public: static AdBlockManager *adblockManager(); static OpenSearchManager *opensearchManager(); static IconManager *iconManager(); - + // DOWNLOADS MANAGEMENT METHODS void addDownload(const QString &srcUrl, const QString &destUrl); DownloadList downloads(); @@ -153,7 +141,7 @@ private: static QWeakPointer<AdBlockManager> s_adblockManager; static QWeakPointer<OpenSearchManager> s_opensearchManager; static QWeakPointer<IconManager> s_iconManager; - + MainWindowList m_mainWindows; }; |