Translations:Development/Tutorials/First program/60/fr: Difference between revisions
ChristianW (talk | contribs) (Created page with "<nowiki> KAboutData aboutData( // The program name used internally. (componentName) QStringLiteral("tutorial1"),...") |
ChristianW (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<nowiki> | <nowiki> | ||
KAboutData aboutData( | KAboutData aboutData( | ||
// | // Nom du programme utilisé en interne. (componentName) | ||
QStringLiteral("tutorial1"), | QStringLiteral("tutorial1"), | ||
// | // Nom du programme en tant que chaîne affichable. (displayName) | ||
i18n("Tutorial 1"), | i18n("Tutorial 1"), | ||
// | // Chaîne de caractères représentant la version du programme. (version) | ||
QStringLiteral("1.0"), | QStringLiteral("1.0"), | ||
// | // Courte description de ce que fait l'application. (shortDescription) | ||
i18n("Displays a KMessageBox popup"), | i18n("Displays a KMessageBox popup"), | ||
// | // Licence sous laquelle ce code est diffusé | ||
KAboutLicense::GPL, | KAboutLicense::GPL, | ||
// | // Déclaration de droits d'auteur (copyrightStatement = QString()) | ||
i18n("(c) 2015"), | i18n("(c) 2015"), | ||
// | // Texte facultatif affiché dans la boîte 'A propos'. | ||
// | // Peut contenir toute information utile. (otherText) | ||
i18n("Some text..."), | i18n("Some text..."), | ||
// | // Chaîne de caractères représentant la page d'accueil du programme. (homePageAddress = QString()) | ||
QStringLiteral("http://example.com/"), | QStringLiteral("http://example.com/"), | ||
// | // L'adresse courriel où envoyer les rapports de bogue | ||
// (bugsEmailAddress = QLatin1String("[email protected]") | // (bugsEmailAddress = QLatin1String("[email protected]") | ||
QStringLiteral("[email protected]")); | QStringLiteral("[email protected]")); | ||
Line 24: | Line 24: | ||
QStringLiteral("http://your.website.com"), QStringLiteral("OSC Username")); | QStringLiteral("http://your.website.com"), QStringLiteral("OSC Username")); | ||
KAboutData::setApplicationData(aboutData); | KAboutData::setApplicationData(aboutData); | ||
</nowiki> | </nowiki><!--) to solve misbalanced bracket--> |
Latest revision as of 09:01, 17 May 2019
KAboutData aboutData( // Nom du programme utilisé en interne. (componentName) QStringLiteral("tutorial1"), // Nom du programme en tant que chaîne affichable. (displayName) i18n("Tutorial 1"), // Chaîne de caractères représentant la version du programme. (version) QStringLiteral("1.0"), // Courte description de ce que fait l'application. (shortDescription) i18n("Displays a KMessageBox popup"), // Licence sous laquelle ce code est diffusé KAboutLicense::GPL, // Déclaration de droits d'auteur (copyrightStatement = QString()) i18n("(c) 2015"), // Texte facultatif affiché dans la boîte 'A propos'. // Peut contenir toute information utile. (otherText) i18n("Some text..."), // Chaîne de caractères représentant la page d'accueil du programme. (homePageAddress = QString()) QStringLiteral("http://example.com/"), // L'adresse courriel où envoyer les rapports de bogue // (bugsEmailAddress = QLatin1String("[email protected]") QStringLiteral("[email protected]")); aboutData.addAuthor(i18n("Name"), i18n("Task"), QStringLiteral("[email protected]"), QStringLiteral("http://your.website.com"), QStringLiteral("OSC Username")); KAboutData::setApplicationData(aboutData);