diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:28 -0600 |
commit | 68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2 (patch) | |
tree | 2960e9f2a6227456ee4d6f1b135f6daa30929eac /kexi/kexidb/simplecommandlineapp.cpp | |
parent | 7e1f33d9f50dcae3eeed6143c602303ac360ba8d (diff) | |
download | koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.tar.gz koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kexi/kexidb/simplecommandlineapp.cpp')
-rw-r--r-- | kexi/kexidb/simplecommandlineapp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/simplecommandlineapp.cpp b/kexi/kexidb/simplecommandlineapp.cpp index c0f95391..6ba6624b 100644 --- a/kexi/kexidb/simplecommandlineapp.cpp +++ b/kexi/kexidb/simplecommandlineapp.cpp @@ -90,7 +90,7 @@ SimpleCommandLineApp::SimpleCommandLineApp( { TQFileInfo fi(argv[0]); TQCString appName( fi.baseName().latin1() ); - KCmdLineArgs::init(argc, argv, + TDECmdLineArgs::init(argc, argv, new KAboutData( appName, programName, version, shortDescription, licenseType, copyrightStatement, text, homePageAddress, bugsEmailAddress)); @@ -123,9 +123,9 @@ SimpleCommandLineApp::SimpleCommandLineApp( allOptionsPtr->name = 0; //end allOptionsPtr->description = 0; allOptionsPtr->def = 0; - KCmdLineArgs::addCmdLineOptions( d->allOptions ); + TDECmdLineArgs::addCmdLineOptions( d->allOptions ); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); d->connData.driverName = args->getOption("driver"); d->connData.userName = args->getOption("user"); |