From 3d1fa8562bf693237a1a76918b4487cca3e2e356 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 21 Jan 2013 18:37:56 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- examples/mimetype.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/mimetype.py') 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") -- cgit v1.2.3