diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-06-21 01:29:05 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-06-21 01:29:05 +0200 |
commit | 8e094f1119d4073e78697052397c42a90c527601 (patch) | |
tree | dc6d93eaff6c3fa8b5106520caf161fcb5606350 /src/mainwindow.h | |
parent | Working on new notify system... (diff) | |
download | rekonq-8e094f1119d4073e78697052397c42a90c527601.tar.xz |
New notify system
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index d9180b69..51bea5e5 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -41,6 +41,7 @@ class KUrl; class KAction; class KActionMenu; class KMenu; +class KPassivePopup; class HistoryMenu; class FindBar; @@ -78,6 +79,17 @@ public slots: void loadUrl(const KUrl &url); void slotUpdateBrowser(); + /** + * Notifies a message in a popup + * + * @param msg The message to notify + * + * @param status The status message + * + */ + void notifyMessage(const QString &msg, Rekonq::Notify status = Rekonq::Info); + + protected: bool queryClose(); @@ -85,7 +97,6 @@ private slots: void postLaunch(); void slotUpdateConfiguration(); void slotLoadProgress(int); - void slotUpdateStatusbar(const QString &string); void slotUpdateActions(); void slotUpdateWindowTitle(const QString &title = QString()); void slotOpenLocation(); @@ -139,6 +150,8 @@ private: QString m_lastSearch; QString m_homePage; + + QPointer<KPassivePopup> m_popup; }; #endif // MAINWINDOW_H |