mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
refs #246 passing c++11 brace-initialized QStringList to CRuntime::logSlot
This commit is contained in:
@@ -103,8 +103,14 @@ namespace BlackCore
|
||||
bool isSlotLogForSimulatorEnabled() const { return this->m_slotLogSimulator; }
|
||||
|
||||
//! Slot logging
|
||||
//! \todo to be replace if initializer lists becomes available
|
||||
void logSlot(const char *func, const QString &p1 = "", const QString &p2 = "", const QString &p3 = "", const QString &p4 = "") const;
|
||||
//! \deprecated Use a brace-initialized QStringList
|
||||
void logSlot(const char *func, const QString ¶m, const QString &p2, const QString &p3 = "", const QString &p4 = "") const;
|
||||
|
||||
//! Slot logging
|
||||
void logSlot(const char *func, const QString ¶m = "") const;
|
||||
|
||||
//! Slot logging
|
||||
void logSlot(const char *func, const QStringList ¶ms) const;
|
||||
|
||||
//! Slot logging for bool value
|
||||
void logSlot(const char *func, bool boolValue) const;
|
||||
|
||||
Reference in New Issue
Block a user