summaryrefslogtreecommitdiffstats
path: root/examples/example_dcopexport.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example_dcopexport.py')
-rw-r--r--examples/example_dcopexport.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/example_dcopexport.py b/examples/example_dcopexport.py
index 1df6318..6c9efdb 100644
--- a/examples/example_dcopexport.py
+++ b/examples/example_dcopexport.py
@@ -34,7 +34,7 @@ copyright holder.
# which was written by Torben Weis and Julian Rockey
import sys
-from tdecore import TDEApplication, KCmdLineArgs, KAboutData
+from tdecore import TDEApplication, TDECmdLineArgs, KAboutData
from dcopexport import DCOPExObj
from qt import TQString, TQStringList
@@ -109,9 +109,9 @@ aboutData = KAboutData ("testdcopexport", "petshop",\
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 ()
dcop = app.dcopClient ()