LineEditSetting Class Reference

#include <settings.h>

Inheritance diagram for LineEditSetting:

Setting Configurable Callsign Channum Command Country DataDirectPassword DataDirectUserID DBOX2Host DBOX2HttpPort DBOX2Port DeviceDescrSetting DVBAudioDevice DVBVbiDevice Extensions ExternalChannelCommand Freqid Frequency Gamename Genre GlobalLineEdit HDHomeRunDeviceID HostLineEdit Icon InputDisplayName IPTVHost LNBLOFHighSetting LNBLOFLowSetting LNBLOFSwitchSetting MythGamePlayerSettings::Name Name OutputFilters PresetTuner ProfileGroup::Name Publisher RecordingProfile::Name RomPath RotorHiSpeedSetting RotorLoSpeedSetting ScanFrequency ScreenPath SRCategory SRDescription SRProgramid SRSeriesid SRStation SRSubtitle SRTitle SwitchPortsSetting TitleMatch TranscodeFilters TransLineEditSetting VideoFilters VideoSource::Name WorkingDirPath XmltvID Year

List of all members.


Detailed Description

Definition at line 147 of file settings.h.


Public Member Functions

virtual QWidget * configWidget (ConfigurationGroup *cg, QWidget *parent, 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.
virtual void widgetInvalid (QObject *obj)
 Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid.
void setRW (bool readwrite=true)
void setRO (void)
virtual void setEnabled (bool b)
virtual void setVisible (bool b)
virtual void SetPasswordEcho (bool b)
virtual void setHelpText (const QString &str)

Protected Member Functions

 LineEditSetting (Storage *_storage, bool readwrite=true)

Private Attributes

QWidget * bxwidget
MythLineEditedit
bool rw
bool password_echo

Constructor & Destructor Documentation

LineEditSetting::LineEditSetting ( Storage _storage,
bool  readwrite = true 
) [inline, protected]

Definition at line 150 of file settings.h.


Member Function Documentation

QWidget * LineEditSetting::configWidget ( ConfigurationGroup cg,
QWidget *  parent,
const char *  widgetName = 0 
) [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 260 of file settings.cpp.

void LineEditSetting::widgetInvalid ( QObject *   )  [virtual]

Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid.

Note: It is possible that this may be called after configWidget() has been called another time so you must check the pointer param.

Reimplemented from Configurable.

Definition at line 306 of file settings.cpp.

void LineEditSetting::setRW ( bool  readwrite = true  )  [inline]

Definition at line 159 of file settings.h.

Referenced by configWidget().

void LineEditSetting::setRO ( void   )  [inline]

Definition at line 166 of file settings.h.

Referenced by VisualizationMode().

void LineEditSetting::setEnabled ( bool  b  )  [virtual]

void LineEditSetting::setVisible ( bool  b  )  [virtual]

void LineEditSetting::SetPasswordEcho ( bool  b  )  [virtual]

Definition at line 335 of file settings.cpp.

Referenced by configWidget().

void LineEditSetting::setHelpText ( const QString &  str  )  [virtual]

Reimplemented from Configurable.

Definition at line 342 of file settings.cpp.

Referenced by AllRecGroupPassword(), AudioLocalPort(), CDDevice(), CDWriterDevice(), CodecPriorityList(), Country::Country(), DefaultTVChannel(), DefaultVoicemailPrompt(), DefaultVxmlUrl(), DeviceDescrSetting::DeviceDescrSetting(), DiSEqCLatitude(), DiSEqCLongitude(), DVBUtilsImportPane::DVBUtilsImportPane(), FilenameTemplate(), GameAllTreeLevels(), GameFavTreeLevels(), Gamename::Gamename(), Genre::Genre(), GetDataCommand(), GetPostersCommand(), Grabber(), HaltCommand(), IgnoreMedia(), JobQueueCommFlagCommand(), JobQueueTranscodeCommand(), LCDKeyString(), LircKeyPressedApp(), LocalSecurityPin(), LocalServerIP(), LocalServerPort(), LocalStatusPort(), MasterServerIP(), MasterServerPort(), MiscStatusScript(), MySipName(), MythArchiveDvdauthorCmd(), MythArchiveDVDLocation(), MythArchiveDVDPlayerCmd(), MythArchiveFfmpegCmd(), MythArchiveFileFilter(), MythArchiveGrowisofsCmd(), MythArchiveJpeg2yuvCmd(), MythArchiveMkisofsCmd(), MythArchiveMpeg2encCmd(), MythArchiveMplexCmd(), MythArchiveProjectXCmd(), MythArchiveShareDir(), MythArchiveSpumuxCmd(), MythArchiveTcrequantCmd(), MythArchiveTempDir(), MythDbSettings1::MythDbSettings1(), MythDbSettings2::MythDbSettings2(), MythFillDatabaseArgs(), MythFillDatabaseLog(), MythFillDatabasePath(), MythGalleryDir(), MythGalleryImportDirs(), MythGalleryMoviePlayerCmd(), MythShutdownNvramCmd(), MythShutdownNvramRestartCmd(), MythShutdownPowerOff(), MythShutdownReboot(), MythShutdownStartFECmd(), MythShutdownXTermCmd(), MythWelcomeDateFormat(), MythGamePlayerSettings::Name::Name(), NatIpAddress(), NonID3FileNameFormat(), OverTimeCategory(), PlaybackProfileItemConfig::PlaybackProfileItemConfig(), PlayerCommand(), PostCDRipScript(), preSDWUCheckCommand(), Publisher::Publisher(), Radius(), RebootCommand(), ScanFrequency::ScanFrequency(), SearchListingsCommand(), ServerHaltCommand(), SetDVDDevice(), SetMusicDirectory(), SetRipDirectory(), SetupPinCode(), SetVCDDevice(), SetWakeuptimeCommand(), SipBindInterface(), SipLocalPort(), SipProxyAuthName(), SipProxyAuthPassword(), SipProxyName(), ImportIconsWizard::startDialog(), startupCommand(), SubTitleCommand(), SwitchPortsSetting::SwitchPortsSetting(), TitlePlayCommand(), TranscodeCommand(), TransmitBandwidth(), TreeLevels(), UDPNotifyPort(), UserJob(), UserJobDesc(), VCDPlayerCommand(), VideoAdminPassword(), VideoAdminPasswordThree(), VideoAdminPasswordTwo(), VideoArtworkDirectory(), VideoDefaultPlayer(), VideoLocalPort(), VideoStartupDirectory(), VisualizationMode(), WakeupTimeFormat(), WOLbackendCommand(), WOLslaveBackendsCommand(), Year::Year(), ZipCode(), ZMServerIP(), and ZMServerPort().


Member Data Documentation

QWidget* LineEditSetting::bxwidget [private]

Definition at line 175 of file settings.h.

Referenced by configWidget(), and widgetInvalid().

Definition at line 177 of file settings.h.

Referenced by configWidget().

Definition at line 178 of file settings.h.

Referenced by configWidget(), and SetPasswordEcho().


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

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