Commit f5bdd435 authored by Luca Giambonini's avatar Luca Giambonini

slots: -> Q_SLOTS:

signals: -> Q_SIGNALS:
parent 9b72e115
......@@ -145,7 +145,7 @@ class PackageEventLoop : public QEventLoop
QList<Akabei::Package*> result() const;
public slots:
public Q_SLOTS:
void requestQuit(const QUuid &uuid, const QList<Akabei::Package*> &result);
private:
......
......@@ -84,7 +84,7 @@ public:
*/
ProcessingOptions processingOptions() const;
public slots:
public Q_SLOTS:
/**
* Validates the queue.
* This does not only mean calling Operation::validate() on all operations,
......
......@@ -35,7 +35,7 @@ class RunnerWorker : public QObject
void operationStarted(Akabei::Operation *operation);
void operationFinished(Akabei::Operation *operation);
private slots:
private Q_SLOTS:
void run();
private:
......
......@@ -11,7 +11,7 @@ class Package;
class DatabaseBenchmark : public QObject
{
Q_OBJECT
private slots:
private Q_SLOTS:
void benchmark_start();
void benchmark_QueryGroups();
void benchmark_QueryPackages();
......@@ -33,7 +33,7 @@ class GroupEventLoop : public QEventLoop
return m_result;
}
public slots:
public Q_SLOTS:
void requestQuit(const QUuid &uuid, const QList<Akabei::Group*> &result) {
qDebug() << "Request quit";
if (uuid == m_uuid) {
......
......@@ -30,7 +30,7 @@ class AKABEICORESHARED_EXPORT PlainScriptletOperation : public Operation
virtual void run() override;
virtual void validate() override;
private slots:
private Q_SLOTS:
void slotFinished(bool fin);
void slotErrors(Akabei::Error::List errs);
void slotMessage(const QString &mes);
......
......@@ -25,7 +25,7 @@ class CreateDb : public QObject
CreateDb(const QString &db, const QStringList &targets, QObject* parent = nullptr);
virtual ~CreateDb();
public slots:
public Q_SLOTS:
void start();
void add();
void remove();
......
......@@ -35,7 +35,7 @@ public:
void install(const QString &root, const QMap<QString, QString>& backup, int processingOptions);
void upgrade(const QString &root, const QMap<QString, QString>& backup, int processingOptions);
public slots:
public Q_SLOTS:
QStringList entries() const;
int entrySize(const QString &file) const;
int totalEntrySize() const;
......@@ -46,7 +46,7 @@ public slots:
QList<QByteArray> md5(const QStringList &files);
QByteArray md5(const QString &file);
signals:
Q_SIGNALS:
void newMessage(const QString &archive, const QString &message);
void updateProgress(const QString &archive, int progress);
void finished(const QString &archive);
......
......@@ -27,7 +27,7 @@ public:
FilesystemHelper(QObject * parent);
~FilesystemHelper();
public slots:
public Q_SLOTS:
static uint pid();
bool copy(const QString &source, const QString &destination);
......@@ -41,13 +41,13 @@ public slots:
void setRoot(const QString &r);
QString root() const;
signals:
Q_SIGNALS:
void lockGranted(qint64 pid);
void removeFilesProgress(int progress);
void removeFilesErrors(const QStringList &errors);
void removeFilesFinished();
private slots:
private Q_SLOTS:
void lockGranted();
private:
......
......@@ -39,7 +39,7 @@ public Q_SLOTS:
void install(const QString &filename, const QString &root, int processingOptions, int reason, const QString &localdatabase);
void upgrade(const QString &filename, const QString &root, int processingOptions, int reason, const QString &localdatabase);
signals:
Q_SIGNALS:
void error(const QString &archive, int type, const QString &errorMessage);
void finished(const QString &archive, bool success);
void newMessage(const QString &archive, const QString &message);
......
......@@ -30,7 +30,7 @@ public:
LogHelper(QObject* parent = nullptr);
virtual ~LogHelper();
public slots:
public Q_SLOTS:
void init(const QString &);
void log(const QString &);
};
......
......@@ -36,7 +36,7 @@ public:
//The only database we really use via polkit is the local one, so we don't really need to cache an open dbs
QString filename() const;
public slots:
public Q_SLOTS:
void bind(const QString &, int);
void bind(const QString &, const QString &);
void bind(const QString &, const QByteArray &);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment