diff options
Diffstat (limited to 'dbaccess/source/ui/inc/TableConnection.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/TableConnection.hxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/dbaccess/source/ui/inc/TableConnection.hxx b/dbaccess/source/ui/inc/TableConnection.hxx index 5eb3429ce931..02519af26207 100644 --- a/dbaccess/source/ui/inc/TableConnection.hxx +++ b/dbaccess/source/ui/inc/TableConnection.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -48,12 +48,12 @@ namespace dbaui DBG_NAMEEX(OTableConnection) class OTableConnection : public Window { - ::std::vector<OConnectionLine*> m_vConnLine; - TTableConnectionData::value_type + ::std::vector<OConnectionLine*> m_vConnLine; + TTableConnectionData::value_type m_pData; - OJoinTableView* m_pParent; + OJoinTableView* m_pParent; - BOOL m_bSelected; + BOOL m_bSelected; void Init(); /** clearLineData loops through the vector and deletes all lines @@ -73,35 +73,35 @@ namespace dbaui virtual ~OTableConnection(); OTableConnection& operator=( const OTableConnection& rConn ); + - - void Select(); - void Deselect(); - BOOL IsSelected() const { return m_bSelected; } - BOOL CheckHit( const Point& rMousePos ) const; - bool InvalidateConnection(); - void UpdateLineList(); + void Select(); + void Deselect(); + BOOL IsSelected() const { return m_bSelected; } + BOOL CheckHit( const Point& rMousePos ) const; + bool InvalidateConnection(); + void UpdateLineList(); OTableWindow* GetSourceWin() const; OTableWindow* GetDestWin() const; bool RecalcLines(); /** isTableConnection - @param _pTable the table where we should check if we belongs to it + @param _pTable the table where we should check if we belongs to it - @return true when the source or the destination window are equal + @return true when the source or the destination window are equal */ bool isTableConnection(const OTableWindow* _pTable) { return (_pTable == GetSourceWin() || _pTable == GetDestWin()); } - Rectangle GetBoundingRect() const; + Rectangle GetBoundingRect() const; - inline TTableConnectionData::value_type GetData() const { return m_pData; } + inline TTableConnectionData::value_type GetData() const { return m_pData; } const ::std::vector<OConnectionLine*>* GetConnLineList() const { return &m_vConnLine; } - inline OJoinTableView* GetParent() const { return m_pParent; } - virtual void Draw( const Rectangle& rRect ); + inline OJoinTableView* GetParent() const { return m_pParent; } + virtual void Draw( const Rectangle& rRect ); using Window::Draw; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible(); }; |