aboutsummaryrefslogtreecommitdiff
path: root/src/forms/bookmarksdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/forms/bookmarksdialog.h')
-rw-r--r--src/forms/bookmarksdialog.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/forms/bookmarksdialog.h b/src/forms/bookmarksdialog.h
index b01fc8b..e2387d7 100644
--- a/src/forms/bookmarksdialog.h
+++ b/src/forms/bookmarksdialog.h
@@ -28,15 +28,27 @@ namespace Ui {
class BookmarksDialog;
}
+class MainWindow;
class BookmarksDialog : public QDialog
{
Q_OBJECT
public:
- explicit BookmarksDialog(QWidget *parent = 0);
+ explicit BookmarksDialog(MainWindow *parent = 0);
~BookmarksDialog();
+public slots:
+ // void addFolder(const QString &title);
+ // void addBookmark(const QString &title, const QString &href);
+ // void addSeparator();
+ void deleteCurrentItem();
+
+private slots:
+ void openItem(QTreeWidgetItem *item, int column);
+ void showItemDetails();
+
private:
+ MainWindow *parentWindow;
Ui::BookmarksDialog *ui;
Xbel *xbel;
};