From 5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:45 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- tdeui/tests/klineedittest.cpp | 2 +- tdeui/tests/kpixmapregionselectordialogtest.cpp | 6 +++--- tdeui/tests/ktabwidgettest.cpp | 2 +- tdeui/tests/twindowtest.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tdeui/tests') 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 " << 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; -- cgit v1.2.1