X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormRef.h;h=ca2023011444e8a60229b5d956943f54f564a5b7;hb=eba67bc3120dc301bf193c3f3b570f51f00a4654;hp=98a718a13e9e9fcf3e3e886dc45ab79aaf4d6e01;hpb=d46b4d4360ffb10a06ae0dcd508de8f42dc9affd;p=lyx.git diff --git a/src/frontends/xforms/FormRef.h b/src/frontends/xforms/FormRef.h index 98a718a13e..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,15 +51,13 @@ 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(); /// Not used but must be instantiated @@ -68,19 +66,13 @@ private: virtual FL_FORM * form() const; /// - void updateBrowser( std::vector ) const; - /// - void showBrowser() const; - /// - void hideBrowser() const; - /// - void setSize( 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;