refs #937 Resolved clazy warnings: Q_ENUMS is deprecated.

This commit is contained in:
Mathew Sutcliffe
2017-04-15 01:30:18 +01:00
parent a8302b310e
commit 045b149164
4 changed files with 6 additions and 6 deletions

View File

@@ -55,7 +55,6 @@ namespace BlackCore
class BLACKCORE_EXPORT INetwork : public QObject
{
Q_OBJECT
Q_ENUMS(ConnectionStatus)
protected:
/*!
@@ -103,6 +102,7 @@ namespace BlackCore
Connecting, //!< Connection initiated but not established
Connected //!< Connection established
};
Q_ENUM(ConnectionStatus)
/*!
* Convert a ConnectionStatus to a string.

View File

@@ -26,7 +26,6 @@ namespace BlackCore
class BLACKCORE_EXPORT IVoiceChannel : public QObject
{
Q_OBJECT
Q_ENUMS(ConnectionStatus)
public:
//! Com status
@@ -39,6 +38,7 @@ namespace BlackCore
Connected, //!< Connection established
ConnectingFailed //!< Failed to connect
};
Q_ENUM(ConnectionStatus)
//! Constructor
IVoiceChannel(QObject *parent = nullptr) : QObject(parent) {}