From 00bb99ac80741fc50ef8a289719373032f2391eb Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksayit/src/fxsetupimpl.h | 90 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 ksayit/src/fxsetupimpl.h (limited to 'ksayit/src/fxsetupimpl.h') diff --git a/ksayit/src/fxsetupimpl.h b/ksayit/src/fxsetupimpl.h new file mode 100644 index 0000000..403631d --- /dev/null +++ b/ksayit/src/fxsetupimpl.h @@ -0,0 +1,90 @@ +/*************************************************************************** + fxsetupimpl.h - description + ------------------- + begin : Mo Nov 24 2003 + copyright : (C) 2003 by voglrobe + email : voglrobe@saphir + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef FXSETUPIMPL_H +#define FXSETUPIMPL_H + +// QT includes +#include +#include + + +// KDE includes +#include + +// App specific includes +#include "fx_setup.h" + +// forward declaration +class FXPluginHandler; + +/** + *@author voglrobe + */ +class FX_SetupImpl : public FX_Setup { + Q_OBJECT + +public: + FX_SetupImpl(QWidget *parent=0, const char *name=0, + KConfig *config=0, + FXPluginHandler *fxpluginhandler=0); + ~FX_SetupImpl(); + +public slots: + /** Adds an effect to the list of active effects. + */ + void slotAdd(); + + /** Removes an effect from the list of active effects. + */ + void slotRemove(); + + /** Removes all effects from the list of active effects. + */ + void slotRemoveAll(); + + /** Recovers last saved state. + */ + void slotReload(); + + /** Called by a double click on an effect in the list of active effects. + Opens a modal dialog to configure the efffect. + \param item The double clicked item. + */ + void slotConfigureEffect(QListBoxItem *item); + + /** Saves the configuration + */ + void slotSaveWasClicked(); + +private: // Methods + /** Loads the configuration and initializes the widget. + \param c_avail List of available plugins. + */ + void Init(QStringList c_avail); + +private: + KConfig *m_config; + FXPluginHandler *m_fxpluginhandler; + QStringList pluginlist; + +}; + + + +#endif + -- cgit v1.2.1