mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	This check tests that if a function has been declared deprecated with either Q_DECL_DEPRECATED or has a @deprecated Doxygen note then it MUST have both the Q_DECL_DEPRECATD and @deprecated note. It's important that both are used, as Q_DECL_DEPRECATED allows throwing a warning if that method is used in code, while the @deprecated doxygen note gives an indication to devs/PyQGIS users of why it's deprecated and what should be used instead. Ideally we'd also test for SIP /Deprecated/ tags, but I can't find any reliable way to do this.
		
			
				
	
	
		
			32 lines
		
	
	
		
			845 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			845 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
class QgsOWSConnection : QObject
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include <qgsowsconnection.h>
 | 
						|
%End
 | 
						|
 | 
						|
  public:
 | 
						|
    /**
 | 
						|
     * Constructor
 | 
						|
     * @param theService service name: WMS,WFS,WCS
 | 
						|
     * @param theConnName connection name
 | 
						|
     */
 | 
						|
    QgsOWSConnection( const QString & theService, const QString & theConnName );
 | 
						|
 | 
						|
    //! Destructor
 | 
						|
    ~QgsOWSConnection();
 | 
						|
 | 
						|
    static QStringList connectionList( const QString & theService );
 | 
						|
 | 
						|
    static void deleteConnection( const QString & theService, const QString & name );
 | 
						|
 | 
						|
    static QString selectedConnection( const QString & theService );
 | 
						|
    static void setSelectedConnection( const QString & theService, const QString & name );
 | 
						|
 | 
						|
    QString mConnName;
 | 
						|
    QgsDataSourceURI uri();
 | 
						|
    QString mConnectionInfo;
 | 
						|
 | 
						|
    //! @deprecated use mConnectionInfo instead
 | 
						|
    QString connectionInfo() /Deprecated/;
 | 
						|
};
 |