42 #ifndef QTREEWIDGETITEMITERATOR_H 43 #define QTREEWIDGETITEMITERATOR_H 45 #include <QtCore/qglobal.h> 46 #include <QtCore/qscopedpointer.h> 54 #ifndef QT_NO_TREEWIDGET 69 NotHidden = 0x00000002,
70 Selected = 0x00000004,
71 Unselected = 0x00000008,
72 Selectable = 0x00000010,
73 NotSelectable = 0x00000020,
74 DragEnabled = 0x00000040,
75 DragDisabled = 0x00000080,
76 DropEnabled = 0x00000100,
77 DropDisabled = 0x00000200,
78 HasChildren = 0x00000400,
79 NoChildren = 0x00000800,
81 NotChecked = 0x00002000,
83 Disabled = 0x00008000,
85 NotEditable = 0x00020000,
132 return (*
this) -= (-n);
133 while (current && n--)
141 return (*
this) += (-n);
142 while (current && n--)
156 #endif // QT_NO_TREEWIDGET 159 #endif // QTREEWIDGETITEMITERATOR_H #define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
#define it(className, varName)
QTreeWidgetItem * item(const QModelIndex &index) const
Returns the tree view item corresponding to the index given.
friend class QTreeWidgetItemIterator
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
timeval operator*(const timeval &t1, int mul)
#define Q_DECLARE_PRIVATE(Class)
timeval & operator+=(timeval &t1, const timeval &t2)
Qt::ItemFlags flags(const QModelIndex &index) const
Returns the flags for the item referred to the given index.