summaryrefslogtreecommitdiffstats
path: root/examples/uimodules
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/uimodules
parent1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff)
downloadpytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz
pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'examples/uimodules')
-rw-r--r--examples/uimodules/uimenus.py4
-rw-r--r--examples/uimodules/uiwidgets.py4
-rw-r--r--examples/uimodules/uixml.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/uimodules/uimenus.py b/examples/uimodules/uimenus.py
index 4e11157..6fc72ff 100644
--- a/examples/uimodules/uimenus.py
+++ b/examples/uimodules/uimenus.py
@@ -2,7 +2,7 @@ import os
from qt import TQLabel
-from tdecore import KApplication
+from tdecore import TDEApplication
class PageLaunch:
def __init__ (self, parent):
@@ -17,7 +17,7 @@ class PageLaunch:
self.page.show ()
- KApplication.kApplication ().processEvents ()
+ TDEApplication.kApplication ().processEvents ()
class PageNotImpl:
diff --git a/examples/uimodules/uiwidgets.py b/examples/uimodules/uiwidgets.py
index 6eb2592..35e6a34 100644
--- a/examples/uimodules/uiwidgets.py
+++ b/examples/uimodules/uiwidgets.py
@@ -3,7 +3,7 @@ import time, sys
from qt import TQLabel, TQFrame, TQColor, TQPushButton, SIGNAL, TQButtonGroup, TQRadioButton, TQt, TQString, TQChar,\
TQWidget, TQTimer
-from tdecore import KApplication
+from tdecore import TDEApplication
from tdeui import KEdit, KComboBox, KColorCombo, KEditListBox, KListBox, KLineEdit, KRestrictedLine,\
KSqueezedTextLabel, KFontChooser, KButtonBox, KColorButton, KColorCells,\
KColorPatch, KDualColorButton,\
@@ -118,7 +118,7 @@ class Page1:
grp.show ()
self.page.show ()
- kapp = KApplication.kApplication ()
+ kapp = TDEApplication.kApplication ()
kapp.processEvents ()
y = y + 195
diff --git a/examples/uimodules/uixml.py b/examples/uimodules/uixml.py
index 8e8ca8c..cabcc80 100644
--- a/examples/uimodules/uixml.py
+++ b/examples/uimodules/uixml.py
@@ -2,7 +2,7 @@ import os
from qt import TQLabel
-from tdecore import KApplication
+from tdecore import TDEApplication
class PageLaunch:
def __init__ (self, parent):
@@ -17,7 +17,7 @@ class PageLaunch:
self.page.show ()
- KApplication.kApplication ().processEvents ()
+ TDEApplication.kApplication ().processEvents ()
def xmlKActionCollection (parent):
parent.currentPageObj = PageLaunch (parent)