| 1 | /* |
| 2 | * Copyright 2015 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 | |
| 17 | #ifndef LISTITEMSELECTION_P_H |
| 18 | #define LISTITEMSELECTION_P_Hcxx . . $ `src/LomiriToolkit/privates/listitemselection_p.h:18:9`! |
| 19 | |
| 20 | #include <QtCore/QObject> |
| 21 | #include <QtCore/QPointer> |
| 22 | |
| 23 | #if QT_VERSIONcxx . . $ `<external>/15045578679651060896/qglobal.h:57:9`! >= QT_VERSION_CHECKcxx . . $ `<external>/15045578679651060896/qglobal.h:61:9`!(6, 0, 0) |
| 24 | #include <LomiriToolkit-Qt6/lomiritoolkitglobal.h> |
| 25 | #else |
| 26 | #include <LomiriToolkit/lomiritoolkitglobal.h>cxx . . $ `<file>/include/LomiriToolkit/lomiritoolkitglobal.h`/ |
| 27 | #endif |
| 28 | |
| 29 | UT_NAMESPACE_BEGINcxx . . $ `src/LomiriToolkit/lomiritoolkitglobal.h:52:9`! |
| 30 | |
| 31 | class UCViewItemsAttachedcxx . . $ UCViewItemsAttached#; |
| 32 | class UCListItemcxx . . $ UCListItem#; |
| 33 | class ListItemSelectioncxx . . $ ListItemSelection# : public QObjectcxx . . $ QObject# |
| 34 | { |
| 35 | Q_OBJECTcxx . . $ ListItemSelection#staticMetaObject. |
| 36 | public: |
| 37 | explicit ListItemSelectioncxx . . $ ListItemSelection#ListItemSelection(86a7e46896b48226).(UCListItemcxx . . $ UCListItem# *parent = 0); |
| 38 | |
| 39 | void attachToViewItemscxx . . $ ListItemSelection#attachToViewItems(4d540c782c40ed00).(UCViewItemsAttachedcxx . . $ UCViewItemsAttached# * newViewItems); |
| 40 | |
| 41 | bool inSelectModecxx . . $ ListItemSelection#inSelectMode(50ce9a9e25b4a850).() const; |
| 42 | void setSelectModecxx . . $ ListItemSelection#setSelectMode(b45ddcbc8423892c).(bool mode); |
| 43 | |
| 44 | bool isSelectedcxx . . $ ListItemSelection#isSelected(50ce9a9e25b4a850).() const; |
| 45 | void setSelectedcxx . . $ ListItemSelection#setSelected(b45ddcbc8423892c).(bool selected); |
| 46 | |
| 47 | void onSelectModeChangedcxx . . $ ListItemSelection#onSelectModeChanged(49f6e7a06ebc5aa8).(); |
| 48 | void onSelectedIndicesChangedcxx . . $ ListItemSelection#onSelectedIndicesChanged(27380459aebc118).(const QListcxx . . $ QList#<int> &indices); |
| 49 | |
| 50 | private: |
| 51 | QPointercxx . . $ QPointer#<UCViewItemsAttachedcxx . . $ UCViewItemsAttached#> viewItemscxx . . $ ListItemSelection#viewItems.; |
| 52 | UCListItemcxx . . $ UCListItem# *hostItemcxx . . $ ListItemSelection#hostItem.; |
| 53 | enumcxx . . $ ListItemSelection#$anonymous_type_0# { |
| 54 | SelectModeDirtycxx . . $ ListItemSelection#SelectModeDirty. = 0x01, |
| 55 | SelectedDirtycxx . . $ ListItemSelection#SelectedDirty. = 0x02 |
| 56 | }; |
| 57 | quint8cxx . . $ quint8# dirtyFlagscxx . . $ ListItemSelection#dirtyFlags.; |
| 58 | bool selectModecxx . . $ ListItemSelection#selectMode.:1; |
| 59 | bool selectedcxx . . $ ListItemSelection#selected.:1; |
| 60 | |
| 61 | void syncWithViewItemscxx . . $ ListItemSelection#syncWithViewItems(49f6e7a06ebc5aa8).(); |
| 62 | }; |
| 63 | |
| 64 | UT_NAMESPACE_ENDcxx . . $ `src/LomiriToolkit/lomiritoolkitglobal.h:53:9`! |
| 65 | |
| 66 | #endif // LISTITEMSELECTION_P_H |