Rename KApplication to TDEApplication to avoid conflicts with KDE4

pull/2/head
Timothy Pearson 12 years ago
parent 404f252883
commit a0dcfe4dc3

@ -10,7 +10,7 @@
import sys
from qt import *
from tdecore import KCmdLineArgs, KApplication
from tdecore import KCmdLineArgs, TDEApplication
from tdeui import *
@ -2768,7 +2768,7 @@ if __name__ == "__main__":
version = ""
KCmdLineArgs.init (sys.argv, appname, description, version)
a = KApplication ()
a = TDEApplication ()
QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
w = DesktopEffectsDialog()

@ -46,7 +46,7 @@ class DesktopEffectsKDE(DesktopEffectsDialog, DesktopEffectsCommon):
def __init__(self):
'''launches the app, draws the window '''
app = KApplication (sys.argv, "gd-test")
app = TDEApplication (sys.argv, "gd-test")
DesktopEffectsCommon.__init__(self)
DesktopEffectsDialog.__init__(self)
# bind the locale

Loading…
Cancel
Save