QTfrontend/ui/dialog/bandialog.h
author sheepluva <sheepluva@users.noreply.github.com>
Sat, 08 Nov 2014 12:19:35 +0100
changeset 10470 dae4bb274822
parent 8330 aaefa587e277
permissions -rw-r--r--
Merge pull request #13 from LocutusOfBorg/fix-license Fixed many license problems, spotted by licensecheck program

#ifndef BANDIALOG_H
#define BANDIALOG_H

#include <QDialog>

class QComboBox;
class QRadioButton;
class QLineEdit;

class BanDialog : public QDialog
{
    Q_OBJECT
public:
    explicit BanDialog(QWidget *parent = 0);

    bool byIP();
    int duration();
    QString banId();
    QString reason();

private:
    QRadioButton * rbIP;
    QRadioButton * rbNick;
    QLineEdit * leId;
    QLineEdit * leReason;
    QComboBox * cbTime;

private slots:
    void okClicked();
};

#endif // BANDIALOG_H