From 3e5ed356c0205a1b267616df4d50cb47874e265f Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 7 Feb 2010 21:06:43 +0000 Subject: [PATCH] Dialog: move method to protected area git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33352 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/Dialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/Dialog.h b/src/frontends/qt4/Dialog.h index cc76f93c22..304cd7d56b 100644 --- a/src/frontends/qt4/Dialog.h +++ b/src/frontends/qt4/Dialog.h @@ -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; -- 2.39.2