X-Git-Url: http://git.maemo.org/git/?p=someplayer;a=blobdiff_plain;f=src%2Fmainwindow.h;h=e2036e43ebdeec0b442b5267ba7ce8470324f5d6;hp=a22939462da8c40dd2f3b11e9285162606da2a92;hb=40103460aba82191a72f1e6d852b70f96e6fbdae;hpb=e0bce0a80c207c746ef2e5de527d7919e63252f7 diff --git a/src/mainwindow.h b/src/mainwindow.h index a229394..e2036e4 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -1,9 +1,27 @@ +/* + * SomePlayer - An alternate music player for Maemo 5 + * Copyright (C) 2010 Nikolay (somebody) Tischenko + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * 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 MAINWINDOW_H #define MAINWINDOW_H #include #include -#include #include "playerform.h" #include "libraryform.h" #include "busywidget.h" @@ -27,22 +45,28 @@ private: Ui::MainWindow *ui; public slots: - void openMedia(); void aboutQt(); void about(); void player(); void library(); void showBusyWidget(QString); + void showSearchPanel(); + void hideSearchPanel(); private slots: void _add_directory(); void _save_playlist(); void _clear_current_playlist(); + void _add_files(); + void _toggle_search_line(); + void _search(QString); + void _nextItem(); + void _prevItem(); + void _cancelSearch(); + void _toggle_full_screen(); private: PlayerForm *_player_form; LibraryForm *_library_form; BusyWidget *_busy_widget; - QMenu *_library_menu; - QMenu *_player_menu; Library *_library; };