summaryrefslogtreecommitdiffstats
path: root/src/serialport/qserialport_wince.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialport/qserialport_wince.cpp')
-rw-r--r--src/serialport/qserialport_wince.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialport/qserialport_wince.cpp b/src/serialport/qserialport_wince.cpp
index 7e019b36..4f475d62 100644
--- a/src/serialport/qserialport_wince.cpp
+++ b/src/serialport/qserialport_wince.cpp
@@ -84,7 +84,7 @@ signals:
public:
CommEventNotifier(DWORD mask, QSerialPortPrivate *d, QObject *parent)
: QThread(parent), dptr(d) {
- connect(this, SIGNAL(eventMask(quint32)), this, SLOT(processNotification(quint32)));
+ connect(this, &CommEventNotifier::eventMask, this, &CommEventNotifier::processNotification);
::SetCommMask(dptr->handle, mask);
}
@@ -156,7 +156,7 @@ public:
protected:
void run() {
QTimer timer;
- QObject::connect(&timer, SIGNAL(timeout()), this, SLOT(processTimeout()), Qt::DirectConnection);
+ QObject::connect(&timer, &QTimer::timeout, this, &WaitCommEventBreaker::processTimeout, Qt::DirectConnection);
timer.start(timeout);
exec();
worked = true;