Update after renaming qt => tqt in PyTQt module.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/7/head
Slávek Banko 2 years 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)
try:
from PyTQt import pyqtconfig
from PyTQt import pytqtconfig
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__))
has_objdir = topsrcdir != os.path.abspath(os.path.curdir)
@ -63,7 +63,7 @@ def srcPath(filename):
# Get the SIP-TQt configuration.
sipcfg = sip_tqt_config.Configuration()
pyqtcfg = pyqtconfig.Configuration ()
pytqtcfg = pytqtconfig.Configuration ()
# Initialise the globals.
pytde_version = 0x031006
@ -75,8 +75,8 @@ kde_version_extra = None
kde_max_version = 0x030503
sip_min_v4_version = 0x040900
qt_min_version = 0x030200
pyqt_min_version = 0x031000
tqt_min_version = 0x030200
pytqt_min_version = 0x031000
kde_sip_flags = []
@ -100,22 +100,22 @@ pytde_modules = ["dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources
"tdehtml", "tdespell", "tdeprint", "tdemdi"] #, "tdespell2"]
pytde_imports = {
"dcop": ["PyTQt.qt"],
"tdecore": ["PyTQt.qt", "dcop"],
# "tdesu": ["PyTQt.qt", "dcop", "tdecore"],
"tdefx": ["PyTQt.qt", "dcop", "tdecore"],
"tdeui": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx"],
"tdeio": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
"tderesources": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdeabc": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"],
"tdeutils": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdefile": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdeparts": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdehtml": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"],
"tdespell": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"],
"tdeprint": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
"tdemdi": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"],
"tdespell2": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"]
"dcop": ["PyTQt.tqt"],
"tdecore": ["PyTQt.tqt", "dcop"],
# "tdesu": ["PyTQt.tqt", "dcop", "tdecore"],
"tdefx": ["PyTQt.tqt", "dcop", "tdecore"],
"tdeui": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx"],
"tdeio": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui"],
"tderesources": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdeabc": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"],
"tdeutils": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdefile": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdeparts": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
"tdehtml": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"],
"tdespell": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"],
"tdeprint": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui"],
"tdemdi": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"],
"tdespell2": ["PyTQt.tqt", "PyTQt.tqtxml", "dcop", "tdecore", "tdefx", "tdeui"]
}
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))
# 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.")
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)"\
% sipcfg.version_to_string (sipcfg.qt_version))
% sipcfg.version_to_string (sipcfg.tqt_version))
# 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)")
# 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"\
% pyqtcfg.version_to_string(pyqtcfg.pyqt_version))
% pytqtcfg.version_to_string(pytqtcfg.pytqt_version))
# find the libs, includes, and version info
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.version_to_string (sipcfg.sip_version)))
print()
sip_tqt_config.inform ("TQt directory is %s" % pyqtcfg.qt_dir)
sip_tqt_config.inform ("TQt version is %s" % sip_tqt_config.version_to_string (pyqtcfg.qt_version))
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 (pytqtcfg.tqt_version))
print()
sip_tqt_config.inform ("PyTQt directory is %s" % pyqtcfg.pyqt_sip_dir)
sip_tqt_config.inform ("PyTQt version is %s (%s)" % (pyqtcfg.pyqt_version_str,
sip_tqt_config.version_to_string (pyqtcfg.pyqt_version)))
sip_tqt_config.inform ("PyTQt directory is %s" % pytqtcfg.pytqt_sip_dir)
sip_tqt_config.inform ("PyTQt version is %s (%s)" % (pytqtcfg.pytqt_version_str,
sip_tqt_config.version_to_string (pytqtcfg.pytqt_version)))
print()
elif stage == 1:
@ -524,7 +524,7 @@ def set_sip_flags():
check_distribution ()
kde_sip_flags.append (pyqtcfg.pyqt_qt_sip_flags)
kde_sip_flags.append (pytqtcfg.pytqt_tqt_sip_flags)
kdetags = {
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(srcPath("sip"))
pyqtInclPathSeen = 0
pytqtInclPathSeen = 0
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 (pyqtcfg.pyqt_sip_dir)
pyqtInclPathSeen = 1
argv.append (pytqtcfg.pytqt_sip_dir)
pytqtInclPathSeen = 1
elif mod == "dcop" or mod.find("k") == 0 or mod.find("tde") == 0:
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)])
makefile = sip_tqt_config.SIPModuleMakefile(
configuration = pyqtcfg,
configuration = pytqtcfg,
build_file = mname + ".sbf",
dir = mname,
install_dir = opt_pytdemoddir,
installs = installs,
qt = 1,
tqt = 1,
opengl = opengl,
warnings = warnings,
static = opt_static,
@ -787,7 +787,7 @@ def create_makefiles():
sip_tqt_config.inform("Creating top level Makefile...")
sip_tqt_config.ParentMakefile(
configuration = pyqtcfg,
configuration = pytqtcfg,
subdirs = subdirs,
installs= [("pytdeconfig.py", opt_pytdemoddir), (srcPath("contrib/tdepyuic"), opt_tdebasedir + "/bin")]
).generate()

@ -134,7 +134,7 @@ def doPyuic ():
buff = m.readlines ()
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)
addimport (n)
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>
<dd>
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>
<p>
<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>
<p>
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
files are generated automatically if you build/compile sip and PyTQt from source.
</p>

