rename ImplWindowAutoMnemonic and expose

Change-Id: Iddb0d84b6dbfeb263a68ddc3b8b5c39bbdcf46f6
This commit is contained in:
Caolán McNamara
2016-07-30 21:53:56 +01:00
parent ff4217e9e4
commit 76be678e74
6 changed files with 8 additions and 8 deletions

View File

@@ -82,6 +82,7 @@ public:
Accelerator& operator=( const Accelerator& rAccel );
static bool ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::Window *pWindow);
static void GenerateAutoMnemonicsOnHierarchy(vcl::Window* pWindow);
};
#endif // INCLUDED_VCL_ACCEL_HXX

View File

@@ -349,7 +349,6 @@ VCL_PLUGIN_PUBLIC ResMgr* ImplGetResMgr();
VCL_PLUGIN_PUBLIC ResId VclResId( sal_Int32 nId ); // throws std::bad_alloc if no res mgr
DockingManager* ImplGetDockingManager();
BlendFrameCache* ImplGetBlendFrameCache();
void ImplWindowAutoMnemonic( vcl::Window* pWindow );
bool ImplCallHotKey( const vcl::KeyCode& rKeyCode );
void ImplFreeHotKeyData();

View File

@@ -189,7 +189,7 @@ vcl::Window * firstLogicalChildOfParent(vcl::Window *pTopLevel)
return pChild;
}
void ImplWindowAutoMnemonic( vcl::Window* pWindow )
void Accelerator::GenerateAutoMnemonicsOnHierarchy(vcl::Window* pWindow)
{
MnemonicGenerator aMnemonicGenerator;
vcl::Window* pGetChild;

View File

@@ -698,7 +698,7 @@ void DockingWindow::Resizing( Size& )
void DockingWindow::DoInitialLayout()
{
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
ImplWindowAutoMnemonic( this );
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
if (isLayoutEnabled())
{

View File

@@ -1153,7 +1153,7 @@ void SystemWindow::setOptimalLayoutSize()
void SystemWindow::DoInitialLayout()
{
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
ImplWindowAutoMnemonic( this );
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
if (isLayoutEnabled())
{

View File

@@ -105,7 +105,7 @@ void TabPage::StateChanged( StateChangedType nType )
if ( nType == StateChangedType::InitShow )
{
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
ImplWindowAutoMnemonic( this );
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
// FIXME: no layouting, workaround some clipping issues
ImplAdjustNWFSizes();
}