Mercurial > trustbridge
comparison ui/administratorwindow.h @ 457:c17c1da7108d
merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 23 Apr 2014 14:00:38 +0200 |
parents | 6dec8101793c |
children | 5200b8e9b2ae |
comparison
equal
deleted
inserted
replaced
456:37a97621b466 | 457:c17c1da7108d |
---|---|
30 Q_OBJECT | 30 Q_OBJECT |
31 | 31 |
32 public: | 32 public: |
33 AdministratorWindow(); | 33 AdministratorWindow(); |
34 | 34 |
35 /** @brief obtain a const reference to the certificate List | |
36 * @returns the current certificatelist | |
37 */ | |
38 const CertificateList& certList() const {return mCertList;} | |
39 | |
40 /** @brief get the settings for this application | |
41 * @returns a reference the applications settings object | |
42 */ | |
43 QSettings* settings() {return &mSettings;} | |
44 | |
35 private slots: | 45 private slots: |
36 void createInstaller(); | 46 void createInstaller(); |
37 void showAbout(); | 47 void showAbout(); |
38 void loadCertificateFile(); | 48 void loadCertificateFile(); |
39 void saveCertificateFile(); | 49 void saveCertificateFile(); |
46 void createMenuBar(); | 56 void createMenuBar(); |
47 void createContent(); | 57 void createContent(); |
48 void loadCertificateTable(); | 58 void loadCertificateTable(); |
49 void addToCertificateTable(const QList<Certificate> &certs); | 59 void addToCertificateTable(const QList<Certificate> &certs); |
50 | 60 |
51 QSettings settings; | 61 QSettings mSettings; |
52 | 62 |
53 QMenuBar *menuBar; | 63 QMenuBar *menuBar; |
54 | 64 |
55 QTableView *certificateView; | 65 QTableView *certificateView; |
56 CertificateList certList; | 66 CertificateList mCertList; |
57 CertificateTabelModel *certificateModel; | 67 CertificateTabelModel *certificateModel; |
58 QPushButton *saveButton; | 68 QPushButton *saveButton; |
59 QPushButton *loadButton; | 69 QPushButton *loadButton; |
60 QPushButton *addButton; | 70 QPushButton *addButton; |
61 QPushButton *removeButton; | 71 QPushButton *removeButton; |