diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators')
8 files changed, 33 insertions, 33 deletions
diff --git a/umbrello/umbrello/codegenerators/codegenpolicyext.h b/umbrello/umbrello/codegenerators/codegenpolicyext.h index 29e358a1..b95cfdac 100644 --- a/umbrello/umbrello/codegenerators/codegenpolicyext.h +++ b/umbrello/umbrello/codegenerators/codegenpolicyext.h @@ -15,7 +15,7 @@ #include <tqobject.h> class TQWidget; -class KConfig; +class TDEConfig; class CodeGenerationPolicyPage; /** @@ -39,14 +39,14 @@ public: virtual CodeGenerationPolicyPage * createPage(TQWidget *parent = 0, const char *name = 0) = 0; /** - * set the defaults from a config file for this code generator from the passed KConfig pointer. + * set the defaults from a config file for this code generator from the passed TDEConfig pointer. */ - virtual void setDefaults(KConfig * config, bool emitUpdateSignal = true) = 0; + virtual void setDefaults(TDEConfig * config, bool emitUpdateSignal = true) = 0; /** - * write Default params to passed KConfig pointer. + * write Default params to passed TDEConfig pointer. */ - virtual void writeConfig (KConfig * config) = 0; + virtual void writeConfig (TDEConfig * config) = 0; }; #endif diff --git a/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.cpp b/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.cpp index 8aec0351..70983d96 100644 --- a/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.cpp +++ b/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.cpp @@ -45,7 +45,7 @@ const bool CPPCodeGenerationPolicy::DEFAULT_PUBLIC_ACCESSORS = false; // Constructors/Destructors // -CPPCodeGenerationPolicy::CPPCodeGenerationPolicy(KConfig *config) +CPPCodeGenerationPolicy::CPPCodeGenerationPolicy(TDEConfig *config) { init(); setDefaults(config,false); @@ -264,7 +264,7 @@ TQString CPPCodeGenerationPolicy::getObjectMethodInit(const TQString & variableN // Other methods // -void CPPCodeGenerationPolicy::writeConfig ( KConfig * config ) +void CPPCodeGenerationPolicy::writeConfig ( TDEConfig * config ) { // write ONLY the CPP specific stuff @@ -319,7 +319,7 @@ void CPPCodeGenerationPolicy::setDefaults ( CPPCodeGenerationPolicy * cppclone, } -void CPPCodeGenerationPolicy::setDefaults( KConfig * config, bool emitUpdateSignal ) +void CPPCodeGenerationPolicy::setDefaults( TDEConfig * config, bool emitUpdateSignal ) { if(!config) diff --git a/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h b/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h index d3b2d1b0..b2742ae0 100644 --- a/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h +++ b/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h @@ -21,7 +21,7 @@ #include "codegenpolicyext.h" #include "../codegenerationpolicy.h" -class KConfig; +class TDEConfig; class CodeGenerationPolicyPage; class CPPCodeGenerationPolicy : public CodeGenPolicyExt @@ -56,7 +56,7 @@ public: /** * Constructors */ - CPPCodeGenerationPolicy ( KConfig * config = 0 ); + CPPCodeGenerationPolicy ( TDEConfig * config = 0 ); /** * Empty Destructor @@ -180,14 +180,14 @@ public: virtual void setDefaults (CPPCodeGenerationPolicy * defaults, bool emitUpdateSignal = true); /** - * set the defaults from a config file for this code generator from the passed KConfig pointer. + * set the defaults from a config file for this code generator from the passed TDEConfig pointer. */ - virtual void setDefaults(KConfig * config, bool emitUpdateSignal = true); + virtual void setDefaults(TDEConfig * config, bool emitUpdateSignal = true); /** - * write Default params to passed KConfig pointer. + * write Default params to passed TDEConfig pointer. */ - virtual void writeConfig (KConfig * config); + virtual void writeConfig (TDEConfig * config); /** * Create a new dialog interface for this object. diff --git a/umbrello/umbrello/codegenerators/cppcodegenerator.h b/umbrello/umbrello/codegenerators/cppcodegenerator.h index 1b7cfe0b..a6687249 100644 --- a/umbrello/umbrello/codegenerators/cppcodegenerator.h +++ b/umbrello/umbrello/codegenerators/cppcodegenerator.h @@ -28,7 +28,7 @@ class CodeViewerDialog; class CPPHeaderCodeDocument; class CodeBlockWithComments; -class KConfig; +class TDEConfig; class CPPCodeGenerator : public CodeGenerator { diff --git a/umbrello/umbrello/codegenerators/javacodegenerationpolicy.cpp b/umbrello/umbrello/codegenerators/javacodegenerationpolicy.cpp index 6225485f..02cd8adf 100644 --- a/umbrello/umbrello/codegenerators/javacodegenerationpolicy.cpp +++ b/umbrello/umbrello/codegenerators/javacodegenerationpolicy.cpp @@ -37,7 +37,7 @@ JavaCodeGenerationPolicy::JavaCodeGenerationPolicy(CodeGenerationPolicy *default } */ -JavaCodeGenerationPolicy::JavaCodeGenerationPolicy(KConfig *config) +JavaCodeGenerationPolicy::JavaCodeGenerationPolicy(TDEConfig *config) // : CodeGenerationPolicy(config) { init(); @@ -93,7 +93,7 @@ bool JavaCodeGenerationPolicy::getAutoGenerateAssocAccessors( ){ // Other methods // -void JavaCodeGenerationPolicy::writeConfig ( KConfig * config ) +void JavaCodeGenerationPolicy::writeConfig ( TDEConfig * config ) { // write ONLY the Java specific stuff @@ -136,7 +136,7 @@ void JavaCodeGenerationPolicy::setDefaults ( CodeGenPolicyExt * clone, bool emit } -void JavaCodeGenerationPolicy::setDefaults( KConfig * config, bool emitUpdateSignal ) +void JavaCodeGenerationPolicy::setDefaults( TDEConfig * config, bool emitUpdateSignal ) { if(!config) diff --git a/umbrello/umbrello/codegenerators/javacodegenerationpolicy.h b/umbrello/umbrello/codegenerators/javacodegenerationpolicy.h index bde47753..89e6b294 100644 --- a/umbrello/umbrello/codegenerators/javacodegenerationpolicy.h +++ b/umbrello/umbrello/codegenerators/javacodegenerationpolicy.h @@ -21,7 +21,7 @@ #include "codegenpolicyext.h" #include "../codegenerationpolicy.h" -class KConfig; +class TDEConfig; class CodeGenerationPolicyPage; class JavaCodeGenerationPolicy : public CodeGenPolicyExt @@ -40,7 +40,7 @@ public: * Constructors */ //JavaCodeGenerationPolicy (CodeGenerationPolicy * defaults = 0); - JavaCodeGenerationPolicy (KConfig * config = 0); + JavaCodeGenerationPolicy (TDEConfig * config = 0); /** * Empty Destructor @@ -84,14 +84,14 @@ public: virtual void setDefaults (CodeGenPolicyExt * defaults, bool emitUpdateSignal = true); /** - * set the defaults from a config file for this code generator from the passed KConfig pointer. + * set the defaults from a config file for this code generator from the passed TDEConfig pointer. */ - virtual void setDefaults(KConfig * config, bool emitUpdateSignal = true); + virtual void setDefaults(TDEConfig * config, bool emitUpdateSignal = true); /** - * write Default params to passed KConfig pointer. + * write Default params to passed TDEConfig pointer. */ - virtual void writeConfig (KConfig * config); + virtual void writeConfig (TDEConfig * config); /** * Create a new dialog interface for this object. diff --git a/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.cpp b/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.cpp index 8e58fdf0..d9c8527d 100644 --- a/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.cpp +++ b/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.cpp @@ -32,7 +32,7 @@ const bool RubyCodeGenerationPolicy::DEFAULT_AUTO_GEN_ASSOC_ACCESSORS = true; // Constructors/Destructors // -RubyCodeGenerationPolicy::RubyCodeGenerationPolicy(KConfig *config) +RubyCodeGenerationPolicy::RubyCodeGenerationPolicy(TDEConfig *config) { init(); setDefaults(config,false); @@ -87,7 +87,7 @@ bool RubyCodeGenerationPolicy::getAutoGenerateAssocAccessors( ){ // Other methods // -void RubyCodeGenerationPolicy::writeConfig ( KConfig * config ) +void RubyCodeGenerationPolicy::writeConfig ( TDEConfig * config ) { // @todo do we need to call CodeGenerationPolicy::writeConfig ??? @@ -125,7 +125,7 @@ void RubyCodeGenerationPolicy::setDefaults ( CodeGenPolicyExt * clone, bool emit } -void RubyCodeGenerationPolicy::setDefaults( KConfig * config, bool emitUpdateSignal ) +void RubyCodeGenerationPolicy::setDefaults( TDEConfig * config, bool emitUpdateSignal ) { if(!config) diff --git a/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.h b/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.h index afbc26b4..f9f35894 100644 --- a/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.h +++ b/umbrello/umbrello/codegenerators/rubycodegenerationpolicy.h @@ -24,7 +24,7 @@ #include "codegenpolicyext.h" #include "../codegenerationpolicy.h" -class KConfig; +class TDEConfig; class CodeGenerationPolicyPage; class RubyCodeGenerationPolicy : public CodeGenPolicyExt @@ -42,7 +42,7 @@ public: /** * Constructors */ - RubyCodeGenerationPolicy (KConfig * config = 0); + RubyCodeGenerationPolicy (TDEConfig * config = 0); /** * Empty Destructor @@ -86,14 +86,14 @@ public: virtual void setDefaults (CodeGenPolicyExt * defaults, bool emitUpdateSignal = true); /** - * set the defaults from a config file for this code generator from the passed KConfig pointer. + * set the defaults from a config file for this code generator from the passed TDEConfig pointer. */ - virtual void setDefaults(KConfig * config, bool emitUpdateSignal = true); + virtual void setDefaults(TDEConfig * config, bool emitUpdateSignal = true); /** - * write Default params to passed KConfig pointer. + * write Default params to passed TDEConfig pointer. */ - virtual void writeConfig (KConfig * config); + virtual void writeConfig (TDEConfig * config); /** * Create a new dialog interface for this object. |