diff options
Diffstat (limited to 'lib/interfaces')
-rw-r--r-- | lib/interfaces/kdevcore.h | 2 | ||||
-rw-r--r-- | lib/interfaces/kdevmainwindow.h | 6 |
2 files changed, 4 insertions, 4 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 diff --git a/lib/interfaces/kdevmainwindow.h b/lib/interfaces/kdevmainwindow.h index 27f63273..1a2ea9b6 100644 --- a/lib/interfaces/kdevmainwindow.h +++ b/lib/interfaces/kdevmainwindow.h @@ -26,7 +26,7 @@ class TQWidget; class KStatusBar; -class KMainWindow; +class TDEMainWindow; /** @file kdevmainwindow.h @@ -91,8 +91,8 @@ public: @param caption the caption to set.*/ virtual void setCurrentDocumentCaption( const TQString &caption ) = 0; - /**@return KMainWindow object which actually represents the main window.*/ - virtual KMainWindow *main() = 0; + /**@return TDEMainWindow object which actually represents the main window.*/ + virtual TDEMainWindow *main() = 0; /**@return KStatusBar object which actually represents the status bar in the main window.*/ KStatusBar *statusBar(); |