File indexing completed on 2024-05-05 17:34:27

0001 /*
0002     SPDX-FileCopyrightText: 2013 Daniel Vrátil <dvratil@redhat.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #ifndef KSCREEN_KCM_UTILS_H
0008 #define KSCREEN_KCM_UTILS_H
0009 
0010 #include <QSize>
0011 #include <QString>
0012 
0013 #include <kscreen/output.h>
0014 #include <kscreen/types.h>
0015 
0016 namespace Utils
0017 {
0018 QString outputName(const KScreen::Output *output, bool shouldShowSerialNumber = false, bool shouldShowConnector = false);
0019 QString outputName(const KScreen::OutputPtr &output, bool shouldShowSerialNumber = false, bool shouldShowConnector = false);
0020 
0021 QString sizeToString(const QSize &size);
0022 }
0023 
0024 #endif