diff options
author | Timothy Pearson <[email protected]> | 2013-02-07 11:03:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-07 11:03:01 -0600 |
commit | 432ed6857a0a5904f0a2b96afa94f96a7ccc82d3 (patch) | |
tree | cce40e438df6f0c861ef9ee70094ab206ad84c17 /examples/uimodules/uidialogs.py | |
parent | b3f48c5f7f807147c4d0338137b9a77525aeaefb (diff) | |
download | pytde-432ed6857a0a5904f0a2b96afa94f96a7ccc82d3.tar.gz pytde-432ed6857a0a5904f0a2b96afa94f96a7ccc82d3.zip |
Rename KAbout to avoid conflicts with KDE4
Diffstat (limited to 'examples/uimodules/uidialogs.py')
-rw-r--r-- | examples/uimodules/uidialogs.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/uimodules/uidialogs.py b/examples/uimodules/uidialogs.py index 8b102b4..82e6260 100644 --- a/examples/uimodules/uidialogs.py +++ b/examples/uimodules/uidialogs.py @@ -3,7 +3,7 @@ from qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQ from tdecore import TDEAccel, i18n -from tdeui import KAboutDialog, KAboutKDE, KBugReport, KColorDialog, KDialog, KDialogBase, TDEFontDialog,\ +from tdeui import TDEAboutDialog, TDEAboutKDE, KBugReport, KColorDialog, KDialog, KDialogBase, TDEFontDialog,\ KPasswordDialog, KMessageBox, KLineEditDlg, KKeyDialog, KWizard # despite what the docs say, there is no enum (in 2.1.1 anyway) @@ -124,8 +124,8 @@ class MessageDlg (KDialog): KMessageBox.error (self, "No - this isn't really an error\nIt's an error message box\n", "Error") -def dlgKAboutDialog (parent): - dlg = KAboutDialog (parent, 'about dialog', False) +def dlgTDEAboutDialog (parent): + dlg = TDEAboutDialog (parent, 'about dialog', False) dlg.setLogo (TQPixmap ("pytestimage.png")) dlg.setTitle ("UISampler for PyKDE") dlg.setAuthor ("Jim Bublitz", "[email protected]", "http://www.riverbankcomputing.co.uk",\ @@ -139,8 +139,8 @@ def dlgKBugReport (parent): dlg = KBugReport (parent) dlg.exec_loop () -def dlgKAboutKDE (parent): - dlg = KAboutKDE (parent, "about kde", False) +def dlgTDEAboutKDE (parent): + dlg = TDEAboutKDE (parent, "about kde", False) dlg.show () def dlgKColorDialog (parent): |