From 74112a43ace8f8000d16b96cab129923d38cbb36 Mon Sep 17 00:00:00 2001 From: Ronan Le Tiec Date: Sat, 23 May 2020 14:19:12 +0200 Subject: [PATCH] Refactoring stable --- src/app/puzzle/puzzle.pri | 7 +++++-- src/app/puzzle/{stable.cpp => vpstable.cpp} | 4 ++-- src/app/puzzle/{stable.h => vpstable.h} | 8 ++++---- 3 files changed, 11 insertions(+), 8 deletions(-) rename src/app/puzzle/{stable.cpp => vpstable.cpp} (96%) rename src/app/puzzle/{stable.h => vpstable.h} (96%) diff --git a/src/app/puzzle/puzzle.pri b/src/app/puzzle/puzzle.pri index 58cf1ea8c..924a5db00 100644 --- a/src/app/puzzle/puzzle.pri +++ b/src/app/puzzle/puzzle.pri @@ -24,15 +24,15 @@ SOURCES += \ $$PWD/vpiececarrousellayer.cpp \ $$PWD/vpiececarrouselpiece.cpp -*msvc*:SOURCES += $$PWD/stable.cpp +*msvc*:SOURCES += HEADERS += \ $$PWD/dialogs/vpdialogabout.h \ - $$PWD/stable.h \ $$PWD/vpapplication.h \ $$PWD/vpcommands.h \ $$PWD/vpiececarrouselpiecepreview.h \ $$PWD/vpmainwindow.h \ + $$PWD/vpstable.h \ $$PWD/vpuzzlecommandline.h \ $$PWD/vpiececarrousel.h \ $$PWD/vpuzzlegraphicslayout.h \ @@ -53,3 +53,6 @@ FORMS += \ $$PWD/dialogs/vpdialogabout.ui \ $$PWD/vpiececarrousel.ui \ $$PWD/vpmainwindow.ui + +SOURCES += \ + $$PWD/vpstable.cpp diff --git a/src/app/puzzle/stable.cpp b/src/app/puzzle/vpstable.cpp similarity index 96% rename from src/app/puzzle/stable.cpp rename to src/app/puzzle/vpstable.cpp index 460b5cb9c..3db0e2a5d 100644 --- a/src/app/puzzle/stable.cpp +++ b/src/app/puzzle/vpstable.cpp @@ -1,6 +1,6 @@ /************************************************************************ ** - ** @file stable.cpp + ** @file vpstable.cpp ** @author Roman Telezhynskyi ** @date November 15, 2013 ** @@ -27,4 +27,4 @@ *************************************************************************/ // Build the precompiled headers. -#include "stable.h" +#include "vpstable.h" diff --git a/src/app/puzzle/stable.h b/src/app/puzzle/vpstable.h similarity index 96% rename from src/app/puzzle/stable.h rename to src/app/puzzle/vpstable.h index 22e9d4702..b986a6f7c 100644 --- a/src/app/puzzle/stable.h +++ b/src/app/puzzle/vpstable.h @@ -1,6 +1,6 @@ /************************************************************************ ** - ** @file stable.h + ** @file vpstable.h ** @author Roman Telezhynskyi ** @date November 15, 2013 ** @@ -26,8 +26,8 @@ ** *************************************************************************/ -#ifndef STABLE_H -#define STABLE_H +#ifndef VPSTABLE_H +#define VPSTABLE_H /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ #pragma message("Compiling precompiled headers for puzzle utility.\n") @@ -69,4 +69,4 @@ #endif /*__cplusplus*/ -#endif // STABLE_H +#endif // VPSTABLE_H