|
MythTV
0.26-pre
|
#include <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 (void) |
| int | findHighest (int floor=1000) |
| const QString & | getField (void) const |
Protected Attributes | |
| QString | field |
| QString | table |
Definition at line 20 of file channelsettings.h.
| ChannelID::ChannelID | ( | QString | _field = "chanid", |
| QString | _table = "channel" |
||
| ) | [inline] |
Definition at line 23 of file channelsettings.h.
| 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.
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().
1.7.6.1