1
/***************************************************************************
2
* Copyright (C) 2003 by Alexander Dymo *
3
* cloudtemple@mksat.net *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
12
#ifndef CLASSGENERATORCONFIG_H
13
#define CLASSGENERATORCONFIG_H
15
#include "classgeneratorconfigbase.h"
17
class ClassGeneratorConfig : public ClassGeneratorConfigBase
22
enum NameCase { LowerCase, UpperCase, SameAsClassCase, SameAsFileCase };
24
ClassGeneratorConfig( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
26
ClassGeneratorConfig( QString v_cppHeaderText, QString v_cppSourceText,
27
QString v_objcHeaderText, QString v_objcSourceText,
28
QString v_gtkHeaderText, QString v_gtkSourceText,
29
NameCase v_fileCase, NameCase v_defCase, NameCase v_superCase,
30
bool v_showAuthor, bool v_genDoc, bool v_reformat,
31
QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
33
~ClassGeneratorConfig();
34
/*$PUBLIC_FUNCTIONS$*/
57
/*$PROTECTED_FUNCTIONS$*/
61
virtual void templateTypeChanged( int type );
64
QString *identifyTemplate( int value );
65
QString templateText( QString path );
66
void saveTemplateText( QString path, QString content );
68
QString cppHeaderText;
69
QString cppSourceText;
70
QString objcHeaderText;
71
QString objcSourceText;
72
QString gtkHeaderText;
73
QString gtkSourceText;
75
QString *currTemplate;
79
// kate: indent-mode csands; tab-width 4;