Kross
qts/main.cpp
Go to the documentation of this file.
79 qWarning() << "Syntax:" << KCmdLineArgs::appName() << "scriptfile1 [scriptfile2] [scriptfile3] ...";
static void addCmdLineOptions(const KCmdLineOptions &options, const KLocalizedString &name=KLocalizedString(), const QByteArray &id=QByteArray(), const QByteArray &afterId=QByteArray())
QScriptValue importExtension(const QString &extension)
KAboutData & addAuthor(const KLocalizedString &name, const KLocalizedString &task=KLocalizedString(), const QByteArray &emailAddress=QByteArray(), const QByteArray &webAddress=QByteArray())
KCmdLineOptions & add(const QByteArray &name, const KLocalizedString &description=KLocalizedString(), const QByteArray &defaultValue=QByteArray())
KLocalizedString ki18n(const char *msg)
bool runScriptFile(QScriptEngine *engine, const QString &scriptfile)
Definition: qts/main.cpp:32
static KCmdLineArgs * parsedArgs(const QByteArray &id=QByteArray())
void installTranslatorFunctions(const QScriptValue &object)
QScriptValue evaluate(const QString &program, const QString &fileName, int lineNumber)
bool exists() const
QString arg(int n) const
QString toString() const
int count() const
int count(const T &value) const
static QString appName()
QByteArray readAll()
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
virtual void close()
static void init(int argc, char **argv, const QByteArray &appname, const QByteArray &catalog, const KLocalizedString &programName, const QByteArray &version, const KLocalizedString &description=KLocalizedString(), StdCmdLineArgs stdargs=StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE))
QScriptValue globalObject() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.