Propogate the virtual keyword.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5670 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-11-19 19:18:11 +00:00
parent 575155f01f
commit 9e269ca2dd
4 changed files with 14 additions and 9 deletions

View File

@ -5,6 +5,11 @@
* Makefile.am (libxforms_la_SOURCES): remove FormInset.[Ch]. * Makefile.am (libxforms_la_SOURCES): remove FormInset.[Ch].
* FormBase.h (show):
* FormExternal.h (apply, build, update, input):
* FormSpellchecker.h (apply, build, update, partialUpdate):
propogate virtual keyword.
2002-11-17 John Levon <levon@movementarian.org> 2002-11-17 John Levon <levon@movementarian.org>
* FileDialog.C: open/save name change * FileDialog.C: open/save name change

View File

@ -55,7 +55,7 @@ protected:
/// Hide the dialog. /// Hide the dialog.
virtual void hide(); virtual void hide();
/// Create the dialog if necessary, update it and display it. /// Create the dialog if necessary, update it and display it.
void show(); virtual void show();
/** Prepare the way to: /** Prepare the way to:
* 1. display feedback as the mouse moves over ob. This feedback will * 1. display feedback as the mouse moves over ob. This feedback will

View File

@ -31,16 +31,16 @@ public:
FormExternal(); FormExternal();
private: private:
/// apply changes /// apply changes
void apply(); virtual void apply();
/// build the dialog /// build the dialog
void build(); virtual void build();
/// update the dialog /// update the dialog
void update(); virtual void update();
/// Filter the inputs on callback from xforms /// Filter the inputs on callback from xforms
ButtonPolicy::SMInput input(FL_OBJECT *, long); virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
/// ///
void updateComboChange(); void updateComboChange();

View File

@ -29,14 +29,14 @@ public:
FormSpellchecker(); FormSpellchecker();
private: private:
/// not needed. /// not needed.
void apply() {} virtual void apply() {}
/// Build the dialog /// Build the dialog
void build(); virtual void build();
/// ///
void update(); virtual void update();
/// set suggestions and exit message /// set suggestions and exit message
void partialUpdate(int); virtual void partialUpdate(int);
/// Filter the inputs /// Filter the inputs
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long); virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);