Sophie

Sophie

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

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>interfaces: KHE::BytesEditInterface Class Reference (interfaces)</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=".">interfaces</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 id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceKHE.html">KHE</a>      </li>
      <li class="navelem"><a class="el" href="classKHE_1_1BytesEditInterface.html">BytesEditInterface</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">KHE::BytesEditInterface Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KHE::BytesEditInterface" -->
<p>An interface for a hex edit editor/viewer for arrays of byte.  
 <a href="classKHE_1_1BytesEditInterface.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="byteseditinterface_8h_source.html">byteseditinterface.h</a>&gt;</code></p>

<p><a href="classKHE_1_1BytesEditInterface-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a66618c8a716862035096c98f45a2ed27">setData</a> (char *D, int S, int RS=-1, bool KM=true)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a5af67582a2bdc09048f30523b7b33781">setReadOnly</a> (bool RO=true)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a5da63c57f8fac987234d456a247641bc">setMaxDataSize</a> (int MS)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#aba650ad9ccc76690813a073fc4ebcfb4">setAutoDelete</a> (bool AD=true)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a1e5c7168a10bc01e1d539b1e296deac2">setKeepsMemory</a> (bool KM=true)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a1bc244999254d8891c82fd330fd1755e">setOverwriteOnly</a> (bool b)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a338dffa47b654525f04a772605584767">setOverwriteMode</a> (bool b)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a0e54bb6c16d05cb2e9abb4163043a7f0">setModified</a> (bool b)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a68f58baedfbee80033a62999246b4e6b">data</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a03ace8b1683b71ce1f379c1eeaed2f9e">dataSize</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#ab82fc3ea2311074878c3cb6134b204a0">maxDataSize</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a295664ff7e35ba5c6b749806e6fbb847">isAutoDelete</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a43aaf2f26fcde09b25c945995f824a9b">keepsMemory</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a7e48e0fa82ffebd6c38005a58b7d8a50">isOverwriteMode</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#afcfec5352a623dea430b49e07965a2a3">isOverwriteOnly</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a666a5aaa1a24d4c637fe8797471fcca4">isReadOnly</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a56bb295515e180c28411449bb4a47443">isModified</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKHE_1_1BytesEditInterface.html#a313f764accf424ec63f5f837b55561ac">repaintRange</a> (int i1, int i2)=0</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An interface for a hex edit editor/viewer for arrays of byte. </p>
<div class="fragment"><pre class="fragment">  <a class="code" href="classKHE_1_1BytesEditInterface.html" title="An interface for a hex edit editor/viewer for arrays of byte.">KHE::BytesEditInterface</a> *BytesEdit = <a class="code" href="namespaceKHE.html#ab0c38564da0fa8b1379b4405755294ea" title="tries to get the bytesedit interface of t">KHE::bytesEditInterface</a>( BytesEditWidget );
</pre></div><p>It can be used in different ways: </p>
<ul>
<li>
<p class="startli">as an viewer for array char* Data, sized DataSize </p>
<div class="fragment"><pre class="fragment"> BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a66618c8a716862035096c98f45a2ed27" title="hands over to the editor a new byte array.">setData</a>( Data, DataSize );
 BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a5af67582a2bdc09048f30523b7b33781" title="sets whether the given array should be handled read only or not.">setReadOnly</a>( <span class="keyword">true</span> );
</pre></div><p class="endli"></p>
</li>
<li>
<p class="startli">as an editor for a given array of bytes with a fixed size </p>
<div class="fragment"><pre class="fragment"> BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a66618c8a716862035096c98f45a2ed27" title="hands over to the editor a new byte array.">setData</a>( Data, DataSize );
 BytesEdit-&gt;setOverWriteOnly( <span class="keyword">true</span> );
</pre></div><p class="endli"></p>
</li>
<li>
<p class="startli">as an editor for a given array of bytes with a limited size </p>
<div class="fragment"><pre class="fragment"> BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a66618c8a716862035096c98f45a2ed27" title="hands over to the editor a new byte array.">setData</a>( Data, DataSize, -1, <span class="keyword">false</span> );
 BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a5da63c57f8fac987234d456a247641bc" title="sets the maximal size of the actual byte array.">setMaxDataSize</a>( MaxDataSize );
 BytesEdit-&gt;setOverWriteMode( <span class="keyword">false</span> );
</pre></div><p class="endli"></p>
</li>
<li>
as an editor for a new to be created array of chars, max. with MaxDataSize <div class="fragment"><pre class="fragment"> BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a5da63c57f8fac987234d456a247641bc" title="sets the maximal size of the actual byte array.">setMaxDataSize</a>( MaxDataSize );
 ...
 <a class="codeRef" href="qbytearray.html">QByteArray</a> BA;
 BA.setRawData( BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a68f58baedfbee80033a62999246b4e6b">data</a>(), BytesEdit-&gt;<a class="code" href="classKHE_1_1BytesEditInterface.html#a03ace8b1683b71ce1f379c1eeaed2f9e">dataSize</a>() );
</pre></div> </li>
</ul>
<dl class="author"><dt><b>Author:</b></dt><dd>Friedrich W. H. Kossebau &lt;<a href="mailto:Friedrich.W.H@Kossebau.de">Friedrich.W.H@Kossebau.de</a>&gt; </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespaceKHE.html#a9d7c6de5545dbd7517e0f6900fb82653" title="tries to create an instance of a hexedit widget for arrays of chars (char[])">createBytesEditWidget()</a>, <a class="el" href="namespaceKHE.html#ab0c38564da0fa8b1379b4405755294ea" title="tries to get the bytesedit interface of t">bytesEditInterface()</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="byteseditinterface_8h_source.html#l00076">76</a> of file <a class="el" href="byteseditinterface_8h_source.html">byteseditinterface.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a68f58baedfbee80033a62999246b4e6b"></a><!-- doxytag: member="KHE::BytesEditInterface::data" ref="a68f58baedfbee80033a62999246b4e6b" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual char* KHE::BytesEditInterface::data </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the actual byte array </dd></dl>

</div>
</div>
<a class="anchor" id="a03ace8b1683b71ce1f379c1eeaed2f9e"></a><!-- doxytag: member="KHE::BytesEditInterface::dataSize" ref="a03ace8b1683b71ce1f379c1eeaed2f9e" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int KHE::BytesEditInterface::dataSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the size of the actual byte array </dd></dl>

</div>
</div>
<a class="anchor" id="a295664ff7e35ba5c6b749806e6fbb847"></a><!-- doxytag: member="KHE::BytesEditInterface::isAutoDelete" ref="a295664ff7e35ba5c6b749806e6fbb847" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KHE::BytesEditInterface::isAutoDelete </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>whether autodelete is set for the byte array </dd></dl>

</div>
</div>
<a class="anchor" id="a56bb295515e180c28411449bb4a47443"></a><!-- doxytag: member="KHE::BytesEditInterface::isModified" ref="a56bb295515e180c28411449bb4a47443" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KHE::BytesEditInterface::isModified </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the Modified flag is set, otherwise <code>false</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a7e48e0fa82ffebd6c38005a58b7d8a50"></a><!-- doxytag: member="KHE::BytesEditInterface::isOverwriteMode" ref="a7e48e0fa82ffebd6c38005a58b7d8a50" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KHE::BytesEditInterface::isOverwriteMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the edit mode is overwrite, otherwise <code>false</code> for insert mode </dd></dl>

</div>
</div>
<a class="anchor" id="afcfec5352a623dea430b49e07965a2a3"></a><!-- doxytag: member="KHE::BytesEditInterface::isOverwriteOnly" ref="afcfec5352a623dea430b49e07965a2a3" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KHE::BytesEditInterface::isOverwriteOnly </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the memory of the byte array is kept, otherwise <code>false</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a666a5aaa1a24d4c637fe8797471fcca4"></a><!-- doxytag: member="KHE::BytesEditInterface::isReadOnly" ref="a666a5aaa1a24d4c637fe8797471fcca4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KHE::BytesEditInterface::isReadOnly </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the ReadOnly flag is set, otherwise <code>false</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a43aaf2f26fcde09b25c945995f824a9b"></a><!-- doxytag: member="KHE::BytesEditInterface::keepsMemory" ref="a43aaf2f26fcde09b25c945995f824a9b" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KHE::BytesEditInterface::keepsMemory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the memory of the byte array is kept, otherwise <code>false</code> </dd></dl>

</div>
</div>
<a class="anchor" id="ab82fc3ea2311074878c3cb6134b204a0"></a><!-- doxytag: member="KHE::BytesEditInterface::maxDataSize" ref="ab82fc3ea2311074878c3cb6134b204a0" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int KHE::BytesEditInterface::maxDataSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the maximal allowed size for the byte array </dd></dl>

</div>
</div>
<a class="anchor" id="a313f764accf424ec63f5f837b55561ac"></a><!-- doxytag: member="KHE::BytesEditInterface::repaintRange" ref="a313f764accf424ec63f5f837b55561ac" args="(int i1, int i2)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::repaintRange </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>repaint the indizes from i1 to i2 </p>

</div>
</div>
<a class="anchor" id="aba650ad9ccc76690813a073fc4ebcfb4"></a><!-- doxytag: member="KHE::BytesEditInterface::setAutoDelete" ref="aba650ad9ccc76690813a073fc4ebcfb4" args="(bool AD=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setAutoDelete </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>AD</em> = <code>true</code></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets whether the array should be deleted on the widget's end or if a new array is set. </p>
<p>Default is false </p>

</div>
</div>
<a class="anchor" id="a66618c8a716862035096c98f45a2ed27"></a><!-- doxytag: member="KHE::BytesEditInterface::setData" ref="a66618c8a716862035096c98f45a2ed27" args="(char *D, int S, int RS=&#45;1, bool KM=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setData </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>S</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>RS</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>KM</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>hands over to the editor a new byte array. </p>
<p>If there exists an old one and autodelete is set the old one gets deleted. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">D</td><td>pointer to memory </td></tr>
    <tr><td class="paramname">S</td><td>size of used memory </td></tr>
    <tr><td class="paramname">RS</td><td>real size of the memory, -1 means S is the real size </td></tr>
    <tr><td class="paramname">KM</td><td>keep the memory on resize (RS is the maximum size) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1e5c7168a10bc01e1d539b1e296deac2"></a><!-- doxytag: member="KHE::BytesEditInterface::setKeepsMemory" ref="a1e5c7168a10bc01e1d539b1e296deac2" args="(bool KM=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setKeepsMemory </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>KM</em> = <code>true</code></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>switches the array </p>
<p>sets whether the actual memory used to store the data (as given by setData or in the constructor, or allocated by the class) should be kept on resize. If MaxDataSize is set and greater than the raw size of the memory it is limited to the raw size. Default is false. </p>

</div>
</div>
<a class="anchor" id="a5da63c57f8fac987234d456a247641bc"></a><!-- doxytag: member="KHE::BytesEditInterface::setMaxDataSize" ref="a5da63c57f8fac987234d456a247641bc" args="(int MS)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setMaxDataSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>MS</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets the maximal size of the actual byte array. </p>
<p>If the actual array is already larger it will not be modified but there can be only done non-inserting actions until the array's is below the limit If the flag KeepsMemory is set MaxDataSize is limited to the real size of the array. MaxDataSize == -1 means no limit. Default is -1. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">MS</td><td>new maximal data size </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0e54bb6c16d05cb2e9abb4163043a7f0"></a><!-- doxytag: member="KHE::BytesEditInterface::setModified" ref="a0e54bb6c16d05cb2e9abb4163043a7f0" args="(bool b)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setModified </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets whether the data should be treated modified or not </p>

</div>
</div>
<a class="anchor" id="a338dffa47b654525f04a772605584767"></a><!-- doxytag: member="KHE::BytesEditInterface::setOverwriteMode" ref="a338dffa47b654525f04a772605584767" args="(bool b)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setOverwriteMode </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets whether the widget is in overwrite mode or not. </p>
<p>Default is true. </p>

</div>
</div>
<a class="anchor" id="a1bc244999254d8891c82fd330fd1755e"></a><!-- doxytag: member="KHE::BytesEditInterface::setOverwriteOnly" ref="a1bc244999254d8891c82fd330fd1755e" args="(bool b)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setOverwriteOnly </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets whether the widget is overwriteonly or not. </p>
<p>Default is false. </p>

</div>
</div>
<a class="anchor" id="a5af67582a2bdc09048f30523b7b33781"></a><!-- doxytag: member="KHE::BytesEditInterface::setReadOnly" ref="a5af67582a2bdc09048f30523b7b33781" args="(bool RO=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KHE::BytesEditInterface::setReadOnly </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>RO</em> = <code>true</code></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets whether the given array should be handled read only or not. </p>
<p>Default is false. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="byteseditinterface_8h_source.html">byteseditinterface.h</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>interfaces</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></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="classExtTerminalInterface.html">extterminalinterface</option>,  <option value="classKFileAudioPreview.html">kfileaudiopreview</option>,  <option value="classKHE_1_1BytesEditInterface.html">khe::byteseditinterface</option>,  <option value="classKHE_1_1CharColumnInterface.html">khe::charcolumninterface</option>,  <option value="classKHE_1_1ClipboardInterface.html">khe::clipboardinterface</option>,  <option value="classKHE_1_1ValueColumnInterface.html">khe::valuecolumninterface</option>,  <option value="classKHE_1_1ZoomInterface.html">khe::zoominterface</option>,  <option value="classKIMIface.html">kimiface</option>,  <option value="classKIMProxy.html">kimproxy</option>,  <option value="classKMediaPlayer_1_1Player.html">kmediaplayer::player</option>,  <option value="classKMediaPlayer_1_1View.html">kmediaplayer::view</option>,  <option value="classKRegExpEditorInterface.html">kregexpeditorinterface</option>,  <option value="classKScriptClientInterface.html">kscriptclientinterface</option>,  <option value="classKScriptInterface.html">kscriptinterface</option>,  <option value="classKScriptManager.html">kscriptmanager</option>,  <option value="classKSpeech.html">kspeech</option>,  <option value="classKSpeechSink.html">kspeechsink</option>,  <option value="classKTextEditor_1_1BlockSelectionDCOPInterface.html">ktexteditor::blockselectiondcopinterface</option>,  <option value="classKTextEditor_1_1BlockSelectionInterface.html">ktexteditor::blockselectioninterface</option>,  <option value="classKTextEditor_1_1ClipboardDCOPInterface.html">ktexteditor::clipboarddcopinterface</option>,  <option value="classKTextEditor_1_1ClipboardInterface.html">ktexteditor::clipboardinterface</option>,  <option value="classKTextEditor_1_1CodeCompletionInterface.html">ktexteditor::codecompletioninterface</option>,  <option value="classKTextEditor_1_1CompletionEntry.html">ktexteditor::completionentry</option>,  <option value="classKTextEditor_1_1ConfigInterface.html">ktexteditor::configinterface</option>,  <option value="classKTextEditor_1_1ConfigInterfaceExtension.html">ktexteditor::configinterfaceextension</option>,  <option value="classKTextEditor_1_1Cursor.html">ktexteditor::cursor</option>,  <option value="classKTextEditor_1_1CursorInterface.html">ktexteditor::cursorinterface</option>,  <option value="classKTextEditor_1_1Document.html">ktexteditor::document</option>,  <option value="classKTextEditor_1_1DocumentInfoDCOPInterface.html">ktexteditor::documentinfodcopinterface</option>,  <option value="classKTextEditor_1_1DocumentInfoInterface.html">ktexteditor::documentinfointerface</option>,  <option value="classKTextEditor_1_1DynWordWrapInterface.html">ktexteditor::dynwordwrapinterface</option>,  <option value="classKTextEditor_1_1EditDCOPInterface.html">ktexteditor::editdcopinterface</option>,  <option value="classKTextEditor_1_1EditInterface.html">ktexteditor::editinterface</option>,  <option value="classKTextEditor_1_1EditInterfaceExt.html">ktexteditor::editinterfaceext</option>,  <option value="classKTextEditor_1_1Editor.html">ktexteditor::editor</option>,  <option value="classKTextEditor_1_1EncodingDCOPInterface.html">ktexteditor::encodingdcopinterface</option>,  <option value="classKTextEditor_1_1EncodingInterface.html">ktexteditor::encodinginterface</option>,  <option value="classKTextEditor_1_1HighlightingInterface.html">ktexteditor::highlightinginterface</option>,  <option value="classKTextEditor_1_1MarkInterface.html">ktexteditor::markinterface</option>,  <option value="classKTextEditor_1_1MarkInterfaceExtension.html">ktexteditor::markinterfaceextension</option>,  <option value="classKTextEditor_1_1Plugin.html">ktexteditor::plugin</option>,  <option value="classKTextEditor_1_1PluginViewInterface.html">ktexteditor::pluginviewinterface</option>,  <option value="classKTextEditor_1_1PopupMenuInterface.html">ktexteditor::popupmenuinterface</option>,  <option value="classKTextEditor_1_1PrintDCOPInterface.html">ktexteditor::printdcopinterface</option>,  <option value="classKTextEditor_1_1PrintInterface.html">ktexteditor::printinterface</option>,  <option value="classKTextEditor_1_1SearchDCOPInterface.html">ktexteditor::searchdcopinterface</option>,  <option value="classKTextEditor_1_1SearchInterface.html">ktexteditor::searchinterface</option>,  <option value="classKTextEditor_1_1SelectionDCOPInterface.html">ktexteditor::selectiondcopinterface</option>,  <option value="classKTextEditor_1_1SelectionExtDCOPInterface.html">ktexteditor::selectionextdcopinterface</option>,  <option value="classKTextEditor_1_1SelectionInterface.html">ktexteditor::selectioninterface</option>,  <option value="classKTextEditor_1_1SelectionInterfaceExt.html">ktexteditor::selectioninterfaceext</option>,  <option value="classKTextEditor_1_1SessionConfigInterface.html">ktexteditor::sessionconfiginterface</option>,  <option value="classKTextEditor_1_1TemplateInterface.html">ktexteditor::templateinterface</option>,  <option value="classKTextEditor_1_1TextHintInterface.html">ktexteditor::texthintinterface</option>,  <option value="classKTextEditor_1_1UndoDCOPInterface.html">ktexteditor::undodcopinterface</option>,  <option value="classKTextEditor_1_1UndoInterface.html">ktexteditor::undointerface</option>,  <option value="classKTextEditor_1_1VariableInterface.html">ktexteditor::variableinterface</option>,  <option value="classKTextEditor_1_1View.html">ktexteditor::view</option>,  <option value="classKTextEditor_1_1ViewCursorDCOPInterface.html">ktexteditor::viewcursordcopinterface</option>,  <option value="classKTextEditor_1_1ViewCursorInterface.html">ktexteditor::viewcursorinterface</option>,  <option value="classKTextEditor_1_1ViewStatusMsgDCOPInterface.html">ktexteditor::viewstatusmsgdcopinterface</option>,  <option value="classKTextEditor_1_1ViewStatusMsgInterface.html">ktexteditor::viewstatusmsginterface</option>,  <option value="classKTextEditor_1_1WordWrapInterface.html">ktexteditor::wordwrapinterface</option>,  <option value="classScriptLoader.html">scriptloader</option>,  <option value="classTerminalInterface.html">terminalinterface</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>