diff options
Diffstat (limited to 'languages/ruby/app_templates/tdeapp/appiface.rb')
-rw-r--r-- | languages/ruby/app_templates/tdeapp/appiface.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/languages/ruby/app_templates/tdeapp/appiface.rb b/languages/ruby/app_templates/tdeapp/appiface.rb new file mode 100644 index 00000000..a8be16b5 --- /dev/null +++ b/languages/ruby/app_templates/tdeapp/appiface.rb @@ -0,0 +1,14 @@ +class %{APPNAMESC}Iface < KDE::DCOPObject
+
+ k_dcop 'void openURL(QString)'
+
+ def initialize(app)
+ super("%{APPNAMESC}Iface")
+ @app = app
+ end
+
+ def openURL(url)
+ @app.openURL(url)
+ end
+end
+
|