Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

master
Timothy Pearson 11 years ago
parent 2310c5d241
commit 665b990f63

@ -119,7 +119,7 @@ KuickShow::KuickShow( const char *name )
bool isDir = false; // true if we get a directory on the commandline
// parse commandline options
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// files to display
// either a directory to display, an absolute path, a relative path, or a URL

@ -49,8 +49,8 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
about.addCredit( "Rober Hamberger", 0, "rh474@bingo-ev.de" );
about.addCredit( "Thorsten Scheuermann", 0, "uddn@rz.uni-karlsruhe.de" );
KCmdLineArgs::init( argc, argv, &about );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &about );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;

Loading…
Cancel
Save