diff options
Diffstat (limited to 'src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h')
-rw-r--r-- | src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h b/src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h index b2f18a1..e72da3c 100644 --- a/src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h +++ b/src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h @@ -12,14 +12,16 @@ #include <QDialog> + class QPushButton; class QTreeWidget; - +class QTreeWidgetItem; class BtInstallPathDialog : public QDialog { Q_OBJECT public: BtInstallPathDialog(); + ~BtInstallPathDialog(); public slots: virtual void accept(); @@ -31,13 +33,17 @@ class BtInstallPathDialog : public QDialog { private: void writeSwordConfig(); + void updateTopLevelItems(); + void addPathToList(QString path); private: QPushButton* m_editButton; QPushButton* m_addButton; QPushButton* m_removeButton; QTreeWidget* m_swordPathListBox; - + QTreeWidgetItem* m_writableItem; + QTreeWidgetItem* m_readableItem; + QTreeWidgetItem* m_nonexistingItem; }; #endif |