Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using stl container instead of Qt.
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_Widget.h
diff --git
a/src/HYDROCurveCreator/CurveCreator_Widget.h
b/src/HYDROCurveCreator/CurveCreator_Widget.h
index d0559c50b67cc7bc586b97a7e93f585cab502b47..03cfd0948a1ff4c188eab8a1b95b5a038ce82d3e 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_Widget.h
+++ b/
src/HYDROCurveCreator/CurveCreator_Widget.h
@@
-130,8
+130,8
@@
protected:
DetectionMode
};
DetectionMode
};
- typedef
QP
air< int, int > SectionToPoint;
- typedef
QList
< SectionToPoint > SectionToPointList;
+ typedef
std::p
air< int, int > SectionToPoint;
+ typedef
std::deque
< SectionToPoint > SectionToPointList;
private:
QAction* createAction( ActionId theId, const QString& theName, const QPixmap& theImage,
private:
QAction* createAction( ActionId theId, const QString& theName, const QPixmap& theImage,
@@
-178,6
+178,8
@@
private:
int getSectionId( const int theRowId ) const;
int getPointId( const int theRowId ) const;
int getSectionId( const int theRowId ) const;
int getPointId( const int theRowId ) const;
+ bool contains( const SectionToPointList& theList, const SectionToPoint& theValue ) const;
+
private:
QMap<ActionId, QAction*> myActionMap;
CurveCreator_ICurve* myCurve;
private:
QMap<ActionId, QAction*> myActionMap;
CurveCreator_ICurve* myCurve;