A few new icons...
[kdeaccessibility.git] / kmouth / configwizard.h
blob8ddcb609ad1c54a6b388ab555b35d7224ddedabf
1 /***************************************************************************
2 configwizard.h - description
3 -------------------
4 begin : Mit Nov 20 2002
5 copyright : (C) 2002 by Gunnar Schmi Dt
6 email : kmouth@schmi-dt.de
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
19 #ifndef CONFIGWIZARD_H
20 #define CONFIGWIZARD_H
22 #include <qwidget.h>
24 #include <kwizard.h>
26 class KConfig;
27 class TextToSpeechConfigurationWidget;
28 class InitialPhraseBookWidget;
29 class CompletionWizardWidget;
31 /**The class ConfigWizard is used when the user starts KMouth for the first
32 * time. It asks the user to provide a first set of configuration data.
33 *@author Gunnar Schmi Dt
36 class ConfigWizard : public KWizard {
37 Q_OBJECT
38 public:
39 ConfigWizard (QWidget *parent, const char *name, KConfig *config);
40 ~ConfigWizard();
42 bool configurationNeeded ();
43 bool requestConfiguration ();
44 void saveConfig (KConfig *config);
46 protected:
47 void help();
49 private:
50 void initCommandPage (KConfig *config);
51 void initBookPage();
52 void initCompletion (KConfig *config);
54 TextToSpeechConfigurationWidget *commandWidget;
55 InitialPhraseBookWidget *bookWidget;
56 CompletionWizardWidget *completionWidget;
59 #endif