fix i18nc typo in last commit
[kdeaccessibility.git] / ksayit / src / fxsetupimpl.h
blob3ed8876affd582b29e64cbfbeda4520ee78f4f30
1 /***************************************************************************
2 fxsetupimpl.h - description
3 -------------------
4 begin : Mo Nov 24 2003
5 copyright : (C) 2003 by voglrobe
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 FXSETUPIMPL_H
19 #define FXSETUPIMPL_H
21 // QT includes
22 #include <QtGui/QWidget>
23 #include <Qt3Support/Q3ListBox>
25 // KDE includes
26 #include <kconfig.h>
28 // App specific includes
29 #include "fx_setup.h"
31 // forward declaration
32 class FXPluginHandler;
34 /**
35 *@author voglrobe
37 class FX_SetupImpl : public FX_Setup {
38 Q_OBJECT
40 public:
41 FX_SetupImpl(QWidget *parent=0, const char *name=0,
42 KConfig *config=0,
43 FXPluginHandler *fxpluginhandler=0);
44 ~FX_SetupImpl();
46 public slots:
47 /** Adds an effect to the list of active effects.
49 void slotAdd();
51 /** Removes an effect from the list of active effects.
53 void slotRemove();
55 /** Removes all effects from the list of active effects.
57 void slotRemoveAll();
59 /** Recovers last saved state.
61 void slotReload();
63 /** Called by a double click on an effect in the list of active effects.
64 Opens a modal dialog to configure the efffect.
65 \param item The double clicked item.
67 void slotConfigureEffect(Q3ListBoxItem *item);
69 /** Saves the configuration
71 void slotSaveWasClicked();
73 private: // Methods
74 /** Loads the configuration and initializes the widget.
75 \param c_avail List of available plugins.
77 void Init(QStringList c_avail);
79 private:
80 KConfig *m_config;
81 FXPluginHandler *m_fxpluginhandler;
82 QStringList pluginlist;
88 #endif