mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
notifyController убрал
This commit is contained in:
@@ -45,29 +45,29 @@ SpecMsgBox::~SpecMsgBox()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
int SpecMsgBox::WarningYesNo(SpecMsgBox *msgBox, QWidget *parent, const QString &text)
|
||||
int SpecMsgBox::WarningYesNo(QWidget *parent, const QString &text)
|
||||
{
|
||||
return SpecMsgBox::work(msgBox, parent, TypeSpecMsgBox::warningYesNo, text);
|
||||
return SpecMsgBox::work(parent, TypeSpecMsgBox::warningYesNo, text);
|
||||
}
|
||||
|
||||
int SpecMsgBox::WarningClose(SpecMsgBox *msgBox, QWidget *parent, const QString &text)
|
||||
int SpecMsgBox::WarningClose(QWidget *parent, const QString &text)
|
||||
{
|
||||
return SpecMsgBox::work(msgBox, parent, TypeSpecMsgBox::warningClose, text);
|
||||
return SpecMsgBox::work(parent, TypeSpecMsgBox::warningClose, text);
|
||||
}
|
||||
|
||||
int SpecMsgBox::CriticalClose(SpecMsgBox *msgBox, QWidget *parent, const QString &text)
|
||||
int SpecMsgBox::CriticalClose(QWidget *parent, const QString &text)
|
||||
{
|
||||
return SpecMsgBox::work(msgBox, parent, TypeSpecMsgBox::criticalClose, text);
|
||||
return SpecMsgBox::work(parent, TypeSpecMsgBox::criticalClose, text);
|
||||
}
|
||||
|
||||
int SpecMsgBox::InfoOk(SpecMsgBox *msgBox, QWidget *parent, const QString &text)
|
||||
int SpecMsgBox::InfoOk(QWidget *parent, const QString &text)
|
||||
{
|
||||
return SpecMsgBox::work(msgBox, parent, TypeSpecMsgBox::infoOk, text);
|
||||
return SpecMsgBox::work(parent, TypeSpecMsgBox::infoOk, text);
|
||||
}
|
||||
|
||||
int SpecMsgBox::work(SpecMsgBox *msgBox, QWidget *parent, TypeSpecMsgBox type, const QString& text)
|
||||
int SpecMsgBox::work(QWidget *parent, TypeSpecMsgBox type, const QString& text)
|
||||
{
|
||||
msgBox = new SpecMsgBox(parent, type, text);
|
||||
SpecMsgBox *msgBox = new SpecMsgBox(parent, type, text);
|
||||
return msgBox->exec();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user