1 /***************************************************************************
2 configwizard.h - description
4 begin : Mit Nov 20 2002
5 copyright : (C) 2002 by Gunnar Schmi Dt
6 email : kmouth@schmi-dt.de
7 ***************************************************************************/
9 /***************************************************************************
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. *
16 ***************************************************************************/
18 #ifndef CONFIGWIZARD_H
19 #define CONFIGWIZARD_H
21 #include <QtGui/QWidget>
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
{
38 ConfigWizard (QWidget
*parent
, const char *name
, KConfig
*config
);
41 bool configurationNeeded ();
42 bool requestConfiguration ();
43 void saveConfig (KConfig
*config
);
49 void initCommandPage (KConfig
*config
);
51 void initCompletion (KConfig
*config
);
53 TextToSpeechConfigurationWidget
*commandWidget
;
54 InitialPhraseBookWidget
*bookWidget
;
55 CompletionWizardWidget
*completionWidget
;