diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-28 03:03:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-09-28 03:03:35 +0200 |
commit | b7a62620df1c214340b86735a73d4c3b3b834565 (patch) | |
tree | 96a312c3bdaa3bb44f490232fcc5b4a3a61e629f /examples/pytde-sampler | |
parent | 2749565477cea347d205d410e596d730a05941c9 (diff) | |
download | pytde-b7a62620df1c214340b86735a73d4c3b3b834565.tar.gz pytde-b7a62620df1c214340b86735a73d4c3b3b834565.zip |
Properly import python_tqt module - second part
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'examples/pytde-sampler')
21 files changed, 21 insertions, 21 deletions
diff --git a/examples/pytde-sampler/basic_widgets/__init__.py b/examples/pytde-sampler/basic_widgets/__init__.py index 312f629..8b5e183 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 qt import TQFrame, TQVBoxLayout +from python_tqt.qt import TQFrame, TQVBoxLayout from tdeui import KTextEdit diff --git a/examples/pytde-sampler/dialogs/__init__.py b/examples/pytde-sampler/dialogs/__init__.py index 07a731c..ddb37fe 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 qt import TQFrame, TQVBoxLayout +from python_tqt.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 ea1ad17..4cc0bc9 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 qt import TQFrame, TQVBoxLayout +from python_tqt.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 7fe2b75..4c6d5d5 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 qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.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 183c6fb..7141373 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 qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.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 caf72f7..34c3508 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 qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.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 738c000..793ebe9 100644 --- a/examples/pytde-sampler/dialogs/color.py +++ b/examples/pytde-sampler/dialogs/color.py @@ -2,7 +2,7 @@ iconName = 'colorize' labelText = 'KColorDialog' -from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KPushButton, KColorDialog, KColorPatch, KTextEdit diff --git a/examples/pytde-sampler/dialogs/input.py b/examples/pytde-sampler/dialogs/input.py index 8d9312f..2caced1 100644 --- a/examples/pytde-sampler/dialogs/input.py +++ b/examples/pytde-sampler/dialogs/input.py @@ -1,7 +1,7 @@ iconName = 'editclear' labelText = 'KInputDialog' -from qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL +from python_tqt.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 808a298..9e74acb 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 qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.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 b22c03f..6e61777 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 qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL +from python_tqt.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 3081c3d..e2f7996 100644 --- a/examples/pytde-sampler/dialogs/passwd.py +++ b/examples/pytde-sampler/dialogs/passwd.py @@ -1,4 +1,4 @@ -from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n from tdeui import KPushButton, KPasswordDialog, KTextEdit diff --git a/examples/pytde-sampler/dialogs/tip.py b/examples/pytde-sampler/dialogs/tip.py index b86d3fd..c999abe 100644 --- a/examples/pytde-sampler/dialogs/tip.py +++ b/examples/pytde-sampler/dialogs/tip.py @@ -3,7 +3,7 @@ labelText = 'KTipDialog' import os -from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.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 2a525ac..a3649d2 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 qt import TQFrame, TQVBoxLayout +from python_tqt.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 748dd64..6a4a43d 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 qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint +from python_tqt.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 a76671a..39723f3 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 qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.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 f9b66ae..f6c60fb 100644 --- a/examples/pytde-sampler/misc/__init__.py +++ b/examples/pytde-sampler/misc/__init__.py @@ -4,7 +4,7 @@ iconName = 'misc' helpText = ("") -from qt import TQFrame, TQVBoxLayout +from python_tqt.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 0adb2ea..e0d788e 100644 --- a/examples/pytde-sampler/misc/gradientselect.py +++ b/examples/pytde-sampler/misc/gradientselect.py @@ -1,4 +1,4 @@ -from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel +from python_tqt.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/window_info.py b/examples/pytde-sampler/misc/window_info.py index 00252c6..ab53fe9 100644 --- a/examples/pytde-sampler/misc/window_info.py +++ b/examples/pytde-sampler/misc/window_info.py @@ -1,7 +1,7 @@ -from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from python_tqt.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 fdd6539..21e2037 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 qt import TQFrame, TQVBoxLayout, SIGNAL +from python_tqt.qt import TQFrame, TQVBoxLayout, SIGNAL from tdeui import KTextEdit diff --git a/examples/pytde-sampler/runner.py b/examples/pytde-sampler/runner.py index 1bfb18b..0064084 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 qt import TQVBoxLayout +from python_tqt.qt import TQVBoxLayout ## relative import -- cry me a river! import about diff --git a/examples/pytde-sampler/xwin/__init__.py b/examples/pytde-sampler/xwin/__init__.py index 34787fd..2049b8f 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 qt import TQFrame, TQLabel, TQVBoxLayout +from python_tqt.qt import TQFrame, TQLabel, TQVBoxLayout class MainFrame(TQFrame): def __init__(self, parent=None): |