Changeset View
Changeset View
Standalone View
Standalone View
processcore/processes_base_p.h
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
134 | virtual long numberProcessorCores() = 0; | 134 | virtual long numberProcessorCores() = 0; | ||
135 | 135 | | |||
136 | /** \brief Update the process information for all processes. | 136 | /** \brief Update the process information for all processes. | ||
137 | * | 137 | * | ||
138 | * Get all the current process information from the machine. When done, emit updateAllProcesses(). | 138 | * Get all the current process information from the machine. When done, emit updateAllProcesses(). | ||
139 | */ | 139 | */ | ||
140 | virtual void updateAllProcesses( Processes::UpdateFlags updateFlags ) = 0; | 140 | virtual void updateAllProcesses( Processes::UpdateFlags updateFlags ) = 0; | ||
141 | 141 | | |||
142 | /** \brief Show threads as if they were processes. | ||||
143 | */ | ||||
144 | virtual void setShowingThreads( bool ) = 0; | ||||
145 | /** \brief Return true if we can show threads as if they were processes. | ||||
146 | */ | ||||
147 | virtual bool canShowThreads() = 0; | ||||
148 | | ||||
142 | Processes::Error errorCode; | 149 | Processes::Error errorCode; | ||
143 | Q_SIGNALS: | 150 | Q_SIGNALS: | ||
144 | /** \brief This is emitted when the processes have been updated, and the view should be refreshed. | 151 | /** \brief This is emitted when the processes have been updated, and the view should be refreshed. | ||
145 | */ | 152 | */ | ||
146 | void processesUpdated(); | 153 | void processesUpdated(); | ||
147 | }; | 154 | }; | ||
148 | } | 155 | } | ||
149 | 156 | | |||
150 | #endif // PROCESSES_BASE_P_H | 157 | #endif // PROCESSES_BASE_P_H |