Changeset View
Changeset View
Standalone View
Standalone View
abstract_client.h
Show First 20 Lines • Show All 386 Lines • ▼ Show 20 Line(s) | 289 | public: | |||
---|---|---|---|---|---|
387 | virtual AbstractClient *findModal(bool allow_itself = false) = 0; | 387 | virtual AbstractClient *findModal(bool allow_itself = false) = 0; | ||
388 | virtual bool isTransient() const; | 388 | virtual bool isTransient() const; | ||
389 | /** | 389 | /** | ||
390 | * @returns Whether there is a hint available to place the AbstractClient on it's parent, default @c false. | 390 | * @returns Whether there is a hint available to place the AbstractClient on it's parent, default @c false. | ||
391 | * @see transientPlacementHint | 391 | * @see transientPlacementHint | ||
392 | **/ | 392 | **/ | ||
393 | virtual bool hasTransientPlacementHint() const; | 393 | virtual bool hasTransientPlacementHint() const; | ||
394 | /** | 394 | /** | ||
395 | * @returns The recommended position of the transient in parent coordinates | 395 | * Only valid id hasTransientPlacementHint is true | ||
396 | * @returns The position the transient wishes to position itself | ||||
zzag: Typo: "only valid is" | |||||
396 | **/ | 397 | **/ | ||
397 | virtual QPoint transientPlacementHint() const; | 398 | virtual QRect transientPlacement(const QRect &bounds) const; | ||
398 | const AbstractClient* transientFor() const; | 399 | const AbstractClient* transientFor() const; | ||
399 | AbstractClient* transientFor(); | 400 | AbstractClient* transientFor(); | ||
400 | /** | 401 | /** | ||
401 | * @returns @c true if c is the transient_for window for this client, | 402 | * @returns @c true if c is the transient_for window for this client, | ||
402 | * or recursively the transient_for window | 403 | * or recursively the transient_for window | ||
403 | * @todo: remove boolean trap | 404 | * @todo: remove boolean trap | ||
404 | **/ | 405 | **/ | ||
405 | virtual bool hasTransient(const AbstractClient* c, bool indirect) const; | 406 | virtual bool hasTransient(const AbstractClient* c, bool indirect) const; | ||
▲ Show 20 Lines • Show All 842 Lines • Show Last 20 Lines |
Typo: "only valid is"