move this non-exported class to the private header
svn path=/trunk/KDE/kdelibs/; revision=1128221
This commit is contained in:
parent
f26246c731
commit
404241f348
@ -1564,3 +1564,4 @@ void IconWidget::changeEvent(QEvent *event)
|
|||||||
} // namespace Plasma
|
} // namespace Plasma
|
||||||
|
|
||||||
#include "iconwidget.moc"
|
#include "iconwidget.moc"
|
||||||
|
#include "iconwidget_p.moc"
|
||||||
|
@ -53,31 +53,6 @@ namespace Plasma
|
|||||||
|
|
||||||
class IconWidgetPrivate;
|
class IconWidgetPrivate;
|
||||||
|
|
||||||
class IconHoverAnimation : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
Q_PROPERTY(qreal value READ value WRITE setValue)
|
|
||||||
|
|
||||||
public:
|
|
||||||
IconHoverAnimation(QObject *parent = 0);
|
|
||||||
|
|
||||||
qreal value() const;
|
|
||||||
|
|
||||||
bool fadeIn() const;
|
|
||||||
void setFadeIn(bool fadeIn);
|
|
||||||
|
|
||||||
QPropertyAnimation *animation() const;
|
|
||||||
void setAnimation(QPropertyAnimation *animation);
|
|
||||||
|
|
||||||
protected slots:
|
|
||||||
void setValue(qreal value);
|
|
||||||
|
|
||||||
private:
|
|
||||||
qreal m_value;
|
|
||||||
bool m_fadeIn;
|
|
||||||
QWeakPointer<QPropertyAnimation> m_animation;
|
|
||||||
};
|
|
||||||
|
|
||||||
class PLASMA_EXPORT IconWidget : public QGraphicsWidget
|
class PLASMA_EXPORT IconWidget : public QGraphicsWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -49,6 +49,31 @@ namespace Plasma
|
|||||||
class Animation;
|
class Animation;
|
||||||
class IconHoverAnimation;
|
class IconHoverAnimation;
|
||||||
|
|
||||||
|
class IconHoverAnimation : public QObject
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
Q_PROPERTY(qreal value READ value WRITE setValue)
|
||||||
|
|
||||||
|
public:
|
||||||
|
IconHoverAnimation(QObject *parent = 0);
|
||||||
|
|
||||||
|
qreal value() const;
|
||||||
|
|
||||||
|
bool fadeIn() const;
|
||||||
|
void setFadeIn(bool fadeIn);
|
||||||
|
|
||||||
|
QPropertyAnimation *animation() const;
|
||||||
|
void setAnimation(QPropertyAnimation *animation);
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
void setValue(qreal value);
|
||||||
|
|
||||||
|
private:
|
||||||
|
qreal m_value;
|
||||||
|
bool m_fadeIn;
|
||||||
|
QWeakPointer<QPropertyAnimation> m_animation;
|
||||||
|
};
|
||||||
|
|
||||||
class PLASMA_EXPORT IconAction
|
class PLASMA_EXPORT IconAction
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user