comparison 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
comparison
equal deleted inserted replaced
462:091ad56c2715 463:5200b8e9b2ae
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 35 /** @brief obtain a reference to the certificates currently in the model
36 * @returns the current certificatelist 36 * @returns the currently shown certificates
37 */ 37 */
38 const CertificateList& certList() const {return mCertList;} 38 const QList<Certificate>& certificates() const {
39 return certificateModel->certificates();
40 }
39 41
40 /** @brief get the settings for this application 42 /** @brief get the settings for this application
41 * @returns a reference the applications settings object 43 * @returns a reference the applications settings object
42 */ 44 */
43 QSettings* settings() {return &mSettings;} 45 QSettings* settings() {return &mSettings;}

http://wald.intevation.org/projects/trustbridge/