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
00054 class KDEUI_EXPORT KAssistantDialog : public KPageDialog
00055 {
00056 Q_OBJECT
00057 public:
00064 explicit KAssistantDialog(QWidget *parent=0, Qt::WFlags flags=0);
00065 virtual ~KAssistantDialog();
00066
00076 void setValid(KPageWidgetItem* page, bool enable);
00077
00083 bool isValid(KPageWidgetItem *page) const;
00084
00099 void setAppropriate(KPageWidgetItem *page, bool appropriate);
00100
00106 bool isAppropriate(KPageWidgetItem *page) const;
00107
00108
00109 public Q_SLOTS:
00116 virtual void back();
00117
00124 virtual void next();
00125
00126 protected:
00136 explicit KAssistantDialog(KPageWidget *widget, QWidget *parent=0, Qt::WFlags flags=0);
00137
00138 virtual void showEvent(QShowEvent * event);
00139
00140 private:
00141 class Private;
00142 Private * const d;
00143
00144 Q_PRIVATE_SLOT( d, void _k_slotCurrentPageChanged() )
00145
00146 Q_DISABLE_COPY( KAssistantDialog )
00147 };
00148
00149
00150 #endif