From f15384fea6f638bcfeab5c6a19b85e958ce7f917 Mon Sep 17 00:00:00 2001
From: Bhushan Shah <bshah@kde.org>
Date: Sun, 17 May 2015 12:57:49 +0530
Subject: [PATCH] Fix the build error in public headers

One should always use Q_SLOTS/Q_SIGNALS in then public headers

Change-Id: Ibbba0d3ff402bd320049bcd58ced07ad1342ef3b
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
---
 src/compositor/compositor_api/qwaylandsurface.h     | 2 +-
 src/compositor/compositor_api/qwaylandsurfaceitem.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/compositor/compositor_api/qwaylandsurface.h b/src/compositor/compositor_api/qwaylandsurface.h
index bc47e6763..653d74c1b 100644
--- a/src/compositor/compositor_api/qwaylandsurface.h
+++ b/src/compositor/compositor_api/qwaylandsurface.h
@@ -227,7 +227,7 @@ public:
 
     static QWaylandSurface *fromResource(::wl_resource *resource);
 
-public slots:
+public Q_SLOTS:
     void updateSelection();
 
 protected:
diff --git a/src/compositor/compositor_api/qwaylandsurfaceitem.h b/src/compositor/compositor_api/qwaylandsurfaceitem.h
index 7af8c8821..91dc6879b 100644
--- a/src/compositor/compositor_api/qwaylandsurfaceitem.h
+++ b/src/compositor/compositor_api/qwaylandsurfaceitem.h
@@ -102,11 +102,11 @@ protected:
     void touchEvent(QTouchEvent *event);
     void mouseUngrabEvent() Q_DECL_OVERRIDE;
 
-public slots:
+public Q_SLOTS:
     virtual void takeFocus(QWaylandInputDevice *device = 0);
     void setPaintEnabled(bool paintEnabled);
 
-private slots:
+private Q_SLOTS:
     void surfaceMapped();
     void surfaceUnmapped();
     void parentChanged(QWaylandSurface *newParent, QWaylandSurface *oldParent);
-- 
GitLab