author | dag10 <gottlieb.drew@gmail.com> |
Sat, 19 Jan 2013 17:33:10 -0500 | |
changeset 8405 | becac012d502 |
parent 8157 | 695f1eef72c8 |
child 8330 | aaefa587e277 |
permissions | -rw-r--r-- |
8157 | 1 |
#ifndef BANDIALOG_H |
2 |
#define BANDIALOG_H |
|
3 |
||
4 |
#include <QDialog> |
|
5 |
||
6 |
class QComboBox; |
|
7 |
class QRadioButton; |
|
8 |
class QLineEdit; |
|
9 |
||
10 |
class BanDialog : public QDialog |
|
11 |
{ |
|
12 |
Q_OBJECT |
|
13 |
public: |
|
14 |
explicit BanDialog(QWidget *parent = 0); |
|
15 |
||
16 |
bool byIP(); |
|
17 |
int duration(); |
|
18 |
QString banId(); |
|
19 |
QString reason(); |
|
20 |
||
21 |
private: |
|
22 |
QRadioButton * rbIP; |
|
23 |
QRadioButton * rbNick; |
|
24 |
QLineEdit * leId; |
|
25 |
QLineEdit * leReason; |
|
26 |
QComboBox * cbTime; |
|
27 |
||
28 |
private slots: |
|
29 |
void okClicked(); |
|
30 |
}; |
|
31 |
||
32 |
#endif // BANDIALOG_H |