refs #313 doxygen

This commit is contained in:
Roland Winklmeier
2014-08-04 21:51:58 +02:00
parent f76e0bc957
commit fed035291f
4 changed files with 11 additions and 1 deletions

View File

@@ -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:

View File

@@ -19,6 +19,7 @@
namespace BlackCore
{
//! Input manager handling hotkey function calls
class CInputManager : public QObject
{
Q_OBJECT

View File

@@ -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:

View File

@@ -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