umbrello API Documentation

codeviewerdialog.h

00001 
00002 /***************************************************************************
00003                           codeviewerdialog.h  -  description
00004                              -------------------
00005     begin                : Fri Aug 1 2003
00006     copyright            : (C) 2003 by Brian Thomas
00007     email                : brian.thomas@gsfc.nasa.gov
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 #ifndef CODEVIEWERDIALOG_H
00020 #define CODEVIEWERDIALOG_H
00021 
00022 #include <qcolor.h>
00023 #include <qmap.h>
00024 #include <qptrlist.h>
00025 #include <qstring.h>
00026 #include <qtextedit.h>
00027 #include "../codeviewerstate.h"
00028 #include "codeviewerdialogbase.h"
00029 
00030 class CodeDocument;
00031 class QVBoxLayout;
00032 class QHBoxLayout;
00033 class QGridLayout;
00034 class QFrame;
00035 
00036 class UMLObject;
00037 
00042 class CodeViewerDialog : public CodeViewerDialogBase
00043 {
00044     Q_OBJECT
00045 public:
00046 
00047     CodeViewerDialog ( QWidget* parent, CodeDocument * doc, Settings::CodeViewerState state,
00048                        const char* name = 0, bool modal = false, WFlags fl = 0 );
00049     ~CodeViewerDialog ();
00050 
00052     Settings::CodeViewerState getState( );
00053 
00054     QString parentDocName;
00055 
00059     void addCodeDocument( CodeDocument * doc);
00060 
00061 protected:
00062 
00063     bool close ( bool alsoDelete );
00064 
00065 private:
00066 
00067     Settings::CodeViewerState m_state;
00068 
00069     void initGUI ( const char * name );
00070 
00071 public slots:
00072 
00073 protected slots:
00074 
00075     virtual void languageChange();
00076 
00077 };
00078 
00079 
00080 #endif // CODEVIEWERDIALOG_H
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:07:55 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003