KNewStuff
knewstuff2/ui/downloaddialog.cpp
Go to the documentation of this file.
64 connect(m_engine, SIGNAL(signalPayloadFailed(KNS::Entry*)), SLOT(slotPayloadFailed(KNS::Entry*)));
142 QAction * action_comment = collabMenu->addAction(SmallIcon("help-about"), i18n("View Comments"));
157 connect(m_collaborationButton, SIGNAL(triggered(QAction*)), this, SLOT(slotCollabAction(QAction*)));
195 KToolInvocation::invokeMailer(entry->author().email(), i18n("Re: %1", entry->name().representation()));
259 void DownloadDialog::slotListIndexChanged(const QModelIndex &index, const QModelIndex &/*old */)
273 void DownloadDialog::displayMessage(const QString & msg, KTitleWidget::MessageType type, int timeOutMs)
350 Feed * selectedFeed = providers[i]->downloadUrlFeed(m_sortCombo->itemData(m_sortCombo->currentIndex()).toString());
353 // providers[i]->downloadUrlFeed(m_sortCombo->itemData(m_sortCombo->currentIndex()).toString()));
void saveDialogSize(KConfigGroup &config, KConfigGroup::WriteConfigFlags options=KConfigGroup::Normal) const
KNS::Entry * entryForIndex(const QModelIndex &index) const
Definition: knewstuff2/ui/itemsmodel.cpp:108
ErrorMessage
int timeout
static void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
static void information(QWidget *parent, const QString &text, const QString &caption=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
QString i18nc(const char *ctxt, const char *text)
void setMainWidget(QWidget *widget)
Persistent
KUrl webService() const
Retrieves the URL to the DXS Web Service.
Definition: knewstuff2/core/provider.cpp:114
KComponentData activeComponent()
@ kCollabTranslate
Definition: knewstuff2/ui/downloaddialog.h:82
void displayMessage(const QString &msg, KTitleWidget::MessageType type=KTitleWidget::PlainMessage, int timeOutMs=0)
Definition: knewstuff2/ui/downloaddialog.cpp:273
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
virtual void hideEvent(QHideEvent *event)
Definition: knewstuff2/ui/downloaddialog.cpp:266
MessageType
CopyJob * link(const KUrl &src, const KUrl &destDir, JobFlags flags=DefaultFlags)
void restoreDialogSize(const KConfigGroup &config)
QString representation() const
Returns the string which matches most closely the current language.
Definition: ktranslatable.cpp:64
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
virtual void hideEvent(QHideEvent *)
KTranslatable name() const
Retrieve the name of the data object.
Definition: knewstuff2/core/entry.cpp:81
KSharedConfigPtr config()
DownloadDialog(DxsEngine *engine, QWidget *parent)
Definition: knewstuff2/ui/downloaddialog.cpp:56
QString i18n(const char *text)
group
QString pathOrUrl() const
Definition: knewstuff2/ui/itemsmodel.h:34
~DownloadDialog()
Definition: knewstuff2/ui/downloaddialog.cpp:160
const char * name(StandardAction id)
Definition: knewstuff2/core/author.h:27
virtual void setCaption(const QString &caption)
KTranslatable name() const
Retrieves the common name of the provider.
Definition: knewstuff2/core/provider.cpp:64
QPixmap SmallIcon(const QString &name, int force_size, int state, const QStringList &overlays)
@ kCollabSubscribe
Definition: knewstuff2/ui/downloaddialog.h:84
void setButtons(ButtonCodes buttonMask)
Feed * downloadUrlFeed(const QString &feedtype) const
Feed to retrieve for the given feed type.
Definition: knewstuff2/core/provider.cpp:50
QPixmap DesktopIcon(const QString &name, int force_size, int state, const QStringList &overlays)
static void invokeMailer(const KUrl &mailtoURL, const QByteArray &startup_id=QByteArray(), bool allowAttachments=false)
void installItem(Entry *entry)
Definition: knewstuff2/ui/downloaddialog.cpp:288
void removeItem(Entry *entry)
Definition: knewstuff2/ui/downloaddialog.cpp:301
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.