kig
#include <script-common.h>
Public Types | |
enum | Type { Unknown = 0, Python = 1 } |
Static Public Member Functions | |
static QString | fillCodeStatement (ScriptType::Type type) |
static QString | highlightStyle (ScriptType::Type type) |
static const char * | icon (ScriptType::Type type) |
static ScriptType::Type | intToType (int type) |
static QString | templateCode (ScriptType::Type type, std::list< ObjectHolder * > args) |
Detailed Description
Definition at line 28 of file script-common.h.
Member Enumeration Documentation
enum ScriptType::Type |
This enum represents all the script language types actually in Kig.
The first type ( Unknown ) can be used if we don't want particular tunings for a script language.
Enumerator | |
---|---|
Unknown | |
Python |
Definition at line 36 of file script-common.h.
Member Function Documentation
|
static |
Returns an i18n'ed statement like 'Now fill in the code:' with the name of the script language.
Definition at line 39 of file script-common.cc.
|
static |
Returns the Kate highlight stytle name for a script language.
Definition at line 112 of file script-common.cc.
|
static |
Returns the icon's name for a script language.
Definition at line 107 of file script-common.cc.
|
static |
Converts an int to a ScriptType::Type.
Useful when reading script types from files.
Definition at line 119 of file script-common.cc.
|
static |
Returns a template code for a script language.
Definition at line 44 of file script-common.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.