• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

  • knewstuff
  • knewstuff3
downloadwidget.h
Go to the documentation of this file.
1/*
2 knewstuff3/ui/downloaddialog.h.
3 Copyright (C) 2005 by Enrico Ros <eros.kde@email.it>
4 Copyright (C) 2005 - 2007 Josef Spillner <spillner@kde.org>
5 Copyright (C) 2007 Dirk Mueller <mueller@kde.org>
6 Copyright (C) 2007-2009 Jeremy Whiting <jpwhiting@kde.org>
7 Copyright (C) 2009-2010 Frederik Gladhorn <gladhorn@kde.org>
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public
20 License along with this library. If not, see <http://www.gnu.org/licenses/>.
21*/
22
23#ifndef KNEWSTUFF3_UI_DOWNLOADWIDGET_H
24#define KNEWSTUFF3_UI_DOWNLOADWIDGET_H
25
26#include <QtGui/QWidget>
27
28#include "knewstuff_export.h"
29#include "entry.h"
30
31namespace KNS3
32{
33class DownloadWidgetPrivate;
34
72class KNEWSTUFF_EXPORT DownloadWidget :public QWidget
73{
74 Q_OBJECT
75
76public:
84 explicit DownloadWidget(QWidget * parent = 0);
85
94 explicit DownloadWidget(const QString& configFile, QWidget * parent = 0);
95
99 ~DownloadWidget();
100
105 KNS3::Entry::List changedEntries();
106
111 KNS3::Entry::List installedEntries();
112
113private:
114 void init(const QString& configFile);
115
116 DownloadWidgetPrivate *const d;
117 Q_DISABLE_COPY(DownloadWidget)
118
119 Q_PRIVATE_SLOT( d, void slotListViewListMode() )
120 Q_PRIVATE_SLOT( d, void slotListViewIconMode() )
121
122 Q_PRIVATE_SLOT( d, void slotProvidersLoaded() )
123 Q_PRIVATE_SLOT( d, void slotEntriesLoaded(const KNS3::EntryInternal::List& entries) )
124 Q_PRIVATE_SLOT( d, void slotEntryChanged(const KNS3::EntryInternal& entry) )
125 Q_PRIVATE_SLOT( d, void slotShowDetails(const KNS3::EntryInternal& entry) )
126 Q_PRIVATE_SLOT( d, void slotShowOverview() )
127
128 Q_PRIVATE_SLOT( d, void slotPayloadFailed(const EntryInternal& entry) )
129 Q_PRIVATE_SLOT( d, void slotPayloadLoaded(KUrl url) )
130
131 Q_PRIVATE_SLOT( d, void slotResetMessage() )
132 Q_PRIVATE_SLOT( d, void slotNetworkTimeout() )
133 Q_PRIVATE_SLOT( d, void sortingChanged() )
134 Q_PRIVATE_SLOT( d, void slotSearchTextChanged() )
135 Q_PRIVATE_SLOT( d, void slotUpdateSearch() )
136 Q_PRIVATE_SLOT( d, void slotCategoryChanged(int) )
137
138 Q_PRIVATE_SLOT( d, void slotInfo(QString provider, QString server, QString version) )
139 Q_PRIVATE_SLOT( d, void slotError(const QString& message) )
140 Q_PRIVATE_SLOT( d, void scrollbarValueChanged(int value) )
141
142 friend class DownloadDialog;
143};
144
145}
146
147#endif
KNS3::DownloadDialog
KNewStuff download dialog.
Definition: knewstuff3/downloaddialog.h:73
KNS3::DownloadWidgetPrivate
Definition: downloadwidget_p.h:45
KNS3::DownloadWidget
KNewStuff download widget.
Definition: downloadwidget.h:73
KNS3::EntryInternal
KNewStuff data entry container.
Definition: entryinternal.h:55
KUrl
QList
QWidget
entry.h
knewstuff_export.h
message
void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
KNS3
Definition: atticaprovider.cpp:36
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

KDE's Doxygen guidelines are available online.

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal