Changeset 46 for gui/musiclibraryitem.cpp
- Timestamp:
- 01/09/08 12:40:44 (4 years ago)
- File:
-
- 1 edited
-
gui/musiclibraryitem.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gui/musiclibraryitem.cpp
r19 r46 7 7 { 8 8 this->_type = type; 9 this->_file = NULL; 9 10 parentItem = parent; 10 11 itemData = data; … … 16 17 } 17 18 18 void MusicLibraryItem::appendChild(MusicLibraryItem * item)19 void MusicLibraryItem::appendChild(MusicLibraryItem * const item) 19 20 { 20 21 childItems.append(item); 21 22 } 22 23 23 MusicLibraryItem * MusicLibraryItem::child(int row)24 MusicLibraryItem * MusicLibraryItem::child(int row) 24 25 { 25 26 return childItems.value(row); … … 41 42 } 42 43 43 MusicLibraryItem *MusicLibraryItem::parent() 44 MusicLibraryItem *MusicLibraryItem::parent() const 44 45 { 45 46 return parentItem; 46 47 } 47 48 48 void MusicLibraryItem::setParent(MusicLibraryItem * parent)49 void MusicLibraryItem::setParent(MusicLibraryItem * const parent) 49 50 { 50 51 parentItem = parent;
Note: See TracChangeset
for help on using the changeset viewer.
