rrenkert@566: /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik rrenkert@566: * Software engineering by Intevation GmbH rrenkert@566: * rrenkert@566: * This file is Free Software under the GNU GPL (v>=2) rrenkert@566: * and comes with ABSOLUTELY NO WARRANTY! rrenkert@566: * See LICENSE.txt for details. rrenkert@566: */ rrenkert@566: #ifndef CERTIFICATEDIFFDIALOG_H rrenkert@566: #define CERTIFICATEDIFFDIALOG_H rrenkert@566: rrenkert@566: #include rrenkert@566: #include rrenkert@566: rrenkert@566: /** rrenkert@566: * @file certificatediffdialog.h rrenkert@566: * @brief The dialog to show the changes made in the certificate list. rrenkert@566: */ rrenkert@566: rrenkert@566: class AdministratorWindow; rrenkert@566: andre@1255: /** @brief Specialized dialog for the differences in two certificate lists andre@1255: * andre@1255: * When certificates are added or removed from one list to the next andre@1255: * this dialog is intended to show the differences between the old and andre@1255: * the new list. andre@1255: */ rrenkert@566: class CertificateDiffDialog : public QDialog rrenkert@566: { rrenkert@566: Q_OBJECT rrenkert@566: public: rrenkert@566: /** @brief Create a dialog showing the changes made in the certificate list. andre@1255: * andre@1255: * This class knows enough about the parent that it uses the parent's andre@1255: * accessor functions to get at the information it should present. andre@1255: * andre@1255: * @param[in] parent A reference to the AdministratorWindow rrenkert@566: */ rrenkert@566: CertificateDiffDialog(AdministratorWindow *parent); rrenkert@566: rrenkert@566: private: andre@1255: /** @brief Create the UI elements. */ rrenkert@566: void setupGUI(); rrenkert@566: rrenkert@566: AdministratorWindow *mAdminWindow; rrenkert@566: rrenkert@566: private slots: rrenkert@566: }; rrenkert@566: rrenkert@566: #endif // CERTIFICATEDIFFDIALOG_H