summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2018-07-05 11:45:45 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-07-09 15:33:18 +0200
commit1bb7761b0aa0c7c62806ccf8a8fde365d640cb37 (patch)
treebf8dc375cc3981429a223f9de4ecffabb5f83159 /vcl/inc
parent5f33fa5ded2bb168a51f2b6f8e42a1373d15a0ac (diff)
Basic Qt5 system display data
copied from dummy headless implementation Change-Id: I1b184745627acd065b4c0cc54f044c47ec980c93
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/qt5/Qt5System.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/vcl/inc/qt5/Qt5System.hxx b/vcl/inc/qt5/Qt5System.hxx
new file mode 100644
index 000000000000..fbc753757b36
--- /dev/null
+++ b/vcl/inc/qt5/Qt5System.hxx
@@ -0,0 +1,27 @@
+/* -*- 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 <vcl/sysdata.hxx>
+#include <unx/gensys.h>
+
+class Qt5System : public SalGenericSystem
+{
+public:
+ Qt5System();
+ virtual ~Qt5System() override;
+
+ virtual unsigned int GetDisplayScreenCount() override;
+ virtual tools::Rectangle GetDisplayScreenPosSizePixel(unsigned int nScreen) override;
+ virtual int ShowNativeDialog(const OUString& rTitle, const OUString& rMessage,
+ const std::vector<OUString>& rButtons) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */