Set default arguments
This commit is contained in:
committed by
craig.p.drummond
parent
7c0c32899f
commit
db1482f63f
@@ -38,9 +38,9 @@ class MultiMusicModel : public MusicModel
|
||||
public:
|
||||
MultiMusicModel(QObject *parent = 0);
|
||||
~MultiMusicModel();
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent) const;
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const;
|
||||
QModelIndex parent(const QModelIndex &index) const;
|
||||
int rowCount(const QModelIndex &parent) const;
|
||||
int rowCount(const QModelIndex &parent=QModelIndex()) const;
|
||||
void getDetails(QSet<QString> &artists, QSet<QString> &albumArtists, QSet<QString> &albums, QSet<QString> &genres);
|
||||
void toggleGrouping();
|
||||
QList<Song> songs(const QModelIndexList &indexes, bool playableOnly=false, bool fullPath=false) const;
|
||||
|
||||
@@ -34,9 +34,9 @@ public:
|
||||
MusicModel(QObject *parent = 0);
|
||||
~MusicModel();
|
||||
virtual const MusicLibraryItemRoot * root(const MusicLibraryItem *item) const;
|
||||
QVariant headerData(int, Qt::Orientation, int) const { return QVariant(); }
|
||||
int columnCount(const QModelIndex &) const { return 1; }
|
||||
QVariant data(const QModelIndex &, int) const;
|
||||
QVariant headerData(int, Qt::Orientation, int = Qt::DisplayRole) const { return QVariant(); }
|
||||
int columnCount(const QModelIndex & = QModelIndex()) const { return 1; }
|
||||
QVariant data(const QModelIndex &, int = Qt::DisplayRole) const;
|
||||
|
||||
virtual int row(void *) const { return 0; }
|
||||
|
||||
@@ -47,4 +47,3 @@ public:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user