node/lib/metasm/metasm/gui/qt.rb
def savefile(title, opts={})
		f = Qt::FileDialog.get_save_file_name(nil, title, @@dialogfilefolder)
		if f and f != ''
			@@dialogfilefolder = File.dirname(f)
			protect { yield f }
		end
		f	# useless, dialog is modal
	end
# same as openfile, but for writing a (new) file
same as openfile, but for writing a (new) file
same as openfile but for writing a ( new ) file
def savefile(title, opts={})
		f = Qt::FileDialog.get_save_file_name(nil, title, @@dialogfilefolder)
		if f and f != ''
			@@dialogfilefolder = File.dirname(f)
			protect { yield f }
		end
		f	
	end
def savefile ( title , opts = { } ) f = Qt :: FileDialog . get_save_file_name ( nil , title , @@dialogfilefolder ) if f and f != '' @@dialogfilefolder = File . dirname ( f ) protect { yield f } end f end
same as openfile, but for writing a (new) file
same as openfile but for writing a ( new ) file
# useless, dialog is modal
title
opts