QtCore/qtranslator.h Source File
Go to the documentation of this file.
54 #ifndef QT_NO_TRANSLATION
57 class QTranslatorPrivate;
70 virtual QString translate(
const char *
context,
const char *sourceText,
71 const char *disambiguation = 0)
const;
72 QString translate(
const char *context,
const char *sourceText,
const char *disambiguation,
75 virtual bool isEmpty()
const;
77 bool load(
const QString & filename,
81 bool load(
const QLocale & locale,
86 bool load(
const uchar *
data,
int len);
89 QT3_SUPPORT
QString find(
const char *context,
const char *sourceText,
const char * comment = 0)
const
90 {
return translate(context, sourceText, comment); }
94 Q_DISABLE_COPY(QTranslator)
95 Q_DECLARE_PRIVATE(QTranslator)
98 #endif // QT_NO_TRANSLATION
104 #endif // QTRANSLATOR_H
#define QT_BEGIN_NAMESPACE
GLsizei GLsizei GLenum GLenum const GLvoid * data
GLuint const GLchar * name