Qt 4.8
|
Public Types | |
enum | { Contexts = 0x2f, Hashes = 0x42, Messages = 0x69, NumerusRules = 0x88 } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Public Functions | |
void | clear () |
Empties this translator of all contents. More... | |
bool | do_load (const QString &filename) |
bool | do_load (const uchar *data, int len) |
QString | do_translate (const char *context, const char *sourceText, const char *comment, int n) const |
QTranslatorPrivate () | |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Additional Inherited Members | |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Definition at line 221 of file qtranslator.cpp.
anonymous enum |
Enumerator | |
---|---|
Contexts | |
Hashes | |
Messages | |
NumerusRules |
Definition at line 225 of file qtranslator.cpp.
|
inline |
Definition at line 227 of file qtranslator.cpp.
void QTranslatorPrivate::clear | ( | ) |
Empties this translator of all contents.
This function works with stripped translator files.
Definition at line 968 of file qtranslator.cpp.
bool QTranslatorPrivate::do_load | ( | const QString & | filename | ) |
Definition at line 504 of file qtranslator.cpp.
Referenced by do_load().
bool QTranslatorPrivate::do_load | ( | const uchar * | data, |
int | len | ||
) |
Definition at line 765 of file qtranslator.cpp.
QString QTranslatorPrivate::do_translate | ( | const char * | context, |
const char * | sourceText, | ||
const char * | comment, | ||
int | n | ||
) | const |
Definition at line 874 of file qtranslator.cpp.
const uchar* QTranslatorPrivate::contextArray |
Definition at line 243 of file qtranslator.cpp.
uint QTranslatorPrivate::contextLength |
Definition at line 247 of file qtranslator.cpp.
const uchar* QTranslatorPrivate::messageArray |
Definition at line 241 of file qtranslator.cpp.
uint QTranslatorPrivate::messageLength |
Definition at line 245 of file qtranslator.cpp.
const uchar* QTranslatorPrivate::numerusRulesArray |
Definition at line 244 of file qtranslator.cpp.
uint QTranslatorPrivate::numerusRulesLength |
Definition at line 248 of file qtranslator.cpp.
const uchar* QTranslatorPrivate::offsetArray |
Definition at line 242 of file qtranslator.cpp.
uint QTranslatorPrivate::offsetLength |
Definition at line 246 of file qtranslator.cpp.
QResource* QTranslatorPrivate::resource |
Definition at line 238 of file qtranslator.cpp.
Referenced by do_load().
unsigned int QTranslatorPrivate::unmapLength |
Definition at line 235 of file qtranslator.cpp.
Referenced by do_load().
char* QTranslatorPrivate::unmapPointer |
Definition at line 234 of file qtranslator.cpp.
Referenced by do_load().
bool QTranslatorPrivate::used_mmap |
Definition at line 233 of file qtranslator.cpp.
Referenced by do_load().