Changeset View
Changeset View
Standalone View
Standalone View
src/browsers/BrowserCategory.cpp
Show All 15 Lines | |||||
16 | 16 | | |||
17 | #include "BrowserCategory.h" | 17 | #include "BrowserCategory.h" | ||
18 | 18 | | |||
19 | #include "App.h" | 19 | #include "App.h" | ||
20 | #include "amarokconfig.h" | 20 | #include "amarokconfig.h" | ||
21 | #include "BrowserBreadcrumbItem.h" | 21 | #include "BrowserBreadcrumbItem.h" | ||
22 | #include "BrowserCategoryList.h" | 22 | #include "BrowserCategoryList.h" | ||
23 | #include "PaletteHandler.h" | 23 | #include "PaletteHandler.h" | ||
24 | | ||||
25 | #include "core/support/Debug.h" | 24 | #include "core/support/Debug.h" | ||
26 | 25 | | |||
27 | #include <QWidget> | | |||
28 | 26 | | |||
29 | BrowserCategory::BrowserCategory( const QString &name, QWidget *parent ) | 27 | BrowserCategory::BrowserCategory( const QString &name, QWidget *parent ) | ||
30 | : KVBox( parent ) | 28 | : BoxWidget( true, parent ) | ||
31 | , m_name( name ) | 29 | , m_name( name ) | ||
32 | , m_parentList( 0 ) | 30 | , m_parentList( 0 ) | ||
33 | { | 31 | { | ||
34 | setObjectName( name ); | 32 | setObjectName( name ); | ||
35 | setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); | 33 | setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); | ||
36 | setFrameShape( QFrame::NoFrame ); | | |||
37 | 34 | | |||
38 | connect( App::instance(), &App::settingsChanged, this, &BrowserCategory::slotSettingsChanged ); | 35 | connect( pApp, &App::settingsChanged, this, &BrowserCategory::slotSettingsChanged ); | ||
39 | connect( The::paletteHandler(), &PaletteHandler::newPalette, this, &BrowserCategory::slotSettingsChanged ); | 36 | connect( The::paletteHandler(), &PaletteHandler::newPalette, this, &BrowserCategory::slotSettingsChanged ); | ||
40 | } | 37 | } | ||
41 | 38 | | |||
42 | BrowserCategory::~BrowserCategory() | 39 | BrowserCategory::~BrowserCategory() | ||
43 | { | 40 | { | ||
44 | } | 41 | } | ||
45 | 42 | | |||
46 | QString | 43 | QString | ||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |