Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 9ad1e3ff3e
commit 8c3110de47

@ -113,11 +113,11 @@ int main ( int argc, char *argv[] )
aboutData.addCredit ( "Christiansen" , I18N_NOOP ( "Danish translation" ), "susebruger@mailme.dk" ); aboutData.addCredit ( "Christiansen" , I18N_NOOP ( "Danish translation" ), "susebruger@mailme.dk" );
// Initialize command line args // Initialize command line args
KCmdLineArgs::init ( argc, argv, &aboutData); TDECmdLineArgs::init ( argc, argv, &aboutData);
// Add options from other components // Add options from other components
KApplication::addCmdLineOptions(); KApplication::addCmdLineOptions();
KCmdLineArgs::addCmdLineOptions ( options ); TDECmdLineArgs::addCmdLineOptions ( options );
KApplication a; KApplication a;
KVpnc *kvpnc = new KVpnc ( &a ); KVpnc *kvpnc = new KVpnc ( &a );
@ -140,7 +140,7 @@ int main ( int argc, char *argv[] )
// exit(0); // exit(0);
// } // }
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
a.setMainWidget ( kvpnc ); a.setMainWidget ( kvpnc );

Loading…
Cancel
Save