Use memsize-type.
--HG-- branch : develop
This commit is contained in:
parent
8293f69761
commit
93db4385b7
|
@ -70,7 +70,7 @@ bool VDetail::Containes(const qint64 &id) const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
VNodeDetail &VDetail::operator [](int indx)
|
VNodeDetail &VDetail::operator [](ptrdiff_t indx)
|
||||||
{
|
{
|
||||||
return nodes[indx];
|
return nodes[indx];
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ public:
|
||||||
void Clear();
|
void Clear();
|
||||||
inline qint32 CountNode() const {return nodes.size();}
|
inline qint32 CountNode() const {return nodes.size();}
|
||||||
bool Containes(const qint64 &id)const;
|
bool Containes(const qint64 &id)const;
|
||||||
VNodeDetail & operator[](int indx);
|
VNodeDetail & operator[](ptrdiff_t indx);
|
||||||
inline QString getName() const {return name;}
|
inline QString getName() const {return name;}
|
||||||
inline void setName(const QString &value) {name = value;}
|
inline void setName(const QString &value) {name = value;}
|
||||||
inline qreal getMx() const {return mx;}
|
inline qreal getMx() const {return mx;}
|
||||||
|
|
|
@ -146,7 +146,7 @@ VSplinePath &VSplinePath::operator =(const VSplinePath &path)
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
VSplinePoint & VSplinePath::operator[](int indx)
|
VSplinePoint & VSplinePath::operator[](ptrdiff_t indx)
|
||||||
{
|
{
|
||||||
return path[indx];
|
return path[indx];
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,7 @@ public:
|
||||||
inline void setKCurve(const qreal &value) {kCurve = value;}
|
inline void setKCurve(const qreal &value) {kCurve = value;}
|
||||||
inline const QVector<VSplinePoint> *GetPoint() const {return &path;}
|
inline const QVector<VSplinePoint> *GetPoint() const {return &path;}
|
||||||
VSplinePath &operator=(const VSplinePath &path);
|
VSplinePath &operator=(const VSplinePath &path);
|
||||||
VSplinePoint &operator[](int indx);
|
VSplinePoint &operator[](ptrdiff_t indx);
|
||||||
inline Draw::Draws getMode() const {return mode;}
|
inline Draw::Draws getMode() const {return mode;}
|
||||||
inline void setMode(const Draw::Draws &value) {mode = value;}
|
inline void setMode(const Draw::Draws &value) {mode = value;}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user