You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/ruby/app_templates/kapp/app_client.rb

19 lines
383 B

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