| 1 | /* |
| 2 | * Copyright (C) 2011 Canonical Ltd. |
| 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 3 as |
| 6 | * published by the Free Software Foundation. |
| 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 General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | * |
| 16 | * Authors: |
| 17 | * Jim Nelson <[email protected]> |
| 18 | * Lucas Beeler <[email protected]> |
| 19 | */ |
| 20 | |
| 21 | #ifndef GALLERY_QML_MEDIA_COLLECTION_MODEL_H_ |
| 22 | #define GALLERY_QML_MEDIA_COLLECTION_MODEL_H_cxx . . $ `src/qml/qml-media-collection-model.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QVariant> |
| 26 | #include <QtQml> |
| 27 | |
| 28 | #include "qml-view-collection-model.h"cxx . . $ `<file>/src/qml/qml-view-collection-model.h`/ |
| 29 | |
| 30 | class DataObjectcxx . . $ DataObject#; |
| 31 | |
| 32 | /*! |
| 33 | * \brief The QmlMediaCollectionModel class |
| 34 | */ |
| 35 | class QmlMediaCollectionModelcxx . . $ QmlMediaCollectionModel# : public QmlViewCollectionModelcxx . . $ QmlViewCollectionModel# |
| 36 | { |
| 37 | Q_OBJECTcxx . . $ QmlMediaCollectionModel#staticMetaObject. |
| 38 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool monitored READ monitored WRITE setMonitored |
| 39 | NOTIFY monitoringChanged) |
| 40 | |
| 41 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 42 | void monitoringChangedcxx . . $ QmlMediaCollectionModel#monitoringChanged(49f6e7a06ebc5aa8).(); |
| 43 | |
| 44 | public: |
| 45 | QmlMediaCollectionModelcxx . . $ QmlMediaCollectionModel#QmlMediaCollectionModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 46 | QmlMediaCollectionModelcxx . . $ QmlMediaCollectionModel#QmlMediaCollectionModel(65a711cd275323a1).(QObjectcxx . . $ QObject#* parent, DataObjectComparatorcxx . . $ DataObjectComparator# defaultComparator); |
| 47 | |
| 48 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QVariantcxx . . $ QVariant# createAlbumFromSelectedcxx . . $ QmlMediaCollectionModel#createAlbumFromSelected(7eea96addcfda01f).(); |
| 49 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! void destroySelectedMediacxx . . $ QmlMediaCollectionModel#destroySelectedMedia(49f6e7a06ebc5aa8).(); |
| 50 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! void destroyMediacxx . . $ QmlMediaCollectionModel#destroyMedia(144c1d8f29f41e0a).(QVariantcxx . . $ QVariant# vmedia, bool destroy_backing); |
| 51 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! void removeMediaFromAlbumcxx . . $ QmlMediaCollectionModel#removeMediaFromAlbum(69045cd23a58fe18).(QVariantcxx . . $ QVariant# valbum, QVariantcxx . . $ QVariant# vmedia); |
| 52 | |
| 53 | bool monitoredcxx . . $ QmlMediaCollectionModel#monitored(50ce9a9e25b4a850).() const; |
| 54 | void setMonitoredcxx . . $ QmlMediaCollectionModel#setMonitored(b45ddcbc8423892c).(bool monitor); |
| 55 | bool isAcceptedcxx . . $ QmlMediaCollectionModel#isAccepted(a2502829ae59727d).(DataObjectcxx . . $ DataObject# *item); |
| 56 | |
| 57 | protected: |
| 58 | virtual QVariantcxx . . $ QVariant# toVariantcxx . . $ QmlMediaCollectionModel#toVariant(46f3f070df5f0d3b).(DataObjectcxx . . $ DataObject#* object) const; |
| 59 | virtual DataObjectcxx . . $ DataObject#* fromVariantcxx . . $ QmlMediaCollectionModel#fromVariant(bdcd53038e509dcb).(QVariantcxx . . $ QVariant# var) const; |
| 60 | }; |
| 61 | |
| 62 | QML_DECLARE_TYPEcxx . . $ QBasicAtomicInteger#QBasicAtomicInteger(9b289cee16747614).(QmlMediaCollectionModel) |
| 63 | |
| 64 | #endif // GALLERY_QML_MEDIA_COLLECTION_MODEL_H_ |