QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
gui
qgspluginmanagerinterface.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgspluginmanagerinterface.h
3
--------------------------------------
4
Date : 15-May-2013
5
Copyright : (C) 2013 by Borys Jurgiel
6
Email : info at borysjurgiel dot pl
7
****************************************************************************/
8
/***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#ifndef QGSPLUGINMANAGERINTERFACE_H
18
#define QGSPLUGINMANAGERINTERFACE_H
19
20
#include <QObject>
21
#include <QString>
22
#include <QMap>
23
#include "
qgsmessagebar.h
"
24
28
class
GUI_EXPORT
QgsPluginManagerInterface
:
public
QObject
29
{
30
Q_OBJECT
31
32
public
:
33
35
QgsPluginManagerInterface
();
36
38
virtual
~
QgsPluginManagerInterface
();
39
41
virtual
void
clearPythonPluginMetadata() = 0;
42
44
virtual
void
addPluginMetadata(
const
QMap<QString, QString>
& metadata ) = 0;
45
47
virtual
void
reloadModel() = 0;
48
50
virtual
const
QMap<QString, QString>
* pluginMetadata(
const
QString
& key )
const
= 0;
51
53
virtual
void
clearRepositoryList() = 0;
54
56
virtual
void
addToRepositoryList(
const
QMap<QString, QString>
& repository ) = 0;
57
59
virtual
void
showPluginManager(
int
tabIndex = -1 ) = 0;
60
62
virtual
void
pushMessage(
const
QString
&text,
QgsMessageBar::MessageLevel
level =
QgsMessageBar::INFO
,
int
duration = -1 ) = 0;
63
};
64
65
#endif
QMap< QString, QString >
qgsmessagebar.h
QObject
QgsMessageBar::MessageLevel
MessageLevel
Definition:
qgsmessagebar.h:47
QgsMessageBar::INFO
Definition:
qgsmessagebar.h:49
QString
QgsPluginManagerInterface
Definition:
qgspluginmanagerinterface.h:28
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13