summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdenetworkconnections.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-07-07 22:14:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-07-07 22:37:13 +0900
commitc76553c4fb3ee8f839c17b4dc3c3beb3c4338eb3 (patch)
tree165203f9bcab23defadc9c1f2a56c99365b5887f /tdecore/tdehw/tdenetworkconnections.cpp
parent32566accdab31f598381e7e68330055f4a7178f1 (diff)
downloadtdelibs-c76553c4fb3ee8f839c17b4dc3c3beb3c4338eb3.tar.gz
tdelibs-c76553c4fb3ee8f839c17b4dc3c3beb3c4338eb3.zip
tdehw: TRUE/FALSE --> true/false renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdehw/tdenetworkconnections.cpp')
-rw-r--r--tdecore/tdehw/tdenetworkconnections.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdecore/tdehw/tdenetworkconnections.cpp b/tdecore/tdehw/tdenetworkconnections.cpp
index 7cef67cf3..2961c8737 100644
--- a/tdecore/tdehw/tdenetworkconnections.cpp
+++ b/tdecore/tdehw/tdenetworkconnections.cpp
@@ -701,7 +701,7 @@ TDEWiFiConnection::~TDEWiFiConnection() {
TDENetworkConnectionManager::TDENetworkConnectionManager(TDENetworkDevice *networkDevice) : TQObject(), m_connectionList(NULL), m_hwNeighborList(NULL), m_networkDevice(networkDevice), m_prevConnectionStatus(TDENetworkGlobalManagerFlags::Unknown) {
m_emissionTimer = new TQTimer();
connect(m_emissionTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(emitQueuedSignals()));
- if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, TRUE);
+ if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, true);
}
TDENetworkConnectionManager::~TDENetworkConnectionManager() {
@@ -830,7 +830,7 @@ bool TDENetworkConnectionManager::validateIPAddress(TQHostAddress address) {
bool TDENetworkConnectionManager::validateIPNeworkMask(TQHostAddress netmask) {
Q_UNUSED(netmask);
- return TRUE;
+ return true;
}
void TDENetworkConnectionManager::clearTDENetworkConnectionList() {
@@ -855,7 +855,7 @@ void TDENetworkConnectionManager::internalNetworkConnectionStateChanged(TDENetwo
queuedEvent.newState = newState;
queuedEvent.previousState = m_prevConnectionStatus;
m_globalEventQueueEventList.append(queuedEvent);
- if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, TRUE);
+ if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, true);
m_prevConnectionStatus = newState;
}
@@ -871,7 +871,7 @@ void TDENetworkConnectionManager::internalNetworkDeviceStateChanged(TDENetworkCo
queuedEvent.previousConnStatus = m_prevDeviceStatus[deviceNodeName];
queuedEvent.deviceNode = deviceNodeName;
m_globalEventQueueEventList.append(queuedEvent);
- if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, TRUE);
+ if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, true);
m_prevDeviceStatus[deviceNodeName] = newState;
}
@@ -882,7 +882,7 @@ void TDENetworkConnectionManager::internalAccessPointStatusChanged(TDEMACAddress
queuedEvent.BSSID = BSSID;
queuedEvent.apevent = event;
m_globalEventQueueEventList.append(queuedEvent);
- if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, TRUE);
+ if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, true);
}
void TDENetworkConnectionManager::internalNetworkDeviceEvent(TDENetworkDeviceEventType::TDENetworkDeviceEventType event, TQString message) {
@@ -891,7 +891,7 @@ void TDENetworkConnectionManager::internalNetworkDeviceEvent(TDENetworkDeviceEve
queuedEvent.ndevent = event;
queuedEvent.message = message;
m_globalEventQueueEventList.append(queuedEvent);
- if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, TRUE);
+ if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, true);
}
void TDENetworkConnectionManager::internalVpnEvent(TDENetworkVPNEventType::TDENetworkVPNEventType event, TQString message) {
@@ -900,7 +900,7 @@ void TDENetworkConnectionManager::internalVpnEvent(TDENetworkVPNEventType::TDENe
queuedEvent.vpnevent = event;
queuedEvent.message = message;
m_globalEventQueueEventList.append(queuedEvent);
- if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, TRUE);
+ if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, true);
}
void TDENetworkConnectionManager::internalNetworkManagementEvent(TDENetworkGlobalEventType::TDENetworkGlobalEventType event) {
@@ -908,7 +908,7 @@ void TDENetworkConnectionManager::internalNetworkManagementEvent(TDENetworkGloba
queuedEvent.eventType = 5;
queuedEvent.globalevent = event;
m_globalEventQueueEventList.append(queuedEvent);
- if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, TRUE);
+ if (!m_emissionTimer->isActive()) m_emissionTimer->start(0, true);
}
void TDENetworkConnectionManager::emitQueuedSignals() {