diff options
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", "jbublitz@nwinternet.com", "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): |