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