Gui::PrefLineEdit Class Reference

The PrefLineEdit class. More...

#include <PrefWidgets.h>

Inheritance diagram for Gui::PrefLineEdit:
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.
 PrefLineEdit (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 ~PrefLineEdit ()

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 PrefLineEdit class.

Author:
Werner Mayer

Definition at line 148 of file PrefWidgets.h.


Constructor & Destructor Documentation

PrefLineEdit::PrefLineEdit ( QWidget *  parent = 0  ) 

Definition at line 241 of file PrefWidgets.cpp.

PrefLineEdit::~PrefLineEdit (  )  [virtual]

Definition at line 246 of file PrefWidgets.cpp.


Member Function Documentation

QByteArray PrefLineEdit::entryName (  )  const [virtual]

Returns the widget's preference name.

Reimplemented from Gui::PrefWidget.

Definition at line 274 of file PrefWidgets.cpp.

Referenced by restorePreferences(), and savePreferences().

QByteArray PrefLineEdit::paramGrpPath (  )  const [virtual]

Returns the widget's preferences path.

Reimplemented from Gui::PrefWidget.

Definition at line 279 of file PrefWidgets.cpp.

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

Restores the preferences Must be reimplemented in any subclasses.

Implements Gui::PrefWidget.

Definition at line 250 of file PrefWidgets.cpp.

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

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

Save the preferences Must be reimplemented in any subclasses.

Implements Gui::PrefWidget.

Definition at line 263 of file PrefWidgets.cpp.

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

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

Sets the preference name to name.

Reimplemented from Gui::PrefWidget.

Definition at line 284 of file PrefWidgets.cpp.

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

Sets the preference path to path.

Reimplemented from Gui::PrefWidget.

Definition at line 289 of file PrefWidgets.cpp.


Property Documentation

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

Definition at line 152 of file PrefWidgets.h.

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

Definition at line 153 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