summaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-05 00:29:13 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-05 00:29:13 +0100
commitc328e203e0d84177a0028d8ba5b0af4b82c16eeb (patch)
treee6b38cc023c1920a6b2bab87a36ac5932a534ad5 /src/application.h
parentMerge commit 'refs/merge-requests/85' of git://gitorious.org/rekonq/mainline (diff)
downloadrekonq-c328e203e0d84177a0028d8ba5b0af4b82c16eeb.tar.xz
QPointers --> QWeakPointers
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/application.h b/src/application.h
index 4b951ded..0c3bd3f5 100644
--- a/src/application.h
+++ b/src/application.h
@@ -38,7 +38,7 @@
#include <ThreadWeaver/Job>
// Qt Includes
-#include <QPointer>
+#include <QWeakPointer>
#include <QList>
// Forward Declarations
@@ -52,7 +52,7 @@ class AdBlockManager;
class WebView;
-typedef QList< QPointer<MainWindow> > MainWindowList;
+typedef QList< QWeakPointer<MainWindow> > MainWindowList;
namespace Rekonq
@@ -139,10 +139,10 @@ private slots:
void loadResolvedUrl(ThreadWeaver::Job *);
private:
- static QPointer<HistoryManager> s_historyManager;
- static QPointer<BookmarkProvider> s_bookmarkProvider;
- static QPointer<SessionManager> s_sessionManager;
- static QPointer<AdBlockManager> s_adblockManager;
+ static QWeakPointer<HistoryManager> s_historyManager;
+ static QWeakPointer<BookmarkProvider> s_bookmarkProvider;
+ static QWeakPointer<SessionManager> s_sessionManager;
+ static QWeakPointer<AdBlockManager> s_adblockManager;
MainWindowList m_mainWindows;
};