| 1 | /* |
| 2 | * Copyright (C) 2013 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-ui |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License version 3, as published |
| 10 | * by the Free Software Foundation. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranties of |
| 14 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 15 | * PURPOSE. See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #ifndef OAU_ACCESS_MODEL_H |
| 22 | #define OAU_ACCESS_MODEL_Hcxx . . $ `online-accounts-ui/src/access-model.h:22:9`! |
| 23 | |
| 24 | #include <QSortFilterProxyModel> |
| 25 | |
| 26 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 27 | |
| 28 | class AccessModelPrivatecxx . . $ OnlineAccountsUi/AccessModelPrivate#; |
| 29 | class AccessModelcxx . . $ OnlineAccountsUi/AccessModel#: public QSortFilterProxyModelcxx . . $ QSortFilterProxyModel# |
| 30 | { |
| 31 | Q_OBJECTcxx . . $ OnlineAccountsUi/AccessModel#trUtf8(75d9f1c324b4579d). |
| 32 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QAbstractItemModel *accountModel READ accountModel \ |
| 33 | WRITE setAccountModel NOTIFY accountModelChanged) |
| 34 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int count READ rowCount NOTIFY countChanged) |
| 35 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QString applicationId READ applicationId \ |
| 36 | WRITE setApplicationId NOTIFY applicationIdChanged) |
| 37 | |
| 38 | public: |
| 39 | explicit AccessModelcxx . . $ OnlineAccountsUi/AccessModel#AccessModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 40 | ~cxx . . $ OnlineAccountsUi/AccessModel#`~AccessModel`(ced63f7c635d850d).AccessModelcxx . . $ OnlineAccountsUi/AccessModel#(); |
| 41 | |
| 42 | void setAccountModelcxx . . $ OnlineAccountsUi/AccessModel#setAccountModel(c6e1f1e42522b780).(QAbstractItemModelcxx . . $ QAbstractItemModel# *accountModel); |
| 43 | QAbstractItemModelcxx . . $ QAbstractItemModel# *accountModelcxx . . $ OnlineAccountsUi/AccessModel#accountModel(c9c1e11e7bd96493).() const; |
| 44 | |
| 45 | void setApplicationIdcxx . . $ OnlineAccountsUi/AccessModel#setApplicationId(3520e46b33348bf6).(const QStringcxx . . $ QString# &applicationId); |
| 46 | QStringcxx . . $ QString# applicationIdcxx . . $ OnlineAccountsUi/AccessModel#applicationId(6ef7b6c27b00b43d).() const; |
| 47 | |
| 48 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QVariantcxx . . $ QVariant# getcxx . . $ OnlineAccountsUi/AccessModel#get(2d155939dc996343).(int row, const QStringcxx . . $ QString# &roleName) const; |
| 49 | |
| 50 | protected: |
| 51 | bool filterAcceptsRowcxx . . $ OnlineAccountsUi/AccessModel#filterAcceptsRow(5556b7879475181c).(int source_row, |
| 52 | const QModelIndexcxx . . $ QModelIndex# &source_parent) const Q_DECL_OVERRIDEcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:1137:10`!; |
| 53 | |
| 54 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 55 | void accountModelChangedcxx . . $ OnlineAccountsUi/AccessModel#accountModelChanged(49f6e7a06ebc5aa8).(); |
| 56 | void countChangedcxx . . $ OnlineAccountsUi/AccessModel#countChanged(49f6e7a06ebc5aa8).(); |
| 57 | void applicationIdChangedcxx . . $ OnlineAccountsUi/AccessModel#applicationIdChanged(49f6e7a06ebc5aa8).(); |
| 58 | |
| 59 | private: |
| 60 | AccessModelPrivatecxx . . $ OnlineAccountsUi/AccessModelPrivate# *d_ptrcxx . . $ OnlineAccountsUi/AccessModel#d_ptr.; |
| 61 | Q_DECLARE_PRIVATEcxx . . $ `<external>/15045578679651060896/qglobal.h:1158:9`!(AccessModel) |
| 62 | }; |
| 63 | |
| 64 | } // namespace |
| 65 | |
| 66 | #endif // OAU_ACCESS_MODEL_H |