~ubuntu-branches/ubuntu/trusty/bibletime/trusty

« back to all changes in this revision

Viewing changes to src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Marsden
  • Date: 2009-11-18 17:30:00 UTC
  • mfrom: (1.3.4 upstream) (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091118173000-endkhjz5qai88tvr
Tags: 2.4-1
* New upstream version 2.4
* debian/control: 
  - Replace incorrect bibletime-data Depends on lib4qt-gui
    with bibletime Depends on libqtgui4 (>= 4.4.0). (Closes: #556209).
  - Add Build-depends: on zlib1g-dev and libcurl4-gnutls-dev 
    (Closes: #556805).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
#include <QDialog>
14
14
 
 
15
 
15
16
class QPushButton;
16
17
class QTreeWidget;
17
 
 
18
 
 
19
 
class BtInstallPathDialog : public QDialog
20
 
{
21
 
        Q_OBJECT
22
 
public:
23
 
        BtInstallPathDialog();
24
 
 
25
 
public slots:
26
 
        virtual void accept();
27
 
 
28
 
private slots:
29
 
        void slotAddClicked();
30
 
        void slotRemoveClicked();
31
 
        void slotEditClicked();
32
 
 
33
 
private:
34
 
        void writeSwordConfig();
35
 
 
36
 
private:
37
 
        QPushButton* m_editButton;
38
 
        QPushButton* m_addButton;
39
 
        QPushButton* m_removeButton;
40
 
        QTreeWidget* m_swordPathListBox;
41
 
 
 
18
class QTreeWidgetItem;
 
19
 
 
20
class BtInstallPathDialog : public QDialog {
 
21
        Q_OBJECT
 
22
    public:
 
23
        BtInstallPathDialog();
 
24
        ~BtInstallPathDialog();
 
25
 
 
26
    public slots:
 
27
        virtual void accept();
 
28
 
 
29
    private slots:
 
30
        void slotAddClicked();
 
31
        void slotRemoveClicked();
 
32
        void slotEditClicked();
 
33
 
 
34
    private:
 
35
        void writeSwordConfig();
 
36
        void updateTopLevelItems();
 
37
        void addPathToList(QString path);
 
38
 
 
39
    private:
 
40
        QPushButton* m_editButton;
 
41
        QPushButton* m_addButton;
 
42
        QPushButton* m_removeButton;
 
43
        QTreeWidget* m_swordPathListBox;
 
44
        QTreeWidgetItem* m_writableItem;
 
45
        QTreeWidgetItem* m_readableItem;
 
46
        QTreeWidgetItem* m_nonexistingItem;
42
47
};
43
48
 
44
49
#endif