mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-23 06:59:59 +01:00
Ajout de documentation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@225 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -73,31 +73,51 @@ class OrientationSet {
|
||||
QString toString() const;
|
||||
};
|
||||
|
||||
/**
|
||||
@return true si l'orientation "Nord" est autorisee, false sinon
|
||||
*/
|
||||
inline bool OrientationSet::north() const {
|
||||
return(north_ori);
|
||||
}
|
||||
|
||||
/**
|
||||
@return true si l'orientation "Est" est autorisee, false sinon
|
||||
*/
|
||||
inline bool OrientationSet::east() const {
|
||||
return(east_ori);
|
||||
}
|
||||
|
||||
/**
|
||||
@return true si l'orientation "Sud" est autorisee, false sinon
|
||||
*/
|
||||
inline bool OrientationSet::south() const {
|
||||
return(south_ori);
|
||||
}
|
||||
|
||||
/**
|
||||
@return true si l'orientation "Ouest" est autorisee, false sinon
|
||||
*/
|
||||
inline bool OrientationSet::west() const {
|
||||
return(west_ori);
|
||||
}
|
||||
|
||||
/**
|
||||
@param theValue La nouvelle orientation par defaut
|
||||
*/
|
||||
inline void OrientationSet::setDefaultOrientation(const QET::Orientation& theValue) {
|
||||
default_ori = theValue;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@return L'orientation par defaut
|
||||
*/
|
||||
inline QET::Orientation OrientationSet::defaultOrientation() const {
|
||||
return(default_ori);
|
||||
}
|
||||
|
||||
/**
|
||||
@return L'orientation actuelle
|
||||
*/
|
||||
inline QET::Orientation OrientationSet::current() const {
|
||||
return(current_ori);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user