Changeset View
Changeset View
Standalone View
Standalone View
interfaces/notificationsmodel.cpp
Show All 23 Lines | |||||
24 | #include <QDebug> | 24 | #include <QDebug> | ||
25 | #include <QDBusInterface> | 25 | #include <QDBusInterface> | ||
26 | 26 | | |||
27 | #include <KSharedConfig> | 27 | #include <KSharedConfig> | ||
28 | #include <QIcon> | 28 | #include <QIcon> | ||
29 | 29 | | |||
30 | //#include "modeltest.h" | 30 | //#include "modeltest.h" | ||
31 | 31 | | |||
32 | //In older Qt released, qAsConst isnt available | ||||
33 | #include "core/qtcompat_p.h" | ||||
34 | | ||||
apol: Use your fancy header? | |||||
32 | NotificationsModel::NotificationsModel(QObject* parent) | 35 | NotificationsModel::NotificationsModel(QObject* parent) | ||
33 | : QAbstractListModel(parent) | 36 | : QAbstractListModel(parent) | ||
34 | , m_dbusInterface(nullptr) | 37 | , m_dbusInterface(nullptr) | ||
35 | { | 38 | { | ||
36 | 39 | | |||
37 | //new ModelTest(this, this); | 40 | //new ModelTest(this, this); | ||
38 | 41 | | |||
39 | connect(this, &QAbstractItemModel::rowsInserted, | 42 | connect(this, &QAbstractItemModel::rowsInserted, | ||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |
Use your fancy header?