Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_point_3d.cpp
- Timestamp:
- Nov 3, 2026, 10:53:35 AM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/BNC/qwt/qwt_point_3d.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_point_3d.cpp
r9383 r11158 1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*-*****************************1 /****************************************************************************** 2 2 * Qwt Widget Library 3 3 * Copyright (C) 1997 Josef Wilgen … … 10 10 #include "qwt_point_3d.h" 11 11 12 #if QT_VERSION >= 0x050200 13 14 static QwtPoint3D qwtPointToPoint3D( const QPointF& point ) 15 { 16 return QwtPoint3D( point ); 17 } 18 19 #endif 20 21 namespace 22 { 23 static const struct RegisterQwtPoint3D 24 { 25 inline RegisterQwtPoint3D() 26 { 27 qRegisterMetaType< QwtPoint3D >(); 28 29 #if QT_VERSION >= 0x050200 30 QMetaType::registerConverter< QPointF, QwtPoint3D >( qwtPointToPoint3D ); 31 #endif 32 } 33 } qwtRegisterQwtPoint3D; 34 } 35 12 36 #ifndef QT_NO_DEBUG_STREAM 13 37 14 QDebug operator<<( QDebug debug, const QwtPoint3D &point ) 38 #include <qdebug.h> 39 40 QDebug operator<<( QDebug debug, const QwtPoint3D& point ) 15 41 { 16 42 debug.nospace() << "QwtPoint3D(" << point.x() 17 << "," << point.y() << "," << point.z() << ")"; 43 << "," << point.y() << "," << point.z() << ")"; 18 44 return debug.space(); 19 45 }
Note:
See TracChangeset
for help on using the changeset viewer.
