Commit 4a88683b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: move view names to the StandardPanel file

And cleanup includes of StandardPanel
parent ea4ffc6f
......@@ -43,10 +43,6 @@ class QSignalMapper;
class SearchLineEdit;
class QModelIndex;
static const QString viewNames[] = { qtr( "Detailed View" ),
qtr( "Icon View" ),
qtr( "List View" ) };
class PlaylistWidget : public QSplitter
{
Q_OBJECT
......
......@@ -26,36 +26,29 @@
# include "config.h"
#endif
#include "dialogs_provider.hpp"
#include "components/playlist/playlist_model.hpp"
#include "components/playlist/standardpanel.hpp"
#include "components/playlist/views.hpp"
#include "components/playlist/selector.hpp"
#include "util/customwidgets.hpp"
#include "menus.hpp"
#include "input_manager.hpp"
#include <vlc_intf_strings.h>
#include <vlc_services_discovery.h>
#include "components/playlist/playlist_model.hpp" /* PLModel */
#include "components/playlist/views.hpp" /* 3 views */
#include "components/playlist/selector.hpp" /* PLSelector */
#include "menus.hpp" /* Popup */
#include "input_manager.hpp" /* THEMIM */
#include <vlc_services_discovery.h> /* SD_CMD_SEARCH */
#include <QPushButton>
#include <QHeaderView>
#include <QKeyEvent>
#include <QModelIndexList>
#include <QLabel>
#include <QMenu>
#include <QKeyEvent>
#include <QWheelEvent>
#include <QToolButton>
#include <QFontMetrics>
#include <QStackedLayout>
#include <QSignalMapper>
#include <QSettings>
#include <assert.h>
#include "sorting.h"
StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
intf_thread_t *_p_intf,
playlist_t *p_playlist,
......
......@@ -51,6 +51,11 @@ class LocationBar;
class PLSelector;
class PlaylistWidget;
static const QString viewNames[3 /* VIEW_COUNT */]
= { qtr( "Detailed View" ),
qtr( "Icon View" ),
qtr( "List View" ) };
class StandardPLPanel: public QWidget
{
Q_OBJECT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment