X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormRef.h;h=ca2023011444e8a60229b5d956943f54f564a5b7;hb=eba67bc3120dc301bf193c3f3b570f51f00a4654;hp=e7ad15d418342a7be1cfcbf7dcbe45fd410ea599;hpb=8effd3eec4f9f143572875416ed8815e2a26cd12;p=lyx.git diff --git a/src/frontends/xforms/FormRef.h b/src/frontends/xforms/FormRef.h index e7ad15d418..ca20230114 100644 --- a/src/frontends/xforms/FormRef.h +++ b/src/frontends/xforms/FormRef.h @@ -29,7 +29,7 @@ public: ~FormRef(); private: /// - enum Type{ + enum Type { /// REF, /// @@ -42,7 +42,7 @@ private: PRETTYREF }; /// - enum Goto{ + enum Goto { /// GOREF, /// @@ -51,36 +51,28 @@ private: GOFIRST }; - /// Connect signals etc. Set form's max size. - virtual void connect(); /// Disconnect signals. Also perform any necessary housekeeping. virtual void disconnect(); /// Build the dialog virtual void build(); /// Filter the input - virtual bool input( FL_OBJECT *, long ); + virtual bool input(FL_OBJECT *, long); /// Update dialog before showing it - virtual void update(bool switched = false); + virtual void update(); /// Not used but must be instantiated virtual void apply(); /// Pointer to the actual instantiation of the xform's form virtual FL_FORM * form() const; /// - void updateBrowser( std::vector ) const; - /// - void showBrowser() const; - /// - void hideBrowser() const; - /// - void setSize( int, int, int ) const; + void updateBrowser(std::vector const &) const; /// FD_form_ref * build_ref(); /// Type getType() const; /// - string getName( Type type ) const; + string const getName(Type type) const; /// Goto toggle;