summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/backgammon/backgammon.pro38
-rw-r--r--noncore/games/backgammon/backgammonview.h3
-rw-r--r--noncore/games/backgammon/moveengine.cpp2
3 files changed, 22 insertions, 21 deletions
diff --git a/noncore/games/backgammon/backgammon.pro b/noncore/games/backgammon/backgammon.pro
index 6f77a14..4be9491 100644
--- a/noncore/games/backgammon/backgammon.pro
+++ b/noncore/games/backgammon/backgammon.pro
@@ -2,27 +2,27 @@ TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = backgammon.h \
- canvasimageitem.h \
- themedialog.h \
- moveengine.h \
- filedialog.h \
- playerdialog.h \
- aidialog.h \
- rulesdialog.h \
- displaydialog.h \
- definition.h
+ backgammonview.h \
+ canvasimageitem.h \
+ themedialog.h \
+ moveengine.h \
+ filedialog.h \
+ playerdialog.h \
+ aidialog.h \
+ rulesdialog.h \
+ definition.h
SOURCES = main.cpp \
- backgammon.cpp \
- canvasimageitem.cpp \
- themedialog.cpp \
- moveengine.cpp \
- filedialog.cpp \
- playerdialog.cpp \
- aidialog.cpp \
- rulesdialog.cpp \
- displaydialog.cpp \
- definition.cpp
+ backgammon.cpp \
+ backgammonview.cpp \
+ canvasimageitem.cpp \
+ themedialog.cpp \
+ moveengine.cpp \
+ filedialog.cpp \
+ playerdialog.cpp \
+ aidialog.cpp \
+ rulesdialog.cpp \
+ definition.cpp
TARGET = backgammon
INCLUDEPATH += $(OPIEDIR)/include
diff --git a/noncore/games/backgammon/backgammonview.h b/noncore/games/backgammon/backgammonview.h
index 52508e2..81f1973 100644
--- a/noncore/games/backgammon/backgammonview.h
+++ b/noncore/games/backgammon/backgammonview.h
@@ -15,4 +15,5 @@ private:
void contentsMousePressEvent(QMouseEvent* e);
};
-#endif //BACKGAMMON_VIEW_H \ No newline at end of file
+#endif //BACKGAMMON_VIEW_H
+
diff --git a/noncore/games/backgammon/moveengine.cpp b/noncore/games/backgammon/moveengine.cpp
index 009c449..37b73a6 100644
--- a/noncore/games/backgammon/moveengine.cpp
+++ b/noncore/games/backgammon/moveengine.cpp
@@ -1,8 +1,8 @@
#include "moveengine.h"
#include <qmessagebox.h>
-
#include <qtimer.h>
+#include <stdlib.h>
MoveEngine::MoveEngine()
: QObject()