diff options
Diffstat (limited to 'lib/interfaces/kdevcore.h')
-rw-r--r-- | lib/interfaces/kdevcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/interfaces/kdevcore.h b/lib/interfaces/kdevcore.h index 3d58a1d7..73048761 100644 --- a/lib/interfaces/kdevcore.h +++ b/lib/interfaces/kdevcore.h @@ -65,7 +65,7 @@ the ability to add own items into the menu. For example, VCS plugin could add "commit" and "update" menu items to the context menu of a file. <b>How to use context from a plugin:</b> --# Create a popup menu in context menu event handler: @code KPopupMenu menu(this); @endcode +-# Create a popup menu in context menu event handler: @code TDEPopupMenu menu(this); @endcode -# Create a context: @code MyContext context(param). @endcode -# Fill a context menu: @code core()->fillContextMenu(&menu, &context); @endcode -# Show the popup menu: @code menu.exec(event->globalPos()); @endcode |