summaryrefslogtreecommitdiff
path: root/src/settings/StylesListModel.h
blob: 3899ba8b43d4948fad596681605c0c928794d993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef STYLESLISTMODEL_H
#define STYLESLISTMODEL_H

#include <QStringListModel>

class StylesListModel: public QStringListModel
{
    Q_OBJECT

public:
    StylesListModel( const QStringList& aStrings ): QStringListModel( aStrings) {}
    Qt::ItemFlags flags( const QModelIndex& index ) const
        { return QAbstractListModel::flags(index); }
};

#endif // STYLESLISTMODEL_H