mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Ref T180, formatting
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -372,7 +372,6 @@ namespace BlackCore
|
||||
for (const CSimulatorPluginInfo &p : plugins)
|
||||
{
|
||||
Q_ASSERT(!p.isUnspecified());
|
||||
|
||||
if (p.isValid())
|
||||
{
|
||||
listenForSimulator(p);
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user