diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kopete/kopete/config/avdevice/avdeviceconfig.h | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
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/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/kopete/config/avdevice/avdeviceconfig.h')
-rw-r--r-- | kopete/kopete/config/avdevice/avdeviceconfig.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/kopete/kopete/config/avdevice/avdeviceconfig.h b/kopete/kopete/config/avdevice/avdeviceconfig.h new file mode 100644 index 00000000..d732b1a7 --- /dev/null +++ b/kopete/kopete/config/avdevice/avdeviceconfig.h @@ -0,0 +1,79 @@ +/* + avdeviceconfig.h - Kopete Video Device Configuration Panel + + Copyright (c) 2005-2006 by Cláudio da Silveira Pinheiro <taupter@gmail.com> + + Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> + + ************************************************************************* + * * + * 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 AVDEVICECONFIG_H +#define AVDEVICECONFIG_H + +#include "kcmodule.h" +#include "videodevicepool.h" +#include <qimage.h> +#include <qpixmap.h> +#include <qtimer.h> + +#ifdef HAVE_GL +# include <qgl.h> +#endif + +class QFrame; +class QTabWidget; + +class AVDeviceConfig_VideoDevice; +class AVDeviceConfig_AudioDevice; + +/** +@author Cl�dio da Silveira Pinheiro +*/ +class AVDeviceConfig : public KCModule +{ +Q_OBJECT +public: + AVDeviceConfig(QWidget *parent, const char * name , const QStringList &args); + + ~AVDeviceConfig(); + virtual void save(); + virtual void load(); + +private slots: + void slotSettingsChanged(bool); + void slotValueChanged(int); + void slotDeviceKComboBoxChanged(int); + void slotInputKComboBoxChanged(int); + void slotStandardKComboBoxChanged(int); + void slotBrightnessSliderChanged(int); + void slotContrastSliderChanged(int); + void slotSaturationSliderChanged(int); + void slotWhitenessSliderChanged(int); + void slotHueSliderChanged(int); + void slotImageAutoBrightnessContrastChanged(bool); + void slotImageAutoColorCorrectionChanged(bool); + void slotImageAsMirrorChanged(bool); + void slotUpdateImage(); +private: + QTabWidget* mAVDeviceTabCtl; + AVDeviceConfig_VideoDevice *mPrfsVideoDevice; + AVDeviceConfig_AudioDevice *mPrfsAudioDevice; + Kopete::AV::VideoDevicePool *mVideoDevicePool ; + QImage qimage; + QPixmap qpixmap; + QTimer qtimer; + void setVideoInputParameters(); +#ifdef HAVE_GL + QGLWidget m_video_gl; +#endif +}; + +#endif |