MythTV  0.28pre
Public Member Functions | Static Public Member Functions | List of all members
ChannelSetting Class Reference

#include <settings.h>

Inheritance diagram for ChannelSetting:
Inheritance graph
Collaboration diagram for ChannelSetting:
Collaboration graph

Public Member Functions

 ChannelSetting (Storage *_storage)
virtual void fillSelections (void)
- Public Member Functions inherited from SelectSetting
virtual int findSelection (const QString &label, QString value=QString::null) const
virtual void addSelection (const QString &label, QString value=QString::null, bool select=false)
virtual bool removeSelection (const QString &label, QString value=QString::null)
virtual void clearSelections (void)
virtual void fillSelectionsFromDir (const QDir &dir, bool absPath=true)
virtual uint size (void) const
virtual QString GetLabel (uint i) const
virtual QString GetValue (uint i) const
- Public Member Functions inherited from Setting
virtual QString getValue (void) const
virtual SettingbyName (const QString &name)
void SetDBValue (const QString &val)
QString GetDBValue (void) const
- Public Member Functions inherited from Configurable
virtual QWidget * configWidget (ConfigurationGroup *cg, QWidget *parent, const char *widgetName=NULL)
 Create and return a QWidget for configuring this entity Note: Any class calling this should call widgetInvalid() before configWidget() is called on the class again, and before the class is deleted; just before removing the instance from a layout or scheduling the delete of a parent container is a good time. More...
virtual void widgetInvalid (QObject *)
 Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid. More...
void setName (const QString &str)
QString getName (void) const
virtual void setLabel (QString str)
QString getLabel (void) const
void setLabelAboveWidget (bool l=true)
virtual void setHelpText (const QString &str)
QString getHelpText (void) const
void setVisible (bool b)
bool isVisible (void) const
virtual void setEnabled (bool b)
bool isEnabled ()
StorageGetStorage (void)
- Public Member Functions inherited from StorageUser
virtual ~StorageUser ()

Static Public Member Functions

static void fillSelections (SelectSetting *setting)

Additional Inherited Members

- Public Slots inherited from SelectSetting
virtual void setValue (const QString &newValue)
virtual void setValue (int which)
virtual QString getSelectionLabel (void) const
virtual int getValueIndex (QString value)
 Returns index of value in SelectSetting, or -1 if not found. More...
- Public Slots inherited from Setting
virtual void setValue (const QString &newValue)
- Public Slots inherited from Configurable
virtual void enableOnSet (const QString &val)
 This slot allows you to enable this configurable when a binary configurable is set to true. More...
virtual void enableOnUnset (const QString &val)
 This slot allows you to enable this configurable when a binary configurable is set to false. More...
virtual void widgetDeleted (QObject *obj)
 This slot calls the virtual widgetInvalid(QObject*) method. More...
- Signals inherited from SelectSetting
void selectionAdded (const QString &label, QString value)
void selectionRemoved (const QString &label, const QString &value)
void selectionsCleared (void)
- Signals inherited from Setting
void valueChanged (const QString &)
- Protected Types inherited from SelectSetting
typedef std::vector< QString > selectionList
- Protected Member Functions inherited from SelectSetting
 SelectSetting (Storage *_storage)
virtual bool ReplaceLabel (const QString &new_label, const QString &value)
- Protected Member Functions inherited from Setting
 Setting (Storage *_storage)
virtual ~Setting ()
- Protected Member Functions inherited from Configurable
 Configurable (Storage *_storage)
virtual ~Configurable ()
- Protected Attributes inherited from SelectSetting
selectionList labels
selectionList values
unsigned current
bool isSet
- Protected Attributes inherited from Setting
QString settingValue
- Protected Attributes inherited from Configurable
bool labelAboveWidget
bool enabled
QString configName
QString label
QString helptext
bool visible

Detailed Description

Definition at line 502 of file settings.h.

Constructor & Destructor Documentation

ChannelSetting::ChannelSetting ( Storage _storage)

Definition at line 506 of file settings.h.

Member Function Documentation

void ChannelSetting::fillSelections ( SelectSetting setting)

Definition at line 1142 of file settings.cpp.

virtual void ChannelSetting::fillSelections ( void  )

Definition at line 512 of file settings.h.

Referenced by fillSelections().

The documentation for this class was generated from the following files: