KDE3Support
k3aboutapplication.cpp
Go to the documentation of this file.
36 K3AboutApplication::K3AboutApplication( const KAboutData *aboutData, QWidget *parent, bool modal )
96 K3AboutContainer *authorPage = addScrolledContainerPage( authorPageTitle, Qt::AlignLeft, Qt::AlignLeft );
107 text = i18n( "Please use <a href=\"http://bugs.kde.org\">http://bugs.kde.org</a> to report bugs.\n" );
109 if( aboutData->authors().count() == 1 && ( aboutData->authors().first().emailAddress() == aboutData->bugAddress() ) )
111 text = i18n( "Please report bugs to <a href=\"mailto:%1\">%2</a>.\n" , aboutData->authors().first().emailAddress() , aboutData->authors().first().emailAddress() );
114 text = i18n( "Please report bugs to <a href=\"mailto:%1\">%2</a>.\n" , aboutData->bugAddress(), aboutData->bugAddress() );
bool canConvert(Type t) const
K3AboutContainer can be used to make a application specific AboutDialog.
Definition: k3aboutdialog.h:46
QString caption()
QString i18n(const char *text)
void setProduct(const QString &appName, const QString &version, const QString &author, const QString &year)
(Constructor II only) Prints the application name, KDE version, author, a copyright sign and a year s...
Definition: k3aboutdialog.cpp:1199
QString homepage() const
void setModal(bool modal)
QFrame * addTextPage(const QString &title, const QString &text, bool richText=false, int numLines=10)
(Constructor II only) Adds a text page to a tab box.
Definition: k3aboutdialog.cpp:1118
QString license() const
QList< KAboutPerson > authors() const
void setOpenExternalLinks(bool open)
const T & at(int i) const
QString otherText() const
T value() const
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
const KAboutData * aboutData() const
int size() const
QString bugAddress() const
K3AboutApplication(const KAboutData *aboutData=0, QWidget *parent=0, bool modal=true)
Constructor.
Definition: k3aboutapplication.cpp:36
bool customAuthorTextEnabled() const
int count(const T &value) const
QList< KAboutPerson > credits() const
QFrame * addLicensePage(const QString &title, const QString &text, int numLines=10)
(Constructor II only) Adds a license page to a tab box.
Definition: k3aboutdialog.cpp:1125
bool isEmpty() const
QList< KAboutPerson > translators() const
K3AboutContainer * addScrolledContainerPage(const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter)
(Constructor II only) Adds a container inside a QScrollView to a tab box.
Definition: k3aboutdialog.cpp:1140
void setText(const QString &)
void setProgramLogo(const QString &fileName)
Overloaded version of setProgramLogo(const QPixmap& pixmap).
Definition: k3aboutdialog.cpp:1175
QVariant programLogo() const
iterator end()
K3AboutContainer * addContainerPage(const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter)
(Constructor II only) Adds a container to a tab box.
Definition: k3aboutdialog.cpp:1132
QString programName() const
void setTextInteractionFlags(QFlags< Qt::TextInteractionFlag > flags)
static QString aboutTranslationTeam()
QString copyrightStatement() const
const KComponentData & mainComponent()
QString version() const
QString customAuthorRichText() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QString shortDescription() const
iterator begin()
void addPerson(const QString &name, const QString &email, const QString &url, const QString &task, bool showHeader=false, bool showframe=false, bool showBold=false)
Definition: k3aboutdialog.cpp:838
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.