Changes in VDataTool.
--HG-- branch : feature
This commit is contained in:
parent
41ae42af4b
commit
66cecc3f3d
|
@ -26,7 +26,7 @@
|
|||
#include "vdatatool.h"
|
||||
#include "container/vcontainer.h"
|
||||
|
||||
class VAbstractTool:public VDataTool{
|
||||
class VAbstractTool: public VDataTool{
|
||||
Q_OBJECT
|
||||
public:
|
||||
VAbstractTool(VDomDocument *doc, VContainer *data, qint64 id, QObject *parent = 0);
|
||||
|
|
|
@ -21,13 +21,6 @@
|
|||
|
||||
#include "vdatatool.h"
|
||||
|
||||
VDataTool::VDataTool(VContainer *data, QObject *parent) :
|
||||
QObject(parent), data(*data){
|
||||
}
|
||||
|
||||
VDataTool::~VDataTool(){
|
||||
}
|
||||
|
||||
VDataTool &VDataTool::operator =(const VDataTool &tool){
|
||||
data = tool.getData();
|
||||
return *this;
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
class VDataTool : public QObject{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit VDataTool(VContainer *data, QObject *parent = 0);
|
||||
virtual ~VDataTool();
|
||||
explicit VDataTool(VContainer *data, QObject *parent = 0): QObject(parent), data(*data){}
|
||||
virtual ~VDataTool(){}
|
||||
VDataTool& operator= (const VDataTool &tool);
|
||||
VContainer getData() const { return data; }
|
||||
void setData(const VContainer *value);
|
||||
|
|
Loading…
Reference in New Issue
Block a user