From 6677c2f8c66333c3951e8830f8760065c7a29074 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:05:23 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- templates/basic/minimal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/basic/minimal.py') diff --git a/templates/basic/minimal.py b/templates/basic/minimal.py index 8d74187..02dda02 100644 --- a/templates/basic/minimal.py +++ b/templates/basic/minimal.py @@ -29,7 +29,7 @@ copyright holder. import sys -from tdecore import KApplication +from tdecore import TDEApplication from tdeui import KMainWindow class MainWin (KMainWindow): @@ -40,7 +40,7 @@ class MainWin (KMainWindow): #-------------------- main ------------------------------------------------ appName = "template" -app = KApplication (sys.argv, appName) +app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") mainWindow.show() app.exec_loop() -- cgit v1.2.1