summaryrefslogtreecommitdiffstats
path: root/lib/interfaces
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /lib/interfaces
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'lib/interfaces')
-rw-r--r--lib/interfaces/kdevcore.h2
-rw-r--r--lib/interfaces/kdevmainwindow.h6
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();