Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
c3094c68
Commit
c3094c68
authored
May 28, 2020
by
Vlad Zahorodnii
Browse files
Pedantic whitespace changes
parent
6156f865
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/wayland/server/datacontroldevice_interface.h
View file @
c3094c68
...
...
@@ -35,11 +35,11 @@ class DataControlDeviceInterfacePrivate;
class
KWAYLANDSERVER_EXPORT
DataControlDeviceInterface
:
public
QObject
{
Q_OBJECT
public:
~
DataControlDeviceInterface
()
override
;
SeatInterface
*
seat
()
const
;
DataControlSourceInterface
*
selection
()
const
;
void
sendSelection
(
AbstractDataSource
*
other
);
...
...
src/wayland/server/datacontroldevicemanager_interface.cpp
View file @
c3094c68
...
...
@@ -23,6 +23,7 @@ public:
DataControlDeviceManagerInterfacePrivate
(
DataControlDeviceManagerInterface
*
q
,
Display
*
d
);
DataControlDeviceManagerInterface
*
q
;
protected:
void
zwlr_data_control_manager_v1_create_data_source
(
Resource
*
resource
,
uint32_t
id
)
override
;
void
zwlr_data_control_manager_v1_get_data_device
(
Resource
*
resource
,
uint32_t
id
,
wl_resource
*
seat
)
override
;
...
...
src/wayland/server/datacontroldevicemanager_interface.h
View file @
c3094c68
...
...
@@ -15,7 +15,6 @@ namespace KWaylandServer
class
Display
;
class
DataControlSourceInterface
;
class
DataControlDeviceManagerInterfacePrivate
;
class
DataControlDeviceInterface
;
...
...
@@ -26,6 +25,7 @@ class DataControlDeviceInterface;
class
KWAYLANDSERVER_EXPORT
DataControlDeviceManagerInterface
:
public
QObject
{
Q_OBJECT
public:
~
DataControlDeviceManagerInterface
()
override
;
...
...
src/wayland/server/datacontroloffer_interface.cpp
View file @
c3094c68
...
...
@@ -21,6 +21,7 @@ class DataControlOfferInterfacePrivate : public QtWaylandServer::zwlr_data_contr
{
public:
DataControlOfferInterfacePrivate
(
DataControlOfferInterface
*
q
,
AbstractDataSource
*
source
,
wl_resource
*
resource
);
DataControlOfferInterface
*
q
;
QPointer
<
AbstractDataSource
>
source
;
...
...
src/wayland/server/datacontroloffer_interface.h
View file @
c3094c68
...
...
@@ -13,13 +13,13 @@
#include
"datacontroldevicemanager_interface.h"
struct
wl_resource
;
namespace
KWaylandServer
{
class
AbstractDataSource
;
class
DataControlDeviceInterface
;
class
DataControlSourceInterface
;
class
DataControlOfferInterfacePrivate
;
/**
...
...
@@ -29,6 +29,7 @@ class DataControlOfferInterfacePrivate;
class
KWAYLANDSERVER_EXPORT
DataControlOfferInterface
:
public
QObject
{
Q_OBJECT
public:
~
DataControlOfferInterface
()
override
;
...
...
src/wayland/server/datacontrolsource_interface.cpp
View file @
c3094c68
...
...
@@ -24,6 +24,7 @@ public:
QStringList
mimeTypes
;
DataControlSourceInterface
*
q
;
protected:
void
zwlr_data_control_source_v1_destroy_resource
(
Resource
*
resource
)
override
;
void
zwlr_data_control_source_v1_offer
(
Resource
*
resource
,
const
QString
&
mime_type
)
override
;
...
...
@@ -82,7 +83,6 @@ wl_client *DataControlSourceInterface::client()
return
d
->
resource
()
->
client
();
}
DataControlSourceInterface
*
DataControlSourceInterface
::
get
(
wl_resource
*
native
)
{
auto
priv
=
static_cast
<
DataControlSourceInterfacePrivate
*>
(
QtWaylandServer
::
zwlr_data_control_source_v1
::
Resource
::
fromResource
(
native
)
->
object
());
...
...
src/wayland/server/datacontrolsource_interface.h
View file @
c3094c68
...
...
@@ -24,6 +24,7 @@ class DataControlSourceInterfacePrivate;
class
KWAYLANDSERVER_EXPORT
DataControlSourceInterface
:
public
AbstractDataSource
{
Q_OBJECT
public:
~
DataControlSourceInterface
()
override
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment