• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
Note: This is a reduced mirror of the KDE API documentation hosted by Michael Pyne.
 

KDEUI

KShortcutsEditorPrivate Class Reference

This class should belong into kshortcutseditor.cpp. More...

#include <kshortcutsdialog_p.h>

List of all members.


Public Types

enum  hierarchyLevel { Root = 0, Program, Action }

Public Member Functions

bool addAction (QAction *action, QTreeWidgetItem *hier[], hierarchyLevel level)
void allDefault ()
void appendToView (uint nList, const QString &title=QString())
void capturedShortcut (const QVariant &, const QModelIndex &)
void changeKeyShortcut (KShortcutsEditorItem *item, uint column, const QKeySequence &capture)
void changeRockerGesture (KShortcutsEditorItem *item, const KRockerGesture &capture)
void changeShapeGesture (KShortcutsEditorItem *item, const KShapeGesture &capture)
void clearConfiguration ()
QTreeWidgetItem * findOrMakeItem (QTreeWidgetItem *parent, const QString &name)
void importConfiguration (KConfigBase *config)
void initGUI (KShortcutsEditor::ActionTypes actionTypes, KShortcutsEditor::LetterShortcuts allowLetterShortcuts)
 KShortcutsEditorPrivate (KShortcutsEditor *q)
void printShortcuts () const
bool stealRockerGesture (KShortcutsEditorItem *item, const KRockerGesture &gest)
bool stealShapeGesture (KShortcutsEditorItem *item, const KShapeGesture &gest)

Static Public Member Functions

static KShortcutsEditorItem * itemFromIndex (QTreeWidget *const w, const QModelIndex &index)

Public Attributes

QList< KActionCollection * > actionCollections
KShortcutsEditor::ActionTypes actionTypes
KShortcutsEditorDelegate * delegate
KShortcutsEditor * q
Ui::KShortcutsDialog ui

Detailed Description

This class should belong into kshortcutseditor.cpp.

But kshortcutseditordelegate uses a static function of this class. So for now it's here. But i will remove it later.

For internal use only.

Definition at line 347 of file kshortcutsdialog_p.h.


Member Enumeration Documentation

enum KShortcutsEditorPrivate::hierarchyLevel

Represents the three hierarchies the dialog handles.

Enumerator:
Root 
Program 
Action 

Definition at line 383 of file kshortcutsdialog_p.h.


Constructor & Destructor Documentation

KShortcutsEditorPrivate::KShortcutsEditorPrivate ( KShortcutsEditor *  q  ) 

Definition at line 285 of file kshortcutseditor.cpp.


Member Function Documentation

bool KShortcutsEditorPrivate::addAction ( QAction *  action,
QTreeWidgetItem *  hier[],
hierarchyLevel  level 
)

Add action at level.

Checks for QActions and unnamed actions before adding.

Returns:
true if the actions was really added, false if not

Definition at line 332 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::allDefault (  ) 

Definition at line 354 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::appendToView ( uint  nList,
const QString &  title = QString() 
)

void KShortcutsEditorPrivate::capturedShortcut ( const QVariant &  newShortcut,
const QModelIndex &  index 
)

Definition at line 409 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::changeKeyShortcut ( KShortcutsEditorItem *  item,
uint  column,
const QKeySequence &  capture 
)

Definition at line 427 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::changeRockerGesture ( KShortcutsEditorItem *  item,
const KRockerGesture &  capture 
)

Definition at line 475 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::changeShapeGesture ( KShortcutsEditorItem *  item,
const KShapeGesture &  capture 
)

Definition at line 441 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::clearConfiguration (  ) 

Definition at line 504 of file kshortcutseditor.cpp.

QTreeWidgetItem * KShortcutsEditorPrivate::findOrMakeItem ( QTreeWidgetItem *  parent,
const QString &  name 
)

Definition at line 393 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::importConfiguration ( KConfigBase *  config  ) 

Definition at line 524 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::initGUI ( KShortcutsEditor::ActionTypes  actionTypes,
KShortcutsEditor::LetterShortcuts  allowLetterShortcuts 
)

Definition at line 290 of file kshortcutseditor.cpp.

KShortcutsEditorItem * KShortcutsEditorPrivate::itemFromIndex ( QTreeWidget *const   w,
const QModelIndex &  index 
) [static]

Definition at line 382 of file kshortcutseditor.cpp.

void KShortcutsEditorPrivate::printShortcuts (  )  const

Definition at line 614 of file kshortcutseditor.cpp.

bool KShortcutsEditorPrivate::stealRockerGesture ( KShortcutsEditorItem *  item,
const KRockerGesture &  gest 
)

Definition at line 580 of file kshortcutseditor.cpp.

bool KShortcutsEditorPrivate::stealShapeGesture ( KShortcutsEditorItem *  item,
const KShapeGesture &  gest 
)

Definition at line 564 of file kshortcutseditor.cpp.


Member Data Documentation

QList<KActionCollection *> KShortcutsEditorPrivate::actionCollections

Definition at line 396 of file kshortcutsdialog_p.h.

KShortcutsEditor::ActionTypes KShortcutsEditorPrivate::actionTypes

Definition at line 401 of file kshortcutsdialog_p.h.

KShortcutsEditorDelegate* KShortcutsEditorPrivate::delegate

Definition at line 402 of file kshortcutsdialog_p.h.

KShortcutsEditor* KShortcutsEditorPrivate::q

Definition at line 397 of file kshortcutsdialog_p.h.

Ui::KShortcutsDialog KShortcutsEditorPrivate::ui

Definition at line 399 of file kshortcutsdialog_p.h.


The documentation for this class was generated from the following files:
  • kshortcutsdialog_p.h
  • kshortcutseditor.cpp

KDEUI

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

Class Picker

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
  • KUtils
  • Nepomuk
  • Plasma
  •     Sodep
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.9
This website is maintained by Michael Pyne, and is a reduced mirror of the KDE API docs. KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal