#include "testobject.h"#include "testwindow.h"#include "../core/action.h"#include "../core/interpreter.h"#include "../core/manager.h"#include <QString>#include <QFile>#include <QMetaObject>#include <QMetaMethod>#include <kdebug.h>#include <kinstance.h>#include <kapplication.h>#include <kcmdlineargs.h>#include <kaboutdata.h>#include <ksharedptr.h>#include <string>#include <iostream>Graphe des dépendances par inclusion de main.cpp:
Aller au code source de ce fichier.
Macros | |
| #define | ERROR_OK 0 |
| #define | ERROR_HELP -1 |
| #define | ERROR_NOSUCHFILE -2 |
| #define | ERROR_OPENFAILED -3 |
| #define | ERROR_NOINTERPRETER -4 |
| #define | ERROR_EXCEPTION -6 |
Fonctions | |
| QString | getInterpreterName (const QString &scriptfile) |
| int | readFile (const QString &scriptfile, QString &content) |
| void | finishTestEnvironment () |
| void | initTestEnvironment () |
| int | runScriptFile (const QString &scriptfile) |
| int | main (int argc, char **argv) |
Variables | |
| KApplication * | app = 0 |
| static KCmdLineOptions | options [] |
| static TestObject * | testobj1 = 0 |
| static TestObject * | testobj2 = 0 |
| void finishTestEnvironment | ( | ) |
| QString getInterpreterName | ( | const QString & | scriptfile | ) |
Définition à la ligne 65 du fichier main.cpp.
Références Kross::InterpreterInfo::interpreterName(), et Kross::Manager::self().
Référencé par main(), et runScriptFile().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
| void initTestEnvironment | ( | ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Définition à la ligne 153 du fichier main.cpp.
Références app, ERROR_NOSUCHFILE, ERROR_OK, finishTestEnvironment(), getInterpreterName(), initTestEnvironment(), options, readFile(), testguiform::result, et runScriptFile().
Voici le graphe d'appel pour cette fonction :
| int readFile | ( | const QString & | scriptfile, | |
| QString & | content | |||
| ) |
Définition à la ligne 71 du fichier main.cpp.
Références ERROR_NOSUCHFILE, ERROR_OK, ERROR_OPENFAILED, et gensymbolfontmap::f.
Référencé par main(), et runScriptFile().
Voici le graphe d'appel pour cette fonction :
| int runScriptFile | ( | const QString & | scriptfile | ) |
Définition à la ligne 107 du fichier main.cpp.
Références Kross::ChildrenInterface::addObject(), ERROR_OK, getInterpreterName(), readFile(), testguiform::result, Kross::Action::setCode(), et Kross::Action::setInterpreter().
Voici le graphe d'appel pour cette fonction :
KCmdLineOptions options[] [static] |
TestObject* testobj1 = 0 [static] |
Définition à la ligne 87 du fichier main.cpp.
Référencé par finishTestEnvironment(), et initTestEnvironment().
TestObject* testobj2 = 0 [static] |
Définition à la ligne 88 du fichier main.cpp.
Référencé par finishTestEnvironment(), et initTestEnvironment().
1.5.1-p1