• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDE3Support

  • kde3support
  • kdeui
k3dockwidget_p.h
Go to the documentation of this file.
1/* This file is part of the KDE libraries
2 Copyright (C) 2002,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 version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19/***********************************************************************
20************************************************************************
21 IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT
22************************************************************************
23************************************************************************
24
25THIS IS ___NOT___ PART OF THE PUBLIC API YET. DON'T USE IT IN YOUR
26APPLICATIONS,SINCE IT'S MOST PROBABLY ___NOT___ GOING TO STAY BINARY
27COMPATIBLE. THIS HEADER IS ONLY INSTALLED, BECAUSE IT IS NEEDED IN
28 KDE 3.1'S KATE APPLICATON
29
30************************************************************************
31************************************************************************
32 IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT
33************************************************************************
34***********************************************************************/
35
36#ifndef KDOCKWIDGET_P_H
37#define KDOCKWIDGET_P_H
38
39#include <k3dockwidget.h>
40#include <QtCore/QStringList>
41// Add some describing comment !!
42
43class KDE3SUPPORT_EXPORT K3DockContainer
44{
45public:
46 K3DockContainer();
47 virtual ~K3DockContainer();
48 virtual K3DockWidget *parentDockWidget();
49 virtual void insertWidget (K3DockWidget *, const QPixmap &, const QString &, int &);
50 virtual void showWidget(K3DockWidget *);
51 virtual void removeWidget(K3DockWidget*);
52 virtual void undockWidget(K3DockWidget*);
53 virtual void save(KConfig *cfg,const QString& group_or_prefix);
54 virtual void save(QDomElement& dockElement);
55 virtual void load(KConfig *cfg,const QString& group_or_prefix);
56 virtual void load(QDomElement& dockElement);
57 virtual void setToolTip (K3DockWidget *, QString &);
58 virtual void setPixmap(K3DockWidget*,const QPixmap&);
59 QStringList containedWidgets() const;
60 virtual bool dockDragEnter(K3DockWidget* dockWidget, QMouseEvent *event);
61 virtual bool dockDragMove(K3DockWidget* dockWidget, QMouseEvent *event);
62 virtual bool dockDragLeave(K3DockWidget* dockWidget, QMouseEvent *event);
63protected:
64 friend class K3DockManager;
65 friend class K3DockSplitter;
66 void prepareSave(QStringList &names);
67 void activateOverlapMode(int nonOverlapSize);
68 void deactivateOverlapMode();
69 bool isOverlapMode();
70private:
71
72 struct ListItem {
73 struct ListItem *prev;
74 struct ListItem *next;
75 char *data;
76 };
77
78
79
80 struct ListItem *m_childrenListBegin;
81 struct ListItem *m_childrenListEnd;
82
83 class K3DockContainerPrivate;
84 K3DockContainerPrivate *d;
85 bool m_overlapMode;
86 int m_nonOverlapSize;
87};
88
89#endif
K3DockContainer::setPixmap
virtual void setPixmap(K3DockWidget *, const QPixmap &)
Definition k3dockwidget.cpp:3394
K3DockContainer::setToolTip
virtual void setToolTip(K3DockWidget *, QString &)
Definition k3dockwidget.cpp:3393
K3DockContainer::save
virtual void save(KConfig *cfg, const QString &group_or_prefix)
Definition k3dockwidget.cpp:3396
K3DockContainer::undockWidget
virtual void undockWidget(K3DockWidget *)
Definition k3dockwidget.cpp:3392
K3DockContainer::load
virtual void load(KConfig *cfg, const QString &group_or_prefix)
Definition k3dockwidget.cpp:3395
K3DockContainer::insertWidget
virtual void insertWidget(K3DockWidget *, const QPixmap &, const QString &, int &)
Definition k3dockwidget.cpp:3356
K3DockContainer::dockDragEnter
virtual bool dockDragEnter(K3DockWidget *dockWidget, QMouseEvent *event)
Definition k3dockwidget.cpp:3337
K3DockContainer::deactivateOverlapMode
void deactivateOverlapMode()
Definition k3dockwidget.cpp:3321
K3DockContainer::parentDockWidget
virtual K3DockWidget * parentDockWidget()
Definition k3dockwidget.cpp:3342
K3DockContainer::dockDragLeave
virtual bool dockDragLeave(K3DockWidget *dockWidget, QMouseEvent *event)
Definition k3dockwidget.cpp:3339
K3DockContainer::K3DockSplitter
friend class K3DockSplitter
Definition k3dockwidget_p.h:65
K3DockContainer::activateOverlapMode
void activateOverlapMode(int nonOverlapSize)
Definition k3dockwidget.cpp:3310
K3DockContainer::K3DockManager
friend class K3DockManager
Definition k3dockwidget_p.h:64
K3DockContainer::K3DockContainer
K3DockContainer()
Definition k3dockwidget.cpp:3291
K3DockContainer::containedWidgets
QStringList containedWidgets() const
Definition k3dockwidget.cpp:3344
K3DockContainer::showWidget
virtual void showWidget(K3DockWidget *)
Definition k3dockwidget.cpp:3353
K3DockContainer::removeWidget
virtual void removeWidget(K3DockWidget *)
Definition k3dockwidget.cpp:3375
K3DockContainer::dockDragMove
virtual bool dockDragMove(K3DockWidget *dockWidget, QMouseEvent *event)
Definition k3dockwidget.cpp:3338
K3DockContainer::prepareSave
void prepareSave(QStringList &names)
Definition k3dockwidget.cpp:3399
K3DockContainer::isOverlapMode
bool isOverlapMode()
Definition k3dockwidget.cpp:3332
K3DockWidget
Floatable widget that can be dragged around with the mouse and encapsulate the actual widgets (and me...
Definition k3dockwidget.h:416
KConfig
k3dockwidget.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDE3Support

Skip menu "KDE3Support"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal