File indexing completed on 2024-12-22 05:01:00

0001 /*
0002  * folderdialogquotatab_p.h
0003  *
0004  * SPDX-FileCopyrightText: 2006 Till Adam <adam@kde.org>
0005  *
0006  * SPDX-License-Identifier: GPL-2.0-only
0007  */
0008 
0009 #pragma once
0010 
0011 #include <QWidget>
0012 
0013 class QProgressBar;
0014 class QLabel;
0015 
0016 class CollectionQuotaWidget : public QWidget
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit CollectionQuotaWidget(QWidget *parent);
0021     ~CollectionQuotaWidget() override = default;
0022 
0023     void setQuotaInfo(qint64 currentValue, qint64 maxValue);
0024 
0025 private:
0026     QProgressBar *const mProgressBar;
0027     QLabel *const mUsage;
0028 };