kopete/kopete
avdeviceconfig.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef AVDEVICECONFIG_H
00019 #define AVDEVICECONFIG_H
00020
00021 #define KDE3_SUPPORT
00022 #include <kcmodule.h>
00023 #undef KDE3_SUPPORT
00024 #include <qimage.h>
00025 #include <qpixmap.h>
00026 #include <qtimer.h>
00027 #include <config-kopete.h>
00028
00029 #include "avdevice/videodevicepool.h"
00030 #include "ui_avdeviceconfig_videodevice.h"
00031
00032
00033
00034
00035
00036 class QTabWidget;
00037
00038
00039
00040
00044 class AVDeviceConfig : public KCModule
00045 {
00046 Q_OBJECT
00047 public:
00048 AVDeviceConfig(QWidget *parent, const QVariantList &args);
00049
00050 ~AVDeviceConfig();
00051 virtual void save();
00052 virtual void load();
00053
00054 private slots:
00055 void slotSettingsChanged(bool);
00056 void slotValueChanged(int);
00057 void slotDeviceKComboBoxChanged(int);
00058 void slotInputKComboBoxChanged(int);
00059 void slotStandardKComboBoxChanged(int);
00060 void slotBrightnessSliderChanged(int);
00061 void slotContrastSliderChanged(int);
00062 void slotSaturationSliderChanged(int);
00063 void slotWhitenessSliderChanged(int);
00064 void slotHueSliderChanged(int);
00065 void slotImageAutoBrightnessContrastChanged(bool);
00066 void slotImageAutoColorCorrectionChanged(bool);
00067 void slotImageAsMirrorChanged(bool);
00068 void slotUpdateImage();
00069 void deviceRegistered( const QString & );
00070 void deviceUnregistered( const QString & );
00071 private:
00072
00073 Ui_AVDeviceConfig_VideoDevice *mPrfsVideoDevice;
00074
00075 Kopete::AV::VideoDevicePool *mVideoDevicePool ;
00076 QImage qimage;
00077 QPixmap qpixmap;
00078 QTimer qtimer;
00079 void setVideoInputParameters();
00080 #ifdef HAVE_GL
00081
00082 #endif
00083 };
00084
00085 #endif