kdeconnect-kde/plugins/virtualmonitor
Alexander Lohnau 2e67f95017 Add explicit moc includes to cpp files
The rationale is explained in https://planet.kde.org/friedrich-kossebau-2023-06-28-include-also-moc-files-of-headers/

In case of KDEConnect, it impressively speeds up compilation. Before it
took 390 seconds on a clean build and with this change it took 330 seconds.
This is due to the mocs_compilation having to include the header files
and thus all their headers. Due to the lots of small plugins we have,
this means that the same headers must be compiled plenty of times.
When we include the moc files directly in the C++ file, they are already
available.
2023-07-30 07:27:45 +00:00
..
CMakeLists.txt Use target-centric CMake approach for declaring debug category 2023-07-22 20:51:19 +00:00
kdeconnect_virtualmonitor.json SVN_SILENT made messages (.desktop file) - always resolve ours 2023-07-30 01:37:54 +00:00
README Introduce the VirtualMonitor plugin 2022-05-25 00:04:47 +02:00
virtualmonitorplugin.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
virtualmonitorplugin.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00

This plugin will allow users to use other kde connect devices as external displays.

It will use krfb-virtualmonitor to create it and feed the information and also request an URL to be opened on the other device that should be rendering the contents.

Upon connection, we'll be notifying under kdeconnect.virtualmonitor about our "resolutions, which include objects with a "resolution" and a "scale". These will provide the information necessary to issue a remote feed.

When a virtual monitor is requested, kdeconnect.virtualmonitor.request will include a "url" field that contains all information necessary to connect to the created feed. The remote client needs to support this url type.