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

tdemdi

  • tdemdi
tdemditoolviewaccessor.h
1 //----------------------------------------------------------------------------
2 // filename : tdemditoolviewaccessor.h
3 //----------------------------------------------------------------------------
4 // Project : KDE MDI extension
5 //
6 // begin : 08/2003 by Joseph Wenninger (jowenn@kde.org)
7 // changes : ---
8 // patches : ---
9 //
10 // copyright : (C) 2003 by Joseph Wenninger (jowenn@kde.org)
11 //----------------------------------------------------------------------------
12 //
13 //----------------------------------------------------------------------------
14 //
15 // This program is free software; you can redistribute it and/or modify
16 // it under the terms of the GNU Library General Public License as
17 // published by the Free Software Foundation; either version 2 of the
18 // License, or (at your option) any later version.
19 //
20 //----------------------------------------------------------------------------
21 #ifndef _TDEMDITOOLVIEWACCESSOR_H_
22 #define _TDEMDITOOLVIEWACCESSOR_H_
23 
24 #include <tqwidget.h>
25 #include <tqpixmap.h>
26 #include <tqrect.h>
27 #include <tqapplication.h>
28 #include <tqdatetime.h>
29 
30 #include <kdockwidget.h>
31 
32 namespace KMDIPrivate
33 {
34 class KMDIGUIClient;
35 }
36 
37 
38 class KMDI_EXPORT KMdiToolViewAccessor : public TQObject
39 {
40  TQ_OBJECT
41 
42 
43  friend class KMdiMainFrm;
44  friend class KMDIPrivate::KMDIGUIClient;
45 
46 private:
52  bool m_bInterruptActivation;
56  bool m_bMainframesActivateViewIsPending;
60  bool m_bFocusInEventIsPending;
61 
62 private:
63  KMdiToolViewAccessor( class KMdiMainFrm *parent , TQWidget *widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0 );
64  KMdiToolViewAccessor( class KMdiMainFrm *parent );
65 public:
66  ~KMdiToolViewAccessor();
67  TQWidget *wrapperWidget();
68  TQWidget *wrappedWidget();
69  void place( KDockWidget::DockPosition pos = KDockWidget::DockNone, TQWidget* pTargetWnd = 0L, int percent = 50 );
70  void placeAndShow( KDockWidget::DockPosition pos = KDockWidget::DockNone, TQWidget* pTargetWnd = 0L, int percent = 50 );
71  void show();
72 public slots:
73  void setWidgetToWrap( TQWidget* widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0 );
74  void hide();
75 private:
76  class KMdiToolViewAccessorPrivate *d;
77  class KMdiMainFrm *mdiMainFrm;
78 
79 protected:
80  bool eventFilter( TQObject *o, TQEvent *e );
81 };
82 
83 
84 #endif //_TDEMDITOOLVIEWACCESSOR_H_
KMDIPrivate::KMDIGUIClient
A class derived from KXMLGUIClient that handles the various KMDI modes.
Definition: tdemdiguiclient.h:43
KMdiMainFrm
Base class for all your special main frames.
Definition: tdemdimainfrm.h:240
KMdiMainFrm::eventFilter
virtual bool eventFilter(TQObject *obj, TQEvent *e)
Definition: tdemdimainfrm.cpp:1165

tdemdi

Skip menu "tdemdi"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdemdi

Skip menu "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 by doxygen 1.9.1
This website is maintained by Timothy Pearson.