MythTV  0.26-pre
Public Member Functions | Protected Attributes
ChannelID Class Reference

#include <channelsettings.h>

Inheritance diagram for ChannelID:
IntegerSetting TransientStorage Setting Storage Configurable StorageUser

List of all members.

Public Member Functions

 ChannelID (QString _field="chanid", QString _table="channel")
QWidget * configWidget (ConfigurationGroup *cg, QWidget *widget, const char *widgetName=0)
 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.
void Load ()
void Save (QString table)
void Save (void)
int findHighest (int floor=1000)
const QString & getField (void) const

Protected Attributes

QString field
QString table

Detailed Description

Definition at line 20 of file channelsettings.h.


Constructor & Destructor Documentation

ChannelID::ChannelID ( QString  _field = "chanid",
QString  _table = "channel" 
) [inline]

Definition at line 23 of file channelsettings.h.


Member Function Documentation

QWidget* ChannelID::configWidget ( ConfigurationGroup cg,
QWidget *  parent,
const char *  widgetName = 0 
) [inline, virtual]

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.

Some UI classes depend on this for properly updating the UI.

Reimplemented from Configurable.

Definition at line 29 of file channelsettings.h.

void ChannelID::Load ( void  ) [inline, virtual]

Reimplemented from TransientStorage.

Definition at line 35 of file channelsettings.h.

void ChannelID::Save ( QString  table) [inline, virtual]

Reimplemented from Storage.

Definition at line 36 of file channelsettings.h.

void ChannelID::Save ( void  ) [inline, virtual]

Reimplemented from TransientStorage.

Definition at line 67 of file channelsettings.h.

int ChannelID::findHighest ( int  floor = 1000) [inline]

Definition at line 72 of file channelsettings.h.

Referenced by Save().

const QString& ChannelID::getField ( void  ) const [inline]

Definition at line 95 of file channelsettings.h.


Member Data Documentation

QString ChannelID::field [protected]

Definition at line 97 of file channelsettings.h.

Referenced by findHighest(), getField(), and Save().

QString ChannelID::table [protected]

Definition at line 97 of file channelsettings.h.

Referenced by findHighest(), and Save().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends