From 114a878c64ce6f8223cfd22d76a20eb16d177e5e Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- doc/kdevelop/class-browsers.docbook | 90 +++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 doc/kdevelop/class-browsers.docbook (limited to 'doc/kdevelop/class-browsers.docbook') diff --git a/doc/kdevelop/class-browsers.docbook b/doc/kdevelop/class-browsers.docbook new file mode 100644 index 00000000..7c251ee1 --- /dev/null +++ b/doc/kdevelop/class-browsers.docbook @@ -0,0 +1,90 @@ + +The Class Browsers +class browser + + +When working on a project in an object-oriented language, your emphasis when +working on a project is not on the source files and their names, but on the +classes and their relationships. In order to help you navigating in the space +of defined classes and symbols, &kdevelop; includes various class browsers +that visualize the class structure in different ways. + + + +Class View + + +This view is shown on the left side of the main window and contains a linear +list of all classes, variables and functions in your project. It is designed +as a tree view. If you open a class node by clicking on it, a list with all +methods and attributes of the respective class is shown. + + +
+A Screenshot of the Class View + + + +
+ + +The class view works in two different modes. By default, all symbols are +grouped into Classes, Structs, +Functions, Variables and +Namespaces. In the context menu of the view, you can choose +List by Namespaces. In this mode, the namespace +hierarchy is shown and the symbols grouped into the respective namespace +where they are defined. This may be more useful in projects which make heavy +use of (nested) namespaces. It is less useful in projects without +namespaces. + + + +You can also change the way in which class names are displayed. Normally, the +names of the classes are shown, without the namespace in which they are defined. +This means, you cannot immediately distinguish classes with the same name in +different namespaces. If you rest for a while with the mouse over an item, the +full scoped name is shown as a tooltip though. You can decide to always +display the fully scoped class name by choosing +Full Identifier scopes from the context menu. + + + +Clicking on a class or method in the class view brings you to its definition. +You can also jump to the declaration of a method by choosing +Go to declaration from the context menu. In the +context menu for classes are also the items +Add method... and +Add attribute.... This opens dialogs where you can +generate new method and variable declaration in the respective class, together +with an empty implementation. + + +
+ + + + +Class Tools + + +The class tool dialog is activated by right clicking on a class in the class +view and choosing Class tool.... + + + + + + + +Class Hierarchy + + +(... to be written ...) + + + + +
+ + -- cgit v1.2.3