valentina_old/xml/vtoolrecord.h

33 lines
721 B
C
Raw Normal View History

2013-08-15 22:39:00 +02:00
#ifndef VTOOLRECORD_H
#define VTOOLRECORD_H
2013-08-20 12:26:02 +02:00
#pragma GCC diagnostic push
2013-08-15 22:39:00 +02:00
#pragma GCC diagnostic ignored "-Weffc++"
#pragma GCC diagnostic ignored "-Wsign-conversion"
#include <QtGlobal>
#include <QString>
2013-08-20 12:26:02 +02:00
#pragma GCC diagnostic pop
2013-08-15 22:39:00 +02:00
#include "../options.h"
class VToolRecord
{
public:
VToolRecord();
VToolRecord(const qint64 &id, const Tools::Enum &typeTool, const QString &nameDraw);
qint64 getId() const;
void setId(const qint64 &value);
Tools::Enum getTypeTool() const;
void setTypeTool(const Tools::Enum &value);
QString getNameDraw() const;
void setNameDraw(const QString &value);
private:
qint64 id;
Tools::Enum typeTool;
QString nameDraw;
};
#endif // VTOOLRECORD_H