summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-26 16:53:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-27 11:22:49 +0100
commit082e69fefb7439fd4f3d543f0c402039e94c1e9c (patch)
tree8348cacdc54a15dae722b93fc198995756924fc0 /include
parentf41a08183504a59d6ffc7a00ed7f24e6b19995ab (diff)
convert various MessBox to weld::MessageDialog
Change-Id: I4d2d0393c753114aeb9bb7e646dfdc810f6caa38 Reviewed-on: https://gerrit.libreoffice.org/50398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/prtqry.hxx33
-rw-r--r--include/vcl/weld.hxx5
2 files changed, 1 insertions, 37 deletions
diff --git a/include/svx/prtqry.hxx b/include/svx/prtqry.hxx
deleted file mode 100644
index a2f4e9298262..000000000000
--- a/include/svx/prtqry.hxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/* -*- 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_SVX_PRTQRY_HXX
-#define INCLUDED_SVX_PRTQRY_HXX
-
-#include <vcl/msgbox.hxx>
-#include <svx/svxdllapi.h>
-
-class SVX_DLLPUBLIC SvxPrtQryBox : public MessBox
-{
-public:
- SvxPrtQryBox(vcl::Window* pParent);
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 5c87a005fe61..4b7887e1c45a 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -45,6 +45,7 @@ public:
virtual int get_text_height() const = 0;
virtual Size get_pixel_size(const OUString& rText) const = 0;
virtual OString get_buildable_name() const = 0;
+ virtual void set_help_id(const OString& rName) = 0;
virtual OString get_help_id() const = 0;
virtual Container* weld_parent() const = 0;
@@ -492,10 +493,6 @@ public:
virtual TextView* weld_text_view(const OString& id, bool bTakeOwnership = false) = 0;
virtual Entry* weld_entry(const OString& id, bool bTakeOwnership = false) = 0;
virtual DrawingArea* weld_drawing_area(const OString& id, bool bTakeOwnership = false) = 0;
- OString get_help_id(const Widget& rWidget) const
- {
- return m_sHelpRoot + rWidget.get_buildable_name();
- }
virtual ~Builder() {}
};
}