aheinecke@71: #ifndef LISTUPDATEDIALOG_H aheinecke@71: #define LISTUPDATEDIALOG_H aheinecke@71: aheinecke@71: #include "certificatelist.h" aheinecke@71: #include rrenkert@153: #include rrenkert@213: #include rrenkert@213: #include aheinecke@71: /** aheinecke@71: * @file listupdatedialog.h aheinecke@71: * @brief The dialog for certificate selection. aheinecke@71: */ aheinecke@71: aheinecke@82: class QListWidget; aheinecke@82: aheinecke@71: class ListUpdateDialog : public QDialog aheinecke@71: { rrenkert@213: Q_OBJECT aheinecke@71: public: aheinecke@71: /** @brief Create a list update dialog for the listToInstall */ rrenkert@153: ListUpdateDialog(QMainWindow *parent, const CertificateList &listToInstall); aheinecke@71: aheinecke@71: private: aheinecke@71: CertificateList mCertificateList; aheinecke@71: void setupGUI(); aheinecke@82: rrenkert@213: QListWidget *mCertListWidget; rrenkert@213: QTextEdit *mDetailWidget; aheinecke@82: aheinecke@82: private slots: aheinecke@257: void installerError(const QString& errMsg); aheinecke@82: void executeUpdate(); rrenkert@213: void showDetails(QListWidgetItem*); aheinecke@71: }; aheinecke@71: aheinecke@71: #endif // LISTUPDATEDIALOG_H