Ref T131, added missing signature for messages

This commit is contained in:
Klaus Basan
2018-03-02 03:02:58 +01:00
parent 6192aeb77c
commit 67d3621dfe
2 changed files with 10 additions and 1 deletions

View File

@@ -419,6 +419,14 @@ namespace BlackGui
return m->displayInOverlayWindow(message, timeOutMs);
}
bool CGuiApplication::displayInOverlayWindow(const CStatusMessageList &messages, int timeOutMs)
{
IMainWindowAccess *m = mainWindowAccess();
BLACK_VERIFY_X(m, Q_FUNC_INFO, "No access interface");
if (!m) { return false; }
return m->displayInOverlayWindow(messages, timeOutMs);
}
bool CGuiApplication::displayTextInConsole(const QString &text)
{
IMainWindowAccess *m = mainWindowAccess();

View File

@@ -127,8 +127,9 @@ namespace BlackGui
//! \name direct access to main application window
//! @{
virtual bool displayInStatusBar(const BlackMisc::CStatusMessage &message) override;
virtual bool displayInOverlayWindow(const BlackMisc::CStatusMessage &message, int timeOutMs = -1) override;
virtual bool displayTextInConsole(const QString &text) override;
virtual bool displayInOverlayWindow(const BlackMisc::CStatusMessage &message, int timeOutMs = -1) override;
virtual bool displayInOverlayWindow(const BlackMisc::CStatusMessageList &messages, int timeOutMs = -1) override;
//! @}
//! Add menu items for settings and cache