office-gobmx/sfx2/inc/templatedefaultview.hxx
Noel Grandin e9b5b299a5 Revert "clang-tidy bugprone-parent-virtual-call in sfx2"
This reverts commit 0f3b36bd27.

There are some odd things gone in with some of these changes that I do understand. Reverting until I have worked it out.

Change-Id: Ifa383ee7ed2db4f81e2b0ac593e652288a07514f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155596
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-08-13 14:03:44 +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: */