Use Q_SIGNALS instead of signals
This commit is contained in:
parent
87324ea228
commit
ea27418f5c
|
@ -96,7 +96,7 @@ public:
|
||||||
QJsonArray packageInfo(const QJsonObject &pkgSelection, PackageInfoPart part) const;
|
QJsonArray packageInfo(const QJsonObject &pkgSelection, PackageInfoPart part) const;
|
||||||
const QJsonArray &groupInfo() const;
|
const QJsonArray &groupInfo() const;
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void updatesAvailable();
|
void updatesAvailable();
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
|
|
|
@ -20,7 +20,7 @@ public:
|
||||||
bool areAllResultsAvailable() const;
|
bool areAllResultsAvailable() const;
|
||||||
Package *packageProviding(const Dependency &dependency);
|
Package *packageProviding(const Dependency &dependency);
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void resultsAvailable();
|
void resultsAvailable();
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
|
|
|
@ -15,7 +15,7 @@ public:
|
||||||
const QJsonArray &results() const;
|
const QJsonArray &results() const;
|
||||||
bool finished() const;
|
bool finished() const;
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void resultsAvailable(const QJsonValue &what, const QJsonValue &id, const QJsonValue &value);
|
void resultsAvailable(const QJsonValue &what, const QJsonValue &id, const QJsonValue &value);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -25,7 +25,7 @@ public:
|
||||||
Reply(const QList<QNetworkReply *> networkReplies);
|
Reply(const QList<QNetworkReply *> networkReplies);
|
||||||
const QString &error() const;
|
const QString &error() const;
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void resultsAvailable();
|
void resultsAvailable();
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
|
@ -281,7 +281,7 @@ public:
|
||||||
|
|
||||||
static const std::uint32_t invalidIndex = static_cast<std::uint32_t>(-1);
|
static const std::uint32_t invalidIndex = static_cast<std::uint32_t>(-1);
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
/*!
|
/*!
|
||||||
* \brief Emitted after initialization has finished.
|
* \brief Emitted after initialization has finished.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -33,7 +33,7 @@ public Q_SLOTS:
|
||||||
void printResults();
|
void printResults();
|
||||||
void resolve();
|
void resolve();
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void ready();
|
void ready();
|
||||||
void resolvingFinished();
|
void resolvingFinished();
|
||||||
void resolvingFailed(const QString &message);
|
void resolvingFailed(const QString &message);
|
||||||
|
|
|
@ -87,7 +87,7 @@ public:
|
||||||
explicit UpgradeLookupProcess(UpgradeLookup *upgradeLookup, Repository *upgradeSource);
|
explicit UpgradeLookupProcess(UpgradeLookup *upgradeLookup, Repository *upgradeSource);
|
||||||
const UpgradeLookupResults &results() const;
|
const UpgradeLookupResults &results() const;
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void finished();
|
void finished();
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
|
@ -143,7 +143,7 @@ public:
|
||||||
QJsonArray results() const;
|
QJsonArray results() const;
|
||||||
bool finished() const;
|
bool finished() const;
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void resultsAvailable(const QJsonValue &what, const QJsonValue &id, const QJsonValue &value);
|
void resultsAvailable(const QJsonValue &what, const QJsonValue &id, const QJsonValue &value);
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
|
|
|
@ -24,7 +24,7 @@ public:
|
||||||
Server(RepoIndex::Manager &alpmManager, const RepoIndex::Config &config, QObject *parent = nullptr);
|
Server(RepoIndex::Manager &alpmManager, const RepoIndex::Config &config, QObject *parent = nullptr);
|
||||||
~Server();
|
~Server();
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void closed();
|
void closed();
|
||||||
void connectionEstablished(Connection *connection);
|
void connectionEstablished(Connection *connection);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue