diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:42 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:42 -0600 |
| commit | 2df6bde18ab40472f2df8637cf6456cb80dc2329 (patch) | |
| tree | 5a4362124ff46786fce835d2f1e7d583c92a5670 /examples/uimodules/uidialogs.py | |
| parent | be6cfa4b990910e65e8d2f4f212eba3f7da6ee72 (diff) | |
| download | pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.tar.gz pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.zip | |
Rename a number of classes to enhance compatibility 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 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) |
