From 2df6bde18ab40472f2df8637cf6456cb80dc2329 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:09:42 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- examples/README | 2 +- examples/kdeform1.ui | 8 +-- examples/kpartgui.dtd | 2 +- examples/kurldemo.py | 6 +- examples/menudemo.py | 34 ++++++------ examples/mimetype.py | 8 +-- examples/pyTDEHTMLPart.py | 8 +-- examples/pytde-sampler/dialogs/font.py | 8 +-- examples/pytde-sampler/dialogs/key.py | 2 +- examples/pytde-sampler/qt_widgets/CONTRIB | 92 +++++++++++++++---------------- examples/pytde-sampler/runner.py | 6 +- examples/pytde-sampler/sampler.py | 16 +++--- examples/systray.py | 6 +- examples/uimodules/uidialogs.py | 10 ++-- examples/uimodules/uimenus.py | 18 +++--- examples/uimodules/uiwidgets.py | 24 ++++---- examples/uimodules/uixml.py | 2 +- examples/uiqxembed.py | 6 +- examples/uisampler.py | 42 +++++++------- examples/uitdemdi.py | 4 +- examples/xmlmenudemo.py | 48 ++++++++-------- 21 files changed, 176 insertions(+), 176 deletions(-) (limited to 'examples') diff --git a/examples/README b/examples/README index d5dc062..a316a6a 100644 --- a/examples/README +++ b/examples/README @@ -3,7 +3,7 @@ programs that demonstrate or test some features of PyKDE: uisampler.py - demos of most of the tdeui widgets, - including dialogs, menus (KAction, KStdAction, etc) + including dialogs, menus (TDEAction, KStdAction, etc) widgets, and xml ui definition mimetest.py - tests TDESharedPtr related classes/methods diff --git a/examples/kdeform1.ui b/examples/kdeform1.ui index 176ec6e..fe7eaca 100644 --- a/examples/kdeform1.ui +++ b/examples/kdeform1.ui @@ -248,9 +248,9 @@ Python:from tdefile import KURLRequester 7 - + - KFontCombo2 + TDEFontCombo2 @@ -272,9 +272,9 @@ Python:from tdefile import KURLRequester 6 - + - KListView1 + TDEListView1 diff --git a/examples/kpartgui.dtd b/examples/kpartgui.dtd index 7706569..005bc6a 100644 --- a/examples/kpartgui.dtd +++ b/examples/kpartgui.dtd @@ -67,7 +67,7 @@ - entry # in the rc file @@ -180,15 +180,15 @@ class MainWin (KMainWindow): self.unplugActionList("recent"); self.dynamicActionsList = [] - # Create a KAction for each entry and store the KActions in a list - # Use 'None' for the KActionCollection argument in the KAction constructor + # Create a TDEAction for each entry and store the TDEActions in a list + # Use 'None' for the TDEActionCollection argument in the TDEAction constructor # in this case only for i in range (len (fakeFiles)): - act = KAction (i18n (" ".join (["&" + str (i), fakeFiles [i]])), KShortcut.null (),\ + act = TDEAction (i18n (" ".join (["&" + str (i), fakeFiles [i]])), TDEShortcut.null (),\ self.slotFake, None, fakeFiles [i][:-4] + "open") self.dynamicActionsList.append(act) - # Update the menu with the most recent KActions + # Update the menu with the most recent TDEActions self.plugActionList("recent", self.dynamicActionsList) -- cgit v1.2.3