diff options
author | Timothy Pearson <[email protected]> | 2013-01-20 00:05:23 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-20 00:05:23 -0600 |
commit | 6677c2f8c66333c3951e8830f8760065c7a29074 (patch) | |
tree | e45d51b044ce8575210fca1584852fbbe4742316 /examples/uiqxembed.py | |
parent | 1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff) | |
download | pytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'examples/uiqxembed.py')
-rw-r--r-- | examples/uiqxembed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 0f5f816..382739d 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -6,7 +6,7 @@ import sys from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT -from tdecore import KAboutData, KApplication, KCmdLineArgs, KGlobal, KIcon +from tdecore import KAboutData, TDEApplication, KCmdLineArgs, KGlobal, KIcon from tdecore import KWin, KWinModule from tdeui import KComboBox, KMainWindow, KPushButton, QXEmbed @@ -112,7 +112,7 @@ if __name__ == '__main__': about.addAuthor(author, 'hi, mom!', authormail) about.addAuthor ('Jim Bublitz', 'For PyKDE', '[email protected]') KCmdLineArgs.init(sys.argv, about) - app = KApplication() + app = TDEApplication() mainWindow = ExampleMain() mainWindow.show() app.connect(app, SIGNAL('lastWindowClosed()'), app, SLOT('quit()')) |