]> git.cworth.org Git - apitrace/blobdiff - gui/apisurface.h
common: Add more comments.
[apitrace] / gui / apisurface.h
index 9c7115ec2b4696844157be6ec757585758d82013..9f000014f656d7e08b9056a0a317e03191e5d028 100644 (file)
@@ -13,12 +13,12 @@ public:
     QSize size() const;
     void setSize(const QSize &size);
 
-    int numChannels() const;
-    void setNumChannels(int numChannels);
-
     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 +30,7 @@ private:
     QImage m_image;
     QImage m_thumb;
     int m_depth;
+    QString m_formatName;
 };