Skip to content

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed
 

‎python/core/qgslogger.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class QgsLogger
2626
static void debug(const QString& var, int val, int debuglevel = 1, const char* file = NULL, const char* function = NULL, int line = -1);
2727

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

3232
/**Prints out a variable/value pair for types with overloaded operator<<*/

‎python/core/qgsrasterlayer.sip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,8 @@ public:
480480
*
481481
* \retval 0 if not using the data provider model (i.e. directly using GDAL)
482482
*/
483-
// TODO: const QgsRasterDataProvider* getDataProvider() const;
483+
// PyQGIS: commented out, has the same signature as the function above
484+
// const QgsRasterDataProvider* getDataProvider() const;
484485

485486
public slots:
486487
/**
@@ -523,8 +524,7 @@ public slots:
523524
* \param band number
524525
* \return pointer to color table
525526
*/
526-
// TODO: not working
527-
//QgsColorTable *colorTable ( int theBandNoInt );
527+
QgsColorTable *colorTable ( int theBandNoInt );
528528
protected:
529529

530530
/** reads vector layer specific state from project file DOM node.

‎python/core/qgsvectordataprovider.sip

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ class QgsVectorDataProvider : QgsDataProvider
221221
QList<int> allAttributesList();
222222

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

227226
/**
228227
* Set whether provider should return also features that don't have

‎python/gui/qgslayerprojectionselector.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class QgsLayerProjectionSelector : QDialog //, private Ui::QgsLayerProjectionSel
4242
*
4343
* \warning This function's behaviour is undefined if it is called after the dialog is shown.
4444
*/
45-
// TODO void setOgcWmsCrsFilter(QSet<QString> crsFilter);
45+
void setOgcWmsCrsFilter(QSet<QString> crsFilter);
4646

4747

4848
};

0 commit comments

Comments
 (0)
Please sign in to comment.