~BrowseMainWindow();
public slots:
+ void init();
void browseDirectory(QString);
void onBrowse();
void onPlay();
void onAddToPlaylist();
void onListSelectionChanged();
+ void finished(QNetworkReply * reply);
+ void readReady();
protected slots:
void parseXmlDirectory();
protected:
void changeEvent(QEvent *e);
VlcBrowseElement getElementFromText(QString text);
+ void writeFile(QString path, QByteArray text);
private:
Ui::BrowseMainWindow *ui;
QString mIp;
QList<VlcBrowseElement>* mContents;
VlcBrowseElement mCurrentElement;
+ QByteArray mResponse;
};
#endif // BROWSEMAINWINDOW_H