KDEUI
kassistantdialog.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
00019
00020 #ifndef KASSISTANTDIALOG_H
00021 #define KASSISTANTDIALOG_H
00022
00023 #include <kpagedialog.h>
00024
00052 class KDEUI_EXPORT KAssistantDialog : public KPageDialog
00053 {
00054 Q_OBJECT
00055 public:
00062 explicit KAssistantDialog(QWidget *parent=0, Qt::WFlags flags=0);
00063 virtual ~KAssistantDialog();
00064
00074 void setValid(KPageWidgetItem* page, bool enable);
00075
00081 bool isValid(KPageWidgetItem *page) const;
00082
00097 void setAppropriate(KPageWidgetItem *page, bool appropriate);
00098
00104 bool isAppropriate(KPageWidgetItem *page) const;
00105
00106
00107 public Q_SLOTS:
00114 virtual void back();
00115
00122 virtual void next();
00123
00124 protected:
00134 explicit KAssistantDialog(KPageWidget *widget, QWidget *parent=0, Qt::WFlags flags=0);
00135
00136 virtual void showEvent(QShowEvent * event);
00137
00138 private:
00139 class Private;
00140 Private * const d;
00141
00142 Q_PRIVATE_SLOT( d, void _k_slotCurrentPageChanged() )
00143
00144 Q_DISABLE_COPY( KAssistantDialog )
00145 };
00146
00147
00148 #endif