From 27dd17890060313d684b72c871be9da7eb2b74fe Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Fri, 5 Jan 2024 22:17:28 +0200 Subject: QFileSystem{Model,Watcher}: port to PMF signal/slot syntax Also remove the `_q_` prefix from private slot names, it was needed to mark them as being used with Q_PRIVATE_SLOT, which is also gone in this commit. Drive-by change: de-duplicate some code. Change-Id: Ib41d0ac24ae584746751c0c2b5c477f600627db1 Reviewed-by: Christian Ehrlicher --- src/corelib/io/qfilesystemwatcher.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/corelib/io/qfilesystemwatcher.h') diff --git a/src/corelib/io/qfilesystemwatcher.h b/src/corelib/io/qfilesystemwatcher.h index f5400bc9d8..668bc143b2 100644 --- a/src/corelib/io/qfilesystemwatcher.h +++ b/src/corelib/io/qfilesystemwatcher.h @@ -34,10 +34,6 @@ public: Q_SIGNALS: void fileChanged(const QString &path, QPrivateSignal); void directoryChanged(const QString &path, QPrivateSignal); - -private: - Q_PRIVATE_SLOT(d_func(), void _q_fileChanged(const QString &path, bool removed)) - Q_PRIVATE_SLOT(d_func(), void _q_directoryChanged(const QString &path, bool removed)) }; QT_END_NAMESPACE -- cgit v1.2.3