Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / ui / inc / tpcompatibility.hxx
blob01d74f432307ceebea4c08b460b659a6806421e3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef __SC_TPCOMPATIBILITY_HXX__
11 #define __SC_TPCOMPATIBILITY_HXX__
13 #include <sfx2/tabdlg.hxx>
14 #include <vcl/fixed.hxx>
15 #include <vcl/lstbox.hxx>
17 class ScTpCompatOptions : public SfxTabPage
19 public:
20 using SfxTabPage::DeactivatePage;
22 static SfxTabPage* Create (Window* pParent, const SfxItemSet& rCoreAttrs);
24 virtual sal_Bool FillItemSet(SfxItemSet& rCoreAttrs);
25 virtual void Reset(const SfxItemSet& rCoreAttrs);
26 virtual int DeactivatePage(SfxItemSet* pSet = NULL);
28 private:
29 explicit ScTpCompatOptions(Window* pParent, const SfxItemSet& rCoreAttrs);
30 virtual ~ScTpCompatOptions();
32 private:
33 ListBox* m_pLbKeyBindings;
36 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */