Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/dialogs/processselection.h
Show All 26 Lines | |||||
27 | class QPushButton; | 27 | class QPushButton; | ||
28 | 28 | | |||
29 | namespace KDevMI { | 29 | namespace KDevMI { | ||
30 | 30 | | |||
31 | class ProcessSelectionDialog : public QDialog | 31 | class ProcessSelectionDialog : public QDialog | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | public: | 34 | public: | ||
35 | ProcessSelectionDialog( QWidget *parent=nullptr ); | 35 | explicit ProcessSelectionDialog( QWidget *parent=nullptr ); | ||
36 | ~ProcessSelectionDialog() override; | 36 | ~ProcessSelectionDialog() override; | ||
37 | long int pidSelected(); | 37 | long int pidSelected(); | ||
38 | QSize sizeHint() const override; | 38 | QSize sizeHint() const override; | ||
39 | 39 | | |||
40 | private slots: | 40 | private slots: | ||
41 | void selectionChanged(); | 41 | void selectionChanged(); | ||
42 | 42 | | |||
43 | private: | 43 | private: | ||
44 | KSysGuardProcessList* m_processList; | 44 | KSysGuardProcessList* m_processList; | ||
45 | QPushButton* m_okButton; | 45 | QPushButton* m_okButton; | ||
46 | }; | 46 | }; | ||
47 | 47 | | |||
48 | } // end of namespace KDevMI | 48 | } // end of namespace KDevMI | ||
49 | 49 | | |||
50 | #endif | 50 | #endif |