Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.15.2
-
None
-
-
227060f8c17aaf90fe542ad6079a6badaf410a0d (qt/qtserialbus/dev)
Description
In qcanbusdevice.h, we have the following prototypes:
virtual void setConfigurationParameter(int key, const QVariant &value); QVariant configurationParameter(int key) const; QVector<int> configurationKeys() const;
Was there a reason to use int for the key, and not the dedicated enum ConfigurationKey?
Do we want to change that for Qt 6?
If the enum is kept as-is (i.e. no enum class), it should be even source compatible with existing code.
Attachments
Issue Links
- is required for
-
QTBUG-64145 Qt SerialBus Changes in Qt 6
- Closed
For Gerrit Dashboard: QTBUG-89839 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
328971,7 | QCanBusDevice: Replace int parameter with ConfigurationKey | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |