Bump version to 6.4-15
[LibreOffice.git] / include / vcl / jsdialog / executor.hxx
blob1cfa24c28a8a87f94168d7a83b4ae9ff4a3f14ae
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 #pragma once
12 #include <vcl/dllapi.h>
13 #include <vcl/uitest/uiobject.hxx>
14 #include <vcl/weld.hxx>
16 class LOKTrigger
18 public:
19 static void trigger_changed(weld::TextView& rView) { rView.signal_changed(); }
21 static void trigger_changed(weld::Entry& rEdit) { rEdit.signal_changed(); }
23 static void trigger_changed(weld::ComboBox& rComboBox) { rComboBox.signal_changed(); }
25 static void trigger_clicked(weld::Toolbar& rToolbar, const OString& rIdent)
27 rToolbar.signal_clicked(rIdent);
30 static void trigger_click(weld::DrawingArea& rDrawingArea, const Point& rPos)
32 rDrawingArea.click(rPos);
36 namespace jsdialog
38 VCL_DLLPUBLIC bool ExecuteAction(sal_uInt64 nWindowId, const OString& rWidget, StringMap& rData);
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */