Sophie

Sophie

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

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>kmdi: kmdichildfrm.h Source File (kmdi)</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=".">kmdi</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">kmdichildfrm.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//----------------------------------------------------------------------------</span>
<a name="l00002"></a>00002 <span class="comment">//    filename             : kmdichildfrm.h</span>
<a name="l00003"></a>00003 <span class="comment">//----------------------------------------------------------------------------</span>
<a name="l00004"></a>00004 <span class="comment">//    Project              : KDE MDI extension</span>
<a name="l00005"></a>00005 <span class="comment">//</span>
<a name="l00006"></a>00006 <span class="comment">//    begin                : 07/1999       by Szymon Stefanek as part of kvirc</span>
<a name="l00007"></a>00007 <span class="comment">//                                         (an IRC application)</span>
<a name="l00008"></a>00008 <span class="comment">//    changes              : 09/1999       by Falk Brettschneider to create an</span>
<a name="l00009"></a>00009 <span class="comment">//                           - 06/2000     stand-alone Qt extension set of</span>
<a name="l00010"></a>00010 <span class="comment">//                                         classes and a Qt-based library</span>
<a name="l00011"></a>00011 <span class="comment">//                           2000-2003     maintained by the KDevelop project</span>
<a name="l00012"></a>00012 <span class="comment">//    patches              : */2000        Lars Beikirch (Lars.Beikirch@gmx.net)</span>
<a name="l00013"></a>00013 <span class="comment">//</span>
<a name="l00014"></a>00014 <span class="comment">//    copyright            : (C) 1999-2003 by Falk Brettschneider</span>
<a name="l00015"></a>00015 <span class="comment">//                                         and</span>
<a name="l00016"></a>00016 <span class="comment">//                                         Szymon Stefanek (stefanek@tin.it)</span>
<a name="l00017"></a>00017 <span class="comment">//    email                :  falkbr@kdevelop.org (Falk Brettschneider)</span>
<a name="l00018"></a>00018 <span class="comment">//----------------------------------------------------------------------------</span>
<a name="l00019"></a>00019 <span class="comment">//</span>
<a name="l00020"></a>00020 <span class="comment">//----------------------------------------------------------------------------</span>
<a name="l00021"></a>00021 <span class="comment">//</span>
<a name="l00022"></a>00022 <span class="comment">//    This program is free software; you can redistribute it and/or modify</span>
<a name="l00023"></a>00023 <span class="comment">//    it under the terms of the GNU Library General Public License as</span>
<a name="l00024"></a>00024 <span class="comment">//    published by the Free Software Foundation; either version 2 of the</span>
<a name="l00025"></a>00025 <span class="comment">//    License, or (at your option) any later version.</span>
<a name="l00026"></a>00026 <span class="comment">//</span>
<a name="l00027"></a>00027 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef _KMDI_CHILD_FRM_H_</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _KMDI_CHILD_FRM_H_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;qptrlist.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;qpixmap.h&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;qpushbutton.h&gt;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;qlabel.h&gt;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;qdatetime.h&gt;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;qlayout.h&gt;</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="preprocessor">#include &lt;qdict.h&gt;</span>
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="preprocessor">#include &quot;kmdichildfrmcaption.h&quot;</span>
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classKMdiChildArea.html" title="Internal class.">KMdiChildArea</a>;
<a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>;
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="codeRef" href="qpopupmenu.html">QPopupMenu</a>;
<a name="l00045"></a>00045 <span class="keyword">class </span><a class="codeRef" href="qtoolbutton.html">QToolButton</a>;
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 <span class="comment">//==============================================================================</span>
<a name="l00052"></a><a class="code" href="classKMdiWin32IconButton.html">00052</a> <span class="comment"></span><span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiWin32IconButton.html" title="Internal class, only used on Win32.">KMdiWin32IconButton</a> : <span class="keyword">public</span> <a class="codeRef" href="qlabel.html">QLabel</a>
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054     Q_OBJECT
<a name="l00055"></a>00055 <span class="keyword">public</span>:
<a name="l00056"></a>00056     <a class="code" href="classKMdiWin32IconButton.html" title="Internal class, only used on Win32.">KMdiWin32IconButton</a>( <a class="codeRef" href="qwidget.html">QWidget</a>* parent, <span class="keyword">const</span> <span class="keywordtype">char</span>* name = 0 );
<a name="l00057"></a>00057     <span class="keyword">virtual</span> <span class="keywordtype">void</span> mousePressEvent( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a>* );
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 signals:
<a name="l00060"></a>00060     <span class="keywordtype">void</span> pressed();
<a name="l00061"></a>00061 };
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 <span class="comment">//==============================================================================</span>
<a name="l00064"></a>00064 <span class="comment">/* some special events, see kmdidefines.h</span>
<a name="l00065"></a>00065 <span class="comment">*/</span> 
<a name="l00066"></a>00066 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00071"></a><a class="code" href="classKMdiChildFrmMoveEvent.html">00071</a> <span class="comment"></span><span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiChildFrmMoveEvent.html" title="a QCustomEvent for move This special event will be useful, to inform view about child frame event...">KMdiChildFrmMoveEvent</a> : <span class="keyword">public</span> <a class="codeRef" href="qcustomevent.html">QCustomEvent</a>
<a name="l00072"></a>00072 {
<a name="l00073"></a>00073 <span class="keyword">public</span>:
<a name="l00074"></a>00074     <a class="code" href="classKMdiChildFrmMoveEvent.html" title="a QCustomEvent for move This special event will be useful, to inform view about child frame event...">KMdiChildFrmMoveEvent</a>( <a class="codeRef" href="qmoveevent.html">QMoveEvent</a> *e ) : <a class="codeRef" href="qcustomevent.html#QCustomEvent">QCustomEvent</a>( QEvent::Type( QEvent::User + <span class="keywordtype">int</span>( KMdi::EV_Move ) ), e ) {}
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 };
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00083"></a><a class="code" href="classKMdiChildFrmDragBeginEvent.html">00083</a> <span class="comment"></span><span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiChildFrmDragBeginEvent.html" title="a QCustomEvent for begin of dragging This special event will be useful, to inform view about child fr...">KMdiChildFrmDragBeginEvent</a> : <span class="keyword">public</span> <a class="codeRef" href="qcustomevent.html">QCustomEvent</a>
<a name="l00084"></a>00084 {
<a name="l00085"></a>00085 <span class="keyword">public</span>:
<a name="l00086"></a>00086     <a class="code" href="classKMdiChildFrmDragBeginEvent.html" title="a QCustomEvent for begin of dragging This special event will be useful, to inform view about child fr...">KMdiChildFrmDragBeginEvent</a>( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a> *e ) : <a class="codeRef" href="qcustomevent.html#QCustomEvent">QCustomEvent</a>( QEvent::Type( QEvent::User + <span class="keywordtype">int</span>( KMdi::EV_DragBegin ) ), e ) {}
<a name="l00087"></a>00087 };
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00094"></a><a class="code" href="classKMdiChildFrmDragEndEvent.html">00094</a> <span class="comment"></span><span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiChildFrmDragEndEvent.html" title="a QCustomEvent for end of dragging This special event will be useful, to inform view about child fram...">KMdiChildFrmDragEndEvent</a> : <span class="keyword">public</span> <a class="codeRef" href="qcustomevent.html">QCustomEvent</a>
<a name="l00095"></a>00095 {
<a name="l00096"></a>00096 <span class="keyword">public</span>:
<a name="l00097"></a>00097     <a class="code" href="classKMdiChildFrmDragEndEvent.html" title="a QCustomEvent for end of dragging This special event will be useful, to inform view about child fram...">KMdiChildFrmDragEndEvent</a>( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a> *e ) : <a class="codeRef" href="qcustomevent.html#QCustomEvent">QCustomEvent</a>( QEvent::Type( QEvent::User + <span class="keywordtype">int</span>( KMdi::EV_DragEnd ) ), e ) {}
<a name="l00098"></a>00098 };
<a name="l00099"></a>00099 
<a name="l00100"></a>00100 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00105"></a><a class="code" href="classKMdiChildFrmResizeBeginEvent.html">00105</a> <span class="comment"></span><span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiChildFrmResizeBeginEvent.html" title="a QCustomEvent for begin of resizing This special event will be useful, to inform view about child fr...">KMdiChildFrmResizeBeginEvent</a> : <span class="keyword">public</span> <a class="codeRef" href="qcustomevent.html">QCustomEvent</a>
<a name="l00106"></a>00106 {
<a name="l00107"></a>00107 <span class="keyword">public</span>:
<a name="l00108"></a>00108     <a class="code" href="classKMdiChildFrmResizeBeginEvent.html" title="a QCustomEvent for begin of resizing This special event will be useful, to inform view about child fr...">KMdiChildFrmResizeBeginEvent</a>( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a> *e ) : <a class="codeRef" href="qcustomevent.html#QCustomEvent">QCustomEvent</a>( QEvent::Type( QEvent::User + <span class="keywordtype">int</span>( KMdi::EV_ResizeBegin ) ), e ) {}
<a name="l00109"></a>00109 };
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00116"></a><a class="code" href="classKMdiChildFrmResizeEndEvent.html">00116</a> <span class="comment"></span><span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiChildFrmResizeEndEvent.html" title="a QCustomEvent for end of resizing This special event will be useful, to inform view about child fram...">KMdiChildFrmResizeEndEvent</a> : <span class="keyword">public</span> <a class="codeRef" href="qcustomevent.html">QCustomEvent</a>
<a name="l00117"></a>00117 {
<a name="l00118"></a>00118 <span class="keyword">public</span>:
<a name="l00119"></a>00119     <a class="code" href="classKMdiChildFrmResizeEndEvent.html" title="a QCustomEvent for end of resizing This special event will be useful, to inform view about child fram...">KMdiChildFrmResizeEndEvent</a>( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a> *e ) : <a class="codeRef" href="qcustomevent.html#QCustomEvent">QCustomEvent</a>( QEvent::Type( QEvent::User + <span class="keywordtype">int</span>( KMdi::EV_ResizeEnd ) ), e ) {}
<a name="l00120"></a>00120 };
<a name="l00121"></a>00121 
<a name="l00122"></a>00122 
<a name="l00123"></a>00123 <span class="keyword">class </span>KMdiChildFrmPrivate;
<a name="l00124"></a>00124 <span class="comment">//==============================================================================</span>
<a name="l00129"></a>00129 <span class="comment"></span><span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00130"></a><a class="code" href="classKMdiChildFrm.html">00130</a> <span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a> : <span class="keyword">public</span> <a class="codeRef" href="qframe.html">QFrame</a>
<a name="l00131"></a>00131 {
<a name="l00132"></a>00132     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKMdiChildArea.html" title="Internal class.">KMdiChildArea</a>;
<a name="l00133"></a>00133     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKMdiChildFrmCaption.html" title="Internal class.">KMdiChildFrmCaption</a>;
<a name="l00134"></a>00134 
<a name="l00135"></a>00135     Q_OBJECT
<a name="l00136"></a>00136 
<a name="l00137"></a>00137     <span class="comment">// attributes</span>
<a name="l00138"></a>00138 <span class="keyword">public</span>:
<a name="l00139"></a>00139     <span class="keyword">enum</span> MdiWindowState { Normal, Maximized, Minimized };
<a name="l00140"></a>00140     <span class="comment">//positions same in h and cpp for fast order check</span>
<a name="l00141"></a>00141     <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* m_pClient;
<a name="l00142"></a>00142 
<a name="l00143"></a>00143 <span class="keyword">protected</span>:
<a name="l00144"></a>00144     <a class="code" href="classKMdiChildArea.html" title="Internal class.">KMdiChildArea</a>* m_pManager;
<a name="l00145"></a>00145     <a class="code" href="classKMdiChildFrmCaption.html" title="Internal class.">KMdiChildFrmCaption</a>* m_pCaption;
<a name="l00146"></a>00146     <a class="code" href="classKMdiWin32IconButton.html" title="Internal class, only used on Win32.">KMdiWin32IconButton</a>* m_pWinIcon;
<a name="l00147"></a>00147     <a class="codeRef" href="qtoolbutton.html">QToolButton</a>* m_pUnixIcon;
<a name="l00148"></a>00148     <a class="codeRef" href="qtoolbutton.html">QToolButton</a>* m_pMinimize;
<a name="l00149"></a>00149     <a class="codeRef" href="qtoolbutton.html">QToolButton</a>* m_pMaximize;
<a name="l00150"></a>00150     <a class="codeRef" href="qtoolbutton.html">QToolButton</a>* m_pClose;
<a name="l00151"></a>00151     <a class="codeRef" href="qtoolbutton.html">QToolButton</a>* m_pUndock;
<a name="l00152"></a>00152     MdiWindowState m_state;
<a name="l00153"></a>00153     <a class="codeRef" href="qrect.html">QRect</a> m_restoredRect;
<a name="l00154"></a>00154     <span class="keywordtype">int</span> m_iResizeCorner;
<a name="l00155"></a>00155     <span class="keywordtype">int</span> m_iLastCursorCorner;
<a name="l00156"></a>00156     <span class="keywordtype">bool</span> m_bResizing;
<a name="l00157"></a>00157     <span class="keywordtype">bool</span> m_bDragging;
<a name="l00158"></a>00158     <a class="codeRef" href="qpixmap.html">QPixmap</a>* m_pIconButtonPixmap;
<a name="l00159"></a>00159     <a class="codeRef" href="qpixmap.html">QPixmap</a>* m_pMinButtonPixmap;
<a name="l00160"></a>00160     <a class="codeRef" href="qpixmap.html">QPixmap</a>* m_pMaxButtonPixmap;
<a name="l00161"></a>00161     <a class="codeRef" href="qpixmap.html">QPixmap</a>* m_pRestoreButtonPixmap;
<a name="l00162"></a>00162     <a class="codeRef" href="qpixmap.html">QPixmap</a>* m_pCloseButtonPixmap;
<a name="l00163"></a>00163     <a class="codeRef" href="qpixmap.html">QPixmap</a>* m_pUndockButtonPixmap;
<a name="l00164"></a>00164     
<a name="l00168"></a><a class="code" href="classKMdiChildFrm.html#a078a4aed16a84024ced8e0ecc73f3881">00168</a>     <span class="keywordtype">int</span> <a class="code" href="classKMdiChildFrm.html#a078a4aed16a84024ced8e0ecc73f3881" title="Every child frame window has an temporary ID in the Window menu of the child area.">m_windowMenuID</a>;
<a name="l00169"></a>00169     
<a name="l00173"></a><a class="code" href="classKMdiChildFrm.html#a1036f3d99edb70468745445604a66847">00173</a>     <a class="codeRef" href="qpopupmenu.html">QPopupMenu</a>* <a class="code" href="classKMdiChildFrm.html#a1036f3d99edb70468745445604a66847" title="Imitates a system menu for child frame windows.">m_pSystemMenu</a>;
<a name="l00174"></a>00174     
<a name="l00175"></a>00175     <a class="codeRef" href="qsize.html">QSize</a> m_oldClientMinSize;
<a name="l00176"></a>00176     <a class="codeRef" href="qsize.html">QSize</a> m_oldClientMaxSize;
<a name="l00177"></a>00177     QLayout::ResizeMode m_oldLayoutResizeMode;
<a name="l00178"></a>00178     <a class="codeRef" href="qtime.html">QTime</a> m_timeMeasure;
<a name="l00179"></a>00179 
<a name="l00180"></a>00180     <span class="comment">// methods</span>
<a name="l00181"></a>00181 <span class="keyword">public</span>:
<a name="l00182"></a>00182     
<a name="l00186"></a>00186     <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a>( <a class="code" href="classKMdiChildArea.html" title="Internal class.">KMdiChildArea</a> *parent );
<a name="l00187"></a>00187     
<a name="l00192"></a>00192     ~<a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a>();
<a name="l00193"></a>00193     
<a name="l00199"></a>00199     <span class="keywordtype">void</span> setClient( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *w, <span class="keywordtype">bool</span> bAutomaticResize = <span class="keyword">false</span> );
<a name="l00200"></a>00200     
<a name="l00205"></a>00205     <span class="keywordtype">void</span> unsetClient( <a class="codeRef" href="qpoint.html">QPoint</a> positionOffset = <a class="codeRef" href="qpoint.html">QPoint</a>( 0, 0 ) );
<a name="l00206"></a>00206     
<a name="l00210"></a>00210     <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#setIcon">setIcon</a>( <span class="keyword">const</span> <a class="codeRef" href="qpixmap.html">QPixmap</a> &amp;pxm );
<a name="l00211"></a>00211     
<a name="l00215"></a>00215     <a class="codeRef" href="qpixmap.html">QPixmap</a>* <a class="codeRef" href="qwidget.html#icon">icon</a>() <span class="keyword">const</span>;
<a name="l00216"></a>00216     
<a name="l00220"></a>00220     <span class="keywordtype">void</span> enableClose( <span class="keywordtype">bool</span> bEnable );
<a name="l00221"></a>00221     
<a name="l00225"></a>00225     <span class="keywordtype">void</span> <a class="code" href="classKMdiChildFrmCaption.html#a961580fc0ae3d5d7aef457fb7e97c299" title="Repaint with a new caption bar title.">setCaption</a>( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; text );
<a name="l00226"></a>00226     
<a name="l00230"></a><a class="code" href="classKMdiChildFrm.html#ab9787ec1cb305810b5b105d994e562e8">00230</a>     <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; <a class="code" href="classKMdiChildFrm.html#ab9787ec1cb305810b5b105d994e562e8" title="Gets the caption of this mdi child.">caption</a>() { <span class="keywordflow">return</span> m_pCaption-&gt;m_szCaption; }
<a name="l00231"></a>00231     
<a name="l00235"></a>00235     <span class="keywordtype">void</span> setState( MdiWindowState state, <span class="keywordtype">bool</span> bAnimate = <span class="keyword">true</span> );
<a name="l00236"></a>00236     
<a name="l00240"></a><a class="code" href="classKMdiChildFrm.html#ab775a728239dff0fb0a267f9e2768164">00240</a>     <span class="keyword">inline</span> MdiWindowState <a class="code" href="classKMdiChildFrm.html#ab775a728239dff0fb0a267f9e2768164" title="Returns the current state of the window.">state</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_state; }
<a name="l00241"></a>00241     
<a name="l00245"></a>00245     <a class="codeRef" href="qrect.html">QRect</a> mdiAreaContentsRect() <span class="keyword">const</span>;
<a name="l00246"></a>00246     
<a name="l00250"></a>00250     <a class="codeRef" href="qrect.html">QRect</a> restoreGeometry() <span class="keyword">const</span>;
<a name="l00251"></a>00251     
<a name="l00255"></a>00255     <span class="keywordtype">void</span> setRestoreGeometry( <span class="keyword">const</span> <a class="codeRef" href="qrect.html">QRect</a>&amp; newRestGeo );
<a name="l00256"></a>00256     
<a name="l00261"></a><a class="code" href="classKMdiChildFrm.html#afa4e82a97b47fac65bf2185b235fc200">00261</a>     <span class="keywordtype">void</span> <a class="code" href="classKMdiChildFrm.html#afa4e82a97b47fac65bf2185b235fc200" title="Forces updating the rects of the caption and so...">updateRects</a>() { <a class="codeRef" href="qframe.html#resizeEvent">resizeEvent</a>( 0 ); }
<a name="l00262"></a>00262     
<a name="l00266"></a>00266     <a class="codeRef" href="qpopupmenu.html">QPopupMenu</a>* systemMenu() <span class="keyword">const</span>;
<a name="l00267"></a>00267     
<a name="l00271"></a><a class="code" href="classKMdiChildFrm.html#a693446976017051ffdad5067d8102688">00271</a>     <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classKMdiChildFrm.html#a693446976017051ffdad5067d8102688" title="Returns the caption bar height.">captionHeight</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_pCaption-&gt;height(); }
<a name="l00272"></a>00272     
<a name="l00276"></a>00276     <span class="keywordtype">void</span> redecorateButtons();
<a name="l00277"></a>00277 
<a name="l00281"></a><a class="code" href="classKMdiChildFrm.html#a3f3f55dc807b440d3b1df8ad96c1667a">00281</a>     <span class="keywordtype">bool</span> <a class="code" href="classKMdiChildFrm.html#a3f3f55dc807b440d3b1df8ad96c1667a" title="returns the mouse state &quot;In Drag&quot;">isInDrag</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_bDragging; }
<a name="l00282"></a>00282     
<a name="l00286"></a><a class="code" href="classKMdiChildFrm.html#a25848d6e0518e50d2cfd8a6788b4bc77">00286</a>     <span class="keywordtype">bool</span> <a class="code" href="classKMdiChildFrm.html#a25848d6e0518e50d2cfd8a6788b4bc77" title="returns the mouse state &quot;In Resize&quot;">isInResize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_bResizing; }
<a name="l00287"></a>00287     
<a name="l00292"></a>00292     <span class="keywordtype">void</span> raiseAndActivate();
<a name="l00293"></a>00293 
<a name="l00299"></a>00299     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#setMinimumSize">setMinimumSize</a> ( <span class="keywordtype">int</span> minw, <span class="keywordtype">int</span> minh );
<a name="l00300"></a>00300 
<a name="l00301"></a>00301 <span class="keyword">public</span> slots:
<a name="l00302"></a>00302     
<a name="l00303"></a>00303     <span class="keywordtype">void</span> slot_resizeViaSystemMenu();
<a name="l00304"></a>00304 
<a name="l00305"></a>00305 <span class="keyword">protected</span>:
<a name="l00306"></a>00306     
<a name="l00312"></a>00312     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qframe.html#resizeEvent">resizeEvent</a>( <a class="codeRef" href="qresizeevent.html">QResizeEvent</a> * );
<a name="l00313"></a>00313     
<a name="l00319"></a>00319     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKMdiChildFrmCaption.html#a4115e44b3ecd545fb1191a2370feae43" title="Checks if out of move range of the KMdiChildArea and calls KMdiChildFrm::move.">mouseMoveEvent</a>( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a> *e );
<a name="l00320"></a>00320     
<a name="l00326"></a>00326     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKMdiChildFrmCaption.html#a7a04538019d073bd62dc8c9dbbe27804" title="The same as KMdiChildFrmCaption::slot_moveViaSystemMenu.">mousePressEvent</a>( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a> *e );
<a name="l00327"></a>00327     
<a name="l00332"></a>00332     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKMdiChildFrmCaption.html#ad199b288da8264ef685e84ef0b38e889" title="Restore the normal mouse cursor, set the state variable back to &#39;not moving&#39;.">mouseReleaseEvent</a>( <a class="codeRef" href="qmouseevent.html">QMouseEvent</a> * );
<a name="l00333"></a>00333     
<a name="l00339"></a>00339     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#moveEvent">moveEvent</a>( <a class="codeRef" href="qmoveevent.html">QMoveEvent</a>* me );
<a name="l00340"></a>00340     
<a name="l00344"></a>00344     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#leaveEvent">leaveEvent</a>( <a class="codeRef" href="qevent.html">QEvent</a> * );
<a name="l00345"></a>00345     
<a name="l00352"></a>00352     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> eventFilter( <a class="codeRef" href="qobject.html">QObject</a>*, <a class="codeRef" href="qevent.html">QEvent</a>* ); 
<a name="l00353"></a>00353     
<a name="l00358"></a>00358     <span class="keywordtype">void</span> resizeWindow( <span class="keywordtype">int</span> resizeCorner, <span class="keywordtype">int</span> <a class="codeRef" href="qwidget.html#x">x</a>, <span class="keywordtype">int</span> <a class="codeRef" href="qwidget.html#y">y</a> );
<a name="l00359"></a>00359     
<a name="l00363"></a>00363     <span class="keywordtype">void</span> setResizeCursor( <span class="keywordtype">int</span> resizeCorner );
<a name="l00364"></a>00364     
<a name="l00368"></a>00368     <span class="keywordtype">void</span> unsetResizeCursor();
<a name="l00369"></a>00369     
<a name="l00374"></a>00374     <span class="keyword">virtual</span> <span class="keywordtype">void</span> switchToMinimizeLayout();
<a name="l00375"></a>00375     
<a name="l00379"></a>00379     <span class="keywordtype">void</span> doResize();
<a name="l00380"></a>00380     
<a name="l00385"></a>00385     <span class="keywordtype">void</span> doResize( <span class="keywordtype">bool</span> captionOnly );
<a name="l00386"></a>00386 
<a name="l00387"></a>00387 <span class="keyword">protected</span> slots:
<a name="l00388"></a>00388     
<a name="l00392"></a>00392     <span class="keywordtype">void</span> maximizePressed();
<a name="l00393"></a>00393     
<a name="l00397"></a>00397     <span class="keywordtype">void</span> restorePressed();
<a name="l00398"></a>00398     
<a name="l00402"></a>00402     <span class="keywordtype">void</span> minimizePressed();
<a name="l00403"></a>00403     
<a name="l00407"></a>00407     <span class="keywordtype">void</span> closePressed();
<a name="l00408"></a>00408     
<a name="l00412"></a>00412     <span class="keywordtype">void</span> undockPressed();
<a name="l00413"></a>00413     
<a name="l00417"></a>00417     <span class="keywordtype">void</span> showSystemMenu();
<a name="l00418"></a>00418 
<a name="l00419"></a>00419 <span class="keyword">protected</span>:
<a name="l00420"></a>00420 
<a name="l00425"></a>00425     <span class="keywordtype">void</span> linkChildren( <a class="codeRef" href="qdict.html">QDict&lt;FocusPolicy&gt;</a>* pFocPolDict );
<a name="l00426"></a>00426 
<a name="l00431"></a>00431     <a class="codeRef" href="qdict.html">QDict&lt;QWidget::FocusPolicy&gt;</a>* unlinkChildren();
<a name="l00432"></a>00432     
<a name="l00438"></a>00438     <span class="keywordtype">int</span> getResizeCorner( <span class="keywordtype">int</span> ax, <span class="keywordtype">int</span> ay );
<a name="l00439"></a>00439 
<a name="l00440"></a>00440 <span class="keyword">private</span>:
<a name="l00441"></a>00441     KMdiChildFrmPrivate *d;
<a name="l00442"></a>00442 };
<a name="l00443"></a>00443 
<a name="l00444"></a>00444 <span class="preprocessor">#endif //_KMDICHILDFRM_H_</span>
<a name="l00445"></a>00445 <span class="preprocessor"></span>
<a name="l00446"></a>00446 <span class="comment">// kate: space-indent off; replace-tabs off; tab-width 4; indent-mode csands;</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>kmdi</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="classKMdiChildArea.html">kmdichildarea</option>,  <option value="classKMdiChildFrm.html">kmdichildfrm</option>,  <option value="classKMdiChildFrmCaption.html">kmdichildfrmcaption</option>,  <option value="classKMdiChildFrmDragBeginEvent.html">kmdichildfrmdragbeginevent</option>,  <option value="classKMdiChildFrmDragEndEvent.html">kmdichildfrmdragendevent</option>,  <option value="classKMdiChildFrmMoveEvent.html">kmdichildfrmmoveevent</option>,  <option value="classKMdiChildFrmResizeBeginEvent.html">kmdichildfrmresizebeginevent</option>,  <option value="classKMdiChildFrmResizeEndEvent.html">kmdichildfrmresizeendevent</option>,  <option value="classKMdiChildView.html">kmdichildview</option>,  <option value="classKMdiDocumentViewTabWidget.html">kmdidocumentviewtabwidget</option>,  <option value="classKMdiMainFrm.html">kmdimainfrm</option>,  <option value="classKMDIPrivate_1_1KMDIGUIClient.html">kmdiprivate::kmdiguiclient</option>,  <option value="classKMDIPrivate_1_1ToggleToolViewAction.html">kmdiprivate::toggletoolviewaction</option>,  <option value="classKMdiTaskBar.html">kmditaskbar</option>,  <option value="classKMdiTaskBarButton.html">kmditaskbarbutton</option>,  <option value="classKMdiViewCloseEvent.html">kmdiviewcloseevent</option>,  <option value="classKMdiWin32IconButton.html">kmdiwin32iconbutton</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>