#include <kshortcutschemeshelper_p.h>
Definition at line 16 of file kshortcutschemeshelper_p.h.
◆ saveShortcutScheme()
| static bool KisKShortcutSchemesHelper::saveShortcutScheme |
( |
| ) |
|
|
static |
◆ schemeFileLocations()
| QHash< QString, QString > KisKShortcutSchemesHelper::schemeFileLocations |
( |
| ) |
|
|
static |
- Returns
- a list of files to save the shortcut scheme to. Does not include "Default"
- See also
- shortcutSchemeFileName, exportActionCollection
Definition at line 32 of file kshortcutschemeshelper.cpp.
33{
35 schemes << QString("Default");
38 Q_FOREACH (const QString &file, shortcutFiles) {
39 QFileInfo fileInfo(file);
40 QString schemeName = fileInfo.completeBaseName();
41 if (!schemes.contains(schemeName)) {
42 schemes << schemeName;
44 }
45 }
47}
static QHash< QString, QString > schemeFileLocations()
static QStringList findAllAssets(const QString &type, const QString &filter=QString(), SearchOptions options=NoSearchOptions)
References KoResourcePaths::findAllAssets(), and schemeFileLocations().
◆ shortcutSchemeFileName()
| QString KisKShortcutSchemesHelper::shortcutSchemeFileName |
( |
const QString & | schemeName | ) |
|
|
static |
The documentation for this class was generated from the following files: