blob: 3c2e712c3c56bdf9fb7f04dd2808045f8aa256d8 (
plain) (
tree)
|
|
#ifndef QMPPLISTWINDOW_H
#define QMPPLISTWINDOW_H
#include <QDialog>
#include <QCloseEvent>
#include <QListWidgetItem>
namespace Ui {
class qmpplistwindow;
}
class qmpplistwindow : public QDialog
{
Q_OBJECT
public:
explicit qmpplistwindow(QWidget *parent=0);
~qmpplistwindow();
void closeEvent(QCloseEvent *event);
int getRepeat();
QString getFirstItem();
QString getNextItem();
QString getPrevItem();
QString getSelectedItem();
//void loadPList(const char*);
//void savePList(const char*);
signals:
void dialogClosing();
void selectionChanging();
private slots:
void on_pbAdd_clicked();
void on_pbAddFolder_clicked();
void on_pbRemove_clicked();
void on_pbClear_clicked();
void on_pbRepeat_clicked();
void on_pbShuffle_clicked();
void on_lwFiles_itemDoubleClicked();
private:
Ui::qmpplistwindow *ui;
int shuffle,repeat;//rep 0=off 1=one 2=all
};
#endif // QMPPLISTWINDOW_H
|