summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/RelationControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/inc/RelationControl.hxx')
-rw-r--r--dbaccess/source/ui/inc/RelationControl.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/dbaccess/source/ui/inc/RelationControl.hxx b/dbaccess/source/ui/inc/RelationControl.hxx
index 3a585e42238d..f37e5779694e 100644
--- a/dbaccess/source/ui/inc/RelationControl.hxx
+++ b/dbaccess/source/ui/inc/RelationControl.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_DBACCESS_SOURCE_UI_INC_RELATIONCONTROL_HXX
#include <vcl/fixed.hxx>
+#include <vcl/builder.hxx>
#include <vcl/lstbox.hxx>
#include "JoinTableView.hxx"
@@ -29,12 +30,10 @@ namespace dbaui
class IRelationControlInterface;
class ORelationControl;
- class OTableListBoxControl : public Window
+ class OTableListBoxControl
{
- FixedLine m_aFL_InvolvedTables;
- ListBox m_lmbLeftTable,
- m_lmbRightTable;
- FixedLine m_aFL_InvolvedFields;
+ ListBox* m_pLeftTable;
+ ListBox* m_pRightTable;
ORelationControl* m_pRC_Tables;
const OJoinTableView::OTableWindowMap* m_pTableMap;
@@ -44,8 +43,7 @@ namespace dbaui
private:
DECL_LINK( OnTableChanged, ListBox* );
public:
- OTableListBoxControl(Window* _pParent,
- const ResId& _rResId,
+ OTableListBoxControl(VclBuilderContainer* _pParent,
const OJoinTableView::OTableWindowMap* _pTableMap,
IRelationControlInterface* _pParentDialog);
virtual ~OTableListBoxControl();
@@ -75,9 +73,12 @@ namespace dbaui
the connection data which is used to init the control
*/
void Init(const TTableConnectionData::value_type& _pConnData);
- void lateUIInit(Window* _pTableSeparator = NULL);
+ void lateUIInit();
void lateInit();
+ void Disable();
+ void Invalidate();
+
sal_Bool SaveModified();
TTableWindowData::value_type getReferencingTable() const;