summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/mainwindow.h
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2017-07-01 21:51:23 +0200
committerAndré Hartmann <aha_1980@gmx.de>2017-07-11 04:30:17 +0000
commitfb284d4c2aa768fe06b8220144283e1a5ac01ae5 (patch)
tree9f0a13c94fafd0c24f07fe18eb2d95ef87706848 /examples/serialbus/can/mainwindow.h
parentfee04e6eb05386f391207c36a0444a158d21d909 (diff)
CAN-Example: Rename slots to describe their purpose better
Change-Id: Ic63e01635273704196b8fc6e4f00d6aff409f5ab Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/serialbus/can/mainwindow.h')
-rw-r--r--examples/serialbus/can/mainwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/serialbus/can/mainwindow.h b/examples/serialbus/can/mainwindow.h
index 8cd53a9..a23fbae 100644
--- a/examples/serialbus/can/mainwindow.h
+++ b/examples/serialbus/can/mainwindow.h
@@ -67,12 +67,12 @@ public:
~MainWindow();
private slots:
- void checkMessages();
- void sendMessage() const;
- void receiveError(QCanBusDevice::CanBusError) const;
+ void processReceivedFrames();
+ void sendFrame() const;
+ void processErrors(QCanBusDevice::CanBusError) const;
void connectDevice();
void disconnectDevice();
- void framesWritten(qint64);
+ void processFramesWritten(qint64);
protected:
void closeEvent(QCloseEvent *event) override;