2017-06-07 16:16:21 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgspluginmanagerinterface.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-09 13:26:29 -04:00
|
|
|
|
2013-05-19 17:44:57 +02:00
|
|
|
class QgsPluginManagerInterface : QObject
|
|
|
|
{
|
2017-06-07 16:16:21 +02:00
|
|
|
|
2013-05-19 17:44:57 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-07 16:16:21 +02:00
|
|
|
#include "qgspluginmanagerinterface.h"
|
2013-05-19 17:44:57 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsPluginManagerInterface();
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
Constructor
|
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
|
|
|
|
virtual void clearPythonPluginMetadata() = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
remove Python plugins from the metadata registry (c++ plugins stay)
|
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
virtual void addPluginMetadata( const QMap<QString, QString> &metadata ) = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
add a single plugin to the metadata registry
|
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
|
|
|
|
virtual void reloadModel() = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
refresh plugin list model (and metadata browser content if necessary)
|
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
|
2017-05-03 07:45:22 +02:00
|
|
|
virtual const QMap<QString, QString> *pluginMetadata( const QString &key ) const = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
2018-05-25 13:54:27 +10:00
|
|
|
Returns given plugin metadata
|
2017-06-07 16:16:21 +02:00
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
|
|
|
|
virtual void clearRepositoryList() = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
clear the repository listWidget
|
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
virtual void addToRepositoryList( const QMap<QString, QString> &repository ) = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
add repository to the repository listWidget
|
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
|
|
|
|
virtual void showPluginManager( int tabIndex = -1 ) = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
show the Plugin Manager window and optionally open tab tabIndex
|
|
|
|
%End
|
2014-03-27 11:19:17 +01:00
|
|
|
|
2018-02-05 22:11:34 -04:00
|
|
|
virtual void pushMessage( const QString &text, Qgis::MessageLevel level = Qgis::Info, int duration = -1 ) = 0;
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
show the given message in the Plugin Manager internal message bar
|
|
|
|
%End
|
2013-05-19 17:44:57 +02:00
|
|
|
};
|
2017-06-07 16:16:21 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgspluginmanagerinterface.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|