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

KDE3Support

  • sources
  • kde-4.14
  • kdelibs
  • 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 
25 THIS IS ___NOT___ PART OF THE PUBLIC API YET. DON'T USE IT IN YOUR
26 APPLICATIONS,SINCE IT'S MOST PROBABLY ___NOT___ GOING TO STAY BINARY
27 COMPATIBLE. 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 
43 class KDE3SUPPORT_EXPORT K3DockContainer
44 {
45 public:
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);
63 protected:
64  friend class K3DockManager;
65  friend class K3DockSplitter;
66  void prepareSave(QStringList &names);
67  void activateOverlapMode(int nonOverlapSize);
68  void deactivateOverlapMode();
69  bool isOverlapMode();
70 private:
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
K3DockSplitter
Like QSplitter but specially designed for dockwidgets stuff.
Definition: k3dockwidget_private.h:49
QMouseEvent
K3DockManager
The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget cla...
Definition: k3dockwidget.h:884
k3dockwidget.h
QString
QStringList
next
KAction * next(const QObject *recvr, const char *slot, QObject *parent)
QPixmap
KConfig
K3DockWidget
Floatable widget that can be dragged around with the mouse and encapsulate the actual widgets (and me...
Definition: k3dockwidget.h:415
K3DockContainer
Definition: k3dockwidget_p.h:43
save
KAction * save(const QObject *recvr, const char *slot, QObject *parent)
QDomElement
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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

Search



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