mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
refs #912, icon and identifier for PTT hotkey as static functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
422e6626c8
commit
08f6f3f81c
@@ -65,18 +65,16 @@ namespace BlackCore
|
||||
|
||||
public:
|
||||
//! Interface name
|
||||
static const QString &InterfaceName()
|
||||
{
|
||||
static QString s(BLACKCORE_CONTEXTAUDIO_INTERFACENAME);
|
||||
return s;
|
||||
}
|
||||
static const QString &InterfaceName();
|
||||
|
||||
//! Object path
|
||||
static const QString &ObjectPath()
|
||||
{
|
||||
static QString s(BLACKCORE_CONTEXTAUDIO_OBJECTPATH);
|
||||
return s;
|
||||
}
|
||||
static const QString &ObjectPath();
|
||||
|
||||
//! Hotkey identifier for PTT (push to talk)
|
||||
static const QString &pttHotkeyAction();
|
||||
|
||||
//! Hotkey icon for PTT (push to talk)
|
||||
static const QPixmap &pttHotkeyIcon();
|
||||
|
||||
//! \copydoc CContext::getPathAndContextId()
|
||||
virtual QString getPathAndContextId() const { return this->buildPathAndContextId(ObjectPath()); }
|
||||
|
||||
Reference in New Issue
Block a user