/* * SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa * * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include namespace Breeze { class BusyIndicatorData : public QObject { Q_OBJECT public: //* constructor explicit BusyIndicatorData(QObject *parent) : QObject(parent) , _animated(false) { } //* destructor virtual ~BusyIndicatorData() { } //*@name accessors //@{ //* animated bool isAnimated() const { return _animated; } //@} //*@name modifiers //@{ //* enabled void setEnabled(bool) { } //* enabled void setDuration(int) { } //* animated void setAnimated(bool value) { _animated = value; } //@} private: //* animated bool _animated; }; }