kate Library API Documentation

kateprojectviews.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
00003    Copyright (C) 2001 Joseph Wenninger <jowenn@kde.org>
00004    Copyright (C) 2001 Anders Lund <anders.lund@lund.tdcadsl.dk>
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 version 2 as published by the Free Software Foundation.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018    Boston, MA 02111-1307, USA.
00019 */
00020 
00021 #ifndef __KATE_ProjectViews_H__
00022 #define __KATE_ProjectViews_H__
00023 
00024 #include "katemain.h"
00025 
00026 #include "../interfaces/project.h"
00027 
00028 #include <qwidget.h>
00029 #include <qmap.h>
00030 #include <qframe.h>
00031 #include <qwidgetstack.h>
00032 
00033 class KateMainWindow;
00034 
00035 class KateProjectViews : public QWidget
00036 {
00037   Q_OBJECT
00038 
00039   public:
00040     KateProjectViews (class KateProjectManager *_projectManager, class KateMainWindow *_mainWindow, QWidget * parent = 0, const char * name = 0 );
00041     ~KateProjectViews ();
00042     
00043   private slots:
00044     void projectChanged ();
00045     void projectCreated (Kate::Project *project);
00046     void projectDeleted (uint projectNumber);
00047 
00048   private:
00049     QWidgetStack *m_stack;
00050     class KateProjectManager *m_projectManager;
00051     class KateMainWindow *m_mainWindow;
00052 
00053     QMap<uint, QWidget*> m_wMap;
00054 };
00055 
00056 #endif
KDE Logo
This file is part of the documentation for kate Library Version 3.3.90.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 4 11:21:45 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003