Debian Codegraph @

src/collectiontreeitem.h

raw symbols SCIP
1 /*
2 Copyright (C) 2005-2014 Mario Stephan <[email protected]>
3
4 This library is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as published
6 by the Free Software Foundation; either version 2.1 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef COLLECTIONTREEITEM_H
19 #define COLLECTIONTREEITEM_H
20
21 #include <QTreeWidgetItem>
22
23 class CollectionTreeItem : public QWidget, public QTreeWidgetItem {
24 Q_OBJECT
25 public:
26 explicit CollectionTreeItem(QObject* parent = 0, int type = Type);
27 CollectionTreeItem(QTreeWidget* parent = 0, int type = Type);
28 CollectionTreeItem(QTreeWidgetItem* parent = 0, int type = Type);
29 ~CollectionTreeItem();
30
31 QString artist();
32 QString album();
33 QString year();
34 QString genre();
35 void setArtist(QString value);
36 void setAlbum(QString value);
37 void setYear(QString value);
38 void setGenre(QString value);
39 void setTextString(QString value);
40
41 signals:
42
43 public slots:
44
45 private:
46 struct CollectionTreeItemPrivate* p;
47 };
48
49 #endif // COLLECTIONTREEITEM_H