view ui/listupdatedialog.h @ 89:00f9b91f4039

Do not leak a byte if the file is empty
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 20 Mar 2014 18:40:15 +0000
parents 1f27d6db5ee3
children 252ffe6e27fd
line wrap: on
line source
#ifndef LISTUPDATEDIALOG_H
#define LISTUPDATEDIALOG_H

#include "certificatelist.h"
#include <QDialog>
/**
 * @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(QDialog *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/