blob: b08e9b21ac556abe39fa85a15ba6b8574cc9fc41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
require 'Korundum'
include KDE
about = AboutData.new("%{APPNAMELC}_client", "%{APPNAME} client", "0.1")
CmdLineArgs.init(ARGV, about)
app = Application.new
# get our DCOP client and attach so that we may use it
client = app.dcopClient
client.attach
# do a 'send' for now
dcopRef = DCOPRef.new("%{APPNAMELC}", "%{APPNAMESC}Iface")
dcopRef.openURL("http://www.kde.org")
app.exec
|