mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Style updates
This commit is contained in:
parent
536c586968
commit
b7e19d8243
@ -82,11 +82,17 @@ class CORE_EXPORT QgsWkbPtr
|
||||
inline const QgsWkbPtr &operator>>( char &v ) const { read( v ); return *this; } SIP_SKIP
|
||||
inline const QgsWkbPtr &operator>>( QgsWkbTypes::Type &v ) const { read( v ); return *this; } SIP_SKIP
|
||||
|
||||
//! Writes a double to the pointer
|
||||
inline QgsWkbPtr &operator<<( double v ) { write( v ); return *this; } SIP_SKIP
|
||||
//! Writes a float to the pointer
|
||||
inline QgsWkbPtr &operator<<( float r ) { double v = r; write( v ); return *this; } SIP_SKIP
|
||||
//! Writes an int to the pointer
|
||||
inline QgsWkbPtr &operator<<( int v ) { write( v ); return *this; } SIP_SKIP
|
||||
//! Writes an unsigned int to the pointer
|
||||
inline QgsWkbPtr &operator<<( unsigned int v ) { write( v ); return *this; } SIP_SKIP
|
||||
//! Writes a char to the pointer
|
||||
inline QgsWkbPtr &operator<<( char v ) { write( v ); return *this; } SIP_SKIP
|
||||
//! Writes a WKB type value to the pointer
|
||||
inline QgsWkbPtr &operator<<( QgsWkbTypes::Type v ) { write( v ); return *this; } SIP_SKIP
|
||||
//! Append data from a byte array
|
||||
inline QgsWkbPtr &operator<<( const QByteArray &data ) { write( data ); return *this; } SIP_SKIP
|
||||
|
@ -45,8 +45,8 @@ QList< QPair<QString, QString> > QgsGpsDetector::availablePorts()
|
||||
#ifdef Q_OS_LINUX
|
||||
// look for linux serial devices
|
||||
const QStringList devices { QStringLiteral( "/dev/ttyS%1" ),
|
||||
QStringLiteral( "/dev/ttyUSB%1" ),
|
||||
QStringLiteral( "/dev/rfcomm%1" ), QStringLiteral( "/dev/ttyACM%1" ) };
|
||||
QStringLiteral( "/dev/ttyUSB%1" ),
|
||||
QStringLiteral( "/dev/rfcomm%1" ), QStringLiteral( "/dev/ttyACM%1" ) };
|
||||
for ( const QString &linuxDev : devices )
|
||||
{
|
||||
for ( int i = 0; i < 10; ++i )
|
||||
|
Loading…
x
Reference in New Issue
Block a user