/* -*- 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/. */ #include QtInstanceDialog::QtInstanceDialog(QDialog* pDialog) : m_pDialog(pDialog) { } bool QtInstanceDialog::runAsync(std::shared_ptr const&, const std::function&) { return true; } bool QtInstanceDialog::runAsync(const std::shared_ptr&, const std::function&) { return true; } void QtInstanceDialog::collapse(weld::Widget*, weld::Widget*) {} void QtInstanceDialog::undo_collapse() {} void QtInstanceDialog::SetInstallLOKNotifierHdl(const Link&) { } int QtInstanceDialog::run() { return qtResponseTypeToVclResponseType(m_pDialog->exec()); } void QtInstanceDialog::response(int) {} void QtInstanceDialog::add_button(const OUString&, int, const OUString&) {} void QtInstanceDialog::set_modal(bool) {} bool QtInstanceDialog::get_modal() const { return true; } weld::Button* QtInstanceDialog::weld_widget_for_response(int) { return nullptr; } void QtInstanceDialog::set_default_response(int) {} weld::Container* QtInstanceDialog::weld_content_area() { return nullptr; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ office-6-0'>distro/cib/libreoffice-6-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author