File indexing completed on 2024-04-21 04:49:10
0001 /* 0002 SPDX-FileCopyrightText: 1998-2010 Sebastian Trueg <trueg@k3b.org> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #include "k3bsimplejobhandler.h" 0007 0008 0009 K3b::SimpleJobHandler::SimpleJobHandler( QObject* parent ) 0010 : QObject( parent ), 0011 K3b::JobHandler() 0012 { 0013 } 0014 0015 K3b::SimpleJobHandler::~SimpleJobHandler() 0016 { 0017 } 0018 0019 K3b::Device::MediaType K3b::SimpleJobHandler::waitForMedium( K3b::Device::Device* dev, 0020 Device::MediaStates mediaState, 0021 Device::MediaTypes mediaType, 0022 const K3b::Msf& minMediaSize, 0023 const QString& message ) 0024 { 0025 Q_UNUSED( dev ); 0026 Q_UNUSED( mediaState ); 0027 Q_UNUSED( mediaType ); 0028 Q_UNUSED( minMediaSize ); 0029 Q_UNUSED( message ); 0030 0031 return Device::MEDIA_UNKNOWN; 0032 } 0033 0034 bool K3b::SimpleJobHandler::questionYesNo( const QString& text, 0035 const QString& caption, 0036 const KGuiItem& buttonYes, 0037 const KGuiItem& buttonNo ) 0038 { 0039 Q_UNUSED( text ); 0040 Q_UNUSED( caption ); 0041 Q_UNUSED( buttonYes ); 0042 Q_UNUSED( buttonNo ); 0043 0044 return true; 0045 } 0046 0047 void K3b::SimpleJobHandler::blockingInformation( const QString& text, 0048 const QString& caption ) 0049 { 0050 Q_UNUSED( text ); 0051 Q_UNUSED( caption ); 0052 } 0053 0054 #include "moc_k3bsimplejobhandler.cpp"