1 /* 2 SPDX-FileCopyrightText: 2007 Nicolas Ternisien <nicolas.ternisien@gmail.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #include "xorgConfiguration.h" 8 XorgConfiguration()9XorgConfiguration::XorgConfiguration() 10 { 11 mConfiguration->setCurrentGroup(QStringLiteral("XorgLogMode")); 12 13 const QStringList defaultXorgPaths{QStringLiteral("/var/log/Xorg.0.log")}; 14 mConfiguration->addItemStringList(QStringLiteral("LogFilesPaths"), mXorgPaths, defaultXorgPaths, QStringLiteral("LogFilesPaths")); 15 } 16 ~XorgConfiguration()17XorgConfiguration::~XorgConfiguration() 18 { 19 } 20 xorgPaths() const21QStringList XorgConfiguration::xorgPaths() const 22 { 23 return mXorgPaths; 24 } 25 setXorgPaths(const QStringList & xorgPaths)26void XorgConfiguration::setXorgPaths(const QStringList &xorgPaths) 27 { 28 mXorgPaths = xorgPaths; 29 } 30