summaryrefslogtreecommitdiff
path: root/src/lib/xdgnotificationactions.cpp
diff options
context:
space:
mode:
authorFabien Proriol <fabien.proriol@kazoe.org>2025-05-25 17:02:01 +0200
committerFabien Proriol <fabien.proriol@kazoe.org>2025-05-26 16:35:23 +0200
commit5f85571d52e9f82486a379d017eb36eda2a9f30e (patch)
tree3a2ef9cfea0bdbb4872be48f2eb010d730937a90 /src/lib/xdgnotificationactions.cpp
parent1dbc0e3c88ba271ba35bc3f82e7864c4f35e1236 (diff)
Change module to org.kazoe.xdg
Diffstat (limited to 'src/lib/xdgnotificationactions.cpp')
-rw-r--r--src/lib/xdgnotificationactions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/xdgnotificationactions.cpp b/src/lib/xdgnotificationactions.cpp
index afa7c19..8808a6f 100644
--- a/src/lib/xdgnotificationactions.cpp
+++ b/src/lib/xdgnotificationactions.cpp
@@ -1,18 +1,18 @@
#include "xdgnotificationactions.h"
#include <QDebug>
-xdg::NotificationActions::NotificationActions(QObject *parent)
+KaZoe::NotificationActions::NotificationActions(QObject *parent)
: QAbstractListModel(parent)
{
}
-QStringList xdg::NotificationActions::actionslist() const
+QStringList KaZoe::NotificationActions::actionslist() const
{
return m_actionslist;
}
-void xdg::NotificationActions::setActionslist(const QStringList &newActionslist)
+void KaZoe::NotificationActions::setActionslist(const QStringList &newActionslist)
{
if(newActionslist.count() % 2 != 0)
{
@@ -34,12 +34,12 @@ void xdg::NotificationActions::setActionslist(const QStringList &newActionslist)
emit actionslistChanged();
}
-int xdg::NotificationActions::rowCount(const QModelIndex &parent) const
+int KaZoe::NotificationActions::rowCount(const QModelIndex &parent) const
{
return m_actions.count();
}
-QVariant xdg::NotificationActions::data(const QModelIndex &index, int role) const
+QVariant KaZoe::NotificationActions::data(const QModelIndex &index, int role) const
{
if(index.row() > m_actions.count())
return QVariant();
@@ -54,7 +54,7 @@ QVariant xdg::NotificationActions::data(const QModelIndex &index, int role) cons
return QVariant();
}
-QHash<int, QByteArray> xdg::NotificationActions::roleNames() const
+QHash<int, QByteArray> KaZoe::NotificationActions::roleNames() const
{
QHash<int, QByteArray> roles = QAbstractItemModel::roleNames();
roles[KeyRole] = "key";