Jump to content

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

From KDE TechBase
Aracele (talk | contribs)
Created page with "Então chegamos a {{class|KCmdLineArgs}}. Essa é a classe que se usaria para especificar uma linha de comando para, por exemplo, abrir o programa com um arquivo específico. ..."
(No difference)

Revision as of 23:14, 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)
The first KDE Framework specific object we create in this program is {{class|KAboutData}}. This is the class used to store information about the program such as a short description, authors or license information. Pretty much every KDE application should use this class. We then call {{class|KAboutData}}::setApplicationData() to initialize the properties of the [http://doc.qt.io/qt-5/qapplication.html QApplication] object.

Então chegamos a KCmdLineArgs. Essa é a classe que se usaria para especificar uma linha de comando para, por exemplo, abrir o programa com um arquivo específico. No entanto, nesse tutorial, nós simplesmente iniciamos com o objeto KAboutData que nós criamos então podemos usar --version ou --author.