Add licence and installation instructions.
[kaya.git] / lib / ics / example / main.rb
blob97d6d7d5440383a31ccb51b25d60499f25165207
1 # Copyright (c) 2009 Paolo Capriotti <p.capriotti@gmail.com>
2
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 require 'qtutils'
9 require 'ics/connection'
10 require 'ics/example/window'
12 description = "Connection example"
13 version = "0.1"
14 about = KDE::AboutData.new("connection", 
15                            "Connection Example", 
16                            KDE.ki18n("Connection Example"),
17                            version, 
18                            KDE.ki18n(description),
19                            KDE::AboutData::License_GPL,
20                            KDE.ki18n("(C) 2009 Paolo Capriotti"))
22 KDE::CmdLineArgs.init(ARGV, about)
24 app = KDE::Application.new
26 w = Window.new
27 w.show
29 app.exec