Changeset View
Changeset View
Standalone View
Standalone View
src/services/mp3tunes/Mp3tunesWorkers.cpp
Show All 10 Lines | |||||
11 | * PARTICULAR PURPOSE. See the GNU General Public License for more details. * | 11 | * PARTICULAR PURPOSE. See the GNU General Public License for more details. * | ||
12 | * * | 12 | * * | ||
13 | * You should have received a copy of the GNU General Public License along with * | 13 | * You should have received a copy of the GNU General Public License along with * | ||
14 | * this program. If not, see <http://www.gnu.org/licenses/>. * | 14 | * this program. If not, see <http://www.gnu.org/licenses/>. * | ||
15 | ****************************************************************************************/ | 15 | ****************************************************************************************/ | ||
16 | 16 | | |||
17 | #include "Mp3tunesWorkers.h" | 17 | #include "Mp3tunesWorkers.h" | ||
18 | 18 | | |||
19 | #include "core/interfaces/Logger.h" | 19 | #include "core/logger/Logger.h" | ||
20 | #include "core/support/Components.h" | 20 | #include "core/support/Components.h" | ||
21 | #include "core/support/Debug.h" | 21 | #include "core/support/Debug.h" | ||
22 | #include "Mp3tunesMeta.h" | 22 | #include "Mp3tunesMeta.h" | ||
23 | 23 | | |||
24 | #include <KLocalizedString> | 24 | #include <KLocalizedString> | ||
25 | #include <QStringList> | 25 | #include <QStringList> | ||
26 | 26 | | |||
27 | Mp3tunesLoginWorker::Mp3tunesLoginWorker( Mp3tunesLocker* locker, | 27 | Mp3tunesLoginWorker::Mp3tunesLoginWorker( Mp3tunesLocker* locker, | ||
▲ Show 20 Lines • Show All 308 Lines • ▼ Show 20 Line(s) | |||||
336 | Mp3tunesSimpleUploader:: Mp3tunesSimpleUploader( Mp3tunesLocker * locker, QStringList tracklist ) | 336 | Mp3tunesSimpleUploader:: Mp3tunesSimpleUploader( Mp3tunesLocker * locker, QStringList tracklist ) | ||
337 | { | 337 | { | ||
338 | DEBUG_BLOCK | 338 | DEBUG_BLOCK | ||
339 | connect( this, &Mp3tunesSimpleUploader::done, this, &Mp3tunesSimpleUploader::completeJob ); | 339 | connect( this, &Mp3tunesSimpleUploader::done, this, &Mp3tunesSimpleUploader::completeJob ); | ||
340 | 340 | | |||
341 | m_locker = locker; | 341 | m_locker = locker; | ||
342 | m_tracklist = tracklist; | 342 | m_tracklist = tracklist; | ||
343 | 343 | | |||
344 | Amarok::Components::logger()->newProgressOperation( this, i18n( "Upload to MP3tunes Initiated" ), m_tracklist.count() ); | 344 | Amarok::Logger::newProgressOperation( this, i18n( "Upload to MP3tunes Initiated" ), m_tracklist.count() ); | ||
345 | //TODO: port to Amarok::Logger signals | 345 | //TODO: port to Amarok::Logger signals | ||
346 | // connect( this, SIGNAL(incrementProgress()), The::statusBar(), SLOT(incrementProgress()), Qt::QueuedConnection ); | 346 | // connect( this, SIGNAL(incrementProgress()), The::statusBar(), SLOT(incrementProgress()), Qt::QueuedConnection ); | ||
347 | } | 347 | } | ||
348 | 348 | | |||
349 | Mp3tunesSimpleUploader::~Mp3tunesSimpleUploader() | 349 | Mp3tunesSimpleUploader::~Mp3tunesSimpleUploader() | ||
350 | { | 350 | { | ||
351 | Q_EMIT endProgressOperation( this ); | 351 | Q_EMIT endProgressOperation( this ); | ||
352 | } | 352 | } | ||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |