Update after renaming qt => tqt in PyTQt module.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/7/head
Slávek Banko 1 year ago
parent 79ced6fbbd
commit cddd660ca4
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -37,9 +37,9 @@ except:
sys.exit (-1) sys.exit (-1)
try: try:
from PyTQt import pyqtconfig from PyTQt import pytqtconfig
except: except:
sip_tqt_config.error ("Can't find pyqtconfig.py in sys.path - exiting") sip_tqt_config.error ("Can't find pytqtconfig.py in sys.path - exiting")
topsrcdir = os.path.dirname(os.path.abspath(__file__)) topsrcdir = os.path.dirname(os.path.abspath(__file__))
has_objdir = topsrcdir != os.path.abspath(os.path.curdir) has_objdir = topsrcdir != os.path.abspath(os.path.curdir)
@ -63,7 +63,7 @@ def srcPath(filename):
# Get the SIP-TQt configuration. # Get the SIP-TQt configuration.
sipcfg = sip_tqt_config.Configuration() sipcfg = sip_tqt_config.Configuration()
pyqtcfg = pyqtconfig.Configuration () pytqtcfg = pytqtconfig.Configuration ()
# Initialise the globals. # Initialise the globals.
pytde_version = 0x031006 pytde_version = 0x031006
@ -75,8 +75,8 @@ kde_version_extra = None
kde_max_version = 0x030503 kde_max_version = 0x030503
sip_min_v4_version = 0x040900 sip_min_v4_version = 0x040900
qt_min_version = 0x030200 tqt_min_version = 0x030200
pyqt_min_version = 0x031000 pytqt_min_version = 0x031000
kde_sip_flags = [] kde_sip_flags = []
@ -100,22 +100,22 @@ pytde_modules = ["dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources
"tdehtml", "tdespell", "tdeprint", "tdemdi"] #, "tdespell2"] "tdehtml", "tdespell", "tdeprint", "tdemdi"] #, "tdespell2"]
pytde_imports = { pytde_imports = {
"dcop": ["PyTQt.qt"], "dcop": ["PyTQt.tqt"],
"tdecore": ["PyTQt.qt", "dcop"], "tdecore": ["PyTQt.tqt", "dcop"],
# "tdesu": ["PyTQt.qt", "dcop", "tdecore"], # "tdesu": ["PyTQt.tqt", "dcop", "tdecore"],
"tdefx": ["PyTQt.qt", "dcop", "tdecore"], "tdefx": ["PyTQt.tqt", "dcop", "tdecore"],
"tdeui": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx"], "tdeui": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx"],
"tdeio": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"], "tdeio": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui"],
"tderesources": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"], "tderesources": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdeabc": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"], "tdeabc": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"],
"tdeutils": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"], "tdeutils": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdefile": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"], "tdefile": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdeparts": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"], "tdeparts": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdehtml": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"], "tdehtml": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"],
"tdespell": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"], "tdespell": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"],
"tdeprint": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"], "tdeprint": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui"],
"tdemdi": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"], "tdemdi": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"],
"tdespell2": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"] "tdespell2": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui"]
} }
kde_includes = { kde_includes = {
@ -202,20 +202,20 @@ def init_and_check_sanity ():
sipcfg.error("This version of PyKDE requires SIP-TQt v%s or later" % sipcfg.version_to_string(minv)) sipcfg.error("This version of PyKDE requires SIP-TQt v%s or later" % sipcfg.version_to_string(minv))
# Check SIP-TQt has TQt support enabled and check version # Check SIP-TQt has TQt support enabled and check version
if pyqtcfg.qt_version == 0: if pytqtcfg.tqt_version == 0:
sip_tqt_config.error("SIP-TQt has been built with TQt support disabled.") sip_tqt_config.error("SIP-TQt has been built with TQt support disabled.")
if pyqtcfg.qt_version < qt_min_version: if pytqtcfg.tqt_version < tqt_min_version:
sip_tqt_config.error("SIP-TQt has been built with an unsupported TQt version (%s)"\ sip_tqt_config.error("SIP-TQt has been built with an unsupported TQt version (%s)"\
% sipcfg.version_to_string (sipcfg.qt_version)) % sipcfg.version_to_string (sipcfg.tqt_version))
# Check PyTQt built with libtqt-mt # Check PyTQt built with libtqt-mt
if pyqtcfg.qt_threaded == 0: if pytqtcfg.tqt_threaded == 0:
sip_tqt_config.error ("PyKDE requires a threaded TQt version (libtqt-mt)") sip_tqt_config.error ("PyKDE requires a threaded TQt version (libtqt-mt)")
# Check PyTQt version # Check PyTQt version
if pyqtcfg.pyqt_version < pyqt_min_version: if pytqtcfg.pytqt_version < pytqt_min_version:
sipcfg.error("This version of PyKDE requires PyTQt v%s or later"\ sipcfg.error("This version of PyKDE requires PyTQt v%s or later"\
% pyqtcfg.version_to_string(pyqtcfg.pyqt_version)) % pytqtcfg.version_to_string(pytqtcfg.pytqt_version))
# find the libs, includes, and version info # find the libs, includes, and version info
check_kde_installation () check_kde_installation ()
@ -262,12 +262,12 @@ def inform_user(stage):
sip_tqt_config.inform ("sip-tqt version is %s (%s)" % (sipcfg.sip_version_str, sip_tqt_config.inform ("sip-tqt version is %s (%s)" % (sipcfg.sip_version_str,
sip_tqt_config.version_to_string (sipcfg.sip_version))) sip_tqt_config.version_to_string (sipcfg.sip_version)))
print() print()
sip_tqt_config.inform ("TQt directory is %s" % pyqtcfg.qt_dir) sip_tqt_config.inform ("TQt directory is %s" % pytqtcfg.tqt_dir)
sip_tqt_config.inform ("TQt version is %s" % sip_tqt_config.version_to_string (pyqtcfg.qt_version)) sip_tqt_config.inform ("TQt version is %s" % sip_tqt_config.version_to_string (pytqtcfg.tqt_version))
print() print()
sip_tqt_config.inform ("PyTQt directory is %s" % pyqtcfg.pyqt_sip_dir) sip_tqt_config.inform ("PyTQt directory is %s" % pytqtcfg.pytqt_sip_dir)
sip_tqt_config.inform ("PyTQt version is %s (%s)" % (pyqtcfg.pyqt_version_str, sip_tqt_config.inform ("PyTQt version is %s (%s)" % (pytqtcfg.pytqt_version_str,
sip_tqt_config.version_to_string (pyqtcfg.pyqt_version))) sip_tqt_config.version_to_string (pytqtcfg.pytqt_version)))
print() print()
elif stage == 1: elif stage == 1:
@ -524,7 +524,7 @@ def set_sip_flags():
check_distribution () check_distribution ()
kde_sip_flags.append (pyqtcfg.pyqt_qt_sip_flags) kde_sip_flags.append (pytqtcfg.pytqt_tqt_sip_flags)
kdetags = { kdetags = {
0x030001: "KDE_3_0_0", 0x030001: "KDE_3_0_0",
@ -622,12 +622,12 @@ def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, e
argv.append("-I") argv.append("-I")
argv.append(srcPath("sip")) argv.append(srcPath("sip"))
pyqtInclPathSeen = 0 pytqtInclPathSeen = 0
for mod in pytde_imports [mname]: for mod in pytde_imports [mname]:
if mod.find("PyTQt.q") == 0 and not pyqtInclPathSeen: if mod.find("PyTQt.tq") == 0 and not pytqtInclPathSeen:
argv.append ("-I") argv.append ("-I")
argv.append (pyqtcfg.pyqt_sip_dir) argv.append (pytqtcfg.pytqt_sip_dir)
pyqtInclPathSeen = 1 pytqtInclPathSeen = 1
elif mod == "dcop" or mod.find("k") == 0 or mod.find("tde") == 0: elif mod == "dcop" or mod.find("k") == 0 or mod.find("tde") == 0:
subdir = os.path.join(srcPath("sip"), mod) subdir = os.path.join(srcPath("sip"), mod)
@ -697,12 +697,12 @@ def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, e
installs.append([sipfiles, os.path.join(opt_pytdesipdir, mname)]) installs.append([sipfiles, os.path.join(opt_pytdesipdir, mname)])
makefile = sip_tqt_config.SIPModuleMakefile( makefile = sip_tqt_config.SIPModuleMakefile(
configuration = pyqtcfg, configuration = pytqtcfg,
build_file = mname + ".sbf", build_file = mname + ".sbf",
dir = mname, dir = mname,
install_dir = opt_pytdemoddir, install_dir = opt_pytdemoddir,
installs = installs, installs = installs,
qt = 1, tqt = 1,
opengl = opengl, opengl = opengl,
warnings = warnings, warnings = warnings,
static = opt_static, static = opt_static,
@ -787,7 +787,7 @@ def create_makefiles():
sip_tqt_config.inform("Creating top level Makefile...") sip_tqt_config.inform("Creating top level Makefile...")
sip_tqt_config.ParentMakefile( sip_tqt_config.ParentMakefile(
configuration = pyqtcfg, configuration = pytqtcfg,
subdirs = subdirs, subdirs = subdirs,
installs= [("pytdeconfig.py", opt_pytdemoddir), (srcPath("contrib/tdepyuic"), opt_tdebasedir + "/bin")] installs= [("pytdeconfig.py", opt_pytdemoddir), (srcPath("contrib/tdepyuic"), opt_tdebasedir + "/bin")]
).generate() ).generate()

@ -134,7 +134,7 @@ def doPyuic ():
buff = m.readlines () buff = m.readlines ()
for line in buff: for line in buff:
if addImport and (line.strip() == 'from PyTQt.qt import *'): if addImport and (line.strip() == 'from PyTQt.tqt import *'):
n.write (line) n.write (line)
addimport (n) addimport (n)
elif addApp and (line.strip() == 'a = TQApplication(sys.argv)'): elif addApp and (line.strip() == 'a = TQApplication(sys.argv)'):

@ -37,7 +37,7 @@ sip must be installed. sip is the bindings code generator and run-time lib for P
<dt>PyTQt</dt> <dt>PyTQt</dt>
<dd> <dd>
PyTQt must be installed Just as KDE depends on TQt, PyKDE depends on PyTQt. If you don't already have PyTQt must be installed Just as KDE depends on TQt, PyKDE depends on PyTQt. If you don't already have
PyTQt installed, you can get it <a href="http://www.riverbankcomputing.co.uk/pyqt/download.php">here</a></dd> PyTQt installed, you can get it <a href="http://www.riverbankcomputing.co.uk/pytqt/download.php">here</a></dd>
</dl> </dl>
<p> <p>
<b>NOTE: sip, PyTQt, and PyKDE must be compatible versions (the PyKDE build script will test <b>NOTE: sip, PyTQt, and PyKDE must be compatible versions (the PyKDE build script will test
@ -55,7 +55,7 @@ These files only work with KDE and TQt 3.x.x - they don't work with TQt4 or the
<h4>If PyTQt was installed from an RPM ---</h4> <h4>If PyTQt was installed from an RPM ---</h4>
<p> <p>
If you have installed sip and PyTQt from binaries, to build PyKDE you <b>must</b> have If you have installed sip and PyTQt from binaries, to build PyKDE you <b>must</b> have
the sipconfig.py and pyqtconfig.py files (suitable for your environment) installed. These the sipconfig.py and pytqtconfig.py files (suitable for your environment) installed. These
are in the same location as the PyTQt files (usually python/site-packages). These config are in the same location as the PyTQt files (usually python/site-packages). These config
files are generated automatically if you build/compile sip and PyTQt from source. files are generated automatically if you build/compile sip and PyTQt from source.
</p> </p>

@ -34,7 +34,7 @@ copyright holder.
# which was written by Torben Weis and Julian Rockey # which was written by Torben Weis and Julian Rockey
import sys import sys
from PyTQt.qt import TQString, TQStringList from PyTQt.tqt import TQString, TQStringList
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from dcopexport import DCOPExObj from dcopexport import DCOPExObj
@ -94,11 +94,11 @@ class DeadParrotObject (DCOPExObj):
"a stiff", "bereft of life", "rests in peace", "metabolic processes are now history", "a stiff", "bereft of life", "rests in peace", "metabolic processes are now history",
"off the twig", "kicked the bucket", "shuffled off his mortal coil", "off the twig", "kicked the bucket", "shuffled off his mortal coil",
"run down his curtain", "joined the bleedin' choir invisible", "THIS IS AN EX-PARROT"] "run down his curtain", "joined the bleedin' choir invisible", "THIS IS AN EX-PARROT"]
qadjList = TQStringList () tqadjList = TQStringList ()
for adj in adjList: for adj in adjList:
qadjList.append (adj) tqadjList.append (adj)
return qadjList return tqadjList
description = b"DCOP server template" description = b"DCOP server template"

@ -28,15 +28,15 @@ copyright holder.
""" """
import sys, time import sys, time
from PyTQt.qt import TQString, TQCString from PyTQt.tqt import TQString, TQCString
import dcop import dcop
import dcopext import dcopext
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
def getAnyApplication (client, appName): def getAnyApplication (client, appName):
for qcstring_app in client.registeredApplications (): for tqcstring_app in client.registeredApplications ():
app = str (qcstring_app) app = str (tqcstring_app)
if app == appName or app.startswith (appName + "-"): if app == appName or app.startswith (appName + "-"):
print(app) print(app)
print() print()

@ -37,7 +37,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet from PyTQt.tqt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\ from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\

@ -37,7 +37,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQWidget, TQButtonGroup, TQt, TQLabel, TQListView, TQListViewItem from PyTQt.tqt import TQWidget, TQButtonGroup, TQt, TQLabel, TQListView, TQListViewItem
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, KURL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, KURL
from tdeui import TDEMainWindow, KTabCtl, TDEListBox from tdeui import TDEMainWindow, KTabCtl, TDEListBox

@ -43,7 +43,7 @@ lifted from the TDE classref.
# If you import more classes, don't forget to add them here (some of these # If you import more classes, don't forget to add them here (some of these
# are extras/not used) # are extras/not used)
from PyTQt.qt import TQString, TQStringList from PyTQt.tqt import TQString, TQStringList
from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, TDEAboutData, BarIcon, KLibLoader from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, TDEAboutData, BarIcon, KLibLoader
from tdeui import TDEMainWindow, KMessageBox, TDEAction, KStdAction, KKeyDialog, KEditToolbar from tdeui import TDEMainWindow, KMessageBox, TDEAction, KStdAction, KKeyDialog, KEditToolbar
from tdeio import TDETrader from tdeio import TDETrader
@ -135,14 +135,14 @@ class pyPartsMW (KParts.MainWindow):
res = KMessageBox.warningYesNoCancel(self,\ res = KMessageBox.warningYesNoCancel(self,\
i18n("<qt>Save changes to Document?<br/>(Does not make sense, we know, but it is just a programming example :-)</qt>")) i18n("<qt>Save changes to Document?<br/>(Does not make sense, we know, but it is just a programming example :-)</qt>"))
if res == KMessageBox.Yes: if res == KMessageBox.Yes:
#// save document here. If saving fails, return False #// save document here. If saving fails, return False
return True return True
elif res == KMessageBox.No: elif res == KMessageBox.No:
return True return True
else: #// cancel else: #// cancel
return False return False
def queryExit(self): def queryExit(self):
#// this slot is invoked in addition when the *last* window is going #// this slot is invoked in addition when the *last* window is going

@ -4,7 +4,7 @@ iconName = 'about_kde'
helpText = """TDE provides a large set of basic widgets for application use. helpText = """TDE provides a large set of basic widgets for application use.
Select the children of this item to see for yourself.""" Select the children of this item to see for yourself."""
from PyTQt.qt import TQFrame, TQVBoxLayout from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit from tdeui import KTextEdit

@ -1,5 +1,5 @@
from PyTQt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt from PyTQt.tqt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt
from PyTQt.qttable import TQTable from PyTQt.tqttable import TQTable
from tdeui import KTextEdit, KDatePicker, KDateWidget from tdeui import KTextEdit, KDatePicker, KDateWidget

@ -1,4 +1,4 @@
from PyTQt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQStringList, TQLabel, \ from PyTQt.tqt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQStringList, TQLabel, \
SIGNAL, SLOT SIGNAL, SLOT
from tdeui import KHistoryCombo, KTextEdit from tdeui import KHistoryCombo, KTextEdit

@ -6,7 +6,7 @@ helpText = ("TDE provides a convenient set of dialog boxes for application use.
"Select the children of this item to see for yourself.") "Select the children of this item to see for yourself.")
from PyTQt.qt import TQFrame, TQVBoxLayout from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit from tdeui import KTextEdit

@ -5,7 +5,7 @@ helpText = ("TDE has multiple dialog types to display information about your "
"applicaiton and environment. They provide a tremendous amount of functionality " "applicaiton and environment. They provide a tremendous amount of functionality "
"and consistency. They're easy to use, and they're good for the environment!") "and consistency. They're easy to use, and they're good for the environment!")
from PyTQt.qt import TQFrame, TQVBoxLayout from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit from tdeui import KTextEdit
class MainFrame(TQFrame): class MainFrame(TQFrame):

@ -1,7 +1,7 @@
iconName = 'about_kde' iconName = 'about_kde'
labelText = 'TDEAboutApplication' labelText = 'TDEAboutApplication'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import TDEAboutApplication, KPushButton, KTextEdit from tdeui import TDEAboutApplication, KPushButton, KTextEdit

@ -1,7 +1,7 @@
iconName = 'about_kde' iconName = 'about_kde'
labelText = 'TDEAboutTDE' labelText = 'TDEAboutTDE'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import TDEAboutKDE, KPushButton, KTextEdit from tdeui import TDEAboutKDE, KPushButton, KTextEdit

@ -6,7 +6,7 @@ labelText = 'KBugReport'
##~ specifies what we want. ##~ specifies what we want.
##~ docItemName = 'KBugReport' ##~ docItemName = 'KBugReport'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit

@ -2,7 +2,7 @@ iconName = 'colorize'
labelText = 'KColorDialog' labelText = 'KColorDialog'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KColorDialog, KColorPatch, KTextEdit from tdeui import KPushButton, KColorDialog, KColorPatch, KTextEdit

@ -1,5 +1,5 @@
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString
from tdecore import i18n, TDEConfigSkeleton from tdecore import i18n, TDEConfigSkeleton
from tdeui import KPushButton, TDEConfigDialog, KTextEdit from tdeui import KPushButton, TDEConfigDialog, KTextEdit

@ -1,5 +1,5 @@
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KEdFind, KTextEdit from tdeui import KPushButton, KEdFind, KTextEdit

@ -1,4 +1,4 @@
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KEdReplace, KTextEdit from tdeui import KPushButton, KEdReplace, KTextEdit

@ -1,5 +1,5 @@
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, TDEFontDialog, KTextEdit from tdeui import KPushButton, TDEFontDialog, KTextEdit

@ -1,7 +1,7 @@
iconName = 'editclear' iconName = 'editclear'
labelText = 'KInputDialog' labelText = 'KInputDialog'
from PyTQt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL from PyTQt.tqt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KInputDialog, KTextEdit from tdeui import KPushButton, KInputDialog, KTextEdit

@ -1,7 +1,7 @@
iconName = 'configure_shortcuts' iconName = 'configure_shortcuts'
labelText = 'KKeyDialog' labelText = 'KKeyDialog'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KKeyDialog, KTextEdit from tdeui import KPushButton, KKeyDialog, KTextEdit

@ -5,7 +5,7 @@ from random import random
from traceback import print_exc from traceback import print_exc
from io import StringIO from io import StringIO
from PyTQt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL from PyTQt.tqt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import KGuiItem, KPushButton, KMessageBox, KTextEdit from tdeui import KGuiItem, KPushButton, KMessageBox, KTextEdit

@ -1,4 +1,4 @@
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KPasswordDialog, KTextEdit from tdeui import KPushButton, KPasswordDialog, KTextEdit

@ -2,7 +2,7 @@ iconName = 'go'
labelText = 'KProgressDialog' labelText = 'KProgressDialog'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KProgressDialog, KTextEdit from tdeui import KPushButton, KProgressDialog, KTextEdit

@ -3,7 +3,7 @@ labelText = 'KTipDialog'
import os import os
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KTipDatabase, KTipDialog, KTextEdit from tdeui import KPushButton, KTipDatabase, KTipDialog, KTextEdit

@ -6,7 +6,7 @@ helpText = ("TDE icons are nice. "
"Select the children of this item to see for yourself.") "Select the children of this item to see for yourself.")
from PyTQt.qt import TQFrame, TQVBoxLayout from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit from tdeui import KTextEdit

@ -3,7 +3,7 @@ iconName = 'icons'
labelText = 'Misc.' labelText = 'Misc.'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint
from tdecore import i18n from tdecore import i18n
from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit
from tdeui import KRootPermsIcon, KWritePermsIcon from tdeui import KRootPermsIcon, KWritePermsIcon

@ -3,7 +3,7 @@ iconName = 'icons'
labelText = 'Icon Sizing' labelText = 'Icon Sizing'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n from tdecore import i18n
from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit

@ -4,7 +4,7 @@ iconName = 'misc'
helpText = ("") helpText = ("")
from PyTQt.qt import TQFrame, TQVBoxLayout from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit from tdeui import KTextEdit

@ -1,4 +1,4 @@
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel
from tdecore import i18n from tdecore import i18n
from tdeui import KPushButton, KGradientSelector, KTextEdit, KDualColorButton, KColorPatch from tdeui import KPushButton, KGradientSelector, KTextEdit, KDualColorButton, KColorPatch

@ -1,4 +1,4 @@
from PyTQt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL from PyTQt.tqt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL
from tdeui import KPassivePopup, KTextEdit, KPushButton from tdeui import KPassivePopup, KTextEdit, KPushButton
from tdecore import TDEGlobal, TDEIcon from tdecore import TDEGlobal, TDEIcon

@ -1,7 +1,7 @@
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdeui import KWindowInfo, KPushButton, KTextEdit from tdeui import KWindowInfo, KPushButton, KTextEdit
from tdecore import i18n, TDEApplication from tdecore import i18n, TDEApplication

@ -4,7 +4,7 @@ iconName = 'designer'
helpText = """TQt provides a rich set of widgets for application use. helpText = """TQt provides a rich set of widgets for application use.
Select the children of this item to see for yourself.""" Select the children of this item to see for yourself."""
from PyTQt.qt import TQFrame, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQVBoxLayout, SIGNAL
from tdeui import KTextEdit from tdeui import KTextEdit

@ -8,8 +8,8 @@ editable table widget.'
import csv import csv
import os import os
from PyTQt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL from PyTQt.tqt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL
from PyTQt.qttable import TQTable from PyTQt.tqttable import TQTable
from tdeui import KTextEdit from tdeui import KTextEdit

@ -3,7 +3,7 @@
""" """
import sys import sys
from PyTQt.qt import TQVBoxLayout from PyTQt.tqt import TQVBoxLayout
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import TDEMainWindow from tdeui import TDEMainWindow

@ -10,9 +10,9 @@ import inspect
import os import os
import sys import sys
from PyTQt.qt import SIGNAL, SLOT, PYSIGNAL, TQt from PyTQt.tqt import SIGNAL, SLOT, PYSIGNAL, TQt
from PyTQt.qt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog from PyTQt.tqt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog
from PyTQt.qt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton from PyTQt.tqt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
from tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal from tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal
from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, TDEIcon from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, TDEIcon

@ -4,7 +4,7 @@ iconName = 'kcmx'
helpText = """TDE and PyTDE allow interaction with the X Window system. Check helpText = """TDE and PyTDE allow interaction with the X Window system. Check
out the nifty samples below.""" out the nifty samples below."""
from PyTQt.qt import TQFrame, TQLabel, TQVBoxLayout from PyTQt.tqt import TQFrame, TQLabel, TQVBoxLayout
class MainFrame(TQFrame): class MainFrame(TQFrame):
def __init__(self, parent=None): def __init__(self, parent=None):

@ -8,7 +8,7 @@
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyTQt.qt import * from PyTQt.tqt import *
class QXEmbedExample(TQWidget): class QXEmbedExample(TQWidget):

@ -29,7 +29,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQLabel from PyTQt.tqt import TQLabel
from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEIcon, TDEIconLoader from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEIcon, TDEIconLoader
from tdeui import TDEMainWindow, KSystemTray from tdeui import TDEMainWindow, KSystemTray

@ -1,4 +1,4 @@
from PyTQt.qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\ from PyTQt.tqt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\
TQRadioButton, TQt, TQWidget TQRadioButton, TQt, TQWidget
from tdecore import TDEAccel, i18n from tdecore import TDEAccel, i18n

@ -1,6 +1,6 @@
import os import os
from PyTQt.qt import TQLabel from PyTQt.tqt import TQLabel
from tdecore import TDEApplication from tdecore import TDEApplication

@ -1,6 +1,6 @@
import os, time import os, time
from PyTQt.qt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator from PyTQt.tqt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator
from tdeui import KMessageBox, KDateValidator, KFloatValidator, KIntValidator, KLineEdit, KLed from tdeui import KMessageBox, KDateValidator, KFloatValidator, KIntValidator, KLineEdit, KLed

@ -1,6 +1,6 @@
import time, sys import time, sys
from PyTQt.qt import TQLabel, TQFrame, TQColor, TQPushButton, SIGNAL, TQButtonGroup, TQRadioButton, \ from PyTQt.tqt import TQLabel, TQFrame, TQColor, TQPushButton, SIGNAL, TQButtonGroup, TQRadioButton, \
TQt, TQString, TQChar, TQWidget, TQTimer TQt, TQString, TQChar, TQWidget, TQTimer
from tdecore import TDEApplication from tdecore import TDEApplication

@ -1,6 +1,6 @@
import os import os
from PyTQt.qt import TQLabel from PyTQt.tqt import TQLabel
from tdecore import TDEApplication from tdecore import TDEApplication

@ -4,7 +4,7 @@
""" """
import sys import sys
from PyTQt.qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT from PyTQt.tqt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT
from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon
from tdecore import KWin, KWinModule from tdecore import KWin, KWinModule

@ -1,7 +1,7 @@
import sys import sys
sys.path.append ("./uimodules") sys.path.append ("./uimodules")
from PyTQt.qt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt from PyTQt.tqt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import TDEMainWindow, TDEListView from tdeui import TDEMainWindow, TDEListView

@ -28,7 +28,7 @@ All is not rosy, however:
import os import os
import sys import sys
from PyTQt.qt import SIGNAL, TQVBoxLayout, TQLabel from PyTQt.tqt import SIGNAL, TQVBoxLayout, TQLabel
from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, TDEIcon, TDECmdLineArgs from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, TDEIcon, TDECmdLineArgs
from tdeui import KDockWidget, TDEListBox, KStdAction from tdeui import KDockWidget, TDEListBox, KStdAction

@ -37,7 +37,7 @@ copyright holder.
import sys, os import sys, os
from PyTQt.qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet from PyTQt.tqt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut, TDEGlobal from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut, TDEGlobal
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\ from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\

@ -51,7 +51,7 @@ stringTypes lists
from dcop import DCOPObject, DCOPClient from dcop import DCOPObject, DCOPClient
from tdecore import dcop_add, dcop_next from tdecore import dcop_add, dcop_next
from PyTQt.qt import TQString, TQCString, TQDataStream, IO_ReadOnly, IO_WriteOnly from PyTQt.tqt import TQString, TQCString, TQDataStream, IO_ReadOnly, IO_WriteOnly
numericTypes = ["char", "bool", "short", "int", "long", "uchar", "ushort", "uint", "ulong", numericTypes = ["char", "bool", "short", "int", "long", "uchar", "ushort", "uint", "ulong",
"unsigned char", "unsigned short", "unsigned int", "unsigned long", "unsigned char", "unsigned short", "unsigned int", "unsigned long",
@ -72,7 +72,7 @@ class DCOPExObj (DCOPObject):
_meth = DCOPClient.normalizeFunctionSignature(meth).replace (">", "> ") _meth = DCOPClient.normalizeFunctionSignature(meth).replace (">", "> ")
# see if this method is available from us via DCOP # see if this method is available from us via DCOP
# if we don't have it, maybe DCOPObject already provides it (eg - qt object) # if we don't have it, maybe DCOPObject already provides it (eg - tqt object)
if not self.matchMethod (_meth): if not self.matchMethod (_meth):
return DCOPObject.process(self, _meth, data, replyType, replyData); return DCOPObject.process(self, _meth, data, replyType, replyData);

@ -32,7 +32,7 @@ copyright holder.
import re import re
from dcop import DCOPClient from dcop import DCOPClient
from PyTQt.qt import TQString, TQCString, TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly from PyTQt.tqt import TQString, TQCString, TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly
from tdecore import dcop_add, dcop_next from tdecore import dcop_add, dcop_next
# XXX: 64 bit integers might be handeld wrong! pythons int is AFAIK 32 bit, # XXX: 64 bit integers might be handeld wrong! pythons int is AFAIK 32 bit,
@ -690,7 +690,7 @@ class DCOPMeth(object):
# XXX: # XXX:
# Is 'isinstance(arg, eval(argtype))' really good? # Is 'isinstance(arg, eval(argtype))' really good?
# What if 'argtype' is located in some modul? Like 'qt.TQString'. # What if 'argtype' is located in some modul? Like 'tqt.TQString'.
# Then this will fail (but it should not!). # Then this will fail (but it should not!).
# And the worst thing: the eval() will raise a NameError! # And the worst thing: the eval() will raise a NameError!
# #

@ -324,7 +324,7 @@ def appQuit (filelist):
tmp.write (buff [i]) tmp.write (buff [i])
i = i + 1 i = i + 1
tmp.write (buff [i] + "\nfrom PyTQt.qt import TQCloseEvent") tmp.write (buff [i] + "\nfrom PyTQt.tqt import TQCloseEvent")
i = i + 1 i = i + 1
while (i < nLines) and (buff[i].find("class TDEApplication") < 0): while (i < nLines) and (buff[i].find("class TDEApplication") < 0):

@ -23,7 +23,7 @@
import sip_tqt_config import sip_tqt_config
from PyTQt import pyqtconfig from PyTQt import pytqtconfig
# These are installation specific values created when PyTQt was configured. # These are installation specific values created when PyTQt was configured.
@ -48,7 +48,7 @@ _pkg_config = {
_default_macros = None _default_macros = None
class Configuration(pyqtconfig.Configuration): class Configuration(pytqtconfig.Configuration):
"""The class that represents PyTQt configuration values. """The class that represents PyTQt configuration values.
""" """
def __init__(self, sub_cfg=None): def __init__(self, sub_cfg=None):
@ -64,10 +64,10 @@ class Configuration(pyqtconfig.Configuration):
cfg.append(_pkg_config) cfg.append(_pkg_config)
pyqtconfig.Configuration.__init__(self, cfg) pytqtconfig.Configuration.__init__(self, cfg)
class DCOPModuleMakefile(pyqtconfig.TQtModuleMakefile): class DCOPModuleMakefile(pytqtconfig.TQtModuleMakefile):
"""The Makefile class for modules that %Import DCOP. """The Makefile class for modules that %Import DCOP.
""" """
def finalise(self): def finalise(self):
@ -80,7 +80,7 @@ class DCOPModuleMakefile(pyqtconfig.TQtModuleMakefile):
self.LIBDIR.append(self.config.pytde_lib_dir) self.LIBDIR.append(self.config.pytde_lib_dir)
self.extra_libs.append(self.module_as_lib("DCOP")) self.extra_libs.append(self.module_as_lib("DCOP"))
pyqtconfig.TQtModuleMakefile.finalise(self) pytqtconfig.TQtModuleMakefile.finalise(self)
class KdecoreModuleMakefile(DCOPModuleMakefile): class KdecoreModuleMakefile(DCOPModuleMakefile):
"""The Makefile class for modules that %Import tdecore. """The Makefile class for modules that %Import tdecore.
@ -91,7 +91,7 @@ class KdecoreModuleMakefile(DCOPModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdecore")) self.extra_libs.append(self.module_as_lib("tdecore"))
DCOPModuleMakefile.finalise(self) DCOPModuleMakefile.finalise(self)
@ -105,7 +105,7 @@ class KdesuModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdesu")) self.extra_libs.append(self.module_as_lib("tdesu"))
KdecoreModuleMakefile.finalise(self) KdecoreModuleMakefile.finalise(self)
@ -119,7 +119,7 @@ class KdefxModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdefx")) self.extra_libs.append(self.module_as_lib("tdefx"))
KdecoreModuleMakefile.finalise(self) KdecoreModuleMakefile.finalise(self)
@ -133,11 +133,11 @@ class KdeuiModuleMakefile(KdefxModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeui")) self.extra_libs.append(self.module_as_lib("tdeui"))
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtxml")) self.extra_libs.append(self.module_as_lib("tqtxml"))
KdefxModuleMakefile.finalise(self) KdefxModuleMakefile.finalise(self)
@ -150,7 +150,7 @@ class KioModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeio")) self.extra_libs.append(self.module_as_lib("tdeio"))
KdeuiModuleMakefile.finalise(self) KdeuiModuleMakefile.finalise(self)
@ -164,7 +164,7 @@ class KfileModuleMakefile(KioModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdefile")) self.extra_libs.append(self.module_as_lib("tdefile"))
KioModuleMakefile.finalise(self) KioModuleMakefile.finalise(self)
@ -178,7 +178,7 @@ class KpartsModuleMakefile(KfileModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeparts")) self.extra_libs.append(self.module_as_lib("tdeparts"))
KfileModuleMakefile.finalise(self) KfileModuleMakefile.finalise(self)
@ -192,7 +192,7 @@ class KhtmlModuleMakefile(KpartsModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdehtml")) self.extra_libs.append(self.module_as_lib("tdehtml"))
KpartsModuleMakefile.finalise(self) KpartsModuleMakefile.finalise(self)
@ -206,7 +206,7 @@ class KjsModuleMakefile(KhtmlModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("kjs")) self.extra_libs.append(self.module_as_lib("kjs"))
KjsModuleMakefile.finalise(self) KjsModuleMakefile.finalise(self)
@ -220,7 +220,7 @@ class KdeprintModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeprint")) self.extra_libs.append(self.module_as_lib("tdeprint"))
KdeuiModuleMakefile.finalise(self) KdeuiModuleMakefile.finalise(self)

@ -23,14 +23,14 @@
import sip_tqt_config import sip_tqt_config
from PyTQt import pyqtconfig from PyTQt import pytqtconfig
# These are installation specific values created when PyTQt was configured. # These are installation specific values created when PyTQt was configured.
# @SIP_CONFIGURATION@ # @SIP_CONFIGURATION@
class Configuration(pyqtconfig.Configuration): class Configuration(pytqtconfig.Configuration):
"""The class that represents PyTQt configuration values. """The class that represents PyTQt configuration values.
""" """
def __init__(self, sub_cfg=None): def __init__(self, sub_cfg=None):
@ -46,10 +46,10 @@ class Configuration(pyqtconfig.Configuration):
cfg.append(_pkg_config) cfg.append(_pkg_config)
pyqtconfig.Configuration.__init__(self, cfg) pytqtconfig.Configuration.__init__(self, cfg)
class DCOPModuleMakefile(pyqtconfig.TQtModuleMakefile): class DCOPModuleMakefile(pytqtconfig.TQtModuleMakefile):
"""The Makefile class for modules that %Import DCOP. """The Makefile class for modules that %Import DCOP.
""" """
def finalise(self): def finalise(self):
@ -62,7 +62,7 @@ class DCOPModuleMakefile(pyqtconfig.TQtModuleMakefile):
self.LIBDIR.append(self.config.pytde_lib_dir) self.LIBDIR.append(self.config.pytde_lib_dir)
self.extra_libs.append(self.module_as_lib("DCOP")) self.extra_libs.append(self.module_as_lib("DCOP"))
pyqtconfig.TQtModuleMakefile.finalise(self) pytqtconfig.TQtModuleMakefile.finalise(self)
class KdecoreModuleMakefile(DCOPModuleMakefile): class KdecoreModuleMakefile(DCOPModuleMakefile):
"""The Makefile class for modules that %Import tdecore. """The Makefile class for modules that %Import tdecore.
@ -73,7 +73,7 @@ class KdecoreModuleMakefile(DCOPModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdecore")) self.extra_libs.append(self.module_as_lib("tdecore"))
DCOPModuleMakefile.finalise(self) DCOPModuleMakefile.finalise(self)
@ -87,7 +87,7 @@ class KdesuModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdesu")) self.extra_libs.append(self.module_as_lib("tdesu"))
KdecoreModuleMakefile.finalise(self) KdecoreModuleMakefile.finalise(self)
@ -101,7 +101,7 @@ class KdefxModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdefx")) self.extra_libs.append(self.module_as_lib("tdefx"))
KdecoreModuleMakefile.finalise(self) KdecoreModuleMakefile.finalise(self)
@ -115,11 +115,11 @@ class KdeuiModuleMakefile(KdefxModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeui")) self.extra_libs.append(self.module_as_lib("tdeui"))
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtxml")) self.extra_libs.append(self.module_as_lib("tqtxml"))
KdefxModuleMakefile.finalise(self) KdefxModuleMakefile.finalise(self)
@ -132,7 +132,7 @@ class KioModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeio")) self.extra_libs.append(self.module_as_lib("tdeio"))
KdeuiModuleMakefile.finalise(self) KdeuiModuleMakefile.finalise(self)
@ -146,7 +146,7 @@ class KfileModuleMakefile(KioModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdefile")) self.extra_libs.append(self.module_as_lib("tdefile"))
KioModuleMakefile.finalise(self) KioModuleMakefile.finalise(self)
@ -160,7 +160,7 @@ class KpartsModuleMakefile(KfileModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeparts")) self.extra_libs.append(self.module_as_lib("tdeparts"))
KfileModuleMakefile.finalise(self) KfileModuleMakefile.finalise(self)
@ -174,7 +174,7 @@ class KhtmlModuleMakefile(KpartsModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdehtml")) self.extra_libs.append(self.module_as_lib("tdehtml"))
KpartsModuleMakefile.finalise(self) KpartsModuleMakefile.finalise(self)
@ -188,7 +188,7 @@ class KjsModuleMakefile(KhtmlModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("kjs")) self.extra_libs.append(self.module_as_lib("kjs"))
KjsModuleMakefile.finalise(self) KjsModuleMakefile.finalise(self)
@ -202,7 +202,7 @@ class KdeprintModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000: if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want # Note that we don't use self.extra_lib_dirs because we don't want
# it to be added to the rpath. # it to be added to the rpath.
self.LIBDIR.append(self.config.pyqt_mod_dir) self.LIBDIR.append(self.config.pytqt_mod_dir)
self.extra_libs.append(self.module_as_lib("tdeprint")) self.extra_libs.append(self.module_as_lib("tdeprint"))
KdeuiModuleMakefile.finalise(self) KdeuiModuleMakefile.finalise(self)

@ -32,7 +32,7 @@
%Platforms { D_MANDRAKE ALL } %Platforms { D_MANDRAKE ALL }
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Include dcopclient.sip %Include dcopclient.sip
%Include dcopobject.sip %Include dcopobject.sip

@ -81,24 +81,24 @@ typedef long off_t;
return 0; return 0;
} }
TQValueList<pid_t> *qvl = new TQValueList<pid_t>; TQValueList<pid_t> *tqvl = new TQValueList<pid_t>;
PyErr_Clear(); PyErr_Clear();
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{ {
qvl -> append((pid_t)PyLong_AsLong(PyList_GET_ITEM(sipPy,i))); tqvl -> append((pid_t)PyLong_AsLong(PyList_GET_ITEM(sipPy,i)));
if (PyErr_Occurred() != NULL) if (PyErr_Occurred() != NULL)
{ {
delete qvl; delete tqvl;
*sipIsErr = 1; *sipIsErr = 1;
return 0; return 0;
} }
} }
*sipCppPtr = qvl; *sipCppPtr = tqvl;
return 1; return 1;
%End %End

@ -28,8 +28,8 @@
%Module tdeabc %Module tdeabc
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,7 +28,7 @@
%Module tdecore %Module tdecore
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Include bytearray.sip %Include bytearray.sip

@ -254,24 +254,24 @@ private:
return 0; return 0;
} }
TQValueList<pid_t> *qvl = new TQValueList<pid_t>; TQValueList<pid_t> *tqvl = new TQValueList<pid_t>;
PyErr_Clear(); PyErr_Clear();
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{ {
qvl -> append((pid_t)PyLong_AsLong(PyList_GET_ITEM(sipPy,i))); tqvl -> append((pid_t)PyLong_AsLong(PyList_GET_ITEM(sipPy,i)));
if (PyErr_Occurred() != NULL) if (PyErr_Occurred() != NULL)
{ {
delete qvl; delete tqvl;
*sipIsErr = 1; *sipIsErr = 1;
return 0; return 0;
} }
} }
*sipCppPtr = qvl; *sipCppPtr = tqvl;
return 1; return 1;
%End %End

@ -28,8 +28,8 @@
%Module tdefile %Module tdefile
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,7 +28,7 @@
%Module tdefx %Module tdefx
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip

@ -28,8 +28,8 @@
%Module tdehtml %Module tdehtml
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,8 +28,8 @@
%Module tdeio %Module tdeio
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -213,8 +213,8 @@ protected:
// Get it. // Get it.
TQDict<TQWidget::FocusPolicy> qdict = *sipCpp; TQDict<TQWidget::FocusPolicy> tqdict = *sipCpp;
TQDictIterator<TQWidget::FocusPolicy> it (qdict); TQDictIterator<TQWidget::FocusPolicy> it (tqdict);
while (it.current ()) while (it.current ())
{ {
@ -241,7 +241,7 @@ protected:
if (sipIsErr == NULL) if (sipIsErr == NULL)
return PyDict_Check(sipPy); return PyDict_Check(sipPy);
TQDict<TQWidget::FocusPolicy>* qdict = new TQDict<TQWidget::FocusPolicy>; TQDict<TQWidget::FocusPolicy>* tqdict = new TQDict<TQWidget::FocusPolicy>;
PyObject *key, *value; PyObject *key, *value;
SIP_SSIZE_T pos = 0; SIP_SSIZE_T pos = 0;
@ -260,18 +260,18 @@ protected:
sipReleaseType(a0, sipType_TQString, a0_state); sipReleaseType(a0, sipType_TQString, a0_state);
*sipIsErr = 1; *sipIsErr = 1;
delete qdict; delete tqdict;
return 0; return 0;
} }
a1 = (TQWidget::FocusPolicy) PyLong_AS_LONG (value); a1 = (TQWidget::FocusPolicy) PyLong_AS_LONG (value);
qdict->insert (*a0, &a1); tqdict->insert (*a0, &a1);
sipReleaseType(a0, sipType_TQString, a0_state); sipReleaseType(a0, sipType_TQString, a0_state);
} }
*sipCppPtr = qdict; *sipCppPtr = tqdict;
return 1; return 1;
%End %End

@ -28,10 +28,10 @@
%Module tdemdi %Module tdemdi
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import tdefxmod.sip %Import tdefxmod.sip
%Import tdeuimod.sip %Import tdeuimod.sip
%Import tdeiomod.sip %Import tdeiomod.sip

@ -28,8 +28,8 @@
%Module tdeparts %Module tdeparts
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,8 +28,8 @@
%Module tdeprint %Module tdeprint
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,8 +28,8 @@
%Module tderesources %Module tderesources
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,8 +28,8 @@
%Module tdespell %Module tdespell
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,8 +28,8 @@
%Module tdespell2 %Module tdespell2
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -199,8 +199,8 @@ typedef TQDict<int> IntDict;
// Get it. // Get it.
TQDict<int> qdict = *sipCpp; TQDict<int> tqdict = *sipCpp;
TQDictIterator<int> it (qdict); TQDictIterator<int> it (tqdict);
while (it.current ()) while (it.current ())
{ {
@ -227,7 +227,7 @@ typedef TQDict<int> IntDict;
if (sipIsErr == NULL) if (sipIsErr == NULL)
return PyDict_Check(sipPy); return PyDict_Check(sipPy);
TQDict<int>* qdict = new TQDict<int>; TQDict<int>* tqdict = new TQDict<int>;
PyObject *key, *value; PyObject *key, *value;
SIP_SSIZE_T pos = 0; SIP_SSIZE_T pos = 0;
@ -246,18 +246,18 @@ typedef TQDict<int> IntDict;
sipReleaseType(a0, sipType_TQString, a0_state); sipReleaseType(a0, sipType_TQString, a0_state);
*sipIsErr = 1; *sipIsErr = 1;
delete qdict; delete tqdict;
return 0; return 0;
} }
a1 = (int) PyLong_AS_LONG (value); a1 = (int) PyLong_AS_LONG (value);
qdict->insert (*a0, &a1); tqdict->insert (*a0, &a1);
sipReleaseType(a0, sipType_TQString, a0_state); sipReleaseType(a0, sipType_TQString, a0_state);
} }
*sipCppPtr = qdict; *sipCppPtr = tqdict;
return 1; return 1;
%End %End

@ -28,8 +28,8 @@
%Module tdeui %Module tdeui
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip

@ -28,10 +28,10 @@
%Module tdeutils %Module tdeutils
%Import qt/qtmod.sip %Import tqt/tqtmod.sip
%Import dcopmod.sip %Import dcopmod.sip
%Import tdecoremod.sip %Import tdecoremod.sip
%Import qtxml/qtxmlmod.sip %Import tqtxml/tqtxmlmod.sip
%Import tdefxmod.sip %Import tdefxmod.sip
%Import tdeuimod.sip %Import tdeuimod.sip
%Import tdeiomod.sip %Import tdeiomod.sip

@ -43,7 +43,7 @@ True = not False
import sys import sys
from PyTQt.qt import TQPopupMenu, SIGNAL from PyTQt.tqt import TQPopupMenu, SIGNAL
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader
from tdeui import TDEMainWindow, KMessageBox from tdeui import TDEMainWindow, KMessageBox

@ -41,7 +41,7 @@ True = not False
import sys import sys
from PyTQt.qt import TQPopupMenu, SIGNAL from PyTQt.tqt import TQPopupMenu, SIGNAL
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction

@ -41,7 +41,7 @@ True = not False
import sys import sys
from PyTQt.qt import TQPopupMenu, SIGNAL from PyTQt.tqt import TQPopupMenu, SIGNAL
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEActionCollection from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEActionCollection

@ -29,7 +29,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQWidget, SIGNAL from PyTQt.tqt import TQWidget, SIGNAL
from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdecore import TDEApplication, TDEIcon, TDEIconLoader
from tdeui import KSystemTray from tdeui import KSystemTray

@ -35,7 +35,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQLabel, TQWidget, SIGNAL from PyTQt.tqt import TQLabel, TQWidget, SIGNAL
from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdecore import TDEApplication, TDEIcon, TDEIconLoader
from tdeui import TDEMainWindow, KSystemTray from tdeui import TDEMainWindow, KSystemTray

@ -29,7 +29,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import SIGNAL from PyTQt.tqt import SIGNAL
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import TDEMainWindow from tdeui import TDEMainWindow

@ -38,7 +38,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQPopupMenu, SIGNAL from PyTQt.tqt import TQPopupMenu, SIGNAL
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader
from tdeui import TDEMainWindow, KMessageBox from tdeui import TDEMainWindow, KMessageBox

@ -37,7 +37,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQPopupMenu, SIGNAL from PyTQt.tqt import TQPopupMenu, SIGNAL
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEShortcut from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEShortcut
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction

@ -41,7 +41,7 @@ True = not False
import sys import sys
from PyTQt.qt import TQPopupMenu, SIGNAL from PyTQt.tqt import TQPopupMenu, SIGNAL
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEShortcut from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEShortcut
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEActionCollection from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEActionCollection

@ -29,7 +29,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQWidget, SIGNAL from PyTQt.tqt import TQWidget, SIGNAL
from tdecore import TDEApplication, TDEIcon, TDEIconLoader, TDEAboutData, TDECmdLineArgs from tdecore import TDEApplication, TDEIcon, TDEIconLoader, TDEAboutData, TDECmdLineArgs
from tdeui import KSystemTray from tdeui import KSystemTray

@ -29,7 +29,7 @@ copyright holder.
import sys import sys
from PyTQt.qt import TQLabel, TQWidget, SIGNAL from PyTQt.tqt import TQLabel, TQWidget, SIGNAL
from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdecore import TDEApplication, TDEIcon, TDEIconLoader
from tdeui import TDEMainWindow, KSystemTray from tdeui import TDEMainWindow, KSystemTray

Loading…
Cancel
Save