view ui/listupdatedialog.h @ 177:c92297bcda8f

dirent d_type is not supported on Windows, so use new port_isdir(). FWIW, according to the man page d_type isn't guarantied to work for all file systems on linux neither.
author Sascha Wilde <wilde@intevation.de>
date Tue, 25 Mar 2014 16:48:18 +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/