Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Modify header to use the Qt signal and slot macros #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions QPubNub.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class QPubNub : public QObject {
Q_PROPERTY(bool resumeOnReconnect MEMBER m_resumeOnReconnect)
Q_PROPERTY(QString origin MEMBER m_origin RESET resetOrigin)
Q_PROPERTY(bool ssl MEMBER m_ssl)
signals:
Q_SIGNALS:
void connected();
void error(QString message, const int code) const;
void message(QJsonValue value, QString timeToke, QString channel);
Expand Down Expand Up @@ -150,7 +150,7 @@ class QPubNub : public QObject {
void connectNotify(const QMetaMethod& signal);
void disconnectNotify(const QMetaMethod& signal);

private slots:
private Q_SLOTS:
void onTimeFinished();
void publishFinished();
void onSubscribeReadyRead();
Expand Down