X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fprofiledialog.h;h=22ef066f05a25377a0c6fd9e2b2e650048f5f174;hb=b70a86af10057c5b7fcf79b674cfe5abbeaadebb;hp=9946efe6f643e92f4415c65917e5b91b9bc4df4e;hpb=fc4f55a3193269f86c142219f5593dd8b8e9b3c8;p=apitrace diff --git a/gui/profiledialog.h b/gui/profiledialog.h index 9946efe..22ef066 100644 --- a/gui/profiledialog.h +++ b/gui/profiledialog.h @@ -4,7 +4,7 @@ #include "ui_profiledialog.h" #include -namespace trace { class Profile; } +namespace trace { struct Profile; } class ProfileDialog : public QDialog, public Ui_ProfileDialog { @@ -22,7 +22,9 @@ public slots: void tableDoubleClicked(const QModelIndex& index); - void selectionChanged(int64_t start, int64_t end); + void selectNone(); + void selectProgram(unsigned program); + void selectTime(int64_t start, int64_t end); signals: void jumpToCall(int call); @@ -31,4 +33,6 @@ private: trace::Profile *m_profile; }; +QString getTimeString(int64_t time, int64_t unitTime = 0); + #endif