File indexing completed on 2024-11-03 05:11:08
0001 // clang-format off 0002 /* 0003 * KDiff3 - Text Diff And Merge Tool 0004 * 0005 * SPDX-FileCopyrightText: 2002-2011 Joachim Eibl, joachim.eibl at gmx.de 0006 * SPDX-FileCopyrightText: 2018-2020 Michael Reeves reeves.87@gmail.com 0007 * SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 // clang-format on 0010 0011 #ifndef PROGRESSPROXYEXTENDER_H 0012 #define PROGRESSPROXYEXTENDER_H 0013 0014 #include "ProgressProxy.h" 0015 #include <QString> 0016 0017 class KJob; 0018 0019 class ProgressProxyExtender: public QObject, public ProgressProxy 0020 { 0021 Q_OBJECT 0022 public: 0023 ProgressProxyExtender() { setMaxNofSteps(100); } 0024 ~ProgressProxyExtender() override = default; 0025 public Q_SLOTS: 0026 void slotListDirInfoMessage( KJob*, const QString& msg ); 0027 void slotPercent( KJob*, unsigned long percent ); 0028 }; 0029 #endif