/*
* Version $Id: medialist.h 4230 2007-02-21 20:07:37Z kerns $
*
- * Kern Sibbald, January 2007
+ * Dirk Bentley, March 2007
*/
#include <QtGui>
#include "console.h"
#include <qstringlist.h>
-class MediaList : public QWidget, public Ui::MediaListForm
+class MediaList : public Pages, public Ui::MediaListForm
{
Q_OBJECT
public:
- MediaList(QStackedWidget *parent,Console *console);
- void populateTree();
-
+ MediaList(QStackedWidget *parent,Console *console, QTreeWidgetItem *treeItem, int indexseq);
+ ~MediaList();
+ virtual void PgSeltreeWidgetClicked();
+ virtual void PgSeltreeWidgetDoubleClicked();
public slots:
void treeItemClicked(QTreeWidgetItem *item, int column);
private:
Console *m_console;
QTreeWidget *m_treeWidget;
- QStringList *poollist;
- QString popupmedia;
+ QString m_popuptext;
+ bool m_populated;
+ void populateTree();
};
#endif /* _MEDIALIST_H_ */