kparts Library API Documentation

dockmainwindow.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2000 Falk Brettschneider <gigafalk@yahoo.com>
00003              (C) 1999 Simon Hausmann <hausmann@kde.org>
00004              (C) 1999 David Faure <faure@kde.org>
00005 
00006    This library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Library General Public
00008    License as published by the Free Software Foundation; either
00009    version 2 of the License, or (at your option) any later version.
00010 
00011    This library is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014    Library General Public License for more details.
00015 
00016    You should have received a copy of the GNU Library General Public License
00017    along with this library; see the file COPYING.LIB.  If not, write to
00018    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019    Boston, MA 02111-1307, USA.
00020 */
00021 #ifndef __DOCKMAINWINDOW_H
00022 #define __DOCKMAINWINDOW_H
00023 
00024 #include <qptrlist.h>
00025 
00026 #include <kaction.h>
00027 #include <kdockwidget.h>
00028 
00029 #include <kparts/part.h>
00030 
00031 class QString;
00032 
00033 namespace KParts
00034 {
00035 
00036 class DockMainWindowPrivate;
00037 
00047 class DockMainWindow : public KDockMainWindow, virtual public PartBase
00048 {
00049   Q_OBJECT
00050  public:
00054   DockMainWindow( QWidget* parent = 0L, const char *name = 0L, WFlags f = WDestructiveClose );
00058   virtual ~DockMainWindow();
00059 
00060 protected slots:
00061 
00070   void createGUI( KParts::Part * part );
00071 
00077   virtual void slotSetStatusBarText( const QString & );
00078 
00079 protected:
00080     virtual void createShellGUI( bool create = true );
00081 
00082  private:
00083   DockMainWindowPrivate *d;
00084   };
00085 
00086 }
00087 
00088 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 27 22:15:45 2005 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001