refs #316 Removed old statusMessage signals and sendStatusMessage slots.

This commit is contained in:
Mathew Sutcliffe
2014-09-25 21:43:40 +01:00
parent b1c74d81e5
commit aef7135e28
15 changed files with 0 additions and 135 deletions

View File

@@ -159,18 +159,6 @@ namespace BlackCore
Q_ASSERT(c);
}
// only if application runs locally
if (this->m_contextApplication && this->m_contextApplication->usingLocalObjects())
{
c = connect(this->m_contextApplication, &IContextApplication::statusMessage,
this->getCContextSimulator(), &CContextSimulator::ps_statusMessageReceived);
Q_ASSERT(c);
c = connect(this->m_contextApplication, &IContextApplication::statusMessages,
this->getCContextSimulator(), &CContextSimulator::ps_statusMessagesReceived);
Q_ASSERT(c);
}
// connect local simulator and settings and load plugin
if (this->m_contextSettings)
{
@@ -258,18 +246,6 @@ namespace BlackCore
}
}
void CRuntime::sendStatusMessage(const CStatusMessage &message)
{
if (!this->getIContextApplication()) return;
this->getIContextApplication()->sendStatusMessage(message);
}
void CRuntime::sendStatusMessages(const CStatusMessageList &messages)
{
if (!this->getIContextApplication()) return;
this->getIContextApplication()->sendStatusMessages(messages);
}
void CRuntime::initDBusConnection(const QString &address)
{
if (this->m_initDBusConnection) return;