diff options
Diffstat (limited to 'qtruby/rubylib/examples/base/kicons.rb')
-rw-r--r-- | qtruby/rubylib/examples/base/kicons.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/examples/base/kicons.rb b/qtruby/rubylib/examples/base/kicons.rb index 0d0a2c01..1922d70e 100644 --- a/qtruby/rubylib/examples/base/kicons.rb +++ b/qtruby/rubylib/examples/base/kicons.rb @@ -23,13 +23,13 @@ class KIconCollection end def get_icon_set(icon_type) path = get_icon_path(icon_type) - pixmap = Qt::Pixmap.new(path) - icon_set = Qt::IconSet.new - icon_set.setPixmap(pixmap, Qt::IconSet.Small) + pixmap = TQt::Pixmap.new(path) + icon_set = TQt::IconSet.new + icon_set.setPixmap(pixmap, TQt::IconSet.Small) icon_set end def make_qt_action(parent, text_with_accel, icon_type) - act = Qt::Action.new(parent) + act = TQt::Action.new(parent) act.setIconSet(get_icon_set(icon_type)) act.setMenuText(text_with_accel) act |