refs #240, removed outdated method

This commit is contained in:
Klaus Basan
2014-05-20 20:57:21 +02:00
parent 444aec4c8a
commit ff8d62d8c8
2 changed files with 0 additions and 27 deletions

View File

@@ -46,23 +46,6 @@ namespace BlackCore
Q_UNUSED(s);
}
/*
* Logging
*/
void CContextNetworkProxy::log(const QString &method, const QString &m1, const QString &m2, const QString &m3, const QString &m4) const
{
if (m1.isEmpty())
qDebug() << " LOG: " << method;
else if (m2.isEmpty())
qDebug() << " LOG: " << method << m1;
else if (m3.isEmpty())
qDebug() << " LOG: " << method << m1 << m2;
else if (m4.isEmpty())
qDebug() << " LOG: " << method << m1 << m2 << m3;
else
qDebug() << " LOG: " << method << m1 << m2 << m3 << m4;
}
void CContextNetworkProxy::readAtcBookingsFromSource() const
{
this->m_dBusInterface->callDBus(QLatin1Literal("readAtcBookingsFromSource"));

View File

@@ -44,16 +44,6 @@ namespace BlackCore
//! \brief DBus version constructor
CContextNetworkProxy(const QString &serviceName, QDBusConnection &connection, CRuntimeConfig::ContextMode mode, CRuntime *runtime);
/*!
* \brief Helper for logging, likely to be removed / changed
* \param method
* \param m1
* \param m2
* \param m3
* \param m4
*/
void log(const QString &method, const QString &m1 = "", const QString &m2 = "", const QString &m3 = "", const QString &m4 = "") const;
public slots: // IContextNetwork overrides
//! \copydoc IContextNetwork::readAtcBookingsFromSource()