summaryrefslogtreecommitdiffstats
path: root/templates/basic
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-22 20:03:49 -0600
committerTimothy Pearson <[email protected]>2013-01-22 20:03:49 -0600
commit387a27b62f25387e42a850739ced151d64a2e760 (patch)
treebbba39b506feb102175f10aa296b201a5a4557f5 /templates/basic
parent3d1fa8562bf693237a1a76918b4487cca3e2e356 (diff)
downloadpytde-387a27b62f25387e42a850739ced151d64a2e760.tar.gz
pytde-387a27b62f25387e42a850739ced151d64a2e760.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'templates/basic')
-rw-r--r--templates/basic/basicapp.py6
-rw-r--r--templates/basic/menuapp1.py6
-rw-r--r--templates/basic/menuapp2.py6
-rw-r--r--templates/basic/menuapp3.py6
4 files changed, 12 insertions, 12 deletions
diff --git a/templates/basic/basicapp.py b/templates/basic/basicapp.py
index 01ce1af..53e0c51 100644
--- a/templates/basic/basicapp.py
+++ b/templates/basic/basicapp.py
@@ -30,7 +30,7 @@ copyright holder.
import sys
from qt import SIGNAL
-from tdecore import TDEApplication, TDECmdLineArgs, KAboutData
+from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import KMainWindow
class MainWin (KMainWindow):
@@ -42,8 +42,8 @@ class MainWin (KMainWindow):
description = "A basic application template"
version = "1.0"
-aboutData = KAboutData ("", "",\
- version, description, KAboutData.License_GPL,\
+aboutData = TDEAboutData ("", "",\
+ version, description, TDEAboutData.License_GPL,\
"(C) 2003 whoever the author is")
aboutData.addAuthor ("author1", "whatever they did", "email@somedomain")
diff --git a/templates/basic/menuapp1.py b/templates/basic/menuapp1.py
index 7809cef..6bd548e 100644
--- a/templates/basic/menuapp1.py
+++ b/templates/basic/menuapp1.py
@@ -44,7 +44,7 @@ import sys
from qt import TQPopupMenu, SIGNAL
-from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader
+from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KStdAccel, KIcon, KIconLoader
from tdeui import KMainWindow, KMessageBox
TOOLBAR_NEW = 1
@@ -177,8 +177,8 @@ class MainWin (KMainWindow):
description = "A basic application template"
version = "1.0"
-aboutData = KAboutData ("", "",\
- version, description, KAboutData.License_GPL,\
+aboutData = TDEAboutData ("", "",\
+ version, description, TDEAboutData.License_GPL,\
"(C) 2003 whoever the author is")
aboutData.addAuthor ("author1", "whatever they did", "email@somedomain")
diff --git a/templates/basic/menuapp2.py b/templates/basic/menuapp2.py
index f765692..1f68d59 100644
--- a/templates/basic/menuapp2.py
+++ b/templates/basic/menuapp2.py
@@ -43,7 +43,7 @@ import sys
from qt import TQPopupMenu, SIGNAL
-from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KShortcut
+from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KShortcut
from tdeui import KMainWindow, KMessageBox, KStdAction, KAction
STATUSBAR_LEFT = 1
@@ -183,8 +183,8 @@ class MainWin (KMainWindow):
description = "A basic application template"
version = "1.0"
-aboutData = KAboutData ("", "",\
- version, description, KAboutData.License_GPL,\
+aboutData = TDEAboutData ("", "",\
+ version, description, TDEAboutData.License_GPL,\
"(C) 2003 whoever the author is")
aboutData.addAuthor ("author1", "whatever they did", "email@somedomain")
diff --git a/templates/basic/menuapp3.py b/templates/basic/menuapp3.py
index 9051661..cd46f81 100644
--- a/templates/basic/menuapp3.py
+++ b/templates/basic/menuapp3.py
@@ -43,7 +43,7 @@ import sys
from qt import TQPopupMenu, SIGNAL
-from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KShortcut
+from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KShortcut
from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KActionCollection
STATUSBAR_LEFT = 1
@@ -144,8 +144,8 @@ class MainWin (KMainWindow):
description = "A basic application template"
version = "1.0"
-aboutData = KAboutData ("menuapp3", "",\
- version, description, KAboutData.License_GPL,\
+aboutData = TDEAboutData ("menuapp3", "",\
+ version, description, TDEAboutData.License_GPL,\
"(C) 2003 whoever the author is")
aboutData.addAuthor ("author1", "whatever they did", "email@somedomain")