repository for casafeather app
Source
31
31
namespace casa {
32
32
33
33
ExternalAxis::ExternalAxis(){
34
34
}
35
35
36
36
37
37
void ExternalAxis::draw(QPainter* /*painter*/, const QPalette& /*palette*/) const {
38
38
}
39
39
40
40
41
-
41
+
#if QWT_VERSION >= 0x060000
42
+
double ExternalAxis::extent( const QFont& /*font*/ ) const {
43
+
return 0.0;
44
+
}
45
+
#else
42
46
int ExternalAxis::extent( const QPen& /*pen*/, const QFont& /*font*/ ) const {
43
47
return 0;
44
48
}
49
+
#endif
45
50
46
51
47
52
ExternalAxis::~ExternalAxis() {
48
53
}
49
54
50
55
} /* namespace casa */