move this non-exported class to the private header

svn path=/trunk/KDE/kdelibs/; revision=1128221
This commit is contained in:
Aaron J. Seigo 2010-05-18 18:04:51 +00:00
parent f26246c731
commit 404241f348
3 changed files with 26 additions and 25 deletions

View File

@ -1564,3 +1564,4 @@ void IconWidget::changeEvent(QEvent *event)
} // namespace Plasma
#include "iconwidget.moc"
#include "iconwidget_p.moc"

View File

@ -53,31 +53,6 @@ namespace Plasma
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
{
Q_OBJECT

View File

@ -49,6 +49,31 @@ namespace Plasma
class Animation;
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
{
public: