KDECore
ktranscript.cpp File Reference
#include <ktranscript_p.h>
#include <common_helpers_p.h>
#include <config.h>
#include <kdecore_export.h>
#include <kglobal.h>
#include <kjs/value.h>
#include <kjs/object.h>
#include <kjs/lookup.h>
#include <kjs/function.h>
#include <kjs/interpreter.h>
#include <kjs/string_object.h>
#include <kjs/error_object.h>
#include <QVariant>
#include <QStringList>
#include <QList>
#include <QHash>
#include <QPair>
#include <QSet>
#include <QFile>
#include <QIODevice>
#include <QTextStream>
#include <QRegExp>
#include <qendian.h>
#include "ktranscript.lut.h"
Go to the source code of this file.
Defines | |
#define | CALLARG(i) (args.size() > i ? args[i] : jsNull()) |
#define | DBGP "KTranscript: " |
#define | SFNAME "Ts" |
#define | SPREF SFNAME"." |
Typedefs | |
typedef QHash< QString, TsConfigGroup > | TsConfig |
typedef QHash< QString, QString > | TsConfigGroup |
Functions | |
static quint32 | bin_read_int (const char *fc, qlonglong len, qlonglong &pos) |
static quint64 | bin_read_int64 (const char *fc, qlonglong len, qlonglong &pos) |
template<typename T > | |
static int | bin_read_int_nbytes (const char *fc, qlonglong len, qlonglong &pos, int nbytes) |
static QByteArray | bin_read_string (const char *fc, qlonglong len, qlonglong &pos) |
int | countLines (const QString &s, int p) |
template<typename T1 , typename T2 , typename T3 > | |
void | dbgout (const QString &str, const T1 &a1, const T2 &a2, const T3 &a3) |
template<typename T1 , typename T2 > | |
void | dbgout (const QString &str, const T1 &a1, const T2 &a2) |
template<typename T1 > | |
void | dbgout (const QString &str, const T1 &a1) |
void | dbgout (const QString &str) |
QString | expt2str (ExecState *exec) |
KTranscript * | load_transcript () |
QByteArray | normKeystr (const QString &raw, bool mayHaveAcc=true) |
TsConfig | readConfig (const QString &fname) |
static QString | toCaseFirst (const QString &qstr, int qnalt, bool toupper) |
QString | trimSmart (const QString &raw) |
JSValue * | variantToJsValue (const QVariant &val) |
Define Documentation
#define CALLARG | ( | i | ) | (args.size() > i ? args[i] : jsNull()) |
Definition at line 774 of file ktranscript.cpp.
#define DBGP "KTranscript: " |
Definition at line 218 of file ktranscript.cpp.
#define SFNAME "Ts" |
Definition at line 670 of file ktranscript.cpp.
#define SPREF SFNAME"." |
Definition at line 841 of file ktranscript.cpp.
Typedef Documentation
typedef QHash<QString, TsConfigGroup> TsConfig |
Definition at line 55 of file ktranscript.cpp.
typedef QHash<QString, QString> TsConfigGroup |
Definition at line 52 of file ktranscript.cpp.
Function Documentation
static quint32 bin_read_int | ( | const char * | fc, | |
qlonglong | len, | |||
qlonglong & | pos | |||
) | [static] |
Definition at line 1588 of file ktranscript.cpp.
static quint64 bin_read_int64 | ( | const char * | fc, | |
qlonglong | len, | |||
qlonglong & | pos | |||
) | [static] |
Definition at line 1582 of file ktranscript.cpp.
static int bin_read_int_nbytes | ( | const char * | fc, | |
qlonglong | len, | |||
qlonglong & | pos, | |||
int | nbytes | |||
) | [inline, static] |
Definition at line 1570 of file ktranscript.cpp.
static QByteArray bin_read_string | ( | const char * | fc, | |
qlonglong | len, | |||
qlonglong & | pos | |||
) | [static] |
Definition at line 1597 of file ktranscript.cpp.
int countLines | ( | const QString & | s, | |
int | p | |||
) |
Definition at line 287 of file ktranscript.cpp.
void dbgout | ( | const QString & | str, | |
const T1 & | a1, | |||
const T2 & | a2, | |||
const T3 & | a3 | |||
) | [inline] |
Definition at line 243 of file ktranscript.cpp.
void dbgout | ( | const QString & | str, | |
const T1 & | a1, | |||
const T2 & | a2 | |||
) | [inline] |
Definition at line 235 of file ktranscript.cpp.
void dbgout | ( | const QString & | str, | |
const T1 & | a1 | |||
) | [inline] |
Definition at line 227 of file ktranscript.cpp.
void dbgout | ( | const QString & | str | ) |
Definition at line 219 of file ktranscript.cpp.
QString expt2str | ( | ExecState * | exec | ) |
Definition at line 268 of file ktranscript.cpp.
KTranscript* load_transcript | ( | ) |
Definition at line 445 of file ktranscript.cpp.
Definition at line 301 of file ktranscript.cpp.
Definition at line 382 of file ktranscript.cpp.
Definition at line 1227 of file ktranscript.cpp.
Definition at line 335 of file ktranscript.cpp.
JSValue* variantToJsValue | ( | const QVariant & | val | ) |
Definition at line 365 of file ktranscript.cpp.