~ubuntu-branches/ubuntu/quantal/kdevplatform/quantal-proposed

« back to all changes in this revision

Viewing changes to interfaces/contextmenuextension.h

  • Committer: Bazaar Package Importer
  • Author(s): Bhargav Mangipudi
  • Date: 2010-12-16 19:31:23 UTC
  • mfrom: (0.3.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20101216193123-xe2keh5754zwsn1t
Tags: 1.1.80-0ubuntu1
* New upstream release
  - kdevplatform2-libs is now kdevplatform3-libs due to ABI changes
  - Update kdevplatform3-libs.install to include l10n files
  - Update kdevplatform-dev.install
* Removed localization packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    /** menu group to contain project actions */
57
57
    static const QString ProjectGroup;
58
58
 
59
 
    /** menu group that can contain any extension menu,
60
 
      * actions for this extension will always be at the end
61
 
      * of the menu and plugins using that should think about
62
 
      * providing a menu-action so it doesn't get cluttered
 
59
    /** menu group that can contain any extension menu.
 
60
      * Actions for this extension will always be at the end
 
61
      * of the menu. Plugins using this should think about
 
62
      * providing a submenu, so the context menu doesn't get cluttered.
63
63
      */
64
64
    static const QString ExtensionGroup;
65
65
 
73
73
    ContextMenuExtension& operator=( const ContextMenuExtension& rhs );
74
74
 
75
75
    /**
76
 
     * add an action to the given menu group
 
76
     * Add an action to the given menu group
77
77
     * @param group the menu group to which the action should be added
78
78
     * @param action the action to add to the menu group
79
79
     */
80
80
    void addAction( const QString& group, QAction* action );
81
81
 
82
82
    /**
83
 
     * return all actions that are in the menu group
 
83
     * Return all actions that are in the menu group
84
84
     * @param group the menu group from which to get the actions
85
85
     * @returns a list of actions for that menu group
86
86
     */