diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-04 09:07:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-04 14:22:40 +0200 |
commit | ffa35b82ce845d82a5beae36eb57cec2b0c01233 (patch) | |
tree | ea6ff3a2245e4deea0223ab6470de5b71cc6fa30 /vcl/inc/wizdlg.hxx | |
parent | 41383ad341dbfcb0233cbbdaafceeb545b955ce3 (diff) |
loplugin:unusedmethods
Change-Id: Idd98dc9e1090a6b09124c80eed5a878e5e966cfc
Reviewed-on: https://gerrit.libreoffice.org/80182
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/wizdlg.hxx')
-rw-r--r-- | vcl/inc/wizdlg.hxx | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/vcl/inc/wizdlg.hxx b/vcl/inc/wizdlg.hxx index aa181a6c0912..21f9e1364364 100644 --- a/vcl/inc/wizdlg.hxx +++ b/vcl/inc/wizdlg.hxx @@ -150,8 +150,6 @@ namespace vcl /// enable (or disable) buttons void enableButtons(WizardButtonFlags _nWizardButtonFlags, bool _bEnable); - /// set the default style for a button - void defaultButton(PushButton* _pNewDefButton); /// determines whether there is a next state to which we can advance bool canAdvance() const; @@ -165,9 +163,6 @@ namespace vcl void SetItemSelectHdl( const Link<LinkParamNone*,void>& _rHdl ); void ShowRoadmap(bool bShow); - // returns whether a given state is enabled - bool isStateEnabled( WizardTypes::WizardState _nState ) const; - protected: /// to override to create new pages @@ -262,43 +257,6 @@ namespace vcl static IWizardPageController* getPageController( TabPage* _pCurrentPage ); - /** retrieves a copy of the state history, i.e. all states we already visited - */ - void getStateHistory(std::vector<WizardTypes::WizardState>& out_rHistory); - - /** activates a path which has previously been declared with <member>declarePath</member> - - You can only activate paths which share the first <code>k</code> states with the path - which is previously active (if any), where <code>k</code> is the index of the - current state within the current path. - - <example> - Say you have paths, <code>(0,1,2,5)</code> and <code>(0,1,4,5)</code>. This means that after - step <code>1</code>, you either continue with state <code>2</code> or state <code>4</code>, - and after this, you finish in state <code>5</code>.<br/> - Now if the first path is active, and your current state is <code>1</code>, then you can - easily switch to the second path, since both paths start with <code>(0,1)</code>.<br/> - However, if your current state is <code>2</code>, then you can not switch to the second - path anymore. - </example> - - @param _nPathId - the id of the path. The path must have been declared (under this id) with - <member>declarePath</member> before it can be activated. - - @param _bDecideForIt - If <TRUE/>, the path will be completely activated, even if it is a conflicting path - (i.e. there is another path which shares the first <code>k</code> states with - the to-be-activated path.)<br/> - If <FALSE/>, then the new path is checked for conflicts with other paths. If such - conflicts exists, the path is not completely activated, but only up to the point - where it does <em>not</em> conflict.<br/> - With the paths in the example above, if you activate the second path (when both are - already declared), then only steps <code>0</code> and <code>1</code> are activated, - since they are common to both paths. - */ - void activatePath( RoadmapWizardTypes::PathId _nPathId, bool _bDecideForIt = false ); - /** returns a human readable name for a given state There is a default implementation for this method, which returns the display name |