UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zq_bbox_inline.hpp
1 /* zq_bbox_inline.hpp */
2 /* $Id: zq_bbox_inline.hpp,v 1.1 2005/06/22 10:00:59 vlad Exp $ */
3 #ifndef __zq_bbox_inline_hpp
4 #define __zq_bbox_inline_hpp
5 
6 /* DON'T INCLUDE IN APPLICATION SOURCES */
7 
8 #ifdef __zq_bbox_hpp
9 #define INLINE inline
10 #else
11 #define INLINE
12 #endif /* __zq_bbox_hpp */
13 
14 /*
15  * Properties
16  */
17 
23 INLINE void
24 ZqBBox::setPen (const QPen& pen)
25 {
26  m_qPen = pen;
27 }
28 
29 
34 INLINE const QPen&
36 {
37  return m_qPen;
38 }
39 
40 
45 INLINE QPen&
47 {
48  return m_qPen;
49 }
50 
51 
59 INLINE void
60 ZqBBox::setOffset (int offset)
61 {
62  m_iOffset = offset;
63 }
64 
65 
70 INLINE int
72 {
73  return m_iOffset;
74 }
75 
76 
77 #endif /* zq_bbox_inline.hpp */
virtual QPen & pen()
Definition: zq_bbox_inline.hpp:46
virtual void setOffset(int offset)
Definition: zq_bbox_inline.hpp:60
int m_iOffset
Definition: zq_bbox.hpp:72
virtual void setPen(const QPen &pen)
Definition: zq_bbox_inline.hpp:24
virtual int getOffset() const
Definition: zq_bbox_inline.hpp:71
QPen m_qPen
Definition: zq_bbox.hpp:66
virtual const QPen & getPen() const
Definition: zq_bbox_inline.hpp:35