]> git.cworth.org Git - apitrace/blobdiff - gui/apisurface.h
Encode format as a member and not part of the label.
[apitrace] / gui / apisurface.h
index 9c7115ec2b4696844157be6ec757585758d82013..bc403af27409c103deeeb431710a67238f6481f1 100644 (file)
@@ -19,6 +19,9 @@ public:
     int depth() const;
     void setDepth(int depth);
 
+    QString formatName() const;
+    void setFormatName(const QString &str);
+
     void contentsFromBase64(const QByteArray &base64);
 
     QImage image() const;
@@ -30,6 +33,7 @@ private:
     QImage m_image;
     QImage m_thumb;
     int m_depth;
+    QString m_formatName;
 };