qt: Disable bus channels that are currently in use
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include "qt_settings_bus_tracking.hpp"
|
||||
|
||||
class QString;
|
||||
class QAbstractItemModel;
|
||||
@@ -9,7 +10,7 @@ class SettingsBusTracking;
|
||||
namespace Harddrives {
|
||||
void populateBuses(QAbstractItemModel *model);
|
||||
void populateRemovableBuses(QAbstractItemModel *model);
|
||||
void populateBusChannels(QAbstractItemModel *model, int bus);
|
||||
void populateBusChannels(QAbstractItemModel *model, int bus, SettingsBusTracking *sbt = nullptr);
|
||||
void populateSpeeds(QAbstractItemModel *model, int bus);
|
||||
QString BusChannelName(uint8_t bus, uint8_t channel);
|
||||
inline SettingsBusTracking *busTrackClass = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user