KDevelop API Documentation

languages/ada/addclass.h

Go to the documentation of this file.
00001 #ifndef __ADDCLASS_H__ 00002 #define __ADDCLASS_H__ 00003 00004 00005 #include <qstring.h> 00006 #include <qstringlist.h> 00007 00008 00009 class AddClassInfo 00010 { 00011 public: 00012 00013 AddClassInfo(); 00014 00015 enum Visibility { PublicClass, ProtectedClass, PrivateClass}; 00016 00017 QString className; 00018 QString extends; 00019 bool interfaceOpt, abstractOpt, finalOpt; 00020 QString projectDir, sourceDir; 00021 Visibility visibility; 00022 QStringList implements; 00023 bool createConstructor, createMain; 00024 QString documentation; 00025 QString license; 00026 00027 QString adaFileName() const; 00028 00029 }; 00030 00031 00032 class AddClass 00033 { 00034 public: 00035 00036 AddClass(); 00037 00038 void setInfo(const AddClassInfo &info); 00039 AddClassInfo &info(); 00040 00041 void setBaseClasses(const QStringList &classes); 00042 bool showDialog(); 00043 00044 bool generate(); 00045 00046 00047 private: 00048 00049 AddClassInfo m_info; 00050 QStringList m_baseClasses; 00051 00052 }; 00053 00054 00055 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:38:59 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003