Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/dialogs/processselection.h
- This file was moved from debuggers/gdb/processselection.h.
Show All 20 Lines | |||||
21 | #ifndef PROCESSSELECTION_H | 21 | #ifndef PROCESSSELECTION_H | ||
22 | #define PROCESSSELECTION_H | 22 | #define PROCESSSELECTION_H | ||
23 | 23 | | |||
24 | #include <QDialog> | 24 | #include <QDialog> | ||
25 | 25 | | |||
26 | class KSysGuardProcessList; | 26 | class KSysGuardProcessList; | ||
27 | class QPushButton; | 27 | class QPushButton; | ||
28 | 28 | | |||
29 | namespace KDevMI | 29 | namespace KDevMI { | ||
30 | { | 30 | | ||
31 | namespace GDB | | |||
32 | { | | |||
33 | class ProcessSelectionDialog : public QDialog | 31 | class ProcessSelectionDialog : public QDialog | ||
34 | { | 32 | { | ||
35 | Q_OBJECT | 33 | Q_OBJECT | ||
36 | public: | 34 | public: | ||
37 | ProcessSelectionDialog( QWidget *parent=0 ); | 35 | ProcessSelectionDialog( QWidget *parent=0 ); | ||
38 | ~ProcessSelectionDialog() override; | 36 | ~ProcessSelectionDialog() override; | ||
39 | long int pidSelected(); | 37 | long int pidSelected(); | ||
40 | QSize sizeHint() const override; | 38 | QSize sizeHint() const override; | ||
41 | 39 | | |||
42 | private slots: | 40 | private slots: | ||
43 | void selectionChanged(); | 41 | void selectionChanged(); | ||
44 | 42 | | |||
45 | private: | 43 | private: | ||
46 | KSysGuardProcessList* m_processList; | 44 | KSysGuardProcessList* m_processList; | ||
47 | QPushButton* m_okButton; | 45 | QPushButton* m_okButton; | ||
48 | }; | 46 | }; | ||
49 | 47 | | |||
50 | } // end of namespace GDB | | |||
51 | } // end of namespace KDevMI | 48 | } // end of namespace KDevMI | ||
52 | 49 | | |||
53 | #endif | 50 | #endif |