• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kwallet

Public Types | Public Member Functions | Static Public Member Functions | List of all members
RegisterCreateActionsMethod Class Reference

#include <registercreateactionmethod.h>

Public Types

typedef void(* CreateActionsMethod )(KActionCollection *)
 

Public Member Functions

 RegisterCreateActionsMethod (CreateActionsMethod method)
 

Static Public Member Functions

static void createActions (KActionCollection *actionCollection)
 

Detailed Description

This class is intended to avoid coupling between the main window and it's contained widgets that handle actions.

The main window it's a KXMLGuiWindow, that needs to have all the actions created before the createGui method call. That would require for this class to have knowledge for the actions of the child widgets, which is not very OO wise.

To avoid that, the main window will call createActions of this class that will in turn delegate to the registered CreateActionsMethod's registered here.

Definition at line 40 of file registercreateactionmethod.h.

Member Typedef Documentation

typedef void(* RegisterCreateActionsMethod::CreateActionsMethod)(KActionCollection *)

Definition at line 42 of file registercreateactionmethod.h.

Constructor & Destructor Documentation

RegisterCreateActionsMethod::RegisterCreateActionsMethod ( RegisterCreateActionsMethod::CreateActionsMethod  method)

Definition at line 27 of file registercreateactionmethod.cpp.

Member Function Documentation

void RegisterCreateActionsMethod::createActions ( KActionCollection *  actionCollection)
static

Definition at line 32 of file registercreateactionmethod.cpp.


The documentation for this class was generated from the following files:
  • registercreateactionmethod.h
  • registercreateactionmethod.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kwallet

Skip menu "kwallet"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal