KNewStuff
downloaddialog.h
Go to the documentation of this file.
00001 /* 00002 knewstuff3/ui/downloaddialog.h. 00003 Copyright (C) 2005 by Enrico Ros <eros.kde@email.it> 00004 Copyright (C) 2005 - 2007 Josef Spillner <spillner@kde.org> 00005 Copyright (C) 2007 Dirk Mueller <mueller@kde.org> 00006 Copyright (C) 2007-2009 Jeremy Whiting <jpwhiting@kde.org> 00007 Copyright (C) 2009-2010 Frederik Gladhorn <gladhorn@kde.org> 00008 00009 This library is free software; you can redistribute it and/or 00010 modify it under the terms of the GNU Lesser General Public 00011 License as published by the Free Software Foundation; either 00012 version 2.1 of the License, or (at your option) any later version. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public 00020 License along with this library. If not, see <http://www.gnu.org/licenses/>. 00021 */ 00022 00023 #ifndef KNEWSTUFF3_UI_DOWNLOADDIALOG_H 00024 #define KNEWSTUFF3_UI_DOWNLOADDIALOG_H 00025 00026 #include <kdialog.h> 00027 00028 #include "knewstuff_export.h" 00029 #include "entry.h" 00030 00031 namespace KNS3 00032 { 00033 class DownloadDialogPrivate; 00034 00072 class KNEWSTUFF_EXPORT DownloadDialog :public KDialog 00073 { 00074 Q_OBJECT 00075 00076 public: 00084 explicit DownloadDialog(QWidget * parent = 0); 00085 00094 explicit DownloadDialog(const QString& configFile, QWidget * parent = 0); 00095 00099 ~DownloadDialog(); 00100 00105 KNS3::Entry::List changedEntries(); 00106 00111 KNS3::Entry::List installedEntries(); 00112 00113 private: 00114 void init(const QString& configFile); 00115 00116 DownloadDialogPrivate *const d; 00117 Q_DISABLE_COPY(DownloadDialog) 00118 }; 00119 00120 } 00121 00122 #endif
KDE 4.6 API Reference