From 35757aef8ffb271747395163b7ea857f921e6ab6 Mon Sep 17 00:00:00 2001 From: Alexandr Akulich Date: Sat, 12 Apr 2014 21:51:35 +0200 Subject: [PATCH] NotificationsModel: isAnyDimissable() marked as invokable method. --- libkdeconnect/notificationsmodel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libkdeconnect/notificationsmodel.h b/libkdeconnect/notificationsmodel.h index 6a8fca64a..2532df0b5 100644 --- a/libkdeconnect/notificationsmodel.h +++ b/libkdeconnect/notificationsmodel.h @@ -58,9 +58,10 @@ public: NotificationDbusInterface* getNotification(const QModelIndex& index) const; + Q_INVOKABLE bool isAnyDimissable() const; + public Q_SLOTS: void dismissAll(); - bool isAnyDimissable() const; private Q_SLOTS: void notificationAdded(const QString& id);