summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-28 03:03:35 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-28 03:03:47 +0200
commitf0143f408543569757ebf8f671e1012e16c575ae (patch)
tree0f446c1ec7fbe81ac96bc7b1e1b3702fe8403c67 /examples
parent5bf80aeba9a1e9b9b91f3108c1a8d51bf378c4f0 (diff)
downloadpytde-f0143f408543569757ebf8f671e1012e16c575ae.tar.gz
pytde-f0143f408543569757ebf8f671e1012e16c575ae.zip
Properly import python_tqt module - second partr14.0.4
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b7a62620df1c214340b86735a73d4c3b3b834565)
Diffstat (limited to 'examples')
-rw-r--r--examples/example_dcopexport.py2
-rw-r--r--examples/example_dcopext.py2
-rw-r--r--examples/menudemo.py2
-rw-r--r--examples/pyTDEHTMLPart.py2
-rw-r--r--examples/pytde-sampler/basic_widgets/__init__.py2
-rw-r--r--examples/pytde-sampler/dialogs/__init__.py2
-rw-r--r--examples/pytde-sampler/dialogs/about/__init__.py2
-rw-r--r--examples/pytde-sampler/dialogs/about/aboutapp.py2
-rw-r--r--examples/pytde-sampler/dialogs/about/aboutkde.py2
-rw-r--r--examples/pytde-sampler/dialogs/bugreport.py2
-rw-r--r--examples/pytde-sampler/dialogs/color.py2
-rw-r--r--examples/pytde-sampler/dialogs/input.py2
-rw-r--r--examples/pytde-sampler/dialogs/key.py2
-rw-r--r--examples/pytde-sampler/dialogs/msgbox.py2
-rw-r--r--examples/pytde-sampler/dialogs/passwd.py2
-rw-r--r--examples/pytde-sampler/dialogs/tip.py2
-rw-r--r--examples/pytde-sampler/icon_handling/__init__.py2
-rw-r--r--examples/pytde-sampler/icon_handling/misc.py2
-rw-r--r--examples/pytde-sampler/icon_handling/sizes.py2
-rw-r--r--examples/pytde-sampler/misc/__init__.py2
-rw-r--r--examples/pytde-sampler/misc/gradientselect.py2
-rw-r--r--examples/pytde-sampler/misc/window_info.py2
-rw-r--r--examples/pytde-sampler/qt_widgets/__init__.py2
-rwxr-xr-xexamples/pytde-sampler/runner.py2
-rw-r--r--examples/pytde-sampler/xwin/__init__.py2
-rw-r--r--examples/qxembedexample.py2
-rw-r--r--examples/systray.py2
-rw-r--r--examples/uimodules/uidialogs.py2
-rw-r--r--examples/uimodules/uimenus.py2
-rw-r--r--examples/uimodules/uimisc.py2
-rw-r--r--examples/uimodules/uixml.py2
-rw-r--r--examples/uitdemdi.py2
-rw-r--r--examples/xmlmenudemo.py2
33 files changed, 33 insertions, 33 deletions
diff --git a/examples/example_dcopexport.py b/examples/example_dcopexport.py
index 2e7a504..6be121a 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 qt import TQString, TQStringList
+from python_tqt.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 721df50..939ed50 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 qt import TQString, TQCString
+from python_tqt.qt import TQString, TQCString
diff --git a/examples/menudemo.py b/examples/menudemo.py
index c99e613..1f270a3 100644
--- a/examples/menudemo.py
+++ b/examples/menudemo.py
@@ -41,7 +41,7 @@ True = not False
import sys
-from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
+from python_tqt.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/pyTDEHTMLPart.py b/examples/pyTDEHTMLPart.py
index bcdb18e..e4ba32f 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 qt import TQString, TQStringList
+from python_tqt.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 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):
diff --git a/examples/qxembedexample.py b/examples/qxembedexample.py
index 0482c78..bb24f63 100644
--- a/examples/qxembedexample.py
+++ b/examples/qxembedexample.py
@@ -8,7 +8,7 @@
# WARNING! All changes made in this file will be lost!
-from qt import *
+from python_tqt.qt import *
class QXEmbedExample(TQWidget):
diff --git a/examples/systray.py b/examples/systray.py
index 0da1961..fd3d1c5 100644
--- a/examples/systray.py
+++ b/examples/systray.py
@@ -29,7 +29,7 @@ copyright holder.
import sys
-from qt import TQLabel
+from python_tqt.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 82e6260..a2f4512 100644
--- a/examples/uimodules/uidialogs.py
+++ b/examples/uimodules/uidialogs.py
@@ -1,4 +1,4 @@
-from qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\
+from python_tqt.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 d57f7cc..96207b1 100644
--- a/examples/uimodules/uimenus.py
+++ b/examples/uimodules/uimenus.py
@@ -1,6 +1,6 @@
import os
-from qt import TQLabel
+from python_tqt.qt import TQLabel
from tdecore import TDEApplication
diff --git a/examples/uimodules/uimisc.py b/examples/uimodules/uimisc.py
index 0dd4124..9e96165 100644
--- a/examples/uimodules/uimisc.py
+++ b/examples/uimodules/uimisc.py
@@ -1,6 +1,6 @@
import os, time
-from qt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator
+from python_tqt.qt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator
from tdeui import KMessageBox, KDateValidator, KFloatValidator, KIntValidator, KLineEdit, KLed
diff --git a/examples/uimodules/uixml.py b/examples/uimodules/uixml.py
index b661ffb..b90dde9 100644
--- a/examples/uimodules/uixml.py
+++ b/examples/uimodules/uixml.py
@@ -1,6 +1,6 @@
import os
-from qt import TQLabel
+from python_tqt.qt import TQLabel
from tdecore import TDEApplication
diff --git a/examples/uitdemdi.py b/examples/uitdemdi.py
index dfcaa74..c62ceae 100644
--- a/examples/uitdemdi.py
+++ b/examples/uitdemdi.py
@@ -28,7 +28,7 @@ All is not rosy, however:
import os
import sys
-from qt import SIGNAL, TQVBoxLayout, TQLabel
+from python_tqt.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 f4cfdb1..5659b0a 100644
--- a/examples/xmlmenudemo.py
+++ b/examples/xmlmenudemo.py
@@ -41,7 +41,7 @@ True = not False
import sys, os
-from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
+from python_tqt.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,\