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 /examples/mimetype.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/mimetype.py')
| -rw-r--r-- | examples/mimetype.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mimetype.py b/examples/mimetype.py index 5f7a18b..61d5545 100644 --- a/examples/mimetype.py +++ b/examples/mimetype.py @@ -41,7 +41,7 @@ import sys from qt import TQWidget, TQButtonGroup, TQt, TQLabel, TQListView, TQListViewItem -from tdecore import KApplication, KCmdLineArgs, KAboutData, KURL +from tdecore import TDEApplication, KCmdLineArgs, KAboutData, KURL from tdeui import KMainWindow, KTabCtl, KListBox from kio import KMimeType, KService, KServiceGroup, KServiceType, KTrader, KServiceTypeProfile, KServiceGroup @@ -263,7 +263,7 @@ KCmdLineArgs.init (sys.argv, aboutData) KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")]) -app = KApplication () +app = TDEApplication () mainWindow = MainWin (None, "main window") mainWindow.show() app.exec_loop() |
