diff options
Diffstat (limited to 'kdejava/koala/examples')
-rw-r--r-- | kdejava/koala/examples/kscribble/Main.java | 6 | ||||
-rw-r--r-- | kdejava/koala/examples/simplemail/SimpleMailer.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kdejava/koala/examples/kscribble/Main.java b/kdejava/koala/examples/kscribble/Main.java index 0dc4c99f..5a0dd5bc 100644 --- a/kdejava/koala/examples/kscribble/Main.java +++ b/kdejava/koala/examples/kscribble/Main.java @@ -43,8 +43,8 @@ static String VERSION = "0.1"; KAboutData aboutData = new KAboutData( "kscribble", "KScribble", VERSION, description, KAboutData.License_GPL, "(C) 2000 by Ralf Nolden"); - KCmdLineArgs.init( cmdLineArgs, aboutData ); - KCmdLineArgs.addCmdLineOptions( options ); // Add our own options. + TDECmdLineArgs.init( cmdLineArgs, aboutData ); + TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. TDEApplication app = new TDEApplication(); KImageIO.registerFormats(); @@ -55,7 +55,7 @@ static String VERSION = "0.1"; } else { kscribbleapp.show(); - KCmdLineArgs args = KCmdLineArgs.parsedArgs(); + TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); if (args.count() > 0) { kscribbleapp.openDocumentFile(new KURL(args.arg(0))); diff --git a/kdejava/koala/examples/simplemail/SimpleMailer.java b/kdejava/koala/examples/simplemail/SimpleMailer.java index cc57e131..8236d875 100644 --- a/kdejava/koala/examples/simplemail/SimpleMailer.java +++ b/kdejava/koala/examples/simplemail/SimpleMailer.java @@ -32,7 +32,7 @@ public class SimpleMailer extends TDEApplication{ * Entry point for the program */ public static void main(String [] argv) { - KCmdLineArgs.init(argv, "simplemailer", "SimpleMailer", + TDECmdLineArgs.init(argv, "simplemailer", "SimpleMailer", "Simple Mailing Application", "0.1"); SimpleMailer mailClnt = new SimpleMailer(); } |