diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:45 -0600 |
commit | 5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 (patch) | |
tree | d074ed35245d0d44f04cd625c1cafacdc15a13ae /tdeui/tests | |
parent | 6e8a7cc94c1eb8b67e91e6dc2f864dfeec51d9cc (diff) | |
download | tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.tar.gz tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'tdeui/tests')
-rw-r--r-- | tdeui/tests/klineedittest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/kpixmapregionselectordialogtest.cpp | 6 | ||||
-rw-r--r-- | tdeui/tests/ktabwidgettest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/twindowtest.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/tests/klineedittest.cpp b/tdeui/tests/klineedittest.cpp index 3508982fa..409476c20 100644 --- a/tdeui/tests/klineedittest.cpp +++ b/tdeui/tests/klineedittest.cpp @@ -119,7 +119,7 @@ void KLineEditTest::slotHide() int main ( int argc, char **argv) { KAboutData aboutData( "klineedittest", "klineedittest", "1.0" ); - KCmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::init(argc, argv, &aboutData); KApplication::addCmdLineOptions(); KApplication a; diff --git a/tdeui/tests/kpixmapregionselectordialogtest.cpp b/tdeui/tests/kpixmapregionselectordialogtest.cpp index c698c66f2..41dfd0a57 100644 --- a/tdeui/tests/kpixmapregionselectordialogtest.cpp +++ b/tdeui/tests/kpixmapregionselectordialogtest.cpp @@ -13,11 +13,11 @@ static const KCmdLineOptions options[] = int main(int argc, char**argv) { - KCmdLineArgs::init(argc, argv, "test", "test" ,"test" ,"1.0"); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, "test", "test" ,"test" ,"1.0"); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app("test"); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->count()!=1) { std::cout << "Usage: kpixmapregionselectordialogtest <imageFile>" << std::endl; diff --git a/tdeui/tests/ktabwidgettest.cpp b/tdeui/tests/ktabwidgettest.cpp index 32ed5c89f..0fd72851b 100644 --- a/tdeui/tests/ktabwidgettest.cpp +++ b/tdeui/tests/ktabwidgettest.cpp @@ -354,7 +354,7 @@ void Test::toggleLabels(bool state) int main(int argc, char** argv ) { - KCmdLineArgs::init(argc, argv, "ktabwidgettest", "ktabwidget test app", "1.0"); + TDECmdLineArgs::init(argc, argv, "ktabwidgettest", "ktabwidget test app", "1.0"); KApplication app(argc, argv); Test *t = new Test(); diff --git a/tdeui/tests/twindowtest.cpp b/tdeui/tests/twindowtest.cpp index 02b47c2d8..b967987bf 100644 --- a/tdeui/tests/twindowtest.cpp +++ b/tdeui/tests/twindowtest.cpp @@ -502,7 +502,7 @@ void testWindow::slotMakeItem3Current() int main( int argc, char *argv[] ) { int i; - KCmdLineArgs::init(argc, argv, "KWindowTest", "description", "version"); + TDECmdLineArgs::init(argc, argv, "KWindowTest", "description", "version"); KApplication *myApp = new KApplication(); testWindow *test = new testWindow; |