QtGui/qtreewidgetitemiterator.h Source File
Go to the documentation of this file.
42 #ifndef QTREEWIDGETITEMITERATOR_H
43 #define QTREEWIDGETITEMITERATOR_H
54 #ifndef QT_NO_TREEWIDGET
60 class QTreeWidgetItemIteratorPrivate;
63 friend class QTreeModel;
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,
84 Editable = 0x00010000,
85 NotEditable = 0x00020000,
88 Q_DECLARE_FLAGS(IteratorFlags, IteratorFlag)
115 inline const QTreeWidgetItemIterator QTreeWidgetItemIterator::operator++(
int)
117 QTreeWidgetItemIterator it = *
this;
132 return (*
this) -= (-
n);
133 while (current && n--)
141 return (*
this) += (-
n);
142 while (current && n--)
152 Q_DECLARE_OPERATORS_FOR_FLAGS(QTreeWidgetItemIterator::IteratorFlags)
156 #endif // QT_NO_TREEWIDGET
159 #endif // QTREEWIDGETITEMITERATOR_H
#define QT_BEGIN_NAMESPACE