Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
This file is part of the KDE libraries
|
||||
SPDX-FileCopyrightText: 2000 Simon Hausmann <hausmann@kde.org>
|
||||
SPDX-FileCopyrightText: 2000 Kurt Granroth <granroth@kde.org>
|
||||
SPDX-FileCopyrightText: 2007 David Faure <faure@kde.org>
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef KXMLGUIVERSIONHANDLER_P_H
|
||||
#define KXMLGUIVERSIONHANDLER_P_H
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* Helper class for KXMLGUIClient::setXMLFile
|
||||
* Finds the xml file with the largest version number and takes
|
||||
* care of keeping user settings (from the most local file)
|
||||
* like action shortcuts or toolbar customizations.
|
||||
*
|
||||
* This is about handling upgrades (a new version of the application
|
||||
* has been installed, with a new xmlgui file, and the user might have
|
||||
* a local modified version of an older xmlgui file).
|
||||
*/
|
||||
class KXmlGuiVersionHandler
|
||||
{
|
||||
public:
|
||||
explicit KXmlGuiVersionHandler(const QStringList &files);
|
||||
|
||||
QString finalFile() const
|
||||
{
|
||||
return m_file;
|
||||
}
|
||||
QString finalDocument() const
|
||||
{
|
||||
return m_doc;
|
||||
}
|
||||
|
||||
private:
|
||||
QString m_file;
|
||||
QString m_doc;
|
||||
};
|
||||
|
||||
#endif /* KXMLGUIVERSIONHANDLER_P_H */
|
||||
Reference in New Issue
Block a user