diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:05:23 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:05:23 -0600 |
| commit | 6677c2f8c66333c3951e8830f8760065c7a29074 (patch) | |
| tree | e45d51b044ce8575210fca1584852fbbe4742316 /templates/basic/basicapp.py | |
| parent | 1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff) | |
| download | pytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip | |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'templates/basic/basicapp.py')
| -rw-r--r-- | templates/basic/basicapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/basic/basicapp.py b/templates/basic/basicapp.py index 2de4996..b5b5f62 100644 --- a/templates/basic/basicapp.py +++ b/templates/basic/basicapp.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import SIGNAL -from tdecore import KApplication, KCmdLineArgs, KAboutData +from tdecore import TDEApplication, KCmdLineArgs, KAboutData from tdeui import KMainWindow class MainWin (KMainWindow): @@ -51,7 +51,7 @@ aboutData.addAuthor ("author2", "they did something else", "another@email.addres KCmdLineArgs.init (sys.argv, aboutData) -app = KApplication () +app = TDEApplication () mainWindow = MainWin (None, "main window") mainWindow.show() app.connect (app, SIGNAL ("lastWindowClosed ()"), app.quit) |
