Mercurial > trustbridge
comparison ui/administratorwindow.h @ 562:ccdc4c6b97ce
Log diff between initial certificate list and saved list to a logfile.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 22 May 2014 15:29:59 +0200 |
parents | 5200b8e9b2ae |
children | 9db7034b2d6c |
comparison
equal
deleted
inserted
replaced
561:4433f9d57f6d | 562:ccdc4c6b97ce |
---|---|
42 /** @brief get the settings for this application | 42 /** @brief get the settings for this application |
43 * @returns a reference the applications settings object | 43 * @returns a reference the applications settings object |
44 */ | 44 */ |
45 QSettings* settings() {return &mSettings;} | 45 QSettings* settings() {return &mSettings;} |
46 | 46 |
47 /** @brief log the diff between the initial certificate list and the list | |
48 * saved as current. | |
49 * | |
50 * @param currentCerts Path to the current certificate list file. | |
51 */ | |
52 void logChanges(const QString ¤tCerts); | |
53 | |
47 private slots: | 54 private slots: |
48 void createInstaller(); | 55 void createInstaller(); |
49 void showAbout(); | 56 void showAbout(); |
50 void loadCertificateFile(); | 57 void loadCertificateFile(); |
51 void saveCertificateFile(); | 58 void saveCertificateFile(); |
57 void createActions(); | 64 void createActions(); |
58 void createMenuBar(); | 65 void createMenuBar(); |
59 void createContent(); | 66 void createContent(); |
60 void loadCertificateTable(); | 67 void loadCertificateTable(); |
61 void addToCertificateTable(const QList<Certificate> &certs); | 68 void addToCertificateTable(const QList<Certificate> &certs); |
69 QByteArray createLogEntries(const CertificateList &list); | |
62 | 70 |
63 QSettings mSettings; | 71 QSettings mSettings; |
64 | 72 |
65 QMenuBar *menuBar; | 73 QMenuBar *menuBar; |
66 | 74 |