office-gobmx/sfx2/inc/templatedefaultview.hxx
Noel Grandin 5a0e9dd75e loplugin:finalclasses in sfx2
Change-Id: I8125d5447e13a6dadfde9c19c8cab6004693589a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117789
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-06-25 12:25:34 +02:00

29 lines
862 B
C++

/* -*- 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/.
*/
#pragma once
#include <sfx2/templatelocalview.hxx>
class TemplateDefaultView final : public TemplateLocalView
{
public:
TemplateDefaultView(std::unique_ptr<weld::ScrolledWindow> xWindow,
std::unique_ptr<weld::Menu> xMenu);
virtual void showAllTemplates() override;
virtual bool KeyInput(const KeyEvent& rKEvt) override;
virtual bool MouseButtonDown(const MouseEvent& rMEvt) override;
void createContextMenu();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */