diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-08-23 13:23:57 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-08-23 13:23:57 +0000 |
commit | 861135949d799aa6df54fcf2e74f059929f0b6cc (patch) | |
tree | 75d83b9fb0ad38f8fdce6a371070fd061e106251 /dbaccess/source/ui/inc/querycontroller.hxx | |
parent | f1b678836abfc75b6b278e29b187c678d2bce65b (diff) |
#88637# changes in the window hierarchy of the query design - no the SQL view has a toolbox separator, too
Diffstat (limited to 'dbaccess/source/ui/inc/querycontroller.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/querycontroller.hxx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dbaccess/source/ui/inc/querycontroller.hxx b/dbaccess/source/ui/inc/querycontroller.hxx index 5fff4918c62e..77ccffab04ff 100644 --- a/dbaccess/source/ui/inc/querycontroller.hxx +++ b/dbaccess/source/ui/inc/querycontroller.hxx @@ -2,9 +2,9 @@ * * $RCSfile: querycontroller.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: fs $ $Date: 2001-08-14 11:54:31 $ + * last change: $Author: fs $ $Date: 2001-08-23 14:23:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -100,6 +100,9 @@ #ifndef DBAUI_QUERYDESIGNCONTEXT_HXX #include "ParseContext.hxx" #endif +#ifndef DBAUI_QUERYCONTAINERWINDOW_HXX +#include "querycontainerwindow.hxx" +#endif class VCLXWindow; @@ -130,8 +133,6 @@ namespace dbaui ::rtl::OUString m_sUpdateTableName; // table for update data ::rtl::OUString m_sName; // name of the query - OQueryContainerWindow* m_pWindow; // temporary window - sal_Int32 m_nVisibleRows; // which rows the selection browse should show sal_Int32 m_nSplitPos; // the position of the splitter sal_Bool m_bDesign; // if design is true then we show the complete design otherwise only the text format @@ -162,17 +163,17 @@ namespace dbaui virtual void Execute(sal_uInt16 nId); virtual ToolBox* CreateToolBox(Window* pParent); - OQueryView* getQueryView() { return static_cast<OQueryView*>(m_pView); } virtual void reconnect( sal_Bool _bUI ); + + OQueryContainerWindow* getContainer() { return static_cast< OQueryContainerWindow* >( getView() ); } + public: OQueryController(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rM); ~OQueryController(); ::std::vector<OTableFieldDesc*>* getTableFieldDesc() { return &m_vTableFieldDesc; } - virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > getComponentWindow(); - virtual void setModified(sal_Bool _bModified=sal_True); // should the statement be parsed by our own sql parser @@ -223,6 +224,7 @@ namespace dbaui protected: virtual OTableWindowData* createTableWindowData(); + virtual OJoinDesignView* getJoinView(); }; } #endif // DBAUI_QUERYCONTROLLER_HXX |