summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/qtrubyapp/main.rb
blob: 431ea442d339efae51a3e9e8c174ceebc7853845 (plain)
1
2
3
4
5
6
7
8
9
10
require 'Qt'
require '%{APPNAMELC}.rb'

a = TQt::Application.new( ARGV )
mw = %{APPNAMESC}.new
mw.caption = "%{APPNAMESC}"
mw.show
a.connect( a, SIGNAL('lastWindowClosed()'), a, SLOT('quit()') )
a.exec