Mercurial > trustbridge
diff 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 |
line wrap: on
line diff
--- a/ui/administratorwindow.h Wed Apr 23 14:00:10 2014 +0200 +++ b/ui/administratorwindow.h Wed Apr 23 14:00:38 2014 +0200 @@ -32,6 +32,16 @@ public: AdministratorWindow(); + /** @brief obtain a const reference to the certificate List + * @returns the current certificatelist + */ + const CertificateList& certList() const {return mCertList;} + + /** @brief get the settings for this application + * @returns a reference the applications settings object + */ + QSettings* settings() {return &mSettings;} + private slots: void createInstaller(); void showAbout(); @@ -48,12 +58,12 @@ void loadCertificateTable(); void addToCertificateTable(const QList<Certificate> &certs); - QSettings settings; + QSettings mSettings; QMenuBar *menuBar; QTableView *certificateView; - CertificateList certList; + CertificateList mCertList; CertificateTabelModel *certificateModel; QPushButton *saveButton; QPushButton *loadButton;