Warning, file /office/calligra/gemini/ProgressProxy.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* This file is part of the KDE project 0002 * SPDX-FileCopyrightText: 2012 KO GmbH. Contact : Boudewijn Rempt <boud@kogmbh.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #ifndef CALLIGRAGEMINI_PROGRESSPROXY_H 0007 #define CALLIGRAGEMINI_PROGRESSPROXY_H 0008 0009 #include <QObject> 0010 #include <KoProgressProxy.h> 0011 0012 class ProgressProxy : public QObject, public KoProgressProxy 0013 { 0014 Q_OBJECT 0015 Q_PROPERTY(QString taskName READ taskName NOTIFY taskNameChanged) 0016 0017 public: 0018 explicit ProgressProxy(QObject* parent = 0); 0019 ~ProgressProxy() override; 0020 0021 QString taskName() const; 0022 0023 void setFormat(const QString& format) override; 0024 void setRange(int minimum, int maximum) override; 0025 void setValue(int value) override; 0026 int maximum() const override; 0027 0028 Q_SIGNALS: 0029 void valueChanged(int value); 0030 void taskStarted(); 0031 void taskEnded(); 0032 void taskNameChanged(); 0033 0034 private: 0035 class Private; 0036 const QScopedPointer<Private> d; 0037 }; 0038 0039 #endif // CALLIGRAGEMINI_ROGRESSPROXY_H