KDECore
kaboutdata.cpp
Go to the documentation of this file.
164KAboutLicense::Private::Private( enum KAboutData::LicenseKey licenseType, const KAboutData *aboutData )
179KAboutLicense::Private::Private( const KLocalizedString &licenseText, const KAboutData *aboutData )
196KAboutLicense::KAboutLicense( enum KAboutData::LicenseKey licenseType, const KAboutData *aboutData )
277 result += i18n("This program is distributed under the terms of the %1.", name(KAboutData::ShortName));
421 QByteArray _translatedProgramName; // ### I don't see it ever being translated, and I did not change that
849 if( !translatorEmail.isEmpty() && translatorEmail != QString::fromUtf8( EMAIL_OF_TRANSLATORS ) )
KAboutData & setProductName(const QByteArray &name)
Defines the product name which will be used in the KBugReport dialog.
Definition: kaboutdata.cpp:672
KAboutData & setProgramIconName(const QString &iconName)
Defines the program icon.
Definition: kaboutdata.cpp:721
QString ocsProviderUrl() const
Returns the chosen Open Collaboration Services provider URL.
Definition: kaboutdata.cpp:738
static QString aboutTranslationTeam()
Returns a message about the translation team.
Definition: kaboutdata.cpp:872
KAboutData & setOtherText(const KLocalizedString &otherText)
Defines the additional text to show in the about dialog.
Definition: kaboutdata.cpp:648
KAboutData & setCatalogName(const QByteArray &catalogName)
Defines the translation catalog that the program uses.
Definition: kaboutdata.cpp:618
KAboutData & setLicense(LicenseKey licenseKey)
Defines the license identifier.
Definition: kaboutdata.cpp:624
KAboutData & setLicenseTextFile(const QString &file)
Defines a license text by pointing to a file where it resides.
Definition: kaboutdata.cpp:569
QString customAuthorRichText() const
Returns the rich text displayed around the list of authors instead of the default message telling use...
Definition: kaboutdata.cpp:918
QList< KAboutPerson > credits() const
Returns a list of persons who contributed.
Definition: kaboutdata.cpp:804
void translateInternalProgramName() const
Definition: kaboutdata.cpp:709
KAboutData & addLicense(LicenseKey licenseKey)
Adds a license identifier.
Definition: kaboutdata.cpp:630
KAboutData & setOcsProvider(const QByteArray &providerUrl)
Specifies an Open Collaboration Services provider by URL.
Definition: kaboutdata.cpp:600
bool customAuthorTextEnabled() const
Returns whether custom text should be displayed around the list of authors.
Definition: kaboutdata.cpp:925
const char * internalProgramName() const
Definition: kaboutdata.cpp:700
KAboutData & setProgramLogo(const QVariant &image)
Defines the program logo.
Definition: kaboutdata.cpp:732
KAboutData & addCredit(const KLocalizedString &name, const KLocalizedString &task=KLocalizedString(), const QByteArray &emailAddress=QByteArray(), const QByteArray &webAddress=QByteArray())
Defines a person that deserves credit.
Definition: kaboutdata.cpp:524
QString customAuthorPlainText() const
Returns the plain text displayed around the list of authors instead of the default message telling us...
Definition: kaboutdata.cpp:911
QString shortDescription() const
Returns a short, translated description.
Definition: kaboutdata.cpp:758
KAboutData & setBugAddress(const QByteArray &bugAddress)
Defines the address where bug reports should be sent.
Definition: kaboutdata.cpp:660
QString productName() const
Returns the application's product name, which will be used in KBugReport dialog.
Definition: kaboutdata.cpp:683
KAboutData(const QByteArray &appName, const QByteArray &catalogName, const KLocalizedString &programName, const QByteArray &version, const KLocalizedString &shortDescription=KLocalizedString(), enum LicenseKey licenseType=License_Unknown, const KLocalizedString ©rightStatement=KLocalizedString(), const KLocalizedString &otherText=KLocalizedString(), const QByteArray &homePageAddress=QByteArray(), const QByteArray &bugsEmailAddress="submit@bugs.kde.org")
Constructor.
Definition: kaboutdata.cpp:427
QString organizationDomain() const
Returns the domain name of the organization that wrote this application.
Definition: kaboutdata.cpp:783
QList< KAboutPerson > translators() const
Returns a list of translators.
Definition: kaboutdata.cpp:811
QString licenseName(NameFormat formatName) const
Returns the license name.
Definition: kaboutdata.cpp:894
KAboutData & setVersion(const QByteArray &version)
Defines the program version string.
Definition: kaboutdata.cpp:606
QString catalogName() const
Returns the program's translation catalog name.
Definition: kaboutdata.cpp:765
KAboutData & addAuthor(const KLocalizedString &name, const KLocalizedString &task=KLocalizedString(), const QByteArray &emailAddress=QByteArray(), const QByteArray &webAddress=QByteArray())
Defines an author.
Definition: kaboutdata.cpp:505
KAboutData & setOrganizationDomain(const QByteArray &domain)
Defines the Internet domain of the organization that wrote this application.
Definition: kaboutdata.cpp:666
KAboutData & setShortDescription(const KLocalizedString &shortDescription)
Defines a short description of what the program does.
Definition: kaboutdata.cpp:612
KAboutData & unsetCustomAuthorText()
Clears any custom text displayed around the list of authors and falls back to the default message tel...
Definition: kaboutdata.cpp:941
KAboutData & setAppName(const QByteArray &appName)
Defines the program name used internally.
Definition: kaboutdata.cpp:587
KAboutData & setCustomAuthorText(const KLocalizedString &plainText, const KLocalizedString &richText)
Sets the custom text displayed around the list of authors instead of the default message telling user...
Definition: kaboutdata.cpp:930
KAboutData & addLicenseTextFile(const QString &file)
Adds a license text by pointing to a file where it resides.
Definition: kaboutdata.cpp:575
KAboutData & setCopyrightStatement(const KLocalizedString ©rightStatement)
Defines the copyright statement to show when displaying the license.
Definition: kaboutdata.cpp:642
KAboutData & setLicenseText(const KLocalizedString &license)
Defines a license text, which is marked for translation.
Definition: kaboutdata.cpp:551
KAboutData & setHomepage(const QByteArray &homepage)
Defines the program homepage.
Definition: kaboutdata.cpp:654
KAboutData & setProgramName(const KLocalizedString &programName)
Defines the displayable program name string.
Definition: kaboutdata.cpp:593
KAboutData & setTranslator(const KLocalizedString &name, const KLocalizedString &emailAddress)
Sets the name(s) of the translator(s) of the GUI.
Definition: kaboutdata.cpp:543
KAboutData & addLicenseText(const KLocalizedString &license)
Adds a license text, which is marked for translation.
Definition: kaboutdata.cpp:557
static KAboutLicense byKeyword(const QString &keyword)
Fetch a known license by a keyword.
Definition: kaboutdata.cpp:357
QString name(KAboutData::NameFormat formatName) const
Returns the license name.
Definition: kaboutdata.cpp:295
KAboutLicense & operator=(const KAboutLicense &other)
Assignment operator.
Definition: kaboutdata.cpp:346
This class is used to store information about a person or developer.
Definition: kaboutdata.h:69
QString ocsUsername() const
The person's Open Collaboration Services username.
Definition: kaboutdata.cpp:136
KAboutPerson(const KLocalizedString &name, const KLocalizedString &task=KLocalizedString(), const QByteArray &emailAddress=QByteArray(), const QByteArray &webAddress=QByteArray())
Convenience constructor.
Definition: kaboutdata.cpp:68
KAboutPerson & operator=(const KAboutPerson &other)
Assignment operator.
Definition: kaboutdata.cpp:141
KLocale provides support for country specific stuff like the national language.
Definition: klocale.h:70
void setActiveCatalog(const QString &catalog)
Sets the active catalog for translation lookup.
Definition: klocale.cpp:146
Class for producing and handling localized messages.
Definition: klocalizedstring.h:300
QString toString() const
Finalizes the translation, creates QString with placeholders substituted.
Definition: klocalizedstring.cpp:192
static QString locate(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
This function is just for convenience.
Definition: kstandarddirs.cpp:2091
Definition: ksycocafactory.h:28
Definition: kaboutdata.h:33
KLocalizedString ki18nc(const char *ctxt, const char *msg)
Creates localized string from a given message, with added context.
Definition: klocalizedstring.cpp:929
QString i18n(const char *text)
Returns a localized version of a string.
Definition: klocalizedstring.h:630
QString i18nc(const char *ctxt, const char *text)
Returns a localized version of a string and a context.
Definition: klocalizedstring.h:797
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.