Documentation
¶
Index ¶
- Variables
- func CreateNewAlbum(artistId int, albumId int, title string, year int)
- func CreateNewArtist(artistId int, name string)
- func DeleteAlbum(ID int)
- func GetAlbumCountForArtist(name string) int
- func GetNextAlbumID() int
- func GetNextArtistID() int
- func NewListModel() *core.QAbstractItemModel
- func NewSortFilterModel() *core.QAbstractItemModel
- func NewViewModel() *core.QAbstractItemModel
- type Album
- type Artist
- type ViewModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ListModel *listModel
View Source
var SortFilterModel *sortFilterModel
Functions ¶
func CreateNewArtist ¶
func DeleteAlbum ¶
func DeleteAlbum(ID int)
func GetAlbumCountForArtist ¶
func GetNextAlbumID ¶
func GetNextAlbumID() int
func GetNextArtistID ¶
func GetNextArtistID() int
func NewListModel ¶
func NewListModel() *core.QAbstractItemModel
func NewSortFilterModel ¶
func NewSortFilterModel() *core.QAbstractItemModel
func NewViewModel ¶
func NewViewModel() *core.QAbstractItemModel
Types ¶
type Artist ¶
func GetArtistForName ¶
type ViewModel ¶
type ViewModel struct {
*core.QAbstractTableModel
}
Click to show internal directories.
Click to hide internal directories.