KNewStuff
knewstuff2/ui/uploaddialog.cpp
Go to the documentation of this file.
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
QString readEntry(const char *key, const char *aDefault=0) const
void setMainWidget(QWidget *widget)
void setButtons(ButtonCodes buttonMask)
Cancel
void okClicked()
void setDefaultButton(ButtonCode id)
virtual void setCaption(const QString &caption)
QString languageCodeToName(const QString &language) const
QStringList languageList() const
static void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
static int questionYesNo(QWidget *parent, const QString &text, const QString &caption=QString(), const KGuiItem &buttonYes=KStandardGuiItem::yes(), const KGuiItem &buttonNo=KStandardGuiItem::no(), const QString &dontAskAgainName=QString(), Options options=Notify)
void setName(const QString &name)
Sets the full name of the author.
Definition: knewstuff2/core/author.cpp:53
void setEmail(const QString &email)
Sets the email address of the author.
Definition: knewstuff2/core/author.cpp:63
void setLicense(const QString &license)
Sets the license (abbreviation) applicable to the object.
Definition: knewstuff2/core/entry.cpp:106
void setVersion(const QString &version)
Sets the version number.
Definition: knewstuff2/core/entry.cpp:126
void setAuthor(const Author &author)
Sets the author of the object.
Definition: knewstuff2/core/entry.cpp:96
void setPreview(const KTranslatable &url)
Sets the object's preview file, if available.
Definition: knewstuff2/core/entry.cpp:166
void setSummary(const KTranslatable &summary)
Sets a short description on what the object is all about.
Definition: knewstuff2/core/entry.cpp:116
void setName(const KTranslatable &name)
Sets the name for this data object.
Definition: knewstuff2/core/entry.cpp:76
String class with multiple localized representations.
Definition: ktranslatable.h:42
void addString(const QString &lang, const QString &string)
Adds a string to the contents of this object.
Definition: ktranslatable.cpp:59
void setPayloadFile(const KUrl &payloadFile)
Sets the payload filename.
Definition: knewstuff2/ui/uploaddialog.cpp:143
void setPreviewFile(const KUrl &previewFile)
Sets the preview filename.
Definition: knewstuff2/ui/uploaddialog.cpp:138
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
QVariant property(UserProperty which) const
FullName
QString i18n(const char *text)
QString i18nc(const char *ctxt, const char *text)
KLocale * locale()
KSharedConfigPtr config()
KComponentData activeComponent()
Definition: knewstuff2/core/author.h:27
const char * name(StandardAction id)
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.