X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fprofiletablemodel.h;h=da17550393ba83395b7a68539e25e1460b1c2c97;hb=7a9fb5103e052150232b64cb5d99374cda3f1234;hp=dc08ba0ec2b390850b302c207582f9596e6d55a5;hpb=4c4896f8490aca7f32956e402ffdf413d04c36dd;p=apitrace diff --git a/gui/profiletablemodel.h b/gui/profiletablemodel.h index dc08ba0..da17550 100644 --- a/gui/profiletablemodel.h +++ b/gui/profiletablemodel.h @@ -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;