00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CONFIGUREWIZARD_H
00019 #define CONFIGUREWIZARD_H
00020
00021 #include <kdialogbase.h>
00022
00023 #include <klistview.h>
00024 #include <kprocess.h>
00025
00030 class ConfigureWizard : public KDialogBase {
00031 Q_OBJECT
00032 public:
00033 ConfigureWizard(QWidget *parent=0, const char *name=0, const QString filePath = QString::null);
00034 ~ConfigureWizard();
00036 QString getArguments();
00037 private:
00039 void initGUI();
00041 void initHELP(const QString &filePath);
00043 void addItem();
00045 void configWrite();
00047 void configRead();
00049 KListView *mainOptions;
00051 QString streamLine;
00053 KShellProcess q;
00054 private slots:
00056 void slotOutputMessages(KProcess*,char *buffer,int buflen);
00058 void slotItemModify(QListViewItem *);
00059 protected slots:
00061 void slotOk();
00062 };
00063
00064 #endif