summaryrefslogtreecommitdiffstats
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-05 19:37:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-07 17:55:05 +0200
commitaff306cdd05a7be14c6dd2a6826cc61d38463465 (patch)
treef64fff1e99941bd16886c6a4260ef06a3e4e0523 /include/svtools
parentdrop comment referencing ModalDialog (diff)
downloadcore-aff306cdd05a7be14c6dd2a6826cc61d38463465.tar.gz
core-aff306cdd05a7be14c6dd2a6826cc61d38463465.zip
SvSimpleTableContainer is now unused
Change-Id: I7762d95290a0b35de4f909895a4e28b52c436ed9 Reviewed-on: https://gerrit.libreoffice.org/80307 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/simptabl.hxx104
1 files changed, 0 insertions, 104 deletions
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx
deleted file mode 100644
index 23a52dd92ef0..000000000000
--- a/include/svtools/simptabl.hxx
+++ /dev/null
@@ -1,104 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef INCLUDED_SVTOOLS_SIMPTABL_HXX
-#define INCLUDED_SVTOOLS_SIMPTABL_HXX
-
-#include <svtools/svtdllapi.h>
-#include <vcl/headbar.hxx>
-#include <vcl/svtabbx.hxx>
-#include <unotools/collatorwrapper.hxx>
-
-class SvSimpleTable;
-class SVT_DLLPUBLIC SvSimpleTableContainer : public Control
-{
-private:
- VclPtr<SvSimpleTable> m_pTable;
-
-protected:
- virtual bool PreNotify( NotifyEvent& rNEvt ) override;
-
-public:
- SvSimpleTableContainer( vcl::Window* pParent, WinBits nBits );
- virtual ~SvSimpleTableContainer() override;
- virtual void dispose() override;
-
- void SetTable(SvSimpleTable* pTable);
- SvSimpleTable* GetTable();
-
- virtual void Resize() override;
-
- virtual void GetFocus() override;
-
- virtual FactoryFunction GetUITestFactory() const override;
-};
-
-class SVT_DLLPUBLIC SvSimpleTable : public SvHeaderTabListBox
-{
-private:
- SvSimpleTableContainer& m_rParentTableContainer;
-
- VclPtr<HeaderBar> aHeaderBar;
- long nOldPos;
- bool bPaintFlag;
- bool bSortDirection;
- sal_uInt16 nSortCol;
-
- const CollatorWrapper aCollator;
-
- DECL_LINK( StartDragHdl, HeaderBar*, void );
- DECL_LINK( DragHdl, HeaderBar*, void );
- DECL_LINK( EndDragHdl, HeaderBar*, void );
- DECL_LINK( HeaderBarClick, HeaderBar*, void );
- DECL_LINK( CompareHdl, const SvSortData&, sal_Int32 );
-
-protected:
-
- virtual void NotifyScrolled() override;
-
- virtual void SetTabs() override;
- virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
-
- void HBarClick();
- void HBarDrag();
- void HBarEndDrag();
-
- sal_Int32 ColCompare(SvTreeListEntry*,SvTreeListEntry*);
-public:
-
- SvSimpleTable(SvSimpleTableContainer& rParent, WinBits nBits = WB_BORDER);
- virtual ~SvSimpleTable() override;
- virtual void dispose() override;
-
- void UpdateViewSize();
-
- using SvHeaderTabListBox::SetTabs;
-
- void SortByCol(sal_uInt16, bool bDir=true);
- SvLBoxItem* GetEntryAtPos( SvTreeListEntry* pEntry, sal_uInt16 nPos ) const;
-
- bool IsFocusOnCellEnabled() const { return IsCellFocusEnabled(); }
-
- HeaderBar& GetTheHeaderBar() { return *aHeaderBar; }
-};
-
-
-#endif // INCLUDED_SVTOOLS_SIMPTABL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */