kdeui Library API Documentation

kdockwidget_p.h

00001 /* This file is part of the KDE libraries
00002    Copyright (C) 2002 Joseph Wenninger <jowenn@kde.org
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00016    Boston, MA 02111-1307, USA.
00017 */
00018 
00019 /***********************************************************************
00020 ************************************************************************
00021  IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT
00022 ************************************************************************
00023 ************************************************************************
00024 
00025 THIS IS ___NOT___ PART OF THE PUBLIC API YET. DON'T USE IT IN YOUR
00026 APPLICATIONS,SINCE IT'S MOST PROBABLY ___NOT___ GOING TO STAY BINARY
00027 COMPATIBLE. THIS HEADER IS ONLY INSTALLED, BECAUSE IT IS NEEDED IN
00028  KDE 3.1'S KATE APPLICATON
00029 
00030 ************************************************************************
00031 ************************************************************************
00032  IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT - IMPORTANT
00033 ************************************************************************
00034 ***********************************************************************/
00035 
00036 #ifndef KDOCKWIDGET_P_H
00037 #define KDOCKWIDGET_P_H
00038 
00039 #include <kdockwidget.h>
00040 
00041 // Add some describing comment !!
00042 
00043 class EXPORT_DOCKCLASS KDockContainer
00044 {
00045 public:
00046   KDockContainer();
00047   virtual ~KDockContainer();
00048   virtual KDockWidget *parentDockWidget();
00049   virtual void insertWidget (KDockWidget *, QPixmap, const QString &, int &);
00050   virtual void removeWidget(KDockWidget*);
00051   virtual void undockWidget(KDockWidget*);
00052   virtual void save(KConfig *cfg);
00053   virtual void load(KConfig *cfg);
00054   virtual void setToolTip (KDockWidget *, QString &);
00055 protected:
00056   friend class KDockManager;
00057   void prepareSave(QStringList &names);
00058 private:
00059 
00060         struct ListItem {
00061                 struct ListItem *prev;
00062                 struct ListItem *next;
00063                 char *data;
00064         };
00065 
00066 
00067 
00068   struct ListItem *m_childrenListBegin;
00069   struct ListItem *m_childrenListEnd;
00070 
00071   class KDockContainerPrivate;
00072   KDockContainerPrivate *d;
00073 };
00074 
00075 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:56:38 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001