summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/RelationControl.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-13 14:42:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-13 16:24:15 +0000
commit07579ec100b9c03f547ed7c3706659bc7d43ce36 (patch)
tree3dba423ed04cb5f82738aef29ad0f426315af904 /dbaccess/source/ui/inc/RelationControl.hxx
parentcf561446e4779208ab571c9699d02d367f9c8ea0 (diff)
convert query join dialog to .ui format
Change-Id: I1de2bb1d171e23a42834e20040ade92822901876
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;