defuze.me  Client
playlistswidget.hpp
00001 #ifndef PLAYLISTSWIDGET_HPP
00002 #define PLAYLISTSWIDGET_HPP
00003 
00004 #include "guicore.hpp"
00005 #include "ui_playlistswidget.h"
00006 #include "playliststreeview.hpp"
00007 
00008 namespace Playlists
00009 {
00010 
00011 class PlaylistsPlugin;
00012 
00013 class PlaylistsWidget : public Gui::ModuleWidget, private Ui::PlaylistsWidget
00014 {
00015     Q_OBJECT
00016 
00017 public:
00018     explicit PlaylistsWidget(PlaylistsPlugin *playlists, QWidget *parent = 0);
00019     QPushButton     *getButtonAdd() const;
00020     QLineEdit       *getLineEditAdd() const;
00021         PlaylistsTreeView               *getTreeView() const;
00022 
00023 protected:
00024     void changeEvent(QEvent *e);
00025 
00026 private:
00027     PlaylistsPlugin *playlists;
00028 
00029 private slots:
00030 
00031     void            on_buttonAdd_clicked();
00032 };
00033 
00034 }
00035 
00036 #endif // PLAYLISTSWIDGET_HPP