20 #ifndef _KMDI_TOOLVIEWACCESSOR_H_ 21 #define _KMDI_TOOLVIEWACCESSOR_H_ 26 #include <tqapplication.h> 27 #include <tqdatetime.h> 29 #include <kdockwidget.h> 33 class ToolViewAccessorPrivate;
40 class ToolViewAccessor :
public TQObject
44 friend class KMDI::MainWindow;
45 friend class KMDIPrivate::GUIClient;
53 bool m_bInterruptActivation;
57 bool m_bMainframesActivateViewIsPending;
61 bool m_bFocusInEventIsPending;
64 ToolViewAccessor( KMDI::MainWindow *parent , TQWidget *widgetToWrap,
const TQString& tabToolTip = 0,
const TQString& tabCaption = 0);
65 ToolViewAccessor( KMDI::MainWindow *parent);
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);
74 void setWidgetToWrap(TQWidget* widgetToWrap,
const TQString& tabToolTip = 0,
const TQString& tabCaption = 0);
77 KMDIPrivate::ToolViewAccessorPrivate *d;
78 KMDI::MainWindow *mdiMainFrm;
81 bool eventFilter(TQObject *o, TQEvent *e);
86 #endif //_KMDITOOLVIEWACCESSOR_H_
A namespace for the KMDI library.