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/tests | |
parent | 7e1f33d9f50dcae3eeed6143c602303ac360ba8d (diff) | |
download | koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.tar.gz koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kexi/tests')
-rw-r--r-- | kexi/tests/gui/finddialog/main.cpp | 2 | ||||
-rw-r--r-- | kexi/tests/newapi/main.cpp | 6 | ||||
-rw-r--r-- | kexi/tests/widgets/kexidbdrivercombotest.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kexi/tests/gui/finddialog/main.cpp b/kexi/tests/gui/finddialog/main.cpp index 7da98bf4..3a9148fb 100644 --- a/kexi/tests/gui/finddialog/main.cpp +++ b/kexi/tests/gui/finddialog/main.cpp @@ -27,7 +27,7 @@ int main( int argc, char ** argv ) { KAboutData aboutData( "test", I18N_NOOP("KFind"), "0", "", KAboutData::License_LGPL ); - KCmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::init( argc, argv, &aboutData ); KApplication app; KexiFindDialog dlg(true, 0, "dialog"); diff --git a/kexi/tests/newapi/main.cpp b/kexi/tests/newapi/main.cpp index 9eaff2ab..7bb6a059 100644 --- a/kexi/tests/newapi/main.cpp +++ b/kexi/tests/newapi/main.cpp @@ -115,7 +115,7 @@ int main(int argc, char** argv) TQFileInfo info=TQFileInfo(argv[0]); prgname = info.baseName().latin1(); - KCmdLineArgs::init(argc, argv, + TDECmdLineArgs::init(argc, argv, new KAboutData( prgname, "KexiDBTest", "0.1.2", "", KAboutData::License_GPL, "(c) 2003-2006, Kexi Team\n" @@ -125,9 +125,9 @@ int main(int argc, char** argv) "submit@bugs.kde.org" ) ); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); QCStringList tests; tests << "cursors" << "schema" << "dbcreation" << "tables" << "tableview" << "parser" << "dr_prop"; diff --git a/kexi/tests/widgets/kexidbdrivercombotest.cpp b/kexi/tests/widgets/kexidbdrivercombotest.cpp index 1ada79b1..32d1cdb7 100644 --- a/kexi/tests/widgets/kexidbdrivercombotest.cpp +++ b/kexi/tests/widgets/kexidbdrivercombotest.cpp @@ -45,7 +45,7 @@ int main(int argc, char** argv) { // Initialise the program - KCmdLineArgs::init(argc, argv, "kexidbcomboboxtest", "", "", "", true); + TDECmdLineArgs::init(argc, argv, "kexidbcomboboxtest", "", "", "", true); KApplication* app = new KApplication(true, true); // Look for installed database drivers |