summaryrefslogtreecommitdiffstats
path: root/examples/mimetype.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-21 18:37:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-21 18:37:56 -0600
commit3d1fa8562bf693237a1a76918b4487cca3e2e356 (patch)
treeb7433e34f990eaeae6905eafdd1e801111084bc0 /examples/mimetype.py
parent75a3ef0afbe95220d12b8ab4e63cfd3751abd353 (diff)
downloadpytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.tar.gz
pytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'examples/mimetype.py')
-rw-r--r--examples/mimetype.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/mimetype.py b/examples/mimetype.py
index 61d5545..fc85699 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 TDEApplication, KCmdLineArgs, KAboutData, KURL
+from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, KURL
from tdeui import KMainWindow, KTabCtl, KListBox
from kio import KMimeType, KService, KServiceGroup, KServiceType, KTrader, KServiceTypeProfile, KServiceGroup
@@ -259,9 +259,9 @@ aboutData = KAboutData ("", "",\
version, description, KAboutData.License_GPL,\
"(C) 2003 Jim Bublitz")
-KCmdLineArgs.init (sys.argv, aboutData)
+TDECmdLineArgs.init (sys.argv, aboutData)
-KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
+TDECmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
app = TDEApplication ()
mainWindow = MainWin (None, "main window")