mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #313 doxygen
This commit is contained in:
@@ -150,7 +150,7 @@ namespace BlackCore
|
||||
//! Remote enabled version of file exists
|
||||
virtual bool existsFile(const QString &fileName) = 0;
|
||||
|
||||
|
||||
//! Change settings
|
||||
void changeSettings(uint typeValue);
|
||||
|
||||
private:
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
//! Input manager handling hotkey function calls
|
||||
class CInputManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace BlackInput
|
||||
//! Destructor
|
||||
virtual ~IKeyboard() {}
|
||||
|
||||
//! Set the list of keys to monitor
|
||||
virtual void setKeysToMonitor(const BlackMisc::Hardware::CKeyboardKeyList &keylist) = 0;
|
||||
|
||||
/*!
|
||||
@@ -76,7 +77,10 @@ namespace BlackInput
|
||||
*/
|
||||
void keySelectionFinished(BlackMisc::Hardware::CKeyboardKey key);
|
||||
|
||||
//! Key down
|
||||
void keyDown(const BlackMisc::Hardware::CKeyboardKey &);
|
||||
|
||||
//! Key up
|
||||
void keyUp(const BlackMisc::Hardware::CKeyboardKey &);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -93,14 +93,19 @@ namespace BlackMisc
|
||||
//! Set object
|
||||
void setObject(const CSettingKeyboardHotkey &obj);
|
||||
|
||||
//! Cleanup key
|
||||
void cleanup() { m_key.cleanup(); }
|
||||
|
||||
//! Get modifier1 as string
|
||||
QString getModifier1AsString() const { return m_key.getModifier1AsString(); }
|
||||
|
||||
//! Get modifier2 as string
|
||||
QString getModifier2AsString() const { return m_key.getModifier1AsString(); }
|
||||
|
||||
//! Modifiers
|
||||
static QStringList modifiers() { return Hardware::CKeyboardKey::modifiers(); }
|
||||
|
||||
//! Create string representation
|
||||
static QString toStringRepresentation(int key) { return Hardware::CKeyboardKey::toStringRepresentation(key); }
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
|
||||
Reference in New Issue
Block a user