Update after renaming qt => tqt in PyTQt module.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/9/head
Slávek Banko 2 years ago
parent 94f5a3f12e
commit 00acd92ff9
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -19,7 +19,7 @@
import sys
import os
import os.path
from PyTQt.qt import *
from PyTQt.tqt import *
from tdeui import *
from tdecore import *
from tdefile import *

@ -14,7 +14,7 @@
# #
###########################################################################
from PyTQt.qt import *
from PyTQt.tqt import *
from tdeui import *
from tdecore import *
from tdeio import *
@ -309,7 +309,7 @@ class SMBShareSelectDialog(KDialogBase):
if self.selecteditem is None:
return
if state==QButton.Off:
if state==TQButton.Off:
self.guestradio.setChecked(True)
self.userradio.setChecked(False)
@ -326,7 +326,7 @@ class SMBShareSelectDialog(KDialogBase):
if self.updatinggui:
return
self.updatinggui = True
if state==QButton.Off:
if state==TQButton.Off:
self.userradio.setChecked(True)
self.guestradio.setChecked(False)

@ -13,7 +13,7 @@
# (at your option) any later version. #
# #
###########################################################################
from PyTQt.qt import *
from PyTQt.tqt import *
from tdecore import *
import locale

@ -22,7 +22,7 @@ TODO:
import sys
import os
from PyTQt.qt import *
from PyTQt.tqt import *
from tdeui import *
#import kdedesigner
from fuser_ui import *

@ -19,7 +19,7 @@
import sys
import os
import os.path
from PyTQt.qt import *
from PyTQt.tqt import *
from tdeui import *
from tdecore import *
from tdefile import *

@ -1,6 +1,6 @@
#!/usr/bin/env python
from PyTQt.qt import *
from PyTQt.tqt import *
from tdecore import *
import sys, os

@ -19,7 +19,7 @@
import sys
import os
import os.path
from PyTQt.qt import *
from PyTQt.tqt import *
from tdeui import *
from tdecore import *
import posix

@ -29,7 +29,7 @@ def doit():
author_email = "simon@simonzone.com",
url = "http://www.simonzone.com/software/guidance/",
min_kde_version = "3.0.0",
min_qt_version = "3.0.0",
min_tqt_version = "3.0.0",
license = "GPL",
docbooks = [('doc/en','en')],
package_dir = {'':'modules'},

@ -18,7 +18,7 @@
import sys
import os.path
from PyTQt.qt import *
from PyTQt.tqt import *
from tdeui import *
from tdecore import *
from tdefile import *

@ -16,7 +16,7 @@
# #
###########################################################################
from PyTQt.qt import *
from PyTQt.tqt import *
from tdecore import *
from tdeui import *
from tdefile import *

@ -76,10 +76,10 @@ static TDECModule* return_instance( TQWidget *parent, const char *name ) {
// Inject a helper function
TQString bridge = TQString("import sip_tqt\n"
"from PyTQt import qt\n"
"from PyTQt import tqt\n"
"def kcontrol_bridge_" FACTORY "(parent,name):\n"
" if parent!=0:\n"
" wparent = sip_tqt.wrapinstance(parent,qt.TQWidget)\n"
" wparent = sip_tqt.wrapinstance(parent,tqt.TQWidget)\n"
" else:\n"
" wparent = None\n"
" inst = " FACTORY "(wparent, name)\n"

@ -19,7 +19,7 @@
import sys
import os
import os.path
from PyTQt.qt import *
from PyTQt.tqt import *
from tdecore import *
from tdeui import *
from tdefile import *
@ -3017,7 +3017,7 @@ class ApplicationsPage(TQWidget):
#native_apps_layout.addWidget(self.browsercombo,0,1)
#native_apps_layout.setColStretch(1,1)
#QToolTip.add(self.browsercombo,
#TQToolTip.add(self.browsercombo,
#i18n("<p>Select the browser to be launched when clicking on a link" +\
#" in a Windows application.</p>"))
@ -3033,7 +3033,7 @@ class ApplicationsPage(TQWidget):
#self.connect(self.mailercombo,SIGNAL("activated(int)"),self.slotMailerActivated)
#native_apps_layout.addWidget(self.mailercombo,1,1)
#QToolTip.add(self.mailercombo,
#TQToolTip.add(self.mailercombo,
#i18n("<p>Select the mail client to be launched when clicking on" +\
#" a mailto link in a Windows application.</p>"))

@ -133,7 +133,7 @@ def SetKeyValues(key,settings):
file.write("REGEDIT4\n\n[" + key + "]\n")
for setting in settings:
# Casting to a python string is necessary for older versions of pyQT
# Casting to a python string is necessary for older versions of PyTQt
if str(settings[setting])[:4] == 'hex:':
file.write('"'+str(setting)+'"='+str(settings[setting])+'\n')
else:

Loading…
Cancel
Save