summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler')
-rw-r--r--examples/pytde-sampler/misc/window_info.py4
-rw-r--r--examples/pytde-sampler/qt_widgets/CONTRIB4
-rwxr-xr-xexamples/pytde-sampler/runner.py4
-rwxr-xr-xexamples/pytde-sampler/sampler.py4
4 files changed, 8 insertions, 8 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()
diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB
index 3def876..3e0c57f 100644
--- a/examples/pytde-sampler/qt_widgets/CONTRIB
+++ b/examples/pytde-sampler/qt_widgets/CONTRIB
@@ -19,7 +19,7 @@ tdecore,KAccelAction,,,
tdecore,KAccelActions,,,
tdecore,KAccelBase,,,
tdecore,KAccelShortcutList,,,
-tdecore,KApplication,,,
+tdecore,TDEApplication,,,
tdecore,KAsyncIO,,,
tdecore,KAudioPlayer,,,
tdecore,KBufferedIO,,,
@@ -342,7 +342,7 @@ tdeui,KXMLGUIFactory,,,
tdeui,KXYSelector,,,
tdeui,QXEmbed,,,
tdeui,testKActionList,,,
-kfile,KApplicationPropsPlugin,,,
+kfile,TDEApplicationPropsPlugin,,,
kfile,KBindingPropsPlugin,,,
kfile,KCombiView,,,
kfile,KCustomMenuEditor,,,
diff --git a/examples/pytde-sampler/runner.py b/examples/pytde-sampler/runner.py
index e153fae..3f479f6 100755
--- a/examples/pytde-sampler/runner.py
+++ b/examples/pytde-sampler/runner.py
@@ -3,7 +3,7 @@
"""
import sys
-from tdecore import KApplication, KCmdLineArgs
+from tdecore import TDEApplication, KCmdLineArgs
from tdeui import KMainWindow
from qt import TQVBoxLayout
@@ -52,7 +52,7 @@ if __name__ == '__main__':
pathitem = args.arg(0)
widget = importItem(pathitem)
- app = KApplication()
+ app = TDEApplication()
mainWindow = SamplerRunnerWindow(widget)
mainWindow.show()
app.exec_loop()
diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py
index 83a4979..ec1d053 100755
--- a/examples/pytde-sampler/sampler.py
+++ b/examples/pytde-sampler/sampler.py
@@ -14,7 +14,7 @@ from qt import SIGNAL, SLOT, PYSIGNAL, TQt
from qt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog
from qt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
-from tdecore import i18n, KAboutData, KApplication, KCmdLineArgs, KGlobal
+from tdecore import i18n, KAboutData, TDEApplication, KCmdLineArgs, KGlobal
from tdecore import KGlobalSettings, KWin, KWinModule, KURL, KIcon
from tdeui import KComboBox, KListView, KListViewItem, KTabWidget, KTextEdit
@@ -410,7 +410,7 @@ class SamplerMainWindow(KMainWindow):
if __name__ == '__main__':
aboutdata = about.about()
KCmdLineArgs.init(sys.argv, aboutdata)
- app = KApplication()
+ app = TDEApplication()
splashpix = TQPixmap(os.path.join(lib.samplerpath, 'aboutkde.png'))
splash = KSplashScreen(splashpix)