summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waSkinModel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/winskin/waSkinModel.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/winskin/waSkinModel.h')
-rw-r--r--noatun/modules/winskin/waSkinModel.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/noatun/modules/winskin/waSkinModel.h b/noatun/modules/winskin/waSkinModel.h
index 9447f8ae..bc3e83c1 100644
--- a/noatun/modules/winskin/waSkinModel.h
+++ b/noatun/modules/winskin/waSkinModel.h
@@ -13,9 +13,9 @@
#ifndef __WASKINMODEL_H
#define __WASKINMODEL_H
-#include <qstring.h>
-#include <qobject.h>
-#include <qdir.h>
+#include <tqstring.h>
+#include <tqobject.h>
+#include <tqdir.h>
#include "waSkins.h"
@@ -25,25 +25,25 @@ class QChar;
class WaSkinModel;
extern WaSkinModel *_waskinmodel_instance;
-class WaSkinModel : public QObject {
+class WaSkinModel : public TQObject {
Q_OBJECT
public:
WaSkinModel();
~WaSkinModel();
- void getDigit(char number, QPaintDevice *dest, int x, int y);
- void getText(char text, QPaintDevice *dest, int x, int y);
+ void getDigit(char number, TQPaintDevice *dest, int x, int y);
+ void getText(char text, TQPaintDevice *dest, int x, int y);
- void bltTo(int id, QPaintDevice *dest, int x, int y);
- void bltTo(int id, QPaintDevice *dest, int x, int y, int argument);
+ void bltTo(int id, TQPaintDevice *dest, int x, int y);
+ void bltTo(int id, TQPaintDevice *dest, int x, int y, int argument);
- void paintBackgroundTo(int mapping, QPaintDevice *dest, int x, int y);
+ void paintBackgroundTo(int mapping, TQPaintDevice *dest, int x, int y);
- QRect getGeometry(int id);
- QRect getMapGeometry(int id);
+ TQRect getGeometry(int id);
+ TQRect getMapGeometry(int id);
- bool load(QString skinDir);
+ bool load(TQString skinDir);
void setSkinModel(skin_models new_model);
static WaSkinModel *instance() { return _waskinmodel_instance; }
@@ -51,12 +51,12 @@ class WaSkinModel : public QObject {
private:
void resetSkinModel();
- QString findFile(const QDir &dir, const QString &filename);
- QChar deaccent(QChar input);
+ TQString findFile(const TQDir &dir, const TQString &filename);
+ TQChar deaccent(TQChar input);
- int getPixmap(const QDir &dir, QString fname, QPixmap * target);
- void loadColors(const QDir &dir);
- void loadRegion(const QDir &dir);
+ int getPixmap(const TQDir &dir, TQString fname, TQPixmap * target);
+ void loadColors(const TQDir &dir);
+ void loadRegion(const TQDir &dir);
signals:
void skinChanged();