Add explicit
This commit is contained in:
@@ -35,22 +35,22 @@ class QModelIndex;
|
||||
class DeviceStateFilterModel : public QSortFilterProxyModel {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DeviceStateFilterModel(QObject *parent, DeviceManager::State state = DeviceManager::State_Remembered);
|
||||
public:
|
||||
explicit DeviceStateFilterModel(QObject *parent, DeviceManager::State state = DeviceManager::State_Remembered);
|
||||
|
||||
void setSourceModel(QAbstractItemModel *sourceModel);
|
||||
|
||||
signals:
|
||||
signals:
|
||||
void IsEmptyChanged(bool is_empty);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
bool filterAcceptsRow(int row, const QModelIndex &parent) const;
|
||||
|
||||
private slots:
|
||||
private slots:
|
||||
void ProxyRowCountChanged();
|
||||
void ProxyRowCountChanged(QModelIndex index, int first, int last);
|
||||
|
||||
private:
|
||||
private:
|
||||
DeviceManager::State state_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user