Skip to content

Commit

Permalink
Add API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 26, 2017
1 parent ad7b2d0 commit ace8b06
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/qgsfeaturerequest.h
Expand Up @@ -604,12 +604,20 @@ class CORE_EXPORT QgsFeatureRequest
/**
* The timeout for how long we should wait for a connection if none is available from the pool
* at this moment. A negative value (which is set by default) will wait forever.
*
* \note Only works if the provider supports this option.
*
* \since QGIS 3.0
*/
int connectionTimeout() const;

/**
* The timeout for how long we should wait for a connection if none is available from the pool
* at this moment. A negative value (which is set by default) will wait forever.
*
* \note Only works if the provider supports this option.
*
* \since QGIS 3.0
*/
void setConnectionTimeout( int connectionTimeout );

Expand Down

0 comments on commit ace8b06

Please sign in to comment.