umbrello API Documentation

cppcodegenerationform.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  ***************************************************************************/
00009 
00010 /*  This code generated by:
00011  *      Author : thomas
00012  *      Date   : Wed Jul 30 2003
00013  */
00014 
00015 #ifndef CPPCODEGENERATIONFORM_H
00016 #define CPPCODEGENERATIONFORM_H
00017 
00018 #include "cppcodegenerationformbase.h"
00019 
00020 class QCheckListItem;
00021 
00026 class CPPCodeGenerationForm : public CPPCodeGenerationFormBase {
00027     Q_OBJECT
00028 public:
00029 
00033     explicit CPPCodeGenerationForm (QWidget *parent=0, const char *name=0);
00034 
00038     virtual ~CPPCodeGenerationForm();
00039 
00043     void setPackageIsANamespace(bool bFlag = true);
00044 
00048     void setVirtualDestructors(bool bFlag = true);
00049 
00053     void setGenerateEmptyConstructors(bool bFlag = true);
00054 
00058     void setGenerateAccessorMethods(bool bFlag = true);
00059 
00063     void setOperationsAreInline(bool bFlag = true);
00064 
00068     void setAccessorsAreInline(bool bFlag = true);
00069 
00073     void setAccessorsArePublic(bool bFlag = true);
00074 
00078     void setGenerateMakefileDocument(bool bFlag = true);
00079 
00083     bool getPackageIsANamespace();
00084 
00088     bool getVirtualDestructors();
00089 
00093     bool getGenerateEmptyConstructors();
00094 
00098     bool getGenerateAccessorMethods();
00099 
00103     bool getOperationsAreInline();
00104 
00108     bool getAccessorsAreInline();
00109 
00113     bool getAccessorsArePublic();
00114 
00118     bool getGenerateMakefileDocument();
00119 
00120 protected:
00121 
00122 public slots:
00123 
00124     virtual void browseClicked();
00125 
00126 private slots:
00127     virtual void generalOptionsListViewClicked(QListViewItem *);
00128 
00129 private:
00130 
00131     /*
00132      * check boxes for the available options
00133      */
00134     QCheckListItem *pOptionPackageIsANamespace;
00135     QCheckListItem *pOptionVirtualDestructors;
00136     QCheckListItem *pOptionGenerateEmptyConstructors;
00137     QCheckListItem *pOptionGenerateAccessorMethods;
00138     QCheckListItem *pOptionOperationsAreInline;
00139     QCheckListItem *pOptionAccessorsAreInline;
00140     QCheckListItem *pOptionAccessorsArePublic;
00141 
00145     void init();
00146 
00147 };
00148 
00149 #endif
00150 
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