Replace slots with Q_SLOTS

This commit is contained in:
Jonas Kvinge
2024-08-12 01:06:15 +02:00
parent f624b7a331
commit cbce9892d5
209 changed files with 277 additions and 277 deletions

View File

@@ -50,7 +50,7 @@ class _MessageHandlerBase : public QObject {
// After this is true, messages cannot be sent to the handler any more.
bool is_device_closed() const { return is_device_closed_; }
protected slots:
protected Q_SLOTS:
void WriteMessage(const QByteArray &data);
void DeviceReadyRead();
virtual void DeviceClosed();

View File

@@ -56,7 +56,7 @@ class _WorkerPoolBase : public QObject {
// Emitted when a worker failed to start. This usually happens when the worker wasn't found, or couldn't be executed.
void WorkerFailedToStart();
protected slots:
protected Q_SLOTS:
virtual void DoStart() {}
virtual void NewConnection() {}
virtual void ProcessReadyReadStandardOutput() {}