ChannelID Class Reference

#include <channelsettings.h>

Inheritance diagram for ChannelID:

IntegerSetting TransientStorage Setting Storage Configurable

List of all members.


Detailed Description

Definition at line 15 of file channelsettings.h.


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 ()
int findHighest (int floor=1000)
const QString & getField (void) const

Protected Attributes

QString field
QString table

Constructor & Destructor Documentation

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

Definition at line 18 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 24 of file channelsettings.h.

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

Reimplemented from TransientStorage.

Definition at line 30 of file channelsettings.h.

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

Reimplemented from Storage.

Definition at line 31 of file channelsettings.h.

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

Reimplemented from TransientStorage.

Definition at line 59 of file channelsettings.h.

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

Definition at line 64 of file channelsettings.h.

Referenced by save().

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

Definition at line 87 of file channelsettings.h.


Member Data Documentation

QString ChannelID::field [protected]

Definition at line 89 of file channelsettings.h.

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

QString ChannelID::table [protected]

Definition at line 89 of file channelsettings.h.

Referenced by findHighest(), and save().


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

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5