view ui/listupdatedialog.h @ 204:825b42da1855

Avoid printing an error when an empty certificate ist constructed
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 26 Mar 2014 13:32:47 +0100
parents 252ffe6e27fd
children 3ebebd055d3a
line wrap: on
line source
#ifndef LISTUPDATEDIALOG_H
#define LISTUPDATEDIALOG_H

#include "certificatelist.h"
#include <QDialog>
#include <QMainWindow>
/**
 * @file listupdatedialog.h
 * @brief The dialog for certificate selection.
 */

class QListWidget;

class ListUpdateDialog : public QDialog
{
public:
    /** @brief Create a list update dialog for the listToInstall */
    ListUpdateDialog(QMainWindow *parent, const CertificateList &listToInstall);

private:
    CertificateList mCertificateList;
    void setupGUI();

    QListWidget *mInstallListWidget;
    QListWidget *mRemoveListWidget;

private slots:
    void executeUpdate();
};

#endif // LISTUPDATEDIALOG_H

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