Mercurial > trustbridge
view ui/listupdatedialog.h @ 285:f23e0ccd5d14
Fix call to windows process.
This now uses the correct parameters, emits the signals
correctly as errors and waits for the process to finish instead
of relying on NOASYNC which did not work for runas and also
made it impossible to get the return code
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 13:45:57 +0000 |
parents | 06089ba2614a |
children |
line wrap: on
line source
#ifndef LISTUPDATEDIALOG_H #define LISTUPDATEDIALOG_H #include "certificatelist.h" #include <QDialog> #include <QMainWindow> #include <QTextEdit> #include <QListWidgetItem> /** * @file listupdatedialog.h * @brief The dialog for certificate selection. */ class QListWidget; class ListUpdateDialog : public QDialog { Q_OBJECT public: /** @brief Create a list update dialog for the listToInstall */ ListUpdateDialog(QMainWindow *parent, const CertificateList &listToInstall); private: CertificateList mCertificateList; void setupGUI(); QListWidget *mCertListWidget; QTextEdit *mDetailWidget; private slots: void installerError(const QString& errMsg); void executeUpdate(); void showDetails(QListWidgetItem*); }; #endif // LISTUPDATEDIALOG_H