Changeset View
Changeset View
Standalone View
Standalone View
systemmonitor/ksystemactivitydialog.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
42 | * to the front again and move it to the current desktop etc. | 42 | * to the front again and move it to the current desktop etc. | ||
43 | */ | 43 | */ | ||
44 | void run(); | 44 | void run(); | ||
45 | 45 | | |||
46 | /** Set the text in the filter line in the process list widget */ | 46 | /** Set the text in the filter line in the process list widget */ | ||
47 | void setFilterText(const QString &filterText); | 47 | void setFilterText(const QString &filterText); | ||
48 | QString filterText() const; | 48 | QString filterText() const; | ||
49 | 49 | | |||
50 | QSize sizeHint() const override; | ||||
51 | | ||||
50 | /** Save the settings if the user presses the ESC key */ | 52 | /** Save the settings if the user presses the ESC key */ | ||
51 | void reject() override; | 53 | void reject() override; | ||
52 | 54 | | |||
53 | protected: | 55 | protected: | ||
54 | /** Save the settings if the user clicks (x) button on the window */ | 56 | /** Save the settings if the user clicks (x) button on the window */ | ||
55 | void closeEvent(QCloseEvent *event) override; | 57 | void closeEvent(QCloseEvent *event) override; | ||
56 | 58 | | |||
57 | private slots: | | |||
58 | void slotInit(); | | |||
59 | | ||||
60 | private: | 59 | private: | ||
61 | void saveDialogSettings(); | 60 | void saveDialogSettings(); | ||
62 | 61 | | |||
63 | KSysGuardProcessList m_processList; | 62 | KSysGuardProcessList m_processList; | ||
64 | }; | 63 | }; | ||
65 | #endif // not Q_WS_WIN | 64 | #endif // not Q_WS_WIN | ||
66 | 65 | | |||
67 | #endif // KSYSTEMACTIVITYDIALOG__H | 66 | #endif // KSYSTEMACTIVITYDIALOG__H |