| 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 | * Authors: |
| 17 | * Nicholas Dedekind <[email protected] |
| 18 | */ |
| 19 | |
| 20 | #ifndef AYATANAMENUMODELEVENTS_H |
| 21 | #define AYATANAMENUMODELEVENTS_Hcxx . . $ `libqmenumodel/src/ayatanamenumodelevents.h:21:9`! |
| 22 | |
| 23 | #include <QEvent> |
| 24 | #include <glib.h> |
| 25 | |
| 26 | typedef struct _GtkMenuTrackerItemcxx . . $ _GtkMenuTrackerItem# GtkMenuTrackerItemcxx . . $ GtkMenuTrackerItem#; |
| 27 | |
| 28 | /* Event for a ayatanamenumodel clear */ |
| 29 | class AyatanaMenuModelClearEventcxx . . $ AyatanaMenuModelClearEvent# : public QEventcxx . . $ QEvent# |
| 30 | { |
| 31 | public: |
| 32 | static const QEventcxx . . $ QEvent#::Typecxx . . $ QEvent#Type# eventTypecxx . . $ AyatanaMenuModelClearEvent#eventType.; |
| 33 | AyatanaMenuModelClearEventcxx . . $ AyatanaMenuModelClearEvent#AyatanaMenuModelClearEvent(b45ddcbc8423892c).(bool reset); |
| 34 | |
| 35 | bool resetcxx . . $ AyatanaMenuModelClearEvent#reset.; |
| 36 | }; |
| 37 | |
| 38 | /* Event for a row add for ayatanamenumodel */ |
| 39 | class AyatanaMenuModelAddRowEventcxx . . $ AyatanaMenuModelAddRowEvent# : public QEventcxx . . $ QEvent# |
| 40 | { |
| 41 | public: |
| 42 | static const QEventcxx . . $ QEvent#::Typecxx . . $ QEvent#Type# eventTypecxx . . $ AyatanaMenuModelAddRowEvent#eventType.; |
| 43 | AyatanaMenuModelAddRowEventcxx . . $ AyatanaMenuModelAddRowEvent#AyatanaMenuModelAddRowEvent(a9bf79c3455f9f51).(GPtrArray *_items, int position); |
| 44 | ~cxx . . $ AyatanaMenuModelAddRowEvent#`~AyatanaMenuModelAddRowEvent`(ced63f7c635d850d).AyatanaMenuModelAddRowEventcxx . . $ AyatanaMenuModelAddRowEvent#(); |
| 45 | |
| 46 | GPtrArray *itemscxx . . $ AyatanaMenuModelAddRowEvent#items.; |
| 47 | int positioncxx . . $ AyatanaMenuModelAddRowEvent#position.; |
| 48 | }; |
| 49 | |
| 50 | /* Event for a row remove for ayatanamenumodel */ |
| 51 | class AyatanaMenuModelRemoveRowEventcxx . . $ AyatanaMenuModelRemoveRowEvent# : public QEventcxx . . $ QEvent# |
| 52 | { |
| 53 | public: |
| 54 | static const QEventcxx . . $ QEvent#::Typecxx . . $ QEvent#Type# eventTypecxx . . $ AyatanaMenuModelRemoveRowEvent#eventType.; |
| 55 | AyatanaMenuModelRemoveRowEventcxx . . $ AyatanaMenuModelRemoveRowEvent#AyatanaMenuModelRemoveRowEvent(3e454b8ccf442868).(int position, int nItems); |
| 56 | |
| 57 | int positioncxx . . $ AyatanaMenuModelRemoveRowEvent#position.; |
| 58 | int nItemscxx . . $ AyatanaMenuModelRemoveRowEvent#nItems.; |
| 59 | }; |
| 60 | |
| 61 | /* Event for a row data change for ayatanamenumodel */ |
| 62 | class AyatanaMenuModelDataChangeEventcxx . . $ AyatanaMenuModelDataChangeEvent# : public QEventcxx . . $ QEvent# |
| 63 | { |
| 64 | public: |
| 65 | static const QEventcxx . . $ QEvent#::Typecxx . . $ QEvent#Type# eventTypecxx . . $ AyatanaMenuModelDataChangeEvent#eventType.; |
| 66 | AyatanaMenuModelDataChangeEventcxx . . $ AyatanaMenuModelDataChangeEvent#AyatanaMenuModelDataChangeEvent(d4f767463ce0a6b3).(int position); |
| 67 | |
| 68 | int positioncxx . . $ AyatanaMenuModelDataChangeEvent#position.; |
| 69 | }; |
| 70 | |
| 71 | #endif //AYATANAMENUMODELEVENTS_H |