diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-21 18:37:56 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-21 18:37:56 -0600 |
| commit | 3d1fa8562bf693237a1a76918b4487cca3e2e356 (patch) | |
| tree | b7433e34f990eaeae6905eafdd1e801111084bc0 /examples/example_dcopext.py | |
| parent | 75a3ef0afbe95220d12b8ab4e63cfd3751abd353 (diff) | |
| download | pytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.tar.gz pytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.zip | |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'examples/example_dcopext.py')
| -rw-r--r-- | examples/example_dcopext.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/example_dcopext.py b/examples/example_dcopext.py index 05a906d..e206a21 100644 --- a/examples/example_dcopext.py +++ b/examples/example_dcopext.py @@ -30,7 +30,7 @@ copyright holder. import sys, time import dcop import dcopext -from tdecore import TDEApplication, KCmdLineArgs, KAboutData +from tdecore import TDEApplication, TDECmdLineArgs, KAboutData from qt import TQString, TQCString @@ -61,9 +61,9 @@ aboutData = KAboutData ("testdcopext", "testdcopext",\ 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 () |
