Jump to content

Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 01/22/fi: Difference between revisions

From KDE TechBase
Centerlink (talk | contribs)
Created page with "'''<tt>app</tt>''' on tämän ohjelman [http://doc.qt.nokia.com/latest/qapplication.html Qt::Application]-ilmentymä. Se luodaan tässä. Välitämme '''<tt>ARGV</tt>''' kohteel..."
 
(No difference)

Latest revision as of 18:51, 22 August 2011

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/Qt4 Ruby Tutorial/Chapter 01)
'''<tt>app</tt>''' is this program's [http://doc.qt.nokia.com/latest/qapplication.html Qt::Application] instance. It is created here. 
We pass '''<tt>ARGV</tt>''' to the [http://doc.qt.nokia.com/latest/qapplication.html Qt::Application] constructor
so that it can process certain standard command-line arguments (such as '''<tt>-display</tt>''' under X11). 
All command-line arguments recognized by Qt are removed from '''<tt>ARGV</tt>'''.

app on tämän ohjelman Qt::Application-ilmentymä. Se luodaan tässä. Välitämme ARGV kohteelle Qt::Application-konstruktori, jotta se voi käsitellä tiettyjä vakiokomentoriviargumentteja (sellaisia kuin -display X11:n alla). Kaikki Qt:n tunnistamat komentoriviargumentit poistetaan kohteesta ARGV.