diff options
Diffstat (limited to 'utils/themeeditor/models/targetdata.h')
-rw-r--r-- | utils/themeeditor/models/targetdata.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/themeeditor/models/targetdata.h b/utils/themeeditor/models/targetdata.h index ef7ac5c8a9..09276c5966 100644 --- a/utils/themeeditor/models/targetdata.h +++ b/utils/themeeditor/models/targetdata.h @@ -52,14 +52,15 @@ public: ScreenDepth screenDepth(int index){ return entries[index].depth; } ScreenDepth remoteDepth(int index){ return entries[index].rDepth; } bool fm(int index){ return entries[index].fm; } + bool canRecord(int index){ return entries[index].record; } private: struct Entry { Entry(QString name, QRect size, ScreenDepth depth, QRect rSize, - ScreenDepth rDepth, bool fm) + ScreenDepth rDepth, bool fm, bool record) : name(name), size(size), depth(depth), rSize(rSize), - rDepth(rDepth), fm(fm){ } + rDepth(rDepth), fm(fm), record(record){ } QString name; QRect size; @@ -67,6 +68,7 @@ private: QRect rSize; ScreenDepth rDepth; bool fm; + bool record; }; static const QString reserved; |