Commit aac5265f authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Pedantic whitespace changes

parent d8b553e7
......@@ -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);
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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());
......
......@@ -24,6 +24,7 @@ class DataControlSourceInterfacePrivate;
class KWAYLANDSERVER_EXPORT DataControlSourceInterface : public AbstractDataSource
{
Q_OBJECT
public:
~DataControlSourceInterface() override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment