summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Background.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kmahjongg/Background.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmahjongg/Background.h')
-rw-r--r--kmahjongg/Background.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmahjongg/Background.h b/kmahjongg/Background.h
index 095f0f6e..a98d14df 100644
--- a/kmahjongg/Background.h
+++ b/kmahjongg/Background.h
@@ -1,6 +1,6 @@
#ifndef _BACKGROUND_H
#define _BACKGROUND_H
-#include <qstring.h>
+#include <tqstring.h>
class QPixmap;
class QImage;
@@ -15,20 +15,20 @@ class Background
~Background();
bool tile;
- bool load(const QString &file, short width, short height);
+ bool load(const TQString &file, short width, short height);
void sizeChanged(int newW, int newH);
void scaleModeChanged();
- QPixmap *getBackground() {return backgroundPixmap;}
- QPixmap *getShadowBackground() {return backgroundShadowPixmap;}
+ TQPixmap *getBackground() {return backgroundPixmap;}
+ TQPixmap *getShadowBackground() {return backgroundShadowPixmap;}
private:
void sourceToBackground();
int tileMode; // scale background = 0, tile = 1
- QImage *backgroundImage;
- QImage *sourceImage;
- QPixmap *backgroundPixmap;
- QPixmap *backgroundShadowPixmap;
- QString filename;
+ TQImage *backgroundImage;
+ TQImage *sourceImage;
+ TQPixmap *backgroundPixmap;
+ TQPixmap *backgroundShadowPixmap;
+ TQString filename;
short w;
short h;
};