/*
* Version $Id: medialist.h 4230 2007-02-21 20:07:37Z kerns $
*
- * Kern Sibbald, January 2007
+ * Dirk Bentley, March 2007
*/
#include <QtGui>
#include "ui_medialist.h"
#include "console.h"
#include <qstringlist.h>
-#include "batstack.h"
-class MediaList : public BatStack, 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 *m_poollist;
- QString m_popupmedia;
- //QStackedWidget *m_parent;
+ QString m_popuptext;
+ bool m_populated;
+ void populateTree();
};
#endif /* _MEDIALIST_H_ */