summaryrefslogtreecommitdiffstats
path: root/examples/uisampler.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:05:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:05:23 -0600
commit6677c2f8c66333c3951e8830f8760065c7a29074 (patch)
treee45d51b044ce8575210fca1584852fbbe4742316 /examples/uisampler.py
parent1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff)
downloadpytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz
pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'examples/uisampler.py')
-rw-r--r--examples/uisampler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/uisampler.py b/examples/uisampler.py
index e0912e2..29a0f92 100644
--- a/examples/uisampler.py
+++ b/examples/uisampler.py
@@ -3,7 +3,7 @@ sys.path.append ("./uimodules")
from qt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt
-from tdecore import KApplication, KCmdLineArgs, KAboutData
+from tdecore import TDEApplication, KCmdLineArgs, KAboutData
from tdeui import KMainWindow, KListView
from uidialogs import *
@@ -220,7 +220,7 @@ class MainWin (KMainWindow):
#-------------------- main ------------------------------------------------
appName = "UISampler"
-app = KApplication (sys.argv, appName)
+app = TDEApplication (sys.argv, appName)
mainWindow = MainWin (None, "main window")
mainWindow.show()
app.exec_loop()