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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example_dcopexport.py b/examples/example_dcopexport.py
index 70b4e9c..1df6318 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 KApplication, KCmdLineArgs, KAboutData
+from tdecore import TDEApplication, KCmdLineArgs, KAboutData
from dcopexport import DCOPExObj
from qt import TQString, TQStringList
@@ -113,7 +113,7 @@ KCmdLineArgs.init (sys.argv, aboutData)
KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
-app = KApplication ()
+app = TDEApplication ()
dcop = app.dcopClient ()
appid = dcop.registerAs('petshop')
print "DCOP Application: %s starting" % appid