From 3ed7c09d22a5f310a97516f5bab6068e5688a813 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:07 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- korundum/rubylib/examples/uimodules/uiwidgets.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'korundum/rubylib/examples/uimodules/uiwidgets.rb') diff --git a/korundum/rubylib/examples/uimodules/uiwidgets.rb b/korundum/rubylib/examples/uimodules/uiwidgets.rb index e06b06be..68dfb54f 100644 --- a/korundum/rubylib/examples/uimodules/uiwidgets.rb +++ b/korundum/rubylib/examples/uimodules/uiwidgets.rb @@ -168,7 +168,7 @@ class Page2 editListBox.insertStringList(["One", "Two", "Three"]) editListBox.show() - lbLbl = TQt::Label.new("KListBox", page) + lbLbl = TQt::Label.new("TDEListBox", page) lbLbl.setGeometry(x2, y2, 100, 20) lbLbl.show() @@ -186,7 +186,7 @@ class Page3 x = 10 y = 10 - fontLbl = TQt::Label.new("KFontChooser", page) + fontLbl = TQt::Label.new("TDEFontChooser", page) fontLbl.setGeometry(x, y, 95, 20) fontLbl.show() @@ -596,7 +596,7 @@ class PageThisApp x = 10 y = 10 - taLbl = TQt::Label.new("This application uses KMainWindow as its top level widget\n and KListView in the"\ + taLbl = TQt::Label.new("This application uses TDEMainWindow as its top level widget\n and TDEListView in the"\ " left-hand panel", page) taLbl.setGeometry(x, y, 300, 60) taLbl.show() @@ -718,7 +718,7 @@ def UIWidgets.widKEditListBox(parent) parent.currentPageObj = Page2.new(parent) end -def UIWidgets.widKFontChooser(parent) +def UIWidgets.widTDEFontChooser(parent) parent.currentPageObj = Page3.new(parent) end @@ -749,11 +749,11 @@ def UIWidgets.widKLineEdit(parent) parent.currentPageObj = Page1.new(parent) end -def UIWidgets.widKListBox(parent) +def UIWidgets.widTDEListBox(parent) parent.currentPageObj = Page2.new(parent) end -def UIWidgets.widKListView(parent) +def UIWidgets.widTDEListView(parent) parent.currentPageObj = PageThisApp.new(parent) end @@ -777,7 +777,7 @@ def UIWidgets.widKRootPixmap(parent) parent.currentPageObj = PageNotImpl.new(parent) end -def UIWidgets.widKMainWindow(parent) +def UIWidgets.widTDEMainWindow(parent) parent.currentPageObj = PageThisApp.new(parent) end @@ -789,7 +789,7 @@ def UIWidgets.widKRuler(parent) parent.currentPageObj = PageNotImpl.new(parent) end -def UIWidgets.widKSelector(parent) +def UIWidgets.widTDESelector(parent) parent.currentPageObj = Page4.new(parent) end -- cgit v1.2.1