<?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: kmdimainfrm.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.5.5 --> <h1>kmdimainfrm.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//----------------------------------------------------------------------------</span> <a name="l00002"></a>00002 <span class="comment">// filename : kmdimainfrm.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">// : 02/2000 by Massimo Morin (mmorin@schedsys.com)</span> <a name="l00012"></a>00012 <span class="comment">// 2000-2003 maintained by the KDevelop project</span> <a name="l00013"></a>00013 <span class="comment">// patches : */2000 by Lars Beikirch (Lars.Beikirch@gmx.net)</span> <a name="l00014"></a>00014 <span class="comment">// : 01/2003 by Jens Zurheide (jens.zurheide@gmx.de)</span> <a name="l00015"></a>00015 <span class="comment">//</span> <a name="l00016"></a>00016 <span class="comment">// copyright : (C) 1999-2003 by Falk Brettschneider</span> <a name="l00017"></a>00017 <span class="comment">// and</span> <a name="l00018"></a>00018 <span class="comment">// Szymon Stefanek (stefanek@tin.it)</span> <a name="l00019"></a>00019 <span class="comment">// email : falkbr@kdevelop.org (Falk Brettschneider)</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">//----------------------------------------------------------------------------</span> <a name="l00023"></a>00023 <span class="comment">//</span> <a name="l00024"></a>00024 <span class="comment">// This program is free software; you can redistribute it and/or modify</span> <a name="l00025"></a>00025 <span class="comment">// it under the terms of the GNU Library General Public License as</span> <a name="l00026"></a>00026 <span class="comment">// published by the Free Software Foundation; either version 2 of the</span> <a name="l00027"></a>00027 <span class="comment">// License, or (at your option) any later version.</span> <a name="l00028"></a>00028 <span class="comment">//</span> <a name="l00029"></a>00029 <span class="comment">//----------------------------------------------------------------------------</span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="preprocessor">#ifndef _KMDIMAINFRM_H_</span> <a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _KMDIMAINFRM_H_</span> <a name="l00033"></a>00033 <span class="preprocessor"></span> <a name="l00034"></a>00034 <span class="preprocessor">#include <kparts/dockmainwindow.h></span> <a name="l00035"></a>00035 <span class="preprocessor">#include <kmenubar.h></span> <a name="l00036"></a>00036 <span class="preprocessor">#include <kpopupmenu.h></span> <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="preprocessor">#include <qptrlist.h></span> <a name="l00039"></a>00039 <span class="preprocessor">#include <qrect.h></span> <a name="l00040"></a>00040 <span class="preprocessor">#include <qapplication.h></span> <a name="l00041"></a>00041 <span class="preprocessor">#include <qdom.h></span> <a name="l00042"></a>00042 <span class="preprocessor">#include <qguardedptr.h></span> <a name="l00043"></a>00043 <a name="l00044"></a>00044 <span class="preprocessor">#include "kmditaskbar.h"</span> <a name="l00045"></a>00045 <span class="preprocessor">#include "kmdichildarea.h"</span> <a name="l00046"></a>00046 <span class="preprocessor">#include "kmdichildview.h"</span> <a name="l00047"></a>00047 <span class="preprocessor">#include "kmdiiterator.h"</span> <a name="l00048"></a>00048 <span class="preprocessor">#include "kmdilistiterator.h"</span> <a name="l00049"></a>00049 <span class="preprocessor">#include "kmdinulliterator.h"</span> <a name="l00050"></a>00050 <span class="preprocessor">#include "kmditoolviewaccessor.h"</span> <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="keyword">class </span><a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qtimer.html">QTimer</a>; <a name="l00053"></a>00053 <span class="keyword">class </span><a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a>; <a name="l00054"></a>00054 <span class="keyword">class </span><a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qmenubar.html">QMenuBar</a>; <a name="l00055"></a>00055 <a name="l00056"></a>00056 <a name="l00057"></a>00057 <span class="keyword">class </span><a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qtoolbutton.html">QToolButton</a>; <a name="l00058"></a>00058 <a name="l00059"></a>00059 <span class="keyword">namespace </span>KMDIPrivate <a name="l00060"></a>00060 { <a name="l00061"></a>00061 <span class="keyword">class </span>KMDIGUIClient; <a name="l00062"></a>00062 } <a name="l00063"></a>00063 <a name="l00064"></a>00064 <span class="keyword">class </span>KMdiDockContainer; <a name="l00065"></a>00065 <span class="keyword">class </span>KMdiMainFrmPrivate; <a name="l00066"></a>00066 <a name="l00072"></a><a class="code" href="classKMdiViewCloseEvent.html">00072</a> <span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiViewCloseEvent.html" title="Internal class.">KMdiViewCloseEvent</a> : <span class="keyword">public</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qcustomevent.html">QCustomEvent</a> <a name="l00073"></a>00073 { <a name="l00074"></a>00074 <span class="keyword">public</span>: <a name="l00075"></a>00075 <a class="code" href="classKMdiViewCloseEvent.html" title="Internal class.">KMdiViewCloseEvent</a>( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* pWnd ) : <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qcustomevent.html#QCustomEvent">QCustomEvent</a>( QEvent::User, pWnd ) {} <a name="l00076"></a>00076 }; <a name="l00077"></a>00077 <a name="l00239"></a><a class="code" href="classKMdiMainFrm.html">00239</a> <span class="keyword">class </span>KMDI_EXPORT <a class="code" href="classKMdiMainFrm.html" title="Base class for all your special main frames.">KMdiMainFrm</a> : <span class="keyword">public</span> KParts::DockMainWindow <a name="l00240"></a>00240 { <a name="l00241"></a>00241 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>; <a name="l00242"></a>00242 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKMdiTaskBar.html" title="Internal class.">KMdiTaskBar</a>; <a name="l00243"></a>00243 Q_OBJECT <a name="l00244"></a>00244 <a name="l00245"></a>00245 <span class="keyword">friend</span> <span class="keyword">class </span>KMdiToolViewAccessor; <a name="l00246"></a>00246 <span class="comment">// attributes</span> <a name="l00247"></a>00247 <span class="keyword">protected</span>: <a name="l00248"></a>00248 KMdi::MdiMode m_mdiMode; <a name="l00249"></a>00249 <a class="code" href="classKMdiChildArea.html" title="Internal class.">KMdiChildArea</a> *m_pMdi; <a name="l00250"></a>00250 <a class="code" href="classKMdiTaskBar.html" title="Internal class.">KMdiTaskBar</a> *m_pTaskBar; <a name="l00251"></a>00251 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qptrlist.html">QPtrList<KMdiChildView></a> *m_pDocumentViews; <a name="l00252"></a>00252 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qmap.html">QMap<QWidget*, KMdiToolViewAccessor*></a> *m_pToolViews; <a name="l00253"></a>00253 <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *m_pCurrentWindow; <a name="l00254"></a>00254 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> *m_pWindowPopup; <a name="l00255"></a>00255 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> *m_pTaskBarPopup; <a name="l00256"></a>00256 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> *m_pWindowMenu; <a name="l00257"></a>00257 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> *m_pDockMenu; <a name="l00258"></a>00258 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> *m_pMdiModeMenu; <a name="l00259"></a>00259 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> *m_pPlacingMenu; <a name="l00260"></a>00260 KMenuBar *m_pMainMenuBar; <a name="l00261"></a>00261 <a name="l00262"></a>00262 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpixmap.html">QPixmap</a> *m_pUndockButtonPixmap; <a name="l00263"></a>00263 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpixmap.html">QPixmap</a> *m_pMinButtonPixmap; <a name="l00264"></a>00264 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpixmap.html">QPixmap</a> *m_pRestoreButtonPixmap; <a name="l00265"></a>00265 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpixmap.html">QPixmap</a> *m_pCloseButtonPixmap; <a name="l00266"></a>00266 <a name="l00267"></a>00267 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qtoolbutton.html">QToolButton</a> *m_pUndock; <a name="l00268"></a>00268 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qtoolbutton.html">QToolButton</a> *m_pMinimize; <a name="l00269"></a>00269 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qtoolbutton.html">QToolButton</a> *m_pRestore; <a name="l00270"></a>00270 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qtoolbutton.html">QToolButton</a> *m_pClose; <a name="l00271"></a>00271 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpoint.html">QPoint</a> m_undockPositioningOffset; <a name="l00272"></a>00272 <span class="keywordtype">bool</span> m_bMaximizedChildFrmMode; <a name="l00273"></a>00273 <span class="keywordtype">int</span> m_oldMainFrmHeight; <a name="l00274"></a>00274 <span class="keywordtype">int</span> m_oldMainFrmMinHeight; <a name="l00275"></a>00275 <span class="keywordtype">int</span> m_oldMainFrmMaxHeight; <a name="l00276"></a>00276 <span class="keyword">static</span> KMdi::FrameDecor m_frameDecoration; <a name="l00277"></a>00277 <span class="keywordtype">bool</span> m_bSDIApplication; <a name="l00278"></a>00278 KDockWidget* m_pDockbaseAreaOfDocumentViews; <a name="l00279"></a>00279 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qdomdocument.html">QDomDocument</a>* m_pTempDockSession; <a name="l00280"></a>00280 <span class="keywordtype">bool</span> m_bClearingOfWindowMenuBlocked; <a name="l00281"></a>00281 <a name="l00282"></a>00282 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qtimer.html">QTimer</a>* m_pDragEndTimer; <a name="l00283"></a>00283 <a name="l00284"></a>00284 <span class="keywordtype">bool</span> m_bSwitching; <a name="l00285"></a>00285 <a name="l00286"></a>00286 KDockWidget* m_leftContainer; <a name="l00287"></a>00287 KDockWidget* m_rightContainer; <a name="l00288"></a>00288 KDockWidget* m_topContainer; <a name="l00289"></a>00289 KDockWidget* m_bottomContainer; <a name="l00290"></a>00290 <a name="l00291"></a>00291 <a name="l00292"></a>00292 <span class="keyword">private</span>: <a name="l00293"></a>00293 KMdiMainFrmPrivate* d; <a name="l00294"></a>00294 <a class="code" href="classKMDIPrivate_1_1KMDIGUIClient.html" title="A class derived from KXMLGUIClient that handles the various KMDI modes.">KMDIPrivate::KMDIGUIClient</a>* m_mdiGUIClient; <a name="l00295"></a>00295 <span class="keywordtype">bool</span> m_managedDockPositionMode; <a name="l00296"></a>00296 <a name="l00297"></a>00297 <span class="comment">// methods</span> <a name="l00298"></a>00298 <span class="keyword">public</span>: <a name="l00299"></a>00299 <a class="code" href="classKMdiMainFrm.html" title="Base class for all your special main frames.">KMdiMainFrm</a>( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a>* parentWidget, <span class="keyword">const</span> <span class="keywordtype">char</span>* name = <span class="stringliteral">""</span>, KMdi::MdiMode mdiMode = KMdi::ChildframeMode, WFlags flags = WType_TopLevel | WDestructiveClose ); <a name="l00300"></a>00300 <span class="keyword">virtual</span> ~<a class="code" href="classKMdiMainFrm.html" title="Base class for all your special main frames.">KMdiMainFrm</a>(); <a name="l00301"></a>00301 <a name="l00306"></a>00306 <span class="keywordtype">void</span> setStandardMDIMenuEnabled( <span class="keywordtype">bool</span> showModeMenu = <span class="keyword">true</span> ); <a name="l00307"></a>00307 <a name="l00308"></a>00308 <span class="keywordtype">void</span> setManagedDockPositionModeEnabled( <span class="keywordtype">bool</span> enabled ); <a name="l00309"></a>00309 <a name="l00313"></a><a class="code" href="classKMdiMainFrm.html#2ba8d8749f066139333ae7f4a66e8bfa">00313</a> <span class="keywordtype">bool</span> isInMaximizedChildFrmMode() { <span class="keywordflow">return</span> m_bMaximizedChildFrmMode; } <a name="l00314"></a>00314 <a name="l00318"></a><a class="code" href="classKMdiMainFrm.html#769089ca1ad356dcfaca00d360119aee">00318</a> KMdi::MdiMode mdiMode() { <span class="keywordflow">return</span> m_mdiMode; } <a name="l00319"></a>00319 <a name="l00323"></a>00323 <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* activeWindow(); <a name="l00324"></a>00324 <a name="l00332"></a>00332 <span class="keyword">virtual</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> * taskBarPopup( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd, <span class="keywordtype">bool</span> bIncludeWindowPopup = <span class="keyword">false</span> ); <a name="l00333"></a>00333 <a name="l00338"></a>00338 <span class="keyword">virtual</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a> * windowPopup( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd, <span class="keywordtype">bool</span> bIncludeTaskbarPopup = <span class="keyword">true</span> ); <a name="l00339"></a>00339 <a name="l00343"></a>00343 <span class="keyword">virtual</span> <span class="keywordtype">void</span> applyOptions(); <a name="l00344"></a>00344 <a name="l00348"></a>00348 <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> * findWindow( <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a>& caption ); <a name="l00349"></a>00349 <a name="l00350"></a>00350 <span class="keyword">enum</span> ExistsAs {DocumentView, ToolView, AnyView}; <a name="l00354"></a>00354 <span class="keywordtype">bool</span> windowExists( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd, ExistsAs as ); <a name="l00355"></a>00355 <a name="l00368"></a>00368 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> event( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qevent.html">QEvent</a>* e ); <a name="l00369"></a>00369 <a name="l00373"></a>00373 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setSysButtonsAtMenuPosition(); <a name="l00374"></a>00374 <a name="l00378"></a><a class="code" href="classKMdiMainFrm.html#df2e32a09c92f6d5e3cbb4203378726c">00378</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> taskBarHeight() { <span class="keywordflow">return</span> m_pTaskBar ? m_pTaskBar->height() : 0; } <a name="l00379"></a>00379 <a name="l00384"></a><a class="code" href="classKMdiMainFrm.html#c997d3e6f4e78cee96515e4b87e5f664">00384</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setUndockPositioningOffset( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpoint.html">QPoint</a> offset ) { m_undockPositioningOffset = offset; } <a name="l00385"></a>00385 <a name="l00392"></a>00392 <span class="comment">// FIXME And what exactly are we supposed to fix? -mattr</span> <a name="l00393"></a><a class="code" href="classKMdiMainFrm.html#e4805630824994e0afcfb012a2a10897">00393</a> KMdiIterator<KMdiChildView*>* createIterator() <a name="l00394"></a>00394 { <a name="l00395"></a>00395 <span class="keywordflow">if</span> ( m_pDocumentViews == 0L ) <a name="l00396"></a>00396 { <a name="l00397"></a>00397 <span class="keywordflow">return</span> <span class="keyword">new</span> KMdiNullIterator<KMdiChildView*>(); <a name="l00398"></a>00398 } <a name="l00399"></a>00399 <span class="keywordflow">else</span> <a name="l00400"></a>00400 { <a name="l00401"></a>00401 <span class="keywordflow">return</span> <span class="keyword">new</span> KMdiListIterator<KMdiChildView>( *m_pDocumentViews ); <a name="l00402"></a>00402 } <a name="l00403"></a>00403 } <a name="l00404"></a>00404 <a name="l00408"></a><a class="code" href="classKMdiMainFrm.html#41bfbcede6edeadf9440d6234c3de883">00408</a> <span class="keywordtype">void</span> deleteIterator( KMdiIterator<KMdiChildView*>* pIt ) <a name="l00409"></a>00409 { <a name="l00410"></a>00410 <span class="keyword">delete</span> pIt; <a name="l00411"></a>00411 } <a name="l00412"></a>00412 <a name="l00418"></a><a class="code" href="classKMdiMainFrm.html#9f4c3b037a014da4023a151540368848">00418</a> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</a>* windowMenu()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_pWindowMenu; }; <a name="l00419"></a>00419 <a name="l00423"></a><a class="code" href="classKMdiMainFrm.html#4bc00f80615afee8128de16c63c52922">00423</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setBackgroundColor( <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qcolor.html">QColor</a> &c ) { m_pMdi->setBackgroundColor( c ); } <a name="l00424"></a>00424 <a name="l00428"></a><a class="code" href="classKMdiMainFrm.html#1d53079495d22e854254a8bf2fdcfc45">00428</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setBackgroundPixmap( <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpixmap.html">QPixmap</a> &pm ) { m_pMdi->setBackgroundPixmap( pm ); } <a name="l00429"></a>00429 <a name="l00434"></a><a class="code" href="classKMdiMainFrm.html#25ac55d91bbf8b1db447880696aa3796">00434</a> <span class="keywordtype">void</span> setDefaultChildFrmSize( <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qsize.html">QSize</a>& sz ) { m_pMdi->m_defaultChildFrmSize = sz; } <a name="l00435"></a>00435 <a name="l00439"></a><a class="code" href="classKMdiMainFrm.html#d7116628c147ce18a1e999c43df7cbf4">00439</a> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qsize.html">QSize</a> defaultChildFrmSize() { <span class="keywordflow">return</span> m_pMdi->m_defaultChildFrmSize; } <a name="l00440"></a>00440 <a name="l00444"></a>00444 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMinimumSize( <span class="keywordtype">int</span> minw, <span class="keywordtype">int</span> minh ); <a name="l00445"></a>00445 <a name="l00449"></a><a class="code" href="classKMdiMainFrm.html#58401f802028ab44307192cefc682361">00449</a> <span class="keywordtype">int</span> childFrameModeHeight() { <span class="keywordflow">return</span> m_oldMainFrmHeight; }; <a name="l00456"></a>00456 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMenuForSDIModeSysButtons( KMenuBar* menuBar = 0 ); <a name="l00457"></a>00457 <a name="l00461"></a><a class="code" href="classKMdiMainFrm.html#a9db3dfdd7f4569803c2373c59e08554">00461</a> <span class="keyword">static</span> <span class="keywordtype">int</span> frameDecorOfAttachedViews() { <span class="keywordflow">return</span> m_frameDecoration; } <a name="l00462"></a>00462 <a name="l00469"></a>00469 <span class="keywordtype">void</span> fakeSDIApplication(); <a name="l00470"></a>00470 <a name="l00474"></a><a class="code" href="classKMdiMainFrm.html#7ac77c5c106a429eb6523b927f6bc1d9">00474</a> <span class="keywordtype">bool</span> isFakingSDIApplication()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_bSDIApplication; } <a name="l00475"></a>00475 <a name="l00476"></a>00476 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> eventFilter( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qobject.html">QObject</a> *obj, <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qevent.html">QEvent</a> *e ); <a name="l00477"></a>00477 <span class="keywordtype">void</span> findRootDockWidgets( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qptrlist.html">QPtrList<KDockWidget></a>* pRootDockWidgetList, <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qvaluelist.html">QValueList<QRect></a>* pPositionList ); <a name="l00478"></a>00478 <a name="l00480"></a><a class="code" href="classKMdiMainFrm.html#ce6edab5239491886e4ef108a5fd37da">00480</a> <span class="keywordtype">void</span> setSwitching( <span class="keyword">const</span> <span class="keywordtype">bool</span> switching ) { m_bSwitching = switching; } <a name="l00481"></a>00481 <span class="keywordtype">bool</span> switching( <span class="keywordtype">void</span> )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_bSwitching; } <a name="l00482"></a>00482 <a name="l00483"></a>00483 <span class="keyword">public</span> slots: <a name="l00488"></a>00488 <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* createWrapper( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a> *view, <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a>& name, <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a>& shortName ); <a name="l00489"></a>00489 <a name="l00499"></a>00499 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* pWnd, <span class="keywordtype">int</span> flags = <a class="code" href="namespaceKMdi.html#e6634768fed44298aa93e26ddd1341f96836a36b2d2871ee03838964d9844a58" title="standard is: show normal, attached, visible, document view (not toolview).">KMdi::StandardAdd</a> ); <a name="l00500"></a>00500 <a name="l00501"></a>00501 <span class="comment">//KDE4: merge the two methods</span> <a name="l00517"></a>00517 <span class="comment"></span> <span class="keywordtype">void</span> addWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* pWnd, <span class="keywordtype">int</span> flags, <span class="keywordtype">int</span> index ); <a name="l00518"></a>00518 <a name="l00530"></a>00530 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* pWnd, <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpoint.html">QPoint</a> pos, <span class="keywordtype">int</span> flags = <a class="code" href="namespaceKMdi.html#e6634768fed44298aa93e26ddd1341f96836a36b2d2871ee03838964d9844a58" title="standard is: show normal, attached, visible, document view (not toolview).">KMdi::StandardAdd</a> ); <a name="l00531"></a>00531 <a name="l00543"></a>00543 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* pWnd, <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qrect.html">QRect</a> rectNormal, <span class="keywordtype">int</span> flags = <a class="code" href="namespaceKMdi.html#e6634768fed44298aa93e26ddd1341f96836a36b2d2871ee03838964d9844a58" title="standard is: show normal, attached, visible, document view (not toolview).">KMdi::StandardAdd</a> ); <a name="l00544"></a>00544 <a name="l00549"></a>00549 <span class="keyword">virtual</span> KMdiToolViewAccessor *addToolWindow( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a>* pWnd, KDockWidget::DockPosition pos = KDockWidget::DockNone, <a name="l00550"></a>00550 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a>* pTargetWnd = 0L, <span class="keywordtype">int</span> percent = 50, <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a>& tabToolTip = 0, <a name="l00551"></a>00551 <span class="keyword">const</span> <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a>& tabCaption = 0 ); <a name="l00552"></a>00552 <a name="l00553"></a>00553 <span class="keyword">virtual</span> <span class="keywordtype">void</span> deleteToolWindow( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a>* pWnd ); <a name="l00554"></a>00554 <span class="keyword">virtual</span> <span class="keywordtype">void</span> deleteToolWindow( KMdiToolViewAccessor *accessor ); <a name="l00555"></a>00555 <a name="l00560"></a>00560 KMdiToolViewAccessor *createToolWindow(); <a name="l00561"></a>00561 <a name="l00567"></a>00567 <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeWindowFromMdi( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd ); <a name="l00568"></a>00568 <a name="l00573"></a>00573 <span class="keyword">virtual</span> <span class="keywordtype">void</span> closeWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd, <span class="keywordtype">bool</span> layoutTaskBar = <span class="keyword">true</span> ); <a name="l00574"></a>00574 <a name="l00578"></a>00578 <span class="keyword">virtual</span> <span class="keywordtype">void</span> slot_toggleTaskBar(); <a name="l00579"></a>00579 <a name="l00585"></a>00585 <span class="keyword">virtual</span> <span class="keywordtype">void</span> attachWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd, <span class="keywordtype">bool</span> bShow = <span class="keyword">true</span>, <span class="keywordtype">bool</span> bAutomaticResize = <span class="keyword">false</span> ); <a name="l00586"></a>00586 <a name="l00591"></a>00591 <span class="keyword">virtual</span> <span class="keywordtype">void</span> detachWindow( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd, <span class="keywordtype">bool</span> bShow = <span class="keyword">true</span> ); <a name="l00592"></a>00592 <a name="l00597"></a>00597 <span class="keyword">virtual</span> <span class="keywordtype">void</span> childWindowCloseRequest( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd ); <a name="l00598"></a>00598 <a name="l00602"></a>00602 <span class="keyword">virtual</span> <span class="keywordtype">void</span> closeAllViews(); <a name="l00603"></a>00603 <a name="l00607"></a>00607 <span class="keyword">virtual</span> <span class="keywordtype">void</span> iconifyAllViews(); <a name="l00608"></a>00608 <a name="l00612"></a>00612 <span class="keyword">virtual</span> <span class="keywordtype">void</span> closeActiveView(); <a name="l00613"></a>00613 <a name="l00617"></a>00617 <span class="keyword">virtual</span> <span class="keywordtype">void</span> switchToToplevelMode(); <a name="l00618"></a>00618 <span class="keyword">virtual</span> <span class="keywordtype">void</span> finishToplevelMode(); <a name="l00619"></a>00619 <a name="l00623"></a>00623 <span class="keyword">virtual</span> <span class="keywordtype">void</span> switchToChildframeMode(); <a name="l00624"></a>00624 <span class="keyword">virtual</span> <span class="keywordtype">void</span> finishChildframeMode(); <a name="l00625"></a>00625 <a name="l00629"></a>00629 <span class="keyword">virtual</span> <span class="keywordtype">void</span> switchToTabPageMode(); <a name="l00630"></a>00630 <span class="keyword">virtual</span> <span class="keywordtype">void</span> finishTabPageMode(); <a name="l00631"></a>00631 <a name="l00635"></a>00635 <span class="keyword">virtual</span> <span class="keywordtype">void</span> switchToIDEAlMode(); <a name="l00636"></a>00636 <span class="keyword">virtual</span> <span class="keywordtype">void</span> finishIDEAlMode( <span class="keywordtype">bool</span> full = <span class="keyword">true</span> ); <a name="l00637"></a>00637 <a name="l00642"></a>00642 <span class="keywordtype">void</span> setIDEAlModeStyle( <span class="keywordtype">int</span> flags ) KDE_DEPRECATED; <a name="l00643"></a>00643 <span class="comment">//KDE4: Get rid of the above.</span> <a name="l00649"></a>00649 <span class="comment"></span> <span class="keywordtype">void</span> setToolviewStyle( <span class="keywordtype">int</span> flags ); <a name="l00653"></a>00653 <span class="keywordtype">bool</span> isViewTaskBarOn(); <a name="l00654"></a>00654 <a name="l00658"></a>00658 <span class="keyword">virtual</span> <span class="keywordtype">void</span> showViewTaskBar(); <a name="l00659"></a>00659 <a name="l00663"></a>00663 <span class="keyword">virtual</span> <span class="keywordtype">void</span> hideViewTaskBar(); <a name="l00664"></a>00664 <a name="l00668"></a>00668 <span class="keyword">virtual</span> <span class="keywordtype">void</span> fillWindowMenu(); <a name="l00669"></a>00669 <a name="l00673"></a><a class="code" href="classKMdiMainFrm.html#a5e2c1399ae9836614d0ebd15e03302a">00673</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> cascadeWindows() { m_pMdi->cascadeWindows(); } <a name="l00674"></a>00674 <a name="l00678"></a><a class="code" href="classKMdiMainFrm.html#7f306a05e3867aa8daf59100df261c11">00678</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> cascadeMaximized() { m_pMdi->cascadeMaximized(); } <a name="l00679"></a>00679 <a name="l00683"></a><a class="code" href="classKMdiMainFrm.html#4a9d6f0816560ed6ad48801365abd101">00683</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> expandVertical() { m_pMdi->expandVertical(); } <a name="l00684"></a>00684 <a name="l00688"></a><a class="code" href="classKMdiMainFrm.html#72021bdf92ee784a9f9cd6fab2bc4d83">00688</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> expandHorizontal() { m_pMdi->expandHorizontal(); } <a name="l00689"></a>00689 <a name="l00693"></a><a class="code" href="classKMdiMainFrm.html#033989964b38398bf0601313f6a1cce3">00693</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> tilePragma() { m_pMdi->tilePragma(); } <a name="l00694"></a>00694 <a name="l00698"></a><a class="code" href="classKMdiMainFrm.html#9ea2aad3018690f7be3f168b158d83a4">00698</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> tileAnodine() { m_pMdi->tileAnodine(); } <a name="l00699"></a>00699 <a name="l00703"></a><a class="code" href="classKMdiMainFrm.html#856ef257ff5b771f56ba448123ccc23d">00703</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> tileVertically() { m_pMdi->tileVertically(); } <a name="l00704"></a>00704 <a name="l00709"></a>00709 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFrameDecorOfAttachedViews( <span class="keywordtype">int</span> frameDecor ); <a name="l00710"></a>00710 <a name="l00714"></a>00714 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEnableMaximizedChildFrmMode( <span class="keywordtype">bool</span> bEnable ); <a name="l00715"></a>00715 <a name="l00719"></a>00719 <span class="keyword">virtual</span> <span class="keywordtype">void</span> activateNextWin(); <a name="l00720"></a>00720 <a name="l00724"></a>00724 <span class="keyword">virtual</span> <span class="keywordtype">void</span> activatePrevWin(); <a name="l00725"></a>00725 <a name="l00729"></a>00729 <span class="keyword">virtual</span> <span class="keywordtype">void</span> activateFirstWin(); <a name="l00730"></a>00730 <a name="l00734"></a>00734 <span class="keyword">virtual</span> <span class="keywordtype">void</span> activateLastWin(); <a name="l00735"></a>00735 <a name="l00739"></a>00739 <span class="keyword">virtual</span> <span class="keywordtype">void</span> activateView( <span class="keywordtype">int</span> index ); <a name="l00740"></a>00740 <a name="l00741"></a>00741 <span class="keyword">private</span>: <a name="l00742"></a>00742 <span class="keywordtype">void</span> setupToolViewsForIDEALMode(); <a name="l00743"></a>00743 <span class="keywordtype">void</span> setupTabbedDocumentViewSpace(); <a name="l00744"></a>00744 <span class="keyword">class </span><a class="code" href="classKMdiDocumentViewTabWidget.html" title="A reimplementation of KTabWidget for KMDI.">KMdiDocumentViewTabWidget</a> * m_documentTabWidget; <a name="l00745"></a>00745 <a name="l00746"></a>00746 <span class="keyword">protected</span>: <a name="l00747"></a>00747 <a name="l00748"></a>00748 <span class="keyword">virtual</span> <span class="keywordtype">void</span> resizeEvent( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qresizeevent.html">QResizeEvent</a> * ); <a name="l00749"></a>00749 <a name="l00753"></a>00753 <span class="keyword">virtual</span> <span class="keywordtype">void</span> createTaskBar(); <a name="l00754"></a>00754 <a name="l00758"></a>00758 <span class="keyword">virtual</span> <span class="keywordtype">void</span> createMdiManager(); <a name="l00759"></a>00759 <a name="l00764"></a><a class="code" href="classKMdiMainFrm.html#83b1633f2f470ec19b417da9dd0afab5">00764</a> <span class="keywordtype">void</span> blockClearingOfWindowMenu( <span class="keywordtype">bool</span> bBlocked ) { m_bClearingOfWindowMenuBlocked = bBlocked; } <a name="l00765"></a>00765 <a name="l00766"></a>00766 <span class="keywordtype">void</span> findToolViewsDockedToMain( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qptrlist.html">QPtrList<KDockWidget></a>* list, KDockWidget::DockPosition dprtmw ); <a name="l00767"></a>00767 <span class="keywordtype">void</span> dockToolViewsIntoContainers( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qptrlist.html">QPtrList<KDockWidget></a>& widgetsToReparent, KDockWidget *container ); <a name="l00768"></a>00768 <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</a> prepareIdealToTabs( KDockWidget* container ); <a name="l00769"></a>00769 <span class="keywordtype">void</span> idealToolViewsToStandardTabs( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</a> widgetNames, KDockWidget::DockPosition pos, <span class="keywordtype">int</span> sizee ); <a name="l00770"></a>00770 <a name="l00772"></a>00772 KMdi::TabWidgetVisibility <a class="code" href="classKMdiDocumentViewTabWidget.html#3e2614773908b1d6f867edfa01ca27ba" title="Set the tab widget&#39;s visibility and then make the change to match the new setting...">tabWidgetVisibility</a>(); <a name="l00773"></a>00773 <a name="l00775"></a>00775 <span class="keywordtype">void</span> <a class="code" href="classKMdiDocumentViewTabWidget.html#fe05c2e5478c7a2975c997b6da24791d" title="Get the tab widget&#39;s visibility.">setTabWidgetVisibility</a>( KMdi::TabWidgetVisibility ); <a name="l00776"></a>00776 <a name="l00778"></a>00778 <span class="keyword">class </span>KTabWidget * tabWidget() <span class="keyword">const</span>; <a name="l00779"></a>00779 <a name="l00780"></a>00780 <a name="l00781"></a>00781 <span class="keyword">protected</span> slots: <span class="comment">// Protected slots</span> <a name="l00786"></a>00786 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> activateView( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd ); <a name="l00787"></a>00787 <a name="l00791"></a>00791 <span class="keyword">virtual</span> <span class="keywordtype">void</span> taskbarButtonRightClicked( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a> *pWnd ); <a name="l00792"></a>00792 <a name="l00796"></a>00796 <span class="keywordtype">void</span> switchOffMaximizeModeForMenu( <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a>* oldChild ); <a name="l00797"></a>00797 <a name="l00801"></a>00801 <span class="keywordtype">void</span> updateSysButtonConnections( <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a>* oldChild, <a class="code" href="classKMdiChildFrm.html" title="Internal class.">KMdiChildFrm</a>* newChild ); <a name="l00802"></a>00802 <a name="l00806"></a>00806 <span class="keywordtype">void</span> windowMenuItemActivated( <span class="keywordtype">int</span> <span class="keywordtype">id</span> ); <a name="l00807"></a>00807 <a name="l00811"></a>00811 <span class="keywordtype">void</span> dockMenuItemActivated( <span class="keywordtype">int</span> <span class="keywordtype">id</span> ); <a name="l00812"></a>00812 <a name="l00816"></a>00816 <span class="keywordtype">void</span> popupWindowMenu( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qpoint.html">QPoint</a> p ); <a name="l00817"></a>00817 <a name="l00821"></a>00821 <span class="keywordtype">void</span> dragEndTimeOut(); <a name="l00822"></a>00822 <a name="l00826"></a>00826 <span class="keywordtype">void</span> closeViewButtonPressed(); <a name="l00827"></a>00827 <a name="l00828"></a>00828 signals: <a name="l00832"></a>00832 <span class="keywordtype">void</span> lastChildFrmClosed(); <a name="l00833"></a>00833 <a name="l00837"></a>00837 <span class="keywordtype">void</span> lastChildViewClosed(); <a name="l00838"></a>00838 <a name="l00842"></a>00842 <span class="keywordtype">void</span> leftTopLevelMode(); <a name="l00843"></a>00843 <a name="l00847"></a>00847 <span class="keywordtype">void</span> childViewIsDetachedNow( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a>* ); <a name="l00848"></a>00848 <a name="l00850"></a>00850 <span class="keywordtype">void</span> collapseOverlapContainers(); <a name="l00851"></a>00851 <a name="l00853"></a>00853 <span class="keywordtype">void</span> mdiModeHasBeenChangedTo( KMdi::MdiMode ); <a name="l00854"></a>00854 <a name="l00855"></a>00855 <span class="keywordtype">void</span> viewActivated( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00856"></a>00856 <span class="keywordtype">void</span> viewDeactivated( <a class="code" href="classKMdiChildView.html" title="Base class for all your special view windows.">KMdiChildView</a>* ); <a name="l00857"></a>00857 <a name="l00858"></a>00858 <span class="keyword">public</span> slots: <a name="l00859"></a>00859 <span class="keywordtype">void</span> prevToolViewInDock(); <a name="l00860"></a>00860 <span class="keywordtype">void</span> nextToolViewInDock(); <a name="l00861"></a>00861 <a name="l00862"></a>00862 <span class="keyword">private</span> slots: <a name="l00863"></a>00863 <span class="keywordtype">void</span> setActiveToolDock( KMdiDockContainer* ); <a name="l00864"></a>00864 <span class="keywordtype">void</span> removeFromActiveDockList( KMdiDockContainer* ); <a name="l00865"></a>00865 <span class="keywordtype">void</span> slotDocCurrentChanged( <a class="codeRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a>* ); <a name="l00866"></a>00866 <span class="keywordtype">void</span> verifyToplevelHeight(); <a name="l00867"></a>00867 <span class="preprocessor">#define protected public</span> <a name="l00868"></a>00868 <span class="preprocessor"></span>signals: <a name="l00869"></a>00869 <span class="preprocessor">#undef protected</span> <a name="l00870"></a>00870 <span class="preprocessor"></span> <a name="l00871"></a>00871 <span class="keywordtype">void</span> toggleTop(); <a name="l00872"></a>00872 <span class="keywordtype">void</span> toggleLeft(); <a name="l00873"></a>00873 <span class="keywordtype">void</span> toggleRight(); <a name="l00874"></a>00874 <span class="keywordtype">void</span> toggleBottom(); <a name="l00875"></a>00875 }; <a name="l00876"></a>00876 <a name="l00877"></a>00877 <span class="preprocessor">#endif //_KMDIMAINFRM_H_</span> <a name="l00878"></a>00878 <span class="preprocessor"></span> <a name="l00879"></a>00879 <span class="comment">// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;</span> </pre></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>