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 | |
parent | 6e8a7cc94c1eb8b67e91e6dc2f864dfeec51d9cc (diff) | |
download | tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.tar.gz tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'tdeui')
-rw-r--r-- | tdeui/kbugreport.h | 2 | ||||
-rw-r--r-- | tdeui/kdetrayproxy/kdetrayproxy.cpp | 2 | ||||
-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 |
6 files changed, 8 insertions, 8 deletions
diff --git a/tdeui/kbugreport.h b/tdeui/kbugreport.h index cff575dad..419ad3c81 100644 --- a/tdeui/kbugreport.h +++ b/tdeui/kbugreport.h @@ -35,7 +35,7 @@ class KBugReportPrivate; * (program name, version, bug-report address, etc.) * comes from the KAboutData class. * Make sure you create an instance of KAboutData and pass it - * to KCmdLineArgs. + * to TDECmdLineArgs. * * @author David Faure <faure@kde.org> */ diff --git a/tdeui/kdetrayproxy/kdetrayproxy.cpp b/tdeui/kdetrayproxy/kdetrayproxy.cpp index c6302a3cc..c13d87b27 100644 --- a/tdeui/kdetrayproxy/kdetrayproxy.cpp +++ b/tdeui/kdetrayproxy/kdetrayproxy.cpp @@ -185,7 +185,7 @@ void KDETrayProxy::withdrawWindow( Window w ) #include <kcmdlineargs.h> int main( int argc, char* argv[] ) { - KCmdLineArgs::init( argc, argv, "a", "b", "c", "d" ); + TDECmdLineArgs::init( argc, argv, "a", "b", "c", "d" ); KApplication app( false ); // no styles app.disableSessionManagement(); KDETrayProxy proxy; 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; |