We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b844fb commit b76daeeCopy full SHA for b76daee
1 file changed
blogs/qt/qt_tr.tex
@@ -0,0 +1,24 @@
1
+\input{../common/preambleconf.tex}
2
+\title{Qt(4)中tr函数}
3
+\input{../common/author.tex}
4
+\date{}
5
+
6
+\begin{document}
7
+\maketitle
8
+Qt(4)中的i18n是通过{\tt{tr}}函数实现了。今天仔细看了下Qt(4)的文档。详细了解{\tt{tr}}函数的处理流程。\\
9
10
+{\tt{tr}}函数的原型是(签名)是:\\
11
12
+\begin{quote}
13
+ \texttt{QString QObject::tr ( const char * sourceText, const char *
14
+ disambiguation = 0, int n = -1 ) [static]}
15
+\end{quote}
16
17
+{\tt{tr}}函数参数是
18
19
20
21
+\end{document}
22
23
24
0 commit comments