summaryrefslogtreecommitdiffstats
path: root/src/groupiterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/groupiterator.h')
-rw-r--r--src/groupiterator.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/groupiterator.h b/src/groupiterator.h
new file mode 100644
index 0000000..a77b7ea
--- /dev/null
+++ b/src/groupiterator.h
@@ -0,0 +1,43 @@
+/***************************************************************************
+ copyright : (C) 2005-2006 by Robby Stephenson
+ email : robby@periapsis.org
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of version 2 of the GNU General Public License as *
+ * published by the Free Software Foundation; *
+ * *
+ ***************************************************************************/
+
+#ifndef TELLICO_GROUPITERATOR_H
+#define TELLICO_GROUPITERATOR_H
+
+class QListView;
+
+namespace Tellico {
+ namespace Data {
+ class EntryGroup;
+ }
+ namespace GUI {
+ class ListViewItem;
+ }
+
+/**
+ * @author Robby Stephenson
+ */
+class GroupIterator{
+public:
+ GroupIterator(const QListView* view);
+
+ GroupIterator& operator++();
+ Data::EntryGroup* group();
+
+private:
+ GUI::ListViewItem* m_item;
+};
+
+}
+
+#endif