Skip to content

Commit

Permalink
Remove unnecessary includes following include-what-to-use recommendat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
gpospelov committed Jan 27, 2021
1 parent 24760e0 commit 5c31de8
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@

#include "mvvm/serialization/jsonitemconverterinterface.h"
#include <QString>
#include <memory>

namespace ModelView {

class ItemFactoryInterface;

//! Utility class to determine, whether given JSON object can represent various parts of
//! SessionModel. It is made a class (and not a set of free functions) to allow different formats in
//! the future.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// ************************************************************************** //

#include "mvvm/serialization/jsonitemtagsconverter.h"
#include "mvvm/model/sessionitem.h"
#include "mvvm/model/sessionitemtags.h"
#include "mvvm/model/taginfo.h"
#include "mvvm/serialization/jsonitem_types.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "mvvm/model/sessionitem.h"
#include "mvvm/model/sessionmodel.h"
#include "mvvm/serialization/jsonitem_types.h"
#include "mvvm/serialization/jsonitemconverter.h"
#include "mvvm/serialization/jsonitemformatassistant.h"
#include <QJsonArray>
#include <QJsonObject>
Expand Down
1 change: 0 additions & 1 deletion source/libmvvm_model/mvvm/serialization/jsonutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "mvvm/serialization/jsonutils.h"
#include "mvvm/factories/modelconverterfactory.h"
#include "mvvm/model/sessionmodel.h"
#include "mvvm/utils/reallimits.h"
#include <QJsonDocument>
#include <QJsonObject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <string>

class QJsonObject;
class QJsonVariant;

namespace ModelView {

Expand Down
1 change: 0 additions & 1 deletion source/libmvvm_model/mvvm/signals/itemmapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "mvvm/model/sessionitem.h"
#include "mvvm/model/sessionmodel.h"
#include "mvvm/signals/callbackcontainer.h"
#include "mvvm/signals/modelmapper.h"
#include <stdexcept>

using namespace ModelView;
Expand Down

0 comments on commit 5c31de8

Please sign in to comment.