File indexing completed on 2025-01-26 05:08:07
0001 #pragma once 0002 /* 0003 SPDX-FileCopyrightText: 2003-2007 Craig Drummond <craig@kde.org> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include <QLabel> 0008 0009 class QTimer; 0010 0011 namespace KFI 0012 { 0013 class CActionLabel : public QLabel 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 CActionLabel(QWidget *parent); 0019 ~CActionLabel() override; 0020 void startAnimation(); 0021 void stopAnimation(); 0022 0023 private Q_SLOTS: 0024 0025 void rotateIcon(); 0026 0027 protected: 0028 QTimer *m_timer; 0029 int m_count; 0030 }; 0031 0032 }