diff options
Diffstat (limited to 'kpacman/status.h')
-rw-r--r-- | kpacman/status.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kpacman/status.h b/kpacman/status.h index c749f69..6eeb4ac 100644 --- a/kpacman/status.h +++ b/kpacman/status.h @@ -8,19 +8,19 @@ #include <kapp.h> #include <kconfig.h> -#include <qwidget.h> -#include <qpixmap.h> -#include <qstring.h> -#include <qarray.h> -#include <qlist.h> -#include <qstrlist.h> -#include <qregexp.h> - -class Status : public QWidget +#include <ntqwidget.h> +#include <ntqpixmap.h> +#include <ntqstring.h> +#include <ntqarray.h> +#include <ntqlist.h> +#include <ntqstrlist.h> +#include <ntqregexp.h> + +class Status : public TQWidget { Q_OBJECT public: - Status(QWidget *parent=0, const char *name=0, int scheme=-1, int mode=-1); + Status(TQWidget *parent=0, const char *name=0, int scheme=-1, int mode=-1); ~Status() {}; public slots: @@ -29,15 +29,15 @@ public slots: void setLifes(int lifes); protected: - void paintEvent(QPaintEvent *); + void paintEvent(TQPaintEvent *); int minHeight(); int minWidth(); - QString decodeHexOctString(QString str); + TQString decodeHexOctString(TQString str); - void fillArray(QArray<int> &, QString, int); - void fillStrList(QStrList &, QString, int); - void fillPixmapName(QStrList &); + void fillArray(TQArray<int> &, TQString, int); + void fillStrList(TQStrList &, TQString, int); + void fillPixmapName(TQStrList &); void confScheme(); void confLevels(bool defGroup=TRUE); @@ -46,23 +46,23 @@ protected: void initPixmaps(); private: - QArray<int> levelPos; + TQArray<int> levelPos; int actualLifes; int actualLevel; - QString pixmapDirectory; + TQString pixmapDirectory; - QStrList lifesPixmapName; - QStrList levelPixmapName; + TQStrList lifesPixmapName; + TQStrList levelPixmapName; - QString lastLifesPixmapName; - QString lastLevelPixmapName; + TQString lastLifesPixmapName; + TQString lastLevelPixmapName; - QList<QPixmap> *loadPixmap(QWidget *parent, QString pixmapName, - QList<QPixmap> *pixmaps=0); + TQList<TQPixmap> *loadPixmap(TQWidget *parent, TQString pixmapName, + TQList<TQPixmap> *pixmaps=0); - QList<QPixmap> *lifesPix; - QList<QPixmap> *levelPix; + TQList<TQPixmap> *lifesPix; + TQList<TQPixmap> *levelPix; int maxLevel; int level; |