mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
fix python binding compile error
git-svn-id: http://svn.osgeo.org/qgis/trunk@10742 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
3d2bbba680
commit
5cf3395673
@ -102,6 +102,16 @@ class QgisInterface : QObject
|
|||||||
* windows which are hidden rather than deleted when closed. */
|
* windows which are hidden rather than deleted when closed. */
|
||||||
virtual void removeWindow( QAction *action ) = 0;
|
virtual void removeWindow( QAction *action ) = 0;
|
||||||
|
|
||||||
|
/** Register action to the shortcuts manager so its shortcut can be changed in GUI
|
||||||
|
\note added in 1.2
|
||||||
|
*/
|
||||||
|
virtual bool registerMainWindowAction( QAction* action, QString defaultShortcut ) = 0;
|
||||||
|
|
||||||
|
/** Unregister a previously registered action. (e.g. when plugin is going to be unloaded)
|
||||||
|
\note added in 1.2
|
||||||
|
*/
|
||||||
|
virtual bool unregisterMainWindowAction( QAction* action ) = 0;
|
||||||
|
|
||||||
/** Accessors for inserting items into menus and toolbars.
|
/** Accessors for inserting items into menus and toolbars.
|
||||||
* An item can be inserted before any existing action.
|
* An item can be inserted before any existing action.
|
||||||
*/
|
*/
|
||||||
|
@ -135,10 +135,14 @@ class GUI_EXPORT QgisInterface : public QObject
|
|||||||
* windows which are hidden rather than deleted when closed. */
|
* windows which are hidden rather than deleted when closed. */
|
||||||
virtual void removeWindow( QAction *action ) = 0;
|
virtual void removeWindow( QAction *action ) = 0;
|
||||||
|
|
||||||
/** Register action to the shortcuts manager so its shortcut can be changed in GUI */
|
/** Register action to the shortcuts manager so its shortcut can be changed in GUI
|
||||||
|
\note added in 1.2
|
||||||
|
*/
|
||||||
virtual bool registerMainWindowAction( QAction* action, QString defaultShortcut ) = 0;
|
virtual bool registerMainWindowAction( QAction* action, QString defaultShortcut ) = 0;
|
||||||
|
|
||||||
/** Unregister a previously registered action. (e.g. when plugin is going to be unloaded */
|
/** Unregister a previously registered action. (e.g. when plugin is going to be unloaded)
|
||||||
|
\note added in 1.2
|
||||||
|
*/
|
||||||
virtual bool unregisterMainWindowAction( QAction* action ) = 0;
|
virtual bool unregisterMainWindowAction( QAction* action ) = 0;
|
||||||
|
|
||||||
// TODO: is this deprecated in favour of QgsContextHelp?
|
// TODO: is this deprecated in favour of QgsContextHelp?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user