Properly import python_tqt module

This relates to bug 2693

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent ceccc11471
commit 2749565477

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -4,7 +4,7 @@
"""
import sys
from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT
from python_tqt.qt 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 qt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt
from python_tqt.qt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import TDEMainWindow, TDEListView

@ -22,7 +22,8 @@
# modules that %Import PyKDE modules.
import sipconfig, pyqtconfig
from sip4_tqt import sipconfig
from python_tqt import pyqtconfig
# These are installation specific values created when PyTQt was configured.

Loading…
Cancel
Save