Added start of new Medialib view
This commit is contained in:
parent
219327ca20
commit
d114edf75f
12 changed files with 194 additions and 27 deletions
24
MedialibTreeModel.h
Normal file
24
MedialibTreeModel.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef __MEDIALIBTREEMODEL_H__
|
||||
#define __MEDIALIBTREEMODEL_H__
|
||||
|
||||
#include "XMMSSocket.h"
|
||||
#include <QAbstractTableModel>
|
||||
|
||||
class MedialibTreeModel : public QAbstractTableModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MedialibTreeModel (QObject *parent);
|
||||
MedialibTreeModel::~MedialibTreeModel () {};
|
||||
|
||||
/* QModel overrides */
|
||||
int rowCount (const QModelIndex &parent) const;
|
||||
int columnCount (const QModelIndex &parent) const;
|
||||
QVariant data (const QModelIndex &parent, int role = Qt::DisplayRole) const;
|
||||
QVariant headerData (int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
|
||||
|
||||
private:
|
||||
XMMSSocket m_socket;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue