Changeset View
Changeset View
Standalone View
Standalone View
toplevel.h
Show First 20 Lines • Show All 451 Lines • ▼ Show 20 Line(s) | 218 | public: | |||
---|---|---|---|---|---|
452 | * Whether the window is a popup. | 452 | * Whether the window is a popup. | ||
453 | * | 453 | * | ||
454 | * Popups can be used to implement popup menus, tooltips, combo boxes, etc. | 454 | * Popups can be used to implement popup menus, tooltips, combo boxes, etc. | ||
455 | * | 455 | * | ||
456 | * @since 5.15 | 456 | * @since 5.15 | ||
457 | **/ | 457 | **/ | ||
458 | virtual bool isPopupWindow() const; | 458 | virtual bool isPopupWindow() const; | ||
459 | 459 | | |||
460 | /** | ||||
461 | * @returns The caption consisting of @link{captionNormal} and @link{captionSuffix} | ||||
462 | * @see captionNormal | ||||
463 | * @see captionSuffix | ||||
464 | **/ | ||||
zzag: It's off by one space. | |||||
465 | virtual QString caption() const; | ||||
466 | | ||||
467 | virtual bool isMinimized() const; | ||||
468 | virtual bool isModal() const; | ||||
469 | virtual bool isFullScreen() const; | ||||
470 | virtual bool keepAbove() const; | ||||
471 | virtual bool keepBelow() const; | ||||
Can you please add comments for these too? zzag: Can you please add comments for these too?
For example, that's not really clear what… | |||||
472 | /* | ||||
473 | * When a click is done in the decoration and it calls the group | ||||
474 | * to change the visible client it starts to move-resize the new | ||||
475 | * client, this function stops it. | ||||
476 | */ | ||||
zzag: Please re-format it. | |||||
477 | virtual bool isCurrentTab() const; | ||||
478 | | ||||
479 | | ||||
460 | Q_SIGNALS: | 480 | Q_SIGNALS: | ||
461 | void opacityChanged(KWin::Toplevel* toplevel, qreal oldOpacity); | 481 | void opacityChanged(KWin::Toplevel* toplevel, qreal oldOpacity); | ||
462 | void damaged(KWin::Toplevel* toplevel, const QRect& damage); | 482 | void damaged(KWin::Toplevel* toplevel, const QRect& damage); | ||
463 | void geometryChanged(); | 483 | void geometryChanged(); | ||
464 | void geometryShapeChanged(KWin::Toplevel* toplevel, const QRect& old); | 484 | void geometryShapeChanged(KWin::Toplevel* toplevel, const QRect& old); | ||
465 | void paddingChanged(KWin::Toplevel* toplevel, const QRect& old); | 485 | void paddingChanged(KWin::Toplevel* toplevel, const QRect& old); | ||
466 | void windowClosed(KWin::Toplevel* toplevel, KWin::Deleted* deleted); | 486 | void windowClosed(KWin::Toplevel* toplevel, KWin::Deleted* deleted); | ||
467 | void windowShown(KWin::Toplevel* toplevel); | 487 | void windowShown(KWin::Toplevel* toplevel); | ||
468 | void windowHidden(KWin::Toplevel* toplevel); | 488 | void windowHidden(KWin::Toplevel* toplevel); | ||
489 | void captionChanged(); | ||||
469 | /** | 490 | /** | ||
470 | * Signal emitted when the window's shape state changed. That is if it did not have a shape | 491 | * Signal emitted when the window's shape state changed. That is if it did not have a shape | ||
471 | * and received one or if the shape was withdrawn. Think of Chromium enabling/disabling KWin's | 492 | * and received one or if the shape was withdrawn. Think of Chromium enabling/disabling KWin's | ||
472 | * decoration. | 493 | * decoration. | ||
473 | **/ | 494 | **/ | ||
474 | void shapedChanged(); | 495 | void shapedChanged(); | ||
475 | /** | 496 | /** | ||
476 | * Emitted whenever the state changes in a way, that the Compositor should | 497 | * Emitted whenever the state changes in a way, that the Compositor should | ||
▲ Show 20 Lines • Show All 407 Lines • Show Last 20 Lines |
It's off by one space.