Debian Codegraph @

src/stylemodel.h

raw symbols SCIP
1 /***************************************************************************
2 stylemodel.h
3 -------------------
4 Style model
5 -------------------
6 Copyright 2006-2008, David Johnson
7 All rights reserved.
8
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions
11 are met:
12
13 1. Redistributions of source code must retain the above copyright
14 notice, this list of conditions and the following disclaimer.
15
16 2. Redistributions in binary form must reproduce the above copyright
17 notice, this list of conditions and the following disclaimer in the
18 documentation and/or other materials provided with the distribution.
19
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 ***************************************************************************/
32
33 #ifndef STYLEMODEL_H
34 #define STYLEMODEL_Hcxx . . $ `src/stylemodel.h:34:9`!
35
36 #include <QAbstractTableModel>
37 #include <QModelIndex>
38 #include <QVariant>
39
40 #include "style.h"cxx . . $ `<file>/src/style.h`/
41
42 class StyleModelcxx . . $ StyleModel# : public QAbstractTableModelcxx . . $ QAbstractTableModel# {
43 Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`!
44 public:
45 // model columns
46 enumcxx . . $ StyleModel#$anonymous_type_0# { NAMEcxx . . $ StyleModel#NAME., OGLOWcxx . . $ StyleModel#OGLOW., OGHIcxx . . $ StyleModel#OGHI., FGLOWcxx . . $ StyleModel#FGLOW., FGHIcxx . . $ StyleModel#FGHI., IBULOWcxx . . $ StyleModel#IBULOW., IBUHIcxx . . $ StyleModel#IBUHI., SRMLOWcxx . . $ StyleModel#SRMLOW., SRMHIcxx . . $ StyleModel#SRMHI., COUNTcxx . . $ StyleModel#COUNT. };
47
48 StyleModelcxx . . $ StyleModel#StyleModel(18a1c0fddfd4057f).(QObjectcxx . . $ QObject# *parent, StyleListcxx . . $ StyleList# *list);
49 ~cxx . . $ StyleModel#`~StyleModel`(ced63f7c635d850d).StyleModelcxx . . $ StyleModel#();
50
51 QVariantcxx . . $ QVariant# datacxx . . $ StyleModel#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex# &index, int role) const;
52 bool setDatacxx . . $ StyleModel#setData(6d1d8401440d0a2c).(const QModelIndexcxx . . $ QModelIndex# &index, const QVariantcxx . . $ QVariant# &value,
53 int role = Qtcxx . . $ Qt/::EditRolecxx . . $ Qt/EditRole.);
54 Qtcxx . . $ Qt/::ItemFlagscxx . . $ Qt/ItemFlags# flagscxx . . $ StyleModel#flags(36b38c1b3d3f7b45).(const QModelIndexcxx . . $ QModelIndex# &index) const;
55 QVariantcxx . . $ QVariant# headerDatacxx . . $ StyleModel#headerData(b8cfec0985494997).(int section, Qtcxx . . $ Qt/::Orientationcxx . . $ Qt/Orientation# orientation,
56 int role = Qtcxx . . $ Qt/::DisplayRolecxx . . $ Qt/DisplayRole.) const;
57 bool insertRowscxx . . $ StyleModel#insertRows(c4e00837c4ba3150).(int row, int count,
58 const QModelIndexcxx . . $ QModelIndex# & parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).());
59 bool removeRowscxx . . $ StyleModel#removeRows(c4e00837c4ba3150).(int row, int count,
60 const QModelIndexcxx . . $ QModelIndex# &parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).());
61 int rowCountcxx . . $ StyleModel#rowCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# &parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).()) const;
62 int columnCountcxx . . $ StyleModel#columnCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# &parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).()) const;
63
64 void sortcxx . . $ StyleModel#sort(11168df8d4e8286d).(int column, Qtcxx . . $ Qt/::SortOrdercxx . . $ Qt/SortOrder# order = Qtcxx . . $ Qt/::AscendingOrdercxx . . $ Qt/AscendingOrder.);
65
66 void flushcxx . . $ StyleModel#flush(49f6e7a06ebc5aa8).();
67
68 signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!:
69 void modifiedcxx . . $ StyleModel#modified(49f6e7a06ebc5aa8).();
70
71 private:
72 StyleListcxx . . $ StyleList# *list_cxx . . $ StyleModel#list_.;
73 };
74
75 #endif // STYLEMODEL_H