From 404241f34819dbfaaaa55ffe1e7fd8819261f1f6 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 18 May 2010 18:04:51 +0000 Subject: [PATCH] move this non-exported class to the private header svn path=/trunk/KDE/kdelibs/; revision=1128221 --- widgets/iconwidget.cpp | 1 + widgets/iconwidget.h | 25 ------------------------- widgets/iconwidget_p.h | 25 +++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 25 deletions(-) diff --git a/widgets/iconwidget.cpp b/widgets/iconwidget.cpp index e8cf10536..7aa11182c 100644 --- a/widgets/iconwidget.cpp +++ b/widgets/iconwidget.cpp @@ -1564,3 +1564,4 @@ void IconWidget::changeEvent(QEvent *event) } // namespace Plasma #include "iconwidget.moc" +#include "iconwidget_p.moc" diff --git a/widgets/iconwidget.h b/widgets/iconwidget.h index a683614f0..34ba107d7 100644 --- a/widgets/iconwidget.h +++ b/widgets/iconwidget.h @@ -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 m_animation; -}; - class PLASMA_EXPORT IconWidget : public QGraphicsWidget { Q_OBJECT diff --git a/widgets/iconwidget_p.h b/widgets/iconwidget_p.h index c8b8d1c53..ded51c039 100644 --- a/widgets/iconwidget_p.h +++ b/widgets/iconwidget_p.h @@ -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 m_animation; +}; + class PLASMA_EXPORT IconAction { public: