Dialog: move method to protected area

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33352 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2010-02-07 21:06:43 +00:00
parent 2f168bd342
commit 3e5ed356c0

View File

@ -85,9 +85,6 @@ public:
virtual QWidget * asQWidget() = 0; virtual QWidget * asQWidget() = 0;
virtual QWidget const * asQWidget() const = 0; virtual QWidget const * asQWidget() const = 0;
///
void addCheckedWidget(QLineEdit * input, QWidget * label);
/// Session key. /// Session key.
/** /**
* This key must be used for any session setting. * This key must be used for any session setting.
@ -282,6 +279,9 @@ protected:
void setTitle(QString const & title) { title_ = title; } void setTitle(QString const & title) { title_ = title; }
/// ///
virtual void apply(); virtual void apply();
/// Add a widget to the list of all widgets whose validity should
/// be checked explicitly when the buttons are refreshed.
void addCheckedWidget(QLineEdit * input, QWidget * label = 0);
/// \return true if all CheckedWidgets are in a valid state. /// \return true if all CheckedWidgets are in a valid state.
bool checkWidgets() const; bool checkWidgets() const;