<?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: kmdichildview.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">kmdichildview.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 : kmdichildview.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 : 02/2000 by Massimo Morin (mmorin@schedsys.com)</span> <a name="l00013"></a>00013 <span class="comment">// */2000 by Lars Beikirch (Lars.Beikirch@gmx.net)</span> <a name="l00014"></a>00014 <span class="comment">// 02/2001 by Eva Brucherseifer (eva@rt.e-technik.tu-darmstadt.de)</span> <a name="l00015"></a>00015 <span class="comment">// 01/2003 by Jens Zurheide (jens.zurheide@gmx.de)</span> <a name="l00016"></a>00016 <span class="comment">//</span> <a name="l00017"></a>00017 <span class="comment">// copyright : (C) 1999-2003 by Falk Brettschneider</span> <a name="l00018"></a>00018 <span class="comment">// and</span> <a name="l00019"></a>00019 <span class="comment">// Szymon Stefanek (stefanek@tin.it)</span> <a name="l00020"></a>00020 <span class="comment">// email : falkbr@kdevelop.org (Falk Brettschneider)</span> <a name="l00021"></a>00021 <span class="comment">//----------------------------------------------------------------------------</span> <a name="l00022"></a>00022 <span class="comment">//</span> <a name="l00023"></a>00023 <span class="comment">//----------------------------------------------------------------------------</span> <a name="l00024"></a>00024 <span class="comment">//</span> <a name="l00025"></a>00025 <span class="comment">// This program is free software; you can redistribute it and/or modify</span> <a name="l00026"></a>00026 <span class="comment">// it under the terms of the GNU Library General Public License as</span> <a name="l00027"></a>00027 <span class="comment">// published by the Free Software Foundation; either version 2 of the</span> <a name="l00028"></a>00028 <span class="comment">// License, or (at your option) any later version.</span> <a name="l00029"></a>00029 <span class="comment">//</span> <a name="l00030"></a>00030 <span class="comment">//----------------------------------------------------------------------------</span> <a name="l00031"></a>00031 <span class="preprocessor">#ifndef _KMDI_CHILD_VIEW_H_</span> <a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _KMDI_CHILD_VIEW_H_</span> <a name="l00033"></a>00033 <span class="preprocessor"></span> <a name="l00034"></a>00034 <span class="preprocessor">#include <qwidget.h></span> <a name="l00035"></a>00035 <span class="preprocessor">#include <qpixmap.h></span> <a name="l00036"></a>00036 <span class="preprocessor">#include <qrect.h></span> <a name="l00037"></a>00037 <span class="preprocessor">#include <qapplication.h></span> <a name="l00038"></a>00038 <span class="preprocessor">#include <qdatetime.h></span> <a name="l00039"></a>00039 <a name="l00040"></a>00040 <span class="preprocessor">#include "kmdichildfrm.h"</span> <a name="l00041"></a>00041 <a name="l00042"></a>00042 <span class="keyword">class </span>KMdiChildViewPrivate; <a name="l00043"></a>00043 <a name="l00108"></a><a class="code" href="classKMdiChildView.html">00108</a> <span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> : <span class="keyword">public</span> <a class="codeRef" href="qwidget.html">QWidget</a> <a name="l00109"></a>00109 { <a name="l00110"></a>00110 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKMdiMainFrm.html" title="Base class for all your special main frames.">KMdiMainFrm</a>; <a name="l00111"></a>00111 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a>; <a name="l00112"></a>00112 Q_OBJECT <a name="l00113"></a>00113 <a name="l00114"></a>00114 <span class="comment">// attributes</span> <a name="l00115"></a>00115 <span class="keyword">protected</span>: <a name="l00119"></a><a class="code" href="classKMdiChildView.html#a7cbb1d9c468fc45ffdb40f21daf8079e">00119</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKMdiChildView.html#a7cbb1d9c468fc45ffdb40f21daf8079e" title="See KMdiChildView::caption.">m_szCaption</a>; <a name="l00120"></a>00120 <a name="l00124"></a><a class="code" href="classKMdiChildView.html#ae6f26c726ffc5e2839330e71c359dcc7">00124</a> <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="classKMdiChildView.html#ae6f26c726ffc5e2839330e71c359dcc7" title="See KMdiChildView::tabCaption.">m_sTabCaption</a>; <a name="l00125"></a>00125 <a name="l00129"></a><a class="code" href="classKMdiChildView.html#a75f84e595ef682c408ecc02d2c2af8ae">00129</a> <a class="codeRef" href="qwidget.html">QWidget</a>* <a class="code" href="classKMdiChildView.html#a75f84e595ef682c408ecc02d2c2af8ae" title="See KMdiChildView::focusedChildWidget.">m_focusedChildWidget</a>; <a name="l00130"></a>00130 <a name="l00134"></a><a class="code" href="classKMdiChildView.html#a4e724e6f79f200a4697a99d7ed47617a">00134</a> <a class="codeRef" href="qwidget.html">QWidget</a>* <a class="code" href="classKMdiChildView.html#a4e724e6f79f200a4697a99d7ed47617a" title="See KMdiChildView::setFirstFocusableChildWidget.">m_firstFocusableChildWidget</a>; <a name="l00135"></a>00135 <a name="l00139"></a><a class="code" href="classKMdiChildView.html#aeca1e48dcf56e09851d35b6cb84a046c">00139</a> <a class="codeRef" href="qwidget.html">QWidget</a>* <a class="code" href="classKMdiChildView.html#aeca1e48dcf56e09851d35b6cb84a046c" title="See KMdiChildView::setLastFocusableChildWidget.">m_lastFocusableChildWidget</a>; <a name="l00140"></a>00140 <a name="l00144"></a><a class="code" href="classKMdiChildView.html#a76390b05ecf92fb13a151d619a24a678">00144</a> <span class="keywordtype">int</span> <a class="code" href="classKMdiChildView.html#a76390b05ecf92fb13a151d619a24a678" title="Every child view window has an temporary ID in the Window menu of the main frame.">m_windowMenuID</a>; <a name="l00145"></a>00145 <a name="l00150"></a><a class="code" href="classKMdiChildView.html#a609b5ce5bc3d4cf80ded4a2e04ae0c93">00150</a> <span class="keywordtype">bool</span> <a class="code" href="classKMdiChildView.html#a609b5ce5bc3d4cf80ded4a2e04ae0c93" title="Holds a temporary information about if the MDI view state has changed but is not processed yet (pendi...">m_stateChanged</a>; <a name="l00151"></a>00151 <a name="l00155"></a><a class="code" href="classKMdiChildView.html#adfef24fe29abe72f5c0dee24e2e79871">00155</a> <a class="codeRef" href="qdatetime.html">QDateTime</a> <a class="code" href="classKMdiChildView.html#adfef24fe29abe72f5c0dee24e2e79871" title="Holds the time when this view was activated (not only displayed) for the last time.">m_time</a>; <a name="l00156"></a>00156 <a name="l00157"></a>00157 <span class="keyword">private</span>: <a name="l00161"></a>00161 <span class="keywordtype">bool</span> m_bToolView; <a name="l00162"></a>00162 <a name="l00168"></a>00168 <span class="keywordtype">bool</span> m_bInterruptActivation; <a name="l00169"></a>00169 <a name="l00173"></a>00173 <span class="keywordtype">bool</span> m_bMainframesActivateViewIsPending; <a name="l00174"></a>00174 <a name="l00178"></a>00178 <span class="keywordtype">bool</span> m_bFocusInEventIsPending; <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="l00185"></a>00185 <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& <a class="code" href="classKMdiChildFrm.html#ab9787ec1cb305810b5b105d994e562e8" title="Gets the caption of this mdi child.">caption</a>, <a class="codeRef" href="qwidget.html">QWidget</a>* parentWidget = 0L, <span class="keyword">const</span> <span class="keywordtype">char</span>* name = 0L, WFlags f = 0 ); <a name="l00186"></a>00186 <a name="l00191"></a>00191 <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>( <a class="codeRef" href="qwidget.html">QWidget</a>* parentWidget = 0L, <span class="keyword">const</span> <span class="keywordtype">char</span>* name = 0L, WFlags f = 0 ); <a name="l00192"></a>00192 <a name="l00196"></a>00196 ~<a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>(); <a name="l00197"></a>00197 <a name="l00206"></a>00206 <span class="keywordtype">void</span> activate(); <a name="l00207"></a>00207 <a name="l00211"></a>00211 <span class="keywordtype">void</span> setFirstFocusableChildWidget( <a class="codeRef" href="qwidget.html">QWidget</a>* ); <a name="l00212"></a>00212 <a name="l00216"></a>00216 <span class="keywordtype">void</span> setLastFocusableChildWidget( <a class="codeRef" href="qwidget.html">QWidget</a>* ); <a name="l00217"></a>00217 <a name="l00221"></a>00221 <a class="codeRef" href="qwidget.html">QWidget</a>* focusedChildWidget(); <a name="l00222"></a>00222 <a name="l00227"></a><a class="code" href="classKMdiChildView.html#aef62e77b1cbbd807ed91765711e4b259">00227</a> <span class="keywordtype">bool</span> <a class="code" href="classKMdiChildView.html#aef62e77b1cbbd807ed91765711e4b259" title="Returns true if the MDI view is a child window within the MDI mainframe widget or false if the MDI vi...">isAttached</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( mdiParent() != 0L ); } <a name="l00228"></a>00228 <a name="l00232"></a><a class="code" href="classKMdiChildView.html#adc5ca28f73af36d1739cee950af1fb5c">00232</a> <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& <a class="code" href="classKMdiChildView.html#adc5ca28f73af36d1739cee950af1fb5c" title="Returns the caption of the child window (different from the caption on the button in the taskbar)...">caption</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_szCaption; } <a name="l00233"></a>00233 <a name="l00237"></a><a class="code" href="classKMdiChildView.html#ac0e1fd56dbf1f6d9659fb14ff8a1b0c5">00237</a> <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& <a class="code" href="classKMdiChildView.html#ac0e1fd56dbf1f6d9659fb14ff8a1b0c5" title="Returns the caption of the button on the taskbar.">tabCaption</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_sTabCaption; } <a name="l00238"></a>00238 <a name="l00243"></a>00243 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#setCaption">setCaption</a>( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& szCaption ); <a name="l00244"></a>00244 <a name="l00248"></a>00248 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTabCaption( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& <a class="code" href="classKMdiChildFrm.html#ab9787ec1cb305810b5b105d994e562e8" title="Gets the caption of this mdi child.">caption</a> ); <a name="l00249"></a>00249 <a name="l00253"></a>00253 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMDICaption( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &<a class="code" href="classKMdiChildFrm.html#ab9787ec1cb305810b5b105d994e562e8" title="Gets the caption of this mdi child.">caption</a> ); <a name="l00254"></a>00254 <a name="l00258"></a>00258 <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a> *mdiParent() <span class="keyword">const</span>; <a name="l00259"></a>00259 <a name="l00264"></a>00264 <span class="keywordtype">bool</span> <a class="codeRef" href="qwidget.html#isMinimized">isMinimized</a>() <span class="keyword">const</span>; <a name="l00265"></a>00265 <a name="l00270"></a>00270 <span class="keywordtype">bool</span> <a class="codeRef" href="qwidget.html#isMaximized">isMaximized</a>() <span class="keyword">const</span>; <a name="l00271"></a>00271 <a name="l00275"></a>00275 <a class="codeRef" href="qrect.html">QRect</a> internalGeometry() <span class="keyword">const</span>; <a name="l00276"></a>00276 <a name="l00284"></a>00284 <span class="keywordtype">void</span> setInternalGeometry( <span class="keyword">const</span> <a class="codeRef" href="qrect.html">QRect</a>& newGeomety ); <a name="l00285"></a>00285 <a name="l00289"></a>00289 <a class="codeRef" href="qrect.html">QRect</a> externalGeometry() <span class="keyword">const</span>; <a name="l00290"></a>00290 <a name="l00298"></a>00298 <span class="keywordtype">void</span> setExternalGeometry( <span class="keyword">const</span> <a class="codeRef" href="qrect.html">QRect</a>& newGeomety ); <a name="l00299"></a>00299 <a name="l00303"></a>00303 <span class="keyword">virtual</span> <a class="codeRef" href="qpixmap.html">QPixmap</a>* myIconPtr(); <a name="l00304"></a>00304 <a name="l00309"></a>00309 <span class="keyword">virtual</span> <span class="keywordtype">void</span> minimize( <span class="keywordtype">bool</span> bAnimate ); <a name="l00310"></a>00310 <a name="l00315"></a>00315 <span class="keyword">virtual</span> <span class="keywordtype">void</span> maximize( <span class="keywordtype">bool</span> bAnimate ); <a name="l00316"></a>00316 <a name="l00320"></a>00320 <a class="codeRef" href="qrect.html">QRect</a> <a class="code" href="classKMdiChildFrm.html#a8b1f2af63c698455fb9396186baa3139" title="Returns the geometry that will be restored by calling restore().">restoreGeometry</a>(); <a name="l00321"></a>00321 <a name="l00325"></a>00325 <span class="keywordtype">void</span> <a class="code" href="classKMdiChildFrm.html#a63aa2a87dde5bcc709c96f7c0e180fed" title="Sets the geometry that will be restored by calling restore().">setRestoreGeometry</a>( <span class="keyword">const</span> <a class="codeRef" href="qrect.html">QRect</a>& newRestGeo ); <a name="l00326"></a>00326 <a name="l00330"></a>00330 <span class="keywordtype">void</span> removeEventFilterForAllChildren(); <a name="l00331"></a>00331 <a name="l00335"></a>00335 <span class="keywordtype">void</span> setWindowMenuID( <span class="keywordtype">int</span> <span class="keywordtype">id</span> ); <a name="l00336"></a>00336 <a name="l00342"></a>00342 <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="l00343"></a>00343 <a name="l00349"></a>00349 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#setMaximumSize">setMaximumSize</a> ( <span class="keywordtype">int</span> maxw, <span class="keywordtype">int</span> maxh ); <a name="l00350"></a>00350 <a name="l00354"></a><a class="code" href="classKMdiChildView.html#a534402891b4ef8226235531ca2a19d70">00354</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classKMdiChildView.html#a534402891b4ef8226235531ca2a19d70" title="Returns if this is added as MDI tool-view.">isToolView</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_bToolView; } <a name="l00355"></a>00355 <a name="l00359"></a><a class="code" href="classKMdiChildView.html#aeaa543761fd6f00e6b1bf8de2e228eda">00359</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> updateTimeStamp() <a name="l00360"></a>00360 { <a name="l00361"></a>00361 m_time.setDate( <a class="codeRef" href="qdate.html#currentDate-2">QDate::currentDate</a>() ); <a name="l00362"></a>00362 m_time.setTime( <a class="codeRef" href="qtime.html#currentTime-2">QTime::currentTime</a>() ); <a name="l00363"></a>00363 } <a name="l00364"></a>00364 <a name="l00368"></a><a class="code" href="classKMdiChildView.html#abc12e58a23d7b5aae87acf7b50450166">00368</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="codeRef" href="qdatetime.html">QDateTime</a>& <a class="code" href="classKMdiChildView.html#abc12e58a23d7b5aae87acf7b50450166" title="Recall a previously remembered time, i.e.">getTimeStamp</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_time; } <a name="l00369"></a>00369 <a name="l00370"></a>00370 <span class="keyword">public</span> slots: <a name="l00376"></a>00376 <span class="keyword">virtual</span> <span class="keywordtype">void</span> attach(); <a name="l00377"></a>00377 <a name="l00383"></a>00383 <span class="keyword">virtual</span> <span class="keywordtype">void</span> detach(); <a name="l00384"></a>00384 <a name="l00390"></a>00390 <span class="keyword">virtual</span> <span class="keywordtype">void</span> minimize(); <a name="l00391"></a>00391 <a name="l00397"></a>00397 <span class="keyword">virtual</span> <span class="keywordtype">void</span> maximize(); <a name="l00398"></a>00398 <a name="l00402"></a>00402 <span class="keyword">virtual</span> <span class="keywordtype">void</span> restore(); <a name="l00403"></a>00403 <a name="l00408"></a>00408 <span class="keyword">virtual</span> <span class="keywordtype">void</span> youAreAttached( <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a> *lpC ); <a name="l00409"></a>00409 <a name="l00414"></a>00414 <span class="keyword">virtual</span> <span class="keywordtype">void</span> youAreDetached(); <a name="l00415"></a>00415 <a name="l00419"></a>00419 <span class="keyword">virtual</span> <span class="keywordtype">void</span> slot_clickedInWindowMenu(); <a name="l00420"></a>00420 <a name="l00424"></a>00424 <span class="keyword">virtual</span> <span class="keywordtype">void</span> slot_clickedInDockMenu(); <a name="l00425"></a>00425 <a name="l00429"></a>00429 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#show">show</a>(); <a name="l00430"></a>00430 <a name="l00434"></a>00434 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#hide">hide</a>(); <a name="l00435"></a>00435 <a name="l00439"></a>00439 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <span class="keyword">raise</span>(); <a name="l00440"></a>00440 <a name="l00445"></a>00445 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#showMinimized">showMinimized</a>(); <a name="l00446"></a>00446 <a name="l00451"></a>00451 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#showMaximized">showMaximized</a>(); <a name="l00452"></a>00452 <a name="l00457"></a>00457 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#showNormal">showNormal</a>(); <a name="l00458"></a>00458 <a name="l00459"></a>00459 <a name="l00460"></a>00460 <span class="keyword">protected</span>: <a name="l00465"></a>00465 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#closeEvent">closeEvent</a>( <a class="codeRef" href="qcloseevent.html">QCloseEvent</a> *e ); <a name="l00466"></a>00466 <a name="l00473"></a>00473 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMdiChildFrm.html#a25a9658665d90013d23e3f52175ede05" title="Reimplemented from the base class.">eventFilter</a>( <a class="codeRef" href="qobject.html">QObject</a> *obj, <a class="codeRef" href="qevent.html">QEvent</a> *e ); <a name="l00474"></a>00474 <a name="l00481"></a>00481 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#focusInEvent">focusInEvent</a>( <a class="codeRef" href="qfocusevent.html">QFocusEvent</a> *e ); <a name="l00482"></a>00482 <a name="l00486"></a>00486 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#focusOutEvent">focusOutEvent</a>( <a class="codeRef" href="qfocusevent.html">QFocusEvent</a> *e ); <a name="l00487"></a>00487 <a name="l00491"></a>00491 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="codeRef" href="qwidget.html#resizeEvent">resizeEvent</a>( <a class="codeRef" href="qresizeevent.html">QResizeEvent</a> *e ); <a name="l00492"></a>00492 <a name="l00493"></a>00493 <span class="keywordtype">void</span> trackIconAndCaptionChanges( <a class="codeRef" href="qwidget.html">QWidget</a> *view ); <a name="l00494"></a>00494 <a name="l00495"></a>00495 <span class="keyword">protected</span> slots: <a name="l00496"></a>00496 <span class="keywordtype">void</span> slot_childDestroyed(); <a name="l00497"></a>00497 <a name="l00498"></a>00498 signals: <a name="l00502"></a>00502 <span class="keywordtype">void</span> attachWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>*, <span class="keywordtype">bool</span> ); <a name="l00503"></a>00503 <a name="l00507"></a>00507 <span class="keywordtype">void</span> detachWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>*, <span class="keywordtype">bool</span> ); <a name="l00508"></a>00508 <a name="l00514"></a>00514 <span class="keywordtype">void</span> focusInEventOccurs( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00515"></a>00515 <a name="l00520"></a>00520 <span class="keywordtype">void</span> gotFocus( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00521"></a>00521 <a name="l00526"></a>00526 <span class="keywordtype">void</span> activated( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00527"></a>00527 <a name="l00531"></a>00531 <span class="keywordtype">void</span> lostFocus( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00532"></a>00532 <a name="l00536"></a>00536 <span class="keywordtype">void</span> deactivated( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00537"></a>00537 <a name="l00542"></a>00542 <span class="keywordtype">void</span> childWindowCloseRequest( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00543"></a>00543 <a name="l00547"></a>00547 <span class="keywordtype">void</span> windowCaptionChanged( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& ); <a name="l00548"></a>00548 <a name="l00552"></a>00552 <span class="keywordtype">void</span> tabCaptionChanged( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& ); <a name="l00553"></a>00553 <a name="l00558"></a>00558 <span class="keywordtype">void</span> mdiParentNowMaximized( <span class="keywordtype">bool</span> ); <a name="l00559"></a>00559 <a name="l00563"></a>00563 <span class="keywordtype">void</span> clickedInWindowMenu( <span class="keywordtype">int</span> ); <a name="l00564"></a>00564 <a name="l00568"></a>00568 <span class="keywordtype">void</span> clickedInDockMenu( <span class="keywordtype">int</span> ); <a name="l00569"></a>00569 <a name="l00573"></a>00573 <span class="keywordtype">void</span> isMaximizedNow(); <a name="l00574"></a>00574 <a name="l00578"></a>00578 <span class="keywordtype">void</span> isMinimizedNow(); <a name="l00579"></a>00579 <a name="l00583"></a>00583 <span class="keywordtype">void</span> isRestoredNow(); <a name="l00584"></a>00584 <a name="l00588"></a>00588 <span class="keywordtype">void</span> isAttachedNow(); <a name="l00589"></a>00589 <a name="l00593"></a>00593 <span class="keywordtype">void</span> isDetachedNow(); <a name="l00594"></a>00594 <a name="l00595"></a>00595 <span class="keywordtype">void</span> iconUpdated( <a class="codeRef" href="qwidget.html">QWidget</a>*, <a class="codeRef" href="qpixmap.html">QPixmap</a> ); <a name="l00596"></a>00596 <span class="keywordtype">void</span> captionUpdated( <a class="codeRef" href="qwidget.html">QWidget</a>*, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& ); <a name="l00597"></a>00597 <a name="l00598"></a>00598 <a name="l00599"></a>00599 <span class="keyword">private</span>: <a name="l00600"></a>00600 KMdiChildViewPrivate *d; <a name="l00601"></a>00601 <a class="codeRef" href="qwidget.html">QWidget</a> *m_trackChanges; <a name="l00602"></a>00602 }; <a name="l00603"></a>00603 <a name="l00604"></a><a class="code" href="classKMdiChildView.html#a6099527f11467b75d9b9c3205dc95db3">00604</a> <span class="keyword">inline</span> <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a> *<a class="code" href="classKMdiChildView.html#a6099527f11467b75d9b9c3205dc95db3" title="Returns the KMdiChildFrm parent widget (or 0 if the window is not attached)">KMdiChildView::mdiParent</a>()<span class="keyword"> const</span> <a name="l00605"></a>00605 <span class="keyword"></span>{ <a name="l00606"></a>00606 <a class="codeRef" href="qwidget.html">QWidget</a> * pw = <a class="codeRef" href="qwidget.html#parentWidget">parentWidget</a>(); <a name="l00607"></a>00607 <span class="keywordflow">if</span> ( pw != 0L ) <a name="l00608"></a>00608 <span class="keywordflow">if</span> ( pw->inherits( <span class="stringliteral">"KMdiChildFrm"</span> ) ) <a name="l00609"></a>00609 <span class="keywordflow">return</span> ( <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a> * ) pw; <a name="l00610"></a>00610 <span class="keywordflow">return</span> 0L; <a name="l00611"></a>00611 } <a name="l00612"></a>00612 <a name="l00613"></a>00613 <span class="preprocessor">#endif //_KMDICHILDVIEW_H_</span> <a name="l00614"></a>00614 <span class="preprocessor"></span> <a name="l00615"></a>00615 <span class="comment">// kate: space-indent off; replace-tabs off; indent-mode csands; tab-width 4;</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> <a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <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> <a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../kio/kio/html/index.html">kio</a></li><li> <a href="../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <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> <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="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">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>