diff options
Diffstat (limited to 'tagproptablemodel.h')
-rw-r--r-- | tagproptablemodel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tagproptablemodel.h b/tagproptablemodel.h index b127f90..09ab8b4 100644 --- a/tagproptablemodel.h +++ b/tagproptablemodel.h @@ -9,8 +9,10 @@ class TagPropTableModel : public QAbstractTableModel
{
+ Q_OBJECT
+
public:
- TagPropTableModel(SQLiteSaveFile &backend);
+ TagPropTableModel(SQLiteSaveFile &backend) : TagPropTableModel(backend, false) {};
TagPropTableModel(SQLiteSaveFile &backend, const Tag tag);
int rowCount(const QModelIndex &parent=QModelIndex()) const override;
@@ -27,6 +29,8 @@ private slots: void tagChange(TagChange change, const Tag &tag);
private:
+ TagPropTableModel(SQLiteSaveFile &backend, bool tagIsValid);
+
SQLiteSaveFile &backend;
Tag tag_cached;
QStringList tag_keys;
|