summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-04-08 23:21:20 +0200
committerStijn Buys <ingar@osirion.org>2016-04-08 23:21:20 +0200
commit1ee0cc39a270e00d2ccb5cf10161889bd2fa81d4 (patch)
treee5ad6e6f81f723dedc75f9a560c8e3c143bae804 /src
parent2742c3b75f29597d4563190cd1442d3121ea7b29 (diff)
parent156cbb698e287c9da510204ffdbea063cce2a27e (diff)
Ported to Qt5.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am12
-rw-r--r--src/mainwindow.h2
-rw-r--r--src/settings.h2
-rw-r--r--src/solverwindow.cc2
-rw-r--r--src/sudokuwidget.h4
5 files changed, 11 insertions, 11 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index fbdb4a9..e49d55f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,10 +7,10 @@ moc_%.cc: %.h
.rc.o:
windres $< -o $@
-bin_PROGRAMS = sudokusolver
+bin_PROGRAMS = sudoku
# Project C++ source files
-sudokusolver_SOURCES = \
+sudoku_SOURCES = \
cell.cc \
main.cc \
mainwindow.cc \
@@ -19,17 +19,17 @@ sudokusolver_SOURCES = \
sudoku.cc \
sudokuwidget.cc
-EXTRA_sudokusolver_SOURCES = \
+EXTRA_sudoku_SOURCES = \
icon.rc
-sudokusolver_DEPENDENCIES = \
+sudoku_DEPENDENCIES = \
$(EXEICON)
-sudokusolver_LDADD =\
+sudoku_LDADD =\
$(EXEICON)
# moc generated C++ source files
-nodist_sudokusolver_SOURCES = \
+nodist_sudoku_SOURCES = \
moc_mainwindow.cc \
moc_solverwindow.cc \
moc_sudokuwidget.cc
diff --git a/src/mainwindow.h b/src/mainwindow.h
index f18d212..f4ec070 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -2,7 +2,7 @@
#ifndef __INCLUDED_SUDOKUSOLVER_MAINWINDOW__
#define __INCLUDED_SUDOKUSOLVER_MAINWINDOW__
-#include <QtGui>
+#include <QtWidgets>
#include <QMainWindow>
class SudokuWidget;
diff --git a/src/settings.h b/src/settings.h
index 18c4437..d0e5982 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -1,7 +1,7 @@
#ifndef __INCLUDED_SUDOKUSOLVER_SETTINGS__
#define __INCLUDED_SUDOKUSOLVER_SETTINGS__
-#include <QtGui>
+#include <QtWidgets>
class Settings {
public:
diff --git a/src/solverwindow.cc b/src/solverwindow.cc
index de768cf..38ade51 100644
--- a/src/solverwindow.cc
+++ b/src/solverwindow.cc
@@ -6,7 +6,7 @@
#include "config.h"
-#include <QtGui>
+#include <QtWidgets>
#include <QDir>
#include <QHBoxLayout>
#include <QVBoxLayout>
diff --git a/src/sudokuwidget.h b/src/sudokuwidget.h
index fb13234..b32d794 100644
--- a/src/sudokuwidget.h
+++ b/src/sudokuwidget.h
@@ -2,7 +2,7 @@
#ifndef __INCLUDED_SUDOKUSOLVER_SUDOKUWIDGET__
#define __INCLUDED_SUDOKUSOLVER_SUDOKUWIDGET__
-#include <QtGui>
+#include <QtWidgets>
#include <QWidget>
#include "sudoku.h"
@@ -60,4 +60,4 @@ private slots:
void verify(const QString & text);
};
-#endif // __INCLUDED_SUDOKUSOLVER_SUDOKUWIDGET__ \ No newline at end of file
+#endif // __INCLUDED_SUDOKUSOLVER_SUDOKUWIDGET__