KNewStuff
knewstuff2/ui/uploaddialog.cpp
Go to the documentation of this file.
QString i18n(const char *text)
void sync()
void setupUi(QWidget *widget)
virtual void reject()
void setModal(bool modal)
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
const T & at(int i) const
void addString(const QString &lang, const QString &string)
Adds a string to the contents of this object.
Definition: ktranslatable.cpp:59
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()
bool isNull() const
void setSummary(const KTranslatable &summary)
Sets a short description on what the object is all about.
Definition: knewstuff2/core/entry.cpp:116
const char * name() const
int count(const T &value) const
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
bool isEmpty() const
KComponentData activeComponent()
void setVersion(const QString &version)
Sets the version number.
Definition: knewstuff2/core/entry.cpp:126
virtual void accept()
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
bool isValid() const
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
unsigned int version()
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
void setPreviewFile(const KUrl &previewFile)
Sets the preview filename.
Definition: knewstuff2/ui/uploaddialog.cpp:138
void setCaption(const QString &c)
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
iterator insert(const Key &key, const T &value)
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString toString() 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
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 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:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.