diff options
Diffstat (limited to 'kexi/kexidb/simplecommandlineapp.cpp')
-rw-r--r-- | kexi/kexidb/simplecommandlineapp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/kexidb/simplecommandlineapp.cpp b/kexi/kexidb/simplecommandlineapp.cpp index 6ba6624b..5b3732a5 100644 --- a/kexi/kexidb/simplecommandlineapp.cpp +++ b/kexi/kexidb/simplecommandlineapp.cpp @@ -72,7 +72,7 @@ public: KexiDB::DriverManager manager; KCmdLineOptions *allOptions; - KInstance* instance; + TDEInstance* instance; ConnectionData connData; TQGuardedPtr<Connection> conn; }; @@ -91,7 +91,7 @@ SimpleCommandLineApp::SimpleCommandLineApp( TQFileInfo fi(argv[0]); TQCString appName( fi.baseName().latin1() ); TDECmdLineArgs::init(argc, argv, - new KAboutData( appName, programName, + new TDEAboutData( appName, programName, version, shortDescription, licenseType, copyrightStatement, text, homePageAddress, bugsEmailAddress)); @@ -102,7 +102,7 @@ SimpleCommandLineApp::SimpleCommandLineApp( for (KCmdLineOptions *optionsPtr = options; optionsPtr->name; optionsPtr++, userOptionsCount++) ; - d->instance = new KInstance(appName); + d->instance = new TDEInstance(appName); // join the predefined options and user options d->allOptions = new KCmdLineOptions[predefinedOptionsCount + userOptionsCount + 1]; @@ -212,7 +212,7 @@ bool SimpleCommandLineApp::closeDatabase() return true; } -KInstance* SimpleCommandLineApp::instance() const +TDEInstance* SimpleCommandLineApp::instance() const { return d->instance; } |