summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/browser/dbtreemodel.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2000-11-09 06:34:02 +0000
committerFrank Schönheit <fs@openoffice.org>2000-11-09 06:34:02 +0000
commitc6b5ad33b05635ad1c52bdd5f30ec5851c6806f5 (patch)
tree00d3df0796bab2ac67bf6a91abbc5d8419d865b5 /dbaccess/source/ui/browser/dbtreemodel.hxx
parentgetURLForId: let the URLTransformater parse the URL (diff)
downloadcore-c6b5ad33b05635ad1c52bdd5f30ec5851c6806f5.tar.gz
core-c6b5ad33b05635ad1c52bdd5f30ec5851c6806f5.zip
moved the responsibility for populating the model to the controller
Diffstat (limited to 'dbaccess/source/ui/browser/dbtreemodel.hxx')
-rw-r--r--dbaccess/source/ui/browser/dbtreemodel.hxx23
1 files changed, 7 insertions, 16 deletions
diff --git a/dbaccess/source/ui/browser/dbtreemodel.hxx b/dbaccess/source/ui/browser/dbtreemodel.hxx
index 360f36996b1d..434fb01c524f 100644
--- a/dbaccess/source/ui/browser/dbtreemodel.hxx
+++ b/dbaccess/source/ui/browser/dbtreemodel.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbtreemodel.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: fs $ $Date: 2000-11-06 17:43:44 $
+ * last change: $Author: fs $ $Date: 2000-11-09 07:34:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,26 +80,17 @@ namespace dbaui
// ------------------
// - DBTreeListModel -
// ------------------
- class DBTreeListModel : public SvLBoxTreeList,
- public dbaui::OModuleClient
+ class DBTreeListModel : public SvLBoxTreeList
{
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >
- m_xDatabaseContext; /// database context we're working in
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >
- m_xORB;
-
- void insertEntries(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _xNameAccess,SvLBoxEntry* _pParent,const Image& _rImage);
public:
struct DBTreeListUserData
{
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xInterface;
- sal_Bool bTable;
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
+ xObject;
+ sal_Bool bTable;
};
- DBTreeListModel(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _xMultiServiceFacatory);
- ~DBTreeListModel();
-
- void fillEntry(SvLBoxEntry* _pParent);
+ DBTreeListModel();
};
}