Gui::PrefRadioButton Class Reference

The PrefRadioButton class. More...

#include <PrefWidgets.h>

Inheritance diagram for Gui::PrefRadioButton:
Gui::PrefWidget Gui::WindowParameter

List of all members.

Public Member Functions

QByteArray entryName () const
 Returns the widget's preference name.
QByteArray paramGrpPath () const
 Returns the widget's preferences path.
 PrefRadioButton (QWidget *parent=0)
void setEntryName (const QByteArray &name)
 Sets the preference name to name.
void setParamGrpPath (const QByteArray &name)
 Sets the preference path to path.
virtual ~PrefRadioButton ()

Protected Member Functions

void restorePreferences ()
 Restores the preferences Must be reimplemented in any subclasses.
void savePreferences ()
 Save the preferences Must be reimplemented in any subclasses.

Properties

QByteArray prefEntry
QByteArray prefPath

Detailed Description

The PrefRadioButton class.

Author:
Werner Mayer

Definition at line 264 of file PrefWidgets.h.


Constructor & Destructor Documentation

PrefRadioButton::PrefRadioButton ( QWidget *  parent = 0  ) 

Definition at line 458 of file PrefWidgets.cpp.

PrefRadioButton::~PrefRadioButton (  )  [virtual]

Definition at line 463 of file PrefWidgets.cpp.


Member Function Documentation

QByteArray PrefRadioButton::entryName (  )  const [virtual]

Returns the widget's preference name.

Reimplemented from Gui::PrefWidget.

Definition at line 490 of file PrefWidgets.cpp.

Referenced by restorePreferences(), and savePreferences().

QByteArray PrefRadioButton::paramGrpPath (  )  const [virtual]

Returns the widget's preferences path.

Reimplemented from Gui::PrefWidget.

Definition at line 495 of file PrefWidgets.cpp.

void PrefRadioButton::restorePreferences (  )  [protected, virtual]

Restores the preferences Must be reimplemented in any subclasses.

Implements Gui::PrefWidget.

Definition at line 467 of file PrefWidgets.cpp.

References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().

void PrefRadioButton::savePreferences (  )  [protected, virtual]

Save the preferences Must be reimplemented in any subclasses.

Implements Gui::PrefWidget.

Definition at line 479 of file PrefWidgets.cpp.

References Base::Console(), entryName(), Gui::WindowParameter::getWindowParameter(), and draftlibs::fcgeo::isNull().

void PrefRadioButton::setEntryName ( const QByteArray &  name  )  [virtual]

Sets the preference name to name.

Reimplemented from Gui::PrefWidget.

Definition at line 500 of file PrefWidgets.cpp.

void PrefRadioButton::setParamGrpPath ( const QByteArray &  path  )  [virtual]

Sets the preference path to path.

Reimplemented from Gui::PrefWidget.

Definition at line 505 of file PrefWidgets.cpp.


Property Documentation

QByteArray Gui::PrefRadioButton::prefEntry [read, write]

Definition at line 268 of file PrefWidgets.h.

QByteArray Gui::PrefRadioButton::prefPath [read, write]

Definition at line 269 of file PrefWidgets.h.


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

Generated on Wed Nov 23 19:02:01 2011 for FreeCAD by  doxygen 1.6.1