| 1 | /* |
| 2 | Copyright (C) 2005-2014 Mario Stephan <[email protected]> |
| 3 | |
| 4 | This library is free software; you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as published |
| 6 | by the Free Software Foundation; either version 2.1 of the License, or |
| 7 | (at your option) any later version. |
| 8 | |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU Lesser General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #ifndef COLLECTIONWIDGET_H |
| 19 | #define COLLECTIONWIDGET_Hcxx . . $ `src/collectionwidget.h:19:9`! |
| 20 | |
| 21 | #include "collectiondb.h"cxx . . $ `<file>/src/collectiondb.h`/ |
| 22 | #include "collectiontree.h"cxx . . $ `<file>/src/collectiontree.h`/ |
| 23 | #include "modeselector.h"cxx . . $ `<file>/src/modeselector.h`/ |
| 24 | #include "playlist.h"cxx . . $ `<file>/src/playlist.h`/ |
| 25 | #include "progressbar.h"cxx . . $ `<file>/src/progressbar.h`/ |
| 26 | |
| 27 | |
| 28 | #include <QtGui> |
| 29 | #include <QPixmap> |
| 30 | #include <QDropEvent> |
| 31 | #include <QTimerEvent> |
| 32 | #include <QLineEdit> |
| 33 | |
| 34 | //class CollectionUpdater; |
| 35 | class QCustomEventcxx . . $ QCustomEvent#; |
| 36 | class QPixmapcxx . . $ QPixmap#; |
| 37 | class QPointcxx . . $ QPoint#; |
| 38 | class QPushButtoncxx . . $ QPushButton#; |
| 39 | |
| 40 | |
| 41 | class SearchEditcxx . . $ SearchEdit#: public QLineEditcxx . . $ QLineEdit#{ |
| 42 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 43 | public: |
| 44 | SearchEditcxx . . $ SearchEdit#SearchEdit(108f35f7aa7f3cf9).( QWidgetcxx . . $ QWidget#* parent=0); |
| 45 | ~cxx . . $ SearchEdit#`~SearchEdit`(ced63f7c635d850d).SearchEditcxx . . $ SearchEdit#(); |
| 46 | void dropEventcxx . . $ SearchEdit#dropEvent(163a41ccaa120447).(QDropEventcxx . . $ QDropEvent#* event); |
| 47 | void dragEnterEventcxx . . $ SearchEdit#dragEnterEvent(f87bde08e579de69).(QDragEnterEventcxx . . $ QDragEnterEvent#*); |
| 48 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 49 | void trackDroppedcxx . . $ SearchEdit#trackDropped(7df51288a9ebd664).(QStringcxx . . $ QString#); |
| 50 | |
| 51 | protected: |
| 52 | void resizeEventcxx . . $ SearchEdit#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent# *); |
| 53 | void keyPressEventcxx . . $ SearchEdit#keyPressEvent(c92999c1b6b09cc0). (QKeyEventcxx . . $ QKeyEvent#* e); |
| 54 | |
| 55 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 56 | void updateCloseButtoncxx . . $ SearchEdit#updateCloseButton(3520e46b33348bf6).(const QStringcxx . . $ QString# &text); |
| 57 | |
| 58 | private: |
| 59 | QToolButtoncxx . . $ QToolButton# *clearButtoncxx . . $ SearchEdit#clearButton.; |
| 60 | }; |
| 61 | |
| 62 | class CollectionWidgetcxx . . $ CollectionWidget#: public QWidgetcxx . . $ QWidget# |
| 63 | { |
| 64 | Q_OBJECTcxx . . $ CollectionWidget#trUtf8(75d9f1c324b4579d). |
| 65 | |
| 66 | public: |
| 67 | CollectionWidgetcxx . . $ CollectionWidget#CollectionWidget(108f35f7aa7f3cf9).( QWidgetcxx . . $ QWidget#* parent ); |
| 68 | ~cxx . . $ CollectionWidget#`~CollectionWidget`(ced63f7c635d850d).CollectionWidgetcxx . . $ CollectionWidget#(); |
| 69 | Trackcxx . . $ Track#* getRandomSongcxx . . $ CollectionWidget#getRandomSong(6a45bbb544f8c5c8).(QStringcxx . . $ QString# genre); |
| 70 | QStringcxx . . $ QString# filterTextcxx . . $ CollectionWidget#filterText(4365c3963150523e).(); |
| 71 | bool hasItemscxx . . $ CollectionWidget#hasItems(c9857a73d68e59ba).(); |
| 72 | void setTracklistcxx . . $ CollectionWidget#setTracklist(49c209e06891fd13).(Playlistcxx . . $ Playlist#* pl); |
| 73 | |
| 74 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 75 | void setFilterTextcxx . . $ CollectionWidget#setFilterText(7df51288a9ebd664).( QStringcxx . . $ QString# strFilter ); |
| 76 | void loadSettingscxx . . $ CollectionWidget#loadSettings(49f6e7a06ebc5aa8).(); |
| 77 | void scancxx . . $ CollectionWidget#scan(49f6e7a06ebc5aa8).(); |
| 78 | |
| 79 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 80 | void trackDroppedcxx . . $ CollectionWidget#trackDropped(7df51288a9ebd664).(QStringcxx . . $ QString#); |
| 81 | void randomClickedcxx . . $ CollectionWidget#randomClicked(49f6e7a06ebc5aa8).(); |
| 82 | void selectionChangedcxx . . $ CollectionWidget#selectionChanged(c2e0487a5277a49e).(QListcxx . . $ QList#<Trackcxx . . $ Track#*>); |
| 83 | void wantLoadcxx . . $ CollectionWidget#wantLoad(25020fd11423df10). (QListcxx . . $ QList#<Trackcxx . . $ Track#*>,QStringcxx . . $ QString#); |
| 84 | void filterChangedcxx . . $ CollectionWidget#filterChanged(7df51288a9ebd664).(QStringcxx . . $ QString#); |
| 85 | void setupDirscxx . . $ CollectionWidget#setupDirs(49f6e7a06ebc5aa8).(); |
| 86 | |
| 87 | |
| 88 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 89 | void onSetFilterTimeoutcxx . . $ CollectionWidget#onSetFilterTimeout(49f6e7a06ebc5aa8).(); |
| 90 | void onSetClickedcxx . . $ CollectionWidget#onSetClicked(49f6e7a06ebc5aa8).(); |
| 91 | void onSetFiltercxx . . $ CollectionWidget#onSetFilter(49f6e7a06ebc5aa8).(); |
| 92 | void onModeSelectedcxx . . $ CollectionWidget#onModeSelected(4ba5068bf871ee9).(ModeSelectorcxx . . $ ModeSelector#::modeTypecxx . . $ ModeSelector#modeType# value); |
| 93 | |
| 94 | private: |
| 95 | |
| 96 | void resizeEventcxx . . $ CollectionWidget#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent# *); |
| 97 | class CollectionWidgetPrivatecxx . . $ CollectionWidgetPrivate# *pcxx . . $ CollectionWidget#p.; |
| 98 | |
| 99 | }; |
| 100 | |
| 101 | |
| 102 | #endif /* COLLECTIONWIDGET_H */ |