summaryrefslogtreecommitdiffstats
path: root/krusader/BookMan/krbookmarkbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'krusader/BookMan/krbookmarkbutton.h')
-rw-r--r--krusader/BookMan/krbookmarkbutton.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/krusader/BookMan/krbookmarkbutton.h b/krusader/BookMan/krbookmarkbutton.h
new file mode 100644
index 0000000..1267871
--- /dev/null
+++ b/krusader/BookMan/krbookmarkbutton.h
@@ -0,0 +1,23 @@
+#ifndef KRBOOKMARK_BUTTON_H
+#define KRBOOKMARK_BUTTON_H
+
+#include <qtoolbutton.h>
+#include "krbookmarkhandler.h"
+
+class KrBookmarkButton: public QToolButton {
+ Q_OBJECT
+public:
+ KrBookmarkButton(QWidget *parent);
+ void openPopup();
+
+signals:
+ void openUrl(const KURL &url);
+
+protected slots:
+ void populate();
+
+private:
+ KActionMenu *acmBookmarks;
+};
+
+#endif // KRBOOKMARK_BUTTON_H