refs #345 Style and doxygen.

This commit is contained in:
Mathew Sutcliffe
2014-10-28 19:46:52 +00:00
parent 8f5315b846
commit 798b198d4e
78 changed files with 268 additions and 531 deletions

View File

@@ -24,7 +24,6 @@ namespace BlackMisc
class CJoystickButton : public CValueObject
{
public:
//! Properties by index
enum ColumnIndex
{
@@ -34,14 +33,11 @@ namespace BlackMisc
};
//! Default constructor
CJoystickButton() {}
CJoystickButton() = default;
//! Constructor
CJoystickButton(qint32 buttonIndex);
//! Destructor
~CJoystickButton() {}
//! \copydoc CValueObject::toQVariant
virtual QVariant toQVariant() const override
{
@@ -126,12 +122,9 @@ namespace BlackMisc
qint32 m_buttonIndex = m_invalidIndex; //!< code similar to Qt::Key
static const qint32 m_invalidIndex = -1;
};
} // class
} // BlackMisc
}
}
BLACK_DECLARE_TUPLE_CONVERSION(BlackMisc::Hardware::CJoystickButton, (o.m_buttonIndex))
Q_DECLARE_METATYPE(BlackMisc::Hardware::CJoystickButton)