KDEUI
kshortcutschemeseditor.cpp
Go to the documentation of this file.
109 const QString newSchemeFileName = KShortcutSchemesHelper::applicationShortcutSchemeFileName(newName);
134 Note that this will not remove any system wide shortcut schemes.", currentScheme())) == KMessageBox::No)
162 QString exportTo = QFileDialog::getExistingDirectory(this, i18n("Export to Location"), //krazy:exclude=qclasses it is not possible to use KDirSelectDialog here because kfile links against kdeui; the dialog gets replaced anyway with the KDE one at runtime
171 KMessageBox::error(this, i18n("Could not export shortcuts scheme because the location is invalid."));
QString i18n(const char *text)
void setMenu(QMenu *menu)
Definition: kmessagebox.h:73
QString getExistingDirectory(QWidget *parent, const QString &caption, const QString &dir, QFlags< QFileDialog::Option > options)
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document...
Definition: kxmlguiclient.h:46
QDomNode appendChild(const QDomNode &newChild)
bool remove()
QString toString(int indent) const
KStandardDirs * dirs()
QString & remove(int position, int n)
QString currentPath()
KSharedConfigPtr config()
void setBuddy(QWidget *buddy)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
static void sorry(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
Display an "Sorry" dialog.
Definition: kmessagebox.cpp:904
bool isEmpty() const
void setMargin(int margin)
QString getText(const QString &caption, const QString &label, const QString &value, bool *ok, QWidget *parent, QValidator *validator, const QString &mask, const QString &whatsThis, const QStringList &completionList)
Static convenience function to get a string from the user.
Definition: kinputdialog.cpp:330
static int questionYesNo(QWidget *parent, const QString &text, const QString &caption=QString(), const KGuiItem &buttonYes=KStandardGuiItem::yes(), const KGuiItem &buttonNo=KStandardGuiItem::no(), const QString &dontAskAgainName=QString(), Options options=Notify)
Display a simple "question" dialog.
Definition: kmessagebox.cpp:353
void addStretch(int stretch)
const KComponentData & mainComponent()
QStringList findAllResources(const char *type, const QString &filter=QString(), SearchOptions options=NoSearchOptions) const
QDomElement createElement(const QString &tagName)
const KXMLGUIClient * parentGUIClient() const
The parent KXMLGUIClient, or null if not available.
Definition: kactioncollection.cpp:181
Dialog for configuration of KActionCollection and KGlobalAccel.
Definition: kshortcutsdialog.h:69
static void error(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
Display an "Error" dialog.
Definition: kmessagebox.cpp:818
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.