Skip to content
Permalink
Browse files
Some small updates to bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@7897 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jan 9, 2008
1 parent 57b59ae commit fd05e0c631fd47fdb591335aae71ad2864bde733
Showing with 6 additions and 7 deletions.
  1. +1 −1 python/core/qgslogger.sip
  2. +3 −3 python/core/qgsrasterlayer.sip
  3. +1 −2 python/core/qgsvectordataprovider.sip
  4. +1 −1 python/gui/qgslayerprojectionselector.sip
@@ -26,7 +26,7 @@ class QgsLogger
static void debug(const QString& var, int val, int debuglevel = 1, const char* file = NULL, const char* function = NULL, int line = -1);

/**Similar to the previous method, but prints a variable double-value pair*/
// TODO: cannot be used has the same python signature as method above
// PyQGIS: commented out - has the same python signature as method above
//static void debug(const QString& var, double val, int debuglevel = 1, const char* file = NULL, const char* function = NULL, int line = -1);

/**Prints out a variable/value pair for types with overloaded operator<<*/
@@ -480,7 +480,8 @@ public:
*
* \retval 0 if not using the data provider model (i.e. directly using GDAL)
*/
// TODO: const QgsRasterDataProvider* getDataProvider() const;
// PyQGIS: commented out, has the same signature as the function above
// const QgsRasterDataProvider* getDataProvider() const;

public slots:
/**
@@ -523,8 +524,7 @@ public slots:
* \param band number
* \return pointer to color table
*/
// TODO: not working
//QgsColorTable *colorTable ( int theBandNoInt );
QgsColorTable *colorTable ( int theBandNoInt );
protected:

/** reads vector layer specific state from project file DOM node.
@@ -221,8 +221,7 @@ class QgsVectorDataProvider : QgsDataProvider
QList<int> allAttributesList();

/**Returns the names of the numerical types*/
// TODO: wrap, must wrap QSet<TYPE> first
//const QSet<QString>& supportedNativeTypes() const;
const QSet<QString>& supportedNativeTypes() const;

/**
* Set whether provider should return also features that don't have
@@ -42,7 +42,7 @@ class QgsLayerProjectionSelector : QDialog //, private Ui::QgsLayerProjectionSel
*
* \warning This function's behaviour is undefined if it is called after the dialog is shown.
*/
// TODO void setOgcWmsCrsFilter(QSet<QString> crsFilter);
void setOgcWmsCrsFilter(QSet<QString> crsFilter);


};

0 comments on commit fd05e0c

Please sign in to comment.