summaryrefslogtreecommitdiffstats
path: root/ksnake/levels.cpp
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 /ksnake/levels.cpp
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 'ksnake/levels.cpp')
-rw-r--r--ksnake/levels.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksnake/levels.cpp b/ksnake/levels.cpp
index c58aa895..fe85cb39 100644
--- a/ksnake/levels.cpp
+++ b/ksnake/levels.cpp
@@ -23,8 +23,8 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qimage.h>
-#include <qbitmap.h>
+#include <tqimage.h>
+#include <tqbitmap.h>
#include <kstandarddirs.h>
@@ -44,15 +44,15 @@ int Levels::max()
return ( list.count() -1 );
}
-QImage Levels::getImage(int at)
+TQImage Levels::getImage(int at)
{
- QBitmap bitmap(*list.at(at));
- QImage image = bitmap.convertToImage();
+ TQBitmap bitmap(*list.at(at));
+ TQImage image = bitmap.convertToImage();
return image;
}
-QPixmap Levels::getPixmap(int at)
+TQPixmap Levels::getPixmap(int at)
{
- return QPixmap(*list.at(at));
+ return TQPixmap(*list.at(at));
}