Jump to content

Translations:Development/Tutorials/First program/16/pt-br: Difference between revisions

From KDE TechBase
Aracele (talk | contribs)
Created page with "Assim criamos um objeto {{class|KApplication}}. Isso precisa ser feito uma vez em cada programa, já que é necessário para coisas como [[Development/Tutorials/Localization/i..."
(No difference)

Revision as of 23:18, 22 June 2014

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/First program)
Then we come to [http://doc.qt.io/qt-5/qcommandlineparser.html QCommandLineParser]. This is the class one would use to specify command line switches to, for example, open the program with a specific file. However, in this tutorial, we simply initialise it with the {{class|KAboutData}} object we created so we can use the <tt>--version</tt> or <tt>--author</tt> switches.

Assim criamos um objeto KApplication. Isso precisa ser feito uma vez em cada programa, já que é necessário para coisas como i18n.