summaryrefslogtreecommitdiff
path: root/src/previewselectorbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-01 10:56:10 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-11 12:52:53 +0200
commite3cdb49f2aa6b84f60deabbd20945e02a48193c7 (patch)
treeeca32ed4bb33092a4d630ddbd5817039c4033ffd /src/previewselectorbar.h
parentAdd GFDL-1.2 licensing for docs (diff)
downloadrekonq-e3cdb49f2aa6b84f60deabbd20945e02a48193c7.tar.xz
Move to KMessageWidget
Port rekonq notification bars to KMessageWidget: walletbar, crash notification bar, set favorite preview bar. Remove old no more used notification bar.
Diffstat (limited to 'src/previewselectorbar.h')
-rw-r--r--src/previewselectorbar.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/previewselectorbar.h b/src/previewselectorbar.h
index 396f763f..3be750b2 100644
--- a/src/previewselectorbar.h
+++ b/src/previewselectorbar.h
@@ -28,16 +28,18 @@
#ifndef PREVIEWSELECTORBAR_H
#define PREVIEWSELECTORBAR_H
+
// Rekonq Includes
#include "rekonq_defines.h"
-#include "notificationbar.h"
+
+// KDE Includes
+#include <KMessageWidget>
// Forward Declarations
-class QLabel;
-class QPushButton;
+class QAction;
-class REKONQ_TESTS_EXPORT PreviewSelectorBar : public NotificationBar
+class REKONQ_TESTS_EXPORT PreviewSelectorBar : public KMessageWidget
{
Q_OBJECT
@@ -49,7 +51,7 @@ public:
m_previewIndex = index;
}
-private slots:
+private Q_SLOTS:
void clicked();
void loadProgress();
@@ -58,10 +60,8 @@ private slots:
void verifyUrl();
private:
- QPushButton *m_button;
- QLabel *m_label;
-
int m_previewIndex;
+ QAction *m_insertAction;
};
#endif // PREVIEWSELECTORBAR_H