summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/querycontroller.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-10-05 05:49:21 +0000
committerOcke Janssen <oj@openoffice.org>2001-10-05 05:49:21 +0000
commitfae21d7716cc82db12c60bfe9af89334ebc76822 (patch)
tree6be0fd39c973d09b73db1c624b51b5af5dfc0a5d /dbaccess/source/ui/inc/querycontroller.hxx
parentc6a9bd9316bc0853f5c16693de8a86ee8cc849d4 (diff)
#68216# save information for unused fields
Diffstat (limited to 'dbaccess/source/ui/inc/querycontroller.hxx')
-rw-r--r--dbaccess/source/ui/inc/querycontroller.hxx21
1 files changed, 14 insertions, 7 deletions
diff --git a/dbaccess/source/ui/inc/querycontroller.hxx b/dbaccess/source/ui/inc/querycontroller.hxx
index 6afbb12ebb7e..959356dde98a 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.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: oj $ $Date: 2001-10-01 11:57:41 $
+ * last change: $Author: oj $ $Date: 2001-10-05 06:49:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -103,7 +103,9 @@
#ifndef DBAUI_QUERYCONTAINERWINDOW_HXX
#include "querycontainerwindow.hxx"
#endif
-
+#ifndef DBAUI_TABLEFIELDDESC_HXX
+#include "TableFieldDescription.hxx"
+#endif
class VCLXWindow;
namespace dbaui
@@ -115,9 +117,11 @@ namespace dbaui
class OAddTableDlg;
class OTableFieldDesc;
class OQueryTableWindow;
+
class OQueryController : public OJoinController
{
- ::std::vector<OTableFieldDesc*> m_vTableFieldDesc;
+ OTableFields m_vTableFieldDesc;
+ OTableFields m_vUnUsedFieldsDesc; // contains fields which aren't visible and don't have any criteria
OQueryParseContext* m_pParseContext;
::connectivity::OSQLParser* m_pSqlParser; // to parse sql statements
@@ -161,9 +165,9 @@ namespace dbaui
virtual FeatureState GetState(sal_uInt16 nId);
// execute a feature
virtual void Execute(sal_uInt16 nId);
- virtual ToolBox* CreateToolBox(Window* pParent);
+ virtual ToolBox* CreateToolBox(Window* pParent);
- virtual void reconnect( sal_Bool _bUI );
+ virtual void reconnect( sal_Bool _bUI );
OQueryContainerWindow* getContainer() { return static_cast< OQueryContainerWindow* >( getView() ); }
@@ -172,7 +176,10 @@ namespace dbaui
OQueryController(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rM);
~OQueryController();
- ::std::vector<OTableFieldDesc*>* getTableFieldDesc() { return &m_vTableFieldDesc; }
+ OTableFields& getTableFieldDesc() { return m_vTableFieldDesc; }
+ OTableFields& getUnUsedFields() { return m_vUnUsedFieldsDesc; }
+
+ void clearFields();
virtual void setModified(sal_Bool _bModified=sal_True);