relicense to gplv2+
[kdeaccessibility.git] / kmouth / configwizard.h
blobc34037c6f9c2ca95c6e78b9bd311f0cf4babd123
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 ***************************************************************************/
18 #ifndef CONFIGWIZARD_H
19 #define CONFIGWIZARD_H
21 #include <QtGui/QWidget>
23 #include <k3wizard.h>
25 class KConfig;
26 class TextToSpeechConfigurationWidget;
27 class InitialPhraseBookWidget;
28 class CompletionWizardWidget;
30 /**The class ConfigWizard is used when the user starts KMouth for the first
31 * time. It asks the user to provide a first set of configuration data.
32 *@author Gunnar Schmi Dt
35 class ConfigWizard : public K3Wizard {
36 Q_OBJECT
37 public:
38 ConfigWizard (QWidget *parent, const char *name, KConfig *config);
39 ~ConfigWizard();
41 bool configurationNeeded ();
42 bool requestConfiguration ();
43 void saveConfig (KConfig *config);
45 protected:
46 void help();
48 private:
49 void initCommandPage (KConfig *config);
50 void initBookPage();
51 void initCompletion (KConfig *config);
53 TextToSpeechConfigurationWidget *commandWidget;
54 InitialPhraseBookWidget *bookWidget;
55 CompletionWizardWidget *completionWidget;
58 #endif