]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/dialogs/BookmarksDialog.h
Move the Settings Dialog to its own class. https://redmine.stoutner.com/issues/1151
[PrivacyBrowserPC.git] / src / dialogs / BookmarksDialog.h
index 78a48963da485afde9e6fc259e5cdccd50753e53..0df090333a48033842db0375c42522bcd1566aa4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Soren Stoutner <soren@stoutner.com>.
+ * Copyright 2023-2024 Soren Stoutner <soren@stoutner.com>.
  *
  * This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
  *
@@ -36,7 +36,7 @@ class BookmarksDialog : public QDialog
 
 public:
     // The primary constructor.
-    explicit BookmarksDialog(QString currentWebsiteTitle, QString currentWebsiteUrl, QIcon currentWebsiteFavoriteIcon);
+    BookmarksDialog(QWidget *parentWidgetPointer, QIcon currentWebsiteFavorieIcon, QString currentWebsiteTitle, QString currentWebsiteUrl);
 
     // The public constants.
     static const int NAME_COLUMN = 0;
@@ -54,8 +54,8 @@ private Q_SLOTS:
     // The private slots.
     void deleteItems() const;
     void refreshBookmarks() const;
-    void showAddBookmarkDialog() const;
-    void showAddFolderDialog() const;
+    void showAddBookmarkDialog();
+    void showAddFolderDialog();
     void showEditDialog();
     void updateBookmarkFromTree(QStandardItem *modifiedStandardItem);
     void updateSelection() const;