Mercurial > trustbridge
diff ui/administratorwindow.h @ 463:5200b8e9b2ae
Rename tablemodel certificates and add accessors
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 23 Apr 2014 15:33:09 +0000 |
parents | 6dec8101793c |
children | ccdc4c6b97ce |
line wrap: on
line diff
--- a/ui/administratorwindow.h Wed Apr 23 15:32:24 2014 +0000 +++ b/ui/administratorwindow.h Wed Apr 23 15:33:09 2014 +0000 @@ -32,10 +32,12 @@ public: AdministratorWindow(); - /** @brief obtain a const reference to the certificate List - * @returns the current certificatelist + /** @brief obtain a reference to the certificates currently in the model + * @returns the currently shown certificates */ - const CertificateList& certList() const {return mCertList;} + const QList<Certificate>& certificates() const { + return certificateModel->certificates(); + } /** @brief get the settings for this application * @returns a reference the applications settings object