diff --git a/configure.py b/configure.py index 416c15e..680af7a 100644 --- a/configure.py +++ b/configure.py @@ -37,7 +37,7 @@ except: sys.exit (-1) try: - from python_tqt import pyqtconfig + from PyTQt import pyqtconfig except: sip_tqt_config.error ("Can't find pyqtconfig.py in sys.path - exiting") diff --git a/contrib/tdepyuic b/contrib/tdepyuic index d391f8d..147711b 100755 --- a/contrib/tdepyuic +++ b/contrib/tdepyuic @@ -134,7 +134,7 @@ def doPyuic (): buff = m.readlines () for line in buff: - if addImport and (string.strip (line) == 'from python_tqt.qt import *'): + if addImport and (string.strip (line) == 'from PyTQt.qt import *'): n.write (line) addimport (n) elif addApp and (string.strip (line) == 'a = TQApplication(sys.argv)'): diff --git a/doc/dcopext.html b/doc/dcopext.html index cbf9304..f658fd3 100644 --- a/doc/dcopext.html +++ b/doc/dcopext.html @@ -263,7 +263,7 @@ different argument counts. Here are some examples:
from tdecore import dcop_add, dcop_next -from python_tqt.qt import TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly, TQString,\ +from PyTQt.qt import TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly, TQString,\ TQCString, TQValueList<TQCString> from dcopext import numericTypes, stringTypes diff --git a/examples/example_dcopexport.py b/examples/example_dcopexport.py index 6be121a..7d4ae95 100644 --- a/examples/example_dcopexport.py +++ b/examples/example_dcopexport.py @@ -36,7 +36,7 @@ copyright holder. import sys from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from dcopexport import DCOPExObj -from python_tqt.qt import TQString, TQStringList +from PyTQt.qt import TQString, TQStringList """ DCOPExObj provides all of the necessary machinery to DCOP-enable diff --git a/examples/example_dcopext.py b/examples/example_dcopext.py index 939ed50..31815c5 100644 --- a/examples/example_dcopext.py +++ b/examples/example_dcopext.py @@ -31,7 +31,7 @@ import sys, time import dcop import dcopext from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData -from python_tqt.qt import TQString, TQCString +from PyTQt.qt import TQString, TQCString diff --git a/examples/menudemo.py b/examples/menudemo.py index 1f270a3..460be70 100644 --- a/examples/menudemo.py +++ b/examples/menudemo.py @@ -41,7 +41,7 @@ True = not False import sys -from python_tqt.qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet +from PyTQt.qt 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,\ diff --git a/examples/mimetype.py b/examples/mimetype.py index 7166642..044bc7a 100644 --- a/examples/mimetype.py +++ b/examples/mimetype.py @@ -39,7 +39,7 @@ copyright holder. import sys -from python_tqt.qt import TQWidget, TQButtonGroup, TQt, TQLabel, TQListView, TQListViewItem +from PyTQt.qt import TQWidget, TQButtonGroup, TQt, TQLabel, TQListView, TQListViewItem from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, KURL from tdeui import TDEMainWindow, KTabCtl, TDEListBox diff --git a/examples/pyTDEHTMLPart.py b/examples/pyTDEHTMLPart.py index e4ba32f..fc3f934 100644 --- a/examples/pyTDEHTMLPart.py +++ b/examples/pyTDEHTMLPart.py @@ -47,7 +47,7 @@ from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, TDEAboutData, Ba from tdeui import TDEMainWindow, KMessageBox, TDEAction, KStdAction, KKeyDialog, KEditToolbar -from python_tqt.qt import TQString, TQStringList +from PyTQt.qt import TQString, TQStringList from tdeio import TDETrader diff --git a/examples/pytde-sampler/basic_widgets/__init__.py b/examples/pytde-sampler/basic_widgets/__init__.py index 8b5e183..35e708d 100644 --- a/examples/pytde-sampler/basic_widgets/__init__.py +++ b/examples/pytde-sampler/basic_widgets/__init__.py @@ -4,7 +4,7 @@ iconName = 'about_kde' helpText = """KDE provides a large set of basic widgets for application use. Select the children of this item to see for yourself.""" -from python_tqt.qt import TQFrame, TQVBoxLayout +from PyTQt.qt import TQFrame, TQVBoxLayout from tdeui import KTextEdit diff --git a/examples/pytde-sampler/basic_widgets/datepicker.py b/examples/pytde-sampler/basic_widgets/datepicker.py index a0d74ab..30431fc 100644 --- a/examples/pytde-sampler/basic_widgets/datepicker.py +++ b/examples/pytde-sampler/basic_widgets/datepicker.py @@ -1,5 +1,5 @@ -from python_tqt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt -from python_tqt.qttable import TQTable +from PyTQt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt +from PyTQt.qttable import TQTable from tdeui import KTextEdit, KDatePicker, KDateWidget diff --git a/examples/pytde-sampler/basic_widgets/historycombo.py b/examples/pytde-sampler/basic_widgets/historycombo.py index e11c24f..f0bb8b8 100644 --- a/examples/pytde-sampler/basic_widgets/historycombo.py +++ b/examples/pytde-sampler/basic_widgets/historycombo.py @@ -1,4 +1,4 @@ -from python_tqt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQStringList, TQLabel, \ +from PyTQt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQStringList, TQLabel, \ SIGNAL, SLOT from tdeui import KHistoryCombo, KTextEdit diff --git a/examples/pytde-sampler/dialogs/__init__.py b/examples/pytde-sampler/dialogs/__init__.py index ddb37fe..c9c105a 100644 --- a/examples/pytde-sampler/dialogs/__init__.py +++ b/examples/pytde-sampler/dialogs/__init__.py @@ -6,7 +6,7 @@ helpText = ("KDE provides a convenient set of dialog boxes for application use. "Select the children of this item to see for yourself.") -from python_tqt.qt import TQFrame, TQVBoxLayout +from PyTQt.qt import TQFrame, TQVBoxLayout from tdeui import KTextEdit diff --git a/examples/pytde-sampler/dialogs/about/__init__.py b/examples/pytde-sampler/dialogs/about/__init__.py index 4cc0bc9..9fd612d 100644 --- a/examples/pytde-sampler/dialogs/about/__init__.py +++ b/examples/pytde-sampler/dialogs/about/__init__.py @@ -5,7 +5,7 @@ helpText = ("KDE 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 python_tqt.qt import TQFrame, TQVBoxLayout +from PyTQt.qt import TQFrame, TQVBoxLayout from tdeui import KTextEdit class MainFrame(TQFrame): diff --git a/examples/pytde-sampler/dialogs/about/aboutapp.py b/examples/pytde-sampler/dialogs/about/aboutapp.py index 4c6d5d5..4584107 100644 --- a/examples/pytde-sampler/dialogs/about/aboutapp.py +++ b/examples/pytde-sampler/dialogs/about/aboutapp.py @@ -1,7 +1,7 @@ iconName = 'about_kde' labelText = 'TDEAboutApplication' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import TDEAboutApplication, KPushButton, KTextEdit diff --git a/examples/pytde-sampler/dialogs/about/aboutkde.py b/examples/pytde-sampler/dialogs/about/aboutkde.py index 7141373..e50c88d 100644 --- a/examples/pytde-sampler/dialogs/about/aboutkde.py +++ b/examples/pytde-sampler/dialogs/about/aboutkde.py @@ -1,7 +1,7 @@ iconName = 'about_kde' labelText = 'TDEAboutKDE' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import TDEAboutKDE, KPushButton, KTextEdit diff --git a/examples/pytde-sampler/dialogs/bugreport.py b/examples/pytde-sampler/dialogs/bugreport.py index 34c3508..b06717c 100644 --- a/examples/pytde-sampler/dialogs/bugreport.py +++ b/examples/pytde-sampler/dialogs/bugreport.py @@ -6,7 +6,7 @@ labelText = 'KBugReport' ##~ specifies what we want. ##~ docItemName = 'KBugReport' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit diff --git a/examples/pytde-sampler/dialogs/color.py b/examples/pytde-sampler/dialogs/color.py index 793ebe9..f9aeb0c 100644 --- a/examples/pytde-sampler/dialogs/color.py +++ b/examples/pytde-sampler/dialogs/color.py @@ -2,7 +2,7 @@ iconName = 'colorize' labelText = 'KColorDialog' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KPushButton, KColorDialog, KColorPatch, KTextEdit diff --git a/examples/pytde-sampler/dialogs/config.py b/examples/pytde-sampler/dialogs/config.py index 425af82..f0338d4 100644 --- a/examples/pytde-sampler/dialogs/config.py +++ b/examples/pytde-sampler/dialogs/config.py @@ -1,5 +1,5 @@ -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString from tdecore import i18n, TDEConfigSkeleton from tdeui import KPushButton, TDEConfigDialog, KTextEdit diff --git a/examples/pytde-sampler/dialogs/edfind.py b/examples/pytde-sampler/dialogs/edfind.py index 0d3f097..46258f5 100644 --- a/examples/pytde-sampler/dialogs/edfind.py +++ b/examples/pytde-sampler/dialogs/edfind.py @@ -1,5 +1,5 @@ -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString from tdecore import i18n from tdeui import KPushButton, KEdFind, KTextEdit diff --git a/examples/pytde-sampler/dialogs/edreplace.py b/examples/pytde-sampler/dialogs/edreplace.py index b8c9c80..1c4950b 100644 --- a/examples/pytde-sampler/dialogs/edreplace.py +++ b/examples/pytde-sampler/dialogs/edreplace.py @@ -1,4 +1,4 @@ -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString from tdecore import i18n from tdeui import KPushButton, KEdReplace, KTextEdit diff --git a/examples/pytde-sampler/dialogs/font.py b/examples/pytde-sampler/dialogs/font.py index e788cbd..175817a 100644 --- a/examples/pytde-sampler/dialogs/font.py +++ b/examples/pytde-sampler/dialogs/font.py @@ -1,5 +1,5 @@ -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString from tdecore import i18n from tdeui import KPushButton, TDEFontDialog, KTextEdit diff --git a/examples/pytde-sampler/dialogs/input.py b/examples/pytde-sampler/dialogs/input.py index 2caced1..4925a35 100644 --- a/examples/pytde-sampler/dialogs/input.py +++ b/examples/pytde-sampler/dialogs/input.py @@ -1,7 +1,7 @@ iconName = 'editclear' labelText = 'KInputDialog' -from python_tqt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL +from PyTQt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL from tdecore import i18n from tdeui import KPushButton, KInputDialog, KTextEdit diff --git a/examples/pytde-sampler/dialogs/key.py b/examples/pytde-sampler/dialogs/key.py index 9e74acb..db6e295 100644 --- a/examples/pytde-sampler/dialogs/key.py +++ b/examples/pytde-sampler/dialogs/key.py @@ -1,7 +1,7 @@ iconName = 'configure_shortcuts' labelText = 'KKeyDialog' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KPushButton, KKeyDialog, KTextEdit diff --git a/examples/pytde-sampler/dialogs/msgbox.py b/examples/pytde-sampler/dialogs/msgbox.py index 6e61777..93f0d24 100644 --- a/examples/pytde-sampler/dialogs/msgbox.py +++ b/examples/pytde-sampler/dialogs/msgbox.py @@ -5,7 +5,7 @@ from random import random from traceback import print_exc from StringIO import StringIO -from python_tqt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL +from PyTQt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL from tdecore import i18n from tdeui import KGuiItem, KPushButton, KMessageBox, KTextEdit diff --git a/examples/pytde-sampler/dialogs/passwd.py b/examples/pytde-sampler/dialogs/passwd.py index e2f7996..3a7fd29 100644 --- a/examples/pytde-sampler/dialogs/passwd.py +++ b/examples/pytde-sampler/dialogs/passwd.py @@ -1,4 +1,4 @@ -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KPushButton, KPasswordDialog, KTextEdit diff --git a/examples/pytde-sampler/dialogs/progress.py b/examples/pytde-sampler/dialogs/progress.py index 7a7f68b..f7d69f8 100644 --- a/examples/pytde-sampler/dialogs/progress.py +++ b/examples/pytde-sampler/dialogs/progress.py @@ -2,7 +2,7 @@ iconName = 'go' labelText = 'KProgressDialog' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL from tdecore import i18n from tdeui import KPushButton, KProgressDialog, KTextEdit diff --git a/examples/pytde-sampler/dialogs/tip.py b/examples/pytde-sampler/dialogs/tip.py index c999abe..15ec50d 100644 --- a/examples/pytde-sampler/dialogs/tip.py +++ b/examples/pytde-sampler/dialogs/tip.py @@ -3,7 +3,7 @@ labelText = 'KTipDialog' import os -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KPushButton, KTipDatabase, KTipDialog, KTextEdit diff --git a/examples/pytde-sampler/icon_handling/__init__.py b/examples/pytde-sampler/icon_handling/__init__.py index a3649d2..0b82073 100644 --- a/examples/pytde-sampler/icon_handling/__init__.py +++ b/examples/pytde-sampler/icon_handling/__init__.py @@ -6,7 +6,7 @@ helpText = ("KDE icons are nice. " "Select the children of this item to see for yourself.") -from python_tqt.qt import TQFrame, TQVBoxLayout +from PyTQt.qt import TQFrame, TQVBoxLayout from tdeui import KTextEdit diff --git a/examples/pytde-sampler/icon_handling/misc.py b/examples/pytde-sampler/icon_handling/misc.py index 6a4a43d..d3ea6a1 100644 --- a/examples/pytde-sampler/icon_handling/misc.py +++ b/examples/pytde-sampler/icon_handling/misc.py @@ -3,7 +3,7 @@ iconName = 'icons' labelText = 'Misc.' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint from tdecore import i18n from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit from tdeui import KRootPermsIcon, KWritePermsIcon diff --git a/examples/pytde-sampler/icon_handling/sizes.py b/examples/pytde-sampler/icon_handling/sizes.py index 39723f3..b1bdbd8 100644 --- a/examples/pytde-sampler/icon_handling/sizes.py +++ b/examples/pytde-sampler/icon_handling/sizes.py @@ -3,7 +3,7 @@ iconName = 'icons' labelText = 'Icon Sizing' -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit diff --git a/examples/pytde-sampler/misc/__init__.py b/examples/pytde-sampler/misc/__init__.py index f6c60fb..fe5dc63 100644 --- a/examples/pytde-sampler/misc/__init__.py +++ b/examples/pytde-sampler/misc/__init__.py @@ -4,7 +4,7 @@ iconName = 'misc' helpText = ("") -from python_tqt.qt import TQFrame, TQVBoxLayout +from PyTQt.qt import TQFrame, TQVBoxLayout from tdeui import KTextEdit diff --git a/examples/pytde-sampler/misc/gradientselect.py b/examples/pytde-sampler/misc/gradientselect.py index e0d788e..8f9c1c4 100644 --- a/examples/pytde-sampler/misc/gradientselect.py +++ b/examples/pytde-sampler/misc/gradientselect.py @@ -1,4 +1,4 @@ -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel from tdecore import i18n from tdeui import KPushButton, KGradientSelector, KTextEdit, KDualColorButton, KColorPatch diff --git a/examples/pytde-sampler/misc/passivepop.py b/examples/pytde-sampler/misc/passivepop.py index 3bf1241..fbccc73 100644 --- a/examples/pytde-sampler/misc/passivepop.py +++ b/examples/pytde-sampler/misc/passivepop.py @@ -1,4 +1,4 @@ -from python_tqt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL +from PyTQt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL from tdeui import KPassivePopup, KTextEdit, KPushButton from tdecore import TDEGlobal, TDEIcon diff --git a/examples/pytde-sampler/misc/window_info.py b/examples/pytde-sampler/misc/window_info.py index ab53fe9..12a9d66 100644 --- a/examples/pytde-sampler/misc/window_info.py +++ b/examples/pytde-sampler/misc/window_info.py @@ -1,7 +1,7 @@ -from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdeui import KWindowInfo, KPushButton, KTextEdit from tdecore import i18n, TDEApplication diff --git a/examples/pytde-sampler/qt_widgets/__init__.py b/examples/pytde-sampler/qt_widgets/__init__.py index 21e2037..a2da4db 100644 --- a/examples/pytde-sampler/qt_widgets/__init__.py +++ b/examples/pytde-sampler/qt_widgets/__init__.py @@ -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 python_tqt.qt import TQFrame, TQVBoxLayout, SIGNAL +from PyTQt.qt import TQFrame, TQVBoxLayout, SIGNAL from tdeui import KTextEdit diff --git a/examples/pytde-sampler/qt_widgets/table.py b/examples/pytde-sampler/qt_widgets/table.py index 254f8da..f3b9e54 100644 --- a/examples/pytde-sampler/qt_widgets/table.py +++ b/examples/pytde-sampler/qt_widgets/table.py @@ -8,8 +8,8 @@ editable table widget.' import csv import os -from python_tqt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL -from python_tqt.qttable import TQTable +from PyTQt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL +from PyTQt.qttable import TQTable from tdeui import KTextEdit diff --git a/examples/pytde-sampler/runner.py b/examples/pytde-sampler/runner.py index 0064084..8c6e8de 100755 --- a/examples/pytde-sampler/runner.py +++ b/examples/pytde-sampler/runner.py @@ -5,7 +5,7 @@ import sys from tdecore import TDEApplication, TDECmdLineArgs from tdeui import TDEMainWindow -from python_tqt.qt import TQVBoxLayout +from PyTQt.qt import TQVBoxLayout ## relative import -- cry me a river! import about diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py index e4904a3..fec8ab7 100755 --- a/examples/pytde-sampler/sampler.py +++ b/examples/pytde-sampler/sampler.py @@ -10,9 +10,9 @@ import inspect import os import sys -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 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 tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, TDEIcon diff --git a/examples/pytde-sampler/xwin/__init__.py b/examples/pytde-sampler/xwin/__init__.py index 2049b8f..40b452a 100644 --- a/examples/pytde-sampler/xwin/__init__.py +++ b/examples/pytde-sampler/xwin/__init__.py @@ -4,7 +4,7 @@ iconName = 'kcmx' helpText = """KDE and PyKDE allow interaction with the X Window system. Check out the nifty samples below.""" -from python_tqt.qt import TQFrame, TQLabel, TQVBoxLayout +from PyTQt.qt import TQFrame, TQLabel, TQVBoxLayout class MainFrame(TQFrame): def __init__(self, parent=None): diff --git a/examples/qxembedexample.py b/examples/qxembedexample.py index bb24f63..ac8d30d 100644 --- a/examples/qxembedexample.py +++ b/examples/qxembedexample.py @@ -8,7 +8,7 @@ # WARNING! All changes made in this file will be lost! -from python_tqt.qt import * +from PyTQt.qt import * class QXEmbedExample(TQWidget): diff --git a/examples/systray.py b/examples/systray.py index fd3d1c5..fa305b0 100644 --- a/examples/systray.py +++ b/examples/systray.py @@ -29,7 +29,7 @@ copyright holder. import sys -from python_tqt.qt import TQLabel +from PyTQt.qt import TQLabel from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray diff --git a/examples/uimodules/uidialogs.py b/examples/uimodules/uidialogs.py index a2f4512..12ad10f 100644 --- a/examples/uimodules/uidialogs.py +++ b/examples/uimodules/uidialogs.py @@ -1,4 +1,4 @@ -from python_tqt.qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\ +from PyTQt.qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\ TQRadioButton, TQt, TQWidget from tdecore import TDEAccel, i18n diff --git a/examples/uimodules/uimenus.py b/examples/uimodules/uimenus.py index 96207b1..bec0c0f 100644 --- a/examples/uimodules/uimenus.py +++ b/examples/uimodules/uimenus.py @@ -1,6 +1,6 @@ import os -from python_tqt.qt import TQLabel +from PyTQt.qt import TQLabel from tdecore import TDEApplication diff --git a/examples/uimodules/uimisc.py b/examples/uimodules/uimisc.py index 9e96165..c922fb1 100644 --- a/examples/uimodules/uimisc.py +++ b/examples/uimodules/uimisc.py @@ -1,6 +1,6 @@ import os, time -from python_tqt.qt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator +from PyTQt.qt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator from tdeui import KMessageBox, KDateValidator, KFloatValidator, KIntValidator, KLineEdit, KLed diff --git a/examples/uimodules/uiwidgets.py b/examples/uimodules/uiwidgets.py index 8c8b429..790f855 100644 --- a/examples/uimodules/uiwidgets.py +++ b/examples/uimodules/uiwidgets.py @@ -1,6 +1,6 @@ import time, sys -from python_tqt.qt import TQLabel, TQFrame, TQColor, TQPushButton, SIGNAL, TQButtonGroup, TQRadioButton, TQt, TQString, TQChar,\ +from PyTQt.qt import TQLabel, TQFrame, TQColor, TQPushButton, SIGNAL, TQButtonGroup, TQRadioButton, TQt, TQString, TQChar,\ TQWidget, TQTimer from tdecore import TDEApplication diff --git a/examples/uimodules/uixml.py b/examples/uimodules/uixml.py index b90dde9..fd3ca21 100644 --- a/examples/uimodules/uixml.py +++ b/examples/uimodules/uixml.py @@ -1,6 +1,6 @@ import os -from python_tqt.qt import TQLabel +from PyTQt.qt import TQLabel from tdecore import TDEApplication diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 0cc355f..341cc3a 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -4,7 +4,7 @@ """ import sys -from python_tqt.qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT +from PyTQt.qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon from tdecore import KWin, KWinModule diff --git a/examples/uisampler.py b/examples/uisampler.py index 7b6c5ce..3465f02 100644 --- a/examples/uisampler.py +++ b/examples/uisampler.py @@ -1,7 +1,7 @@ import sys sys.path.append ("./uimodules") -from python_tqt.qt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt +from PyTQt.qt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdeui import TDEMainWindow, TDEListView diff --git a/examples/uitdemdi.py b/examples/uitdemdi.py index c62ceae..144d7f0 100644 --- a/examples/uitdemdi.py +++ b/examples/uitdemdi.py @@ -28,7 +28,7 @@ All is not rosy, however: import os import sys -from python_tqt.qt import SIGNAL, TQVBoxLayout, TQLabel +from PyTQt.qt import SIGNAL, TQVBoxLayout, TQLabel from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, TDEIcon, TDECmdLineArgs from tdeui import KDockWidget, TDEListBox, KStdAction diff --git a/examples/xmlmenudemo.py b/examples/xmlmenudemo.py index 5659b0a..9eacb37 100644 --- a/examples/xmlmenudemo.py +++ b/examples/xmlmenudemo.py @@ -41,7 +41,7 @@ True = not False import sys, os -from python_tqt.qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet +from PyTQt.qt 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,\ diff --git a/extensions/dcopexport.py b/extensions/dcopexport.py index b7eb3e6..6cb8b6b 100644 --- a/extensions/dcopexport.py +++ b/extensions/dcopexport.py @@ -51,7 +51,7 @@ stringTypes lists from dcop import DCOPObject, DCOPClient from tdecore import dcop_add, dcop_next -from python_tqt.qt import TQString, TQCString, TQDataStream, IO_ReadOnly, IO_WriteOnly +from PyTQt.qt 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", diff --git a/extensions/dcopext.py b/extensions/dcopext.py index 1d13e35..f8ab5bf 100644 --- a/extensions/dcopext.py +++ b/extensions/dcopext.py @@ -32,7 +32,7 @@ copyright holder. import re from dcop import DCOPClient -from python_tqt.qt import TQString, TQCString, TQByteArray, TQDataStream, IO_ReadOnly, IO_WriteOnly +from PyTQt.qt 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, diff --git a/postproc b/postproc index efa05cb..5c058e6 100755 --- a/postproc +++ b/postproc @@ -324,7 +324,7 @@ def appQuit (filelist): tmp.write (buff [i]) i = i + 1 - tmp.write (buff [i] + "\nfrom python_tqt.qt import TQCloseEvent") + tmp.write (buff [i] + "\nfrom PyTQt.qt import TQCloseEvent") i = i + 1 while (i < nLines) and (string.find (buff [i], "class TDEApplication") < 0): diff --git a/pytdeconfig.py b/pytdeconfig.py index 22d8038..daa858f 100644 --- a/pytdeconfig.py +++ b/pytdeconfig.py @@ -23,7 +23,7 @@ import sip_tqt_config -from python_tqt import pyqtconfig +from PyTQt import pyqtconfig # These are installation specific values created when PyTQt was configured. diff --git a/pytdeconfig.py.in b/pytdeconfig.py.in index b6a6afb..252184c 100644 --- a/pytdeconfig.py.in +++ b/pytdeconfig.py.in @@ -23,7 +23,7 @@ import sip_tqt_config -from python_tqt import pyqtconfig +from PyTQt import pyqtconfig # These are installation specific values created when PyTQt was configured. diff --git a/templates/annotated/menuapp1.py b/templates/annotated/menuapp1.py index 5387494..43f4846 100644 --- a/templates/annotated/menuapp1.py +++ b/templates/annotated/menuapp1.py @@ -43,7 +43,7 @@ True = not False import sys -from python_tqt.qt import TQPopupMenu, SIGNAL +from PyTQt.qt import TQPopupMenu, SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KMessageBox diff --git a/templates/annotated/menuapp2.py b/templates/annotated/menuapp2.py index d45d49c..e7f96a2 100644 --- a/templates/annotated/menuapp2.py +++ b/templates/annotated/menuapp2.py @@ -41,7 +41,7 @@ True = not False import sys -from python_tqt.qt import TQPopupMenu, SIGNAL +from PyTQt.qt import TQPopupMenu, SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction diff --git a/templates/annotated/menuapp3.py b/templates/annotated/menuapp3.py index 223be7a..c04ea14 100644 --- a/templates/annotated/menuapp3.py +++ b/templates/annotated/menuapp3.py @@ -41,7 +41,7 @@ True = not False import sys -from python_tqt.qt import TQPopupMenu, SIGNAL +from PyTQt.qt import TQPopupMenu, SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEActionCollection diff --git a/templates/annotated/systray.py b/templates/annotated/systray.py index 8604a30..b9569bf 100644 --- a/templates/annotated/systray.py +++ b/templates/annotated/systray.py @@ -29,7 +29,7 @@ copyright holder. import sys -from python_tqt.qt import TQWidget, SIGNAL +from PyTQt.qt import TQWidget, SIGNAL from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import KSystemTray diff --git a/templates/annotated/systray1.py b/templates/annotated/systray1.py index 78967c9..42251de 100644 --- a/templates/annotated/systray1.py +++ b/templates/annotated/systray1.py @@ -35,7 +35,7 @@ copyright holder. import sys -from python_tqt.qt import TQLabel, TQWidget, SIGNAL +from PyTQt.qt import TQLabel, TQWidget, SIGNAL from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray diff --git a/templates/basic/basicapp.py b/templates/basic/basicapp.py index 7240e57..44858c9 100644 --- a/templates/basic/basicapp.py +++ b/templates/basic/basicapp.py @@ -29,7 +29,7 @@ copyright holder. import sys -from python_tqt.qt import SIGNAL +from PyTQt.qt import SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdeui import TDEMainWindow diff --git a/templates/basic/menuapp1.py b/templates/basic/menuapp1.py index 796e628..8f2d764 100644 --- a/templates/basic/menuapp1.py +++ b/templates/basic/menuapp1.py @@ -42,7 +42,7 @@ True = not False import sys -from python_tqt.qt import TQPopupMenu, SIGNAL +from PyTQt.qt import TQPopupMenu, SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KMessageBox diff --git a/templates/basic/menuapp2.py b/templates/basic/menuapp2.py index 9d14f6c..6a3112d 100644 --- a/templates/basic/menuapp2.py +++ b/templates/basic/menuapp2.py @@ -41,7 +41,7 @@ True = not False import sys -from python_tqt.qt import TQPopupMenu, SIGNAL +from PyTQt.qt import TQPopupMenu, SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEShortcut from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction diff --git a/templates/basic/menuapp3.py b/templates/basic/menuapp3.py index 4577ed6..4cfd7f9 100644 --- a/templates/basic/menuapp3.py +++ b/templates/basic/menuapp3.py @@ -41,7 +41,7 @@ True = not False import sys -from python_tqt.qt import TQPopupMenu, SIGNAL +from PyTQt.qt import TQPopupMenu, SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEShortcut from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEActionCollection diff --git a/templates/basic/systray.py b/templates/basic/systray.py index da2a34f..b4908b6 100644 --- a/templates/basic/systray.py +++ b/templates/basic/systray.py @@ -29,7 +29,7 @@ copyright holder. import sys -from python_tqt.qt import TQWidget, SIGNAL +from PyTQt.qt import TQWidget, SIGNAL from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import KSystemTray diff --git a/templates/basic/systray1.py b/templates/basic/systray1.py index a8f9ca2..c2890fa 100644 --- a/templates/basic/systray1.py +++ b/templates/basic/systray1.py @@ -29,7 +29,7 @@ copyright holder. import sys -from python_tqt.qt import TQLabel, TQWidget, SIGNAL +from PyTQt.qt import TQLabel, TQWidget, SIGNAL from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray |