• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdemdi/tdemdi
 

tdemdi/tdemdi

  • tdemdi
  • tdemdi
toolviewaccessor.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2003 Joseph Wenninger <jowenn@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
20#ifndef _TDEMDI_TOOLVIEWACCESSOR_H_
21#define _TDEMDI_TOOLVIEWACCESSOR_H_
22
23#include <tqwidget.h>
24#include <tqpixmap.h>
25#include <tqrect.h>
26#include <tqapplication.h>
27#include <tqdatetime.h>
28
29#include <kdockwidget.h>
30
31namespace KMDIPrivate {
32 class GUIClient;
33 class ToolViewAccessorPrivate;
34}
35
36namespace KMDI {
37
38class MainWindow;
39
40class ToolViewAccessor : public TQObject
41{
42 TQ_OBJECT
43
44 friend class KMDI::MainWindow;
45 friend class KMDIPrivate::GUIClient;
46
47private:
53 bool m_bInterruptActivation;
57 bool m_bMainframesActivateViewIsPending;
61 bool m_bFocusInEventIsPending;
62
63private:
64 ToolViewAccessor( KMDI::MainWindow *parent , TQWidget *widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0);
65 ToolViewAccessor( KMDI::MainWindow *parent);
66public:
67 ~ToolViewAccessor();
68 TQWidget *wrapperWidget();
69 TQWidget *wrappedWidget();
70 void place(KDockWidget::DockPosition pos = KDockWidget::DockNone, TQWidget* pTargetWnd = 0L,int percent = 50);
71 void placeAndShow(KDockWidget::DockPosition pos = KDockWidget::DockNone, TQWidget* pTargetWnd = 0L,int percent = 50);
72 void show();
73public slots:
74 void setWidgetToWrap(TQWidget* widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0);
75 void hide();
76private:
77 KMDIPrivate::ToolViewAccessorPrivate *d;
78 KMDI::MainWindow *mdiMainFrm;
79
80protected:
81 bool eventFilter(TQObject *o, TQEvent *e);
82};
83
84}
85
86#endif //_TDEMDI_TOOLVIEWACCESSOR_H_
KMDI
A namespace for the KMDI library.
Definition dockcontainer.cpp:52

tdemdi/tdemdi

Skip menu "tdemdi/tdemdi"
  • Main Page
  • Namespace List
  • File List
  • Namespace Members

tdemdi/tdemdi

Skip menu "tdemdi/tdemdi"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdemdi/tdemdi by doxygen 1.9.8
This website is maintained by Timothy Pearson.