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

kmdi

  • kmdi
kmditoolviewaccessor.h
1 //----------------------------------------------------------------------------
2 // filename : kmditoolviewaccessor.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 _KMDITOOLVIEWACCESSOR_H_
22 #define _KMDITOOLVIEWACCESSOR_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  Q_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 //_KMDITOOLVIEWACCESSOR_H_
85 // kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
86 

kmdi

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

kmdi

Skip menu "kmdi"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kmdi by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |