Ref T180, formatting

This commit is contained in:
Klaus Basan
2017-11-05 02:35:08 +01:00
parent 6b3cdf52ee
commit 93a29b2b11
7 changed files with 18 additions and 16 deletions

View File

@@ -124,6 +124,10 @@ namespace BlackCore
//! Work around for audio context, #382
void fakedSetComVoiceRoom(const BlackMisc::Audio::CVoiceRoomList &requestedRooms);
//! Request a message to be displayed on console, whatever the console is
//! \note no guarantee it is really written to console
void requestDisplayOnConsole(const QString &message);
public slots:
//! Log a log message
//! \note Not pure because it can be called from the base class constructor.
@@ -192,13 +196,13 @@ namespace BlackCore
//! Remote enabled version of writing a text file
virtual bool writeToFile(const QString &fileName, const QString &content) = 0;
//! Remote enabled version of reading a text file
//! Remote enabled version of reading a text file
virtual QString readFromFile(const QString &fileName) const = 0;
//! Remote enabled version of deleting a file
//! Remote enabled version of deleting a file
virtual bool removeFile(const QString &fileName) = 0;
//! Remote enabled version of file exists
//! Remote enabled version of file exists
virtual bool existsFile(const QString &fileName) const = 0;
//! The HTML help for dot commands

View File

@@ -159,7 +159,7 @@ namespace BlackCore
if (!m_registeredApplications.contains(application))
{
m_registeredApplications.push_back(application);
emit registrationChanged();
emit this->registrationChanged();
emit this->hotkeyActionsRegistered(CInputManager::instance()->allAvailableActions(), {});
}
else

View File

@@ -372,7 +372,6 @@ namespace BlackCore
for (const CSimulatorPluginInfo &p : plugins)
{
Q_ASSERT(!p.isUnspecified());
if (p.isValid())
{
listenForSimulator(p);

View File

@@ -170,7 +170,7 @@ namespace BlackCore
// DBus
BlackMisc::CDBusServer *m_dbusServer = nullptr;
bool m_initDBusConnection = false;
bool m_initDBusConnection = false;
QDBusConnection m_dbusConnection { "default" };
// contexts: