| 1 | /* |
| 2 | Copyright (C) 2005-2017 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 KNOWTHELIST_H |
| 19 | #define KNOWTHELIST_Hcxx . . $ `src/knowthelist.h:19:9`! |
| 20 | |
| 21 | #include "collectionwidget.h"cxx . . $ `<file>/src/collectionwidget.h`/ |
| 22 | #include "djbrowser.h"cxx . . $ `<file>/src/djbrowser.h`/ |
| 23 | #include "djsession.h"cxx . . $ `<file>/src/djsession.h`/ |
| 24 | #include "filebrowser.h"cxx . . $ `<file>/src/filebrowser.h`/ |
| 25 | #include "monitorplayer.h"cxx . . $ `<file>/src/monitorplayer.h`/ |
| 26 | #include "playerwidget.h"cxx . . $ `<file>/src/playerwidget.h`/ |
| 27 | #include "playlist.h"cxx . . $ `<file>/src/playlist.h`/ |
| 28 | #include "playlistbrowser.h"cxx . . $ `<file>/src/playlistbrowser.h`/ |
| 29 | #include "settingsdialog.h"cxx . . $ `<file>/src/settingsdialog.h`/ |
| 30 | #include "vumeter.h"cxx . . $ `<file>/src/vumeter.h`/ |
| 31 | |
| 32 | #include <QMainWindow> |
| 33 | #include <QSplitter> |
| 34 | |
| 35 | namespace Uicxx . . $ Ui/ { |
| 36 | class Knowthelistcxx . . $ Ui/Knowthelist#; |
| 37 | } |
| 38 | |
| 39 | class Knowthelistcxx . . $ Knowthelist# : public QMainWindowcxx . . $ QMainWindow# { |
| 40 | Q_OBJECTcxx . . $ Knowthelist#tr(75d9f1c324b4579d). |
| 41 | |
| 42 | public: |
| 43 | explicit Knowthelistcxx . . $ Knowthelist#Knowthelist(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = 0); |
| 44 | ~cxx . . $ Knowthelist#`~Knowthelist`(ced63f7c635d850d).Knowthelistcxx . . $ Knowthelist#(); |
| 45 | |
| 46 | private Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 47 | //Auto connect slots |
| 48 | void on_potHigh_1_valueChangedcxx . . $ Knowthelist#on_potHigh_1_valueChanged(d4f767463ce0a6b3).(int value); |
| 49 | void on_potMid_1_valueChangedcxx . . $ Knowthelist#on_potMid_1_valueChanged(d4f767463ce0a6b3).(int value); |
| 50 | void on_potLow_1_valueChangedcxx . . $ Knowthelist#on_potLow_1_valueChanged(d4f767463ce0a6b3).(int value); |
| 51 | void on_potHigh_2_valueChangedcxx . . $ Knowthelist#on_potHigh_2_valueChanged(d4f767463ce0a6b3).(int value); |
| 52 | void on_potMid_2_valueChangedcxx . . $ Knowthelist#on_potMid_2_valueChanged(d4f767463ce0a6b3).(int value); |
| 53 | void on_potLow_2_valueChangedcxx . . $ Knowthelist#on_potLow_2_valueChanged(d4f767463ce0a6b3).(int value); |
| 54 | void on_toggleAutoFade_toggledcxx . . $ Knowthelist#on_toggleAutoFade_toggled(b45ddcbc8423892c).(bool checked); |
| 55 | void on_toggleAutoDJ_toggledcxx . . $ Knowthelist#on_toggleAutoDJ_toggled(b45ddcbc8423892c).(bool checked); |
| 56 | void on_toggleAGC_toggledcxx . . $ Knowthelist#on_toggleAGC_toggled(b45ddcbc8423892c).(bool checked); |
| 57 | void on_potGain_2_valueChangedcxx . . $ Knowthelist#on_potGain_2_valueChanged(d4f767463ce0a6b3).(int value); |
| 58 | void on_potGain_1_valueChangedcxx . . $ Knowthelist#on_potGain_1_valueChanged(d4f767463ce0a6b3).(int value); |
| 59 | void on_sliMonitor_sliderMovedcxx . . $ Knowthelist#on_sliMonitor_sliderMoved(d4f767463ce0a6b3).(int position); |
| 60 | void on_cmdMonitorPlay_clickedcxx . . $ Knowthelist#on_cmdMonitorPlay_clicked(49f6e7a06ebc5aa8).(); |
| 61 | void on_cmdMonitorStop_clickedcxx . . $ Knowthelist#on_cmdMonitorStop_clicked(49f6e7a06ebc5aa8).(); |
| 62 | void on_cmdFade_clickedcxx . . $ Knowthelist#on_cmdFade_clicked(49f6e7a06ebc5aa8).(); |
| 63 | |
| 64 | void timerMonitor_timeOutcxx . . $ Knowthelist#timerMonitor_timeOut(49f6e7a06ebc5aa8).(); |
| 65 | void timerAutoFader_timerOutcxx . . $ Knowthelist#timerAutoFader_timerOut(49f6e7a06ebc5aa8).(); |
| 66 | |
| 67 | void player_aboutTrackFinishedcxx . . $ Knowthelist#player_aboutTrackFinished(49f6e7a06ebc5aa8).(); |
| 68 | void player1_gainChangedcxx . . $ Knowthelist#player1_gainChanged(ba8836b59fb42830).(double newGain); |
| 69 | void player2_gainChangedcxx . . $ Knowthelist#player2_gainChanged(ba8836b59fb42830).(double gainValue); |
| 70 | void player1_trackFinishedcxx . . $ Knowthelist#player1_trackFinished(49f6e7a06ebc5aa8).(); |
| 71 | void player2_trackFinishedcxx . . $ Knowthelist#player2_trackFinished(49f6e7a06ebc5aa8).(); |
| 72 | void player1_levelChangedcxx . . $ Knowthelist#player1_levelChanged(bc12c9ec15586e6a).(double left, double right); |
| 73 | void player2_levelChangedcxx . . $ Knowthelist#player2_levelChanged(bc12c9ec15586e6a).(double left, double right); |
| 74 | |
| 75 | void slider1_valueChangedcxx . . $ Knowthelist#slider1_valueChanged(d4f767463ce0a6b3).(int); |
| 76 | void slider2_valueChangedcxx . . $ Knowthelist#slider2_valueChanged(d4f767463ce0a6b3).(int); |
| 77 | void sliFader_valueChangedcxx . . $ Knowthelist#sliFader_valueChanged(d4f767463ce0a6b3).(int); |
| 78 | |
| 79 | void savePlaylistscxx . . $ Knowthelist#savePlaylists(49f6e7a06ebc5aa8).(); |
| 80 | void monitorPlayer_trackTimeChangedcxx . . $ Knowthelist#monitorPlayer_trackTimeChanged(8be204668a5c1685).(qint64cxx . . $ qint64#, qint64cxx . . $ qint64#); |
| 81 | void timerMonitor_loadFinishedcxx . . $ Knowthelist#timerMonitor_loadFinished(49f6e7a06ebc5aa8).(); |
| 82 | void startAutoDjcxx . . $ Knowthelist#startAutoDj(49f6e7a06ebc5aa8).(); |
| 83 | void currentDjChangedcxx . . $ Knowthelist#currentDjChanged(2e881ee79eb0ae9e).(Djcxx . . $ Dj#*); |
| 84 | |
| 85 | void timerGain1_timeOutcxx . . $ Knowthelist#timerGain1_timeOut(49f6e7a06ebc5aa8).(); |
| 86 | void timerGain2_timeOutcxx . . $ Knowthelist#timerGain2_timeOut(49f6e7a06ebc5aa8).(); |
| 87 | void Track_doubleClickedcxx . . $ Knowthelist#Track_doubleClicked(c7ced298c7283c1a).(Trackcxx . . $ Track#*); |
| 88 | void trackList_wantLoadcxx . . $ Knowthelist#trackList_wantLoad(f9acf7808b11c0bc).(Trackcxx . . $ Track#*, QStringcxx . . $ QString# target); |
| 89 | void Track_selectionChangedcxx . . $ Knowthelist#Track_selectionChanged(c7ced298c7283c1a).(Trackcxx . . $ Track#*); |
| 90 | bool initMonitorPlayercxx . . $ Knowthelist#initMonitorPlayer(c9857a73d68e59ba).(); |
| 91 | void editSettingscxx . . $ Knowthelist#editSettings(49f6e7a06ebc5aa8).(); |
| 92 | void on_cmdOptions_clickedcxx . . $ Knowthelist#on_cmdOptions_clicked(49f6e7a06ebc5aa8).(); |
| 93 | void showCollectionSetupcxx . . $ Knowthelist#showCollectionSetup(49f6e7a06ebc5aa8).(); |
| 94 | void onWantLoadcxx . . $ Knowthelist#onWantLoad(25020fd11423df10).(QListcxx . . $ QList#<Trackcxx . . $ Track#*>, QStringcxx . . $ QString#); |
| 95 | void on_lblSoundcard_linkActivatedcxx . . $ Knowthelist#on_lblSoundcard_linkActivated(3520e46b33348bf6).(const QStringcxx . . $ QString#& link); |
| 96 | |
| 97 | void on_sliMonitor_actionTriggeredcxx . . $ Knowthelist#on_sliMonitor_actionTriggered(d4f767463ce0a6b3).(int action); |
| 98 | |
| 99 | void on_sliMonitorVolume_valueChangedcxx . . $ Knowthelist#on_sliMonitorVolume_valueChanged(d4f767463ce0a6b3).(int value); |
| 100 | |
| 101 | private: |
| 102 | Uicxx . . $ Ui/::Knowthelistcxx . . $ Ui/Knowthelist#* uicxx . . $ Knowthelist#ui.; |
| 103 | void createUIcxx . . $ Knowthelist#createUI(49f6e7a06ebc5aa8).(); |
| 104 | void fadeNowcxx . . $ Knowthelist#fadeNow(49f6e7a06ebc5aa8).(); |
| 105 | void setFaderModeToPlayercxx . . $ Knowthelist#setFaderModeToPlayer(49f6e7a06ebc5aa8).(); |
| 106 | QTimercxx . . $ QTimer#* timerAutoFadercxx . . $ Knowthelist#timerAutoFader.; |
| 107 | int m_xfadeDircxx . . $ Knowthelist#m_xfadeDir.; |
| 108 | int gain1Targetcxx . . $ Knowthelist#gain1Target.; |
| 109 | int gain2Targetcxx . . $ Knowthelist#gain2Target.; |
| 110 | bool isFadingcxx . . $ Knowthelist#isFading.; |
| 111 | VUMetercxx . . $ VUMeter#* vuMeter1cxx . . $ Knowthelist#vuMeter1.; |
| 112 | VUMetercxx . . $ VUMeter#* vuMeter2cxx . . $ Knowthelist#vuMeter2.; |
| 113 | VUMetercxx . . $ VUMeter#* monitorMetercxx . . $ Knowthelist#monitorMeter.; |
| 114 | QTimercxx . . $ QTimer#* timerMetercxx . . $ Knowthelist#timerMeter.; |
| 115 | QTimercxx . . $ QTimer#* timerMonitorcxx . . $ Knowthelist#timerMonitor.; |
| 116 | QTimercxx . . $ QTimer#* timerGain1cxx . . $ Knowthelist#timerGain1.; |
| 117 | QTimercxx . . $ QTimer#* timerGain2cxx . . $ Knowthelist#timerGain2.; |
| 118 | Playlistcxx . . $ Playlist#* playList1cxx . . $ Knowthelist#playList1.; |
| 119 | Playlistcxx . . $ Playlist#* playList2cxx . . $ Knowthelist#playList2.; |
| 120 | Playlistcxx . . $ Playlist#* trackListcxx . . $ Knowthelist#trackList.; |
| 121 | Playlistcxx . . $ Playlist#* trackList2cxx . . $ Knowthelist#trackList2.; |
| 122 | |
| 123 | QSplittercxx . . $ QSplitter#* splittercxx . . $ Knowthelist#splitter.; |
| 124 | QSplittercxx . . $ QSplitter#* splitterPlaylistcxx . . $ Knowthelist#splitterPlaylist.; |
| 125 | |
| 126 | CollectionWidgetcxx . . $ CollectionWidget#* collectionBrowsercxx . . $ Knowthelist#collectionBrowser.; |
| 127 | MonitorPlayercxx . . $ MonitorPlayer#* monitorPlayercxx . . $ Knowthelist#monitorPlayer.; |
| 128 | DjSessioncxx . . $ DjSession#* djSessioncxx . . $ Knowthelist#djSession.; |
| 129 | DjBrowsercxx . . $ DjBrowser#* djBrowsercxx . . $ Knowthelist#djBrowser.; |
| 130 | |
| 131 | PlayerWidgetcxx . . $ PlayerWidget#* player1cxx . . $ Knowthelist#player1.; |
| 132 | PlayerWidgetcxx . . $ PlayerWidget#* player2cxx . . $ Knowthelist#player2.; |
| 133 | FileBrowsercxx . . $ FileBrowser#* filetreecxx . . $ Knowthelist#filetree.; |
| 134 | PlaylistBrowsercxx . . $ PlaylistBrowser#* playlistBrowsercxx . . $ Knowthelist#playlistBrowser.; |
| 135 | |
| 136 | SettingsDialogcxx . . $ SettingsDialog#* preferencescxx . . $ Knowthelist#preferences.; |
| 137 | |
| 138 | bool autoFadeOncxx . . $ Knowthelist#autoFadeOn.; |
| 139 | |
| 140 | QStringcxx . . $ QString# m_AutoDJGenrecxx . . $ Knowthelist#m_AutoDJGenre.; |
| 141 | int mAutofadeLengthcxx . . $ Knowthelist#mAutofadeLength.; |
| 142 | int mAboutFinishTimecxx . . $ Knowthelist#mAboutFinishTime.; |
| 143 | int mMinTrackscxx . . $ Knowthelist#mMinTracks.; |
| 144 | bool wantSeekcxx . . $ Knowthelist#wantSeek.; |
| 145 | Trackcxx . . $ Track#* m_MonitorTrackcxx . . $ Knowthelist#m_MonitorTrack.; |
| 146 | |
| 147 | protected: |
| 148 | virtual void closeEventcxx . . $ Knowthelist#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent#*); |
| 149 | |
| 150 | void changeVolumescxx . . $ Knowthelist#changeVolumes(49f6e7a06ebc5aa8).(); |
| 151 | void loadStartSettingscxx . . $ Knowthelist#loadStartSettings(49f6e7a06ebc5aa8).(); |
| 152 | void loadCurrentSettingscxx . . $ Knowthelist#loadCurrentSettings(49f6e7a06ebc5aa8).(); |
| 153 | }; |
| 154 | |
| 155 | #endif // KNOWTHELIST_H |