Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 1610

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kate: view.h Source File (kate)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">kate</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
<div class="header">
  <div class="headertitle">
<div class="title">view.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* This file is part of the KDE libraries</span>
<a name="l00002"></a>00002 <span class="comment">   Copyright (C) 2001 Christoph Cullmann &lt;cullmann@kde.org&gt;</span>
<a name="l00003"></a>00003 <span class="comment"></span>
<a name="l00004"></a>00004 <span class="comment">   This library is free software; you can redistribute it and/or</span>
<a name="l00005"></a>00005 <span class="comment">   modify it under the terms of the GNU Library General Public</span>
<a name="l00006"></a>00006 <span class="comment">   License version 2 as published by the Free Software Foundation.</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment">   This library is distributed in the hope that it will be useful,</span>
<a name="l00009"></a>00009 <span class="comment">   but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00010"></a>00010 <span class="comment">   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00011"></a>00011 <span class="comment">   Library General Public License for more details.</span>
<a name="l00012"></a>00012 <span class="comment"></span>
<a name="l00013"></a>00013 <span class="comment">   You should have received a copy of the GNU Library General Public License</span>
<a name="l00014"></a>00014 <span class="comment">   along with this library; see the file COPYING.LIB.  If not, write to</span>
<a name="l00015"></a>00015 <span class="comment">   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,</span>
<a name="l00016"></a>00016 <span class="comment">   Boston, MA 02110-1301, USA.</span>
<a name="l00017"></a>00017 <span class="comment">*/</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef _KATE_VIEW_INCLUDE_</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define _KATE_VIEW_INCLUDE_</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;ktexteditor/document.h&gt;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;ktexteditor/view.h&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;ktexteditor/clipboardinterface.h&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;ktexteditor/popupmenuinterface.h&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;ktexteditor/markinterface.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;ktexteditor/viewcursorinterface.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;ktexteditor/codecompletioninterface.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;ktexteditor/dynwordwrapinterface.h&gt;</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="keyword">class </span><a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a>;
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">namespace </span>Kate
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="keyword">class </span>Document;
<a name="l00037"></a>00037 
<a name="l00042"></a><a class="code" href="classKate_1_1View.html">00042</a> <span class="keyword">class </span>KATEPARTINTERFACES_EXPORT <a class="code" href="classKate_1_1View.html" title="The Kate::View text editor interface.">View</a> : <span class="keyword">public</span> KTextEditor::<a class="code" href="classKate_1_1View.html" title="The Kate::View text editor interface.">View</a>, <span class="keyword">public</span> KTextEditor::ClipboardInterface,
<a name="l00043"></a>00043               <span class="keyword">public</span> KTextEditor::PopupMenuInterface, <span class="keyword">public</span> KTextEditor::ViewCursorInterface,
<a name="l00044"></a>00044               <span class="keyword">public</span> KTextEditor::CodeCompletionInterface, <span class="keyword">public</span> KTextEditor::DynWordWrapInterface
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046   Q_OBJECT
<a name="l00047"></a>00047 
<a name="l00048"></a>00048   <span class="keyword">public</span>:
<a name="l00052"></a><a class="code" href="classKate_1_1View.html#adc773f12219119924402707cc10b5673">00052</a>     <span class="keyword">enum</span> <a class="code" href="classKate_1_1View.html#adc773f12219119924402707cc10b5673" title="Return values for &quot;save&quot; related commands.">saveResult</a> { SAVE_OK, SAVE_CANCEL, SAVE_RETRY, SAVE_ERROR };
<a name="l00056"></a>00056     <a class="code" href="classKate_1_1View.html" title="The Kate::View text editor interface.">View</a> ( KTextEditor::Document *, <a class="codeRef" href="qwidget.html">QWidget</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> *name = 0 );
<a name="l00060"></a>00060     <span class="keyword">virtual</span> ~<a class="code" href="classKate_1_1View.html" title="The Kate::View text editor interface.">View</a> ();
<a name="l00064"></a><a class="code" href="classKate_1_1View.html#a02a3f8600dbb93cd37e9b13348e84c87">00064</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKate_1_1View.html#a02a3f8600dbb93cd37e9b13348e84c87" title="Set editor mode.">isOverwriteMode</a>()<span class="keyword"> const  </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }
<a name="l00068"></a><a class="code" href="classKate_1_1View.html#aff3e02836e63fe4de0130809b4fbc769">00068</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#aff3e02836e63fe4de0130809b4fbc769" title="Get editor mode.">setOverwriteMode</a>( <span class="keywordtype">bool</span> ) { }
<a name="l00072"></a><a class="code" href="classKate_1_1View.html#a65940bfe6331a87e1321a638ae2f32e4">00072</a>     <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKate_1_1View.html#a65940bfe6331a87e1321a638ae2f32e4" title="Gets the text line where the cursor is on.">currentTextLine</a>() { <span class="keywordflow">return</span> 0L; }
<a name="l00076"></a><a class="code" href="classKate_1_1View.html#a749f760f27cf42c62bb840f5432eeb94">00076</a>     <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKate_1_1View.html#a749f760f27cf42c62bb840f5432eeb94" title="Gets the word where the cursor is on.">currentWord</a>() { <span class="keywordflow">return</span> 0L; }
<a name="l00081"></a><a class="code" href="classKate_1_1View.html#ade6675cc41b4f9ecc5a3cbbd989afbea">00081</a>     <span class="keyword">virtual</span> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKate_1_1View.html#ade6675cc41b4f9ecc5a3cbbd989afbea" title="Gets the word at position x, y.">word</a>(<span class="keywordtype">int</span> , <span class="keywordtype">int</span> ) { <span class="keywordflow">return</span> 0L; }
<a name="l00086"></a><a class="code" href="classKate_1_1View.html#a408b33c8595f1afede9d2a1c38a26d44">00086</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a408b33c8595f1afede9d2a1c38a26d44" title="Insert text at the current cursor position.">insertText</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &amp;mark ) { Q_UNUSED(mark); }
<a name="l00090"></a><a class="code" href="classKate_1_1View.html#a0b2aa5036e23019a40d1094172287d62">00090</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKate_1_1View.html#a0b2aa5036e23019a40d1094172287d62" title="Works exactly like closeURL() of KParts::ReadWritePart.">canDiscard</a>() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
<a name="l00091"></a>00091 
<a name="l00092"></a>00092   <span class="keyword">public</span>:
<a name="l00093"></a>00093     <span class="keyword">virtual</span> <span class="keywordtype">int</span> tabWidth() = 0;
<a name="l00094"></a>00094     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTabWidth(<span class="keywordtype">int</span>) = 0;
<a name="l00095"></a>00095     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEncoding (<a class="codeRef" href="qstring.html">QString</a> e) = 0;
<a name="l00096"></a>00096 
<a name="l00100"></a>00100     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLastView() = 0;
<a name="l00101"></a>00101 
<a name="l00102"></a>00102   <span class="keyword">public</span> slots:
<a name="l00108"></a><a class="code" href="classKate_1_1View.html#a38d6e175eb9bd40c433a0ec30306021c">00108</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a38d6e175eb9bd40c433a0ec30306021c" title="Flushes the document of the text widget.">flush</a> () { ; };
<a name="l00114"></a><a class="code" href="classKate_1_1View.html#af5759ca946b9f07c60a45991eedd44d6">00114</a>     <span class="keyword">virtual</span> <a class="code" href="classKate_1_1View.html#adc773f12219119924402707cc10b5673" title="Return values for &quot;save&quot; related commands.">saveResult</a> <a class="code" href="classKate_1_1View.html#af5759ca946b9f07c60a45991eedd44d6" title="Saves the file under the current file name.">save</a>() { <span class="keywordflow">return</span> SAVE_CANCEL; };
<a name="l00118"></a><a class="code" href="classKate_1_1View.html#a058c87094581e291c12b1359fc27cbb0">00118</a>     <span class="keyword">virtual</span> <a class="code" href="classKate_1_1View.html#adc773f12219119924402707cc10b5673" title="Return values for &quot;save&quot; related commands.">saveResult</a> <a class="code" href="classKate_1_1View.html#a058c87094581e291c12b1359fc27cbb0" title="Allows the user to save the file under a new name.">saveAs</a>() { <span class="keywordflow">return</span> SAVE_CANCEL; };
<a name="l00122"></a><a class="code" href="classKate_1_1View.html#ab729fc6be898361e4f11b378a40d2843">00122</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#ab729fc6be898361e4f11b378a40d2843" title="Moves the current line or the selection one position to the right.">indent</a>() { ; };
<a name="l00126"></a><a class="code" href="classKate_1_1View.html#a9ab8c97c16ae7e686b6d8f5ea2318bc9">00126</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a9ab8c97c16ae7e686b6d8f5ea2318bc9" title="Moves the current line or the selection one position to the left.">unIndent</a>() { ; };
<a name="l00130"></a><a class="code" href="classKate_1_1View.html#a3a903dde94f96d0b29676b60be2bbfba">00130</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a3a903dde94f96d0b29676b60be2bbfba" title="Optimizes the selected indentation, replacing tabs and spaces as needed.">cleanIndent</a>() { ; };
<a name="l00134"></a><a class="code" href="classKate_1_1View.html#acef9291fa1d5370c4f599358c7f1cdf0">00134</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#acef9291fa1d5370c4f599358c7f1cdf0" title="Comments out current line.">comment</a>() { ; };
<a name="l00138"></a><a class="code" href="classKate_1_1View.html#a50fcd70ee76e294f2ee1e7f6f9259e2c">00138</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a50fcd70ee76e294f2ee1e7f6f9259e2c" title="Removes comment signs in the current line.">uncomment</a>() { ; };
<a name="l00142"></a><a class="code" href="classKate_1_1View.html#af31aa427bbc958e0b14a2b9fa4b12043">00142</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#af31aa427bbc958e0b14a2b9fa4b12043" title="Some simply key commands.">keyReturn</a> () { ; };
<a name="l00143"></a>00143     <span class="keyword">virtual</span> <span class="keywordtype">void</span> keyDelete () { ; };
<a name="l00144"></a>00144     <span class="keyword">virtual</span> <span class="keywordtype">void</span> backspace () { ; };
<a name="l00145"></a>00145     <span class="keyword">virtual</span> <span class="keywordtype">void</span> killLine () { ; };
<a name="l00149"></a><a class="code" href="classKate_1_1View.html#a3d61e26fa702835c967e5ac3fb23be31">00149</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a3d61e26fa702835c967e5ac3fb23be31" title="Move cursor in the view.">cursorLeft</a> () { ; };
<a name="l00150"></a>00150     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftCursorLeft () { ; };
<a name="l00151"></a>00151     <span class="keyword">virtual</span> <span class="keywordtype">void</span> cursorRight () { ; };
<a name="l00152"></a>00152     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftCursorRight () { ; };
<a name="l00153"></a>00153     <span class="keyword">virtual</span> <span class="keywordtype">void</span> wordLeft () { ; };
<a name="l00154"></a>00154     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftWordLeft () { ; };
<a name="l00155"></a>00155     <span class="keyword">virtual</span> <span class="keywordtype">void</span> wordRight () { ; };
<a name="l00156"></a>00156     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftWordRight () { ; };
<a name="l00157"></a>00157     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKStdAccel.html#ae59bad25e738959902ae8277e2069ac8">home</a> () { ; };
<a name="l00158"></a>00158     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftHome () { ; };
<a name="l00159"></a>00159     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKStdAccel.html#a8407902cbc74699e1a95168fee54c827">end</a> () { ; };
<a name="l00160"></a>00160     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftEnd () { ; };
<a name="l00161"></a>00161     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKStdAccel.html#afed7932a1baed5b563699dac2908841a">up</a> () { ; };
<a name="l00162"></a>00162     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftUp () { ; };
<a name="l00163"></a>00163     <span class="keyword">virtual</span> <span class="keywordtype">void</span> down () { ; };
<a name="l00164"></a>00164     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftDown () { ; };
<a name="l00165"></a>00165     <span class="keyword">virtual</span> <span class="keywordtype">void</span> scrollUp () { ; };
<a name="l00166"></a>00166     <span class="keyword">virtual</span> <span class="keywordtype">void</span> scrollDown () { ; };
<a name="l00167"></a>00167     <span class="keyword">virtual</span> <span class="keywordtype">void</span> topOfView () { ; };
<a name="l00168"></a>00168     <span class="keyword">virtual</span> <span class="keywordtype">void</span> bottomOfView () { ; };
<a name="l00169"></a>00169     <span class="keyword">virtual</span> <span class="keywordtype">void</span> pageUp () { ; };
<a name="l00170"></a>00170     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftPageUp () { ; };
<a name="l00171"></a>00171     <span class="keyword">virtual</span> <span class="keywordtype">void</span> pageDown () { ; };
<a name="l00172"></a>00172     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftPageDown () { ; };
<a name="l00173"></a>00173     <span class="keyword">virtual</span> <span class="keywordtype">void</span> top () { ; };
<a name="l00174"></a>00174     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftTop () { ; };
<a name="l00175"></a>00175     <span class="keyword">virtual</span> <span class="keywordtype">void</span> bottom () { ; };
<a name="l00176"></a>00176     <span class="keyword">virtual</span> <span class="keywordtype">void</span> shiftBottom () { ; };
<a name="l00180"></a><a class="code" href="classKate_1_1View.html#a867bd4cdddc8f94ed2d751ba078b0f4d">00180</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a867bd4cdddc8f94ed2d751ba078b0f4d" title="Presents a search dialog to the user.">find</a>() { ; };
<a name="l00184"></a><a class="code" href="classKate_1_1View.html#ab37fcc45c6ea294c82e7ef87dc4e3cb3">00184</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#ab37fcc45c6ea294c82e7ef87dc4e3cb3" title="Presents a replace dialog to the user.">replace</a>() { ; };
<a name="l00188"></a><a class="code" href="classKate_1_1View.html#a1150226009485fab3d7a9547ce50bd23">00188</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a1150226009485fab3d7a9547ce50bd23" title="Presents a &quot;Goto Line&quot; dialog to the user.">gotoLine</a>() { ; };
<a name="l00189"></a>00189 
<a name="l00190"></a>00190   <span class="keyword">public</span>:
<a name="l00195"></a><a class="code" href="classKate_1_1View.html#a132096b98f7ea91a63c194157807bf78">00195</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a132096b98f7ea91a63c194157807bf78" title="Reads session config out of the KConfig object.">readSessionConfig</a>(<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *) { ; };
<a name="l00199"></a><a class="code" href="classKate_1_1View.html#a8cd518fcfc650e00dfbc3f689a3d5f0c">00199</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a8cd518fcfc650e00dfbc3f689a3d5f0c" title="Writes session config into the KConfig object.">writeSessionConfig</a>(<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *) { ; };
<a name="l00200"></a>00200 
<a name="l00201"></a>00201   <span class="keyword">public</span> slots:
<a name="l00205"></a><a class="code" href="classKate_1_1View.html#a8e9507cf1e9f90eac08c2d20575c9010">00205</a>     <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classKate_1_1View.html#a8e9507cf1e9f90eac08c2d20575c9010" title="Get the end of line mode (Unix, Macintosh or Dos).">getEol</a>() { <span class="keywordflow">return</span> 0L; }
<a name="l00209"></a><a class="code" href="classKate_1_1View.html#a1dd9eb567d11c9855a5ee2c1a6ba1e25">00209</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a1dd9eb567d11c9855a5ee2c1a6ba1e25" title="Set the end of line mode (Unix, Macintosh or Dos).">setEol</a>(<span class="keywordtype">int</span>) { }
<a name="l00213"></a>00213     <span class="comment">// Should remove this, it&#39;s redundant.</span>
<a name="l00214"></a><a class="code" href="classKate_1_1View.html#a57b04da8a8097ecdc428c60fc27e10bf">00214</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a57b04da8a8097ecdc428c60fc27e10bf" title="Set focus to the current window.">setFocus</a> () { <a class="codeRef" href="qwidget.html#setFocus">QWidget::setFocus</a>(); }
<a name="l00219"></a><a class="code" href="classKate_1_1View.html#a45e0b9011b4b348207df0f459eb3cbc6">00219</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a45e0b9011b4b348207df0f459eb3cbc6" title="Searches for the last searched text forward from cursor position.">findAgain</a>(<span class="keywordtype">bool</span> forward ) { Q_UNUSED(forward); }
<a name="l00224"></a><a class="code" href="classKate_1_1View.html#aacde7dfa5b1d891e8c8b84eb1129a319">00224</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#aacde7dfa5b1d891e8c8b84eb1129a319" title="Searches for the last searched text forward from cursor position.">findAgain</a> () { };
<a name="l00229"></a><a class="code" href="classKate_1_1View.html#ad42b2760898855b5e6bc1e21ca22aa6c">00229</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#ad42b2760898855b5e6bc1e21ca22aa6c" title="Searches for the last searched text forward from cursor position.">findPrev</a> () { }
<a name="l00234"></a><a class="code" href="classKate_1_1View.html#a46e47544fda30df96c335a7633bc8e46">00234</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a46e47544fda30df96c335a7633bc8e46" title="Presents an edit command popup window, where the user can apply a shell command to the contents of th...">slotEditCommand</a> () { }
<a name="l00235"></a>00235 
<a name="l00240"></a><a class="code" href="classKate_1_1View.html#a444bef123e503886b7891ff717137d23">00240</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a444bef123e503886b7891ff717137d23" title="Sets icon border on or off depending on.">setIconBorder</a> (<span class="keywordtype">bool</span> enable ) { Q_UNUSED(enable); }
<a name="l00244"></a><a class="code" href="classKate_1_1View.html#adf54aa628b3988321d556a4b87b3a6ab">00244</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#adf54aa628b3988321d556a4b87b3a6ab" title="Toggles icon border.">toggleIconBorder</a> () { }
<a name="l00249"></a><a class="code" href="classKate_1_1View.html#a7341f89a44275dcbb09452552b9c19ec">00249</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a7341f89a44275dcbb09452552b9c19ec" title="Sets display of line numbers on/off depending on enable.">setLineNumbersOn</a> (<span class="keywordtype">bool</span> enable) { Q_UNUSED(enable); }
<a name="l00253"></a><a class="code" href="classKate_1_1View.html#a38d07b2b3f1ed9ce5b314f2ea2622677">00253</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a38d07b2b3f1ed9ce5b314f2ea2622677" title="Toggles display of lineNumbers.">toggleLineNumbersOn</a> () {}
<a name="l00254"></a>00254 
<a name="l00255"></a>00255   <span class="keyword">public</span>:
<a name="l00259"></a><a class="code" href="classKate_1_1View.html#a85a67164347410105e7849f7613fcdc9">00259</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKate_1_1View.html#a85a67164347410105e7849f7613fcdc9" title="Returns whether iconborder is visible.">iconBorder</a>() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
<a name="l00263"></a><a class="code" href="classKate_1_1View.html#aa16ced87f77c9bb2c1ea467e618c8d2a">00263</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKate_1_1View.html#aa16ced87f77c9bb2c1ea467e618c8d2a">lineNumbersOn</a>() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
<a name="l00267"></a><a class="code" href="classKate_1_1View.html#a37a69cd3c93612f75d158cd5f2d1942a">00267</a>     <span class="keyword">virtual</span> <a class="code" href="classKate_1_1Document.html" title="This interface provides access to the Kate Document class.">Document</a> *<a class="code" href="classKate_1_1View.html#a37a69cd3c93612f75d158cd5f2d1942a" title="Returns a pointer to the document of the view.">getDoc</a> () { <span class="keywordflow">return</span> 0L; }
<a name="l00268"></a>00268 
<a name="l00269"></a>00269   <span class="keyword">public</span> slots:
<a name="l00273"></a><a class="code" href="classKate_1_1View.html#aeae5c98681bc6a2186f577ff517e471e">00273</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#aeae5c98681bc6a2186f577ff517e471e" title="Increase font size.">slotIncFontSizes</a> () { }
<a name="l00277"></a><a class="code" href="classKate_1_1View.html#a42de977080395a9c0970fb947b554603">00277</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a42de977080395a9c0970fb947b554603" title="Decrease font size.">slotDecFontSizes</a> () { }
<a name="l00278"></a>00278 
<a name="l00279"></a>00279     <span class="keyword">virtual</span> <span class="keywordtype">void</span> gotoMark (KTextEditor::Mark *mark) = 0;
<a name="l00280"></a>00280 
<a name="l00285"></a>00285     <span class="comment">// TODO: Remove when BIC is allowed</span>
<a name="l00286"></a><a class="code" href="classKate_1_1View.html#a5531e6be3d4f313f679e80f64d525834">00286</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKate_1_1View.html#a5531e6be3d4f313f679e80f64d525834">toggleBookmark</a> () {}
<a name="l00287"></a>00287 
<a name="l00288"></a>00288     <span class="keyword">virtual</span> <span class="keywordtype">void</span> gotoLineNumber( <span class="keywordtype">int</span> ) = 0;
<a name="l00289"></a>00289 
<a name="l00290"></a>00290   signals:
<a name="l00291"></a>00291     <span class="keywordtype">void</span> gotFocus (<a class="code" href="classKate_1_1View.html" title="The Kate::View text editor interface.">View</a> *);
<a name="l00292"></a>00292 <span class="comment">//  void newStatus(); // Kate app connects to this signal, should be in the interface</span>
<a name="l00293"></a>00293 
<a name="l00294"></a>00294   <span class="keyword">public</span>:
<a name="l00295"></a>00295     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setActive (<span class="keywordtype">bool</span> b) = 0;
<a name="l00296"></a>00296     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isActive () = 0;
<a name="l00297"></a>00297 };
<a name="l00298"></a>00298 
<a name="l00299"></a>00299 KATEPARTINTERFACES_EXPORT View *view (KTextEditor::View *view);
<a name="l00300"></a>00300 
<a name="l00301"></a>00301 }
<a name="l00302"></a>00302 
<a name="l00303"></a>00303 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kate</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classIndenterConfigPage.html">indenterconfigpage</option>,  <option value="classKate_1_1Command.html">kate::command</option>,  <option value="classKate_1_1CommandExtension.html">kate::commandextension</option>,  <option value="classKate_1_1Document.html">kate::document</option>,  <option value="classKate_1_1DocumentExt.html">kate::documentext</option>,  <option value="classKate_1_1View.html">kate::view</option>,  <option value="classKateArbitraryHighlight.html">katearbitraryhighlight</option>,  <option value="classKateAttribute.html">kateattribute</option>,  <option value="classKateAutoIndent.html">kateautoindent</option>,  <option value="classKateBrowserExtension.html">katebrowserextension</option>,  <option value="classKateBufBlock.html">katebufblock</option>,  <option value="classKateBufBlockList.html">katebufblocklist</option>,  <option value="classKateBuffer.html">katebuffer</option>,  <option value="classKateCmdShellCompletion.html">katecmdshellcompletion</option>,  <option value="classKateCommands_1_1Character.html">katecommands::character</option>,  <option value="classKateCommands_1_1CoreCommands.html">katecommands::corecommands</option>,  <option value="classKateCommands_1_1Date.html">katecommands::date</option>,  <option value="classKateCommands_1_1SedReplace.html">katecommands::sedreplace</option>,  <option value="classKateConfig.html">kateconfig</option>,  <option value="classKateDocCursor.html">katedoccursor</option>,  <option value="classKateJScript.html">katejscript</option>,  <option value="classKateModOnHdPrompt.html">katemodonhdprompt</option>,  <option value="classKateNormalIndent.html">katenormalindent</option>,  <option value="classKateRenderer.html">katerenderer</option>,  <option value="classKateReplacePrompt.html">katereplaceprompt</option>,  <option value="classKateScrollBar.html">katescrollbar</option>,  <option value="classKateSuperCursor.html">katesupercursor</option>,  <option value="classKateSuperRange.html">katesuperrange</option>,  <option value="classKateSyntaxContextData.html">katesyntaxcontextdata</option>,  <option value="classKateSyntaxDocument.html">katesyntaxdocument</option>,  <option value="classKateSyntaxModeListItem.html">katesyntaxmodelistitem</option>,  <option value="classKateTextCursor.html">katetextcursor</option>,  <option value="classKateTextLine.html">katetextline</option>,  <option value="classKateUndoGroup.html">kateundogroup</option>,  <option value="classKateVarIndent.html">katevarindent</option>,  <option value="classKateViewIndentationAction.html">kateviewindentationaction</option>,  <option value="classOutputFunction.html">outputfunction</option>,  <option value="classOutputObject.html">outputobject</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>