Skip to content

Commit

Permalink
Some small updates to bindings
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7897 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jan 9, 2008
1 parent efe4466 commit 5e2eb4a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion python/core/qgslogger.sip
Expand Up @@ -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<<*/
Expand Down
6 changes: 3 additions & 3 deletions python/core/qgsrasterlayer.sip
Expand Up @@ -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:
/**
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 1 addition & 2 deletions python/core/qgsvectordataprovider.sip
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgslayerprojectionselector.sip
Expand Up @@ -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);


};
Expand Down

0 comments on commit 5e2eb4a

Please sign in to comment.