2 * Copyright (C) 2009 Sakari Poussa
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, version 2.
11 #include <QStringList>
19 enum Type { TypeRoot, TypeScore, TypeDate };
22 TreeItem(const QString &str);
23 TreeItem(Score *score);
27 void appendChild(TreeItem *item);
28 int childCount() const;
29 int columnCount() const;
30 TreeItem *child(int row);
31 QVariant data(int column) const;
39 QList<TreeItem *> children;