Fix qdoc macro issue
This commit is contained in:
parent
83799d9289
commit
2dea4225e4
@ -27,4 +27,4 @@ sourcedirs = ../libnymea-gpio
|
|||||||
headers.fileextensions = "*.h"
|
headers.fileextensions = "*.h"
|
||||||
sources.fileextensions = "*.cpp"
|
sources.fileextensions = "*.cpp"
|
||||||
|
|
||||||
Cpp.ignoredirectives = Q_DECLARE_METATYPE Q_DECLARE_LOGGING_CATEGORY Q_LOGGING_CATEGORY
|
Cpp.ignoredirectives = Q_DECLARE_METATYPE Q_DECLARE_LOGGING_CATEGORY Q_LOGGING_CATEGORY Q_ENUM
|
||||||
|
|||||||
@ -74,7 +74,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*! \enum Gpio::Direction
|
/*!
|
||||||
|
\enum Gpio::Direction
|
||||||
This enum type specifies the dirction a Gpio.
|
This enum type specifies the dirction a Gpio.
|
||||||
|
|
||||||
\value DirectionInput
|
\value DirectionInput
|
||||||
@ -85,19 +86,21 @@
|
|||||||
The direction is not valid.
|
The direction is not valid.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \enum Gpio::Value
|
/*!
|
||||||
|
\enum Gpio::Value
|
||||||
This enum type specifies the value a Gpio.
|
This enum type specifies the value a Gpio.
|
||||||
|
|
||||||
|
\value ValueInvalid
|
||||||
|
The value is not valid.
|
||||||
\value ValueLow
|
\value ValueLow
|
||||||
The Gpio is low.
|
The Gpio is low.
|
||||||
\value ValueHigh
|
\value ValueHigh
|
||||||
The Gpio is high.
|
The Gpio is high.
|
||||||
\value ValueInvalid
|
|
||||||
The value is not valid.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
/*! \enum Gpio::Edge
|
\enum Gpio::Edge
|
||||||
This enum type specifies the edge interrupt type of a Gpio.
|
This enum type specifies the edge interrupt type of a Gpio.
|
||||||
|
|
||||||
\value EdgeFalling
|
\value EdgeFalling
|
||||||
@ -357,8 +360,7 @@ bool Gpio::activeLow()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! Returns true if the \a edge of this GPIO could be set correctly. The \a edge parameter specifies,
|
/*! Returns true if the \a edge of this GPIO could be set correctly. The \a edge parameter specifies, when an interrupt occurs. */
|
||||||
* when an interrupt occurs. */
|
|
||||||
bool Gpio::setEdgeInterrupt(Gpio::Edge edge)
|
bool Gpio::setEdgeInterrupt(Gpio::Edge edge)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||||
|
|
||||||
#include "gpiobutton.h"
|
#include "gpiobutton.h"
|
||||||
|
#include "gpiomonitor.h"
|
||||||
|
|
||||||
GpioButton::GpioButton(int gpioNumber, QObject *parent) :
|
GpioButton::GpioButton(int gpioNumber, QObject *parent) :
|
||||||
QObject(parent),
|
QObject(parent),
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
#include "gpiomonitor.h"
|
class GpioMonitor;
|
||||||
|
|
||||||
class GpioButton : public QObject
|
class GpioButton : public QObject
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user