26 lines
430 B
C++
26 lines
430 B
C++
#ifndef MESSAGETYPE_HPP
|
|
#define MESSAGETYPE_HPP
|
|
|
|
#include <QObject>
|
|
|
|
class MessageType : public QObject
|
|
{
|
|
Q_GADGET
|
|
public:
|
|
explicit MessageType(QObject *parent = nullptr);
|
|
MessageType(MessageType& other);
|
|
enum MsgType
|
|
{
|
|
UNKNOWN,
|
|
PRIVMSG,
|
|
};
|
|
Q_ENUM(MsgType)
|
|
MessageType(MsgType type);
|
|
void setType(MsgType type);
|
|
MsgType type() const;
|
|
|
|
signals:
|
|
};
|
|
|
|
#endif // MESSAGETYPE_HPP
|