KIO
delegateanimationhandler.cpp
Go to the documentation of this file.
48 static int animationDebugArea() { static int s_area = KDebug::registerArea("kio (delegateanimationhandler)", false);
224 iconSequenceTimer.start(); // Some upper-bound interval is needed, in case items are not generated
368 void DelegateAnimationHandler::addAnimationState(AnimationState *state, const QAbstractItemView *view)
void setInterval(int msec)
void fill(const QColor &color)
qreal hoverProgress() const
Definition: delegateanimationhandler.cpp:153
void stop()
int timeout
void start(int msec, QObject *object)
int column() const
CachedRendering(QStyle::State state, const QSize &size, QModelIndex validityIndex)
Definition: delegateanimationhandler.cpp:55
bool isValid() const
#define M_PI_2
returns whether or not there is a job on an item (file/directory)
Definition: kdirmodel.h:139
typedef State
void restartAnimation(AnimationState *state)
Definition: delegateanimationhandler.cpp:384
const QAbstractItemModel * model() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void gotNewIcon(const QModelIndex &index)
Definition: delegateanimationhandler.cpp:228
qreal jobAnimationAngle() const
Definition: delegateanimationhandler.cpp:166
void requestSequenceIcon(const QModelIndex &index, int sequenceIndex)
This emits the needSequenceIcon signal, requesting another sequence icon.
Definition: kdirmodel.cpp:855
bool hasJobAnimation() const
Definition: delegateanimationhandler.cpp:171
int elapsed() const
bool isValid() const
bool isActive() const
Item next()
QPersistentModelIndex validityIndex
Definition: delegateanimationhandler_p.h:53
~DelegateAnimationHandler()
Definition: delegateanimationhandler.cpp:193
int row() const
static int registerArea(const QByteArray &areaName, bool enabled=true)
int restart()
virtual QVariant data(const QModelIndex &index, int role) const =0
const T & value() const
qreal fadeProgress() const
Definition: delegateanimationhandler.cpp:161
void stop()
virtual QRect visualRect(const QModelIndex &index) const =0
AnimationState * animationState(const QStyleOption &option, const QModelIndex &index, const QAbstractItemView *view)
Definition: delegateanimationhandler.cpp:271
State state() const
QAbstractItemModel * sourceModel() const
const QAbstractItemModel * model() const
static const int switchIconInterval
Definition: delegateanimationhandler.cpp:183
void setJobAnimation(bool value)
Definition: delegateanimationhandler.cpp:176
int column() const
bool toBool() const
void setCachedRenderingFadeFrom(CachedRendering *rendering)
Definition: delegateanimationhandler_p.h:84
bool isEmpty() const
DelegateAnimationHandler(QObject *parent=0)
Definition: delegateanimationhandler.cpp:185
void start(int msec)
void start()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const =0
void destroyed(QObject *obj)
int row() const
bool hasNext() const
QStringList list(const QString &fileClass)
Returns a list of directories associated with this file-class.
Definition: krecentdirs.cpp:60
void setSingleShot(bool singleShot)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.