C++ (Qt)static const char * c_Sentence = "My Sentence"; MyClass::MyClass() : QObject(){ QLabel * label = new QLabel(tr(c_Sentence), this);}
C++ (Qt)static const char * c_Sentence = QT_TR_NOOP("My Sentence");MyClass::MyClass() : QObject(){ QLabel * label = new QLabel(tr(c_Sentence), this);}
C++ (Qt)static const char *greeting_strings[] = { QT_TRANSLATE_NOOP("FriendlyConversation", "Hello"), QT_TRANSLATE_NOOP("FriendlyConversation", "Goodbye") }; QString FriendlyConversation::greeting(int type) { return tr(greeting_strings[type]); }
C++ (Qt)static const char c_Sentence[] = QT_TRANSLATE_NOOP("MyContext","My Sentence");MyClass::MyClass() : QObject(){ QLabel * label = new QLabel(tr(c_Sentence), this);}
C++ (Qt)static const char c_Sentence[] = "My Sentence";MyClass::MyClass() : QObject(){ QLabel * label = new QLabel(tr(c_Sentence), this);}