KNewStuff
knewstuff2/ui/uploaddialog.cpp
Go to the documentation of this file.
QString i18n(const char *text)
void sync()
void setEmail(const QString &email)
Sets the email address of the author.
Definition: knewstuff2/core/author.cpp:63
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:41
QVariant property(UserProperty which) const
void addString(const QString &lang, const QString &string)
Adds a string to the contents of this object.
Definition: ktranslatable.cpp:59
const char * name(StandardAction id)
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
QString languageCodeToName(const QString &language) const
QString i18nc(const char *ctxt, const char *text)
KSharedConfigPtr config()
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 QString &name)
Sets the full name of the author.
Definition: knewstuff2/core/author.cpp:53
void setAuthor(const Author &author)
Sets the author of the object.
Definition: knewstuff2/core/entry.cpp:96
KComponentData activeComponent()
void setVersion(const QString &version)
Sets the version number.
Definition: knewstuff2/core/entry.cpp:126
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)
KLocale * locale()
QStringList languageList() const
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
unsigned int version()
void setPreviewFile(const KUrl &previewFile)
Sets the preview filename.
Definition: knewstuff2/ui/uploaddialog.cpp:138
void setPayloadFile(const KUrl &payloadFile)
Sets the payload filename.
Definition: knewstuff2/ui/uploaddialog.cpp:143
void setLicense(const QString &license)
Sets the license (abbreviation) applicable to the object.
Definition: knewstuff2/core/entry.cpp:106
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
T readEntry(const QString &key, const T &aDefault) const
static void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
void setPreview(const KTranslatable &url)
Sets the object's preview file, if available.
Definition: knewstuff2/core/entry.cpp:166
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.