Warning, file /multimedia/amarok/src/browsers/BrowserDock.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /**************************************************************************************** 0002 * Copyright (c) 2009 Nikolaj Hald Nielsen <nhn@kde.org> * 0003 * Copyright (c) 2009 Mark Kretschmann <kretschmann@kde.org> * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify it under * 0006 * the terms of the GNU General Public License as published by the Free Software * 0007 * Foundation; either version 2 of the License, or (at your option) any later * 0008 * version. * 0009 * * 0010 * This program is distributed in the hope that it will be useful, but WITHOUT ANY * 0011 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * 0012 * PARTICULAR PURPOSE. See the GNU General Public License for more details. * 0013 * * 0014 * You should have received a copy of the GNU General Public License along with * 0015 * this program. If not, see <http://www.gnu.org/licenses/>. * 0016 ****************************************************************************************/ 0017 0018 #ifndef BROWSERDOCK_H 0019 #define BROWSERDOCK_H 0020 0021 #include "BrowserBreadcrumbWidget.h" 0022 #include "BrowserCategoryList.h" 0023 #include "BrowserMessageArea.h" 0024 #include "widgets/AmarokDockWidget.h" 0025 0026 #include <QPointer> 0027 0028 class BoxWidget; 0029 0030 /** 0031 The base widget that contains all other browsers, organized in a dig down interface 0032 */ 0033 class BrowserDock : public AmarokDockWidget 0034 { 0035 Q_OBJECT 0036 0037 public: 0038 explicit BrowserDock( QWidget *parent ); 0039 0040 ~BrowserDock() override; 0041 0042 BrowserCategoryList *list() const; 0043 void navigate( const QString &target ); 0044 void polish() override; 0045 0046 private Q_SLOTS: 0047 void home(); 0048 void paletteChanged( const QPalette &palette ); 0049 0050 private: 0051 BrowserBreadcrumbWidget *m_breadcrumbWidget; 0052 QPointer<BrowserCategoryList> m_categoryList; 0053 BoxWidget *m_mainWidget; 0054 BrowserMessageArea *m_messageArea; 0055 }; 0056 0057 #endif