Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
825 B
Raw Blame
/* This file is part of the KDE libraries
    SPDX-FileCopyrightText: 2008 Alexander Dymo <[email protected]>

    SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KSHORTCUTSCHEMESHELPER_P_H
#define KSHORTCUTSCHEMESHELPER_P_H

#include <QString>
#include <QHash>

class KisKActionCollection;
class KisKXMLGUIClient;
class KConfigBase;

class KisKShortcutSchemesHelper
{
public:

    /**
     * @return the name of the (writable) file to save the shortcut scheme to.
     */
    static QString shortcutSchemeFileName(const QString &schemeName);

    static bool saveShortcutScheme();

    /**
     * @return a list of files to save the shortcut scheme to. Does not include "Default"
     * @see shortcutSchemeFileName, exportActionCollection
     */
    static QHash<QString, QString> schemeFileLocations();

};

#endif