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

kmdi/kmdi

  • kmdi
  • kmdi
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 _KMDI_TOOLVIEWACCESSOR_H_
21 #define _KMDI_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 
31 namespace KMDIPrivate {
32  class GUIClient;
33  class ToolViewAccessorPrivate;
34 }
35 
36 namespace KMDI {
37 
38 class MainWindow;
39 
40 class ToolViewAccessor : public TQObject
41 {
42  Q_OBJECT
43 
44  friend class KMDI::MainWindow;
45  friend class KMDIPrivate::GUIClient;
46 
47 private:
53  bool m_bInterruptActivation;
57  bool m_bMainframesActivateViewIsPending;
61  bool m_bFocusInEventIsPending;
62 
63 private:
64  ToolViewAccessor( KMDI::MainWindow *parent , TQWidget *widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0);
65  ToolViewAccessor( KMDI::MainWindow *parent);
66 public:
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();
73 public slots:
74  void setWidgetToWrap(TQWidget* widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0);
75  void hide();
76 private:
77  KMDIPrivate::ToolViewAccessorPrivate *d;
78  KMDI::MainWindow *mdiMainFrm;
79 
80 protected:
81  bool eventFilter(TQObject *o, TQEvent *e);
82 };
83 
84 }
85 
86 #endif //_KMDITOOLVIEWACCESSOR_H_
87 
88 // kate: space-indent on; indent-width 2; replace-tabs on;

kmdi/kmdi

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

kmdi/kmdi

Skip menu "kmdi/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/kmdi by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |