equal
deleted
inserted
replaced
49 hbox->addWidget(btnOk); |
49 hbox->addWidget(btnOk); |
50 hbox->addWidget(btnCancel); |
50 hbox->addWidget(btnCancel); |
51 |
51 |
52 connect(btnOk, SIGNAL(clicked()), this, SLOT(okClicked())); |
52 connect(btnOk, SIGNAL(clicked()), this, SLOT(okClicked())); |
53 connect(btnCancel, SIGNAL(clicked()), this, SLOT(reject())); |
53 connect(btnCancel, SIGNAL(clicked()), this, SLOT(reject())); |
|
54 |
|
55 this->setWindowModality(Qt::WindowModal); |
54 } |
56 } |
55 |
57 |
56 bool BanDialog::byIP() |
58 bool BanDialog::byIP() |
57 { |
59 { |
58 return rbIP->isChecked(); |
60 return rbIP->isChecked(); |