diff options
Diffstat (limited to 'umbrello/umbrello/main.cpp')
-rw-r--r-- | umbrello/umbrello/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/umbrello/umbrello/main.cpp b/umbrello/umbrello/main.cpp index 24928759..52d96693 100644 --- a/umbrello/umbrello/main.cpp +++ b/umbrello/umbrello/main.cpp @@ -62,7 +62,7 @@ bool getShowGUI(TDECmdLineArgs *args); * @param showGUI If the GUI should be shown. * @return The startup logo for the application, or a null pointer if it shouldn't be shown. */ -KStartupLogo* showStartupLogo(KConfig* cfg, bool showGUI); +KStartupLogo* showStartupLogo(TDEConfig* cfg, bool showGUI); /** * Initializes the document used by the application. @@ -73,7 +73,7 @@ KStartupLogo* showStartupLogo(KConfig* cfg, bool showGUI); * @param args The command line arguments given. * @param cfg The application configuration. */ -void initDocument(TDECmdLineArgs *args, KConfig* cfg); +void initDocument(TDECmdLineArgs *args, TDEConfig* cfg); /** * Export all the views in the document using the command line args set by the user. @@ -108,7 +108,7 @@ int main(int argc, char *argv[]) { UMLApp *uml = new UMLApp(); flushEvents(); - KConfig * cfg = app.config(); + TDEConfig * cfg = app.config(); KStartupLogo* startLogo = showStartupLogo(cfg, showGUI); @@ -145,7 +145,7 @@ bool getShowGUI(TDECmdLineArgs *args) { return true; } -KStartupLogo* showStartupLogo(KConfig* cfg, bool showGUI) { +KStartupLogo* showStartupLogo(TDEConfig* cfg, bool showGUI) { KStartupLogo* startLogo = 0L; cfg->setGroup( "General Options" ); @@ -167,7 +167,7 @@ KStartupLogo* showStartupLogo(KConfig* cfg, bool showGUI) { return startLogo; } -void initDocument(TDECmdLineArgs *args, KConfig* cfg) { +void initDocument(TDECmdLineArgs *args, TDEConfig* cfg) { if ( args -> count() ) { UMLApp::app()->openDocumentFile( args->url( 0 ) ); } else { |