summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-19 15:20:10 +0200
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-10-19 15:25:28 +0200
commit49e5e750b51ae8b6ff5f8f98beedea1b4737c2fc (patch)
tree2bbc90e9fad34636176c2b4bb6530f7f833d2de1 /svtools/inc
parent4bc089dff22765614e0cb988a88ea71706ad3f00 (diff)
Merge SvLBoxTreeList and SvTreeList.
Change-Id: I318ff6f1009b1aaa7d0bd3abb250f92fb51a21cd
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/svtools/treelistbox.hxx24
1 files changed, 3 insertions, 21 deletions
diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx
index ceb7497cac2c..75c933b2bd54 100644
--- a/svtools/inc/svtools/treelistbox.hxx
+++ b/svtools/inc/svtools/treelistbox.hxx
@@ -198,24 +198,6 @@ public:
virtual void Clone( SvLBoxItem* pSource ) = 0;
};
-class SVT_DLLPUBLIC SvLBoxTreeList : public SvTreeList
-{
-public:
- SvTreeListEntry* First() const;
- SvTreeListEntry* Next( SvTreeListEntry* pEntry, sal_uInt16* pDepth=0 ) const;
- SvTreeListEntry* Prev( SvTreeListEntry* pEntry, sal_uInt16* pDepth=0 ) const;
- SvTreeListEntry* Last() const;
- SvTreeListEntry* Clone( SvTreeListEntry* pEntry, sal_uLong& nCloneCount ) const;
- SvTreeListEntry* GetEntry( SvTreeListEntry* pParent, sal_uLong nPos ) const;
- SvTreeListEntry* GetEntry( sal_uLong nRootPos ) const;
- SvTreeListEntry* GetParent( SvTreeListEntry* pEntry ) const;
- SvTreeListEntry* FirstChild( SvTreeListEntry* pParent ) const;
- SvTreeListEntry* NextSibling( SvTreeListEntry* pEntry ) const;
- SvTreeListEntry* PrevSibling( SvTreeListEntry* pEntry ) const;
- SvTreeListEntry* LastSibling( SvTreeListEntry* pEntry ) const;
- SvTreeListEntry* GetEntryAtAbsPos( sal_uLong nAbsPos ) const;
-};
-
// *********************************************************************
// ****************************** SvTreeListBox *******************************
// *********************************************************************
@@ -303,7 +285,7 @@ protected:
sal_uInt16 nCurEntrySelPos;
private:
- void SetBaseModel(SvLBoxTreeList* pNewModel);
+ void SetBaseModel(SvTreeList* pNewModel);
DECL_DLLPRIVATE_LINK( CheckButtonClick, SvLBoxButtonData * );
DECL_DLLPRIVATE_LINK( TextEditEndedHdl_Impl, void * );
@@ -392,9 +374,9 @@ public:
SvTreeListBox( Window* pParent, const ResId& rResId );
~SvTreeListBox();
- SvLBoxTreeList* GetModel() const { return (SvLBoxTreeList*)pModel; }
+ SvTreeList* GetModel() const { return (SvTreeList*)pModel; }
using SvListView::SetModel;
- void SetModel(SvLBoxTreeList* pNewModel);
+ void SetModel(SvTreeList* pNewModel);
sal_uInt16 IsA();
sal_uLong GetEntryCount() const {return pModel->GetEntryCount();}