• 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

KGlobalAccelPrivate Class Reference

#include <kglobalaccel_p.h>

List of all members.


Public Types

enum  Removal { SetInactive = 0, UnRegister }

Public Member Functions

void _k_invokeAction (const QString &, const QString &, qlonglong)
void _k_serviceOwnerChanged (const QString &name, const QString &oldOwner, const QString &newOwner)
void _k_shortcutGotChanged (const QStringList &, const QList< int > &)
QString componentFriendlyForAction (const KAction *action)
QString componentUniqueForAction (const KAction *action)
void doRegister (KAction *action)
org::kde::kglobalaccel::Component * getComponent (const QString &componentUnique, bool remember)
QList< int > intListFromShortcut (const KShortcut &cut)
 KGlobalAccelPrivate (KGlobalAccel *)
QStringList makeActionId (const KAction *action)
void readComponentData (const KComponentData &component)
void remove (KAction *action, Removal r)
void reRegisterAll ()
KShortcut shortcutFromIntList (const QList< int > &list)
void updateGlobalShortcut (KAction *action, uint flags)

Public Attributes

QSet< KAction * > actions
QHash< QString,
org::kde::kglobalaccel::Component * > 
components
bool enabled
org::kde::KGlobalAccel iface
bool isUsingForeignComponentName
KComponentData mainComponent
QMultiHash< QString, KAction * > nameToAction
KGlobalAccel * q

Detailed Description

Definition at line 43 of file kglobalaccel_p.h.


Member Enumeration Documentation

enum KGlobalAccelPrivate::Removal

Enumerator:
SetInactive  Forget the action in this class and mark it as not present in the KDED module.
UnRegister  Remove any trace of the action in this class and in the KDED module.

Definition at line 46 of file kglobalaccel_p.h.


Constructor & Destructor Documentation

KGlobalAccelPrivate::KGlobalAccelPrivate ( KGlobalAccel *  q  ) 

Definition at line 103 of file kglobalaccel.cpp.


Member Function Documentation

void KGlobalAccelPrivate::_k_invokeAction ( const QString &  componentUnique,
const QString &  actionUnique,
qlonglong  timestamp 
)

Definition at line 400 of file kglobalaccel.cpp.

void KGlobalAccelPrivate::_k_serviceOwnerChanged ( const QString &  name,
const QString &  oldOwner,
const QString &  newOwner 
)

Definition at line 454 of file kglobalaccel.cpp.

void KGlobalAccelPrivate::_k_shortcutGotChanged ( const QStringList &  actionId,
const QList< int > &  keys 
)

Definition at line 444 of file kglobalaccel.cpp.

QString KGlobalAccelPrivate::componentFriendlyForAction ( const KAction *  action  ) 

Definition at line 393 of file kglobalaccel.cpp.

QString KGlobalAccelPrivate::componentUniqueForAction ( const KAction *  action  ) 

Definition at line 386 of file kglobalaccel.cpp.

void KGlobalAccelPrivate::doRegister ( KAction *  action  ) 

Register the action in this class and in the KDED module.

Definition at line 230 of file kglobalaccel.cpp.

org::kde::kglobalaccel::Component * KGlobalAccelPrivate::getComponent ( const QString &  componentUnique,
bool  remember = false 
)

Get the component componentUnique.

If remember is true the instance is cached and we subscribe to signals about changes to the component.

Definition at line 44 of file kglobalaccel.cpp.

QList< int > KGlobalAccelPrivate::intListFromShortcut ( const KShortcut &  cut  ) 

Definition at line 364 of file kglobalaccel.cpp.

QStringList KGlobalAccelPrivate::makeActionId ( const KAction *  action  ) 

Definition at line 352 of file kglobalaccel.cpp.

void KGlobalAccelPrivate::readComponentData ( const KComponentData &  component  ) 

Definition at line 132 of file kglobalaccel.cpp.

void KGlobalAccelPrivate::remove ( KAction *  action,
Removal  r 
)

cf. the RemoveAction enum

Definition at line 253 of file kglobalaccel.cpp.

void KGlobalAccelPrivate::reRegisterAll (  ) 

Definition at line 465 of file kglobalaccel.cpp.

KShortcut KGlobalAccelPrivate::shortcutFromIntList ( const QList< int > &  list  ) 

Definition at line 375 of file kglobalaccel.cpp.

void KGlobalAccelPrivate::updateGlobalShortcut ( KAction *  action,
uint  flags 
)

Propagate any shortcut changes to the KDED module that does the bookkeeping and the key grabbing.

Definition at line 286 of file kglobalaccel.cpp.


Member Data Documentation

QSet<KAction *> KGlobalAccelPrivate::actions

Definition at line 77 of file kglobalaccel_p.h.

QHash<QString, org::kde::kglobalaccel::Component *> KGlobalAccelPrivate::components

The components the application is using.

Definition at line 94 of file kglobalaccel_p.h.

bool KGlobalAccelPrivate::enabled

Definition at line 82 of file kglobalaccel_p.h.

org::kde::KGlobalAccel KGlobalAccelPrivate::iface

Definition at line 84 of file kglobalaccel_p.h.

bool KGlobalAccelPrivate::isUsingForeignComponentName

Definition at line 81 of file kglobalaccel_p.h.

KComponentData KGlobalAccelPrivate::mainComponent

The main component data. For convenience.

Definition at line 80 of file kglobalaccel_p.h.

QMultiHash<QString, KAction *> KGlobalAccelPrivate::nameToAction

Definition at line 76 of file kglobalaccel_p.h.

KGlobalAccel* KGlobalAccelPrivate::q

Our owner.

Definition at line 91 of file kglobalaccel_p.h.


The documentation for this class was generated from the following files:
  • kglobalaccel_p.h
  • kglobalaccel.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