diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtruby/rubylib/examples/qt-examples/chart/canvasview.rb | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/chart/canvasview.rb')
-rw-r--r-- | qtruby/rubylib/examples/qt-examples/chart/canvasview.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/chart/canvasview.rb b/qtruby/rubylib/examples/qt-examples/chart/canvasview.rb index 416b0de7..296d6913 100644 --- a/qtruby/rubylib/examples/qt-examples/chart/canvasview.rb +++ b/qtruby/rubylib/examples/qt-examples/chart/canvasview.rb @@ -1,4 +1,4 @@ -class CanvasView < Qt::CanvasView +class CanvasView < TQt::CanvasView def initialize(canvas, elements, parent = nil, name = "canvas view", f = 0) super(canvas, parent, name, f) @@ -7,7 +7,7 @@ class CanvasView < Qt::CanvasView end def contentsContextMenuEvent( e ) - parent().optionsMenu.exec( Qt::Cursor.pos() ) + parent().optionsMenu.exec( TQt::Cursor.pos() ) end |