diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-21 18:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-21 18:50:21 -0600 |
commit | 427847240b11c1733dd9c259c613d68a6405fe68 (patch) | |
tree | 71a03608b683f39cbb48ea79f9c40dc7a320019e /kdejava/koala/examples | |
parent | 3b8c3eec420595c4532e4c4f2282b6bc2802d5a9 (diff) | |
download | tdebindings-427847240b11c1733dd9c259c613d68a6405fe68.tar.gz tdebindings-427847240b11c1733dd9c259c613d68a6405fe68.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
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(); } |