Changeset View
Changeset View
Standalone View
Standalone View
processui/ProcessModel_p.h
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Line(s) | 148 | #endif | |||
---|---|---|---|---|---|
198 | ProcessModel::IoInformation mIoInformation; | 198 | ProcessModel::IoInformation mIoInformation; | ||
199 | 199 | | |||
200 | /** The hostname */ | 200 | /** The hostname */ | ||
201 | QString mHostName; | 201 | QString mHostName; | ||
202 | bool mHaveTimer; | 202 | bool mHaveTimer; | ||
203 | int mTimerId; | 203 | int mTimerId; | ||
204 | QList<long> mPidsToUpdate; ///< A list of pids that we need to emit dataChanged() for regularly | 204 | QList<long> mPidsToUpdate; ///< A list of pids that we need to emit dataChanged() for regularly | ||
205 | 205 | | |||
206 | static const int MAX_HIST_ENTRIES = 100; | ||||
207 | /** Storage for the history entries. We need one per percentage column. */ | ||||
208 | QHash<KSysGuard::Process *, QVector<ProcessModel::PercentageHistoryEntry>> mMapProcessCPUHistory; | ||||
209 | | ||||
206 | #ifdef HAVE_XRES | 210 | #ifdef HAVE_XRES | ||
207 | bool mHaveXRes; ///< True if the XRes extension is available at run time | 211 | bool mHaveXRes; ///< True if the XRes extension is available at run time | ||
208 | QMap<qlonglong, XID> mXResClientResources; | 212 | QMap<qlonglong, XID> mXResClientResources; | ||
209 | #endif | 213 | #endif | ||
210 | 214 | | |||
211 | bool mMovingRow; | 215 | bool mMovingRow; | ||
212 | bool mRemovingRow; | 216 | bool mRemovingRow; | ||
213 | bool mInsertingRow; | 217 | bool mInsertingRow; | ||
214 | 218 | | |||
215 | bool mIsX11; | 219 | bool mIsX11; | ||
216 | 220 | | |||
217 | ProcessModel* q; | 221 | ProcessModel* q; | ||
218 | }; | 222 | }; | ||
219 | 223 | | |||
220 | #endif | 224 | #endif |