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;
|
||||
}
|
||||
|
||||
VNodeDetail &VDetail::operator [](int indx)
|
||||
VNodeDetail &VDetail::operator [](ptrdiff_t indx)
|
||||
{
|
||||
return nodes[indx];
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
void Clear();
|
||||
inline qint32 CountNode() const {return nodes.size();}
|
||||
bool Containes(const qint64 &id)const;
|
||||
VNodeDetail & operator[](int indx);
|
||||
VNodeDetail & operator[](ptrdiff_t indx);
|
||||
inline QString getName() const {return name;}
|
||||
inline void setName(const QString &value) {name = value;}
|
||||
inline qreal getMx() const {return mx;}
|
||||
|
|
|
@ -146,7 +146,7 @@ VSplinePath &VSplinePath::operator =(const VSplinePath &path)
|
|||
return *this;
|
||||
}
|
||||
|
||||
VSplinePoint & VSplinePath::operator[](int indx)
|
||||
VSplinePoint & VSplinePath::operator[](ptrdiff_t indx)
|
||||
{
|
||||
return path[indx];
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ public:
|
|||
inline void setKCurve(const qreal &value) {kCurve = value;}
|
||||
inline const QVector<VSplinePoint> *GetPoint() const {return &path;}
|
||||
VSplinePath &operator=(const VSplinePath &path);
|
||||
VSplinePoint &operator[](int indx);
|
||||
VSplinePoint &operator[](ptrdiff_t indx);
|
||||
inline Draw::Draws getMode() const {return mode;}
|
||||
inline void setMode(const Draw::Draws &value) {mode = value;}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user