• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

Functions
KuitFormats Namespace Reference

Functions

QString toInterfacePath (const QString &inpstr, const QString &delim)
 
QString toKeyCombo (const QString &shstr, const QString &delim, const QHash< QString, QString > &keydict)
 

Function Documentation

QString KuitFormats::toInterfacePath ( const QString &  inpstr,
const QString &  delim 
)

Reformat GUI element path.

Consider the first encountered of '/', '|' or "->" as path delimiter, and replace them with the supplied delimiter.

Parameters
inpstrraw interface path string
delimreplacement path delimiter
Returns
path in proper format

Definition at line 59 of file kuitformats.cpp.

QString KuitFormats::toKeyCombo ( const QString &  shstr,
const QString &  delim,
const QHash< QString, QString > &  keydict 
)

Reformat keyboard shortcut.

The first of encountered of '+' or '-' is taken for key delimiter, and the supplied delimiter is used instead. A dictionary of replacement key names can also be provided, which can be used for localization of the key names.

Parameters
shstrraw shortcut string
delimreplacement delimiter for keys
keydictreplacement dictionary of key names
Returns
shortcut in proper format

Definition at line 29 of file kuitformats.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal