kkeydialog.h
72 KKeyChooser( TQWidget* parent, ActionType type = Application, bool bAllowLetterShortcuts = true );
84 KKeyChooser( TDEShortcutList*, TQWidget* parent, ActionType type = Application, bool bAllowLetterShortcuts = true );
130 static bool checkGlobalShortcutsConflict( const TDEShortcut& cut, bool warnUser, TQWidget* parent );
145 static bool checkStandardShortcutsConflict( const TDEShortcut& cut, bool warnUser, TQWidget* parent );
183 bool isKeyPresentLocally( const TDEShortcut& cut, KKeyChooserItem* ignoreItem, const TQString& warnText );
193 void slotListItemDoubleClicked ( TQListViewItem * ipoQListViewItem, const TQPoint & ipoQPoint, int c );
208 bool isKeyPresentLocally( const TDEShortcut& cut, KKeyChooserItem* ignoreItem, bool bWarnUser );
209 static bool promptForReassign( const KKeySequence& cut, const TQString& sAction, ActionType action, TQWidget* parent );
212 static void removeStandardShortcut( const TQString& name, KKeyChooser* chooser, const TDEShortcut &origCut, const TDEShortcut &cut );
215 static void removeGlobalShortcut( const TQString& name, KKeyChooser* chooser, const TDEShortcut &origCut, const TDEShortcut &cut );
217 static bool checkGlobalShortcutsConflict( const TDEShortcut& cut, bool bWarnUser, TQWidget* parent,
335 static int configure( TDEActionCollection* coll, TQWidget* parent = 0, bool bSaveSettings = true );
362 static int configure( TDEActionCollection* coll, bool bAllowLetterShortcuts, TQWidget* parent = 0, bool bSaveSettings = true ); // BCI: merge with bAllowLetterShortcuts = true
368 static int configure( TDEAccel* keys, bool bAllowLetterShortcuts, TQWidget* parent = 0, bool bSaveSettings = true ); // BCI: merge with bAllowLetterShortcuts = true
374 static int configure( TDEGlobalAccel* keys, bool bAllowLetterShortcuts, TQWidget* parent = 0, bool bSaveSettings = true ); // BCI: merge with bAllowLetterShortcuts = true
380 static TDE_DEPRECATED int configureKeys( TDEAccel* keys, bool save_settings = true, TQWidget* parent = 0 )
386 static TDE_DEPRECATED int configureKeys( TDEGlobalAccel* keys, bool save_settings = true, TQWidget* parent = 0 )
392 static TDE_DEPRECATED int configureKeys( TDEActionCollection* coll, const TQString& /*xmlfile*/,
397 KKeyDialog( KKeyChooser::ActionType, bool bAllowLetterShortcuts = true, TQWidget* parent = 0, const char* name = 0 );
KDialogBase(TQWidget *parent=0, const char *name=0, bool modal=true, const TQString &caption=TQString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem())
Constructor for the standard mode where you must specify the main widget with setMainWidget() .
Definition kdialogbase.cpp:99
KKeyChooser(TQWidget *parent, ActionType type=Application, bool bAllowLetterShortcuts=true)
Constructor.
Definition kkeydialog.cpp:154
static bool checkGlobalShortcutsConflict(const TDEShortcut &cut, bool warnUser, TQWidget *parent)
Checks whether the given shortcut conflicts with global keyboard shortcuts.
Definition kkeydialog.cpp:849
void commitChanges()
This function writes any shortcut changes back to the original action set(s).
Definition kkeydialog.cpp:273
static bool checkStandardShortcutsConflict(const TDEShortcut &cut, bool warnUser, TQWidget *parent)
Checks whether the given shortcut conflicts with standard keyboard shortcuts.
Definition kkeydialog.cpp:831
void setPreferFourModifierKeys(bool preferFourModifierKeys)
Specifies whether to use the 3 or 4 modifier key scheme.
Definition kkeydialog.cpp:647
Dialog for configuration of TDEActionCollection, TDEAccel, and TDEGlobalAccel.
Definition kkeydialog.h:275
static TDE_DEPRECATED int configureKeys(TDEGlobalAccel *keys, bool save_settings=true, TQWidget *parent=0)
Definition kkeydialog.h:386
static TDE_DEPRECATED int configureKeys(TDEActionCollection *coll, const TQString &, bool save_settings=true, TQWidget *parent=0)
Definition kkeydialog.h:392
KKeyDialog(bool bAllowLetterShortcuts=true, TQWidget *parent=0, const char *name=0)
Constructs a KKeyDialog called name as a child of parent.
Definition kkeydialog.cpp:1102
void commitChanges()
Commit key setting changes so that changed settings actually become active.
Definition kkeydialog.cpp:1142
static TDE_DEPRECATED int configureKeys(TDEAccel *keys, bool save_settings=true, TQWidget *parent=0)
Definition kkeydialog.h:380
bool configure(bool bSaveSettings=true)
Run the dialog and call commitChanges() if bSaveSettings is true.
Definition kkeydialog.cpp:1130
Trinity API Reference