summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/examples/uimodules
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
commit3ed7c09d22a5f310a97516f5bab6068e5688a813 (patch)
tree23ba07d28f7fad17824db1fc40e9cf1ad4942480 /korundum/rubylib/examples/uimodules
parent3a8473ba2620b85b165b5a2fa1a6b153f5945800 (diff)
downloadtdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.tar.gz
tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'korundum/rubylib/examples/uimodules')
-rw-r--r--korundum/rubylib/examples/uimodules/uidialogs.rb2
-rw-r--r--korundum/rubylib/examples/uimodules/uimenus.rb18
-rw-r--r--korundum/rubylib/examples/uimodules/uiwidgets.rb16
-rw-r--r--korundum/rubylib/examples/uimodules/uixml.rb2
4 files changed, 19 insertions, 19 deletions
diff --git a/korundum/rubylib/examples/uimodules/uidialogs.rb b/korundum/rubylib/examples/uimodules/uidialogs.rb
index d07177be..0715fe12 100644
--- a/korundum/rubylib/examples/uimodules/uidialogs.rb
+++ b/korundum/rubylib/examples/uimodules/uidialogs.rb
@@ -190,7 +190,7 @@ def UIDialogs.dlgKDialogBase(parent)
dlg.show()
end
-def UIDialogs.dlgKFontDialog(parent)
+def UIDialogs.dlgTDEFontDialog(parent)
dlg = KDE::FontDialog.new(parent, "font dlg", false, false)
dlg.show()
end
diff --git a/korundum/rubylib/examples/uimodules/uimenus.rb b/korundum/rubylib/examples/uimodules/uimenus.rb
index dd98f227..a244aa1f 100644
--- a/korundum/rubylib/examples/uimodules/uimenus.rb
+++ b/korundum/rubylib/examples/uimodules/uimenus.rb
@@ -37,25 +37,25 @@ class PageNotImpl
end
end
-def UIMenus.menuKAccelGen(parent)
+def UIMenus.menuTDEAccelGen(parent)
parent.currentPageObj = PageNotImpl.new(parent)
end
-def UIMenus.menuKAccelMenu(parent)
+def UIMenus.menuTDEAccelMenu(parent)
parent.currentPageObj = PageNotImpl.new(parent)
end
-def UIMenus.menuKAction(parent)
+def UIMenus.menuTDEAction(parent)
parent.currentPageObj = PageLaunch.new(parent)
system("ruby menudemo.rb")
end
-def UIMenus.menuKActionMenu(parent)
+def UIMenus.menuTDEActionMenu(parent)
parent.currentPageObj = PageLaunch.new(parent)
system("ruby menudemo.rb")
end
-def UIMenus.menuKActionSeparator(parent)
+def UIMenus.menuTDEActionSeparator(parent)
parent.currentPageObj = PageLaunch.new(parent)
system("ruby menudemo.rb")
end
@@ -90,15 +90,15 @@ def UIMenus.menuKPanelMenu(parent)
parent.currentPageObj = PageNotImpl.new(parent)
end
-def UIMenus.menuKPopupFrame(parent)
+def UIMenus.menuTDEPopupFrame(parent)
# pass
end
-def UIMenus.menuKPopupMenu(parent)
+def UIMenus.menuTDEPopupMenu(parent)
# pass
end
-def UIMenus.menuKPopupTitle(parent)
+def UIMenus.menuTDEPopupTitle(parent)
# pass
end
@@ -117,7 +117,7 @@ def UIMenus.menuKStdAction(parent)
system("ruby menudemo.rb")
end
-def UIMenus.menuKToolBar(parent)
+def UIMenus.menuTDEToolBar(parent)
parent.currentPageObj = PageLaunch.new(parent)
system("ruby menudemo.rb")
end
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
diff --git a/korundum/rubylib/examples/uimodules/uixml.rb b/korundum/rubylib/examples/uimodules/uixml.rb
index 8abd0c9d..de487642 100644
--- a/korundum/rubylib/examples/uimodules/uixml.rb
+++ b/korundum/rubylib/examples/uimodules/uixml.rb
@@ -23,7 +23,7 @@ class PageLaunch
end
end
-def UIXML.xmlKActionCollection(parent)
+def UIXML.xmlTDEActionCollection(parent)
parent.currentPageObj = PageLaunch.new(parent)
system("ruby xmlmenudemo.rb")
end