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 ba03a9a..8b102b4 100644 --- a/examples/uimodules/uidialogs.py +++ b/examples/uimodules/uidialogs.py @@ -1,9 +1,9 @@ from qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\ TQRadioButton, TQt, TQWidget -from tdecore import KAccel, i18n +from tdecore import TDEAccel, i18n -from tdeui import KAboutDialog, KAboutKDE, KBugReport, KColorDialog, KDialog, KDialogBase, KFontDialog,\ +from tdeui import KAboutDialog, KAboutKDE, KBugReport, KColorDialog, KDialog, KDialogBase, TDEFontDialog,\ KPasswordDialog, KMessageBox, KLineEditDlg, KKeyDialog, KWizard # despite what the docs say, there is no enum (in 2.1.1 anyway) @@ -176,13 +176,13 @@ def dlgKDialogBase (parent): dlg.show () -def dlgKFontDialog (parent): - dlg = KFontDialog (parent, "font dlg", False, False) +def dlgTDEFontDialog (parent): + dlg = TDEFontDialog (parent, "font dlg", False, False) dlg.show () def dlgKKeyDialog (parent): # This really doesn't do anything except pop up the dlg - keys = KAccel (parent) + keys = TDEAccel (parent) keys.insertItem( i18n( "Zoom in" ), "Zoom in", "+" ); keys.readSettings(); KKeyDialog.configureKeys (keys) |