diff options
author | Timothy Pearson <[email protected]> | 2013-01-19 18:46:28 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-19 18:46:28 -0600 |
commit | 68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2 (patch) | |
tree | 2960e9f2a6227456ee4d6f1b135f6daa30929eac /lib/koproperty/test | |
parent | 7e1f33d9f50dcae3eeed6143c602303ac360ba8d (diff) | |
download | koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.tar.gz koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'lib/koproperty/test')
-rw-r--r-- | lib/koproperty/test/main.cpp | 6 | ||||
-rw-r--r-- | lib/koproperty/test/test.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/test/main.cpp b/lib/koproperty/test/main.cpp index 83370cfd..b28a8034 100644 --- a/lib/koproperty/test/main.cpp +++ b/lib/koproperty/test/main.cpp @@ -39,8 +39,8 @@ int main(int argc, char **argv) KAboutData about("proptest", "KoProperty Test", version, description, KAboutData::License_GPL, "(C) 2005 Cedric Pasteur", 0, 0, "[email protected]"); about.addAuthor( "Cedric Pasteur", 0, "[email protected]" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app; Test *mainWin = 0; @@ -51,7 +51,7 @@ int main(int argc, char **argv) else { // no session.. just start up normally - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); /// @todo do something with the command line args here diff --git a/lib/koproperty/test/test.cpp b/lib/koproperty/test/test.cpp index 1c4678c9..ecf41473 100644 --- a/lib/koproperty/test/test.cpp +++ b/lib/koproperty/test/test.cpp @@ -39,7 +39,7 @@ using namespace KoProperty; Test::Test() : KMainWindow(0,"koproperty_test") { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); const bool flat = args->isSet("flat"); const bool readOnly = args->isSet("ro"); |