All translations

Enter a message name below to show all available translations.

Message

Found 2 translations.

NameCurrent message text
 h English (en)Later on, we start processing positional arguments, but only if there is one. Otherwise, we proceed as usual. In our case we can only open one file at a time, so only the first file is of interest to us. We call the <tt>openFile()</tt> function and feed it the URL of the file we want to open, whether it is a local file like {{path|$HOME/foo}} or a remote one like {{path|ftp.mydomain.com/bar}}. We use the overloaded form of <tt>[http://doc.qt.io/qt-5/qurl.html#fromUserInput-1 QUrl::fromUserInput()]</tt> in order to set the current path. This is needed in order to work with relative paths like <tt>"../baz"</tt>.
 h Brazilian Portuguese (pt-br)Posteriormente, começamos a processar argumentos posicionais, mas apenas se houver um. Caso contrário, prosseguiremos como de costume. No nosso caso, podemos abrir apenas um arquivo de cada vez, portanto, apenas o primeiro arquivo é do nosso interesse. Chamamos a função <tt>openFile()</tt> e alimentamos a URL do arquivo que queremos abrir, seja um arquivo local como {{path | $HOME/foo}} ou remoto como {{path|ftp.mydomain.com/bar}}. Usamos o formato de sobrecarga de <tt>[http://doc.qt.io/qt-5/qurl.html#fromUserInput-1 QUrl::fromUserInput()]</tt> para definir o caminho atual. Isso é necessário para trabalhar com caminhos relativos como <tt>"../baz"</tt>.