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

tdemdi

tdemditoolviewaccessor.h

00001 //----------------------------------------------------------------------------
00002 //    filename             : tdemditoolviewaccessor.h
00003 //----------------------------------------------------------------------------
00004 //    Project              : KDE MDI extension
00005 //
00006 //    begin                : 08/2003       by Joseph Wenninger (jowenn@kde.org)
00007 //    changes              : ---
00008 //    patches              : ---
00009 //
00010 //    copyright            : (C) 2003 by Joseph Wenninger (jowenn@kde.org)
00011 //----------------------------------------------------------------------------
00012 //
00013 //----------------------------------------------------------------------------
00014 //
00015 //    This program is free software; you can redistribute it and/or modify
00016 //    it under the terms of the GNU Library General Public License as
00017 //    published by the Free Software Foundation; either version 2 of the
00018 //    License, or (at your option) any later version.
00019 //
00020 //----------------------------------------------------------------------------
00021 #ifndef _TDEMDITOOLVIEWACCESSOR_H_
00022 #define _TDEMDITOOLVIEWACCESSOR_H_
00023 
00024 #include <tqwidget.h>
00025 #include <tqpixmap.h>
00026 #include <tqrect.h>
00027 #include <tqapplication.h>
00028 #include <tqdatetime.h>
00029 
00030 #include <kdockwidget.h>
00031 
00032 namespace KMDIPrivate
00033 {
00034 class KMDIGUIClient;
00035 }
00036 
00037 
00038 class KMDI_EXPORT KMdiToolViewAccessor : public TQObject
00039 {
00040     Q_OBJECT
00041 
00042 
00043     friend class KMdiMainFrm;
00044     friend class KMDIPrivate::KMDIGUIClient;
00045 
00046 private:
00052     bool m_bInterruptActivation;
00056     bool m_bMainframesActivateViewIsPending;
00060     bool m_bFocusInEventIsPending;
00061 
00062 private:
00063     KMdiToolViewAccessor( class KMdiMainFrm *parent , TQWidget *widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0 );
00064     KMdiToolViewAccessor( class KMdiMainFrm *parent );
00065 public:
00066     ~KMdiToolViewAccessor();
00067     TQWidget *wrapperWidget();
00068     TQWidget *wrappedWidget();
00069     void place( KDockWidget::DockPosition pos = KDockWidget::DockNone, TQWidget* pTargetWnd = 0L, int percent = 50 );
00070     void placeAndShow( KDockWidget::DockPosition pos = KDockWidget::DockNone, TQWidget* pTargetWnd = 0L, int percent = 50 );
00071     void show();
00072 public slots:
00073     void setWidgetToWrap( TQWidget* widgetToWrap, const TQString& tabToolTip = 0, const TQString& tabCaption = 0 );
00074     void hide();
00075 private:
00076     class KMdiToolViewAccessorPrivate *d;
00077     class KMdiMainFrm *mdiMainFrm;
00078 
00079 protected:
00080     bool eventFilter( TQObject *o, TQEvent *e );
00081 };
00082 
00083 
00084 #endif //_TDEMDITOOLVIEWACCESSOR_H_ 
00085 // kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
00086 

tdemdi

Skip menu "tdemdi"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • 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.6.3
This website is maintained by Timothy Pearson.