Changes in VDataTool.
--HG-- branch : feature
This commit is contained in:
parent
41ae42af4b
commit
66cecc3f3d
|
@ -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