[QGIS Commit] r10983 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Jun 26 13:38:00 EDT 2009


Author: jef
Date: 2009-06-26 13:37:59 -0400 (Fri, 26 Jun 2009)
New Revision: 10983

Modified:
   trunk/qgis/python/core/qgsvectordataprovider.sip
Log:
sync QgsVectorDataProvider sip interface

Modified: trunk/qgis/python/core/qgsvectordataprovider.sip
===================================================================
--- trunk/qgis/python/core/qgsvectordataprovider.sip	2009-06-26 17:04:31 UTC (rev 10982)
+++ trunk/qgis/python/core/qgsvectordataprovider.sip	2009-06-26 17:37:59 UTC (rev 10983)
@@ -253,7 +253,22 @@
        */
       bool supportedType( const QgsField &field ) const;
 
+      struct NativeType
+      {
+	NativeType( QString typeDesc, QString typeName, QVariant::Type type, int minLen = 0, int maxLen = 0, int minPrec = 0, int maxPrec = 0 );
+      };
+
       /**
+       * Returns the names of the supported types
+       * @note added in 1.2
+       */
+      const QList< QgsVectorDataProvider::NativeType > &nativeTypes() const;
+
+      /**Returns the names of the numerical types
+         @note deprecated */
+      const QMap<QString,QVariant::Type> &supportedNativeTypes() const; 
+
+      /**
        * Set whether provider should return also features that don't have
        * associated geometry. FALSE by default
        */



More information about the QGIS-commit mailing list