Commit be7d8399 authored by Denis Kuplyakov's avatar Denis Kuplyakov

Fixed some Krazy issues

kreversiview.h: spelling error and explicit constructor
kreversiview.cpp: normalazied signal and slot uses
parent 8abe0e80
......@@ -36,8 +36,8 @@ KReversiView::KReversiView(KReversiGame* game, QWidget *parent) :
m_qml_root = (QObject*) rootObject();
rootContext()->setContextProperty("container", this);
connect(m_qml_root, SIGNAL(cellClicked(int, int)),
this, SLOT(onPlayerMove(int, int)));
connect(m_qml_root, SIGNAL(cellClicked(int,int)),
this, SLOT(onPlayerMove(int,int)));
setGame(game);
}
......
......@@ -42,7 +42,7 @@ class KReversiView : public KgDeclarativeView
{
Q_OBJECT
public:
KReversiView(KReversiGame* game, QWidget *parent = 0);
explicit KReversiView(KReversiGame* game, QWidget *parent = 0);
/**
* Sets the game object which this view will visualize/use
......@@ -69,7 +69,7 @@ public:
void setShowBoardLabels(bool show);
/**
* Checks wether the view is in demo-mode
* Checks whether the view is in demo-mode
*
* @return whether the view is in demo-mode
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment