24 #include <tqintdict.h>
25 #include <tqvaluestack.h>
27 #include <tdelibs_export.h>
37 class TDEPRINT_EXPORT KMWizard :
public TQDialog
63 KMWizard(TQWidget *parent = 0,
const char *name = 0);
66 void configure(
int start,
int end,
bool inclusive =
true);
67 void setCurrentPage(
int ID,
bool back =
false);
68 void setPrinter(KMPrinter*);
69 KMPrinter* printer() {
return m_printer; }
70 void addPage(KMWizardPage*);
71 KMWBackend* backendPage() {
return m_backend; }
72 void setNextPage(
int page,
int next);
84 TQIntDict<KMWizardPage> m_pagepool;
85 TQValueStack<int> m_pagestack;
87 TQWidgetStack *m_stack;
89 TQPushButton *m_next, *m_prev;
95 KMWBackend *m_backend;