@ -34,7 +34,7 @@ copyright holder.
# which was written by Torben Weis and Julian Rockey
import sys
from PyTQt.qt import TQString, TQStringList
from PyTQt.tqt import TQString, TQStringList
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from dcopexport import DCOPExObj
@ -94,11 +94,11 @@ class DeadParrotObject (DCOPExObj):
"a stiff", "bereft of life", "rests in peace", "metabolic processes are now history",
"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"]
qadjList = TQStringList ()
tqadjList = TQStringList ()
for adj in adjList:
qadjList.append (adj)
tqadjList.append (adj)
return qadjList
return tqadjList
description = b"DCOP server template"

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

@ -37,7 +37,7 @@ copyright holder.
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 tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\

@ -37,7 +37,7 @@ copyright holder.
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 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
# 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 tdeui import TDEMainWindow, KMessageBox, TDEAction, KStdAction, KKeyDialog, KEditToolbar
from tdeio import TDETrader
@ -135,14 +135,14 @@ class pyPartsMW (KParts.MainWindow):
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>"))
if res == KMessageBox.Yes:
#// save document here. If saving fails, return False
return True
#// save document here. If saving fails, return False
return True
elif res == KMessageBox.No:
return True
else: #// cancel
return False
return False
def queryExit(self):
#// 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.
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

@ -1,5 +1,5 @@
from PyTQt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt
from PyTQt.qttable import TQTable
from PyTQt.tqt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt
from PyTQt.tqttable import TQTable
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
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.")
from PyTQt.qt import TQFrame, TQVBoxLayout
from PyTQt.tqt import TQFrame, TQVBoxLayout
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 "
"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
class MainFrame(TQFrame):

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

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

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

@ -2,7 +2,7 @@ iconName = 'colorize'
labelText = 'KColorDialog'
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
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 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 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 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 tdeui import KPushButton, TDEFontDialog, KTextEdit

@ -1,7 +1,7 @@
iconName = 'editclear'
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 tdeui import KPushButton, KInputDialog, KTextEdit

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

@ -5,7 +5,7 @@ from random import random
from traceback import print_exc
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 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 tdeui import KPushButton, KPasswordDialog, KTextEdit

@ -2,7 +2,7 @@ iconName = 'go'
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 tdeui import KPushButton, KProgressDialog, KTextEdit

@ -3,7 +3,7 @@ labelText = 'KTipDialog'
import os
from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
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.")
from PyTQt.qt import TQFrame, TQVBoxLayout
from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit

@ -3,7 +3,7 @@ iconName = 'icons'
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 tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit
from tdeui import KRootPermsIcon, KWritePermsIcon

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

@ -4,7 +4,7 @@ iconName = 'misc'
helpText = ("")
from PyTQt.qt import TQFrame, TQVBoxLayout
from PyTQt.tqt import TQFrame, TQVBoxLayout
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 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 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 tdecore import i18n, TDEApplication

@ -4,7 +4,7 @@ iconName = 'designer'
helpText = """TQt provides a rich set of widgets for application use.
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

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

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

@ -10,9 +10,9 @@ import inspect
import os
import sys
from PyTQt.qt import SIGNAL, SLOT, PYSIGNAL, TQt
from PyTQt.qt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog
from PyTQt.qt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
from PyTQt.tqt import SIGNAL, SLOT, PYSIGNAL, TQt
from PyTQt.tqt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog
from PyTQt.tqt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
from tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal
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
out the nifty samples below."""
from PyTQt.qt import TQFrame, TQLabel, TQVBoxLayout
from PyTQt.tqt import TQFrame, TQLabel, TQVBoxLayout
class MainFrame(TQFrame):
def __init__(self, parent=None):

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

@ -29,7 +29,7 @@ copyright holder.
import sys
from PyTQt.qt import TQLabel
from PyTQt.tqt import TQLabel
from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEIcon, TDEIconLoader
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
from tdecore import TDEAccel, i18n

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

@ -1,6 +1,6 @@
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

@ -1,6 +1,6 @@
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
from tdecore import TDEApplication

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

@ -4,7 +4,7 @@
"""
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 KWin, KWinModule

@ -1,7 +1,7 @@
import sys
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 tdeui import TDEMainWindow, TDEListView

@ -28,7 +28,7 @@ All is not rosy, however:
import os
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 tdeui import KDockWidget, TDEListBox, KStdAction

@ -37,7 +37,7 @@ copyright holder.
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 tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\

@ -51,7 +51,7 @@ stringTypes lists
from dcop import DCOPObject, DCOPClient
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",
"unsigned char", "unsigned short", "unsigned int", "unsigned long",
@ -72,7 +72,7 @@ class DCOPExObj (DCOPObject):
_meth = DCOPClient.normalizeFunctionSignature(meth).replace (">", "> ")
# 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):
return DCOPObject.process(self, _meth, data, replyType, replyData);

@ -32,7 +32,7 @@ copyright holder.
import re
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
# XXX: 64 bit integers might be handeld wrong! pythons int is AFAIK 32 bit,
@ -690,7 +690,7 @@ class DCOPMeth(object):
# XXX:
# 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!).
# And the worst thing: the eval() will raise a NameError!
#

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

@ -23,7 +23,7 @@
import sip_tqt_config
from PyTQt import pyqtconfig
from PyTQt import pytqtconfig
# These are installation specific values created when PyTQt was configured.
@ -48,7 +48,7 @@ _pkg_config = {
_default_macros = None
class Configuration(pyqtconfig.Configuration):
class Configuration(pytqtconfig.Configuration):
"""The class that represents PyTQt configuration values.
"""
def __init__(self, sub_cfg=None):
@ -64,10 +64,10 @@ class Configuration(pyqtconfig.Configuration):
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.
"""
def finalise(self):
@ -80,7 +80,7 @@ class DCOPModuleMakefile(pyqtconfig.TQtModuleMakefile):
self.LIBDIR.append(self.config.pytde_lib_dir)
self.extra_libs.append(self.module_as_lib("DCOP"))
pyqtconfig.TQtModuleMakefile.finalise(self)
pytqtconfig.TQtModuleMakefile.finalise(self)
class KdecoreModuleMakefile(DCOPModuleMakefile):
"""The Makefile class for modules that %Import tdecore.
@ -91,7 +91,7 @@ class KdecoreModuleMakefile(DCOPModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
DCOPModuleMakefile.finalise(self)
@ -105,7 +105,7 @@ class KdesuModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdecoreModuleMakefile.finalise(self)
@ -119,7 +119,7 @@ class KdefxModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdecoreModuleMakefile.finalise(self)
@ -133,11 +133,11 @@ class KdeuiModuleMakefile(KdefxModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
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)
@ -150,7 +150,7 @@ class KioModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdeuiModuleMakefile.finalise(self)
@ -164,7 +164,7 @@ class KfileModuleMakefile(KioModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KioModuleMakefile.finalise(self)
@ -178,7 +178,7 @@ class KpartsModuleMakefile(KfileModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KfileModuleMakefile.finalise(self)
@ -192,7 +192,7 @@ class KhtmlModuleMakefile(KpartsModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KpartsModuleMakefile.finalise(self)
@ -206,7 +206,7 @@ class KjsModuleMakefile(KhtmlModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KjsModuleMakefile.finalise(self)
@ -220,7 +220,7 @@ class KdeprintModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdeuiModuleMakefile.finalise(self)

@ -23,14 +23,14 @@
import sip_tqt_config
from PyTQt import pyqtconfig
from PyTQt import pytqtconfig
# These are installation specific values created when PyTQt was configured.
# @SIP_CONFIGURATION@
class Configuration(pyqtconfig.Configuration):
class Configuration(pytqtconfig.Configuration):
"""The class that represents PyTQt configuration values.
"""
def __init__(self, sub_cfg=None):
@ -46,10 +46,10 @@ class Configuration(pyqtconfig.Configuration):
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.
"""
def finalise(self):
@ -62,7 +62,7 @@ class DCOPModuleMakefile(pyqtconfig.TQtModuleMakefile):
self.LIBDIR.append(self.config.pytde_lib_dir)
self.extra_libs.append(self.module_as_lib("DCOP"))
pyqtconfig.TQtModuleMakefile.finalise(self)
pytqtconfig.TQtModuleMakefile.finalise(self)
class KdecoreModuleMakefile(DCOPModuleMakefile):
"""The Makefile class for modules that %Import tdecore.
@ -73,7 +73,7 @@ class KdecoreModuleMakefile(DCOPModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
DCOPModuleMakefile.finalise(self)
@ -87,7 +87,7 @@ class KdesuModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdecoreModuleMakefile.finalise(self)
@ -101,7 +101,7 @@ class KdefxModuleMakefile(KdecoreModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdecoreModuleMakefile.finalise(self)
@ -115,11 +115,11 @@ class KdeuiModuleMakefile(KdefxModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
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)
@ -132,7 +132,7 @@ class KioModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdeuiModuleMakefile.finalise(self)
@ -146,7 +146,7 @@ class KfileModuleMakefile(KioModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KioModuleMakefile.finalise(self)
@ -160,7 +160,7 @@ class KpartsModuleMakefile(KfileModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KfileModuleMakefile.finalise(self)
@ -174,7 +174,7 @@ class KhtmlModuleMakefile(KpartsModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KpartsModuleMakefile.finalise(self)
@ -188,7 +188,7 @@ class KjsModuleMakefile(KhtmlModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KjsModuleMakefile.finalise(self)
@ -202,7 +202,7 @@ class KdeprintModuleMakefile(KdeuiModuleMakefile):
if self.config.sip_version < 0x040000:
# Note that we don't use self.extra_lib_dirs because we don't want
# 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"))
KdeuiModuleMakefile.finalise(self)

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

@ -81,24 +81,24 @@ typedef long off_t;
return 0;
}
TQValueList<pid_t> *qvl = new TQValueList<pid_t>;
TQValueList<pid_t> *tqvl = new TQValueList<pid_t>;
PyErr_Clear();
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)
{
delete qvl;
delete tqvl;
*sipIsErr = 1;
return 0;
}
}
*sipCppPtr = qvl;
*sipCppPtr = tqvl;
return 1;
%End

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

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

@ -254,24 +254,24 @@ private:
return 0;
}
TQValueList<pid_t> *qvl = new TQValueList<pid_t>;
TQValueList<pid_t> *tqvl = new TQValueList<pid_t>;
PyErr_Clear();
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)
{
delete qvl;
delete tqvl;
*sipIsErr = 1;
return 0;
}
}
*sipCppPtr = qvl;
*sipCppPtr = tqvl;
return 1;
%End

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -43,7 +43,7 @@ True = not False
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 tdeui import TDEMainWindow, KMessageBox

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

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

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

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

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

@ -38,7 +38,7 @@ copyright holder.
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 tdeui import TDEMainWindow, KMessageBox

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

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

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

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

Loading…
Cancel
Save