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)));
342void DownloadWidgetPrivate::displayMessage(const QString & msg, KTitleWidget::MessageType type, int timeOutMs)
QString componentName() const
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)
Definition: downloadwidget_p.h:45
void slotEntryChanged(const KNS3::EntryInternal &entry)
Definition: downloadwidget.cpp:180
void slotResetMessage()
Definition: downloadwidget.cpp:106
void slotError(const QString &message)
Definition: downloadwidget.cpp:197
void slotListViewListMode()
Definition: downloadwidget.cpp:288
void displayMessage(const QString &msg, KTitleWidget::MessageType type, int timeOutMs=0)
Definition: downloadwidget.cpp:342
void scrollbarValueChanged(int value)
Definition: downloadwidget.cpp:202
DownloadWidgetPrivate(DownloadWidget *q)
Definition: downloadwidget.cpp:89
~DownloadWidgetPrivate()
Definition: downloadwidget.cpp:98
void slotPayloadLoaded(KUrl url)
Definition: downloadwidget.cpp:192
void slotSearchTextChanged()
Definition: downloadwidget.cpp:144
void setListViewMode(QListView::ViewMode mode)
Definition: downloadwidget.cpp:302
void slotListViewIconMode()
Definition: downloadwidget.cpp:295
void slotShowDetails(const KNS3::EntryInternal &entry)
Definition: downloadwidget.cpp:362
ItemsViewBaseDelegate * delegate
Definition: downloadwidget_p.h:58
void slotNetworkTimeout()
Definition: downloadwidget.cpp:111
void init(const QString &configFile)
Definition: downloadwidget.cpp:209
void slotEntriesLoaded(const KNS3::EntryInternal::List &entries)
Definition: downloadwidget.cpp:331
void slotCategoryChanged(int)
Definition: downloadwidget.cpp:153
void slotShowOverview()
Definition: downloadwidget.cpp:380
void slotInfo(QString provider, QString server, QString version)
Definition: downloadwidget.cpp:168
QSet< EntryInternal > changedEntries
Definition: downloadwidget_p.h:61
void slotUpdateSearch()
Definition: downloadwidget.cpp:136
void slotProvidersLoaded()
Definition: downloadwidget.cpp:325
void slotPayloadFailed(const EntryInternal &entry)
Definition: downloadwidget.cpp:186
KNS3::Entry::List changedEntries()
The list of entries with changed status (installed/uninstalled)
Definition: downloadwidget.cpp:68
KNS3::Entry::List installedEntries()
The list of entries that have been newly installed.
Definition: downloadwidget.cpp:77
DownloadWidget(QWidget *parent=0)
Create a download widget that lets the user install, update and uninstall contents.
Definition: downloadwidget.cpp:42
void setCategoriesFilter(const QStringList &categories)
Set the categories that will be included in searches.
Definition: knewstuff3/core/engine.cpp:328
void setSearchTerm(const QString &searchString)
Definition: knewstuff3/core/engine.cpp:343
bool init(const QString &configfile)
Initializes the engine.
Definition: knewstuff3/core/engine.cpp:96
void setSortMode(Provider::SortMode mode)
Definition: knewstuff3/core/engine.cpp:334
Definition: entrydetailsdialog.h:33
void setEntry(const KNS3::EntryInternal &entry)
Definition: entrydetailsdialog.cpp:67
Definition: knewstuff3/ui/itemsmodel.h:34
void slotEntryChanged(const KNS3::EntryInternal &entry)
Definition: knewstuff3/ui/itemsmodel.cpp:93
void slotEntriesLoaded(KNS3::EntryInternal::List entries)
Definition: knewstuff3/ui/itemsmodel.cpp:55
MessageType
ErrorMessage
#define kDebug
int timeout
QString i18n(const char *text)
KComponentData activeComponent()
CopyJob * link(const KUrl &src, const KUrl &destDir, JobFlags flags=DefaultFlags)
void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
Definition: atticaprovider.cpp:36
const char * name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.