Advertisement
Guest User

Untitled

a guest
Dec 15th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.99 KB | None | 0 0
  1. using System;
  2. using Qyoto;
  3. using Kimono;
  4.  
  5.  
  6. class MainApplication
  7. {
  8.     public static int Main (string[] args)
  9.     {
  10.         KAboutData ad = new KAboutData("tutorial",
  11.                                        "",
  12.                                        KDE.Ki18n("Tutorial"),
  13.                                        "1.0",
  14.                                        KDE.Ki18n("First kde4 application"),
  15.                                        KAboutData.LicenseKey.License_GPL,
  16.                                        KDE.Ki18n("v1.0"),
  17.                                        KDE.Ki18n("dfgdghdfhdfh"),
  18.                                        "",
  19.                                        "");
  20.  
  21.         KCmdLineArgs.Init(args, ad);
  22.         new KApplication();
  23.         /*KGuiItem yesButton = new KGuiItem(KDE.I18n("Hello!"),
  24.                                           "",
  25.                                           KDE.I18n("Tooltip!"),
  26.                                           KDE.I18n("WTF?"));
  27.  
  28.         KMessageBox.QuestionYesNo(null, KDE.I18n("Hi!"), KDE.I18n("GG)))"), yesButton);*/
  29.  
  30.         return 0;
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement