qhbstyle/qhbstyleanimation.h
changeset 11 06b8e2af4411
parent 4 90517678cc4f
equal deleted inserted replaced
8:71781823f776 11:06b8e2af4411
    45 
    45 
    46     void createAnimationIcon(QStyle::ControlElement element, Qt::Orientations orientation);
    46     void createAnimationIcon(QStyle::ControlElement element, Qt::Orientations orientation);
    47     void paintAnimation(QPainter *painter);
    47     void paintAnimation(QPainter *painter);
    48 
    48 
    49 private:
    49 private:
    50     QPixmap* m_animationIcon;
    50     QScopedPointer<QPixmap> m_animationIcon;
    51     QWidget* m_target;
    51     QScopedPointer<QWidget> m_target;
    52     QPoint m_point;
    52     QPoint m_point;
    53     QPixmap* m_mask;
    53     QScopedPointer<QPixmap> m_mask;
    54 };
    54 };
    55 
    55 
    56 #endif // QHBSTYLEANIMATION_H
    56 #endif // QHBSTYLEANIMATION_H