Restructuring directory layout. Move towards "Modern CMake" usage.

This commit is contained in:
Jim Evins
2017-11-23 22:15:24 -05:00
parent 8bec3594ec
commit b8ee5e1f73
198 changed files with 4509 additions and 5324 deletions
+11 -13
View File
@@ -22,6 +22,8 @@
#define UndoRedoModel_h
#include "model/Model.h"
#include <QList>
#include <QObject>
#include <QString>
@@ -30,10 +32,6 @@
namespace glabels
{
// Forward references
class LabelModel;
///
/// UndoRedoModel
///
@@ -46,7 +44,7 @@ namespace glabels
// Life Cycle
/////////////////////////////////
public:
UndoRedoModel( LabelModel* model );
UndoRedoModel( model::Model* model );
~UndoRedoModel() override;
@@ -84,11 +82,11 @@ namespace glabels
class State
{
public:
State( LabelModel* model, const QString& description );
State( model::Model* model, const QString& description );
~State();
LabelModel* model;
QString description;
model::Model* model;
QString description;
};
class Stack
@@ -112,13 +110,13 @@ namespace glabels
// Private data
/////////////////////////////////
private:
LabelModel *mModel;
model::Model* mModel;
Stack mUndoStack;
Stack mRedoStack;
Stack mUndoStack;
Stack mRedoStack;
bool mNewSelection;
QString mLastDescription;
bool mNewSelection;
QString mLastDescription;
};