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

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