class KAboutData |
|
|
Constructor.
appName - The program name used internally. Example: "kedit" catalogName - The translation catalog name; if null or empty, the appName will be used. You may want the catalog name to differ from program name, for example, when you want to group translations of several smaller utilities under the same catalog. programName - A displayable program name string. This string should be marked for translation. Example: ki18n("KEdit") version - The program version string. shortDescription - A short description of what the program does. This string should be marked for translation. Example: ki18n("A simple text editor.") licenseType - The license identifier. Use setLicenseText if you use a license not predefined here. copyrightStatement - A copyright statement, that can look like this: ki18n("(c) 1999-2000, Name"). The string specified here is taken verbatim; the author information from addAuthor is not used. text - Some free form text, that can contain any kind of information. The text can contain newlines. This string should be marked for translation. homePageAddress - The program homepage string. Start the address with "http://". "http://some.domain" is is correct, "some.domain" is not. IMPORTANT: if you set a home page address, this will change the "organization domain" of the application, which is used for automatic DBUS registration. See also setOrganizationDomain bugsEmailAddress - The bug report email address string. This defaults to the kde.org bug system. |
|
Copy constructor. Performs a deep copy.
other - object to copy |
|
Returns a message about the translation team. Returns a message about the translation team |
|
Defines an author.
You can call this function as many times as you need. Each entry is appended to a list. The person in the first entry is assumed to be the leader of the project. name - The developer's name. It should be marked for translation like this: ki18n("Developer Name") task - What the person is responsible for. This text can contain newlines. It should be marked for translation like this: ki18n("Task description..."). Can be left empty. emailAddress - An Email address where the person can be reached. Can be left empty. webAddress - The person's homepage or a relevant link. Start the address with "http://". "http://some.domain" is correct, "some.domain" is not. Can be left empty. |
|
Defines a person that deserves credit.
You can call this function as many times as you need. Each entry is appended to a list. name - The person's name. It should be marked for translation like this: ki18n("Contributor Name") task - What the person has done to deserve the honor. The text can contain newlines. It should be marked for translation like this: ki18n("Task description...") Can be left empty. emailAddress - An email address when the person can be reached. Can be left empty. webAddress - The person's homepage or a relevant link. Start the address with "http://". "http://some.domain" is is correct, "some.domain" is not. Can be left empty. |
|
Returns the application's internal name. Returns the internal program name. |
|
Returns a list of authors. Returns author information (list of persons). |
|
Returns the email address for bugs. Returns the email address where to report bugs. |
|
Returns the program's translation catalog name. Returns the catalog name. |
|
Returns the copyright statement. Returns the copyright statement. Can be QString() if not set. |
|
Returns a list of persons who contributed. Returns credit information (list of persons). |
|
Returns the plain text displayed around the list of authors instead
of the default message telling users to send bug reports to bugAddress().
Returns the plain text displayed around the list of authors instead of the default message. Can be QString(). |
|
Returns the rich text displayed around the list of authors instead
of the default message telling users to send bug reports to bugAddress().
Returns the rich text displayed around the list of authors instead of the default message. Can be QString(). |
|
Returns whether custom text should be displayed around the list of
authors.
Returns whether custom text should be displayed around the list of authors. |
|
Returns the application homepage. Returns the application homepage URL. Can be QString() if not set. |
|
Internal Provided for use by KCrash |
|
Internal Provided for use by KCrash |
|
Internal Provided for use by KCrash |
|
Returns the license. If the licenseType argument of the constructor has been
used, any text defined by setLicenseText is ignored,
and the standard text for the chosen license will be returned.
Returns The license text. |
|
Returns the license name.
Returns The license name as a string. |
|
Returns the domain name of the organization that wrote this application.
Used by the automatic registration to DBus done by KApplication and KUniqueApplication. |
|
Returns a translated, free form text. Returns the free form text (translated). Can be QString() if not set. |
|
Returns the application's product name, which will be used in KBugReport
dialog. By default it returns appName(), otherwise the one which is set
with setProductName()
Returns the product name. |
|
Returns the program logo image.
Because KAboutData is in kdecore it cannot use QImage directly, so this is a QVariant containing a QImage. Returns the program logo data, or a null image if there is no custom application logo defined. |
|
Returns the translated program name. Returns the program name (translated). |
|
Defines the program name used internally.
appName - The application name. Example: "kate". |
|
Defines the address where bug reports should be sent.
bugAddress - The bug report email address string. This defaults to the kde.org bug system. |
|
Defines the translation catalog that the program uses.
catalogName - The translation catalog name. |
|
Defines the copyright statement to show when displaying the license.
copyrightStatement - A copyright statement, that can look like this: ki18n("(c) 1999-2000, Name"). The string specified here is taken verbatim; the author information from addAuthor is not used. |
|
Sets the custom text displayed around the list of authors instead
of the default message telling users to send bug reports to bugAddress().
plainText - The plain text. richText - The rich text. Setting both to parameters to KLocalizedString() will cause no message to be displayed at all. Call unsetCustomAuthorText() to revert to the default message. |
|
Defines the program homepage.
homepage - The program homepage string. Start the address with "http://". "http://kate.kde.org" is correct but "kate.kde.org" is not. |
|
Defines the license identifier.
licenseKey - The license identifier. |
|
Defines a license text, which is marked for translation.
Example: setLicenseText( ki18n("This is my license") ); license - The license text. |
|
Defines a license text by pointing to a file where it resides.
file - File containing the license text. |
|
Defines the Internet domain of the organization that wrote this application.
The domain is set to kde.org by default, or the domain of the homePageAddress constructor argument,
if set.
Make sure to call setOrganizationDomain if your product is developed out of the kde.org version-control system. Used by the automatic registration to DBus done by KApplication and KUniqueApplication. IMPORTANT: if the organization domain is set, the .desktop file that describes your application should have an entry like X-DBUS-ServiceName=reversed_domain.kmyapp For instance kwrite passes "http://www.kate-editor.org" as the homePageAddress so it needs X-DBUS-ServiceName=org.kate-editor.kwrite in its kwrite.desktop file. domain - the domain name, for instance kde.org, koffice.org, kdevelop.org, etc. |
|
Defines the additional text to show in the about dialog.
otherText - Some free form text, that can contain any kind of information. The text can contain newlines. This string should be marked for translation. |
|
Defines the product name which will be used in the KBugReport dialog.
By default it's the appName, but you can overwrite it here to provide
support for special components e.g. in the form 'product/component',
such as 'kontact/summary'.
name - The name of product |
|
Defines the program logo.
Use this if you need to have an application logo in AboutData other than the application icon. Because KAboutData is in kdecore it cannot use QImage directly, so this is a QVariant that should contain a QImage. image - logo image. See also programLogo() |
|
Defines the displayable program name string.
programName - The program name. This string should be marked for translation. Example: ki18n("Advanced Text Editor"). |
|
Defines a short description of what the program does.
shortDescription - The program description. This string should be marked for translation. Example: ki18n("An advanced text editor with syntax highlighting support."). |
|
Sets the name(s) of the translator(s) of the GUI.
Since this depends on the language, just use a dummy text marked for translation. The canonical use is:
setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")); The translator can then translate this dummy text with his name or with a list of names separated with ",". If there is no translation or the application is used with the default language, this function call is ignored. name - the name(s) of the translator(s) emailAddress - the email address(es) of the translator(s) See also KAboutTranslator |
|
Defines the program version string.
version - The program version. |
|
Returns a short, translated description. Returns the short description (translated). Can be QString() if not set. |
|
Internal Provided for use by KCrash |
|
Returns a list of translators. Returns translators information (list of persons) |
|
Clears any custom text displayed around the list of authors and falls back to the default message telling users to send bug reports to bugAddress(). |
|
Returns the program's version. Returns the version string. |
Descibes the license of the software.
License_Custom | - -2 | - | ||
License_File | - -1 | - | ||
License_Unknown | - 0 | - | ||
License_GPL | - 1 | - | ||
License_GPL_V2 | - 1 | - | ||
License_LGPL | - 2 | - | ||
License_LGPL_V2 | - 2 | - | ||
License_BSD | - 3 | - | ||
License_Artistic | - 4 | - | ||
License_QPL | - 5 | - | ||
License_QPL_V1_0 | - 5 | - |
Format of the license name.
ShortName | - | - | ||
FullName | - | - |