MDI template

Michael Olbrich michael.olbrich at gmx.net
Thu Jul 12 08:06:01 BST 2001


Hi!

When creating a new MDI application the main.cpp file contains something
like:

KCmdLineArgs *args = KCmdLineArgs::parsedArgs();

if (args->count())
{
	for(int i=0;i<args->count();i++)
	{
	        testmdi->openDocumentFile(args->arg(i));
	}
}

I think openDocumentFile(args->url(i)); would be better in this case
because with arg(i) relative filenames will only cause an error.
Could someone please fix the template, or is any problem with this?

Bye
Michael




-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list