defuze.me
Client
|
00001 /************************************************************************** 00002 ** defuze.me Epitech Innovative Project 00003 ** 00004 ** Copyright 2010-2011 00005 ** Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard 00006 ** Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier 00007 ** 00008 ** All rights reserved. 00009 **************************************************************************/ 00010 00011 #ifndef MAINPLAYERWIDGET_HPP 00012 #define MAINPLAYERWIDGET_HPP 00013 00014 #include "ui_mainplayerwidget.h" 00015 #include "guicore.hpp" 00016 #include "mainplayer.hpp" 00017 00018 namespace Player 00019 { 00020 class MainPlayer; 00021 00022 class MainPlayerWidget : public Gui::ModuleWidget, private Ui::MainPlayerWidget 00023 { 00024 Q_OBJECT 00025 friend class MainPlayer; 00026 00027 public: 00028 explicit MainPlayerWidget(MainPlayer *player, QWidget *parent = 0); 00029 void setNextButtonIcon(const QIcon &icon); 00030 void setACurrent(); 00031 void setANext(); 00032 void setBNext(); 00033 void setBCurrent(); 00034 private slots: 00035 void on_nextButton_clicked(); 00036 signals: 00037 void nextButton_clicked(); 00038 }; 00039 } 00040 #endif // MAINPLAYERWIDGET_HPP