/* -*- 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_UUI_SOURCE_NAMECLASHDLG_HXX #define INCLUDED_UUI_SOURCE_NAMECLASHDLG_HXX #include #include #include #include enum NameClashResolveDialogResult { ABORT, RENAME, OVERWRITE }; class NameClashDialog : public ModalDialog { FixedText maFTMessage; Edit maEDNewName; PushButton maBtnOverwrite; PushButton maBtnRename; CancelButton maBtnCancel; HelpButton maBtnHelp; OUString maSameName; OUString maNewName; DECL_LINK( ButtonHdl_Impl, PushButton * ); public: NameClashDialog( Window* pParent, ResMgr* pResMgr, OUString const & rTargetFolderURL, OUString const & rClashingName, OUString const & rProposedNewName, bool bAllowOverwrite ); OUString getNewName() const { return maNewName; } }; #endif // UUI_COOKIEDG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ alue='distro/cib/libreoffice-6-3'>distro/cib/libreoffice-6-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-01-08cool#7492 sfx2 lok: fix bad view id / statusbar string on async binding updateMiklos Vajna
2023-12-21Remove DeleteItemOnIdlexArmin Le Grand (allotropia)
2023-03-18loplugin:stringadd use more O[U]StringCharNoel Grandin
2022-03-14add TypedWhichId version of QueryStateNoel Grandin
2022-02-18sfx2: introduce SfxBindings::QuerySlotIdHenry Castro
2021-07-01can pass this SfxItemSet around on the stackNoel Grandin
2021-06-19loplugin:finalclassesNoel Grandin
2020-08-13use unique_ptr in SfxBindings_ImplNoel Grandin
2020-04-06lok: introduce QueryControlState functionHenry Castro
2019-08-24loplugin:returnconstval in sfx2Noel Grandin
2019-03-25tdf#42949 Fix IWYU warnings in include/sfx2/[a-D]*Gabor Kelemen
2018-12-20use unique_ptr in sfx2Noel Grandin
2018-12-05remove unused SfxCallMode enum valueNoel Grandin
2018-05-22Bin noise commentsTor Lillqvist