You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
474 B
33 lines
474 B
#pragma once |
|
/* |
|
SPDX-FileCopyrightText: 2003-2007 Craig Drummond <craig@kde.org> |
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#include <QLabel> |
|
|
|
class QTimer; |
|
class QLabel; |
|
|
|
namespace KFI |
|
{ |
|
class CActionLabel : public QLabel |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
CActionLabel(QWidget *parent); |
|
~CActionLabel() override; |
|
void startAnimation(); |
|
void stopAnimation(); |
|
|
|
private Q_SLOTS: |
|
|
|
void rotateIcon(); |
|
|
|
protected: |
|
QTimer *m_timer; |
|
int m_count; |
|
}; |
|
|
|
}
|
|
|