File indexing completed on 2024-05-12 16:02:30
0001 /* 0002 * SPDX-FileCopyrightText: 2018 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "KoFakeProgressProxy.h" 0008 0009 #include <QtGlobal> 0010 #include <QGlobalStatic> 0011 0012 Q_GLOBAL_STATIC(KoFakeProgressProxy, s_instance) 0013 0014 0015 int KoFakeProgressProxy::maximum() const 0016 { 0017 return 100; 0018 } 0019 0020 void KoFakeProgressProxy::setValue(int value) 0021 { 0022 Q_UNUSED(value); 0023 } 0024 0025 void KoFakeProgressProxy::setRange(int minimum, int maximum) 0026 { 0027 Q_UNUSED(minimum); 0028 Q_UNUSED(maximum); 0029 } 0030 0031 void KoFakeProgressProxy::setFormat(const QString &format) 0032 { 0033 Q_UNUSED(format); 0034 } 0035 0036 void KoFakeProgressProxy::setAutoNestedName(const QString &name) 0037 { 0038 Q_UNUSED(name); 0039 } 0040 0041 KoProgressProxy *KoFakeProgressProxy::instance() 0042 { 0043 return s_instance; 0044 }