Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 429

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class View</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class View</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 The View class encapsulates a single view into the document. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH colspan="2">Contains pure virtuals</TH></TR><TR><TH>Full name</TH><TD><code><A HREF="KTextEditor.html">KTextEditor</A>::View</code></TD></TR>
<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="ktexteditor_h.html">ktexteditor.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../kdeui/KXMLGUIClient.html">KXMLGUIClient</A> <small>(kdeui)</small> <small>[public ]</small>, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KTextEditor__View.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref1">View</A></b> ( Document *doc, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent, const char *name = 0 ) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref2">~View</A></b> () 
</LI>
<LI>virtual  Document *&nbsp;<b><A HREF="#ref3">document</A></b> ()  const
</LI>
<LI>virtual  void &nbsp;<b><i><A HREF="#ref4">setCursorPosition</A></i></b> ( int line, int col, bool mark = false ) 
</LI>
<LI>virtual  void &nbsp;<b><i><A HREF="#ref5">getCursorPosition</A></i></b> ( int *line, int *col ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref6">insertText</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &text, bool mark = false ) 
</LI>
<LI>virtual  bool &nbsp;<b><i><A HREF="#ref7">isOverwriteMode</A></i></b> ()  const
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref8">setInternalContextMenuEnabled</A></b> ( bool b ) 
</LI>
<LI>virtual  bool &nbsp;<b><A HREF="#ref9">internalContextMenuEnabled</A></b> ()  const
</LI>
</ul><h4>Public Slots</h4><ul><LI>virtual  void &nbsp;<b><i><A HREF="#ref10">setOverwriteMode</A></i></b> ( bool b ) 
</LI>
</ul><h4>Signals</h4><ul><LI>void &nbsp;<b><A HREF="#ref11">contextPopupMenu</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> &p ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref12">scrollValueChanged</A></b> ( int value ) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 The View class encapsulates a single view into the document.
 </p>
<A NAME="View"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>View</strong> ( Document *doc, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent, const char *name = 0 )
<br></td><td align="right"><h3><strong>View</strong></h3></td></tr></table><p></p><p>
 Create a new view to the given document. The document must be non-null.
   </p>
<A NAME="~View"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~View</strong> ()
<br></td><td align="right"><h3><strong>~View</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="document"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> Document *&nbsp;<strong>document</strong> ()
<br></td><td align="right"><h3><strong>document</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>
 Acessor to the parent Document.
   </p>
<A NAME="setCursorPosition"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<i><strong>setCursorPosition</strong></i> ( int line, int col, bool mark = false )
<br></td><td align="right"><h3><i><strong>setCursorPosition</strong></i></h3></td></tr></table><p> <small>[pure virtual]</small></p><A NAME="getCursorPosition"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<i><strong>getCursorPosition</strong></i> ( int *line, int *col )
<br></td><td align="right"><h3><i><strong>getCursorPosition</strong></i></h3></td></tr></table><p> <small>[pure virtual]</small></p><A NAME="insertText"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>insertText</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &text, bool mark = false )
<br></td><td align="right"><h3><strong>insertText</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
  Inserts text at the current cursor position into the document
   </p>
<A NAME="isOverwriteMode"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<i><strong>isOverwriteMode</strong></i> ()
<br></td><td align="right"><h3><i><strong>isOverwriteMode</strong></i></h3></td></tr></table><p> <small>[const pure virtual]</small></p><p>
 Overwrite mode is where the char under the cursor is replaced with the
 char typed by the user
   </p>
<A NAME="setInternalContextMenuEnabled"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setInternalContextMenuEnabled</strong> ( bool b )
<br></td><td align="right"><h3><strong>setInternalContextMenuEnabled</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 You should reimplement this method.
 If the internal popupmenu property is enabled, then the implementation
 is free to handle/use/implement/show a context popupmenu ( see also
 KContextMenuManager class in kdeui ). If disabled, then the
 implementation should emit the <A HREF="KTextEditor__View.html#contextPopupMenu">contextPopupMenu</A> signal.
   </p>
<A NAME="internalContextMenuEnabled"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>internalContextMenuEnabled</strong> ()
<br></td><td align="right"><h3><strong>internalContextMenuEnabled</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><A NAME="setOverwriteMode"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<i><strong>setOverwriteMode</strong></i> ( bool b )
<br></td><td align="right"><h3><i><strong>setOverwriteMode</strong></i></h3></td></tr></table><p> <small>[pure virtual slot]</small></p><A NAME="contextPopupMenu"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>contextPopupMenu</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpoint.html">QPoint</A> &p )
<br></td><td align="right"><h3><strong>contextPopupMenu</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 Connect here when you want to implement a custom popup menu.
   </p>
<A NAME="scrollValueChanged"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>scrollValueChanged</strong> ( int value )
<br></td><td align="right"><h3><strong>scrollValueChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 Connect here if you want to track the scrolling within the editor. This
 allows you to add specialised borders that displays extra data about
 particular lines such as breakpoints etc.
   </p>
<HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:48 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>