refs #485, renamed overlay messages functions

This commit is contained in:
Klaus Basan
2016-03-13 18:13:36 +00:00
committed by Mathew Sutcliffe
parent c411f07551
commit b1353cefd4
8 changed files with 45 additions and 44 deletions

View File

@@ -43,7 +43,7 @@ namespace BlackGui
COverlayMessagesFrame *mf = qobject_cast<COverlayMessagesFrame *>(parentWidget());
Q_ASSERT_X(mf, Q_FUNC_INFO, "No overlay widget");
if (!mf) { return; }
mf->showMessages(msgs);
mf->showOverlayMessages(msgs);
}
void CDbLoginComponent::ps_onLoginClicked()

View File

@@ -466,7 +466,7 @@ namespace BlackGui
if (!msgs.hasErrorMessages() && onlyErrors) { return false; }
BLACK_VERIFY_X(this->getMappingComponent(), Q_FUNC_INFO, "missing mapping component");
if (!this->getMappingComponent()) { return false; }
this->getMappingComponent()->showMessages(msgs, timeoutMs);
this->getMappingComponent()->showOverlayMessages(msgs, timeoutMs);
return true;
}
@@ -476,7 +476,7 @@ namespace BlackGui
if (!msgs.hasErrorMessages() && onlyErrors) { return false; }
BLACK_VERIFY_X(this->getMappingComponent(), Q_FUNC_INFO, "missing mapping component");
if (!this->getMappingComponent()) { return false; }
this->getMappingComponent()->showMessagesWithConfirmation(msgs, confirmation, okLambda, defaultButton, timeoutMs);
this->getMappingComponent()->showOverlayMessagesWithConfirmation(msgs, confirmation, okLambda, defaultButton, timeoutMs);
return true;
}
@@ -485,7 +485,7 @@ namespace BlackGui
if (msg.isEmpty()) { return false; }
BLACK_VERIFY_X(this->getMappingComponent(), Q_FUNC_INFO, "missing mapping component");
if (!this->getMappingComponent()) { return false; }
this->getMappingComponent()->showMessage(msg, timeoutMs);
this->getMappingComponent()->showOverlayMessage(msg, timeoutMs);
return true;
}
} // ns