17#include "moc_qgscustomdrophandler.cpp"
virtual bool handleMimeDataV2(const QMimeData *data)
Called when the specified mime data has been dropped onto QGIS.
virtual Q_DECL_DEPRECATED void handleMimeData(const QMimeData *data)
Called when the specified mime data has been dropped onto QGIS.
virtual bool handleFileDrop(const QString &file)
Called when the specified file has been dropped onto QGIS.
virtual QString customUriProviderKey() const
Type of custom URI recognized by the handler.
virtual bool handleCustomUriCanvasDrop(const QgsMimeDataUtils::Uri &uri, QgsMapCanvas *canvas) const
Called from QGIS after a drop event with custom uri known by the handler occurs onto a map canvas.
virtual void handleCustomUriDrop(const QgsMimeDataUtils::Uri &uri) const
Called from QGIS after a drop event with custom URI known by the handler.
virtual bool canHandleMimeData(const QMimeData *data)
Returns true if the handler is capable of handling the provided mime data.
virtual bool canHandleCustomUriCanvasDrop(const QgsMimeDataUtils::Uri &uri, QgsMapCanvas *canvas)
Returns true if the handler is capable of handling the provided mime uri when dropped onto a map canv...
Map canvas is a class for displaying all GIS data types on a canvas.