pgLab/pglab/SslModeModel.h
eelke b09e8a6d4b ConnectionManager overhaul
- connection settings are now changed by seperate component currently called in a seperate window
- old settings pane on the right of the connections had been removed
- new edit config button added between new connection and remove connection
2019-08-24 20:47:32 +02:00

20 lines
502 B
C++

#ifndef SSLMODEMODEL_H
#define SSLMODEMODEL_H
#include <QAbstractListModel>
class SslModeModel : public QAbstractListModel
{
Q_OBJECT
public:
enum Column { Name, Description, ColCount };
SslModeModel(QObject *parent = nullptr);
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
};
#endif // SSLMODEMODEL_H