Minor fix
[kdeaccessibility.git] / ksayit / src / voicesetupdlg.h
blobf07530300aa5644630e73b324ec2ae8f658ebada
1 /***************************************************************************
2 voicesetupdlg.h - description
3 -------------------
4 begin : Son Nov 2 2003
5 copyright : (C) 2003 by Robert Vogl
6 email : voglrobe@saphir
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 VOICESETUPDLG_H
19 #define VOICESETUPDLG_H
21 // QT includes
22 #include <q3frame.h>
24 // KDE includes
25 #include <kdialogbase.h>
26 #include <kconfig.h>
28 // forward declaration
29 class FXPluginHandler;
30 class KTTSDLib;
31 /**
32 *@author Robert Vogl
34 class VoiceSetupDlg : public KDialogBase {
35 Q_OBJECT;
37 public:
38 VoiceSetupDlg(QWidget *parent=0, const char *name=0, const QString &caption=NULL,
39 bool modal=true,
40 KConfig *config=0,
41 FXPluginHandler *fxpluginhandler=0,
42 KTTSDLib *kttslib=0);
44 ~VoiceSetupDlg();
46 signals:
47 /** Emitted when OK was cliecked;
49 void signalOKWasClicked();
51 /** Signals to remove all effects from the active list.
53 void signalRemoveAllFX();
55 /** Signals to relaod the last saved state.
57 void signalReloadFX();
59 private: // Methods
60 /** Initializes the configuration page to setup the properties of
61 * of the TTS system.
63 void initVoicePage();
65 /** Initializes the configuration page to setup the effects.
67 void initFXPage();
69 private slots:
70 /** Called when the Page changes.
72 void slotPageChanged(QWidget *page);
74 /** Reimplementation from base class.
76 void slotCancel();
78 /** Reimplementation from base class.
80 void slotOk();
82 private:
83 KConfig *m_config;
84 FXPluginHandler *m_fxpluginhandler;
85 KTTSDLib *m_kttslib;
86 QFrame *m_fxPage;
90 #endif