diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-06-27 07:23:50 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-06-27 07:23:50 +0000 |
commit | 6ad8d456a90179e8cc5351f52822c9a5e9a3e70c (patch) | |
tree | 5fe868240499362c8098d8f82eb072bfc6694a89 /dbaccess/source/ui/querydesign/QTableWindow.hxx | |
parent | 0bdd3e75dabde387bca2034b02ae4899d22502e1 (diff) |
#96325# new methods to handle userdata correctly
Diffstat (limited to 'dbaccess/source/ui/querydesign/QTableWindow.hxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/QTableWindow.hxx | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/dbaccess/source/ui/querydesign/QTableWindow.hxx b/dbaccess/source/ui/querydesign/QTableWindow.hxx index 8cb7aba8a731..97555cd61e15 100644 --- a/dbaccess/source/ui/querydesign/QTableWindow.hxx +++ b/dbaccess/source/ui/querydesign/QTableWindow.hxx @@ -2,9 +2,9 @@ * * $RCSfile: QTableWindow.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: oj $ $Date: 2001-10-05 06:49:18 $ + * last change: $Author: oj $ $Date: 2002-06-27 08:21:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -106,14 +106,27 @@ namespace dbaui protected: virtual void KeyInput( const KeyEvent& rEvt ); - // wird im ERSTEN Init aufgerufen - virtual BOOL FillListBox(); - // wird in JEDEM Init aufgerufen - virtual void EmptyListBox(); - // ListBox definiert leeren - virtual void OnEntryDoubleClicked(SvLBoxEntry* pEntry); // wird aus dem DoubleClickHdl der ListBox heraus aufgerufen + /** delete the user data with the equal type as created within createUserData + @param _pUserData + The user data store in the listbox entries. Created with a call to createUserData. + _pUserData may be <NULL/>. + */ + virtual void deleteUserData(void*& _pUserData); + + /** creates user information that will be append at the ListBoxentry + @param _xColumn + The corresponding column, can be <NULL/>. + @param _bPrimaryKey + <TRUE/> when the column belongs to the primary key + @return + the user data which will be append at the listbox entry, may be <NULL/> + */ + virtual void* createUserData(const ::com::sun::star::uno::Reference< + ::com::sun::star::beans::XPropertySet>& _xColumn, + bool _bPrimaryKey); + }; } #endif // DBAUI_QUERY_TABLEWINDOW_HXX |