Commit 2c7f1186 authored by Jan Möbius's avatar Jan Möbius

Fixed typo

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11076 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4f47edb0
......@@ -1028,8 +1028,19 @@ private slots:
private slots:
void slotScriptInfo( QString _pluginName , QString _functionName );
/** Core slot, executes the given script text via scripting plugin
*
* @param _script Script as QString
*/
void slotExecuteScript( QString _script );
/** Core slot, executes the given file as a script via scripting plugin
*
* @param _filename Filename of the script
*/
void slotExecuteFileScript( QString _filename );
void slotGetScriptingEngine( QScriptEngine*& _engine );
void slotGetAllAvailableFunctions( QStringList& _functions );
......
......@@ -68,6 +68,10 @@ void Core::slotExecuteScript( QString _script ) {
emit executeScript( _script );
}
void Core::slotExecuteFileScript( QString _filename ) {
emit executeFileScript( _filename );
}
void Core::slotGetScriptingEngine( QScriptEngine*& _engine ) {
_engine = &scriptEngine_;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment