KNewStuff
providerdialog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KNEWSTUFF2_UI_PROVIDERDIALOG_H
00019 #define KNEWSTUFF2_UI_PROVIDERDIALOG_H
00020
00021 #include <knewstuff2/knewstuff_export.h>
00022
00023 #include <kdialog.h>
00024
00025 class QTreeWidget;
00026
00027 namespace KNS
00028 {
00029
00030 class Provider;
00031
00032
00046 class ProviderDialog : public KDialog
00047 {
00048 Q_OBJECT
00049 public:
00055 ProviderDialog(QWidget *parent);
00056
00060 void clear();
00061
00065 void addProvider(Provider *);
00066
00067 Provider *provider() const;
00068
00069 protected Q_SLOTS:
00070 void slotOk();
00071
00072 private:
00073
00074
00075 QTreeWidget *mListWidget;
00076 Provider *m_provider;
00077 };
00078
00079 }
00080
00081 #endif