mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T131, added missing signature for messages
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user