| 1 | /* |
| 2 | Copyright (C) 2005-2019 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 | #include "knowthelist.h"cxx . . $ `<file>/src/knowthelist.h`/ |
| 19 | #include "dj.h"cxx . . $ `<file>/src/dj.h`/ |
| 20 | #include "djfilterwidget.h"cxx . . $ `<file>/src/djfilterwidget.h`/ |
| 21 | #include "djwidget.h"cxx . . $ `<file>/src/djwidget.h`/ |
| 22 | #include "playerwidget.h"cxx . . $ `<file>/src/playerwidget.h`/ |
| 23 | #include "playlistbrowser.h"cxx . . $ `<file>/src/playlistbrowser.h`/ |
| 24 | #include "qled.h"cxx . . $ `<file>/src/qled.h`/ |
| 25 | #include "ui_knowthelist.h"cxx . . $ `<file>/src/ui_knowthelist.h`/ |
| 26 | |
| 27 | #include <QBoxLayout> |
| 28 | #include <QSettings> |
| 29 | #if QT_VERSIONcxx . . $ `<external>/15045578679651060896/qglobal.h:57:9`! >= 0x050000 |
| 30 | #include <QtConcurrent/QtConcurrent> |
| 31 | #else |
| 32 | #include <QtConcurrentRun> |
| 33 | #endif |
| 34 | #include <QMetaType> |
| 35 | |
| 36 | Knowthelistcxx . . $ Knowthelist#::Knowthelistcxx . . $ Knowthelist#Knowthelist(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent) |
| 37 | : QMainWindowcxx . . $ QMainWindow#(parent) |
| 38 | , uicxx . . $ Knowthelist#ui.(new Uicxx . . $ Ui/::Knowthelistcxx . . $ Ui/Knowthelist#) |
| 39 | { |
| 40 | uicxx . . $ Knowthelist#ui.->setupUicxx . . $ Ui_Knowthelist#setupUi(f2c32f691ede4a4e).(this); |
| 41 | |
| 42 | //create the UI |
| 43 | createUIcxx . . $ Knowthelist#createUI(49f6e7a06ebc5aa8).(); |
| 44 | } |
| 45 | |
| 46 | Knowthelistcxx . . $ Knowthelist#::~cxx . . $ Knowthelist#`~Knowthelist`(ced63f7c635d850d).Knowthelistcxx . . $ Knowthelist#() |
| 47 | { |
| 48 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "START closing application"; |
| 49 | player1cxx . . $ Knowthelist#player1.->stopcxx . . $ PlayerWidget#stop(49f6e7a06ebc5aa8).(); |
| 50 | delete player1cxx . . $ Knowthelist#player1.; |
| 51 | player1cxx . . $ Knowthelist#player1. = nullptr; |
| 52 | delete playList1cxx . . $ Knowthelist#playList1.; |
| 53 | player2cxx . . $ Knowthelist#player2.->stopcxx . . $ PlayerWidget#stop(49f6e7a06ebc5aa8).(); |
| 54 | delete player2cxx . . $ Knowthelist#player2.; |
| 55 | player2cxx . . $ Knowthelist#player2. = nullptr; |
| 56 | delete playList2cxx . . $ Knowthelist#playList2.; |
| 57 | delete vuMeter1cxx . . $ Knowthelist#vuMeter1.; |
| 58 | delete vuMeter2cxx . . $ Knowthelist#vuMeter2.; |
| 59 | delete monitorMetercxx . . $ Knowthelist#monitorMeter.; |
| 60 | delete monitorPlayercxx . . $ Knowthelist#monitorPlayer.; |
| 61 | monitorPlayercxx . . $ Knowthelist#monitorPlayer. = nullptr; |
| 62 | delete djSessioncxx . . $ Knowthelist#djSession.; |
| 63 | djSessioncxx . . $ Knowthelist#djSession. = nullptr; |
| 64 | delete trackListcxx . . $ Knowthelist#trackList.; |
| 65 | trackListcxx . . $ Knowthelist#trackList. = nullptr; |
| 66 | delete collectionBrowsercxx . . $ Knowthelist#collectionBrowser.; |
| 67 | delete djBrowsercxx . . $ Knowthelist#djBrowser.; |
| 68 | delete filetreecxx . . $ Knowthelist#filetree.; |
| 69 | delete playlistBrowsercxx . . $ Knowthelist#playlistBrowser.; |
| 70 | delete trackList2cxx . . $ Knowthelist#trackList2.; |
| 71 | delete splitterPlaylistcxx . . $ Knowthelist#splitterPlaylist.; |
| 72 | delete uicxx . . $ Knowthelist#ui.; |
| 73 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "END closing application"; |
| 74 | } |
| 75 | |
| 76 | void Knowthelistcxx . . $ Knowthelist#::createUIcxx . . $ Knowthelist#createUI(49f6e7a06ebc5aa8).() |
| 77 | { |
| 78 | |
| 79 | //hide place holders |
| 80 | uicxx . . $ Knowthelist#ui.->phVU1cxx . . $ Ui_Knowthelist#phVU1.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 81 | uicxx . . $ Knowthelist#ui.->phVU2cxx . . $ Ui_Knowthelist#phVU2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 82 | |
| 83 | uicxx . . $ Knowthelist#ui.->slider1cxx . . $ Ui_Knowthelist#slider1.->setMinimumcxx . . $ QAbstractSlider#setMinimum(d4f767463ce0a6b3).(0.0); |
| 84 | uicxx . . $ Knowthelist#ui.->slider2cxx . . $ Ui_Knowthelist#slider2.->setMinimumcxx . . $ QAbstractSlider#setMinimum(d4f767463ce0a6b3).(0.0); |
| 85 | uicxx . . $ Knowthelist#ui.->slider1cxx . . $ Ui_Knowthelist#slider1.->setMaximumcxx . . $ QAbstractSlider#setMaximum(d4f767463ce0a6b3).(100.0); |
| 86 | uicxx . . $ Knowthelist#ui.->slider2cxx . . $ Ui_Knowthelist#slider2.->setMaximumcxx . . $ QAbstractSlider#setMaximum(d4f767463ce0a6b3).(100.0); |
| 87 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ Knowthelist#ui.->slider1cxx . . $ Ui_Knowthelist#slider1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(valueChanged(int)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(slider1_valueChanged(int))); |
| 88 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ Knowthelist#ui.->slider2cxx . . $ Ui_Knowthelist#slider2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(valueChanged(int)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(slider2_valueChanged(int))); |
| 89 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(valueChanged(int)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(sliFader_valueChanged(int))); |
| 90 | |
| 91 | //Add player |
| 92 | player1cxx . . $ Knowthelist#player1. = uicxx . . $ Knowthelist#ui.->player_Lcxx . . $ Ui_Knowthelist#player_L.; |
| 93 | player2cxx . . $ Knowthelist#player2. = uicxx . . $ Knowthelist#ui.->player_Rcxx . . $ Ui_Knowthelist#player_R.; |
| 94 | monitorPlayercxx . . $ Knowthelist#monitorPlayer. = new MonitorPlayercxx . . $ MonitorPlayer#(this); |
| 95 | |
| 96 | timerAutoFadercxx . . $ Knowthelist#timerAutoFader. = new QTimercxx . . $ QTimer#QTimer(749de1b6ae65bddd).(this); |
| 97 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(timerAutoFadercxx . . $ Knowthelist#timerAutoFader., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(timeout()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(timerAutoFader_timerOut())); |
| 98 | |
| 99 | vuMeter2cxx . . $ Knowthelist#vuMeter2. = new VUMetercxx . . $ VUMeter#(uicxx . . $ Knowthelist#ui.->frameMixercxx . . $ Ui_Knowthelist#frameMixer.); |
| 100 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->setLinesPerSegmentcxx . . $ VUMeter#setLinesPerSegment(d4f767463ce0a6b3).(2); |
| 101 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->setSpacesBetweenSegmentscxx . . $ VUMeter#setSpacesBetweenSegments(d4f767463ce0a6b3).(1); |
| 102 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->setSegmentsPerPeakcxx . . $ VUMeter#setSegmentsPerPeak(d4f767463ce0a6b3).(1); |
| 103 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->setMargincxx . . $ VUMeter#setMargin(d4f767463ce0a6b3).(2); |
| 104 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->LevelColorOffcxx . . $ VUMeter#LevelColorOff..setRgbcxx . . $ QColor#setRgb(748afa4755bc9595).(20, 20, 20); |
| 105 | |
| 106 | vuMeter1cxx . . $ Knowthelist#vuMeter1. = new VUMetercxx . . $ VUMeter#(uicxx . . $ Knowthelist#ui.->frameMixercxx . . $ Ui_Knowthelist#frameMixer.); |
| 107 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->setLinesPerSegmentcxx . . $ VUMeter#setLinesPerSegment(d4f767463ce0a6b3).(2); |
| 108 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->setSpacesBetweenSegmentscxx . . $ VUMeter#setSpacesBetweenSegments(d4f767463ce0a6b3).(1); |
| 109 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->setSegmentsPerPeakcxx . . $ VUMeter#setSegmentsPerPeak(d4f767463ce0a6b3).(1); |
| 110 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->setMargincxx . . $ VUMeter#setMargin(d4f767463ce0a6b3).(2); |
| 111 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->LevelColorOffcxx . . $ VUMeter#LevelColorOff..setRgbcxx . . $ QColor#setRgb(748afa4755bc9595).(20, 20, 20); |
| 112 | |
| 113 | monitorMetercxx . . $ Knowthelist#monitorMeter. = new VUMetercxx . . $ VUMeter#(uicxx . . $ Knowthelist#ui.->fraMonitorTopcxx . . $ Ui_Knowthelist#fraMonitorTop.); |
| 114 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setSpacesBetweenSegmentscxx . . $ VUMeter#setSpacesBetweenSegments(d4f767463ce0a6b3).(1); |
| 115 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setLinesPerSegmentcxx . . $ VUMeter#setLinesPerSegment(d4f767463ce0a6b3).(2); |
| 116 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setSegmentsPerPeakcxx . . $ VUMeter#setSegmentsPerPeak(d4f767463ce0a6b3).(2); |
| 117 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setMargincxx . . $ VUMeter#setMargin(d4f767463ce0a6b3).(2); |
| 118 | monitorMetercxx . . $ Knowthelist#monitorMeter.->LevelColorOffcxx . . $ VUMeter#LevelColorOff..setRgbcxx . . $ QColor#setRgb(748afa4755bc9595).(20, 20, 20); |
| 119 | |
| 120 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->setGeometrycxx . . $ QWidget#setGeometry(22ba0428947158b).(uicxx . . $ Knowthelist#ui.->phVU1cxx . . $ Ui_Knowthelist#phVU1.->geometrycxx . . $ QWidget#geometry(f4023511c62cad66).()); |
| 121 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->setGeometrycxx . . $ QWidget#setGeometry(22ba0428947158b).(uicxx . . $ Knowthelist#ui.->phVU2cxx . . $ Ui_Knowthelist#phVU2.->geometrycxx . . $ QWidget#geometry(f4023511c62cad66).()); |
| 122 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setGeometrycxx . . $ QWidget#setGeometry(22ba0428947158b).(uicxx . . $ Knowthelist#ui.->phVUMetercxx . . $ Ui_Knowthelist#phVUMeter.->geometrycxx . . $ QWidget#geometry(f4023511c62cad66).()); |
| 123 | |
| 124 | uicxx . . $ Knowthelist#ui.->potGain_1cxx . . $ Ui_Knowthelist#potGain_1.->setRangecxx . . $ QAbstractSlider#setRange(3e454b8ccf442868).(10, 180); |
| 125 | uicxx . . $ Knowthelist#ui.->potGain_1cxx . . $ Ui_Knowthelist#potGain_1.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(100); |
| 126 | uicxx . . $ Knowthelist#ui.->potGain_2cxx . . $ Ui_Knowthelist#potGain_2.->setRangecxx . . $ QAbstractSlider#setRange(3e454b8ccf442868).(10, 180); |
| 127 | uicxx . . $ Knowthelist#ui.->potGain_2cxx . . $ Ui_Knowthelist#potGain_2.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(100); |
| 128 | |
| 129 | timerMonitorcxx . . $ Knowthelist#timerMonitor. = new QTimercxx . . $ QTimer#QTimer(749de1b6ae65bddd).(this); |
| 130 | timerMonitorcxx . . $ Knowthelist#timerMonitor.->setIntervalcxx . . $ QTimer#setInterval(d4f767463ce0a6b3).(50); |
| 131 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(timerMonitorcxx . . $ Knowthelist#timerMonitor., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(timeout()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(timerMonitor_timeOut())); |
| 132 | |
| 133 | timerGain1cxx . . $ Knowthelist#timerGain1. = new QTimercxx . . $ QTimer#QTimer(749de1b6ae65bddd).(this); |
| 134 | timerGain2cxx . . $ Knowthelist#timerGain2. = new QTimercxx . . $ QTimer#QTimer(749de1b6ae65bddd).(this); |
| 135 | timerGain1cxx . . $ Knowthelist#timerGain1.->setIntervalcxx . . $ QTimer#setInterval(d4f767463ce0a6b3).(100); |
| 136 | timerGain2cxx . . $ Knowthelist#timerGain2.->setIntervalcxx . . $ QTimer#setInterval(d4f767463ce0a6b3).(100); |
| 137 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(timerGain1cxx . . $ Knowthelist#timerGain1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(timeout()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(timerGain1_timeOut())); |
| 138 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(timerGain2cxx . . $ Knowthelist#timerGain2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(timeout()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(timerGain2_timeOut())); |
| 139 | |
| 140 | qRegisterMetaTypecxx . . $ qRegisterMetaType(10e7a86562f422e7).<QListcxx . . $ QList#<Trackcxx . . $ Track#*>>("QList<Track*>"); |
| 141 | |
| 142 | //Add DJ |
| 143 | djSessioncxx . . $ Knowthelist#djSession. = new DjSessioncxx . . $ DjSession#(); |
| 144 | |
| 145 | playList1cxx . . $ Knowthelist#playList1. = uicxx . . $ Knowthelist#ui.->playlist_Lcxx . . $ Ui_Knowthelist#playlist_L.; |
| 146 | playList1cxx . . $ Knowthelist#playList1.->setIsCurrentListcxx . . $ Playlist#setIsCurrentList(b45ddcbc8423892c).(true); |
| 147 | |
| 148 | playList2cxx . . $ Knowthelist#playList2. = uicxx . . $ Knowthelist#ui.->playlist_Rcxx . . $ Ui_Knowthelist#playlist_R.; |
| 149 | playList2cxx . . $ Knowthelist#playList2.->setIsCurrentListcxx . . $ Playlist#setIsCurrentList(b45ddcbc8423892c).(false); |
| 150 | |
| 151 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList1cxx . . $ Knowthelist#playList1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(currentTrackChanged(Track*)), player1cxx . . $ Knowthelist#player1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(loadTrack(Track*))); |
| 152 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList2cxx . . $ Knowthelist#playList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(currentTrackChanged(Track*)), player2cxx . . $ Knowthelist#player2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(loadTrack(Track*))); |
| 153 | |
| 154 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(forwardPressed()), playList1cxx . . $ Knowthelist#playList1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(skipForward())); |
| 155 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(forwardPressed()), playList2cxx . . $ Knowthelist#playList2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(skipForward())); |
| 156 | |
| 157 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(rewindPressed()), playList1cxx . . $ Knowthelist#playList1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(skipRewind())); |
| 158 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(rewindPressed()), playList2cxx . . $ Knowthelist#playList2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(skipRewind())); |
| 159 | |
| 160 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(aboutFinished()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player_aboutTrackFinished())); |
| 161 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(aboutFinished()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player_aboutTrackFinished())); |
| 162 | |
| 163 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(gainChanged(double)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player1_gainChanged(double))); |
| 164 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(gainChanged(double)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player2_gainChanged(double))); |
| 165 | |
| 166 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(levelChanged(double, double)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player1_levelChanged(double, double))); |
| 167 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(levelChanged(double, double)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player2_levelChanged(double, double))); |
| 168 | |
| 169 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(statusChanged(bool)), playList1cxx . . $ Knowthelist#playList1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setPlaying(bool))); |
| 170 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(statusChanged(bool)), playList2cxx . . $ Knowthelist#playList2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setPlaying(bool))); |
| 171 | |
| 172 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackFinished()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player1_trackFinished())); |
| 173 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackFinished()), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(player2_trackFinished())); |
| 174 | |
| 175 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackPlayed(Track*)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onTrackFinished(Track*))); |
| 176 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackPlayed(Track*)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onTrackFinished(Track*))); |
| 177 | |
| 178 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player1cxx . . $ Knowthelist#player1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackDropped(Track*)), playList1cxx . . $ Knowthelist#playList1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(addCurrentTrack(Track*))); |
| 179 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(player2cxx . . $ Knowthelist#player2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackDropped(Track*)), playList2cxx . . $ Knowthelist#playList2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(addCurrentTrack(Track*))); |
| 180 | |
| 181 | //alternateMax |
| 182 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList1cxx . . $ Knowthelist#playList1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(countChanged(int)), playList2cxx . . $ Knowthelist#playList2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setAlternateMax(int))); |
| 183 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList2cxx . . $ Knowthelist#playList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(countChanged(int)), playList1cxx . . $ Knowthelist#playList1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setAlternateMax(int))); |
| 184 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList1cxx . . $ Knowthelist#playList1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(countChanged(QList<Track*>)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onTracksChanged_Playlist1(QList<Track*>))); |
| 185 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList2cxx . . $ Knowthelist#playList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(countChanged(QList<Track*>)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onTracksChanged_Playlist2(QList<Track*>))); |
| 186 | |
| 187 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djSessioncxx . . $ Knowthelist#djSession., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(foundTracks_Playlist1(QList<Track*>)), playList1cxx . . $ Knowthelist#playList1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(appendTracks(QList<Track*>))); |
| 188 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djSessioncxx . . $ Knowthelist#djSession., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(foundTracks_Playlist2(QList<Track*>)), playList2cxx . . $ Knowthelist#playList2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(appendTracks(QList<Track*>))); |
| 189 | |
| 190 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djSessioncxx . . $ Knowthelist#djSession., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(changed_Playlist1(QPair<int, int>)), player1cxx . . $ Knowthelist#player1., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setInfo(QPair<int, int>))); |
| 191 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djSessioncxx . . $ Knowthelist#djSession., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(changed_Playlist2(QPair<int, int>)), player2cxx . . $ Knowthelist#player2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setInfo(QPair<int, int>))); |
| 192 | |
| 193 | //Add Tracklist for Collection |
| 194 | trackListcxx . . $ Knowthelist#trackList. = new Playlistcxx . . $ Playlist#(); |
| 195 | trackListcxx . . $ Knowthelist#trackList.->setObjectNamecxx . . $ QObject#setObjectName(3520e46b33348bf6).("tracklist"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 196 | trackListcxx . . $ Knowthelist#trackList.->setAcceptDropscxx . . $ QWidget#setAcceptDrops(b45ddcbc8423892c).(false); |
| 197 | trackListcxx . . $ Knowthelist#trackList.->setPlaylistModecxx . . $ Playlist#setPlaylistMode(2d18f437f150c3ac).(Playlistcxx . . $ Playlist#::Tracklistcxx . . $ Playlist#Tracklist.); |
| 198 | |
| 199 | collectionBrowsercxx . . $ Knowthelist#collectionBrowser. = new CollectionWidgetcxx . . $ CollectionWidget#(this); |
| 200 | |
| 201 | splittercxx . . $ Knowthelist#splitter. = new QSplittercxx . . $ QSplitter#(); |
| 202 | splittercxx . . $ Knowthelist#splitter.->addWidgetcxx . . $ QSplitter#addWidget(108f35f7aa7f3cf9).(this->collectionBrowsercxx . . $ Knowthelist#collectionBrowser.); |
| 203 | splittercxx . . $ Knowthelist#splitter.->addWidgetcxx . . $ QSplitter#addWidget(108f35f7aa7f3cf9).(trackListcxx . . $ Knowthelist#trackList.); |
| 204 | QPixmapcxx . . $ QPixmap# pixmap1cxx . . $ QPixmap#QPixmap(dec4543235ec9b46).(":database.png"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 205 | uicxx . . $ Knowthelist#ui.->sideTabcxx . . $ Ui_Knowthelist#sideTab.->AddTabcxx . . $ Core/Internal/FancyTabWidget#AddTab(bc0b2a0f8cc7469d).(splittercxx . . $ Knowthelist#splitter., QIconcxx . . $ QIcon#QIcon(8887f7d25b86c3f4).(pixmap1), trcxx . . $ Knowthelist#tr(75d9f1c324b4579d).("Collection")); |
| 206 | |
| 207 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(collectionBrowsercxx . . $ Knowthelist#collectionBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(selectionChanged(QList<Track*>)), trackListcxx . . $ Knowthelist#trackList., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(changeTracks(QList<Track*>))); |
| 208 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(collectionBrowsercxx . . $ Knowthelist#collectionBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(setupDirs()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(showCollectionSetup())); |
| 209 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(collectionBrowsercxx . . $ Knowthelist#collectionBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(wantLoad(QList<Track*>, QString)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onWantLoad(QList<Track*>, QString))); |
| 210 | |
| 211 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(trackListcxx . . $ Knowthelist#trackList., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(wantSearch(QString)), collectionBrowsercxx . . $ Knowthelist#collectionBrowser., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setFilterText(QString))); |
| 212 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList1cxx . . $ Knowthelist#playList1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(wantSearch(QString)), collectionBrowsercxx . . $ Knowthelist#collectionBrowser., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setFilterText(QString))); |
| 213 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playList2cxx . . $ Knowthelist#playList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(wantSearch(QString)), collectionBrowsercxx . . $ Knowthelist#collectionBrowser., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setFilterText(QString))); |
| 214 | |
| 215 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(trackListcxx . . $ Knowthelist#trackList., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackDoubleClicked(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_doubleClicked(Track*))); |
| 216 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(trackListcxx . . $ Knowthelist#trackList., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(wantLoad(Track*, QString)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(trackList_wantLoad(Track*, QString))); |
| 217 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(trackListcxx . . $ Knowthelist#trackList., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackSelected(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_selectionChanged(Track*))); |
| 218 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(trackListcxx . . $ Knowthelist#trackList., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackPropertyChanged(Track*)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onTrackPropertyChanged(Track*))); |
| 219 | |
| 220 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(playList1cxx . . $ Knowthelist#playList1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackDoubleClicked(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_doubleClicked(Track*))); |
| 221 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(playList2cxx . . $ Knowthelist#playList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackDoubleClicked(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_doubleClicked(Track*))); |
| 222 | |
| 223 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(playList1cxx . . $ Knowthelist#playList1., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackSelected(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_selectionChanged(Track*))); |
| 224 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(playList2cxx . . $ Knowthelist#playList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackSelected(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_selectionChanged(Track*))); |
| 225 | |
| 226 | //AutoFade |
| 227 | uicxx . . $ Knowthelist#ui.->ledFadecxx . . $ Ui_Knowthelist#ledFade.->setLookcxx . . $ QLed#setLook(fdc459d8768250a7).(QLedcxx . . $ QLed#::Flatcxx . . $ QLed#Flat.); |
| 228 | uicxx . . $ Knowthelist#ui.->ledFadeRightcxx . . $ Ui_Knowthelist#ledFadeRight.->setLookcxx . . $ QLed#setLook(fdc459d8768250a7).(QLedcxx . . $ QLed#::Flatcxx . . $ QLed#Flat.); |
| 229 | uicxx . . $ Knowthelist#ui.->ledFadeLeftcxx . . $ Ui_Knowthelist#ledFadeLeft.->setLookcxx . . $ QLed#setLook(fdc459d8768250a7).(QLedcxx . . $ QLed#::Flatcxx . . $ QLed#Flat.); |
| 230 | uicxx . . $ Knowthelist#ui.->ledDJcxx . . $ Ui_Knowthelist#ledDJ.->setLookcxx . . $ QLed#setLook(fdc459d8768250a7).(QLedcxx . . $ QLed#::Flatcxx . . $ QLed#Flat.); |
| 231 | uicxx . . $ Knowthelist#ui.->ledAGCcxx . . $ Ui_Knowthelist#ledAGC.->setLookcxx . . $ QLed#setLook(fdc459d8768250a7).(QLedcxx . . $ QLed#::Flatcxx . . $ QLed#Flat.); |
| 232 | uicxx . . $ Knowthelist#ui.->ledFadeRightcxx . . $ Ui_Knowthelist#ledFadeRight.->setShapecxx . . $ QLed#setShape(c349c718748204da).(QLedcxx . . $ QLed#::Rectangularcxx . . $ QLed#Rectangular.); |
| 233 | uicxx . . $ Knowthelist#ui.->ledFadeLeftcxx . . $ Ui_Knowthelist#ledFadeLeft.->setShapecxx . . $ QLed#setShape(c349c718748204da).(QLedcxx . . $ QLed#::Rectangularcxx . . $ QLed#Rectangular.); |
| 234 | uicxx . . $ Knowthelist#ui.->ledFadecxx . . $ Ui_Knowthelist#ledFade.->setShapecxx . . $ QLed#setShape(c349c718748204da).(QLedcxx . . $ QLed#::Rectangularcxx . . $ QLed#Rectangular.); |
| 235 | uicxx . . $ Knowthelist#ui.->ledDJcxx . . $ Ui_Knowthelist#ledDJ.->setShapecxx . . $ QLed#setShape(c349c718748204da).(QLedcxx . . $ QLed#::Rectangularcxx . . $ QLed#Rectangular.); |
| 236 | uicxx . . $ Knowthelist#ui.->ledAGCcxx . . $ Ui_Knowthelist#ledAGC.->setShapecxx . . $ QLed#setShape(c349c718748204da).(QLedcxx . . $ QLed#::Rectangularcxx . . $ QLed#Rectangular.); |
| 237 | uicxx . . $ Knowthelist#ui.->ledFadeRightcxx . . $ Ui_Knowthelist#ledFadeRight.->setColorcxx . . $ QLed#setColor(129a55e114526ad3).(QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(35, 119, 246)); |
| 238 | uicxx . . $ Knowthelist#ui.->ledFadeLeftcxx . . $ Ui_Knowthelist#ledFadeLeft.->setColorcxx . . $ QLed#setColor(129a55e114526ad3).(QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(35, 119, 246)); |
| 239 | uicxx . . $ Knowthelist#ui.->ledFadecxx . . $ Ui_Knowthelist#ledFade.->setColorcxx . . $ QLed#setColor(129a55e114526ad3).(QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(35, 119, 246)); |
| 240 | uicxx . . $ Knowthelist#ui.->ledDJcxx . . $ Ui_Knowthelist#ledDJ.->setColorcxx . . $ QLed#setColor(129a55e114526ad3).(QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(35, 119, 246)); |
| 241 | uicxx . . $ Knowthelist#ui.->ledAGCcxx . . $ Ui_Knowthelist#ledAGC.->setColorcxx . . $ QLed#setColor(129a55e114526ad3).(QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(35, 119, 246)); |
| 242 | uicxx . . $ Knowthelist#ui.->ledFadecxx . . $ Ui_Knowthelist#ledFade.->offcxx . . $ QLed#off(49f6e7a06ebc5aa8).(); |
| 243 | uicxx . . $ Knowthelist#ui.->ledFadeRightcxx . . $ Ui_Knowthelist#ledFadeRight.->offcxx . . $ QLed#off(49f6e7a06ebc5aa8).(); |
| 244 | uicxx . . $ Knowthelist#ui.->ledFadeLeftcxx . . $ Ui_Knowthelist#ledFadeLeft.->offcxx . . $ QLed#off(49f6e7a06ebc5aa8).(); |
| 245 | uicxx . . $ Knowthelist#ui.->ledAGCcxx . . $ Ui_Knowthelist#ledAGC.->offcxx . . $ QLed#off(49f6e7a06ebc5aa8).(); |
| 246 | uicxx . . $ Knowthelist#ui.->ledDJcxx . . $ Ui_Knowthelist#ledDJ.->offcxx . . $ QLed#off(49f6e7a06ebc5aa8).(); |
| 247 | |
| 248 | //MonitorPlayer |
| 249 | initMonitorPlayercxx . . $ Knowthelist#initMonitorPlayer(c9857a73d68e59ba).(); |
| 250 | |
| 251 | //change slider style for linux |
| 252 | #if defined(Q_OS_LINUXcxx . . $ `/usr/include/x86_64-linux-gnu/qt5/QtCore/qsystemdetection.h:150:11`!) |
| 253 | QStringcxx . . $ QString# sliderStyle = QStringcxx . . $ QString#QString(85c52e162fed56f9).( |
| 254 | "QSlider::sub-page:vertical { background: qlineargradient(x1: 0, y1: 0, x2:1, y2: 0," |
| 255 | " stop: 0.4 #666, stop: 0 #111111 ); border: 1px solid #444; border-radius: 2px;}" |
| 256 | "QSlider::add-page:vertical {background: qlineargradient(x1: 0, y1: 0, x2:1, y2: 0," |
| 257 | " stop: 0 #111,stop: 0.4 #666); border: 1px solid #333; border-radius: 2px;}" |
| 258 | "QSlider::sub-page:horizontal,QSlider::add-page:horizontal {" |
| 259 | " background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1," |
| 260 | " stop: 0 #111, stop: 0.6 #666 ); border: 1px solid #222; border-radius: 2px;}"); |
| 261 | |
| 262 | uicxx . . $ Knowthelist#ui.->frameMixercxx . . $ Ui_Knowthelist#frameMixer.->setStyleSheetcxx . . $ QWidget#setStyleSheet(3520e46b33348bf6).(sliderStyle); |
| 263 | uicxx . . $ Knowthelist#ui.->MonitorPlayercxx . . $ Ui_Knowthelist#MonitorPlayer.->setStyleSheetcxx . . $ QWidget#setStyleSheet(3520e46b33348bf6).(sliderStyle); |
| 264 | #endif |
| 265 | |
| 266 | //Add the AutoDJ Browser |
| 267 | djBrowsercxx . . $ Knowthelist#djBrowser. = new DjBrowsercxx . . $ DjBrowser#(); |
| 268 | QPixmapcxx . . $ QPixmap# pixmap2cxx . . $ QPixmap#QPixmap(dec4543235ec9b46).(":DJ.png"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 269 | uicxx . . $ Knowthelist#ui.->sideTabcxx . . $ Ui_Knowthelist#sideTab.->AddTabcxx . . $ Core/Internal/FancyTabWidget#AddTab(bc0b2a0f8cc7469d).(djBrowsercxx . . $ Knowthelist#djBrowser., QIconcxx . . $ QIcon#QIcon(8887f7d25b86c3f4).(pixmap2), trcxx . . $ Knowthelist#tr(75d9f1c324b4579d).("AutoDJ")); |
| 270 | uicxx . . $ Knowthelist#ui.->sideTabcxx . . $ Ui_Knowthelist#sideTab.->setContextMenuPolicycxx . . $ QWidget#setContextMenuPolicy(de0fa9f0eb4c7210).(Qtcxx . . $ Qt/::NoContextMenucxx . . $ Qt/NoContextMenu.); |
| 271 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djBrowsercxx . . $ Knowthelist#djBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(selectionChanged(Dj*)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(setCurrentDj(Dj*))); |
| 272 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djBrowsercxx . . $ Knowthelist#djBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(selectionChanged(Dj*)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(currentDjChanged(Dj*))); |
| 273 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djBrowsercxx . . $ Knowthelist#djBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(selectionStarted()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(startAutoDj())); |
| 274 | |
| 275 | //Add the FileBrowser |
| 276 | filetreecxx . . $ Knowthelist#filetree. = new FileBrowsercxx . . $ FileBrowser#(this); |
| 277 | QPixmapcxx . . $ QPixmap# pixmap3cxx . . $ QPixmap#QPixmap(dec4543235ec9b46).(":folder.png"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 278 | uicxx . . $ Knowthelist#ui.->sideTabcxx . . $ Ui_Knowthelist#sideTab.->AddTabcxx . . $ Core/Internal/FancyTabWidget#AddTab(bc0b2a0f8cc7469d).(filetreecxx . . $ Knowthelist#filetree., QIconcxx . . $ QIcon#QIcon(8887f7d25b86c3f4).(pixmap3), trcxx . . $ Knowthelist#tr(75d9f1c324b4579d).("Folder")); |
| 279 | |
| 280 | //Add PlaylistBrowser |
| 281 | playlistBrowsercxx . . $ Knowthelist#playlistBrowser. = new PlaylistBrowsercxx . . $ PlaylistBrowser#(); |
| 282 | |
| 283 | splitterPlaylistcxx . . $ Knowthelist#splitterPlaylist. = new QSplittercxx . . $ QSplitter#(); |
| 284 | splitterPlaylistcxx . . $ Knowthelist#splitterPlaylist.->addWidgetcxx . . $ QSplitter#addWidget(108f35f7aa7f3cf9).(playlistBrowsercxx . . $ Knowthelist#playlistBrowser.); |
| 285 | |
| 286 | trackList2cxx . . $ Knowthelist#trackList2. = new Playlistcxx . . $ Playlist#(); |
| 287 | trackList2cxx . . $ Knowthelist#trackList2.->setObjectNamecxx . . $ QObject#setObjectName(3520e46b33348bf6).("tracklist2"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 288 | trackList2cxx . . $ Knowthelist#trackList2.->setAcceptDropscxx . . $ QWidget#setAcceptDrops(b45ddcbc8423892c).(false); |
| 289 | trackList2cxx . . $ Knowthelist#trackList2.->setPlaylistModecxx . . $ Playlist#setPlaylistMode(2d18f437f150c3ac).(Playlistcxx . . $ Playlist#::Tracklistcxx . . $ Playlist#Tracklist.); |
| 290 | |
| 291 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playlistBrowsercxx . . $ Knowthelist#playlistBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(selectionChanged(QList<Track*>)), trackList2cxx . . $ Knowthelist#trackList2., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(changeTracks(QList<Track*>))); |
| 292 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playlistBrowsercxx . . $ Knowthelist#playlistBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(selectionStarted(QList<Track*>)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(forceTracks(QList<Track*>))); |
| 293 | //connect(playlistBrowser,SIGNAL(savePlaylists(QString)),djSession, SLOT(savePlaylists(QString))); |
| 294 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(playlistBrowsercxx . . $ Knowthelist#playlistBrowser., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(storePlaylists(QString)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(storePlaylists(QString))); |
| 295 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(djSessioncxx . . $ Knowthelist#djSession., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(savedPlaylists()), playlistBrowsercxx . . $ Knowthelist#playlistBrowser., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(updateLists())); |
| 296 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(trackList2cxx . . $ Knowthelist#trackList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackDoubleClicked(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_doubleClicked(Track*))); |
| 297 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(trackList2cxx . . $ Knowthelist#trackList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(wantLoad(Track*, QString)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(trackList_wantLoad(Track*, QString))); |
| 298 | connectcxx . . $ QObject#connect(f4332061c7e4ca89).(trackList2cxx . . $ Knowthelist#trackList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackSelected(Track*)), SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(Track_selectionChanged(Track*))); |
| 299 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(trackList2cxx . . $ Knowthelist#trackList2., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(trackPropertyChanged(Track*)), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onTrackPropertyChanged(Track*))); |
| 300 | |
| 301 | splitterPlaylistcxx . . $ Knowthelist#splitterPlaylist.->addWidgetcxx . . $ QSplitter#addWidget(108f35f7aa7f3cf9).(trackList2cxx . . $ Knowthelist#trackList2.); |
| 302 | QPixmapcxx . . $ QPixmap# pixmap4cxx . . $ QPixmap#QPixmap(dec4543235ec9b46).(":list.png"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 303 | uicxx . . $ Knowthelist#ui.->sideTabcxx . . $ Ui_Knowthelist#sideTab.->AddTabcxx . . $ Core/Internal/FancyTabWidget#AddTab(bc0b2a0f8cc7469d).(splitterPlaylistcxx . . $ Knowthelist#splitterPlaylist., QIconcxx . . $ QIcon#QIcon(8887f7d25b86c3f4).(pixmap4), trcxx . . $ Knowthelist#tr(75d9f1c324b4579d).("Lists")); |
| 304 | |
| 305 | //Add SettingsDialog |
| 306 | preferencescxx . . $ Knowthelist#preferences. = new SettingsDialogcxx . . $ SettingsDialog#(this); |
| 307 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(preferencescxx . . $ Knowthelist#preferences., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(scanNowPressed()), collectionBrowsercxx . . $ Knowthelist#collectionBrowser., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(scan())); |
| 308 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(preferencescxx . . $ Knowthelist#preferences., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(resetStatsPressed()), djSessioncxx . . $ Knowthelist#djSession., SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onResetStats())); |
| 309 | |
| 310 | loadStartSettingscxx . . $ Knowthelist#loadStartSettings(49f6e7a06ebc5aa8).(); |
| 311 | |
| 312 | uicxx . . $ Knowthelist#ui.->sideTabcxx . . $ Ui_Knowthelist#sideTab.->SetCurrentIndexcxx . . $ Core/Internal/FancyTabWidget#SetCurrentIndex(d4f767463ce0a6b3).(0); |
| 313 | uicxx . . $ Knowthelist#ui.->sideTabcxx . . $ Ui_Knowthelist#sideTab.->SetModecxx . . $ Core/Internal/FancyTabWidget#SetMode(dfd2534392596d8d).(FancyTabWidgetcxx . . $ Core/Internal/FancyTabWidget#::Mode_LargeSidebarcxx . . $ Core/Internal/FancyTabWidget#Mode_LargeSidebar.); |
| 314 | |
| 315 | //Collection ready? |
| 316 | if (!collectionBrowsercxx . . $ Knowthelist#collectionBrowser.->hasItemscxx . . $ CollectionWidget#hasItems(c9857a73d68e59ba).()) { |
| 317 | this->showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 318 | showCollectionSetupcxx . . $ Knowthelist#showCollectionSetup(49f6e7a06ebc5aa8).(); |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | void Knowthelistcxx . . $ Knowthelist#::loadStartSettingscxx . . $ Knowthelist#loadStartSettings(49f6e7a06ebc5aa8).() |
| 323 | { |
| 324 | QSettingscxx . . $ QSettings# settingscxx . . $ QSettings#QSettings(749de1b6ae65bddd).; |
| 325 | |
| 326 | uicxx . . $ Knowthelist#ui.->slider1cxx . . $ Ui_Knowthelist#slider1.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("Volume1"cxx . . $ QString#QString(85c52e162fed56f9)., 80cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 327 | uicxx . . $ Knowthelist#ui.->slider2cxx . . $ Ui_Knowthelist#slider2.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("Volume2"cxx . . $ QString#QString(85c52e162fed56f9)., 80cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 328 | |
| 329 | uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(70); |
| 330 | changeVolumescxx . . $ Knowthelist#changeVolumes(49f6e7a06ebc5aa8).(); |
| 331 | |
| 332 | splittercxx . . $ Knowthelist#splitter.->restoreStatecxx . . $ QSplitter#restoreState(544790aa27d183a0).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("Splitter"cxx . . $ QString#QString(85c52e162fed56f9).).toByteArraycxx . . $ QVariant#toByteArray(a96750bfbcb1fbe9).()); |
| 333 | splitterPlaylistcxx . . $ Knowthelist#splitterPlaylist.->restoreStatecxx . . $ QSplitter#restoreState(544790aa27d183a0).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("SplitterPlaylist"cxx . . $ QString#QString(85c52e162fed56f9).).toByteArraycxx . . $ QVariant#toByteArray(a96750bfbcb1fbe9).()); |
| 334 | |
| 335 | restoreGeometrycxx . . $ QWidget#restoreGeometry(544790aa27d183a0).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("mainWindowGeometry"cxx . . $ QString#QString(85c52e162fed56f9).).toByteArraycxx . . $ QVariant#toByteArray(a96750bfbcb1fbe9).()); |
| 336 | restoreStatecxx . . $ QMainWindow#restoreState(eb4ac98757633405).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("mainWindowState"cxx . . $ QString#QString(85c52e162fed56f9).).toByteArraycxx . . $ QVariant#toByteArray(a96750bfbcb1fbe9).()); |
| 337 | |
| 338 | // Workaround to force correct geometry |
| 339 | hidecxx . . $ QWidget#hide(49f6e7a06ebc5aa8).(); |
| 340 | showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 341 | |
| 342 | if (settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("loadPlaylists"cxx . . $ QString#QString(85c52e162fed56f9)., "true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).) ==cxx . . $ QVariant#`operator==`(d03696648ee9d662). "true"cxx . . $ QVariant#QVariant(85c52e162fed56f9).) { |
| 343 | djSessioncxx . . $ Knowthelist#djSession.->playDefaultListcxx . . $ DjSession#playDefaultList(49f6e7a06ebc5aa8).(); |
| 344 | } |
| 345 | |
| 346 | //AutoFade, AGC ... |
| 347 | uicxx . . $ Knowthelist#ui.->toggleAutoFadecxx . . $ Ui_Knowthelist#toggleAutoFade.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkAutoFade"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 348 | uicxx . . $ Knowthelist#ui.->toggleAGCcxx . . $ Ui_Knowthelist#toggleAGC.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkAGC"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 349 | |
| 350 | //EQ values |
| 351 | uicxx . . $ Knowthelist#ui.->potHigh_1cxx . . $ Ui_Knowthelist#potHigh_1.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("EQ_gains/High1"cxx . . $ QString#QString(85c52e162fed56f9)., 180cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 352 | uicxx . . $ Knowthelist#ui.->potMid_1cxx . . $ Ui_Knowthelist#potMid_1.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("EQ_gains/Mid1"cxx . . $ QString#QString(85c52e162fed56f9)., 180cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 353 | uicxx . . $ Knowthelist#ui.->potLow_1cxx . . $ Ui_Knowthelist#potLow_1.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("EQ_gains/Low1"cxx . . $ QString#QString(85c52e162fed56f9)., 180cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 354 | uicxx . . $ Knowthelist#ui.->potHigh_2cxx . . $ Ui_Knowthelist#potHigh_2.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("EQ_gains/High2"cxx . . $ QString#QString(85c52e162fed56f9)., 180cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 355 | uicxx . . $ Knowthelist#ui.->potMid_2cxx . . $ Ui_Knowthelist#potMid_2.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("EQ_gains/Mid2"cxx . . $ QString#QString(85c52e162fed56f9)., 180cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 356 | uicxx . . $ Knowthelist#ui.->potLow_2cxx . . $ Ui_Knowthelist#potLow_2.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("EQ_gains/Low2"cxx . . $ QString#QString(85c52e162fed56f9)., 180cxx . . $ QVariant#QVariant(d4f767463ce0a6b3).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 357 | |
| 358 | loadCurrentSettingscxx . . $ Knowthelist#loadCurrentSettings(49f6e7a06ebc5aa8).(); |
| 359 | |
| 360 | //now monitorplayer is initialized, restore monitor volume with effect |
| 361 | uicxx . . $ Knowthelist#ui.->sliMonitorVolumecxx . . $ Ui_Knowthelist#sliMonitorVolume.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("VolumeMonitor"cxx . . $ QString#QString(85c52e162fed56f9).).toDoublecxx . . $ QVariant#toDouble(1bd8e57dd4a29c14).()); |
| 362 | } |
| 363 | |
| 364 | void Knowthelistcxx . . $ Knowthelist#::loadCurrentSettingscxx . . $ Knowthelist#loadCurrentSettings(49f6e7a06ebc5aa8).() |
| 365 | { |
| 366 | QSettingscxx . . $ QSettings# settingscxx . . $ QSettings#QSettings(749de1b6ae65bddd).; |
| 367 | |
| 368 | if (monitorPlayercxx . . $ Knowthelist#monitorPlayer.) { |
| 369 | on_cmdMonitorStop_clickedcxx . . $ Knowthelist#on_cmdMonitorStop_clicked(49f6e7a06ebc5aa8).(); |
| 370 | |
| 371 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->setOutputDevicecxx . . $ MonitorPlayer#setOutputDevice(7df51288a9ebd664).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("MonitorOutputDevice"cxx . . $ QString#QString(85c52e162fed56f9).).toStringcxx . . $ QVariant#toString(6ef7b6c27b00b43d).()); |
| 372 | QStringcxx . . $ QString# outDev = monitorPlayercxx . . $ Knowthelist#monitorPlayer.->outputDeviceNamecxx . . $ MonitorPlayer#outputDeviceName(4365c3963150523e).(); |
| 373 | if (monitorPlayercxx . . $ Knowthelist#monitorPlayer.->outputDeviceIDcxx . . $ MonitorPlayer#outputDeviceID(4365c3963150523e).() ==cxx . . $ `operator==`(5bc2975d2d751687). monitorPlayercxx . . $ Knowthelist#monitorPlayer.->defaultDeviceIDcxx . . $ MonitorPlayer#defaultDeviceID(4365c3963150523e).() |
| 374 | || outDev.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) { |
| 375 | uicxx . . $ Knowthelist#ui.->lblSoundcardcxx . . $ Ui_Knowthelist#lblSoundcard.->showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 376 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->disablecxx . . $ MonitorPlayer#disable(49f6e7a06ebc5aa8).(); |
| 377 | } else { |
| 378 | uicxx . . $ Knowthelist#ui.->lblSoundcardcxx . . $ Ui_Knowthelist#lblSoundcard.->hidecxx . . $ QWidget#hide(49f6e7a06ebc5aa8).(); |
| 379 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->enablecxx . . $ MonitorPlayer#enable(49f6e7a06ebc5aa8).(); |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | //Auto DJ Settings |
| 384 | djSessioncxx . . $ Knowthelist#djSession.->setMinCountcxx . . $ DjSession#setMinCount(d4f767463ce0a6b3).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("minTracks"cxx . . $ QString#QString(85c52e162fed56f9)., "6"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).()); |
| 385 | djSessioncxx . . $ Knowthelist#djSession.->setIsEnabledAutoDJCountcxx . . $ DjSession#setIsEnabledAutoDJCount(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("isEnabledAutoDJCount"cxx . . $ QString#QString(85c52e162fed56f9)., falsecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 386 | djBrowsercxx . . $ Knowthelist#djBrowser.->updateListcxx . . $ DjBrowser#updateList(49f6e7a06ebc5aa8).(); |
| 387 | |
| 388 | playList1cxx . . $ Knowthelist#playList1.->setAutoClearOncxx . . $ Playlist#setAutoClearOn(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkAutoRemove"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 389 | playList2cxx . . $ Knowthelist#playList2.->setAutoClearOncxx . . $ Playlist#setAutoClearOn(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkAutoRemove"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 390 | playlistBrowsercxx . . $ Knowthelist#playlistBrowser.->updateListscxx . . $ PlaylistBrowser#updateLists(49f6e7a06ebc5aa8).(); |
| 391 | |
| 392 | //Skip Silents Settings |
| 393 | player1cxx . . $ Knowthelist#player1.->setSkipSilentEndcxx . . $ PlayerWidget#setSkipSilentEnd(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkSkipSilentEnd"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 394 | player1cxx . . $ Knowthelist#player1.->setSkipSilentBegincxx . . $ PlayerWidget#setSkipSilentBegin(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkAutoCue"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 395 | player2cxx . . $ Knowthelist#player2.->setSkipSilentEndcxx . . $ PlayerWidget#setSkipSilentEnd(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkSkipSilentEnd"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 396 | player2cxx . . $ Knowthelist#player2.->setSkipSilentBegincxx . . $ PlayerWidget#setSkipSilentBegin(b45ddcbc8423892c).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("checkAutoCue"cxx . . $ QString#QString(85c52e162fed56f9)., truecxx . . $ QVariant#QVariant(b45ddcbc8423892c).).toBoolcxx . . $ QVariant#toBool(50ce9a9e25b4a850).()); |
| 397 | |
| 398 | //Fader Settings |
| 399 | mAutofadeLengthcxx . . $ Knowthelist#mAutofadeLength. = settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("faderTimeSlider"cxx . . $ QString#QString(85c52e162fed56f9)., "12"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).(); |
| 400 | mAboutFinishTimecxx . . $ Knowthelist#mAboutFinishTime. = settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("faderEndSlider"cxx . . $ QString#QString(85c52e162fed56f9)., "12"cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).(); |
| 401 | setFaderModeToPlayercxx . . $ Knowthelist#setFaderModeToPlayer(49f6e7a06ebc5aa8).(); |
| 402 | isFadingcxx . . $ Knowthelist#isFading. = false; |
| 403 | |
| 404 | //CollectionFolders Settings |
| 405 | collectionBrowsercxx . . $ Knowthelist#collectionBrowser.->loadSettingscxx . . $ CollectionWidget#loadSettings(49f6e7a06ebc5aa8).(); |
| 406 | |
| 407 | //File Browser Settings |
| 408 | filetreecxx . . $ Knowthelist#filetree.->setRootPathcxx . . $ FileBrowser#setRootPath(7df51288a9ebd664).(settings.valuecxx . . $ QSettings#value(12a1b1749da49362).("editBrowerRoot"cxx . . $ QString#QString(85c52e162fed56f9)., ""cxx . . $ QVariant#QVariant(85c52e162fed56f9).).toStringcxx . . $ QVariant#toString(6ef7b6c27b00b43d).()); |
| 409 | } |
| 410 | |
| 411 | void Knowthelistcxx . . $ Knowthelist#::closeEventcxx . . $ Knowthelist#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent#* event) |
| 412 | { |
| 413 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "for Knowthelist"; |
| 414 | |
| 415 | QSettingscxx . . $ QSettings# settingscxx . . $ QSettings#QSettings(749de1b6ae65bddd).; |
| 416 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("Volume1"cxx . . $ QString#QString(85c52e162fed56f9)., QStringcxx . . $ QVariant#QVariant(3520e46b33348bf6).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(uicxx . . $ Knowthelist#ui.->slider1cxx . . $ Ui_Knowthelist#slider1.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).())); |
| 417 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("Volume2"cxx . . $ QString#QString(85c52e162fed56f9)., QStringcxx . . $ QVariant#QVariant(3520e46b33348bf6).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(uicxx . . $ Knowthelist#ui.->slider2cxx . . $ Ui_Knowthelist#slider2.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).())); |
| 418 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("VolumeMonitor"cxx . . $ QString#QString(85c52e162fed56f9)., QStringcxx . . $ QVariant#QVariant(3520e46b33348bf6).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(uicxx . . $ Knowthelist#ui.->sliMonitorVolumecxx . . $ Ui_Knowthelist#sliMonitorVolume.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).())); |
| 419 | |
| 420 | savePlaylistscxx . . $ Knowthelist#savePlaylists(49f6e7a06ebc5aa8).(); |
| 421 | |
| 422 | //Save splitter |
| 423 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("Splitter"cxx . . $ QString#QString(85c52e162fed56f9)., splittercxx . . $ QVariant#QVariant(45672f3c6961a244).->saveStatecxx . . $ QSplitter#saveState(a96750bfbcb1fbe9).()); |
| 424 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("SplitterPlaylist"cxx . . $ QString#QString(85c52e162fed56f9)., splitterPlaylistcxx . . $ QVariant#QVariant(45672f3c6961a244).->saveStatecxx . . $ QSplitter#saveState(a96750bfbcb1fbe9).()); |
| 425 | |
| 426 | //Save AutoDJ |
| 427 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("isEnabledAutoDJCount"cxx . . $ QString#QString(85c52e162fed56f9)., djSessioncxx . . $ QVariant#QVariant(b45ddcbc8423892c).->isEnabledAutoDJCountcxx . . $ DjSession#isEnabledAutoDJCount(c9857a73d68e59ba).()); |
| 428 | |
| 429 | Djcxx . . $ Dj#* dj = djSessioncxx . . $ Knowthelist#djSession.->currentDjcxx . . $ DjSession#currentDj(e9895b3307cb1926).(); |
| 430 | if (dj != nullptr) { |
| 431 | QListcxx . . $ QList#<Filtercxx . . $ Filter#*> f = dj->filterscxx . . $ Dj#filters(7f69582c18edfd8d).(); |
| 432 | |
| 433 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("currentDjActiveFilter"cxx . . $ QString#QString(85c52e162fed56f9)., QStringcxx . . $ QVariant#QVariant(3520e46b33348bf6).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(djSessioncxx . . $ Knowthelist#djSession.->currentDjcxx . . $ DjSession#currentDj(e9895b3307cb1926).()->activeFilterIdxcxx . . $ Dj#activeFilterIdx(b126dc7c1de90089).())); |
| 434 | |
| 435 | for (int i = 0; i < f.countcxx . . $ QList#count(455f465bc33b4cdf).(); i++) { |
| 436 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("editAutoDJPath%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(i), fcxx . . $ QVariant#QVariant(3520e46b33348bf6)..atcxx . . $ QList#at(e2681f9bb6b2f357).(i)->pathcxx . . $ Filter#path(4365c3963150523e).()); |
| 437 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("editAutoDJGenre%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(i), fcxx . . $ QVariant#QVariant(3520e46b33348bf6)..atcxx . . $ QList#at(e2681f9bb6b2f357).(i)->genrecxx . . $ Filter#genre(4365c3963150523e).()); |
| 438 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("editAutoDJArtist%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(i), fcxx . . $ QVariant#QVariant(3520e46b33348bf6)..atcxx . . $ QList#at(e2681f9bb6b2f357).(i)->artistcxx . . $ Filter#artist(4365c3963150523e).()); |
| 439 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("editAutoDJValue%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(i), QStringcxx . . $ QVariant#QVariant(3520e46b33348bf6).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(f.atcxx . . $ QList#at(e2681f9bb6b2f357).(i)->maxUsagecxx . . $ Filter#maxUsage(b126dc7c1de90089).())); |
| 440 | } |
| 441 | } |
| 442 | |
| 443 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("checkAutoFade"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->toggleAutoFadecxx . . $ Ui_Knowthelist#toggleAutoFade.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()); |
| 444 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("checkAGC"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(b45ddcbc8423892c).->toggleAGCcxx . . $ Ui_Knowthelist#toggleAGC.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()); |
| 445 | |
| 446 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("EQ_gains/High1"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->potHigh_1cxx . . $ Ui_Knowthelist#potHigh_1.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).()); |
| 447 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("EQ_gains/Mid1"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->potMid_1cxx . . $ Ui_Knowthelist#potMid_1.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).()); |
| 448 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("EQ_gains/Low1"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->potLow_1cxx . . $ Ui_Knowthelist#potLow_1.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).()); |
| 449 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("EQ_gains/High2"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->potHigh_2cxx . . $ Ui_Knowthelist#potHigh_2.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).()); |
| 450 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("EQ_gains/Mid2"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->potMid_2cxx . . $ Ui_Knowthelist#potMid_2.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).()); |
| 451 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("EQ_gains/Low2"cxx . . $ QString#QString(85c52e162fed56f9)., uicxx . . $ QVariant#QVariant(d4f767463ce0a6b3).->potLow_2cxx . . $ Ui_Knowthelist#potLow_2.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).()); |
| 452 | |
| 453 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("mainWindowGeometry"cxx . . $ QString#QString(85c52e162fed56f9)., saveGeometrycxx . . $ QVariant#QVariant(45672f3c6961a244).()); |
| 454 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("mainWindowState"cxx . . $ QString#QString(85c52e162fed56f9)., saveStatecxx . . $ QVariant#QVariant(45672f3c6961a244).()); |
| 455 | |
| 456 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "settings saved"; |
| 457 | event->acceptcxx . . $ QEvent#accept(49f6e7a06ebc5aa8).(); |
| 458 | } |
| 459 | |
| 460 | void Knowthelistcxx . . $ Knowthelist#::showCollectionSetupcxx . . $ Knowthelist#showCollectionSetup(49f6e7a06ebc5aa8).() |
| 461 | { |
| 462 | preferencescxx . . $ Knowthelist#preferences.->setCurrentTabcxx . . $ SettingsDialog#setCurrentTab(518488a6b95328a8).(SettingsDialogcxx . . $ SettingsDialog#::TabCollectioncxx . . $ SettingsDialog#TabCollection.); |
| 463 | if (preferencescxx . . $ Knowthelist#preferences.->execcxx . . $ SettingsDialog#exec(b126dc7c1de90089).() != QDialogcxx . . $ QDialog#::Rejectedcxx . . $ QDialog#Rejected.) |
| 464 | loadCurrentSettingscxx . . $ Knowthelist#loadCurrentSettings(49f6e7a06ebc5aa8).(); |
| 465 | } |
| 466 | |
| 467 | void Knowthelistcxx . . $ Knowthelist#::player1_levelChangedcxx . . $ Knowthelist#player1_levelChanged(bc12c9ec15586e6a).(double left, double right) |
| 468 | { |
| 469 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->setValueLeftcxx . . $ VUMeter#setValueLeft(ba8836b59fb42830).(left * 3.0); |
| 470 | vuMeter1cxx . . $ Knowthelist#vuMeter1.->setValueRightcxx . . $ VUMeter#setValueRight(ba8836b59fb42830).(right * 3.0); |
| 471 | } |
| 472 | |
| 473 | void Knowthelistcxx . . $ Knowthelist#::player2_levelChangedcxx . . $ Knowthelist#player2_levelChanged(bc12c9ec15586e6a).(double left, double right) |
| 474 | { |
| 475 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->setValueLeftcxx . . $ VUMeter#setValueLeft(ba8836b59fb42830).(left * 3.0); |
| 476 | vuMeter2cxx . . $ Knowthelist#vuMeter2.->setValueRightcxx . . $ VUMeter#setValueRight(ba8836b59fb42830).(right * 3.0); |
| 477 | } |
| 478 | |
| 479 | void Knowthelistcxx . . $ Knowthelist#::player_aboutTrackFinishedcxx . . $ Knowthelist#player_aboutTrackFinished(49f6e7a06ebc5aa8).() |
| 480 | { |
| 481 | if (uicxx . . $ Knowthelist#ui.->toggleAutoFadecxx . . $ Ui_Knowthelist#toggleAutoFade.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 482 | fadeNowcxx . . $ Knowthelist#fadeNow(49f6e7a06ebc5aa8).(); |
| 483 | } |
| 484 | |
| 485 | void Knowthelistcxx . . $ Knowthelist#::player1_trackFinishedcxx . . $ Knowthelist#player1_trackFinished(49f6e7a06ebc5aa8).() |
| 486 | { |
| 487 | if (isFadingcxx . . $ Knowthelist#isFading.) |
| 488 | player1cxx . . $ Knowthelist#player1.->stopcxx . . $ PlayerWidget#stop(49f6e7a06ebc5aa8).(); |
| 489 | playList1cxx . . $ Knowthelist#playList1.->skipForwardcxx . . $ Playlist#skipForward(49f6e7a06ebc5aa8).(); |
| 490 | } |
| 491 | |
| 492 | void Knowthelistcxx . . $ Knowthelist#::player2_trackFinishedcxx . . $ Knowthelist#player2_trackFinished(49f6e7a06ebc5aa8).() |
| 493 | { |
| 494 | if (isFadingcxx . . $ Knowthelist#isFading.) |
| 495 | player2cxx . . $ Knowthelist#player2.->stopcxx . . $ PlayerWidget#stop(49f6e7a06ebc5aa8).(); |
| 496 | playList2cxx . . $ Knowthelist#playList2.->skipForwardcxx . . $ Playlist#skipForward(49f6e7a06ebc5aa8).(); |
| 497 | } |
| 498 | |
| 499 | void Knowthelistcxx . . $ Knowthelist#::player1_gainChangedcxx . . $ Knowthelist#player1_gainChanged(ba8836b59fb42830).(double gainValue) |
| 500 | { |
| 501 | gain1Targetcxx . . $ Knowthelist#gain1Target. = (int)(gainValue * 100.0); |
| 502 | if (uicxx . . $ Knowthelist#ui.->toggleAGCcxx . . $ Ui_Knowthelist#toggleAGC.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 503 | timerGain1cxx . . $ Knowthelist#timerGain1.->startcxx . . $ QTimer#start(49f6e7a06ebc5aa8).(); |
| 504 | } |
| 505 | |
| 506 | void Knowthelistcxx . . $ Knowthelist#::player2_gainChangedcxx . . $ Knowthelist#player2_gainChanged(ba8836b59fb42830).(double gainValue) |
| 507 | { |
| 508 | gain2Targetcxx . . $ Knowthelist#gain2Target. = (int)(gainValue * 100.0); |
| 509 | if (uicxx . . $ Knowthelist#ui.->toggleAGCcxx . . $ Ui_Knowthelist#toggleAGC.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 510 | timerGain2cxx . . $ Knowthelist#timerGain2.->startcxx . . $ QTimer#start(49f6e7a06ebc5aa8).(); |
| 511 | } |
| 512 | |
| 513 | // Move gain1 dial smoothly |
| 514 | void Knowthelistcxx . . $ Knowthelist#::timerGain1_timeOutcxx . . $ Knowthelist#timerGain1_timeOut(49f6e7a06ebc5aa8).() |
| 515 | { |
| 516 | int gain1 = uicxx . . $ Knowthelist#ui.->potGain_1cxx . . $ Ui_Knowthelist#potGain_1.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).(); |
| 517 | if (gain1Targetcxx . . $ Knowthelist#gain1Target. > gain1) |
| 518 | uicxx . . $ Knowthelist#ui.->potGain_1cxx . . $ Ui_Knowthelist#potGain_1.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(gain1 + 1); |
| 519 | else if (gain1Targetcxx . . $ Knowthelist#gain1Target. < gain1) |
| 520 | uicxx . . $ Knowthelist#ui.->potGain_1cxx . . $ Ui_Knowthelist#potGain_1.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(gain1 - 1); |
| 521 | else |
| 522 | timerGain1cxx . . $ Knowthelist#timerGain1.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 523 | } |
| 524 | |
| 525 | // Move gain2 dial smoothly |
| 526 | void Knowthelistcxx . . $ Knowthelist#::timerGain2_timeOutcxx . . $ Knowthelist#timerGain2_timeOut(49f6e7a06ebc5aa8).() |
| 527 | { |
| 528 | int gain2 = uicxx . . $ Knowthelist#ui.->potGain_2cxx . . $ Ui_Knowthelist#potGain_2.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).(); |
| 529 | if (gain2Targetcxx . . $ Knowthelist#gain2Target. > gain2) |
| 530 | uicxx . . $ Knowthelist#ui.->potGain_2cxx . . $ Ui_Knowthelist#potGain_2.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(gain2 + 1); |
| 531 | else if (gain2Targetcxx . . $ Knowthelist#gain2Target. < gain2) |
| 532 | uicxx . . $ Knowthelist#ui.->potGain_2cxx . . $ Ui_Knowthelist#potGain_2.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(gain2 - 1); |
| 533 | else |
| 534 | timerGain2cxx . . $ Knowthelist#timerGain2.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 535 | } |
| 536 | |
| 537 | void Knowthelistcxx . . $ Knowthelist#::fadeNowcxx . . $ Knowthelist#fadeNow(49f6e7a06ebc5aa8).() |
| 538 | { |
| 539 | //Fade now! |
| 540 | if (!isFadingcxx . . $ Knowthelist#isFading. && (playList1cxx . . $ Knowthelist#playList1.->countTrackcxx . . $ Playlist#countTrack(455f465bc33b4cdf).() > 0 || playList2cxx . . $ Knowthelist#playList2.->countTrackcxx . . $ Playlist#countTrack(455f465bc33b4cdf).() > 0)) { |
| 541 | if (uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() > 100) { |
| 542 | m_xfadeDircxx . . $ Knowthelist#m_xfadeDir. = -1; |
| 543 | if (!player1cxx . . $ Knowthelist#player1.->isStartedcxx . . $ PlayerWidget#isStarted(c9857a73d68e59ba).()) |
| 544 | player1cxx . . $ Knowthelist#player1.->playcxx . . $ PlayerWidget#play(49f6e7a06ebc5aa8).(); |
| 545 | //Fader has 200 steps * 5 = 1000ms |
| 546 | timerAutoFadercxx . . $ Knowthelist#timerAutoFader.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(mAutofadeLengthcxx . . $ Knowthelist#mAutofadeLength. * 5); |
| 547 | } else { |
| 548 | m_xfadeDircxx . . $ Knowthelist#m_xfadeDir. = 1; |
| 549 | if (!player2cxx . . $ Knowthelist#player2.->isStartedcxx . . $ PlayerWidget#isStarted(c9857a73d68e59ba).()) |
| 550 | player2cxx . . $ Knowthelist#player2.->playcxx . . $ PlayerWidget#play(49f6e7a06ebc5aa8).(); |
| 551 | timerAutoFadercxx . . $ Knowthelist#timerAutoFader.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(mAutofadeLengthcxx . . $ Knowthelist#mAutofadeLength. * 5); |
| 552 | } |
| 553 | |
| 554 | isFadingcxx . . $ Knowthelist#isFading. = true; |
| 555 | |
| 556 | //ToDo: search for a right time to save |
| 557 | savePlaylistscxx . . $ Knowthelist#savePlaylists(49f6e7a06ebc5aa8).(); |
| 558 | } |
| 559 | } |
| 560 | |
| 561 | void Knowthelistcxx . . $ Knowthelist#::changeVolumescxx . . $ Knowthelist#changeVolumes(49f6e7a06ebc5aa8).() |
| 562 | { |
| 563 | |
| 564 | float v1 = uicxx . . $ Knowthelist#ui.->slider1cxx . . $ Ui_Knowthelist#slider1.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() / 100.0; |
| 565 | float v2 = uicxx . . $ Knowthelist#ui.->slider2cxx . . $ Ui_Knowthelist#slider2.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() / 100.0; |
| 566 | |
| 567 | float f1 = 2 - uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() / 100.0; |
| 568 | float f2 = uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() / 100.0; |
| 569 | |
| 570 | f1 = (f1 < 1) ? f1 : 1; |
| 571 | f2 = (f2 < 1) ? f2 : 1; |
| 572 | |
| 573 | player1cxx . . $ Knowthelist#player1.->setVolumecxx . . $ PlayerWidget#setVolume(ba8836b59fb42830).(v1 * f1); |
| 574 | player2cxx . . $ Knowthelist#player2.->setVolumecxx . . $ PlayerWidget#setVolume(ba8836b59fb42830).(v2 * f2); |
| 575 | } |
| 576 | |
| 577 | void Knowthelistcxx . . $ Knowthelist#::slider1_valueChangedcxx . . $ Knowthelist#slider1_valueChanged(d4f767463ce0a6b3).(int) |
| 578 | { |
| 579 | changeVolumescxx . . $ Knowthelist#changeVolumes(49f6e7a06ebc5aa8).(); |
| 580 | } |
| 581 | |
| 582 | void Knowthelistcxx . . $ Knowthelist#::slider2_valueChangedcxx . . $ Knowthelist#slider2_valueChanged(d4f767463ce0a6b3).(int) |
| 583 | { |
| 584 | changeVolumescxx . . $ Knowthelist#changeVolumes(49f6e7a06ebc5aa8).(); |
| 585 | } |
| 586 | |
| 587 | void Knowthelistcxx . . $ Knowthelist#::sliFader_valueChangedcxx . . $ Knowthelist#sliFader_valueChanged(d4f767463ce0a6b3).(int) |
| 588 | { |
| 589 | changeVolumescxx . . $ Knowthelist#changeVolumes(49f6e7a06ebc5aa8).(); |
| 590 | if (uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() == uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->minimumcxx . . $ QAbstractSlider#minimum(455f465bc33b4cdf).()) { |
| 591 | playList1cxx . . $ Knowthelist#playList1.->setIsCurrentListcxx . . $ Playlist#setIsCurrentList(b45ddcbc8423892c).(true); |
| 592 | playList2cxx . . $ Knowthelist#playList2.->setIsCurrentListcxx . . $ Playlist#setIsCurrentList(b45ddcbc8423892c).(false); |
| 593 | } |
| 594 | if (uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() == uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->maximumcxx . . $ QAbstractSlider#maximum(455f465bc33b4cdf).()) { |
| 595 | playList2cxx . . $ Knowthelist#playList2.->setIsCurrentListcxx . . $ Playlist#setIsCurrentList(b45ddcbc8423892c).(true); |
| 596 | playList1cxx . . $ Knowthelist#playList1.->setIsCurrentListcxx . . $ Playlist#setIsCurrentList(b45ddcbc8423892c).(false); |
| 597 | } |
| 598 | } |
| 599 | |
| 600 | void Knowthelistcxx . . $ Knowthelist#::timerAutoFader_timerOutcxx . . $ Knowthelist#timerAutoFader_timerOut(49f6e7a06ebc5aa8).() |
| 601 | |
| 602 | { |
| 603 | //Auto-Fader moves |
| 604 | uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() + m_xfadeDircxx . . $ Knowthelist#m_xfadeDir.); |
| 605 | |
| 606 | //Blinking |
| 607 | if (uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() % 3 == 0) { |
| 608 | if (m_xfadeDircxx . . $ Knowthelist#m_xfadeDir. < 0) |
| 609 | uicxx . . $ Knowthelist#ui.->ledFadeLeftcxx . . $ Ui_Knowthelist#ledFadeLeft.->togglecxx . . $ QLed#toggle(49f6e7a06ebc5aa8).(); |
| 610 | else |
| 611 | uicxx . . $ Knowthelist#ui.->ledFadeRightcxx . . $ Ui_Knowthelist#ledFadeRight.->togglecxx . . $ QLed#toggle(49f6e7a06ebc5aa8).(); |
| 612 | } |
| 613 | |
| 614 | if (uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() <= uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->minimumcxx . . $ QAbstractSlider#minimum(455f465bc33b4cdf).()) { |
| 615 | //Fade from 2 to 1 is done |
| 616 | timerAutoFadercxx . . $ Knowthelist#timerAutoFader.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 617 | uicxx . . $ Knowthelist#ui.->ledFadeLeftcxx . . $ Ui_Knowthelist#ledFadeLeft.->offcxx . . $ QLed#off(49f6e7a06ebc5aa8).(); |
| 618 | isFadingcxx . . $ Knowthelist#isFading. = false; |
| 619 | |
| 620 | //ToDo:handle AutoDJ from Playlist |
| 621 | if (player2cxx . . $ Knowthelist#player2.->isStartedcxx . . $ PlayerWidget#isStarted(c9857a73d68e59ba).()) { |
| 622 | player2cxx . . $ Knowthelist#player2.->stopcxx . . $ PlayerWidget#stop(49f6e7a06ebc5aa8).(); |
| 623 | playList2cxx . . $ Knowthelist#playList2.->skipForwardcxx . . $ Playlist#skipForward(49f6e7a06ebc5aa8).(); |
| 624 | } |
| 625 | if (uicxx . . $ Knowthelist#ui.->toggleAutoDJcxx . . $ Ui_Knowthelist#toggleAutoDJ.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 626 | djSessioncxx . . $ Knowthelist#djSession.->updatePlaylistscxx . . $ DjSession#updatePlaylists(49f6e7a06ebc5aa8).(); |
| 627 | } |
| 628 | if (uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() >= uicxx . . $ Knowthelist#ui.->sliFadercxx . . $ Ui_Knowthelist#sliFader.->maximumcxx . . $ QAbstractSlider#maximum(455f465bc33b4cdf).()) { |
| 629 | //Fade from 1 to 2 is done |
| 630 | timerAutoFadercxx . . $ Knowthelist#timerAutoFader.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 631 | isFadingcxx . . $ Knowthelist#isFading. = false; |
| 632 | uicxx . . $ Knowthelist#ui.->ledFadeRightcxx . . $ Ui_Knowthelist#ledFadeRight.->offcxx . . $ QLed#off(49f6e7a06ebc5aa8).(); |
| 633 | |
| 634 | //ToDo: handle AutoDJ from Playlist |
| 635 | |
| 636 | if (player1cxx . . $ Knowthelist#player1.->isStartedcxx . . $ PlayerWidget#isStarted(c9857a73d68e59ba).()) { |
| 637 | player1cxx . . $ Knowthelist#player1.->stopcxx . . $ PlayerWidget#stop(49f6e7a06ebc5aa8).(); |
| 638 | playList1cxx . . $ Knowthelist#playList1.->skipForwardcxx . . $ Playlist#skipForward(49f6e7a06ebc5aa8).(); |
| 639 | } |
| 640 | if (uicxx . . $ Knowthelist#ui.->toggleAutoDJcxx . . $ Ui_Knowthelist#toggleAutoDJ.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 641 | djSessioncxx . . $ Knowthelist#djSession.->updatePlaylistscxx . . $ DjSession#updatePlaylists(49f6e7a06ebc5aa8).(); |
| 642 | } |
| 643 | changeVolumescxx . . $ Knowthelist#changeVolumes(49f6e7a06ebc5aa8).(); |
| 644 | } |
| 645 | |
| 646 | void Knowthelistcxx . . $ Knowthelist#::savePlaylistscxx . . $ Knowthelist#savePlaylists(49f6e7a06ebc5aa8).() |
| 647 | { |
| 648 | djSessioncxx . . $ Knowthelist#djSession.->storePlaylistscxx . . $ DjSession#storePlaylists(37c160c81b6367f7).("defaultKnowthelist"cxx . . $ QString#QString(85c52e162fed56f9)., true); |
| 649 | // playList1->saveXML( playList1->defaultPlaylistPath() ); |
| 650 | // playList2->saveXML( playList2->defaultPlaylistPath() ); |
| 651 | } |
| 652 | |
| 653 | void Knowthelistcxx . . $ Knowthelist#::Track_selectionChangedcxx . . $ Knowthelist#Track_selectionChanged(c7ced298c7283c1a).(Trackcxx . . $ Track#* track) |
| 654 | { |
| 655 | if (track) { |
| 656 | |
| 657 | m_MonitorTrackcxx . . $ Knowthelist#m_MonitorTrack. = track; |
| 658 | uicxx . . $ Knowthelist#ui.->lblMonitorArtistcxx . . $ Ui_Knowthelist#lblMonitorArtist.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(track->prettyArtistcxx . . $ Track#prettyArtist(3f3c3d0e9c0eb37f).(20)); |
| 659 | uicxx . . $ Knowthelist#ui.->lblMonitorTrackcxx . . $ Ui_Knowthelist#lblMonitorTrack.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(track->prettyTitlecxx . . $ Track#prettyTitle(3f3c3d0e9c0eb37f).(60)); |
| 660 | wantSeekcxx . . $ Knowthelist#wantSeek. = false; |
| 661 | |
| 662 | if (monitorPlayercxx . . $ Knowthelist#monitorPlayer.) { |
| 663 | on_cmdMonitorStop_clickedcxx . . $ Knowthelist#on_cmdMonitorStop_clicked(49f6e7a06ebc5aa8).(); |
| 664 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->opencxx . . $ MonitorPlayer#open(fe09fe9c2ffe9947).(track->urlcxx . . $ Track#url(db502ccec337722f).()); |
| 665 | QPixmapcxx . . $ QPixmap# pix = QPixmapcxx . . $ QPixmap#::fromImagecxx . . $ QPixmap#fromImage(e505d3bc722e23e8).(track->coverImagecxx . . $ Track#coverImage(89a140e6ec82607c).()); |
| 666 | if (!pix.isNullcxx . . $ QPixmap#isNull(50ce9a9e25b4a850).()) |
| 667 | uicxx . . $ Knowthelist#ui.->pixMonitorCovercxx . . $ Ui_Knowthelist#pixMonitorCover.->setPixmapcxx . . $ QLabel#setPixmap(8887f7d25b86c3f4).(pix); |
| 668 | timerMonitor_timeOutcxx . . $ Knowthelist#timerMonitor_timeOut(49f6e7a06ebc5aa8).(); |
| 669 | } |
| 670 | } else { |
| 671 | uicxx . . $ Knowthelist#ui.->lblMonitorTrackcxx . . $ Ui_Knowthelist#lblMonitorTrack.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).); |
| 672 | uicxx . . $ Knowthelist#ui.->pixMonitorCovercxx . . $ Ui_Knowthelist#pixMonitorCover.->setPixmapcxx . . $ QLabel#setPixmap(8887f7d25b86c3f4).(QPixmapcxx . . $ QPixmap#QPixmap(49f6e7a06ebc5aa8).()); |
| 673 | } |
| 674 | } |
| 675 | |
| 676 | void Knowthelistcxx . . $ Knowthelist#::timerMonitor_loadFinishedcxx . . $ Knowthelist#timerMonitor_loadFinished(49f6e7a06ebc5aa8).() |
| 677 | { |
| 678 | timerMonitor_timeOutcxx . . $ Knowthelist#timerMonitor_timeOut(49f6e7a06ebc5aa8).(); |
| 679 | if (wantSeekcxx . . $ Knowthelist#wantSeek.) { |
| 680 | on_sliMonitor_sliderMovedcxx . . $ Knowthelist#on_sliMonitor_sliderMoved(d4f767463ce0a6b3).(100); |
| 681 | } |
| 682 | } |
| 683 | |
| 684 | void Knowthelistcxx . . $ Knowthelist#::Track_doubleClickedcxx . . $ Knowthelist#Track_doubleClicked(c7ced298c7283c1a).(Trackcxx . . $ Track#* track) |
| 685 | { |
| 686 | Track_selectionChangedcxx . . $ Knowthelist#Track_selectionChanged(c7ced298c7283c1a).(track); |
| 687 | if (monitorPlayercxx . . $ Knowthelist#monitorPlayer.) { |
| 688 | wantSeekcxx . . $ Knowthelist#wantSeek. = true; |
| 689 | on_cmdMonitorPlay_clickedcxx . . $ Knowthelist#on_cmdMonitorPlay_clicked(49f6e7a06ebc5aa8).(); |
| 690 | } |
| 691 | } |
| 692 | |
| 693 | void Knowthelistcxx . . $ Knowthelist#::trackList_wantLoadcxx . . $ Knowthelist#trackList_wantLoad(f9acf7808b11c0bc).(Trackcxx . . $ Track#* track, QStringcxx . . $ QString# target) |
| 694 | { |
| 695 | //ToDo: enable for multiple tracks like drag/drop |
| 696 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "target=" <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). target; |
| 697 | if (target ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "Right") |
| 698 | playList2cxx . . $ Knowthelist#playList2.->appendSongcxx . . $ Playlist#appendSong(c7ced298c7283c1a).(new Trackcxx . . $ Track#(track->tagListcxx . . $ Track#tagList(669a05bc42dd57cc).())); |
| 699 | else if (target ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "Left") |
| 700 | playList1cxx . . $ Knowthelist#playList1.->appendSongcxx . . $ Playlist#appendSong(c7ced298c7283c1a).(new Trackcxx . . $ Track#(track->tagListcxx . . $ Track#tagList(669a05bc42dd57cc).())); |
| 701 | } |
| 702 | |
| 703 | //ToDo: find a better name |
| 704 | void Knowthelistcxx . . $ Knowthelist#::onWantLoadcxx . . $ Knowthelist#onWantLoad(25020fd11423df10).(QListcxx . . $ QList#<Trackcxx . . $ Track#*> trackList, QStringcxx . . $ QString# target) |
| 705 | { |
| 706 | if (target ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "Right") |
| 707 | playList2cxx . . $ Knowthelist#playList2.->appendTrackscxx . . $ Playlist#appendTracks(c2e0487a5277a49e).(trackListcxx . . $ QList#QList(3d2301cfd89f773a).); |
| 708 | else if (target ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "Left") |
| 709 | playList1cxx . . $ Knowthelist#playList1.->appendTrackscxx . . $ Playlist#appendTracks(c2e0487a5277a49e).(trackListcxx . . $ QList#QList(3d2301cfd89f773a).); |
| 710 | } |
| 711 | |
| 712 | void Knowthelistcxx . . $ Knowthelist#::setFaderModeToPlayercxx . . $ Knowthelist#setFaderModeToPlayer(49f6e7a06ebc5aa8).() |
| 713 | { |
| 714 | if (autoFadeOncxx . . $ Knowthelist#autoFadeOn.) { |
| 715 | player1cxx . . $ Knowthelist#player1.->setTrackFinishEmitTimecxx . . $ PlayerWidget#setTrackFinishEmitTime(d4f767463ce0a6b3).(mAboutFinishTimecxx . . $ Knowthelist#mAboutFinishTime.); |
| 716 | player2cxx . . $ Knowthelist#player2.->setTrackFinishEmitTimecxx . . $ PlayerWidget#setTrackFinishEmitTime(d4f767463ce0a6b3).(mAboutFinishTimecxx . . $ Knowthelist#mAboutFinishTime.); |
| 717 | playList1cxx . . $ Knowthelist#playList1.->setPlaylistModecxx . . $ Playlist#setPlaylistMode(2d18f437f150c3ac).(Playlistcxx . . $ Playlist#::Playlist_Multicxx . . $ Playlist#Playlist_Multi.); |
| 718 | playList2cxx . . $ Knowthelist#playList2.->setPlaylistModecxx . . $ Playlist#setPlaylistMode(2d18f437f150c3ac).(Playlistcxx . . $ Playlist#::Playlist_Multicxx . . $ Playlist#Playlist_Multi.); |
| 719 | } else { |
| 720 | player1cxx . . $ Knowthelist#player1.->setTrackFinishEmitTimecxx . . $ PlayerWidget#setTrackFinishEmitTime(d4f767463ce0a6b3).(0); |
| 721 | player2cxx . . $ Knowthelist#player2.->setTrackFinishEmitTimecxx . . $ PlayerWidget#setTrackFinishEmitTime(d4f767463ce0a6b3).(0); |
| 722 | playList1cxx . . $ Knowthelist#playList1.->setPlaylistModecxx . . $ Playlist#setPlaylistMode(2d18f437f150c3ac).(Playlistcxx . . $ Playlist#::Playlist_Singlecxx . . $ Playlist#Playlist_Single.); |
| 723 | playList2cxx . . $ Knowthelist#playList2.->setPlaylistModecxx . . $ Playlist#setPlaylistMode(2d18f437f150c3ac).(Playlistcxx . . $ Playlist#::Playlist_Singlecxx . . $ Playlist#Playlist_Single.); |
| 724 | } |
| 725 | } |
| 726 | |
| 727 | void Knowthelistcxx . . $ Knowthelist#::editSettingscxx . . $ Knowthelist#editSettings(49f6e7a06ebc5aa8).() |
| 728 | { |
| 729 | // save DJ settings before change anything |
| 730 | djBrowsercxx . . $ Knowthelist#djBrowser.->saveSettingscxx . . $ DjBrowser#saveSettings(49f6e7a06ebc5aa8).(); |
| 731 | |
| 732 | // update hardware infos |
| 733 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->readDevicescxx . . $ MonitorPlayer#readDevices(49f6e7a06ebc5aa8).(); |
| 734 | QSettingscxx . . $ QSettings# settingscxx . . $ QSettings#QSettings(749de1b6ae65bddd).; |
| 735 | settings.setValuecxx . . $ QSettings#setValue(1c60a90c724e6bfb).("MonitorOutputDevices"cxx . . $ QString#QString(85c52e162fed56f9)., monitorPlayercxx . . $ QVariant#QVariant(631c0101495f0328).->outputDevicescxx . . $ MonitorPlayer#outputDevices(669a05bc42dd57cc).()); |
| 736 | |
| 737 | if (preferencescxx . . $ Knowthelist#preferences.->execcxx . . $ SettingsDialog#exec(b126dc7c1de90089).() != QDialogcxx . . $ QDialog#::Rejectedcxx . . $ QDialog#Rejected.) |
| 738 | loadCurrentSettingscxx . . $ Knowthelist#loadCurrentSettings(49f6e7a06ebc5aa8).(); |
| 739 | } |
| 740 | |
| 741 | void Knowthelistcxx . . $ Knowthelist#::on_cmdFade_clickedcxx . . $ Knowthelist#on_cmdFade_clicked(49f6e7a06ebc5aa8).() |
| 742 | { |
| 743 | fadeNowcxx . . $ Knowthelist#fadeNow(49f6e7a06ebc5aa8).(); |
| 744 | } |
| 745 | |
| 746 | bool Knowthelistcxx . . $ Knowthelist#::initMonitorPlayercxx . . $ Knowthelist#initMonitorPlayer(c9857a73d68e59ba).() |
| 747 | { |
| 748 | //ToDo: spend a separate widget for Monitor player |
| 749 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "BEGIN "; |
| 750 | |
| 751 | monitorPlayercxx . . $ Knowthelist#monitorPlayer. = new MonitorPlayercxx . . $ MonitorPlayer#(this); |
| 752 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->preparecxx . . $ MonitorPlayer#prepare(c9857a73d68e59ba).(); |
| 753 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->setObjectNamecxx . . $ QObject#setObjectName(3520e46b33348bf6).("monitorPlayer"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 754 | |
| 755 | uicxx . . $ Knowthelist#ui.->cmdMonitorStopcxx . . $ Ui_Knowthelist#cmdMonitorStop.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":stop.png"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 756 | uicxx . . $ Knowthelist#ui.->cmdMonitorPlaycxx . . $ Ui_Knowthelist#cmdMonitorPlay.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":play.png"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 757 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(monitorPlayercxx . . $ Knowthelist#monitorPlayer., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(loadFinished()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(timerMonitor_loadFinished())); |
| 758 | |
| 759 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "END "; |
| 760 | return true; |
| 761 | } |
| 762 | |
| 763 | void Knowthelistcxx . . $ Knowthelist#::currentDjChangedcxx . . $ Knowthelist#currentDjChanged(2e881ee79eb0ae9e).(Djcxx . . $ Dj#* dj) |
| 764 | { |
| 765 | // show Dj Name on panel |
| 766 | uicxx . . $ Knowthelist#ui.->lblDjNamecxx . . $ Ui_Knowthelist#lblDjName.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dj->namecxx . . $ Dj#name.); |
| 767 | } |
| 768 | |
| 769 | void Knowthelistcxx . . $ Knowthelist#::startAutoDjcxx . . $ Knowthelist#startAutoDj(49f6e7a06ebc5aa8).() |
| 770 | { |
| 771 | if (uicxx . . $ Knowthelist#ui.->toggleAutoDJcxx . . $ Ui_Knowthelist#toggleAutoDJ.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 772 | uicxx . . $ Knowthelist#ui.->toggleAutoDJcxx . . $ Ui_Knowthelist#toggleAutoDJ.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 773 | uicxx . . $ Knowthelist#ui.->toggleAutoDJcxx . . $ Ui_Knowthelist#toggleAutoDJ.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 774 | } |
| 775 | |
| 776 | void Knowthelistcxx . . $ Knowthelist#::on_cmdMonitorStop_clickedcxx . . $ Knowthelist#on_cmdMonitorStop_clicked(49f6e7a06ebc5aa8).() |
| 777 | { |
| 778 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->stopcxx . . $ MonitorPlayer#stop(49f6e7a06ebc5aa8).(); |
| 779 | timerMonitorcxx . . $ Knowthelist#timerMonitor.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 780 | uicxx . . $ Knowthelist#ui.->cmdMonitorPlaycxx . . $ Ui_Knowthelist#cmdMonitorPlay.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":play.png"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 781 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setValueRightcxx . . $ VUMeter#setValueRight(ba8836b59fb42830).(0); |
| 782 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setValueLeftcxx . . $ VUMeter#setValueLeft(ba8836b59fb42830).(0); |
| 783 | } |
| 784 | |
| 785 | void Knowthelistcxx . . $ Knowthelist#::on_cmdMonitorPlay_clickedcxx . . $ Knowthelist#on_cmdMonitorPlay_clicked(49f6e7a06ebc5aa8).() |
| 786 | { |
| 787 | if (monitorPlayercxx . . $ Knowthelist#monitorPlayer.->isDisabledcxx . . $ MonitorPlayer#isDisabled(c9857a73d68e59ba).()) { |
| 788 | return; |
| 789 | } |
| 790 | |
| 791 | if (monitorPlayercxx . . $ Knowthelist#monitorPlayer.->isPlayingcxx . . $ MonitorPlayer#isPlaying(c9857a73d68e59ba).()) { |
| 792 | uicxx . . $ Knowthelist#ui.->cmdMonitorPlaycxx . . $ Ui_Knowthelist#cmdMonitorPlay.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":play.png"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 793 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->pausecxx . . $ MonitorPlayer#pause(49f6e7a06ebc5aa8).(); |
| 794 | timerMonitorcxx . . $ Knowthelist#timerMonitor.->stopcxx . . $ QTimer#stop(49f6e7a06ebc5aa8).(); |
| 795 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setValueRightcxx . . $ VUMeter#setValueRight(ba8836b59fb42830).(0); |
| 796 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setValueLeftcxx . . $ VUMeter#setValueLeft(ba8836b59fb42830).(0); |
| 797 | } else { |
| 798 | uicxx . . $ Knowthelist#ui.->cmdMonitorPlaycxx . . $ Ui_Knowthelist#cmdMonitorPlay.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(":pause.png"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 799 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->playcxx . . $ MonitorPlayer#play(49f6e7a06ebc5aa8).(); |
| 800 | timerMonitorcxx . . $ Knowthelist#timerMonitor.->startcxx . . $ QTimer#start(49f6e7a06ebc5aa8).(); |
| 801 | } |
| 802 | } |
| 803 | |
| 804 | void Knowthelistcxx . . $ Knowthelist#::monitorPlayer_trackTimeChangedcxx . . $ Knowthelist#monitorPlayer_trackTimeChanged(8be204668a5c1685).(qint64cxx . . $ qint64# time, qint64cxx . . $ qint64# totalTime) |
| 805 | { |
| 806 | //ToDo: delete this function: Why? |
| 807 | if (uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->maximumcxx . . $ QAbstractSlider#maximum(455f465bc33b4cdf).() != totalTime) { |
| 808 | if (totalTime == 0) |
| 809 | uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->setMaximumcxx . . $ QAbstractSlider#setMaximum(d4f767463ce0a6b3).(100); |
| 810 | else |
| 811 | uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->setMaximumcxx . . $ QAbstractSlider#setMaximum(d4f767463ce0a6b3).(totalTime); |
| 812 | } |
| 813 | |
| 814 | uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(time); |
| 815 | |
| 816 | QTimecxx . . $ QTime# displayTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, (time / 60000) % 60, (time / 1000) % 60); |
| 817 | QTimecxx . . $ QTime# displayTotalTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, (totalTime / 60000) % 60, (totalTime / 1000) % 60); |
| 818 | |
| 819 | uicxx . . $ Knowthelist#ui.->lblMonitorPositioncxx . . $ Ui_Knowthelist#lblMonitorPosition.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(displayTime.toStringcxx . . $ QTime#toString(5555d9024dcf93fb).("mm:ss"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 820 | uicxx . . $ Knowthelist#ui.->lblMonitorLengthcxx . . $ Ui_Knowthelist#lblMonitorLength.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(displayTotalTime.toStringcxx . . $ QTime#toString(5555d9024dcf93fb).("mm:ss"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 821 | } |
| 822 | |
| 823 | void Knowthelistcxx . . $ Knowthelist#::timerMonitor_timeOutcxx . . $ Knowthelist#timerMonitor_timeOut(49f6e7a06ebc5aa8).() |
| 824 | { |
| 825 | |
| 826 | QTimecxx . . $ QTime# length = monitorPlayercxx . . $ Knowthelist#monitorPlayer.->lengthcxx . . $ MonitorPlayer#length(bd2fc2b92108c576).(); |
| 827 | QTimecxx . . $ QTime# curpos = monitorPlayercxx . . $ Knowthelist#monitorPlayer.->positioncxx . . $ MonitorPlayer#position(bd2fc2b92108c576).(); |
| 828 | QTimecxx . . $ QTime# remaincxx . . $ QTime#QTime(748afa4755bc9595).(0, 0); |
| 829 | long remainMs; |
| 830 | |
| 831 | //Some tracks deliver no length in state pause |
| 832 | if (length ==cxx . . $ QTime#`operator==`(1610574c25194847). QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0)) |
| 833 | length =cxx . . $ QTime#`operator=`(370b645f04941e62). QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0, 0).addSecscxx . . $ QTime#addSecs(902e6118dfa1a226).(m_MonitorTrackcxx . . $ Knowthelist#m_MonitorTrack.->lengthcxx . . $ Track#length(b126dc7c1de90089).()); |
| 834 | |
| 835 | remainMs = curpos.msecsTocxx . . $ QTime#msecsTo(f0e9a70846cde960).(length); |
| 836 | remain =cxx . . $ QTime#`operator=`(370b645f04941e62). QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0).addMSecscxx . . $ QTime#addMSecs(902e6118dfa1a226).(remainMs); |
| 837 | |
| 838 | uicxx . . $ Knowthelist#ui.->lblMonitorPositioncxx . . $ Ui_Knowthelist#lblMonitorPosition.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(curpos.toStringcxx . . $ QTime#toString(5555d9024dcf93fb).("mm:ss.zzz"cxx . . $ QString#QString(85c52e162fed56f9).).leftcxx . . $ QString#left(3f3c3d0e9c0eb37f).(7)); |
| 839 | uicxx . . $ Knowthelist#ui.->lblMonitorLengthcxx . . $ Ui_Knowthelist#lblMonitorLength.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(length.toStringcxx . . $ QTime#toString(5555d9024dcf93fb).("mm:ss"cxx . . $ QString#QString(85c52e162fed56f9).)); |
| 840 | |
| 841 | //update position slider |
| 842 | if (length !=cxx . . $ QTime#`operator!=`(1610574c25194847). QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0)) |
| 843 | uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(curpos.msecsTocxx . . $ QTime#msecsTo(f0e9a70846cde960).(QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0, 0)) * 1000 / length.msecsTocxx . . $ QTime#msecsTo(f0e9a70846cde960).(QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0, 0))); |
| 844 | else |
| 845 | uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(0); |
| 846 | |
| 847 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setValueLeftcxx . . $ VUMeter#setValueLeft(ba8836b59fb42830).(monitorPlayercxx . . $ Knowthelist#monitorPlayer.->levelLeftcxx . . $ MonitorPlayer#levelLeft(31fa7155c10fdd13).() * 1.0); |
| 848 | monitorMetercxx . . $ Knowthelist#monitorMeter.->setValueRightcxx . . $ VUMeter#setValueRight(ba8836b59fb42830).(monitorPlayercxx . . $ Knowthelist#monitorPlayer.->levelRightcxx . . $ MonitorPlayer#levelRight(31fa7155c10fdd13).() * 1.0); |
| 849 | } |
| 850 | |
| 851 | void Knowthelistcxx . . $ Knowthelist#::on_sliMonitor_sliderMovedcxx . . $ Knowthelist#on_sliMonitor_sliderMoved(d4f767463ce0a6b3).(int value) |
| 852 | { |
| 853 | uintcxx . . $ uint# length = -monitorPlayercxx . . $ Knowthelist#monitorPlayer.->lengthcxx . . $ MonitorPlayer#length(bd2fc2b92108c576).().msecsTocxx . . $ QTime#msecsTo(f0e9a70846cde960).(QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0, 0)); |
| 854 | |
| 855 | //Some tracks deliver no length in state pause |
| 856 | if (length == 0) |
| 857 | length = m_MonitorTrackcxx . . $ Knowthelist#m_MonitorTrack.->lengthcxx . . $ Track#length(b126dc7c1de90089).() * 1000; |
| 858 | |
| 859 | if (length != 0 && value > 0) { |
| 860 | QTimecxx . . $ QTime# pos = QTimecxx . . $ QTime#QTime(748afa4755bc9595).(0, 0, 0); |
| 861 | pos =cxx . . $ QTime#`operator=`(370b645f04941e62). pos.addMSecscxx . . $ QTime#addMSecs(902e6118dfa1a226).(length * (value / 1000.0)); |
| 862 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "pos:" <<cxx . . $ `operator<<`(f0aef5310937eebe). pos; |
| 863 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->setPositioncxx . . $ MonitorPlayer#setPosition(c7ea15d6df5a9ba6).(pos); |
| 864 | } |
| 865 | } |
| 866 | |
| 867 | void Knowthelistcxx . . $ Knowthelist#::on_cmdOptions_clickedcxx . . $ Knowthelist#on_cmdOptions_clicked(49f6e7a06ebc5aa8).() |
| 868 | { |
| 869 | preferencescxx . . $ Knowthelist#preferences.->setCurrentTabcxx . . $ SettingsDialog#setCurrentTab(518488a6b95328a8).(SettingsDialogcxx . . $ SettingsDialog#::TabFadercxx . . $ SettingsDialog#TabFader.); |
| 870 | editSettingscxx . . $ Knowthelist#editSettings(49f6e7a06ebc5aa8).(); |
| 871 | } |
| 872 | |
| 873 | void Knowthelistcxx . . $ Knowthelist#::on_potGain_1_valueChangedcxx . . $ Knowthelist#on_potGain_1_valueChanged(d4f767463ce0a6b3).(int value) |
| 874 | { |
| 875 | player1cxx . . $ Knowthelist#player1.->setGaincxx . . $ PlayerWidget#setGain(ba8836b59fb42830).(value / 100.0); |
| 876 | } |
| 877 | |
| 878 | void Knowthelistcxx . . $ Knowthelist#::on_potGain_2_valueChangedcxx . . $ Knowthelist#on_potGain_2_valueChanged(d4f767463ce0a6b3).(int value) |
| 879 | { |
| 880 | player2cxx . . $ Knowthelist#player2.->setGaincxx . . $ PlayerWidget#setGain(ba8836b59fb42830).(value / 100.0); |
| 881 | } |
| 882 | |
| 883 | void Knowthelistcxx . . $ Knowthelist#::on_toggleAGC_toggledcxx . . $ Knowthelist#on_toggleAGC_toggled(b45ddcbc8423892c).(bool checked) |
| 884 | { |
| 885 | Q_UNUSEDcxx . . $ `<external>/15045578679651060896/qglobal.h:117:9`!(checked); |
| 886 | uicxx . . $ Knowthelist#ui.->ledAGCcxx . . $ Ui_Knowthelist#ledAGC.->togglecxx . . $ QLed#toggle(49f6e7a06ebc5aa8).(); |
| 887 | } |
| 888 | |
| 889 | void Knowthelistcxx . . $ Knowthelist#::on_toggleAutoDJ_toggledcxx . . $ Knowthelist#on_toggleAutoDJ_toggled(b45ddcbc8423892c).(bool checked) |
| 890 | { |
| 891 | if (checked) { |
| 892 | // AutoDJ on |
| 893 | |
| 894 | // For an empty list |
| 895 | if (playList1cxx . . $ Knowthelist#playList1.->isEmptycxx . . $ Playlist#isEmpty(50ce9a9e25b4a850).()) |
| 896 | playList1cxx . . $ Knowthelist#playList1.->addCurrentTrackcxx . . $ Playlist#addCurrentTrack(c7ced298c7283c1a).(djSessioncxx . . $ Knowthelist#djSession.->getRandomTrackcxx . . $ DjSession#getRandomTrack(13bbbb52c2f64851).()); |
| 897 | |
| 898 | if (playList2cxx . . $ Knowthelist#playList2.->isEmptycxx . . $ Playlist#isEmpty(50ce9a9e25b4a850).()) |
| 899 | playList2cxx . . $ Knowthelist#playList2.->addCurrentTrackcxx . . $ Playlist#addCurrentTrack(c7ced298c7283c1a).(djSessioncxx . . $ Knowthelist#djSession.->getRandomTrackcxx . . $ DjSession#getRandomTrack(13bbbb52c2f64851).()); |
| 900 | |
| 901 | // Fill both playlists |
| 902 | djSessioncxx . . $ Knowthelist#djSession.->updatePlaylistscxx . . $ DjSession#updatePlaylists(49f6e7a06ebc5aa8).(); |
| 903 | |
| 904 | // Start playing |
| 905 | if (!player1cxx . . $ Knowthelist#player1.->isStartedcxx . . $ PlayerWidget#isStarted(c9857a73d68e59ba).() && !player2cxx . . $ Knowthelist#player2.->isStartedcxx . . $ PlayerWidget#isStarted(c9857a73d68e59ba).()) |
| 906 | fadeNowcxx . . $ Knowthelist#fadeNow(49f6e7a06ebc5aa8).(); |
| 907 | |
| 908 | // Activate Autofade |
| 909 | uicxx . . $ Knowthelist#ui.->toggleAutoFadecxx . . $ Ui_Knowthelist#toggleAutoFade.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 910 | |
| 911 | //ui->fr |
| 912 | } else { |
| 913 | m_AutoDJGenrecxx . . $ Knowthelist#m_AutoDJGenre. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). collectionBrowsercxx . . $ Knowthelist#collectionBrowser.->filterTextcxx . . $ CollectionWidget#filterText(4365c3963150523e).(); |
| 914 | } |
| 915 | uicxx . . $ Knowthelist#ui.->ledDJcxx . . $ Ui_Knowthelist#ledDJ.->togglecxx . . $ QLed#toggle(49f6e7a06ebc5aa8).(); |
| 916 | } |
| 917 | |
| 918 | void Knowthelistcxx . . $ Knowthelist#::on_toggleAutoFade_toggledcxx . . $ Knowthelist#on_toggleAutoFade_toggled(b45ddcbc8423892c).(bool checked) |
| 919 | { |
| 920 | uicxx . . $ Knowthelist#ui.->ledFadecxx . . $ Ui_Knowthelist#ledFade.->setStatecxx . . $ QLed#setState(c3814832606d3bfb).(checked ? QLedcxx . . $ QLed#::Oncxx . . $ QLed#On. : QLedcxx . . $ QLed#::Offcxx . . $ QLed#Off.); |
| 921 | autoFadeOncxx . . $ Knowthelist#autoFadeOn. = checked; |
| 922 | setFaderModeToPlayercxx . . $ Knowthelist#setFaderModeToPlayer(49f6e7a06ebc5aa8).(); |
| 923 | } |
| 924 | |
| 925 | void Knowthelistcxx . . $ Knowthelist#::on_potHigh_1_valueChangedcxx . . $ Knowthelist#on_potHigh_1_valueChanged(d4f767463ce0a6b3).(int value) |
| 926 | { |
| 927 | player1cxx . . $ Knowthelist#player1.->setEqualizercxx . . $ PlayerWidget#setEqualizer(67250ef987684b33).(PlayerWidgetcxx . . $ PlayerWidget#::EQ_Highcxx . . $ PlayerWidget#EQ_High., value); |
| 928 | } |
| 929 | void Knowthelistcxx . . $ Knowthelist#::on_potMid_1_valueChangedcxx . . $ Knowthelist#on_potMid_1_valueChanged(d4f767463ce0a6b3).(int value) |
| 930 | { |
| 931 | player1cxx . . $ Knowthelist#player1.->setEqualizercxx . . $ PlayerWidget#setEqualizer(67250ef987684b33).(PlayerWidgetcxx . . $ PlayerWidget#::EQ_Midcxx . . $ PlayerWidget#EQ_Mid., value); |
| 932 | } |
| 933 | void Knowthelistcxx . . $ Knowthelist#::on_potLow_1_valueChangedcxx . . $ Knowthelist#on_potLow_1_valueChanged(d4f767463ce0a6b3).(int value) |
| 934 | { |
| 935 | player1cxx . . $ Knowthelist#player1.->setEqualizercxx . . $ PlayerWidget#setEqualizer(67250ef987684b33).(PlayerWidgetcxx . . $ PlayerWidget#::EQ_Lowcxx . . $ PlayerWidget#EQ_Low., value); |
| 936 | } |
| 937 | void Knowthelistcxx . . $ Knowthelist#::on_potHigh_2_valueChangedcxx . . $ Knowthelist#on_potHigh_2_valueChanged(d4f767463ce0a6b3).(int value) |
| 938 | { |
| 939 | player2cxx . . $ Knowthelist#player2.->setEqualizercxx . . $ PlayerWidget#setEqualizer(67250ef987684b33).(PlayerWidgetcxx . . $ PlayerWidget#::EQ_Highcxx . . $ PlayerWidget#EQ_High., value); |
| 940 | } |
| 941 | void Knowthelistcxx . . $ Knowthelist#::on_potMid_2_valueChangedcxx . . $ Knowthelist#on_potMid_2_valueChanged(d4f767463ce0a6b3).(int value) |
| 942 | { |
| 943 | player2cxx . . $ Knowthelist#player2.->setEqualizercxx . . $ PlayerWidget#setEqualizer(67250ef987684b33).(PlayerWidgetcxx . . $ PlayerWidget#::EQ_Midcxx . . $ PlayerWidget#EQ_Mid., value); |
| 944 | } |
| 945 | void Knowthelistcxx . . $ Knowthelist#::on_potLow_2_valueChangedcxx . . $ Knowthelist#on_potLow_2_valueChanged(d4f767463ce0a6b3).(int value) |
| 946 | { |
| 947 | player2cxx . . $ Knowthelist#player2.->setEqualizercxx . . $ PlayerWidget#setEqualizer(67250ef987684b33).(PlayerWidgetcxx . . $ PlayerWidget#::EQ_Lowcxx . . $ PlayerWidget#EQ_Low., value); |
| 948 | } |
| 949 | |
| 950 | void Knowthelistcxx . . $ Knowthelist#::on_lblSoundcard_linkActivatedcxx . . $ Knowthelist#on_lblSoundcard_linkActivated(3520e46b33348bf6).(const QStringcxx . . $ QString#& link) |
| 951 | { |
| 952 | Q_UNUSEDcxx . . $ `<external>/15045578679651060896/qglobal.h:117:9`!(link); |
| 953 | preferencescxx . . $ Knowthelist#preferences.->setCurrentTabcxx . . $ SettingsDialog#setCurrentTab(518488a6b95328a8).(SettingsDialogcxx . . $ SettingsDialog#::TabMonitorcxx . . $ SettingsDialog#TabMonitor.); |
| 954 | editSettingscxx . . $ Knowthelist#editSettings(49f6e7a06ebc5aa8).(); |
| 955 | } |
| 956 | |
| 957 | void Knowthelistcxx . . $ Knowthelist#::on_sliMonitor_actionTriggeredcxx . . $ Knowthelist#on_sliMonitor_actionTriggered(d4f767463ce0a6b3).(int action) |
| 958 | { |
| 959 | //a workaround for page moving |
| 960 | int posi; |
| 961 | switch (action) { |
| 962 | case 3: |
| 963 | posi = uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() + 100; |
| 964 | break; |
| 965 | case 4: |
| 966 | posi = uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() - 100; |
| 967 | if (posi < 100) |
| 968 | posi = 1; |
| 969 | break; |
| 970 | case 1: |
| 971 | posi = uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() + 10; |
| 972 | break; |
| 973 | case 2: |
| 974 | posi = uicxx . . $ Knowthelist#ui.->sliMonitorcxx . . $ Ui_Knowthelist#sliMonitor.->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).() - 10; |
| 975 | break; |
| 976 | default: |
| 977 | return; |
| 978 | break; |
| 979 | } |
| 980 | |
| 981 | this->on_sliMonitor_sliderMovedcxx . . $ Knowthelist#on_sliMonitor_sliderMoved(d4f767463ce0a6b3).(posi); |
| 982 | } |
| 983 | |
| 984 | void Knowthelistcxx . . $ Knowthelist#::on_sliMonitorVolume_valueChangedcxx . . $ Knowthelist#on_sliMonitorVolume_valueChanged(d4f767463ce0a6b3).(int value) |
| 985 | { |
| 986 | monitorPlayercxx . . $ Knowthelist#monitorPlayer.->setVolumecxx . . $ MonitorPlayer#setVolume(ba8836b59fb42830).(value / 100.0); |
| 987 | } |