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()));
498 m_sortCombo->addItem(feedName, feeds[i]); // put in the name for the text, and feeds[i] for the userData
void invalidate()
void setInterval(int msec)
QString i18n(const char *text)
void clear()
~DownloadDialog()
Definition: knewstuff2/ui/downloaddialog.cpp:160
void displayMessage(const QString &msg, KTitleWidget::MessageType type=KTitleWidget::PlainMessage, int timeOutMs=0)
Definition: knewstuff2/ui/downloaddialog.cpp:273
void setFilterCaseSensitivity(Qt::CaseSensitivity cs)
void setupUi(QWidget *widget)
KTranslatable name() const
Retrieves the common name of the provider.
Definition: knewstuff2/core/provider.cpp:64
Definition: knewstuff2/ui/itemsmodel.h:33
void setCursor(const QCursor &)
QPixmap DesktopIcon(const QString &name, int force_size, int state, const QStringList &overlays)
virtual void setSourceModel(QAbstractItemModel *sourceModel)
int timeout
QVariant data() const
void rejected()
static void information(QWidget *parent, const QString &text, const QString &caption=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
QString email() const
Retrieve the author's email address.
Definition: knewstuff2/core/author.cpp:68
void unlock()
static void invokeMailer(const QString &address, const QString &subject, const QByteArray &startup_id=QByteArray())
const QPixmap * icon() const
void clear()
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
KTranslatable name() const
Retrieve the name of the data object.
Definition: knewstuff2/core/entry.cpp:81
MessageType
QString i18nc(const char *ctxt, const char *text)
int size() const
KSharedConfigPtr config()
virtual void hideEvent(QHideEvent *event)
Definition: knewstuff2/ui/downloaddialog.cpp:266
void setMinimumSize(const QSize &)
const char * name() const
bool isValid() const
void setFilterRole(int role)
void append(const T &value)
Feed * downloadUrlFeed(const QString &feedtype) const
Feed to retrieve for the given feed type.
Definition: knewstuff2/core/provider.cpp:50
int toInt(bool *ok) const
virtual void hideEvent(QHideEvent *event)
DownloadDialog(DxsEngine *engine, QWidget *parent)
Definition: knewstuff2/ui/downloaddialog.cpp:56
bool isEmpty() const
QString pathOrUrl() const
KComponentData activeComponent()
CopyJob * link(const KUrl &src, const KUrl &destDir, JobFlags flags=DefaultFlags)
QString representation() const
Returns the string which matches most closely the current language.
Definition: ktranslatable.cpp:64
virtual void accept()
void setData(const QVariant &userData)
iterator end()
void lock()
void installItem(Entry *entry)
Definition: knewstuff2/ui/downloaddialog.cpp:288
void stop()
QAbstractItemModel * sourceModel() const
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const
bool isValid() const
KNS::Entry * entryForIndex(const QModelIndex &index) const
Definition: knewstuff2/ui/itemsmodel.cpp:108
char * toString(const T &value)
void removeItem(Entry *entry)
Definition: knewstuff2/ui/downloaddialog.cpp:301
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
void setCaption(const QString &c)
QPixmap SmallIcon(const QString &name, int force_size, int state, const QStringList &overlays)
void setFilterFixedString(const QString &pattern)
void start(int msec)
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
KUrl webService() const
Retrieves the URL to the DXS Web Service.
Definition: knewstuff2/core/provider.cpp:114
const_iterator constEnd() const
const_iterator constBegin() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
iterator begin()
static void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
void setSingleShot(bool singleShot)
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.