File indexing completed on 2024-04-14 05:35:52
0001 /* 0002 SPDX-FileCopyrightText: 2002-2011 Joachim Eibl, joachim.eibl at gmx.de 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #include <assert.h> 0007 #include "progress.h" 0008 0009 void ProgressDialog::delayedHide() 0010 { 0011 } 0012 0013 void ProgressDialog::slotAbort() 0014 { 0015 } 0016 0017 void ProgressDialog::reject() 0018 { 0019 } 0020 0021 void ProgressDialog::timerEvent(QTimerEvent*) 0022 { 0023 } 0024 0025 ProgressProxy::ProgressProxy() 0026 { 0027 } 0028 0029 ProgressProxy::~ProgressProxy() 0030 { 0031 } 0032 0033 void ProgressProxy::setInformation( const QString& info, bool bRedrawUpdate ) 0034 { 0035 /* Suppress warning about unused parameters */ 0036 Q_UNUSED(info); 0037 Q_UNUSED(bRedrawUpdate); 0038 } 0039 0040 void ProgressProxy::setInformation( const QString& info, int current, bool bRedrawUpdate ) 0041 { 0042 /* Suppress warning about unused parameters */ 0043 Q_UNUSED(info); 0044 Q_UNUSED(current); 0045 Q_UNUSED(bRedrawUpdate); 0046 } 0047 0048 void ProgressProxy::setCurrent( qint64 current, bool bRedrawUpdate ) 0049 { 0050 /* Suppress warning about unused parameters */ 0051 Q_UNUSED(current); 0052 Q_UNUSED(bRedrawUpdate); 0053 } 0054 0055 void ProgressProxy::step( bool bRedrawUpdate ) 0056 { 0057 /* Suppress warning about unused parameters */ 0058 Q_UNUSED(bRedrawUpdate); 0059 } 0060 0061 void ProgressProxy::setMaxNofSteps( qint64 dMaxNofSteps ) 0062 { 0063 /* Suppress warning about unused parameters */ 0064 Q_UNUSED(dMaxNofSteps); 0065 } 0066 0067 0068 0069 bool ProgressProxy::wasCancelled() 0070 { 0071 return false; 0072 } 0073 0074 void ProgressProxy::enterEventLoop( KJob* pJob, const QString& jobInfo ) 0075 { 0076 /* Suppress warning about unused parameters */ 0077 Q_UNUSED(pJob); 0078 Q_UNUSED(jobInfo); 0079 } 0080 0081 void ProgressProxy::exitEventLoop() 0082 { 0083 } 0084 0085 void ProgressDialog::recalc(bool bUpdate) 0086 { 0087 /* Suppress warning about unused parameters */ 0088 Q_UNUSED(bUpdate); 0089 } 0090 0091 QDialog *ProgressProxy::getDialog() 0092 { 0093 return NULL; 0094 } 0095