kmditoolviewaccessor_p.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 #ifndef KMDI_TOOLVIEW_ACCESSOR_PRIVATE_H_
00024 #define KMDI_TOOLVIEW_ACCESSOR_PRIVATE_H_
00025 
00026 
00027 #include <qwidget.h>
00028 #include <kdockwidget.h>
00029 #include <qguardedptr.h>
00030 #include <kaction.h>
00031 
00032 class KMdiToolViewAccessorPrivate {
00033 public:
00034     KMdiToolViewAccessorPrivate() {
00035         widgetContainer=0;
00036         widget=0;
00037     }
00038     ~KMdiToolViewAccessorPrivate() {
00039         delete action;
00040         if (!widgetContainer.isNull()) widgetContainer->undock();
00041         delete widgetContainer;
00042     }
00043     QGuardedPtr<KDockWidget> widgetContainer;
00044     QWidget* widget;
00045     QGuardedPtr<KAction> action;
00046 };
00047 
00048 
00049 #endif
00050 
00051 
 
This file is part of the documentation for kmdi Library Version 3.2.0.