diff options
Diffstat (limited to 'krecipes/src/widgets/ratingwidget.h')
-rw-r--r-- | krecipes/src/widgets/ratingwidget.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/krecipes/src/widgets/ratingwidget.h b/krecipes/src/widgets/ratingwidget.h index ac7e213..268b3b6 100644 --- a/krecipes/src/widgets/ratingwidget.h +++ b/krecipes/src/widgets/ratingwidget.h @@ -14,28 +14,28 @@ #ifndef RATINGWIDGET_H #define RATINGWIDGET_H -#include <qhbox.h> -#include <qptrlist.h> -#include <qlabel.h> -#include <qpixmap.h> -#include <qstringlist.h> +#include <ntqhbox.h> +#include <ntqptrlist.h> +#include <ntqlabel.h> +#include <ntqpixmap.h> +#include <ntqstringlist.h> /** * @author Robby Stephenson */ -class RatingWidget : public QHBox { +class RatingWidget : public TQHBox { Q_OBJECT -typedef QPtrList<QLabel> LabelList; +typedef TQPtrList<TQLabel> LabelList; public: - RatingWidget(int stars, QWidget* parent, const char* name = 0); + RatingWidget(int stars, TQWidget* parent, const char* name = 0); void clear(); - QString text() const; - void setText(const QString& text); + TQString text() const; + void setText(const TQString& text); - static const QPixmap& pixmap(const QString& value); + static const TQPixmap& pixmap(const TQString& value); public slots: void update(); @@ -44,7 +44,7 @@ signals: void modified(); protected: - virtual void mousePressEvent(QMouseEvent* e); + virtual void mousePressEvent(TQMouseEvent* e); private: void init(); @@ -56,8 +56,8 @@ private: int m_min; int m_max; - QPixmap m_pixOn; - QPixmap m_pixOff; - QPixmap m_pixHalf; + TQPixmap m_pixOn; + TQPixmap m_pixOff; + TQPixmap m_pixHalf; }; #endif |