Changeset View
Changeset View
Standalone View
Standalone View
src/server/seat_interface.h
Show First 20 Lines • Show All 583 Lines • ▼ Show 20 Line(s) | 122 | public: | |||
---|---|---|---|---|---|
584 | void setFocusedTouchSurfacePosition(const QPointF &surfacePosition); | 584 | void setFocusedTouchSurfacePosition(const QPointF &surfacePosition); | ||
585 | QPointF focusedTouchSurfacePosition() const; | 585 | QPointF focusedTouchSurfacePosition() const; | ||
586 | qint32 touchDown(const QPointF &globalPosition); | 586 | qint32 touchDown(const QPointF &globalPosition); | ||
587 | void touchUp(qint32 id); | 587 | void touchUp(qint32 id); | ||
588 | void touchMove(qint32 id, const QPointF &globalPosition); | 588 | void touchMove(qint32 id, const QPointF &globalPosition); | ||
589 | void touchFrame(); | 589 | void touchFrame(); | ||
590 | void cancelTouchSequence(); | 590 | void cancelTouchSequence(); | ||
591 | bool isTouchSequence() const; | 591 | bool isTouchSequence() const; | ||
592 | /** | ||||
593 | * @returns true if there is a touch sequence going on associated with a touch | ||||
594 | * down of the given @p serial. | ||||
595 | * @since 5.XX | ||||
596 | **/ | ||||
597 | bool hasImplicitTouchGrab(quint32 serial) const; | ||||
592 | ///@} | 598 | ///@} | ||
593 | 599 | | |||
594 | /** | 600 | /** | ||
595 | * @name Text input related methods. | 601 | * @name Text input related methods. | ||
596 | **/ | 602 | **/ | ||
597 | ///@{ | 603 | ///@{ | ||
598 | /** | 604 | /** | ||
599 | * Passes text input focus to @p surface. | 605 | * Passes text input focus to @p surface. | ||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
658 | static SeatInterface *get(wl_resource *native); | 664 | static SeatInterface *get(wl_resource *native); | ||
659 | 665 | | |||
660 | Q_SIGNALS: | 666 | Q_SIGNALS: | ||
661 | void nameChanged(const QString&); | 667 | void nameChanged(const QString&); | ||
662 | void hasPointerChanged(bool); | 668 | void hasPointerChanged(bool); | ||
663 | void hasKeyboardChanged(bool); | 669 | void hasKeyboardChanged(bool); | ||
664 | void hasTouchChanged(bool); | 670 | void hasTouchChanged(bool); | ||
665 | void pointerPosChanged(const QPointF &pos); | 671 | void pointerPosChanged(const QPointF &pos); | ||
672 | void touchMoved(qint32 id, quint32 serial, const QPointF &globalPosition); | ||||
666 | void timestampChanged(quint32); | 673 | void timestampChanged(quint32); | ||
667 | 674 | | |||
668 | void pointerCreated(KWayland::Server::PointerInterface*); | 675 | void pointerCreated(KWayland::Server::PointerInterface*); | ||
669 | void keyboardCreated(KWayland::Server::KeyboardInterface*); | 676 | void keyboardCreated(KWayland::Server::KeyboardInterface*); | ||
670 | void touchCreated(KWayland::Server::TouchInterface*); | 677 | void touchCreated(KWayland::Server::TouchInterface*); | ||
671 | 678 | | |||
672 | /** | 679 | /** | ||
673 | * Emitted whenever the focused pointer changes | 680 | * Emitted whenever the focused pointer changes | ||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |