summaryrefslogtreecommitdiffstats
path: root/examples/kurldemo.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/kurldemo.py')
-rw-r--r--examples/kurldemo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/kurldemo.py b/examples/kurldemo.py
index 30f0bb2..0c03007 100644
--- a/examples/kurldemo.py
+++ b/examples/kurldemo.py
@@ -31,7 +31,7 @@ urls = ["http://slashdot.org", "http://www.kde.org", "http://www.riverbankcomput
import sys
-from tdecore import TDEApplication, KCmdLineArgs, KAboutData, KURL
+from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, KURL
from tdeui import KMainWindow, KEdit
class MainWin (KMainWindow):
@@ -88,9 +88,9 @@ aboutData = KAboutData ("", "",\
aboutData.addAuthor ("author1", "whatever they did", "email@somedomain")
aboutData.addAuthor ("author2", "they did something else", "another@email.address")
-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")