Changeset View
Changeset View
Standalone View
Standalone View
src/screencastwidget.h
Show All 16 Lines | |||||
17 | * Authors: | 17 | * Authors: | ||
18 | * Jan Grulich <jgrulich@redhat.com> | 18 | * Jan Grulich <jgrulich@redhat.com> | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef XDG_DESKTOP_PORTAL_KDE_SCREENCAST_WIDGET_H | 21 | #ifndef XDG_DESKTOP_PORTAL_KDE_SCREENCAST_WIDGET_H | ||
22 | #define XDG_DESKTOP_PORTAL_KDE_SCREENCAST_WIDGET_H | 22 | #define XDG_DESKTOP_PORTAL_KDE_SCREENCAST_WIDGET_H | ||
23 | 23 | | |||
24 | #include <QListWidget> | 24 | #include <QListWidget> | ||
25 | #include <KWayland/Client/screencasting.h> | ||||
25 | 26 | | |||
26 | class ScreenCastWidget : public QListWidget | 27 | class ScreenCastWidget : public QListWidget | ||
27 | { | 28 | { | ||
28 | Q_OBJECT | 29 | Q_OBJECT | ||
29 | public: | 30 | public: | ||
30 | ScreenCastWidget(QWidget *parent = nullptr); | 31 | ScreenCastWidget(QWidget *parent = nullptr); | ||
31 | ~ScreenCastWidget(); | 32 | ~ScreenCastWidget(); | ||
32 | 33 | | |||
33 | QList<quint32> selectedScreens() const; | 34 | QVector<KWayland::Client::ScreencastingSource> selectedScreens() const; | ||
34 | }; | 35 | }; | ||
35 | 36 | | |||
36 | #endif // XDG_DESKTOP_PORTAL_KDE_SCREENCAST_WIDGET_H | 37 | #endif // XDG_DESKTOP_PORTAL_KDE_SCREENCAST_WIDGET_H | ||
37 | 38 | |