QTfrontend/ui/dialog/bandialog.h
author sheepluva
Sat, 04 Jul 2020 15:31:51 +0200
changeset 15666 10bcec19045c
parent 8330 aaefa587e277
permissions -rw-r--r--
Fix pas2c breakage caused by superfluous "+"s added by 250c778463f3, d9c62f196fe0 and 92ce801d0681

#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