mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
2f168bd342
commit
3e5ed356c0
@ -85,9 +85,6 @@ public:
|
||||
virtual QWidget * asQWidget() = 0;
|
||||
virtual QWidget const * asQWidget() const = 0;
|
||||
|
||||
///
|
||||
void addCheckedWidget(QLineEdit * input, QWidget * label);
|
||||
|
||||
/// Session key.
|
||||
/**
|
||||
* This key must be used for any session setting.
|
||||
@ -282,6 +279,9 @@ protected:
|
||||
void setTitle(QString const & title) { title_ = title; }
|
||||
///
|
||||
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.
|
||||
bool checkWidgets() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user