summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/misc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:05:23 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:05:23 -0600
commit6677c2f8c66333c3951e8830f8760065c7a29074 (patch)
treee45d51b044ce8575210fca1584852fbbe4742316 /examples/pytde-sampler/misc
parent1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff)
downloadpytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz
pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'examples/pytde-sampler/misc')
-rw-r--r--examples/pytde-sampler/misc/window_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pytde-sampler/misc/window_info.py b/examples/pytde-sampler/misc/window_info.py
index daef2e0..00252c6 100644
--- a/examples/pytde-sampler/misc/window_info.py
+++ b/examples/pytde-sampler/misc/window_info.py
@@ -3,7 +3,7 @@
from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdeui import KWindowInfo, KPushButton, KTextEdit
-from tdecore import i18n, KApplication
+from tdecore import i18n, TDEApplication
iconName = 'misc'
labelText = 'KWindowInfo'
@@ -25,7 +25,7 @@ class MainFrame(TQFrame):
def showWindowInfo(self):
- main = KApplication.kApplication()
+ main = TDEApplication.kApplication()
print main
print main.mainWidget()