Some small updates to bindings

git-svn-id: http://svn.osgeo.org/qgis/trunk@7897 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2008-01-09 23:20:31 +00:00
parent 57b59ae9c7
commit fd05e0c631
4 changed files with 6 additions and 7 deletions

View File

@ -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<<*/

View File

@ -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.

View File

@ -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

View File

@ -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);
};