| 1 | /* |
| 2 | * Copyright 2013 Canonical Ltd. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU Lesser General Public License as published by |
| 6 | * the Free Software Foundation; version 3. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU Lesser General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU Lesser General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | * |
| 16 | * Author: Zsombor Egri <[email protected]> |
| 17 | */ |
| 18 | |
| 19 | #ifndef UCALARMSMODEL_P_H |
| 20 | #define UCALARMSMODEL_P_Hcxx . . $ `src/LomiriToolkit/ucalarmmodel_p.h:20:9`! |
| 21 | |
| 22 | #include <QtCore/QAbstractListModel> |
| 23 | #include <QtQml/QQmlParserStatus> |
| 24 | |
| 25 | #if QT_VERSIONcxx . . $ `<external>/15045578679651060896/qglobal.h:57:9`! >= QT_VERSION_CHECKcxx . . $ `<external>/15045578679651060896/qglobal.h:61:9`!(6, 0, 0) |
| 26 | #include <LomiriToolkit-Qt6/private/ucalarm_p_p.h> |
| 27 | #else |
| 28 | #include <LomiriToolkit/private/ucalarm_p_p.h>cxx . . $ `<file>/include/LomiriToolkit/5.5.0/LomiriToolkit/private/ucalarm_p_p.h`/ |
| 29 | #endif |
| 30 | |
| 31 | UT_NAMESPACE_BEGINcxx . . $ `src/LomiriToolkit/lomiritoolkitglobal.h:52:9`! |
| 32 | |
| 33 | class UCAlarmcxx . . $ UCAlarm#; |
| 34 | class LOMIRITOOLKIT_EXPORTcxx . . $ `src/LomiriToolkit/lomiritoolkitglobal.h:23:11`! UCAlarmModelcxx . . $ UCAlarmModel# : public QAbstractListModelcxx . . $ QAbstractListModel#, public QQmlParserStatuscxx . . $ QQmlParserStatus# |
| 35 | { |
| 36 | Q_OBJECTcxx . . $ UCAlarmModel#QPrivateSignal# |
| 37 | Q_INTERFACEScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:103:9`!(QQmlParserStatus) |
| 38 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int count READ count NOTIFY countChanged) |
| 39 | public: |
| 40 | explicit UCAlarmModelcxx . . $ UCAlarmModel#UCAlarmModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 41 | ~cxx . . $ UCAlarmModel#`~UCAlarmModel`(ced63f7c635d850d).UCAlarmModelcxx . . $ UCAlarmModel#(); |
| 42 | |
| 43 | void classBegincxx . . $ UCAlarmModel#classBegin(49f6e7a06ebc5aa8).() override; |
| 44 | void componentCompletecxx . . $ UCAlarmModel#componentComplete(49f6e7a06ebc5aa8).() override; |
| 45 | |
| 46 | int rowCountcxx . . $ UCAlarmModel#rowCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# &parent) const override; |
| 47 | QVariantcxx . . $ QVariant# datacxx . . $ UCAlarmModel#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex# &index, int role) const override; |
| 48 | |
| 49 | QHashcxx . . $ QHash#<int, QByteArraycxx . . $ QByteArray#> roleNamescxx . . $ UCAlarmModel#roleNames(404e830a028de8a7).() const override; |
| 50 | |
| 51 | // invokables |
| 52 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! UT_PREPEND_NAMESPACEcxx . . $ UCAlarm#(UCAlarm) *getcxx . . $ UCAlarmModel#get(f8b8fea250a0efce).(int index); |
| 53 | |
| 54 | // property getters |
| 55 | int countcxx . . $ UCAlarmModel#count(455f465bc33b4cdf).() const; |
| 56 | |
| 57 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 58 | void countChangedcxx . . $ UCAlarmModel#countChanged(49f6e7a06ebc5aa8).(); |
| 59 | |
| 60 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 61 | Q_REVISIONcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:107:10`!(1) void refreshcxx . . $ UCAlarmModel#refresh(49f6e7a06ebc5aa8).(); |
| 62 | |
| 63 | private Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 64 | void refreshStartcxx . . $ UCAlarmModel#refreshStart(49f6e7a06ebc5aa8).(); |
| 65 | void refreshEndcxx . . $ UCAlarmModel#refreshEnd(49f6e7a06ebc5aa8).(); |
| 66 | void updatecxx . . $ UCAlarmModel#update(d4f767463ce0a6b3).(int index); |
| 67 | void removeStartedcxx . . $ UCAlarmModel#removeStarted(d4f767463ce0a6b3).(int index); |
| 68 | void removeFinishedcxx . . $ UCAlarmModel#removeFinished(49f6e7a06ebc5aa8).(); |
| 69 | void insertStartedcxx . . $ UCAlarmModel#insertStarted(d4f767463ce0a6b3).(int index); |
| 70 | void insertFinishedcxx . . $ UCAlarmModel#insertFinished(49f6e7a06ebc5aa8).(); |
| 71 | void moveStartedcxx . . $ UCAlarmModel#moveStarted(3e454b8ccf442868).(int from, int to); |
| 72 | void moveFinishedcxx . . $ UCAlarmModel#moveFinished(49f6e7a06ebc5aa8).(); |
| 73 | |
| 74 | private: |
| 75 | bool m_movedcxx . . $ UCAlarmModel#m_moved.:1; |
| 76 | }; |
| 77 | |
| 78 | UT_NAMESPACE_ENDcxx . . $ `src/LomiriToolkit/lomiritoolkitglobal.h:53:9`! |
| 79 | |
| 80 | #endif // UCALARMSMODEL_P_H |