Debian Codegraph @

debian/patches/1004_mark-as-override.patch

raw symbols SCIP
1 Description: Mark connectNotify and disconnectNotify methods with 'override'.
2 Author: Mike Gabriel <[email protected]>
3
4 --- a/src/systeminfo/qbatteryinfo.h
5 +++ b/src/systeminfo/qbatteryinfo.h
6 @@ -145,8 +145,8 @@
7 void temperatureChanged(float temperature);
8
9 protected:
10 - void connectNotify(const QMetaMethod &signal);
11 - void disconnectNotify(const QMetaMethod &signal);
12 + void connectNotify(const QMetaMethod &signal) override;
13 + void disconnectNotify(const QMetaMethod &signal) override;
14
15 private:
16 Q_DISABLE_COPY(QBatteryInfo)
17 --- a/src/systeminfo/qdeviceinfo.h
18 +++ b/src/systeminfo/qdeviceinfo.h
19 @@ -130,8 +130,8 @@
20 void bluetoothStateChanged(bool on);
21
22 protected:
23 - void connectNotify(const QMetaMethod &signal);
24 - void disconnectNotify(const QMetaMethod &signal);
25 + void connectNotify(const QMetaMethod &signal) override;
26 + void disconnectNotify(const QMetaMethod &signal) override;
27
28 private:
29 Q_DISABLE_COPY(QDeviceInfo)
30 --- a/src/systeminfo/qnetworkinfo.h
31 +++ b/src/systeminfo/qnetworkinfo.h
32 @@ -120,8 +120,8 @@
33 void networkStatusChanged(QNetworkInfo::NetworkMode mode, int interfaceDevice, QNetworkInfo::NetworkStatus status);
34
35 protected:
36 - void connectNotify(const QMetaMethod &signal);
37 - void disconnectNotify(const QMetaMethod &signal);
38 + void connectNotify(const QMetaMethod &signal) override;
39 + void disconnectNotify(const QMetaMethod &signal) override;
40
41 private:
42 Q_DISABLE_COPY(QNetworkInfo)