summaryrefslogtreecommitdiffstats
path: root/knights/challenge_rectangle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
commita8c9924456e5335c964e4e55b2dde1963c88726f (patch)
treef5bf107ba079ae460536da778ce2da5e6c68aa69 /knights/challenge_rectangle.h
downloadknights-a8c9924456e5335c964e4e55b2dde1963c88726f.tar.gz
knights-a8c9924456e5335c964e4e55b2dde1963c88726f.zip
Added KDE3 version of Knights
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1091568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knights/challenge_rectangle.h')
-rw-r--r--knights/challenge_rectangle.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/knights/challenge_rectangle.h b/knights/challenge_rectangle.h
new file mode 100644
index 0000000..02488ff
--- /dev/null
+++ b/knights/challenge_rectangle.h
@@ -0,0 +1,36 @@
+/***************************************************************************
+ challenge_rectangle.h - description
+ -------------------
+ begin : Mon Jan 7 2002
+ copyright : (C) 2003 by Eric Faccer
+ email : e.faccer@qut.edu.au
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef CHALLENGE_RECTANGLE_H
+#define CHALLENGE_RECTANGLE_H
+
+#include <qcanvas.h>
+#include "challenge_game.h"
+
+class Challenge_Rectangle : public QCanvasRectangle
+{
+ public:
+ Challenge_Rectangle(int x=0, int y=0, int width=0, int height=0, QCanvas * canvas=0, Challenge_Game * ptr=0);
+ ~Challenge_Rectangle();
+ Challenge_Game* getGame();
+
+ private:
+ Challenge_Game * challenge;
+
+};
+#endif
+