X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=browsemainwindow.h;h=aa51ef9f16dc6859e3c340f3198b0e3638027e59;hb=b398a321395750e43a828766ffa21ffa0089a7c0;hp=bc83ad8f05ddac9028fe1e83e3ad720ef13d1a63;hpb=41becf578bfb2621ec53d9989ae113f243157f91;p=vlc-remote diff --git a/browsemainwindow.h b/browsemainwindow.h index bc83ad8..aa51ef9 100644 --- a/browsemainwindow.h +++ b/browsemainwindow.h @@ -1,20 +1,20 @@ /* VLC-REMOTE for MAEMO 5 - * Copyright (C) 2010 Schutz Sacha - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ +* Copyright (C) 2010 Schutz Sacha , Dru Moore , Yann Nave +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2, +* or (at your option) any later version, as published by the Free +* Software Foundation +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details +* +* You should have received a copy of the GNU General Public +* License along with this program; if not, write to the +* Free Software Foundation, Inc., +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ #ifndef BROWSEMAINWINDOW_H #define BROWSEMAINWINDOW_H @@ -43,7 +43,14 @@ public slots: void onListSelectionChanged(); void finished(QNetworkReply * reply); void readReady(); + void error(QNetworkReply::NetworkError code); void showCurrentDirectory(); + void setHomeFolder(); + void showHomeFolder(); + void showUserHomeFolder(); + void setFavourite(); + void showFavourites(); + void setHomeDirectory(); protected slots: void parseXmlDirectory(); @@ -52,7 +59,7 @@ protected slots: protected: void changeEvent(QEvent *e); VlcBrowseElement getElementFromText(QString text); - void writeFile(QString path, QByteArray text); + QString getExtension(QString path, QString extension); private: Ui::BrowseMainWindow *ui;