KNewStuff
downloadwidget.cpp
Go to the documentation of this file.
225 q->connect(engine, SIGNAL(signalEntriesLoaded(KNS3::EntryInternal::List)), q, SLOT(slotEntriesLoaded(KNS3::EntryInternal::List)));
228 q->connect(engine, SIGNAL(signalEntryChanged(KNS3::EntryInternal)), q, SLOT(slotEntryChanged(KNS3::EntryInternal)));
231 q->connect(engine, SIGNAL(signalEntryPreviewLoaded(KNS3::EntryInternal,KNS3::EntryInternal::PreviewType)),
279 q->connect(ui.m_listView->verticalScrollBar(), SIGNAL(valueChanged(int)), q, SLOT(scrollbarValueChanged(int)));
280 q->connect(ui.m_listView, SIGNAL(doubleClicked(QModelIndex)), delegate, SLOT(slotDetailsClicked(QModelIndex)));
283 q->connect(delegate, SIGNAL(signalShowDetails(KNS3::EntryInternal)), q, SLOT(slotShowDetails(KNS3::EntryInternal)));
321 q->connect(ui.m_listView, SIGNAL(doubleClicked(QModelIndex)), delegate, SLOT(slotDetailsClicked(QModelIndex)));
322 q->connect(delegate, SIGNAL(signalShowDetails(KNS3::EntryInternal)), q, SLOT(slotShowDetails(KNS3::EntryInternal)));
342 void DownloadWidgetPrivate::displayMessage(const QString & msg, KTitleWidget::MessageType type, int timeOutMs)
~DownloadWidgetPrivate()
Definition: downloadwidget.cpp:98
QString i18n(const char *text)
void slotError(const QString &message)
Definition: downloadwidget.cpp:197
void slotEntriesLoaded(const KNS3::EntryInternal::List &entries)
Definition: downloadwidget.cpp:331
QString category() const
Retrieve the category of the data object.
Definition: entryinternal.cpp:154
void slotShowDetails(const KNS3::EntryInternal &entry)
Definition: downloadwidget.cpp:362
int timeout
void slotListViewListMode()
Definition: downloadwidget.cpp:288
void slotProvidersLoaded()
Definition: downloadwidget.cpp:325
static void information(QWidget *parent, const QString &text, const QString &caption=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
void setSearchTerm(const QString &searchString)
Definition: knewstuff3/core/engine.cpp:343
void slotPayloadLoaded(KUrl url)
Definition: downloadwidget.cpp:192
void slotListViewIconMode()
Definition: downloadwidget.cpp:295
KNS3::Entry::List changedEntries()
The list of entries with changed status (installed/uninstalled)
Definition: downloadwidget.cpp:68
void slotSearchTextChanged()
Definition: downloadwidget.cpp:144
KNS3::Entry::List installedEntries()
The list of entries that have been newly installed.
Definition: downloadwidget.cpp:77
const char * name(StandardAction id)
void displayMessage(const QString &msg, KTitleWidget::MessageType type, int timeOutMs=0)
Definition: downloadwidget.cpp:342
QSet< EntryInternal > changedEntries
Definition: downloadwidget_p.h:61
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void slotResetMessage()
Definition: downloadwidget.cpp:106
MessageType
Definition: knewstuff3/entry.h:61
DownloadWidget(QWidget *parent=0)
Create a download widget that lets the user install, update and uninstall contents.
Definition: downloadwidget.cpp:42
void slotEntryChanged(const KNS3::EntryInternal &entry)
Definition: knewstuff3/ui/itemsmodel.cpp:93
void setEntry(const KNS3::EntryInternal &entry)
Definition: entrydetailsdialog.cpp:67
KComponentData activeComponent()
CopyJob * link(const KUrl &src, const KUrl &destDir, JobFlags flags=DefaultFlags)
QString componentName() const
void setSortMode(Provider::SortMode mode)
Definition: knewstuff3/core/engine.cpp:334
Definition: knewstuff3/ui/itemsmodel.h:33
Definition: entrydetailsdialog.h:32
void scrollbarValueChanged(int value)
Definition: downloadwidget.cpp:202
ItemsViewBaseDelegate * delegate
Definition: downloadwidget_p.h:58
void slotCategoryChanged(int)
Definition: downloadwidget.cpp:153
void slotEntriesLoaded(KNS3::EntryInternal::List entries)
Definition: knewstuff3/ui/itemsmodel.cpp:55
void slotUpdateSearch()
Definition: downloadwidget.cpp:136
Definition: downloadwidget_p.h:44
void slotPayloadFailed(const EntryInternal &entry)
Definition: downloadwidget.cpp:186
bool init(const QString &configfile)
Initializes the engine.
Definition: knewstuff3/core/engine.cpp:96
void slotNetworkTimeout()
Definition: downloadwidget.cpp:111
void slotShowOverview()
Definition: downloadwidget.cpp:380
void slotInfo(QString provider, QString server, QString version)
Definition: downloadwidget.cpp:168
void init(const QString &configFile)
Definition: downloadwidget.cpp:209
void setCategoriesFilter(const QStringList &categories)
Set the categories that will be included in searches.
Definition: knewstuff3/core/engine.cpp:328
DownloadWidgetPrivate(DownloadWidget *q)
Definition: downloadwidget.cpp:89
void setListViewMode(QListView::ViewMode mode)
Definition: downloadwidget.cpp:302
static void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
void slotEntryChanged(const KNS3::EntryInternal &entry)
Definition: downloadwidget.cpp:180
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:48 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:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.