]> git.cworth.org Git - apitrace/blobdiff - gui/profiletablemodel.h
common: Add more comments.
[apitrace] / gui / profiletablemodel.h
index dc08ba0ec2b390850b302c207582f9596e6d55a5..da17550393ba83395b7a68539e25e1460b1c2c97 100644 (file)
@@ -37,8 +37,13 @@ public:
     ProfileTableModel(QObject *parent = NULL);
 
     void setProfile(trace::Profile* profile);
-    void setTimeSelection(int64_t start, int64_t end);
 
+    void selectNone();
+    void selectProgram(unsigned program);
+    void selectTime(int64_t start, int64_t end);
+
+    int getRowIndex(unsigned program) const;
+    unsigned getProgram(const QModelIndex & index) const;
     const trace::Profile::Call* getJumpCall(const QModelIndex & index) const;
 
     virtual int rowCount(const QModelIndex & parent) const;