KDEUI
kshortcutsdialog.cpp
Go to the documentation of this file.
67 i18n("The current shortcut scheme is modified. Save before switching to the new one?")) == KMessageBox::Yes) {
119KShortcutsDialog::KShortcutsDialog( KShortcutsEditor::ActionTypes types, KShortcutsEditor::LetterShortcuts allowLetterShortcuts, QWidget *parent )
186int KShortcutsDialog::configure(KActionCollection *collection, KShortcutsEditor::LetterShortcuts allowLetterShortcuts,
const KXMLGUIClient * parentGUIClient() const
The parent KXMLGUIClient, or null if not available.
Definition kactioncollection.cpp:181
Persistent
Global
void setButtonIcon(ButtonCode id, const KIcon &icon)
Sets the icon of any button.
Definition kdialog.cpp:742
void setButtons(ButtonCodes buttonMask)
Creates (or recreates) the button box and all the buttons in it.
Definition kdialog.cpp:206
@ Details
Show Details button. (this button will show the detail widget set with setDetailsWidget)
Definition kdialog.h:149
@ Ok
Show Ok button. (this button accept()s the dialog; result set to QDialog::Accepted)
Definition kdialog.h:141
@ Cancel
Show Cancel-button. (this button reject()s the dialog; result set to QDialog::Rejected)
Definition kdialog.h:144
void setButtonText(ButtonCode id, const QString &text)
Sets the text of any button.
Definition kdialog.cpp:719
void setDetailsWidget(QWidget *detailsWidget)
Sets the widget that gets shown when "Details" is enabled.
Definition kdialog.cpp:806
virtual void setCaption(const QString &caption)
Make a KDE compliant caption.
Definition kdialog.cpp:469
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
Dialog for configuration of KActionCollection and KGlobalAccel.
Definition kshortcutsdialog.h:70
friend class KShortcutsDialogPrivate
Definition kshortcutsdialog.h:139
KShortcutsDialog(KShortcutsEditor::ActionTypes types=KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcuts allowLetterShortcuts=KShortcutsEditor::LetterShortcutsAllowed, QWidget *parent=0)
Constructs a KShortcutsDialog as a child of parent.
Definition kshortcutsdialog.cpp:119
QList< KActionCollection * > actionCollections() const
Definition kshortcutsdialog.cpp:160
bool configure(bool saveSettings=true)
Run the dialog and call writeSettings() on the action collections that were added if bSaveSettings is...
Definition kshortcutsdialog.cpp:166
void addCollection(KActionCollection *, const QString &title=QString())
Add all actions of the collection to the ones displayed and configured by the dialog.
Definition kshortcutsdialog.cpp:153
Widget for configuration of KAccel and KGlobalAccel.
Definition kshortcutseditor.h:61
void clearCollections()
Removes all action collections from the editor.
Definition kshortcutseditor.cpp:94
void addCollection(KActionCollection *, const QString &title=QString())
Insert an action collection, i.e.
Definition kshortcutseditor.cpp:102
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition kxmlguiclient.h:47
KXMLGUIFactory * factory() const
Retrieves a pointer to the KXMLGUIFactory this client is associated with (will return 0 if the client...
Definition kxmlguiclient.cpp:602
void setXMLGUIBuildDocument(const QDomDocument &doc)
Definition kxmlguiclient.cpp:587
KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create a GUI of container widgets...
Definition kxmlguifactory.h:66
void changeShortcutScheme(const QString &scheme)
Definition kxmlguifactory.cpp:397
#define kDebug
QString i18n(const char *text)
KSharedConfigPtr config()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.