Refactoring.
Fix code style.
This commit is contained in:
parent
baba595be3
commit
1a0ca6c782
|
@ -29,15 +29,17 @@
|
||||||
#ifndef VTEXTMANAGER_H
|
#ifndef VTEXTMANAGER_H
|
||||||
#define VTEXTMANAGER_H
|
#define VTEXTMANAGER_H
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
#include <QDate>
|
#include <QDate>
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
#include <QVector>
|
||||||
#include <Qt>
|
#include <Qt>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QCoreApplication>
|
|
||||||
#include <QVector>
|
#include "../vmisc/defglobal.h"
|
||||||
|
|
||||||
class VPieceLabelData;
|
class VPieceLabelData;
|
||||||
class VAbstractPattern;
|
class VAbstractPattern;
|
||||||
|
@ -59,6 +61,7 @@ struct TextLine
|
||||||
|
|
||||||
friend auto operator<<(QDataStream &dataStream, const TextLine &data) -> QDataStream &;
|
friend auto operator<<(QDataStream &dataStream, const TextLine &data) -> QDataStream &;
|
||||||
friend auto operator>>(QDataStream &dataStream, TextLine &data) -> QDataStream &;
|
friend auto operator>>(QDataStream &dataStream, TextLine &data) -> QDataStream &;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const quint32 streamHeader;
|
static const quint32 streamHeader;
|
||||||
static const quint16 classVersion;
|
static const quint16 classVersion;
|
||||||
|
@ -71,6 +74,7 @@ private:
|
||||||
class VTextManager
|
class VTextManager
|
||||||
{
|
{
|
||||||
Q_DECLARE_TR_FUNCTIONS(VTextManager) // NOLINT
|
Q_DECLARE_TR_FUNCTIONS(VTextManager) // NOLINT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VTextManager() = default;
|
VTextManager() = default;
|
||||||
virtual ~VTextManager() = default;
|
virtual ~VTextManager() = default;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user