diff options
Diffstat (limited to 'amarok/src/starmanager.h')
-rw-r--r-- | amarok/src/starmanager.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/amarok/src/starmanager.h b/amarok/src/starmanager.h index f0e516ec..e73dc00b 100644 --- a/amarok/src/starmanager.h +++ b/amarok/src/starmanager.h @@ -14,8 +14,8 @@ #ifndef AMAROK_STAR_MANAGER_H #define AMAROK_STAR_MANAGER_H -#include <qimage.h> -#include <qpixmap.h> +#include <tqimage.h> +#include <tqpixmap.h> class StarManager : public QObject { @@ -27,15 +27,15 @@ class StarManager : public QObject ~StarManager(); static StarManager *instance(); - QPixmap* getStar( int num, bool full = false ); - QPixmap* getGreyStar() { return &m_greyedStarPix; } - QPixmap* getHalfStar( int num = -1, bool full = false ); - QImage& getStarImage( int num, bool full = false ); - QImage& getGreyStarImage() { return m_greyedStar; } - QImage& getHalfStarImage( int num = -1, bool full = false ); + TQPixmap* getStar( int num, bool full = false ); + TQPixmap* getGreyStar() { return &m_greyedStarPix; } + TQPixmap* getHalfStar( int num = -1, bool full = false ); + TQImage& getStarImage( int num, bool full = false ); + TQImage& getGreyStarImage() { return m_greyedStar; } + TQImage& getHalfStarImage( int num = -1, bool full = false ); - bool setColor( int starNum, const QColor &color ); - bool setHalfColor( const QColor &color ); + bool setColor( int starNum, const TQColor &color ); + bool setHalfColor( const TQColor &color ); void reinitStars( int height = -1, int margin = -1 ); @@ -48,24 +48,24 @@ class StarManager : public QObject int m_margin; //cached stars...why both? For faster conversion when drawing context browser - QPixmap m_starPix; - QImage m_star; - QPixmap m_fullStarPix; - QImage m_fullStar; - QPixmap m_greyedStarPix; - QImage m_greyedStar; - QPixmap m_halfStarPix; - QPixmap m_fullHalfStarPix; - QImage m_halfStar; - QImage m_fullHalfStar; - - QImage m_images[5]; - QImage m_halfimages[5]; - QPixmap m_pixmaps[5]; - QPixmap m_halfpixmaps[5]; - - QColor m_colors[5]; - QColor m_halfStarColor; + TQPixmap m_starPix; + TQImage m_star; + TQPixmap m_fullStarPix; + TQImage m_fullStar; + TQPixmap m_greyedStarPix; + TQImage m_greyedStar; + TQPixmap m_halfStarPix; + TQPixmap m_fullHalfStarPix; + TQImage m_halfStar; + TQImage m_fullHalfStar; + + TQImage m_images[5]; + TQImage m_halfimages[5]; + TQPixmap m_pixmaps[5]; + TQPixmap m_halfpixmaps[5]; + + TQColor m_colors[5]; + TQColor m_halfStarColor; }; #endif |