summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qfilesystemwatcher.h12
-rw-r--r--src/corelib/io/qprocess.h24
2 files changed, 6 insertions, 30 deletions
diff --git a/src/corelib/io/qfilesystemwatcher.h b/src/corelib/io/qfilesystemwatcher.h
index 57dac802e8..13d1782913 100644
--- a/src/corelib/io/qfilesystemwatcher.h
+++ b/src/corelib/io/qfilesystemwatcher.h
@@ -62,16 +62,8 @@ public:
QStringList directories() const;
Q_SIGNALS:
- void fileChanged(const QString &path
-#if !defined(Q_QDOC)
- , QPrivateSignal
-#endif
- );
- void directoryChanged(const QString &path
-#if !defined(Q_QDOC)
- , QPrivateSignal
-#endif
- );
+ 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))
diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h
index 54cf37b717..078217ea0b 100644
--- a/src/corelib/io/qprocess.h
+++ b/src/corelib/io/qprocess.h
@@ -223,30 +223,14 @@ public Q_SLOTS:
void kill();
Q_SIGNALS:
- void started(
-#if !defined(Q_QDOC)
- QPrivateSignal
-#endif
- );
+ void started(QPrivateSignal);
void finished(int exitCode); // ### Qt 6: merge the two signals with a default value
void finished(int exitCode, QProcess::ExitStatus exitStatus);
void error(QProcess::ProcessError error);
- void stateChanged(QProcess::ProcessState state
-#if !defined(Q_QDOC)
- , QPrivateSignal
-#endif
- );
+ void stateChanged(QProcess::ProcessState state, QPrivateSignal);
- void readyReadStandardOutput(
-#if !defined(Q_QDOC)
- QPrivateSignal
-#endif
- );
- void readyReadStandardError(
-#if !defined(Q_QDOC)
- QPrivateSignal
-#endif
- );
+ void readyReadStandardOutput(QPrivateSignal);
+ void readyReadStandardError(QPrivateSignal);
protected:
void setProcessState(ProcessState state);