Changeset View
Changeset View
Standalone View
Standalone View
kate/kateviewmanager.h
Context not available. | |||||
302 | /** | 302 | /** | ||
---|---|---|---|---|---|
303 | * Default constructor | 303 | * Default constructor | ||
304 | */ | 304 | */ | ||
305 | ViewData() | 305 | ViewData() = default; | ||
306 | : active(false) | | |||
307 | , lruAge(0) | | |||
308 | , activityResource(Q_NULLPTR) | | |||
309 | { | | |||
310 | } | | |||
311 | 306 | | |||
312 | /** | 307 | /** | ||
313 | * view active? | 308 | * view active? | ||
314 | */ | 309 | */ | ||
315 | bool active; | 310 | bool active{false}; | ||
316 | 311 | | |||
317 | /** | 312 | /** | ||
318 | * lru age of the view | 313 | * lru age of the view | ||
319 | * important: smallest age ==> latest used view | 314 | * important: smallest age ==> latest used view | ||
320 | */ | 315 | */ | ||
321 | qint64 lruAge; | 316 | qint64 lruAge{0}; | ||
322 | 317 | | |||
323 | /** | 318 | /** | ||
324 | * activity resource for the view | 319 | * activity resource for the view | ||
325 | */ | 320 | */ | ||
326 | KActivities::ResourceInstance *activityResource; | 321 | KActivities::ResourceInstance *activityResource{Q_NULLPTR}; | ||
327 | }; | 322 | }; | ||
328 | 323 | | |||
329 | /** | 324 | /** | ||
Context not available. |