[dolphin] Don't rely on emit and signals, use the Q_* macros instead

Signed-off-by: Kevin Ottens <ervin@kde.org>
This commit is contained in:
Kevin Ottens 2023-12-27 19:10:07 +01:00
parent d98d2cead5
commit 6dbe8cc075
3 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,7 @@ private:
return;
status = tokens[1];
emit overlaysChanged(QUrl::fromLocalFile(QString::fromUtf8(name)), overlaysForString(status));
Q_EMIT overlaysChanged(QUrl::fromLocalFile(QString::fromUtf8(name)), overlaysForString(status));
}
};

View file

@ -112,6 +112,6 @@ void OwncloudDolphinPluginHelper::slotReadyRead()
return;
}
}
emit commandRecieved(line);
Q_EMIT commandRecieved(line);
}
}

View file

@ -52,7 +52,7 @@ public:
QByteArray version() { return _version; }
signals:
Q_SIGNALS:
void commandRecieved(const QByteArray &cmd);
protected: