X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fprofiledialog.h;h=862d068bcd888bcae36ec890df9ccda29f47f26e;hb=da55940db71e6e09ba54eadb707dd5e6b43b5442;hp=9946efe6f643e92f4415c65917e5b91b9bc4df4e;hpb=fc4f55a3193269f86c142219f5593dd8b8e9b3c8;p=apitrace diff --git a/gui/profiledialog.h b/gui/profiledialog.h index 9946efe..862d068 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 { @@ -15,14 +15,11 @@ public: ~ProfileDialog(); void setProfile(trace::Profile* profile); + void showCall(int call); public slots: - void setVerticalScrollMax(int max); - void setHorizontalScrollMax(int max); - void tableDoubleClicked(const QModelIndex& index); - - void selectionChanged(int64_t start, int64_t end); + void graphSelectionChanged(SelectionState state); signals: void jumpToCall(int call);