QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
core
qgsaction.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsaction.cpp - QgsAction
3
4
---------------------
5
begin : 18.4.2016
6
copyright : (C) 2016 by Matthias Kuhn
7
email :
[email protected]
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
#include "
qgsaction.h
"
18
19
bool
QgsAction::runable
()
const
20
{
21
return
mType ==
Generic
||
22
mType ==
GenericPython
||
23
mType ==
OpenUrl
||
24
#if defined(Q_OS_WIN)
25
mType ==
Windows
26
#elif defined(Q_OS_MAC)
27
mType ==
Mac
28
#else
29
mType ==
Unix
30
#endif
31
;
32
}
QgsAction::Mac
Definition:
qgsaction.h:32
QgsAction::Generic
Definition:
qgsaction.h:30
QgsAction::Unix
Definition:
qgsaction.h:34
QgsAction::GenericPython
Definition:
qgsaction.h:31
QgsAction::Windows
Definition:
qgsaction.h:33
QgsAction::runable
bool runable() const
Checks if the action is runable on the current platform.
Definition:
qgsaction.cpp:19
qgsaction.h
QgsAction::OpenUrl
Definition:
qgsaction.h:35
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13