QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Classes | Macros | Typedefs
qgisplugin.h File Reference
#include <QString>
Include dependency graph for qgisplugin.h:

Go to the source code of this file.

Classes

class  QgisPlugin
 Abstract base class from which all plugins must inherit. More...
 

Macros

#define SIP_NO_FILE
 QGIS - Plugin API. More...
 

Typedefs

typedef QString category_t()
 Typedef for getting the category without instantiating the plugin. More...
 
typedef QString create_date_t()
 Typedef for getting the create date without instantiating the plugin. More...
 
typedef QgisPlugincreate_t(QgisInterface *)
 Typedef for the function that returns a generic pointer to a plugin object. More...
 
typedef QString description_t()
 Typedef for getting the description without instantiating the plugin. More...
 
typedef QString experimental_t()
 Typedef for getting the experimental status without instantiating the plugin. More...
 
typedef QString icon_t()
 Typedef for getting the plugin icon file name without instantiating the plugin. More...
 
typedef QString name_t()
 Typedef for getting the name of the plugin without instantiating it. More...
 
typedef int type_t()
 Typedef for getting the plugin type without instantiating the plugin. More...
 
typedef void unload_t(QgisPlugin *)
 Typedef for the function to unload a plugin and free its resources. More...
 
typedef QString update_date_t()
 Typedef for getting the update date status without instantiating the plugin. More...
 
typedef QString version_t()
 Typedef for getting the plugin version without instantiating the plugin. More...
 

Macro Definition Documentation

◆ SIP_NO_FILE

#define SIP_NO_FILE

QGIS - Plugin API.

About QGIS Plugins

Plugins provide additional functionality to QGis. Plugins must implement several required methods in order to be registered with QGis. These methods include: name:

  • version
  • description

All QGIS plugins must inherit from the abstract base class QgisPlugin. This list will grow as the API is expanded.

In addition, a plugin must implement the classFactory and unload functions. Note that these functions must be declared as extern "C" in order to be resolved properly and prevent C++ name mangling.

Definition at line 39 of file qgisplugin.h.

Typedef Documentation

◆ category_t

typedef QString category_t()

Typedef for getting the category without instantiating the plugin.

Definition at line 204 of file qgisplugin.h.

◆ create_date_t

typedef QString create_date_t()

Typedef for getting the create date without instantiating the plugin.

Definition at line 219 of file qgisplugin.h.

◆ create_t

typedef QgisPlugin* create_t(QgisInterface *)

Typedef for the function that returns a generic pointer to a plugin object.

Definition at line 192 of file qgisplugin.h.

◆ description_t

typedef QString description_t()

Typedef for getting the description without instantiating the plugin.

Definition at line 201 of file qgisplugin.h.

◆ experimental_t

typedef QString experimental_t()

Typedef for getting the experimental status without instantiating the plugin.

Definition at line 216 of file qgisplugin.h.

◆ icon_t

typedef QString icon_t()

Typedef for getting the plugin icon file name without instantiating the plugin.

Definition at line 213 of file qgisplugin.h.

◆ name_t

typedef QString name_t()

Typedef for getting the name of the plugin without instantiating it.

Definition at line 198 of file qgisplugin.h.

◆ type_t

typedef int type_t()

Typedef for getting the plugin type without instantiating the plugin.

Definition at line 207 of file qgisplugin.h.

◆ unload_t

typedef void unload_t(QgisPlugin *)

Typedef for the function to unload a plugin and free its resources.

Definition at line 195 of file qgisplugin.h.

◆ update_date_t

typedef QString update_date_t()

Typedef for getting the update date status without instantiating the plugin.

Definition at line 222 of file qgisplugin.h.

◆ version_t

typedef QString version_t()

Typedef for getting the plugin version without instantiating the plugin.

Definition at line 210 of file qgisplugin.h.