#include <qtvision.h>
Inheritance diagram for QtVision::
Public Slots | |
bool | tryAutoStart () |
virtual void | selectDevice () |
void | setDevice (QVSourcePlugin *dev) |
virtual void | setSource (const QString &src) |
virtual void | stopDevice () |
void | setChannel (Channel *channel) |
void | setChannel (int channel) |
virtual void | channelDown () |
virtual void | channelUp () |
virtual void | previousChannel () |
virtual void | volumeMute () |
virtual void | volumeUp () |
virtual void | volumeDown () |
virtual void | setVolume (int left, int right) |
virtual void | setVolume (int vol) |
virtual void | start () |
virtual void | stop () |
virtual void | startCapture () |
virtual void | snapshot () |
virtual void | startVideo () |
virtual void | stopVideo () |
virtual void | settings () |
virtual int | launchWizard () |
void | setTunerMode (int mode) |
virtual void | setBrightness (int val) |
virtual void | setColour (int val) |
virtual void | setHue (int val) |
virtual void | setContrast (int val) |
virtual void | setWhiteness (int val) |
virtual void | setVideoDesktop (bool on) |
virtual bool | doMigration () |
virtual void | importDefaultChannels () |
virtual bool | importLegacyChannels () |
virtual void | openChannelFile () |
virtual void | importChannelFile () |
virtual void | openChannelFile (const QString &filename) |
virtual void | processNumberKeyEvent (int) |
Signals | |
void | volumeChanged (int left, int right) |
void | volumeMuted (bool) |
void | channelChanged (int num) |
void | channelChanged (const QString &name) |
void | channelChanged (Channel *channel) |
void | deviceChanged (QVSourcePlugin *dev) |
void | channelText (const QString &) |
Public Methods | |
QtVision (QObject *parent=0, const char *name=0) | |
~QtVision () | |
QtVisionView * | screen () |
DCOPRef | channelStoreIface () |
DCOPRef | channelIface () |
QString | channelName () const |
int | channelNumber () const |
bool | hasDevice () const |
QVSourcePlugin * | device () const |
ViewManager * | views () const |
AudioManager * | audioManager () const |
OSDManager * | osdManager () const |
MiscManager * | miscManager () const |
StatusManager * | statusManager () const |
PluginFactory * | pluginFactory () const |
ChannelStore * | channels () |
ConfigData * | config () const |
KConfig * | configHandle () const |
virtual QtVisionView * | createScreen (QWidget *parent=0, const char *name=0) |
int | brightness () |
int | colour () |
int | hue () |
int | contrast () |
int | whiteness () |
QColor | colourKey () |
Channel * | channel () |
Protected Methods | |
void | timerEvent (QTimerEvent *ev) |
|
Returns the current screen widget.
|
|
Returns a DCOP reference to the ChannelStore.
Reimplemented from QtVisionIface. |
|
Returns a DCOP reference to the current Channel.
Reimplemented from QtVisionIface. |
|
Returns the name of the current Channel.
Reimplemented from QtVisionIface. |
|
Returns the number of the current Channel.
Reimplemented from QtVisionIface. |
|
Returns true iff we have a video device.
|
|
Returns the current video device (or 0).
|
|
Returns the manager controlling the views.
|
|
Returns the audio manager.
|
|
Returns the OSD manager.
|
|
Returns the miscellaneous plugin manager.
|
|
Returns the status plugin manager.
|
|
Returns the plugin factory.
|
|
Returns current ChannelStore.
|
|
Returns the current configuration.
|
|
Returns the KConfig objectg for this instance.
|
|
Factory method for creating the screen the picture will be displayed on. This widget returned will depend on the facilities supported by the TV card and X server (eg. there will be special screen widgets for Xv support). Note that this widget is automatically made the screen for this QtVision object. |
|
To get various values.
|
|
Try to start using the previous device. Returns true iff it succeeds. |
|
Ask the user to select a device.
Reimplemented from QtVisionIface. |
|
Set the current video device.
|
|
Sets the source to use.
Reimplemented from QtVisionIface. |
|
Stop the current device and dispose of it.
|
|
Sets the current current channel.
|
|
Overloaded version of the above method.
|
|
Changes the channel to the one preceding the current, wrapping round if we are currently showing the first channel.
Reimplemented from QtVisionIface. |
|
Changes the channel to the one following the current, wrapping round if we are currently showing the last channel.
Reimplemented from QtVisionIface. |
|
Recalls the previous channel.
Reimplemented from QtVisionIface. |
|
Mutes and unmutes the sound.
Reimplemented from QtVisionIface. |
|
Increases the volume.
Reimplemented from QtVisionIface. |
|
Decreases the volume.
Reimplemented from QtVisionIface. |
|
Sets the volume.
Reimplemented from QtVisionIface. |
|
Sets the volume.
Reimplemented from QtVisionIface. |
|
Starts capture.
Reimplemented from QtVisionIface. |
|
Stops capture.
Reimplemented from QtVisionIface. |
|
Starts video stream, leaving the audio alone.
Reimplemented from QtVisionIface. |
|
Stops video stream, leaving the audio alone.
Reimplemented from QtVisionIface. |
|
Launches the settings dialog.
Reimplemented from QtVisionIface. |
|
Launches the channel wizard and returns the dialog return value.
Reimplemented from QtVisionIface. |
|
Sets the tuner mode (PAL, NTSC etc.).
|
|
Set various attributes on the current device.
|
|
Set video desktop on or off.
Reimplemented from QtVisionIface. |
|
Do migration from kwintv to qtvision.
|
|
Shows the dialog to allow the user to import default channel lists.
Reimplemented from QtVisionIface. |
|
Imports the old KWinTV channels if they exist.
|
|
Open a file dialog to allow the user to choose a new channel file.
Reimplemented from QtVisionIface. |
|
Open a file dialog to allow the user to add the channels from a file to the channel list.
|
|
Open the provided filename and read in the channels.
Reimplemented from QtVisionIface. |
|
Process the press of a number key (0-9) from keyboard, or lirc.
|
|
Emitted when the volume changes.
|
|
Emitted whenever the volume is mutted.
|
|
Emitted when the current channel changes.
|
|
Emitted when the current channel changes.
|
|
Emitted when the current channel changes.
|
|
Emitted when the video device changes.
|
|
Emitted when the channel text changes during setting channel with numeric keys.
|