| 1 | /* |
| 2 | Copyright (C) 2005-2014 Mario Stephan <[email protected]> |
| 3 | |
| 4 | This library is free software; you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as published |
| 6 | by the Free Software Foundation; either version 2.1 of the License, or |
| 7 | (at your option) any later version. |
| 8 | |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU Lesser General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #ifndef COLLECTIONSETUPMODEL_H |
| 19 | #define COLLECTIONSETUPMODEL_Hcxx . . $ `src/collectionsetupmodel.h:19:9`! |
| 20 | |
| 21 | #include <QTreeView> |
| 22 | #include <QDirModel> |
| 23 | |
| 24 | class CollectionSetupModelcxx . . $ CollectionSetupModel# : public QDirModelcxx . . $ QDirModel# |
| 25 | { |
| 26 | Q_OBJECTcxx . . $ CollectionSetupModel#tr(75d9f1c324b4579d). |
| 27 | public: |
| 28 | CollectionSetupModelcxx . . $ CollectionSetupModel#CollectionSetupModel(49f6e7a06ebc5aa8).(); |
| 29 | QStringListcxx . . $ QStringList# dirsCheckedcxx . . $ CollectionSetupModel#dirsChecked(669a05bc42dd57cc).(); |
| 30 | void setDirsCheckedcxx . . $ CollectionSetupModel#setDirsChecked(fc47db3ea09604d9).(QStringListcxx . . $ QStringList# list); |
| 31 | |
| 32 | private: |
| 33 | QSetcxx . . $ QSet#<QStringcxx . . $ QString#> checkedcxx . . $ CollectionSetupModel#checked.; |
| 34 | QSetcxx . . $ QSet#<QStringcxx . . $ QString#> checkedPartiallycxx . . $ CollectionSetupModel#checkedPartially.; |
| 35 | virtual Qtcxx . . $ Qt/::ItemFlagscxx . . $ Qt/ItemFlags# flagscxx . . $ CollectionSetupModel#flags(36b38c1b3d3f7b45).(const QModelIndexcxx . . $ QModelIndex#& index) const; |
| 36 | |
| 37 | virtual QVariantcxx . . $ QVariant# datacxx . . $ CollectionSetupModel#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex#& index, int role = Qtcxx . . $ Qt/::DisplayRolecxx . . $ Qt/DisplayRole.) const; |
| 38 | virtual QVariantcxx . . $ QVariant# headerDatacxx . . $ CollectionSetupModel#headerData(b8cfec0985494997).(int section, Qtcxx . . $ Qt/::Orientationcxx . . $ Qt/Orientation# orientation, int role) const; |
| 39 | |
| 40 | bool setDatacxx . . $ CollectionSetupModel#setData(6d1d8401440d0a2c).(const QModelIndexcxx . . $ QModelIndex#& index, const QVariantcxx . . $ QVariant#& value, int role = Qtcxx . . $ Qt/::EditRolecxx . . $ Qt/EditRole.); |
| 41 | }; |
| 42 | |
| 43 | #endif // COLLECTIONSETUPMODEL_H |