mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-07 03:19:39 -06:00
renamed basemodel hpp/cpp files to model
- also renamed an include preprocessor directive to MODEL_H
This commit is contained in:
@@ -44,10 +44,10 @@ HEADERS += \
|
||||
$$PWD/orm/sqliteconnection.hpp \
|
||||
$$PWD/orm/sqltransactionerror.hpp \
|
||||
$$PWD/orm/support/configurationoptionsparser.hpp \
|
||||
$$PWD/orm/tiny/basemodel.hpp \
|
||||
$$PWD/orm/tiny/concerns/hasattributes.hpp \
|
||||
$$PWD/orm/tiny/concerns/hasrelationstore.hpp \
|
||||
$$PWD/orm/tiny/massassignmenterror.hpp \
|
||||
$$PWD/orm/tiny/model.hpp \
|
||||
$$PWD/orm/tiny/modelnotfounderror.hpp \
|
||||
$$PWD/orm/tiny/relationnotfounderror.hpp \
|
||||
$$PWD/orm/tiny/relationnotloadederror.hpp \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef BASEMODEL_H
|
||||
#define BASEMODEL_H
|
||||
#ifndef MODEL_H
|
||||
#define MODEL_H
|
||||
|
||||
#include <QDateTime>
|
||||
|
||||
@@ -4358,4 +4358,4 @@ namespace Relations {
|
||||
// TODO study, find out how to avoid pivot include at the end of BaseModel's header file silverqx
|
||||
#include "orm/tiny/relations/pivot.hpp"
|
||||
|
||||
#endif // BASEMODEL_H
|
||||
#endif // MODEL_H
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef BASEPIVOT_HPP
|
||||
#define BASEPIVOT_HPP
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#ifdef TINYORM_COMMON_NAMESPACE
|
||||
namespace TINYORM_COMMON_NAMESPACE
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#ifdef TINYORM_COMMON_NAMESPACE
|
||||
namespace TINYORM_COMMON_NAMESPACE
|
||||
@@ -33,7 +33,7 @@ SOURCES += \
|
||||
$$PWD/orm/sqlerror.cpp \
|
||||
$$PWD/orm/sqliteconnection.cpp \
|
||||
$$PWD/orm/support/configurationoptionsparser.cpp \
|
||||
$$PWD/orm/tiny/basemodel.cpp \
|
||||
$$PWD/orm/tiny/model.cpp \
|
||||
$$PWD/orm/tiny/modelnotfounderror.cpp \
|
||||
$$PWD/orm/tiny/relationnotfounderror.cpp \
|
||||
$$PWD/orm/tiny/relationnotloadederror.cpp \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef FILEPROPERTYPROPERTY_H
|
||||
#define FILEPROPERTYPROPERTY_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/torrentpreviewablefileproperty.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef MASSASSIGNMENTMODELS_HPP
|
||||
#define MASSASSIGNMENTMODELS_HPP
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
using Orm::Tiny::Model;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef ROLE_H
|
||||
#define ROLE_H
|
||||
|
||||
#include <orm/tiny/basemodel.hpp>
|
||||
#include <orm/tiny/model.hpp>
|
||||
|
||||
class User; // Forward declaration to avoid cyclic dependency
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef SETTING_H
|
||||
#define SETTING_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
using Orm::Tiny::Model;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TAG_H
|
||||
#define TAG_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/tagged.hpp"
|
||||
#include "models/tagproperty.hpp"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TAGPROPERTY_H
|
||||
#define TAGPROPERTY_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
using Orm::Tiny::Model;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENT_H
|
||||
#define TORRENT_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/forwards.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTEAGER_H
|
||||
#define TORRENTEAGER_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/forwardseager.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTEAGER_FAILED_H
|
||||
#define TORRENTEAGER_FAILED_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/forwardseager.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTPEER_H
|
||||
#define TORRENTPEER_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/torrent.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTPEEREAGER_H
|
||||
#define TORRENTPEEREAGER_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/torrenteager.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTPEEREAGER_NORELATIONS_H
|
||||
#define TORRENTPEEREAGER_NORELATIONS_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
using Orm::Tiny::Model;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTPREVIEWABLEFILE_H
|
||||
#define TORRENTPREVIEWABLEFILE_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/torrent.hpp"
|
||||
#include "models/torrentpreviewablefileproperty.hpp"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTPREVIEWABLEFILEEAGER_H
|
||||
#define TORRENTPREVIEWABLEFILEEAGER_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/torrentpreviewablefilepropertyeager.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTPREVIEWABLEFILEPROPERTY_H
|
||||
#define TORRENTPREVIEWABLEFILEPROPERTY_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
#include "models/torrentpreviewablefile.hpp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TORRENTPREVIEWABLEFILEPROPERTYEAGER_H
|
||||
#define TORRENTPREVIEWABLEFILEPROPERTYEAGER_H
|
||||
|
||||
#include "orm/tiny/basemodel.hpp"
|
||||
#include "orm/tiny/model.hpp"
|
||||
|
||||
using Orm::Tiny::Model;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef USER_H
|
||||
#define USER_H
|
||||
|
||||
#include <orm/tiny/basemodel.hpp>
|
||||
#include <orm/tiny/model.hpp>
|
||||
|
||||
#include "models/role.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user