Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

feat/lzip-support
Timothy Pearson 12 years ago
parent e790f3ca5c
commit 31e5489c29

@ -207,7 +207,7 @@ KAction *Krusader::actShowJSConsole = 0;
Krusader::Krusader() : KParts::MainWindow(0,0,WType_TopLevel|WDestructiveClose|TQt::WStyle_ContextHelp),
DCOPObject("Krusader-Interface"), status(NULL), sysTray( 0 ), isStarting( true ), isExiting( false ), directExit( false ) {
// parse command line arguments
KCmdLineArgs * args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs * args = TDECmdLineArgs::parsedArgs();
kapp->ref(); // FIX: krusader exits at closing the viewer when minimized to tray

@ -181,8 +181,8 @@ int main(int argc, char *argv[]) {
aboutData.addCredit("Ivan Petrouchtchak","Ukrainian translation","connyosis@gmx.net",0);
// Command line arguments ...
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
// check for command line arguments

Loading…
Cancel
Save