KIO
delegateanimationhandler_p.h
Go to the documentation of this file.
76 void setCachedRendering(CachedRendering *rendering) { delete renderCache; renderCache = rendering; }
80 CachedRendering *takeCachedRendering() { CachedRendering* ret = renderCache; renderCache = 0; return ret; }
84 void setCachedRenderingFadeFrom(CachedRendering* rendering) { delete fadeFromRenderCache; fadeFromRenderCache = rendering; if(rendering) m_fadeProgress = 0; else m_fadeProgress = 1; }
112 typedef QMutableMapIterator<const QAbstractItemView *, AnimationList*> MutableAnimationListsIterator;
118 AnimationState *animationState(const QStyleOption &option, const QModelIndex &index, const QAbstractItemView *view);
130 AnimationState *findAnimationState(const QAbstractItemView *view, const QModelIndex &index) const;
QPersistentModelIndex validityIndex
Definition: delegateanimationhandler_p.h:53
CachedRendering * takeCachedRendering()
Definition: delegateanimationhandler_p.h:80
void setCachedRendering(CachedRendering *rendering)
Definition: delegateanimationhandler_p.h:76
qreal hoverProgress() const
Definition: delegateanimationhandler.cpp:153
QStringList list(const QString &fileClass)
Returns a list of directories associated with this file-class.
Definition: krecentdirs.cpp:60
qreal jobAnimationAngle() const
Definition: delegateanimationhandler.cpp:166
CachedRendering(QStyle::State state, const QSize &size, QModelIndex validityIndex)
Definition: delegateanimationhandler.cpp:55
bool hasJobAnimation() const
Definition: delegateanimationhandler.cpp:171
CachedRendering * cachedRenderingFadeFrom() const
Definition: delegateanimationhandler_p.h:82
bool checkValidity(QStyle::State current) const
Definition: delegateanimationhandler_p.h:46
CachedRendering * cachedRendering() const
Definition: delegateanimationhandler_p.h:74
void gotNewIcon(const QModelIndex &index)
Definition: delegateanimationhandler.cpp:228
~DelegateAnimationHandler()
Definition: delegateanimationhandler.cpp:193
void setJobAnimation(bool value)
Definition: delegateanimationhandler.cpp:176
void setCachedRenderingFadeFrom(CachedRendering *rendering)
Definition: delegateanimationhandler_p.h:84
qreal fadeProgress() const
Definition: delegateanimationhandler.cpp:161
DelegateAnimationHandler(QObject *parent=0)
Definition: delegateanimationhandler.cpp:185
void restartAnimation(AnimationState *state)
Definition: delegateanimationhandler.cpp:384
AnimationState * animationState(const QStyleOption &option, const QModelIndex &index, const QAbstractItemView *view)
Definition: delegateanimationhandler.cpp:271
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.