#ifndef BOOKOPTIONSDIALOG_H #define BOOKOPTIONSDIALOG_H #include #include namespace Ui { class bookOptionsDialog; } class bookOptionsDialog : public QDialog { Q_OBJECT public: QString className = this->metaObject()->className(); explicit bookOptionsDialog(QWidget *parent = nullptr); ~bookOptionsDialog(); QString bookPath; bool bookPinned; private slots: void on_pinBtn_clicked(); void on_deleteBtn_clicked(); void on_infoBtn_clicked(); void pinBook(int bookID); void unpinBook(int bookID); bool isBookPinned(int bookID); signals: void openLocalBookInfoDialog(); void showToast(QString messageToDisplay); private: Ui::bookOptionsDialog *ui; }; #endif // BOOKOPTIONSDIALOG_H