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