1
//----------------------------------------------------------------------------
2
// filename : kmditoolviewaccessor_p.h
3
//----------------------------------------------------------------------------
4
// Project : KDE MDI extension
6
// begin : 08/2003 by Joseph Wenninger (jowenn@kde.org)
10
// copyright : (C) 2003 by Joseph Wenninger (jowenn@kde.org)
11
//----------------------------------------------------------------------------
13
//----------------------------------------------------------------------------
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.
20
//----------------------------------------------------------------------------
23
#ifndef KMDI_TOOLVIEW_ACCESSOR_PRIVATE_H_
24
#define KMDI_TOOLVIEW_ACCESSOR_PRIVATE_H_
28
#include <kdockwidget.h>
29
#include <qguardedptr.h>
32
class KMDI_EXPORT KMdiToolViewAccessorPrivate {
34
KMdiToolViewAccessorPrivate() {
38
~KMdiToolViewAccessorPrivate() {
40
if (!widgetContainer.isNull()) widgetContainer->undock();
41
delete (KDockWidget*)widgetContainer;
43
QGuardedPtr<KDockWidget> widgetContainer;
45
QGuardedPtr<KAction> action;