summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler/runner.py')
-rwxr-xr-xexamples/pytde-sampler/runner.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pytde-sampler/runner.py b/examples/pytde-sampler/runner.py
index 3f479f6..d9eee11 100755
--- a/examples/pytde-sampler/runner.py
+++ b/examples/pytde-sampler/runner.py
@@ -3,7 +3,7 @@
"""
import sys
-from tdecore import TDEApplication, KCmdLineArgs
+from tdecore import TDEApplication, TDECmdLineArgs
from tdeui import KMainWindow
from qt import TQVBoxLayout
@@ -42,10 +42,10 @@ def importItem(name):
if __name__ == '__main__':
options = [('+item', 'An item in the sys.path')]
- KCmdLineArgs.init(sys.argv, about.about)
- KCmdLineArgs.addCmdLineOptions(options)
+ TDECmdLineArgs.init(sys.argv, about.about)
+ TDECmdLineArgs.addCmdLineOptions(options)
- args = KCmdLineArgs.parsedArgs()
+ args = TDECmdLineArgs.parsedArgs()
if not args.count():
args.usage()
else: