Kaydet (Commit) 22a8a96b authored tarafından Caolán McNamara's avatar Caolán McNamara

rename SfxConfigGroupListBox_Impl as SfxConfigGroupListBox

Change-Id: Id2e25b5feecc0bab5b4e926e5fe44320979d89ba
üst fb0cce50
......@@ -726,7 +726,7 @@ SfxAcceleratorConfigPage::SfxAcceleratorConfigPage( Window* pParent, const SfxIt
, aChangeButton (this , CUI_RES(BTN_ACC_CHANGE ))
, aRemoveButton (this , CUI_RES(BTN_ACC_REMOVE ))
, aGroupText (this , CUI_RES(TXT_ACC_GROUP ))
, pGroupLBox(new SfxConfigGroupListBox_Impl( this, CUI_RES(BOX_ACC_GROUP), SFX_SLOT_ACCELCONFIG ))
, pGroupLBox(new SfxConfigGroupListBox( this, CUI_RES(BOX_ACC_GROUP), SFX_SLOT_ACCELCONFIG ))
, aFunctionText (this , CUI_RES(TXT_ACC_FUNCTION ))
, pFunctionBox(new SfxConfigFunctionListBox_Impl( this, CUI_RES( BOX_ACC_FUNCTION )))
, aKeyText (this , CUI_RES(TXT_ACC_KEY ))
......
......@@ -398,7 +398,7 @@ SvxConfigGroupBoxResource_Impl::SvxConfigGroupBoxResource_Impl() :
FreeResource();
}
SfxConfigGroupListBox_Impl::SfxConfigGroupListBox_Impl(
SfxConfigGroupListBox::SfxConfigGroupListBox(
Window* pParent, const ResId& rResId, sal_uLong nConfigMode )
: SvTreeListBox( pParent, rResId )
, pImp(new SvxConfigGroupBoxResource_Impl()), pFunctionListBox(0), nMode( nConfigMode ), pStylesInfo(0)
......@@ -408,12 +408,12 @@ SfxConfigGroupListBox_Impl::SfxConfigGroupListBox_Impl(
}
SfxConfigGroupListBox_Impl::~SfxConfigGroupListBox_Impl()
SfxConfigGroupListBox::~SfxConfigGroupListBox()
{
ClearAll();
}
void SfxConfigGroupListBox_Impl::ClearAll()
void SfxConfigGroupListBox::ClearAll()
{
sal_uInt16 nCount = aArr.size();
for ( sal_uInt16 i=0; i<nCount; ++i )
......@@ -433,13 +433,13 @@ void SfxConfigGroupListBox_Impl::ClearAll()
Clear();
}
void SfxConfigGroupListBox_Impl::SetStylesInfo(SfxStylesInfo_Impl* pStyles)
void SfxConfigGroupListBox::SetStylesInfo(SfxStylesInfo_Impl* pStyles)
{
pStylesInfo = pStyles;
}
//-----------------------------------------------
void SfxConfigGroupListBox_Impl::InitModule()
void SfxConfigGroupListBox::InitModule()
{
try
{
......@@ -475,12 +475,12 @@ void SfxConfigGroupListBox_Impl::InitModule()
}
//-----------------------------------------------
void SfxConfigGroupListBox_Impl::InitBasic()
void SfxConfigGroupListBox::InitBasic()
{
}
//-----------------------------------------------
void SfxConfigGroupListBox_Impl::InitStyles()
void SfxConfigGroupListBox::InitStyles()
{
}
......@@ -538,7 +538,7 @@ namespace
}
//-----------------------------------------------
void SfxConfigGroupListBox_Impl::Init(const css::uno::Reference< css::uno::XComponentContext >& xContext,
void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::frame::XFrame >& xFrame,
const OUString& sModuleLongName)
{
......@@ -708,7 +708,7 @@ void SfxConfigGroupListBox_Impl::Init(const css::uno::Reference< css::uno::XComp
MakeVisible( GetEntry( 0,0 ) );
SetUpdateMode( sal_True );
}
Image SfxConfigGroupListBox_Impl::GetImage(
Image SfxConfigGroupListBox::GetImage(
Reference< browse::XBrowseNode > node,
Reference< XComponentContext > xCtx,
bool bIsRootNode
......@@ -774,7 +774,7 @@ Image SfxConfigGroupListBox_Impl::GetImage(
}
Reference< XInterface >
SfxConfigGroupListBox_Impl::getDocumentModel( Reference< XComponentContext >& xCtx, OUString& docName )
SfxConfigGroupListBox::getDocumentModel( Reference< XComponentContext >& xCtx, OUString& docName )
{
Reference< XInterface > xModel;
Reference< frame::XDesktop2 > desktop = frame::Desktop::create( xCtx );
......@@ -802,7 +802,7 @@ SfxConfigGroupListBox_Impl::getDocumentModel( Reference< XComponentContext >& xC
}
//-----------------------------------------------
OUString SfxConfigGroupListBox_Impl::MapCommand2UIName(const OUString& sCommand)
OUString SfxConfigGroupListBox::MapCommand2UIName(const OUString& sCommand)
{
OUString sUIName;
try
......@@ -830,7 +830,7 @@ OUString SfxConfigGroupListBox_Impl::MapCommand2UIName(const OUString& sCommand)
}
//-----------------------------------------------
void SfxConfigGroupListBox_Impl::GroupSelected()
void SfxConfigGroupListBox::GroupSelected()
/* Description
A function group or a basic module has been selected.
All functions/macros are displayed in the functionlistbox.
......@@ -960,7 +960,7 @@ void SfxConfigGroupListBox_Impl::GroupSelected()
pFunctionListBox->SetUpdateMode(sal_True);
}
sal_Bool SfxConfigGroupListBox_Impl::Expand( SvTreeListEntry* pParent )
sal_Bool SfxConfigGroupListBox::Expand( SvTreeListEntry* pParent )
{
sal_Bool bRet = SvTreeListBox::Expand( pParent );
if ( bRet )
......@@ -991,7 +991,7 @@ sal_Bool SfxConfigGroupListBox_Impl::Expand( SvTreeListEntry* pParent )
return bRet;
}
void SfxConfigGroupListBox_Impl::RequestingChildren( SvTreeListEntry *pEntry )
void SfxConfigGroupListBox::RequestingChildren( SvTreeListEntry *pEntry )
/* Description
A basic or a library is opened.
*/
......@@ -1119,13 +1119,13 @@ void SfxConfigGroupListBox_Impl::RequestingChildren( SvTreeListEntry *pEntry )
}
}
void SfxConfigGroupListBox_Impl::SelectMacro( const SfxMacroInfoItem *pItem )
void SfxConfigGroupListBox::SelectMacro( const SfxMacroInfoItem *pItem )
{
SelectMacro( pItem->GetBasicManager()->GetName(),
pItem->GetQualifiedName() );
}
void SfxConfigGroupListBox_Impl::SelectMacro( const OUString& rBasic,
void SfxConfigGroupListBox::SelectMacro( const OUString& rBasic,
const OUString& rMacro )
{
OUString aBasicName( rBasic );
......
......@@ -46,7 +46,7 @@
#include "cfgutil.hxx"
class SfxMacroInfoItem;
class SfxConfigGroupListBox_Impl;
class SfxConfigGroupListBox;
class SfxConfigFunctionListBox_Impl;
class SfxAcceleratorConfigPage;
class SfxStringItem;
......@@ -122,7 +122,7 @@ private:
PushButton aChangeButton;
PushButton aRemoveButton;
FixedText aGroupText;
SfxConfigGroupListBox_Impl* pGroupLBox;
SfxConfigGroupListBox* pGroupLBox;
FixedText aFunctionText;
SfxConfigFunctionListBox_Impl* pFunctionBox;
FixedText aKeyText;
......
......@@ -101,7 +101,7 @@ typedef boost::ptr_vector<SfxGroupInfo_Impl> SfxGroupInfoArr_Impl;
class SfxConfigFunctionListBox_Impl : public SvTreeListBox
{
friend class SfxConfigGroupListBox_Impl;
friend class SfxConfigGroupListBox;
Timer aTimer;
SvTreeListEntry* pCurEntry;
SfxGroupInfoArr_Impl aArr;
......@@ -125,7 +125,7 @@ public:
};
struct SvxConfigGroupBoxResource_Impl;
class SfxConfigGroupListBox_Impl : public SvTreeListBox
class SfxConfigGroupListBox : public SvTreeListBox
{
SvxConfigGroupBoxResource_Impl* pImp;
SfxConfigFunctionListBox_Impl* pFunctionListBox;
......@@ -165,10 +165,10 @@ protected:
virtual sal_Bool Expand( SvTreeListEntry* pParent );
public:
SfxConfigGroupListBox_Impl ( Window* pParent,
SfxConfigGroupListBox ( Window* pParent,
const ResId&,
sal_uLong nConfigMode = 0 );
~SfxConfigGroupListBox_Impl();
~SfxConfigGroupListBox();
void ClearAll();
void Init(const css::uno::Reference< css::uno::XComponentContext >& xContext,
......
......@@ -51,7 +51,7 @@ public:
OUString* pStrEvent;
OUString* pAssignedMacro;
MacroEventListBox* pEventLB;
SfxConfigGroupListBox_Impl* pGroupLB;
SfxConfigGroupListBox* pGroupLB;
FixedText* pFT_MacroLBLabel;
SfxConfigFunctionListBox_Impl* pMacroLB;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment