From a09a6bc05e3f64c27e7c84dd768c7720fdf41136 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 25 Jun 2024 12:25:06 +0900 Subject: Remove documentation for QWS classes and Qt/Embedded Signed-off-by: Michele Calgaro --- .gitignore | 1 - configure | 292 +---- doc/3rdparty.doc | 30 - doc/aboutqt.doc | 3 +- doc/accel.doc | 140 --- doc/charinput-qws.doc | 131 --- doc/embclasses.doc | 340 ------ doc/embporting.doc | 108 -- doc/envvars.doc | 115 -- doc/faq.doc | 4 +- doc/features.doc | 39 - doc/framebuffer-howto.doc | 250 ----- doc/freeeditions.doc | 2 +- doc/html/3rdparty.html | 22 - doc/html/aboutntqt.html | 3 +- doc/html/annotated.html | 16 - doc/html/canvas-example.html | 8 - doc/html/classes.html | 51 +- doc/html/emb-accel.html | 121 --- doc/html/emb-charinput.html | 111 -- doc/html/emb-classes.html | 339 ------ doc/html/emb-envvars.html | 104 -- doc/html/emb-features.html | 256 ----- doc/html/emb-fonts.html | 169 --- doc/html/emb-framebuffer-howto.html | 234 ---- doc/html/emb-install.html | 157 --- doc/html/emb-performance.html | 132 --- doc/html/emb-pointer.html | 80 -- doc/html/emb-porting.html | 64 -- doc/html/emb-running.html | 138 --- doc/html/emb-tqvfb.html | 110 -- doc/html/emb-vnc.html | 68 -- doc/html/embedporting.html | 89 -- doc/html/faq.html | 4 +- doc/html/functions.html | 310 ++---- doc/html/gpl.html | 2 +- doc/html/graphics.html | 1 - doc/html/headers.html | 14 - doc/html/hierarchy.html | 19 - doc/html/index | 210 ---- doc/html/installation.html | 1 - doc/html/license.html | 6 - doc/html/maketqpf.html | 56 - doc/html/mdi-example.html | 3 - doc/html/motif-walkthrough-10.html | 5 +- doc/html/ntqapplication.html | 45 - doc/html/ntqfont.html | 12 - doc/html/ntqpainter.html | 1 - doc/html/ntqsound.html | 2 - doc/html/ntqt.html | 1 - doc/html/opensourceedition.html | 2 +- doc/html/overviews-list.html | 20 - doc/html/plugins.html | 3 - doc/html/qapplication-h.html | 33 - doc/html/qapplication-members.html | 4 - doc/html/qbutton-members.html | 1 - doc/html/qbuttongroup-members.html | 1 - doc/html/qcheckbox-members.html | 1 - doc/html/qcolordialog-members.html | 1 - doc/html/qcombobox-members.html | 1 - doc/html/qcopchannel-members.html | 95 -- doc/html/qcopchannel.html | 178 --- doc/html/qcopchannel_qws-h.html | 133 --- doc/html/qcursor-h.html | 2 - doc/html/qdateedit-members.html | 1 - doc/html/qdatetimeedit-members.html | 1 - doc/html/qdatetimeeditbase-members.html | 1 - doc/html/qdesktopwidget-h.html | 3 - doc/html/qdesktopwidget-members.html | 1 - doc/html/qdial-members.html | 1 - doc/html/qdialog-members.html | 1 - doc/html/qdirectpainter-members.html | 141 --- doc/html/qdirectpainter.html | 201 ---- doc/html/qdirectpainter_qws-h.html | 125 --- doc/html/qdockarea-members.html | 1 - doc/html/qdockwindow-members.html | 1 - doc/html/qerrormessage-members.html | 1 - doc/html/qfiledialog-members.html | 1 - doc/html/qfont-h.html | 7 - doc/html/qfont-members.html | 1 - doc/html/qfontdatabase-h.html | 7 - doc/html/qfontdialog-members.html | 1 - doc/html/qfontmanager-members.html | 51 - doc/html/qfontmanager.html | 100 -- doc/html/qfontmanager_qws-h.html | 296 ----- doc/html/qfontmetrics-h.html | 4 - doc/html/qframe-members.html | 1 - doc/html/qgfx_qws-h.html | 493 --------- doc/html/qgfxdriverfactory-members.html | 48 - doc/html/qgfxdriverfactory.html | 78 -- doc/html/qgfxdriverfactory_qws-h.html | 101 -- doc/html/qgfxdriverplugin-members.html | 50 - doc/html/qgfxdriverplugin.html | 97 -- doc/html/qgfxdriverplugin_qws-h.html | 115 -- doc/html/qglobal-h.html | 15 +- doc/html/qglwidget-members.html | 1 - doc/html/qgrid-members.html | 1 - doc/html/qgridview-members.html | 1 - doc/html/qgroupbox-members.html | 1 - doc/html/qhbox-members.html | 1 - doc/html/qhbuttongroup-members.html | 1 - doc/html/qheader-members.html | 1 - doc/html/qhgroupbox-members.html | 1 - doc/html/qinputdialog-members.html | 1 - doc/html/qkbddriverfactory-members.html | 48 - doc/html/qkbddriverfactory.html | 79 -- doc/html/qkbddriverfactory_qws-h.html | 101 -- doc/html/qkbddriverplugin-members.html | 50 - doc/html/qkbddriverplugin.html | 96 -- doc/html/qkbddriverplugin_qws-h.html | 115 -- doc/html/qkeyboard_qws-h.html | 104 -- doc/html/qlabel-members.html | 1 - doc/html/qlcdnumber-members.html | 1 - doc/html/qlineedit-members.html | 1 - doc/html/qlistbox-members.html | 1 - doc/html/qlistview-members.html | 1 - doc/html/qmainwindow-members.html | 1 - doc/html/qmake-manual-2.html | 2 - doc/html/qmenubar-members.html | 1 - doc/html/qmessagebox-members.html | 1 - doc/html/qmotifdialog-members.html | 1 - doc/html/qmotifwidget-members.html | 1 - doc/html/qmouse_qws-h.html | 146 --- doc/html/qmousedriverfactory-members.html | 48 - doc/html/qmousedriverfactory.html | 79 -- doc/html/qmousedriverfactory_qws-h.html | 101 -- doc/html/qmousedriverplugin-members.html | 50 - doc/html/qmousedriverplugin.html | 97 -- doc/html/qmousedriverplugin_qws-h.html | 115 -- doc/html/qmovie-h.html | 5 - doc/html/qmultilineedit-members.html | 1 - doc/html/qnamespace-h.html | 2 - doc/html/qnpwidget-members.html | 1 - doc/html/qpaintdevice-h.html | 16 - doc/html/qpainter-h.html | 23 - doc/html/qpixmap-h.html | 16 +- doc/html/qpopupmenu-members.html | 1 - doc/html/qprinter-h.html | 2 +- doc/html/qprogressbar-members.html | 1 - doc/html/qprogressdialog-members.html | 1 - doc/html/qpushbutton-members.html | 1 - doc/html/qradiobutton-members.html | 1 - doc/html/qregion-h.html | 5 - doc/html/qscreen-members.html | 88 -- doc/html/qscreen.html | 440 -------- doc/html/qscrollbar-members.html | 1 - doc/html/qscrollview-members.html | 1 - doc/html/qsizegrip-members.html | 1 - doc/html/qslider-members.html | 1 - doc/html/qspinbox-members.html | 1 - doc/html/qsplashscreen-members.html | 1 - doc/html/qsplitter-members.html | 1 - doc/html/qstatusbar-members.html | 1 - doc/html/qt.dcf | 290 ----- doc/html/qtabbar-members.html | 1 - doc/html/qtabdialog-members.html | 1 - doc/html/qtable-members.html | 1 - doc/html/qtabwidget-members.html | 1 - doc/html/qtimeedit-members.html | 1 - doc/html/qtoolbar-members.html | 1 - doc/html/qtoolbox-members.html | 1 - doc/html/qtoolbutton-members.html | 1 - doc/html/qvbox-members.html | 1 - doc/html/qvbuttongroup-members.html | 1 - doc/html/qvgroupbox-members.html | 1 - doc/html/qwindowdefs-h.html | 8 - doc/html/qwindowsystem_qws-h.html | 621 ----------- doc/html/qwizard-members.html | 1 - doc/html/qworkspace-members.html | 1 - doc/html/qws.html | 55 - doc/html/qwsdecoration-members.html | 55 - doc/html/qwsdecoration.html | 160 --- doc/html/qwsdecoration_qws-h.html | 118 -- doc/html/qwsinputmethod-members.html | 53 - doc/html/qwsinputmethod.html | 133 --- doc/html/qwskeyboardhandler-members.html | 91 -- doc/html/qwskeyboardhandler.html | 106 -- doc/html/qwsmousehandler-members.html | 53 - doc/html/qwsmousehandler.html | 113 -- doc/html/qwsserver-members.html | 77 -- doc/html/qwsserver.html | 344 ------ doc/html/qwswindow-members.html | 62 -- doc/html/qwswindow.html | 171 --- doc/html/qxtwidget-members.html | 1 - doc/html/splitter-example.html | 4 - doc/html/titleindex | 64 -- doc/html/tools-list.html | 4 - doc/html/tqcanvasview-members.html | 1 - doc/html/tqdatabrowser-members.html | 1 - doc/html/tqdatatable-members.html | 1 - doc/html/tqdataview-members.html | 1 - doc/html/tqiconview-members.html | 1 - doc/html/tqimage-h.html | 9 - doc/html/tqimage.html | 33 +- doc/html/tqobject.html | 2 +- doc/html/tqtextbrowser-members.html | 1 - doc/html/tqtextedit-members.html | 1 - doc/html/tqtextview-members.html | 1 - doc/html/tqwidget-h.html | 51 +- doc/html/tqwidget-members.html | 1 - doc/html/tqwidget.html | 12 - doc/html/tqwidgetstack-members.html | 1 - doc/html/troll.html | 4 - doc/html/whatsthis | 16 - doc/html/winsystem.html | 18 - doc/indices.doc | 7 - doc/installation.doc | 1 - doc/maketqpf.doc | 58 - doc/man/README | 2 - doc/man/man1/maketqpf.1 | 33 - doc/man/man1/tqvfb.1 | 66 -- doc/man/man3/TQCopChannel.3qt | 1 - doc/man/man3/TQDirectPainter.3qt | 1 - doc/man/man3/TQFontManager.3qt | 1 - doc/man/man3/TQGfxDriverFactory.3qt | 1 - doc/man/man3/TQGfxDriverPlugin.3qt | 1 - doc/man/man3/TQKbdDriverFactory.3qt | 1 - doc/man/man3/TQKbdDriverPlugin.3qt | 1 - doc/man/man3/TQMouseDriverFactory.3qt | 1 - doc/man/man3/TQMouseDriverPlugin.3qt | 1 - doc/man/man3/TQScreen.3qt | 1 - doc/man/man3/TQWSDecoration.3qt | 1 - doc/man/man3/TQWSInputMethod.3qt | 1 - doc/man/man3/TQWSKeyboardHandler.3qt | 1 - doc/man/man3/TQWSMouseHandler.3qt | 1 - doc/man/man3/TQWSServer.3qt | 1 - doc/man/man3/TQWSWindow.3qt | 1 - doc/man/man3/tqapplication.3qt | 42 +- doc/man/man3/tqcopchannel.3qt | 170 --- doc/man/man3/tqdirectpainter.3qt | 178 --- doc/man/man3/tqfont.3qt | 9 - doc/man/man3/tqfontmanager.3qt | 76 -- doc/man/man3/tqgfxdriverfactory.3qt | 59 - doc/man/man3/tqgfxdriverplugin.3qt | 78 -- doc/man/man3/tqimage.3qt | 22 +- doc/man/man3/tqkbddriverfactory.3qt | 59 - doc/man/man3/tqkbddriverplugin.3qt | 78 -- doc/man/man3/tqmousedriverfactory.3qt | 59 - doc/man/man3/tqmousedriverplugin.3qt | 78 -- doc/man/man3/tqobject.3qt | 2 +- doc/man/man3/tqpainter.3qt | 2 - doc/man/man3/tqscreen.3qt | 329 ------ doc/man/man3/tqsound.3qt | 2 - doc/man/man3/tqt.3qt | 2 - doc/man/man3/tqwidget.3qt | 11 - doc/man/man3/tqwsdecoration.3qt | 156 --- doc/man/man3/tqwsinputmethod.3qt | 105 -- doc/man/man3/tqwskeyboardhandler.3qt | 77 -- doc/man/man3/tqwsmousehandler.3qt | 89 -- doc/man/man3/tqwsserver.3qt | 311 ------ doc/man/man3/tqwswindow.3qt | 140 --- doc/misc.doc | 22 +- doc/overviews-list.doc | 21 - doc/qws.doc | 670 ------------ doc/tools-list.doc | 4 - doc/tqvfb.doc | 119 -- doc/winsystem.doc | 17 - examples/README | 9 - examples/canvas/canvas.cpp | 8 - examples/mdi/application.cpp | 3 - examples/splitter/splitter.cpp | 4 - include/ntqvfbhdr.h | 1 - include/private/qgfxdriverinterface_p.h | 1 - include/private/qkbddriverinterface_p.h | 1 - include/private/qlock_p.h | 1 - include/private/qmousedriverinterface_p.h | 1 - include/private/qsharedmemory_p.h | 1 - plugins/src/src.pro | 2 - qmake/book/qmake-install.leaf | 6 - qmake/generators/mac/metrowerks_xml.cpp | 6 +- src/codecs/tqtextcodec.cpp | 61 -- src/dialogs/qmessagebox.cpp | 6 +- src/embedded/qgfxdriverinterface_p.h | 74 -- src/embedded/qkbddriverinterface_p.h | 74 -- src/embedded/qmousedriverinterface_p.h | 74 -- src/embedded/qt_embedded.pri | 192 ---- src/kernel/ntqapplication.h | 37 - src/kernel/ntqcursor.h | 2 - src/kernel/ntqdesktopwidget.h | 3 - src/kernel/ntqfont.h | 7 - src/kernel/ntqfontdatabase.h | 8 - src/kernel/ntqfontmetrics.h | 4 - src/kernel/ntqmovie.h | 5 - src/kernel/ntqnamespace.h | 7 +- src/kernel/ntqpaintdevice.h | 16 - src/kernel/ntqpainter.h | 23 - src/kernel/ntqpixmap.h | 16 +- src/kernel/ntqprinter.h | 2 +- src/kernel/ntqregion.h | 5 - src/kernel/ntqt.h | 46 - src/kernel/ntqvfbhdr.h | 71 -- src/kernel/ntqwindowdefs.h | 8 - src/kernel/qapplication.cpp | 10 +- src/kernel/qclipboard.cpp | 1 - src/kernel/qeventloop_glib_p.h | 4 - src/kernel/qeventloop_unix_glib.cpp | 4 - src/kernel/qfont.cpp | 49 +- src/kernel/qfontdata_p.h | 5 +- src/kernel/qfontdatabase.cpp | 8 +- src/kernel/qfontengine_p.h | 68 -- src/kernel/qinputcontext.cpp | 9 +- src/kernel/qinputcontext_p.h | 12 - src/kernel/qinternal.cpp | 4 +- src/kernel/qkeysequence.cpp | 2 +- src/kernel/qlock.cpp | 298 ----- src/kernel/qlock_p.h | 99 -- src/kernel/qmovie.cpp | 36 - src/kernel/qpainter.cpp | 62 +- src/kernel/qprinter_unix.cpp | 4 - src/kernel/qpsprinter.cpp | 10 +- src/kernel/qregion_x11.cpp | 2 - src/kernel/qrichtext.cpp | 2 - src/kernel/qscriptengine.cpp | 2 - src/kernel/qsharedmemory_p.cpp | 169 --- src/kernel/qsharedmemory_p.h | 95 -- src/kernel/qsound.cpp | 3 - src/kernel/qt_kernel.pri | 4 - src/kernel/tqimage.cpp | 158 +-- src/kernel/tqimage.h | 9 - src/kernel/tqtextengine.cpp | 2 +- src/kernel/tqtextengine_p.h | 2 +- src/kernel/tqwidget.cpp | 45 +- src/kernel/tqwidget.h | 51 +- src/kernel/tqwidget_p.h | 2 +- src/network/qftp.cpp | 2 - src/qt.pro | 12 +- src/table/qtable.cpp | 5 - src/tools/ntqfeatures.h | 146 +-- src/tools/ntqglobal.h | 15 +- src/tools/qconfig-large.h | 2 - src/tools/qconfig-medium.h | 11 - src/tools/qconfig-minimal.h | 13 - src/tools/qconfig-small.h | 16 - src/tools/qfeatures.txt | 233 +--- src/tools/qfileinfo_unix.cpp | 6 +- src/tools/qglobal.cpp | 6 +- src/tools/qlocale.cpp | 4 +- src/tools/qsettings.cpp | 46 +- src/tools/qsettings_p.h | 2 +- src/tools/tqstring.cpp | 6 - src/widgets/qmainwindow.cpp | 1 - tools/designer/uic/embed.cpp | 7 - tools/maketqpf/main.cpp | 320 ------ tools/maketqpf/makeall | 4 - tools/maketqpf/maketqpf.pro | 10 - tools/tools.pro | 1 - tools/tqvfb/LICENSE.GPL | 280 ----- tools/tqvfb/README | 55 - tools/tqvfb/config.ui | 1684 ----------------------------- tools/tqvfb/gammaview.h | 49 - tools/tqvfb/images/logo.png | Bin 714 -> 0 bytes tools/tqvfb/main.cpp | 97 -- tools/tqvfb/pda.skin | 15 - tools/tqvfb/pda_down.png | Bin 95014 -> 0 bytes tools/tqvfb/pda_up.png | Bin 93354 -> 0 bytes tools/tqvfb/qanimationwriter.cpp | 421 -------- tools/tqvfb/qanimationwriter.h | 59 - tools/tqvfb/skin.cpp | 174 --- tools/tqvfb/skin.h | 78 -- tools/tqvfb/tqvfb.cpp | 389 ------- tools/tqvfb/tqvfb.h | 91 -- tools/tqvfb/tqvfb.pro | 11 - tools/tqvfb/tqvfbratedlg.cpp | 80 -- tools/tqvfb/tqvfbratedlg.h | 59 - tools/tqvfb/tqvfbview.cpp | 615 ----------- tools/tqvfb/tqvfbview.h | 126 --- translations/qt_ar.ts | 53 +- translations/qt_ca.ts | 56 +- translations/qt_cs.ts | 58 +- translations/qt_de.ts | 70 +- translations/qt_es.ts | 55 +- translations/qt_fr.ts | 70 +- translations/qt_he.ts | 68 +- translations/qt_it.ts | 55 +- translations/qt_ja.ts | 55 +- translations/qt_nb.ts | 55 +- translations/qt_pt-br.ts | 55 +- translations/qt_pt.ts | 55 +- translations/qt_ru.ts | 55 +- translations/qt_sk.ts | 56 +- translations/qt_tr.ts | 53 +- translations/qt_zh-cn.ts | 55 +- translations/qt_zh-tw.ts | 55 +- translations/template.ts | 53 +- 384 files changed, 290 insertions(+), 22531 deletions(-) delete mode 100644 doc/accel.doc delete mode 100644 doc/charinput-qws.doc delete mode 100644 doc/embclasses.doc delete mode 100644 doc/embporting.doc delete mode 100644 doc/envvars.doc delete mode 100644 doc/framebuffer-howto.doc delete mode 100644 doc/html/emb-accel.html delete mode 100644 doc/html/emb-charinput.html delete mode 100644 doc/html/emb-classes.html delete mode 100644 doc/html/emb-envvars.html delete mode 100644 doc/html/emb-features.html delete mode 100644 doc/html/emb-fonts.html delete mode 100644 doc/html/emb-framebuffer-howto.html delete mode 100644 doc/html/emb-install.html delete mode 100644 doc/html/emb-performance.html delete mode 100644 doc/html/emb-pointer.html delete mode 100644 doc/html/emb-porting.html delete mode 100644 doc/html/emb-running.html delete mode 100644 doc/html/emb-tqvfb.html delete mode 100644 doc/html/emb-vnc.html delete mode 100644 doc/html/embedporting.html delete mode 100644 doc/html/maketqpf.html delete mode 100644 doc/html/qcopchannel-members.html delete mode 100644 doc/html/qcopchannel.html delete mode 100644 doc/html/qcopchannel_qws-h.html delete mode 100644 doc/html/qdirectpainter-members.html delete mode 100644 doc/html/qdirectpainter.html delete mode 100644 doc/html/qdirectpainter_qws-h.html delete mode 100644 doc/html/qfontmanager-members.html delete mode 100644 doc/html/qfontmanager.html delete mode 100644 doc/html/qfontmanager_qws-h.html delete mode 100644 doc/html/qgfx_qws-h.html delete mode 100644 doc/html/qgfxdriverfactory-members.html delete mode 100644 doc/html/qgfxdriverfactory.html delete mode 100644 doc/html/qgfxdriverfactory_qws-h.html delete mode 100644 doc/html/qgfxdriverplugin-members.html delete mode 100644 doc/html/qgfxdriverplugin.html delete mode 100644 doc/html/qgfxdriverplugin_qws-h.html delete mode 100644 doc/html/qkbddriverfactory-members.html delete mode 100644 doc/html/qkbddriverfactory.html delete mode 100644 doc/html/qkbddriverfactory_qws-h.html delete mode 100644 doc/html/qkbddriverplugin-members.html delete mode 100644 doc/html/qkbddriverplugin.html delete mode 100644 doc/html/qkbddriverplugin_qws-h.html delete mode 100644 doc/html/qkeyboard_qws-h.html delete mode 100644 doc/html/qmouse_qws-h.html delete mode 100644 doc/html/qmousedriverfactory-members.html delete mode 100644 doc/html/qmousedriverfactory.html delete mode 100644 doc/html/qmousedriverfactory_qws-h.html delete mode 100644 doc/html/qmousedriverplugin-members.html delete mode 100644 doc/html/qmousedriverplugin.html delete mode 100644 doc/html/qmousedriverplugin_qws-h.html delete mode 100644 doc/html/qscreen-members.html delete mode 100644 doc/html/qscreen.html delete mode 100644 doc/html/qwindowsystem_qws-h.html delete mode 100644 doc/html/qws.html delete mode 100644 doc/html/qwsdecoration-members.html delete mode 100644 doc/html/qwsdecoration.html delete mode 100644 doc/html/qwsdecoration_qws-h.html delete mode 100644 doc/html/qwsinputmethod-members.html delete mode 100644 doc/html/qwsinputmethod.html delete mode 100644 doc/html/qwskeyboardhandler-members.html delete mode 100644 doc/html/qwskeyboardhandler.html delete mode 100644 doc/html/qwsmousehandler-members.html delete mode 100644 doc/html/qwsmousehandler.html delete mode 100644 doc/html/qwsserver-members.html delete mode 100644 doc/html/qwsserver.html delete mode 100644 doc/html/qwswindow-members.html delete mode 100644 doc/html/qwswindow.html delete mode 100644 doc/maketqpf.doc delete mode 100644 doc/man/man1/maketqpf.1 delete mode 100644 doc/man/man1/tqvfb.1 delete mode 100644 doc/man/man3/TQCopChannel.3qt delete mode 100644 doc/man/man3/TQDirectPainter.3qt delete mode 100644 doc/man/man3/TQFontManager.3qt delete mode 100644 doc/man/man3/TQGfxDriverFactory.3qt delete mode 100644 doc/man/man3/TQGfxDriverPlugin.3qt delete mode 100644 doc/man/man3/TQKbdDriverFactory.3qt delete mode 100644 doc/man/man3/TQKbdDriverPlugin.3qt delete mode 100644 doc/man/man3/TQMouseDriverFactory.3qt delete mode 100644 doc/man/man3/TQMouseDriverPlugin.3qt delete mode 100644 doc/man/man3/TQScreen.3qt delete mode 100644 doc/man/man3/TQWSDecoration.3qt delete mode 100644 doc/man/man3/TQWSInputMethod.3qt delete mode 100644 doc/man/man3/TQWSKeyboardHandler.3qt delete mode 100644 doc/man/man3/TQWSMouseHandler.3qt delete mode 100644 doc/man/man3/TQWSServer.3qt delete mode 100644 doc/man/man3/TQWSWindow.3qt delete mode 100644 doc/man/man3/tqcopchannel.3qt delete mode 100644 doc/man/man3/tqdirectpainter.3qt delete mode 100644 doc/man/man3/tqfontmanager.3qt delete mode 100644 doc/man/man3/tqgfxdriverfactory.3qt delete mode 100644 doc/man/man3/tqgfxdriverplugin.3qt delete mode 100644 doc/man/man3/tqkbddriverfactory.3qt delete mode 100644 doc/man/man3/tqkbddriverplugin.3qt delete mode 100644 doc/man/man3/tqmousedriverfactory.3qt delete mode 100644 doc/man/man3/tqmousedriverplugin.3qt delete mode 100644 doc/man/man3/tqscreen.3qt delete mode 100644 doc/man/man3/tqwsdecoration.3qt delete mode 100644 doc/man/man3/tqwsinputmethod.3qt delete mode 100644 doc/man/man3/tqwskeyboardhandler.3qt delete mode 100644 doc/man/man3/tqwsmousehandler.3qt delete mode 100644 doc/man/man3/tqwsserver.3qt delete mode 100644 doc/man/man3/tqwswindow.3qt delete mode 100644 doc/qws.doc delete mode 100644 doc/tqvfb.doc delete mode 120000 include/ntqvfbhdr.h delete mode 120000 include/private/qgfxdriverinterface_p.h delete mode 120000 include/private/qkbddriverinterface_p.h delete mode 120000 include/private/qlock_p.h delete mode 120000 include/private/qmousedriverinterface_p.h delete mode 120000 include/private/qsharedmemory_p.h delete mode 100644 src/embedded/qgfxdriverinterface_p.h delete mode 100644 src/embedded/qkbddriverinterface_p.h delete mode 100644 src/embedded/qmousedriverinterface_p.h delete mode 100644 src/embedded/qt_embedded.pri delete mode 100644 src/kernel/ntqvfbhdr.h delete mode 100644 src/kernel/qlock.cpp delete mode 100644 src/kernel/qlock_p.h delete mode 100644 src/kernel/qsharedmemory_p.cpp delete mode 100644 src/kernel/qsharedmemory_p.h delete mode 100644 tools/maketqpf/main.cpp delete mode 100755 tools/maketqpf/makeall delete mode 100644 tools/maketqpf/maketqpf.pro delete mode 100644 tools/tqvfb/LICENSE.GPL delete mode 100644 tools/tqvfb/README delete mode 100644 tools/tqvfb/config.ui delete mode 100644 tools/tqvfb/gammaview.h delete mode 100644 tools/tqvfb/images/logo.png delete mode 100644 tools/tqvfb/main.cpp delete mode 100644 tools/tqvfb/pda.skin delete mode 100644 tools/tqvfb/pda_down.png delete mode 100644 tools/tqvfb/pda_up.png delete mode 100644 tools/tqvfb/qanimationwriter.cpp delete mode 100644 tools/tqvfb/qanimationwriter.h delete mode 100644 tools/tqvfb/skin.cpp delete mode 100644 tools/tqvfb/skin.h delete mode 100644 tools/tqvfb/tqvfb.cpp delete mode 100644 tools/tqvfb/tqvfb.h delete mode 100644 tools/tqvfb/tqvfb.pro delete mode 100644 tools/tqvfb/tqvfbratedlg.cpp delete mode 100644 tools/tqvfb/tqvfbratedlg.h delete mode 100644 tools/tqvfb/tqvfbview.cpp delete mode 100644 tools/tqvfb/tqvfbview.h diff --git a/.gitignore b/.gitignore index c69cfd5aa..d8be3906d 100644 --- a/.gitignore +++ b/.gitignore @@ -295,7 +295,6 @@ Makefile /tools/linguist/tutorial/tt1/tt1 /tools/linguist/tutorial/tt2/tt2 /tools/linguist/tutorial/tt3/tt3 -/tools/maketqpf/maketqpf /tools/msg2tqm/msg2tqm /tools/qconfig/qconfig /tools/qembed/tqembed diff --git a/configure b/configure index 1da0a59ef..3d672e59e 100755 --- a/configure +++ b/configure @@ -46,7 +46,6 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown PLATFORM_X11=no PLATFORM_MAC=no -PLATFORM_QWS=no PLATFORM_QNX=no if [ -f $relpath/src/kernel/qapplication_mac.cpp ] && [ -d /System/Library/Frameworks/Carbon.framework ]; then @@ -55,17 +54,6 @@ if [ -f $relpath/src/kernel/qapplication_mac.cpp ] && [ -d /System/Library/Frame # ~ src/kernel/qapplication_mac.cpp is present # ~ this is the internal edition and Qt/Mac sources exist PLATFORM_MAC=maybe -elif [ -f $relpath/src/kernel/qapplication_qws.cpp ]; then - # Qt/Embedded - # ~ src/kernel/qapplication_qws.cpp is present - # ~ this is the open source or commercial edition - # ~ this is the internal edition and Qt/Embedded is explicitly enabled - # ~ this is the internal edition and the OS is QNX - if [ "$UNAME_SYSTEM" = "QNX" ]; then - PLATFORM_QNX=maybe - else - PLATFORM_QWS=maybe - fi fi @@ -73,7 +61,6 @@ fi # Free license only: no check for other licenses #------------------------------------------------------------------------------- [ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes -[ "$PLATFORM_QWS" = "maybe" ] && PLATFORM_QWS=yes Edition="free" Licensee="Free" Products="qt-free" @@ -100,7 +87,6 @@ CFG_PROFILE=no CFG_EXCEPTION_SUPPORT=unspecified CFG_INCREMENTAL=auto CFG_QCONFIG=full -CFG_EMBEDDED=no CFG_DEBUG=no CFG_SHARED=yes CFG_GIF=no @@ -120,10 +106,8 @@ CFG_XCURSOR=auto CFG_XRANDR=auto CFG_XRENDER=auto CFG_FREETYPE=auto -CFG_QWS_FREETYPE=yes CFG_SQL_AVAILABLE= CFG_SQL_AUTODETECTED= -CFG_GFX_AVAILABLE= CFG_STYLE_AVAILABLE= #Keep this position for CFG_IM* to avoid patch rejection CFG_IM=yes @@ -138,7 +122,6 @@ CFG_STL=auto CFG_PRECOMPILE=no CFG_IPV6=auto CFG_NAS=no -CFG_QWS_DEPTHS=prompted CFG_USER_BUILD_KEY= CFG_ACCESSIBILITY=auto CFG_DLOPEN_OPENGL=no @@ -226,22 +209,12 @@ while [ "$#" -gt 0 ]; do VAL=no ;; #Qt style yes options - -incremental|-tqvfb|-profile|-shared|-static|-sm|-thread|-xinerama|-xshape|-tablet|-pch|-stl|-ipv6|-freetype|-big-codecs|-xcursor|-xrandr|-xrender|-xft|-xkb|-nis|-cups|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-version-script|-dlopen-opengl|-glibmainloop) + -incremental|-profile|-shared|-static|-sm|-thread|-xinerama|-xshape|-tablet|-pch|-stl|-ipv6|-big-codecs|-xcursor|-xrandr|-xrender|-xft|-xkb|-nis|-cups|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-version-script|-dlopen-opengl|-glibmainloop) VAR=`echo $1 | sed "s,^-\(.*\),\1,"` VAL=yes ;; #Qt style options that pass an argument - -qconfig) - if [ "$PLATFORM_QWS" = "yes" ]; then - CFG_QCONFIG="$VAL" - VAR=`echo $1 | sed "s,^-\(.*\),\1,"` - shift - VAL=$1 - else - UNKNOWN_ARG=yes - fi - ;; - -prefix|-sysshare|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey) + -prefix|-sysshare|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-make|-nomake|-platform|-xplatform|-buildkey) VAR=`echo $1 | sed "s,^-\(.*\),\1,"` shift VAL=$1 @@ -267,16 +240,6 @@ while [ "$#" -gt 0 ]; do VAR=`echo $1 | sed "s,^-\(.*\),\1,"` VAL=yes ;; - -embedded) - VAR=embedded - # this option may or may not be followed by an argument - if [ -z $2 ] || echo $2 | grep '^-' >/dev/null 2>&1; then - VAL=auto - else - shift; - VAL=$1 - fi - ;; -*-endian) VAR=endian VAL=`echo $1 | sed "s,^-\(.*\)-.*,\1,"` @@ -383,19 +346,6 @@ while [ "$#" -gt 0 ]; do buildkey) CFG_USER_BUILD_KEY="$VAL" ;; - embedded) - CFG_EMBEDDED="$VAL" - if [ "$PLATFORM_QNX" != "no" -o "$PLATFORM_QWS" != "no" ]; then - if [ "$PLATFORM_QNX" = "maybe" ]; then - PLATFORM_QNX=yes - elif [ "$PLATFORM_QWS" = "maybe" ]; then - PLATFORM_QWS=yes - fi - else - echo "No license exists to enable Qt/Embedded. Disabling." - CFG_EMBEDDED=no - fi - ;; endian) if [ "$VAL" = "little" ]; then CFG_ENDIAN="TQ_LITTLE_ENDIAN" @@ -405,16 +355,6 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; - depths) - CFG_QWS_DEPTHS="$VAL" - ;; - tqvfb) # left for commandline compatibility, not documented - if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then - [ "$VAL" = "yes" ] && QMAKE_VARS="$QMAKE_VARS \"gfx-drivers += tqvfb\"" - else - UNKNOWN_OPT=yes - fi - ;; nomake) QMAKE_IGNORE_PROJECTS="$QMAKE_IGNORE_PROJECTS $VAL" ;; @@ -433,8 +373,6 @@ while [ "$#" -gt 0 ]; do if [ "$Edition" = "troll" ] && [ "$VAL" = "yes" ]; then if [ "$PLATFORM_MAC" = "yes" ]; then PLATFORM_MAC=no - elif [ "$PLATFORM_QWS" = "yes" ]; then - PLATFORM_QWS=no fi PLATFORM_X11=yes else @@ -623,13 +561,6 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; - freetype) - if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then - CFG_QWS_FREETYPE="$VAL" - else - UNKNOWN_OPT=yes - fi - ;; zlib) [ "$VAL" = "qt" ] && VAL=yes if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "system" ]; then @@ -785,7 +716,7 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; - imgfmt-*|style-*|sql-*|gfx-*|kbd-*|mouse-*) + imgfmt-*|style-*|sql-*|kbd-*|mouse-*) # if TQt style options were used, $VAL can be "no", "qt", or "plugin" # if autoconf style options were used, $VAL can be "yes" or "no" [ "$VAL" = "yes" ] && VAL=qt @@ -831,14 +762,14 @@ while [ "$#" -gt 0 ]; do [ "$VAR" = "style" ] && QMAKE_VARS="$QMAKE_VARS \"${VAR}s -= $VAL\"" VAR="${VAR}-${OPT}" else - if [ "$VAR" = "sql" ] || [ "$VAR" = "gfx" ] || [ "$VAR" = "kbd" ] || [ "$VAR" = "mouse" ]; then + if [ "$VAR" = "sql" ] || [ "$VAR" = "kbd" ] || [ "$VAR" = "mouse" ]; then VAR="${VAR}-driver" fi fi QMAKE_VARS="$QMAKE_VARS \"${VAR}s += $VAL\"" elif [ "$OPT" = "no" ]; then PLUG_VAR="${VAR}-plugin" - if [ "$VAR" = "sql" ] || [ "$VAR" = "gfx" ] || [ "$VAR" = "kbd" ] || [ "$VAR" = "mouse" ]; then + if [ "$VAR" = "sql" ] || [ "$VAR" = "kbd" ] || [ "$VAR" = "mouse" ]; then IN_VAR="${VAR}-driver" else IN_VAR="${VAR}" @@ -1029,9 +960,7 @@ fi #detect how mng should be built if [ "$CFG_MNG" = "auto" ]; then - if [ "$CFG_EMBEDDED" = "yes" ]; then - CFG_MNG=no - elif [ "$CFG_SHARED" = "yes" ]; then + if [ "$CFG_SHARED" = "yes" ]; then CFG_MNG=plugin else CFG_MNG=yes @@ -1040,9 +969,7 @@ fi #detect how jpeg should be built if [ "$CFG_JPEG" = "auto" ]; then - if [ "$CFG_EMBEDDED" = "yes" ]; then - CFG_JPEG=no - elif [ "$CFG_MNG" = "yes" ]; then + if [ "$CFG_MNG" = "yes" ]; then CFG_JPEG=yes elif [ "$CFG_SHARED" = "yes" ]; then CFG_JPEG=plugin @@ -1186,88 +1113,18 @@ fi ### help # auto-detect all that hasn't been specified in the arguments #------------------------------------------------------------------------------- -[ "$PLATFORM_QWS" = "yes" -a "$CFG_EMBEDDED" = "no" ] && CFG_EMBEDDED=auto -if [ "$CFG_EMBEDDED" != "no" ]; then - case "$UNAME_SYSTEM:$UNAME_RELEASE" in - QNX:*) - [ -z "$PLATFORM" ] && PLATFORM=qws/qnx-rtp-g++ -# [ "$CFG_EMBEDDED" = "qnx4" ] && PLATFORM_QNX=qws/qnx4-cc - if [ -z "$XPLATFORM" ]; then - [ "$CFG_EMBEDDED" = "auto" ] && CFG_EMBEDDED=generic - XPLATFORM="$PLATFORM" - fi - CFG_STL=no - CFG_QWS_QVFB=no - ;; - Darwin:*) - [ -z "$PLATFORM" ] && PLATFORM=qws/macx-generic-g++ - if [ -z "$XPLATFORM" ]; then - [ "$CFG_EMBEDDED" = "auto" ] && CFG_EMBEDDED=generic - XPLATFORM="qws/macx-$CFG_EMBEDDED-g++" - fi - ;; - FreeBSD:*) - [ -z "$PLATFORM" ] && PLATFORM=qws/freebsd-generic-g++ - if [ -z "$XPLATFORM" ]; then - [ "$CFG_EMBEDDED" = "auto" ] && CFG_EMBEDDED=generic - XPLATFORM="qws/freebsd-$CFG_EMBEDDED-g++" - fi - ;; - SunOS:5*) - [ -z "$PLATFORM" ] && PLATFORM=qws/solaris-generic-g++ - if [ -z "$XPLATFORM" ]; then - [ "$CFG_EMBEDDED" = "auto" ] && CFG_EMBEDDED=generic - XPLATFORM="qws/solaris-$CFG_EMBEDDED-g++" - fi - ;; - Linux:*|GNU:*|GNU/*:*) - if [ -z "$PLATFORM" ]; then - case "$UNAME_MACHINE" in - *86) - PLATFORM=qws/linux-x86-g++ - ;; - *) - PLATFORM=qws/linux-generic-g++ - ;; - esac - fi - if [ -z "$XPLATFORM" ]; then - if [ "$CFG_EMBEDDED" = "auto" ]; then - case "$UNAME_MACHINE" in - *86) - CFG_EMBEDDED=x86 - ;; - *) - CFG_EMBEDDED=generic - ;; - esac - fi - XPLATFORM="qws/linux-$CFG_EMBEDDED-g++" - fi - ;; - *) - echo "Qt/Embedded is not supported on this platform. Disabling." - CFG_EMBEDDED=no - PLATFORM_QWS=no - PLATFORM_QNX=no - ;; - esac -fi if [ -z "$PLATFORM" ]; then PLATFORM_NOTES= case "$UNAME_SYSTEM:$UNAME_RELEASE" in Darwin:*) if [ "$PLATFORM_MAC" = "yes" ]; then PLATFORM=macx-g++ - # PLATFORM=macx-pbuilder else PLATFORM=darwin-g++ fi ;; AIX:*) - #PLATFORM=aix-g++ PLATFORM=aix-xlc - #PLATFORM=aix-xlc-64 PLATFORM_NOTES=" - Also available for AIX: aix-g++ aix-xlc-64 " @@ -1278,9 +1135,6 @@ if [ -z "$PLATFORM" ]; then dgux:*) PLATFORM=dgux-g++ ;; -# DYNIX/ptx:4*) -# PLATFORM=dynix-g++ -# ;; ULTRIX:*) PLATFORM=ultrix-g++ ;; @@ -1389,13 +1243,7 @@ if [ -z "$PLATFORM" ]; then esac fi -if [ "$PLATFORM_QWS" = "yes" -o "$PLATFORM_QNX" = "yes" ]; then - CFG_SM=no - MODULES=`echo $MODULES | sed -e 's/opengl//'` - PLATFORMS=`find $relpath/mkspecs/qws | sed "s,$relpath/mkspecs/qws/,,"` -else - PLATFORMS=`find $relpath/mkspecs/ -type f | grep -v qws | sed "s,$relpath/mkspecs/qws/,,"` -fi +PLATFORMS=`find $relpath/mkspecs/ -type f` ##if [ "$OPT_CONCURRENT" = "0" ] && echo $MAKEFLAGS | grep '.* *-j[0-9]* *.*' >/dev/null 2>&1; then # OPT_CONCURRENT=`echo $MAKEFLAGS | sed "s,.* *-j\([0-9]*\) *.*,\1,"` @@ -1462,7 +1310,6 @@ fi # now look at the configs and figure out what platform we are config'd for [ '!' -z "`grep QMAKE_LIBS_X11 $XQMAKESPEC/qmake.conf | awk '{print $3;}'`" ] && PLATFORM_X11=yes -### echo "$XQMAKESPEC" | grep mkspecs/qws >/dev/null 2>&1 && PLATFORM_QWS=yes # find default thread option for target if grep >/dev/null '^QMAKE_LIBS_THREAD' $XQMAKESPEC/qmake.conf; then @@ -1785,11 +1632,6 @@ if [ "$PLATFORM_X11" = "yes" ]; then fi # embedded graphics -if [ "$PLATFORM_QWS" = "yes" ]; then - CFG_GFX_AVAILABLE=`find $relpath/plugins/src/gfxdrivers/* -prune -type d -print | awk -F/ '{print $NF}'` - CFG_GFX_AVAILABLE=`echo $CFG_GFX_AVAILABLE` -fi - # immodule extensions if [ "$CFG_IM" = "no" ]; then CFG_IM_EXT=no @@ -2172,53 +2014,6 @@ Qt/X11 only: $IXY -inputmethod-ext ... Compile more immodule extensions support. (breaks ABI with standard TQt3). -EOF -fi - -if [ "$PLATFORM_QWS" = "yes" -o "$PLATFORM_QNX" = "yes" ]; then - cat << EOF - -Qt/Embedded only: - - -embedded arch...... This will enable the embedded build, you must have a - proper license for this switch to work. - - -little-endian ..... Target platform is little endian (LSB first). - -big-endian ........ Target platform is big endian (MSB first). - - You only need to specify the endianness when - cross-compiling, otherwise the host - endianness will be used. - - -no-freetype ....... Qt/Embedded only: do not compile in FreeType2 support. - * -freetype .......... Qt/Embedded only: add FreeType2 font support. - - -no-zlib ........... No compression library -- implies -no-libpng - - -qconfig local ..... Use src/tools/qconfig-local.h rather than the - default ($CFG_QCONFIG). - - -depths list ....... Comma-separated list of supported bit-per-pixel - depths, from: 4, 8, 16, 24, and 32. - (8bpp is required by the VGA16 driver) - - -qt-gfx- ... Enable a graphics in the TQt Library. - -plugin-gfx- Enable graphics as a plugin to be - linked to at run time. - -no-gfx- ... Disable graphics entirely. - - Possible values for : [ $CFG_GFX_AVAILABLE ] - - -qt-kbd- ... Enable a keyboard in the TQt Library. - -no-kbd- ... Disable keyboard entirely. - - Possible values for : [ sl5000 tty usb yopy vr41xx ] - - -qt-mouse- . Enable a mouse in the TQt Library. - -no-mouse- . Disable mouse entirely. - - Possible values for : [ pc bus linuxtp yopy vr41xx ] - EOF fi @@ -2232,9 +2027,7 @@ fi # ----------------------------------------------------------------------------- echo -if [ "$PLATFORM_QWS" = "yes" ]; then - echo "This is the Qt/Embedded Open Source Edition." -elif [ "$PLATFORM_MAC" = "yes" ]; then +if [ "$PLATFORM_MAC" = "yes" ]; then echo "This is the Qt/Mac Open Source Edition." elif [ "$PLATFORM_X11" = "yes" ]; then echo "This is the Qt/X11 Open Source Edition." @@ -2341,7 +2134,6 @@ if true; then ###[ '!' -f "$outpath/bin/tqmake" ]; EXTRA_LFLAGS="$EXTRA_CFLAGS \$(QNX_LFLAGS)" EXTRA_CFLAGS="$EXTRA_CFLAGS \$(QNX_CFLAGS)" fi - [ "$CFG_EMBEDDED" != "no" ] && EXTRA_CFLAGS="$EXTRA_CFLAGS -DQWS" if [ '!' -z "$D_FLAGS" ]; then for DEF in $D_FLAGS; do EXTRA_CFLAGS="$EXTRA_CFLAGS -D${DEF}" @@ -2466,53 +2258,6 @@ fi # ask for all that hasn't been auto-detected or specified in the arguments #------------------------------------------------------------------------------- -### fix this: user input should be validated in a loop -if [ "$CFG_QWS_DEPTHS" = "prompted" -a "$PLATFORM_QWS" = "yes" ]; then - echo - echo "Choose pixel-depths to support:" - echo - echo " 4. 4bpp grayscale - also enables 8bpp" - echo " 8. 8bpp" - echo " 16. 16bpp" - echo " 24. 24bpp - also enables 32bpp" - echo " 32. 32bpp" - echo - echo "Each depth adds around 100Kb on 80386." - echo - echo "Your choices (default 8,16,32):" - read CFG_QWS_DEPTHS - if [ -z "$CFG_QWS_DEPTHS" ] || [ "$CFG_QWS_DEPTHS" = "yes" ]; then - CFG_QWS_DEPTHS=8,16,32 - fi -fi -if [ -n "$CFG_QWS_DEPTHS" -a "$PLATFORM_QWS" = "yes" ]; then - D4=;D8=;D16=;D24=;D32= - for D in `echo "$CFG_QWS_DEPTHS" | sed -e 's/,/ /g'`; do - case "$D" in - 4) D4=y; D8=y - ;; 8) D8=y - ;; 16) D16=y - ;; 24) D24=y; D32=y - ;; 32) D32=y - esac - done - if [ -z "$D4" ]; then - QCONFIG_FLAGS="$QCONFIG_FLAGS TQT_NO_QWS_DEPTH_4" - fi - if [ -z "$D8" ]; then - QCONFIG_FLAGS="$QCONFIG_FLAGS TQT_NO_QWS_DEPTH_8" - fi - if [ -z "$D16" ]; then - QCONFIG_FLAGS="$QCONFIG_FLAGS TQT_NO_QWS_DEPTH_16" - fi - if [ -z "$D24" ]; then - QCONFIG_FLAGS="$QCONFIG_FLAGS TQT_NO_QWS_DEPTH_24" - fi - if [ -z "$D32" ]; then - QCONFIG_FLAGS="$QCONFIG_FLAGS TQT_NO_QWS_DEPTH_32" - fi -fi - # enable accessibility if [ "$CFG_ACCESSIBILITY" = "yes" ]; then QMAKE_CONFIG="$QMAKE_CONFIG accessibility" @@ -2581,11 +2326,6 @@ if [ "$CFG_THREAD" = "yes" ]; then QMAKE_OUTDIR="${QMAKE_OUTDIR}-mt" QMAKE_CONFIG="$QMAKE_CONFIG thread" fi -if [ "$PLATFORM_QWS" = "yes" -o "$PLATFORM_QNX" = "yes" ]; then - QMAKE_OUTDIR="${QMAKE_OUTDIR}-emb-$CFG_EMBEDDED" - QMAKE_CONFIG="$QMAKE_CONFIG embedded" - rm -f src/.moc/$QMAKE_OUTDIR/allmoc.cpp # needs remaking if config changes -fi QMAKE_VARS="$QMAKE_VARS \"QMAKE_INCDIR_TQT=$relpath/include\"" QMAKE_VARS="$QMAKE_VARS \"QMAKE_LIBDIR_TQT=$outpath/lib\"" QMAKE_VARS="$QMAKE_VARS \"QMAKE_RTLDIR_QT=$QT_INSTALL_LIBS\"" @@ -2678,7 +2418,6 @@ fi [ "$CFG_NAS" = "system" ] && QMAKE_CONFIG="$QMAKE_CONFIG nas" [ "$CFG_BIG_CODECS" = "yes" ] && QMAKE_CONFIG="$QMAKE_CONFIG bigcodecs" -[ "$CFG_QWS_FREETYPE" = "yes" -a "x$CFG_EMBEDDED" != "xno" ] && QMAKE_CONFIG="$QMAKE_CONFIG ft" if [ "$PLATFORM_X11" = "yes" ]; then [ "$CFG_SM" = "yes" ] && QMAKE_CONFIG="$QMAKE_CONFIG x11sm" @@ -2891,7 +2630,6 @@ esac # ipv6 # # X11 : xftnameunparse x11sm xinerama xcursor xrandr xrender xftfreetype xkb inputmethod -# Embedded: embedded ft # ALL_OPTIONS="styles tools kernel widgets dialogs workspace inputmethod network canvas table xml opengl sql stl" BUILD_CONFIG= @@ -3235,16 +2973,12 @@ else echo "Glib main loop support ......... $CFG_GLIBMAINLOOP ($CFG_LIBGLIBMAINLOOP)" fi echo "zlib support ........ $CFG_ZLIB" -if [ "$PLATFORM_QWS" = "yes" ]; then - echo "Embedded support .... $CFG_EMBEDDED" +if echo $MODULES | grep opengl >/dev/null; then + opengl=yes else - if echo $MODULES | grep opengl >/dev/null; then - opengl=yes - else - opengl=no - fi - echo "OpenGL support ...... $opengl" + opengl=no fi +echo "OpenGL support ...... $opengl" if [ "$PLATFORM_X11" = "yes" ]; then echo "NAS sound support ... $CFG_NAS" echo "Session management .. $CFG_SM" diff --git a/doc/3rdparty.doc b/doc/3rdparty.doc index 1a30b0b56..91b105771 100644 --- a/doc/3rdparty.doc +++ b/doc/3rdparty.doc @@ -105,34 +105,4 @@ by RFCs (Request for Comments) 1950 to 1952} -- quoted from \c 3rdparty/zlib/README. See \c 3rdparty/zlib/README for license details. - -\section1 Font files for Qt/Embedded - -\e {The Helvetica BDF font files supplied with Qt/Embedded are distributed under the following highly -permissive license. We recommend that all Qt/Embedded installations that use these font files also -acknowledge this contribution, and quote this license -statement in an appendix to the documentation. -} -- located in \c{lib/fonts} - -Copyright 1984-1989, 1994 Adobe Systems Incorporated. - -Copyright 1988, 1994 Digital Equipment Corporation. - -Adobe is a trademark of Adobe Systems Incorporated which may be -registered in certain jurisdictions. -Permission to use these trademarks is hereby granted only in -association with the images described in this file. - -Permission to use, copy, modify, distribute and sell this software -and its documentation for any purpose and without fee is hereby -granted, provided that the above copyright notices appear in all -copies and that both those copyright notices and this permission -notice appear in supporting documentation, and that the names of -Adobe Systems and Digital Equipment Corporation not be used in -advertising or publicity pertaining to distribution of the software -without specific, written prior permission. Adobe Systems and -Digital Equipment Corporation make no representations about the -suitability of this software for any purpose. It is provided "as -is" without express or implied warranty. - */ diff --git a/doc/aboutqt.doc b/doc/aboutqt.doc index 6577587e4..c6890f2a1 100644 --- a/doc/aboutqt.doc +++ b/doc/aboutqt.doc @@ -27,13 +27,12 @@ Qt is supported on the following platforms: \i Unix/X11 -- Linux, Sun Solaris, HP-UX, Compaq Tru64 UNIX, IBM AIX, SGI IRIX and a wide range of others \i Macintosh -- Mac OS X - \i Embedded -- Linux platforms with framebuffer support. \endlist Qt is released in following edition(s): \list \i The \link opensourceedition.html TQt Open Source Edition\endlink is -available for Unix/X11, Macintosh and Embedded Linux. The Open Source Edition +available for Unix/X11 and Macintosh. The Open Source Edition is for the development of \e {Free and Open Source software} only. It is provided free of charge under the terms of both the \link license.html Q Public License\endlink and the \link diff --git a/doc/accel.doc b/doc/accel.doc deleted file mode 100644 index 3b7ac552a..000000000 --- a/doc/accel.doc +++ /dev/null @@ -1,140 +0,0 @@ -/**************************************************************************** -** -** Help with writing Qt/Embedded accelerated drivers -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! -\page emb-accel.html - -\title Adding an accelerated graphics driver to Qt/Embedded - -Qt/Embedded has the capacity to make use of hardware accelerators. -To use a hardware accelerator for a PCI or AGP driver, you must -perform the following steps: - -\list 1 -\i -Define an accelerated descendant of QLinuxFbScreen. - -This should implement \c QVoodooScreen::connect() to map its -registers. Use \c qt_probe_bus to get a pointer to the PCI config -space. This is where you should check that you're being pointed to the -right device (using the PCI device/manufacturer ID information). Then -use PCI config space to locate your device's accelerator registers in -physical memory and mmap the appropriate region from \c /dev/mem. -There is no need to map the framebuffer, \c QLinuxFbScreen will do -this for you. Return \c FALSE if a problem occurs at any point. \c -QVoodooScreen::initDevice() will be called only by the QWS server and -is guaranteed to be called before any drawing is done (and so is a -good place to set registers to known states). \c connect() will be called -by every connecting client. - -\i -Define an accelerated descendant of QGfxRaster. - -This is where the actual drawing code goes. Anything not implemented -in hardware can be passed back to \c QGfxRaster to do in software. Use -the optype variable to make sure that accelerated and unaccelerated -operations are synchronised (if you start drawing via software into an -area where the hardware accelerator is still drawing then your drawing -operations will appear to be in the wrong order). optype is stored in -shared memory and is set to 0 by unaccelerated operations; accelerated -operations should set it to 1. When a software graphics operation is -requested and optype is 1, \c QGfxRaster::sync() is called; you should -provide your own implementation of this that waits for the graphics -engine to go idle. lastop is also available for optimisation and is -stored in the shared space: this will not be set by the software-only -\c QGfx and can be used to store the type of your last operation (e.g. -drawing a rectangle) so that part of the setup for the next operation -can be avoided when many of the same operations are performed in -sequence. - -All drawing operations should be protected via a \c QWSDisplay::grab() -before any registers, lastop or optype are accessed, and \c -ungrabbed() at the end. This prevents two applications trying to -access the accelerator at once and possibly locking up the machine. -It's possible that your source data is not on the graphics card so you -should check in such cases and fall back to software if necessary. -Note that \c QGfxRaster supports some features not directly supported -by QPainter (for instance, alpha channels in 32-bit data and -stretchBlt's). These features are used by Qt; stretchBlt speeds up \c -QPixmap::xForm() and \c drawPixmap() into a transformed \c QPainter, -alpha channel acceleration is supported for 32-bit pixmaps. - -\i -If you wish, define an accelerated descendant of \c QScreenCursor. \c -restoreUnder(), \c saveUnder(), \c drawCursor() and \c draw() should -be defined as null operations. Implement \c set(), \c move(), \c -show() and \c hide(). 4KB is left for your cursor at the end of the -visible part of the framebuffer (i.e. at (width*height*depth)/8 ) - -\i -Implement \c initCursor() and \c createGfx() in your \c QScreen -descendant. Implement \c useOffscreen() and return \c TRUE if you can -make use of offscreen graphics memory. - -\i -Implement a small function \c qt_get_screen_mychip(), which simply -returns a new \c QMychipScreen - -\i -Add your driver to the DriverTable table in \c qgfxraster_qws.cpp, -e.g. -\code -{ "MyChip", qt_get_screen_mychip,1 }, -\endcode - -The first parameter is the name used with QWS_DISPLAY to request your -accelerated driver. - -\i -To run with your new driver, -\code -export QWS_DISPLAY=MyChip -\endcode -(optionally MyChip:/dev/fb\ to request a different Linux -framebuffer than \c /dev/fb0), then run the program - -\endlist - -If your driver is not PCI or AGP you'll need to inherit \c QScreen -instead of \c QLinuxFbScreen and implement similar functionality to \c -QLinuxFbScreen, but otherwise the process should be similar. The most -complete example driver is \c qgfxmach64_qws.cpp; \c -qgfxvoodoo_qws.cpp may provide a smaller and easier-to-understand -driver. - -*/ diff --git a/doc/charinput-qws.doc b/doc/charinput-qws.doc deleted file mode 100644 index e8511e39b..000000000 --- a/doc/charinput-qws.doc +++ /dev/null @@ -1,131 +0,0 @@ -/**************************************************************************** -** -** Documentation of character input -** -** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! -\page emb-charinput.html - -\title Character input in Qt/Embedded - -Internally in the client/server protocol, each key press and key -release is sent as a \c{QWSKeyEvent}. A QWSKeyEvent contains the -following fields: - -\table -\row \i \c{unicode} - \i Unicode value -\row \i \c{keycode} - \i TQt keycode value as defined in \c ntqnamespace.h -\row \i \c{modifier} - \i A bitfield consisting of some of \c TQt::ShiftButton, - \c TQt::ControlButton, and \c TQt::AltButton. -\row \i \c{is_press} - \i TRUE if this is a key press, FALSE if it is a key release. -\row \i \c{is_auto_repeat} - \i TRUE if this event is caused by auto repeat. -\endtable - -When the server receives a key event it is sent to each client process -which is responsible for processing the key event and sending it to -the right window, if any. Key events may come from several different -sources. - -\section1 Keyboard drivers - -A keyboard driver reads data from a device and gives key events to the -server. - -Keyboard drivers can be compiled into the library or loaded as -plugins. Running ./configure -help lists the available keyboard drivers. -The "tty" driver is enabled in the default configuration. - -The keyboard drivers all follow the same pattern. They read keyboard -data from a device, find out which keys were pressed, and then call -the static function QWSServer::processKeyEvent() with the key information. - -At present, the console keyboard driver also handles console switching -(Ctrl+Alt-F1...Ctrl+Alt+F10) and termination -(Ctrl+Alt+Backspace). - -To add a keyboard driver for a new device, subclasses of -\c{QWSKeyboardHandler} and \c{QKbdDriverPlugin} can be -written and installed as plugins. - -\section1 Key event filters (input methods) - -When the server receives a key event from a keyboard driver, it first -passes it through a filter. - -This can be used to implement input methods, providing input of -characters that are not on the keyboard. - -To make an input method, subclass QWSServer::KeyboardFilter (in \c -src/kernel/qwindowsystem_qws.h) and implement the virtual function \c -filter(). If \c filter() returns \c FALSE, the event will be sent to -the clients (using QWSServer::sendKeyEvent()). If \c filter() returns -\c TRUE, the event will be stopped. To generate new key events, use -QWSServer::sendKeyEvent(). (Do not use processKeyEvent(), since this -will lead to infinite recursion.) - -To install a keyboard event filter, use -\c{QWSServer::setKeyboardFilter()}. Currently, only one filter -can be installed at a time. - -Filtering must be done in the server process. - -The launcher example contains an example of a simple input method, -\c{SimpleIM} which reads a substitution table from a file. - -\section1 Pen input - -Key events do not need to come from a keyboard device. The server -process may call QWSServer::sendKeyEvent() at any time. - -Typically, this is done by popping up a widget, and letting the user -specify characters with the pointer device. - -Note: the key input widget should not take focus, since the -server would then just send the key events back to the input widget. -One way to make sure that the input widget never takes focus is to set -the \c{WStyle_Customize} and \c{WStyle_Tool} widget flags in -the TQWidget constructor. - -The \link http://www.trolltech.com/products/qtopia/ Qtopia\endlink -environment contains various input widgets such as -Handwriting Recognition and Virtual Keyboard. - -*/ diff --git a/doc/embclasses.doc b/doc/embclasses.doc deleted file mode 100644 index b88befdae..000000000 --- a/doc/embclasses.doc +++ /dev/null @@ -1,340 +0,0 @@ -/**************************************************************************** -** -** A brief guide to the Qt/Embedded internal classes -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! -\page emb-classes.html - -\title The Qt/Embedded-specific classes - -Qt/Embedded classes fall into two groups: the majority are used by -every Qt/Embedded program, and some are used only by the Qt/Embedded server. -The Qt/Embedded server program can also be a client, as in the case of a -single-process installation. All Qt/Embedded specific source files live -in \c src/kernel and are suffixed \c{_qws}. The » symbol -indicates inheritance. - -\tableofcontents - -\section1 QFontManager - -There is one of these per application. At application startup time it -reads the font definition file from \c $TQTDIR/etc/fonts/fontdir (or \c -/usr/local/etc/qt-embedded/fonts/fontdir if TQTDIR is undefined). It -keeps track of all font information and maintains a cache of rendered -fonts. It also creates the font factories: QFontManager::QFontManager -is the place to add constructors for new factories. It provides a -high-level interface for requesting a particular font and calls -QFontFactories to load fonts from disk on demand. Note that this only -applies to BDF and TrueType fonts; Qt/Embedded's optimised \c .qpf -font file format bypasses the QFontManager mechanism altogether. - -There should be no need to modify this class unless you wish to change -font matching or caching behaviour. - -\section1 QDiskFont - -This contains information about a single on-disk font file (e.g. -\c{/usr/local/etc/qt-embedded/times.ttf}). It holds the file path, -information about whether the font is scalable, its weight, size, -Qt/Embedded name, etc. This information is used so that QFontManager -can find the closest matching disk font (it uses a scoring mechanism -weighted towards matching names, then whether the font's italic, then -its weight). - -There should be no reason to modify this class. - -\section1 QRenderedFont - -There is one and only one QRenderedFont for every unique font -currently loaded by the system (that is, each unique combination of -name, size, weight, italic or not, anti-aliased or not). -QRenderedFonts are reference counted; once no one is using the -QRenderedFont it is deleted along with its cache of glyph bitmaps. The -QDiskFont it was loaded from remains opened by its QFontFactory. - -There should be no reason to modify this class, unless you wish to -change the way in which glyphs are cached. - - -\section1 QFontFactory (and descendants QFontFactoryBDF, QFontFactoryTtf) - -These provide support for particular font formats, for instance the -scalable Truetype and Type1 formats (both supported in -QFontFactoryTtf, which uses Freetype 2) and the bitmap BDF format used -by X. It's called to open an on-disk font; once a font is opened it -remains opened so that the creation of new font instances from the -disk font is fast. It can also create a QRenderedFont and convert from -Unicode values to an index into the font file. For compactness, glyphs -are stored in the order and indexes they are defined in the font -rather than in Unicode order. - -There should be no need to modify this class, but it should be -inherited if you wish to add a different type of font renderer (e.g. -for a custom vector font format). - -\section1 QGlyph - -This describes a particular image of a character from a QRenderedFont: -for example, the letter 'A' at 10 points in Times New Roman, bold italic, -anti-aliased. It contains pointers to a QGlyphMetrics structure with -information about the character and to the raw data for the glyph: -this is either a 1-bit mask or an 8-bit alpha channel. Each QRenderedFont -creates these on demand and caches them once created (note that this is -not currently implemented for TrueType fonts). - -You would only need to modify this class if you were, for example, -modifying Qt/Embedded to support textured fonts, in which case you -would also need to modify QGfxRaster. - -\section1 QMemoryManagerPixmap/QMemoryManager - -This handles requests for space for pixmaps and also keeps track of -QPF format fonts (these are small 'state dumps' of QRenderedFonts, -typically 2-20KB in size; they can be mmap'd direct from disk in order -to save memory). If a QPF font is found which matches a font request -no new QRenderedFont need be created for it. It's possible to strip out -all QFontFactory support and simply use QPFs if your font needs are modest -(for instance, if you only require a few fixed point sizes). Note that -no best-match loading is performed with QPFs, as opposed to those -loaded via QFontManager, so if you don't have the correct QPF for a point -size, text in that size will simply not be displayed. - -There should be no need to modify this class. - -\section1 QScreen » QLinuxFbScreen » accelerated screens, QTransformedScreen » QVfbScreen - -These encapsulate the framebuffer Qt/Embedded is drawing to, provide -support for mapping of coordinates for rotating framebuffers, allow -manipulation of the colour palette and provide access to offscreen -graphics memory for devices with separate framebuffer memories. - -This is used for caching pixmaps and allowing accelerated pixmap=\>screen -blt's. QLinuxFbScreen and the accelerated screens use the Linux \c /dev/fb -interface to get access to graphics memory and information about the -characteristics of the device. The framebuffer device to open is specified -by QWS_DISPLAY. Only QTransformedScreen implements the support for rotated -framebuffers. QVfbScreen provides an X window containing an emulated -framebuffer (a chunk of shared memory is set aside as the 'framebuffer' -and blt'd into the X window): this is intended as a debugging device -allowing users to debug their applications under Qt/Embedded without leaving -X. The accelerated screen drivers check to see if they can drive the -device specified by QWS_CARD_SLOT (which defaults to the usual position -of an AGP slot if not specified) and mmap its on-chip registers from -\c /dev/mem. They may also do chip-specific setup (initialising registers to -known values and so on). Finally, QScreen's are used to create new -QScreenCursors and QGfxes. - -If you wish to modify the way pixmaps are allocated in memory, -subclass or modify QLinuxFbScreen. If you're writing an accelerated -driver you will need to subclass QScreen or QLinuxFbScreen. - -\section1 QScreenCursor » accelerated cursor » QVfbCursor - -This handles drawing the on-screen mouse cursor, and saving and -restoring the screen under it for the non-accelerated cursor types. - -Subclassing QScreenCursor is optional in an accelerated driver (you -would only want to do so if the hardware supports a hardware cursor). - -\section1 QGfx » RasterBase » Raster » accelerated driver » QGfxVfb » QGfxTransformedRaster - -This class encapsulates drawing operations, a little like a low-level -QPainter. QGfxRaster and its descendants are specifically intended -for drawing into a raw framebuffer. They can take an offset for drawing -operations and a clipping region in order to support drawing into windows. -You will need to subclass the QGfxRaster template in order to implement -an accelerated driver. - -If you're brave, modifying QGfxRaster would allow you to customise how -drawing is done or add support for a new bit depth/pixel format. - -\section1 QLock, QLockHolder - -This encapsulates a System V semaphore, used for synchronising access -to memory shared between Qt/Embedded clients. QLockHolder is a utility class -to make managing and destroying QLocks easier. - -There should be no need to modify this class unless porting -Qt/Embedded to an operating system without System V IPC. - -\section1 QDirectPainter - -This is a QPainter which also gives you a pointer to the framebuffer -of the window it's pointing to, the window's clip region and so on. -It's intended to easily allow you to do your own pixel-level manipulation -of window contents. - -There should be no reason to modify this class. - -\section1 QWSSoundServer, Client - -The Qt/Embedded server contains a simple sound player and mixer. Clients -can request the server play sounds specified as files. - -There should be no need to modify this class unless porting -Qt/Embedded to an operating system without a Linux-style \c /dev/dsp. - -\section1 QWSWindow - -This contains the server's notion of an individual top level window: -the region of the framebuffer it's allocated, the client that created it -and so forth. - -There should be no reason to modify this class. - -\section1 QWSKeyboardHandler » subtypes - -This handles keyboard/button input. QWSKeyboardHandler is subclassed -to provide for reading \c /dev/tty, an arbitrary low-level USB event device -(for USB keyboards) and some PDA button devices. - -Modifying QWSKeyboardHandler would allow you to support different -types of keyboard (currently only a fairly standard US PC style -keyboard is supported); subclassing it is the preferred way to handle -non-pointer input devices. - -\section1 QWSMouseHandler » QWSCalibratedMouseHandler » mouse types - -This handles mouse/touch-panel input. Descendants of QWSCalibratedMouseHandler -make use of filtering code which prevents 'jittering' of the pointer on -touchscreens; some embedded devices do this filtering in the kernel in -which case the driver doesn't need to inherit from QWSCalibratedMouseHandler. - -Subclassing QWSCalibratedMouseHandler is preferred for touch-panels without -kernel filtering; inheriting QWSMouseHandler is the way to add any other -type of pointing device (pen tablets, touchscreens, mice, trackballs -and so forth). - -\section1 QWSDisplay - -This class exists only in the Qt/Embedded server and keeps track of -all the top-level windows in the system, as well as the keyboard and mouse. - -You would only want to modify this if making deep and drastic -modifications to Qt/Embedded window behaviour (alpha blended windows -for example). - -\section1 QWSServer - -This manages the Qt/Embedded server's Unix-domain socket connections to -clients. It sends and receives QWS protocol events and calls QWSDisplay -in order to do such things as change the allocation region of windows. - -The only reason to modify this would be to use something other than -some sort of socket-like mechanism to communicate between Qt/Embedded -applications (in which case modify QWSClient too). If you have -something like Unix domain sockets, modify QWSSocket/QWSServerSocket -instead. Don't add extra QWS events to communicate between -applications, use QCOP instead. - -\section1 QWSClient - -This encapsulates the client side of a Qt/Embedded connection and can -marshal and demarshal events. - -There should be no reason to modify this except to use something -radically different from Unix domain sockets to communicate between -Qt/Embedded applications. - -\section1 QWSDisplayData - -This manages a client's QWSClient, reading and interpreting events -from the QWS server. It connects to the QWS server on application -startup, getting information about the framebuffer and creating the -memory manager. Other information about the framebuffer comes directly -from \c /dev/fb in QLinuxFbScreen. - -There should be no reason to modify this. - -\section1 QWSCommands - -These encapsulate the data sent to and from the QWS server. - -There should be no reason to modify them. - -\section1 QCopChannel - -QCop is a simple IPC mechanism for communication between Qt/Embedded -applications. String messages with optional binary data can be sent -to different channels. - -The mechanism itself is designed to be bare-bones in order for users -to build whatever mechanism they like on top of it. - -\section1 QWSManager - -This provides Qt/Embedded window management, drawing a title bar -and handling user requests to move, resize the window and so on. - -There should be no reason to modify it but you should subclass it -if you want to modify window behaviour (point to click versus -focus follows mouse, for instance). - -\section1 QWSDecoration - -Descendants of this class are different styles for the Qt/Embedded -window manager, for instance QWSWindowsDecoration draws Qt/Embedded -window frames in the style of Windows CE. - -Subclass it in order to provide a new window manager appearance (the -equivalent of a Windows XP or Enlightenment theme). - -\section1 QWSPropertyManager - -This provides the QWS client's interface to the QWS property system -(a simpler version of the X property system, it allows you to attach -arbitrary data to top-level windows, keyed by an integer). - -There should be no reason to modify it. - -\section1 QWSRegionManager - -Used by both client and server to help manage top-level window regions. - -There should be no reason to modify it. - -\section1 QWSSocket, QWSServerSocket - -Provides Unix-domain sockets. - -Modify this if you're porting to a non-Unix OS but have something -analogous to Unix-domain sockets (a byte-oriented, reliable, ordered -transmission mechanism, although you can probably implement it with -something like a message queue as well). - -*/ diff --git a/doc/embporting.doc b/doc/embporting.doc deleted file mode 100644 index d15779840..000000000 --- a/doc/embporting.doc +++ /dev/null @@ -1,108 +0,0 @@ -/**************************************************************************** -** -** An indication of Qt/Embedded porting issues -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! -\page embedporting.html - -\title Issues to be aware of when porting Qt/Embedded - -Qt/Embedded is designed to be reasonably platform-independent. The -only publically available version is a Linux implementation. The -following dependencies will need to be addressed if you intend to port -to another operating system (files that you need to modify are listed -at the end of each section): - - -\list - -\i System V IPC (shared memory and semaphores) is used to share -window regions between client and server. You will need to provide -something similar unless you want a single-application setup (i.e. -running only one program, which is the server). System V semaphores -are also used for synchronising access to the framebuffer. - -Modify \c qwindowsystem_qws.cpp, \c qwsregionmanager_qws.cpp, \c -qapplication_qws.cpp, and \c qlock_qws.cpp. - -\i Unix-domain sockets are used to communicate things like -keyboard events, requests to raise windows and QCOP messages between -applications. Again, you will need to provide something similar unless -you want a single-application setup. It should be possible to -implement something like this using message queues or similar -mechanisms; with the exception of QCOP messages (which are generated -by client applications and not Qt/Embedded) individual messages should -be no more than a few bytes in length. - -Modify \c qwssocket_qws.cpp. - -\i The Linux framebuffer device is used to map in the drawing -area. You will need to replace it (by creating a new class of QScreen) -with something else giving a byte pointer to a memory-mapped -framebuffer, plus information about width, height and bit depth (which -most likely you can simply hard-code). If your framebuffer is not -memory-mapped or is in an unsupported format or depth you will need to -modify QGfxRaster as well. - -Modify \c qgfxlinuxfb_qws.cpp. - -\i The accelerated drivers currently use the Linux QScreen and use -\c /proc/bus/pci to map in PCI config space. However, these are only -example drivers; you will probably need to write your own driver in -any case, and you will need to provide your own way to map in control -registers. - -Modify \c qgfxmach64_qws.cpp, \c qgfxvoodoo_qws.cpp and \c -qgfxmatrox_qws.cpp. - -\i Sound uses a Linux \c /dev/dsp style device. If you want to use -the Qt/Embedded sound server you'll need to reimplement it. - -Modify \c qsoundqss_qws.cpp. - -\i select() is used to implement QSocketDevices and listen for -events to/from the Qt/Embedded server application. - -Modify \c qapplication_qws.cpp. - -\endlist - -Qt/Embedded makes use of the standard C library and some Posix functions. -Mostly the latter are concentrated in platform dependent code anyway -(e.g. mmap() to map in the Linux framebuffer). - -*/ diff --git a/doc/envvars.doc b/doc/envvars.doc deleted file mode 100644 index 94335d8b3..000000000 --- a/doc/envvars.doc +++ /dev/null @@ -1,115 +0,0 @@ -/**************************************************************************** -** -** The environment variables Qt/Embedded takes notice of -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! -\page emb-envvars.html - -\title Qt/Embedded environment variables - -\table -\header \i Variable \i Notes - -\row -\i QWS_SW_CURSOR -\i If defined, always use a software mouse cursor even when using an -accelerated driver that supports a hardware cursor - -\row -\i QWS_DISPLAY -\i Defines the display type and framebuffer, e.g. -\c{Voodoo3 Mach64:/dev/fb1} -Defaults to an unaccelerated Linux framebuffer driver on \c /dev/fb0. -Valid drivers are QVfb, VGA16, LinuxFb (unaccelerated Linux framebuffer), -Mach64 (accelerated for ATI Mach64 cards such as the Rage Pro), -Voodoo3 (accelerated for the 3dfx Voodoo 3, should also work on Voodoo -Banshee), Matrox (should work on all Matrox graphics cards since the -Matrox Millennium), Transformed (for rotated displays), SVGALIB and -VNC. Transformed displays have a special format: within the -specification should be a multiple of 90 degrees rotation specified as -Rot\, for instance Transformed:Rot90. - -\row -\i TQTDIR -\i If defined this tells Qt/Embedded to where to find its fonts: -fontdir should be in \c $TQTDIR/etc/fonts/. If undefined it's assumed -to be \c /usr/local/qt-embedded - -\row -\i QWS_SIZE -\i If defined forces Qt/Embedded into a window of \ x -\ size centred within the screen, e.g. 320x200 - -\row -\i QWS_NOMTRR -\i If defined, don't use Memory Type Range Registers to define the framebuffer -as write-combined on x86. Write-combining speeds up graphics output. - -\row -\i QWS_CARD_SLOT -\i Tells the accelerated drivers which card to attempt to accelerate. -This should be a path in \c /proc/bus/pci. It defaults to -\c /proc/bus/pci/01/00.0 - the first device on the second PCI bus in the -system, which is normally the AGP card. - -\row -\i QWS_USB_KEYBOARD -\i If defined, instead of opening \c /dev/tty open the USB low-level -event device defined in QWS_USB_KEYBOARD (e.g. \c /dev/input/event0): -this is useful if you wish to run X and Qt/Embedded side by side on -different framebuffers. - -\row -\i QWS_MOUSE_PROTO -\i Defined as \:\, e.g. \c{Microsoft:/dev/ttyS0}. If you want to -use a USB mouse directly (separate from X) use \c{MouseMan:/dev/input/mouse0} -or similar. Valid mouse protocls are Auto (automatically sense protocol), -MouseMan, IntelliMouse, Microsoft, QVfbMouse (only useful with QVfb) -and TPanel, a sample touch panel driver. - -\row -\i QWS_KEYBOARD -\i Defines the keyboard type. Multiple keyboards can be handled at once, -input will be read from all of them. Valid values: -Buttons (an iPaq button device if QT_QWS_IPAQ is compiled, otherwise -one for the Cassiopeia), QVfbKeyboard (only useful with QVfb), -and TTY (either a USB keyboard or \c /dev/tty depending if QWS_USB_KEYBOARD -is defined) - -\endtable - -*/ diff --git a/doc/faq.doc b/doc/faq.doc index 2bd1e3102..86e699766 100644 --- a/doc/faq.doc +++ b/doc/faq.doc @@ -27,7 +27,6 @@ Qt is supported on the following platforms: \i Unix/X11 -- Linux, Sun Solaris, HP-UX, Compaq Tru64 UNIX, IBM AIX, SGI IRIX and a wide range of others \i Macintosh -- Mac OS X - \i Embedded -- Linux platforms with framebuffer support. \endlist It has become the emerging standard development @@ -137,8 +136,7 @@ Qt. You can use this edition to create and run free software, i.e. software that is licensed under the GNU GPL or a similarly recognized open source license. -Qt Open Source edition is available for Unix/X11, Macintosh and -Linux/embedded. +Qt Open Source edition is available for Unix/X11 and Macintosh.
\section2 What is the idea behind having a free version of Qt? diff --git a/doc/features.doc b/doc/features.doc index cadb3aaf8..616a42912 100644 --- a/doc/features.doc +++ b/doc/features.doc @@ -46,10 +46,6 @@ can define a subset of the full TQt functionality that you wish to be available in your installation. The -qconfig option to configure is used to select the configuration. -Note that such modification is only supported on Qt/Embedded -platforms, where reducing the size of TQt is -important and the application set is often fixed. - The \c ntqconfig.h definition file simply defines macros to disable features. Some features are dependent on other features and these dependencies are expressed in \c ntqfeatures.h. @@ -88,12 +84,6 @@ The available options are: \i TQT_NO_ASYNC_IO, TQT_NO_ASYNC_IMAGE_IO \header \i31 Fonts -\row \i TQT_NO_TRUETYPE - \i TrueType (TTF and TTC) font file format, only used by Qt/Embedded. - \i   -\row \i TQT_NO_BDF - \i Bitmap Distribution Format (BDF) font file format, only used by Qt/Embedded. - \i   \row \i TQT_NO_FONTDATABASE \i Font database. \i   @@ -132,35 +122,6 @@ The available options are: \i Scripting Qt-based applications. \i   -\header \i31 Qt/Embedded-specific -\row \i TQT_NO_QWS_CURSOR - \i The cursor sprite on Qt/Embedded. Pen-operated devices would not - normally need this feature. - \i   -\row \i TQT_NO_QWS_DEPTH_8GRAYSCALE - \i11 8 bits per pixel: 256 levels of gray. - Incompatible with QWS_DEPTH_8. - \i   -\row \i TQT_NO_QWS_DEPTH_8 - \i11 8 bits per pixel: 216-color cube with 40 auxiliary colors. - Incompatible with QWS_DEPTH_8GRAYSCALE. - \i   -\row \i TQT_NO_QWS_DEPTH_15 - \i11 15 bits per pixel: 32 levels for each of red, green and blue. - \i   -\row \i TQT_NO_QWS_DEPTH_16 - \i11 16 bits per pixel: 64 levels of green, 32 levels for red and for blue. - \i   -\row \i TQT_NO_QWS_DEPTH_32 - \i11 32 bits per pixel: 256 levels for each of red, green and blue. - \i   -\row \i TQT_NO_QWS_MACH64 - \i Mach64 accelerated driver (demonstration only). - \i   -\row \i TQT_NO_QWS_VFB - \i Virtual framebuffer running on X11 (see reference documentation). - \i   - \header \i31 Networking \row \i TQT_NO_NETWORKPROTOCOL \i Abstract multi-protocol data retrieval, diff --git a/doc/framebuffer-howto.doc b/doc/framebuffer-howto.doc deleted file mode 100644 index b0c0b6e32..000000000 --- a/doc/framebuffer-howto.doc +++ /dev/null @@ -1,250 +0,0 @@ -/**************************************************************************** -** -** Windowsystem-specific pages -** -** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! -\page emb-framebuffer-howto.html - -\title Enabling the Linux Framebuffer - -This is only a short guide. -See \l file:/usr/src/linux/README and -\l file:/usr/src/linux/Documentation/fb/ for detailed information. -There is also a detailed explanation at -\l http://www.linuxdoc.org/HOWTO/Framebuffer-HOWTO.html. - -\list 1 -\i Make sure that you have the Linux kernel source code in -\l file:/usr/src/linux/. - -\i Log in as root and \c cd \c /usr/src/linux - -\i Configure the kernel: - - Run: -\code - make menuconfig -\endcode - - Select "Code maturity level options" and set "Prompt for - development and/or incomplete code/drivers". - - Then select "Console drivers" and set "Support for frame buffer - devices" to built-in (even if it says EXPERIMENTAL). Then configure - the driver. Most modern graphics cards can use the "VESA VGA - graphics console"; use that or a driver that specifically matches - your video card. Finally, enable "Advanced low level driver options" - and make sure that 16 and 32 bpp packed pixel support are enabled. - - When you are finished, chose exit and save. - -\i Compile the kernel - - First do: -\code - make dep -\endcode - then: -\code - make bzImage -\endcode - - The new kernel should now be in arch/i386/boot/bzImage. - -\i Copy the kernel to the boot directory: -\code - cp arch/i386/boot/bzImage /boot/linux.vesafb -\endcode - -\i Edit /etc/lilo.conf. - - \warning Keep a backup of \l file:/etc/lilo.conf, and have a rescue disk - available. If you make a mistake, the machine may not boot. - - The file \l file:/etc/lilo.conf specifies how the system boots. The - precise contents of the file varies from system to system. Here is - an example: -\code -# LILO configuration file -boot = /dev/hda3 -delay = 30 -image = /boot/vmlinuz - root = /dev/hda3 - label = Linux - read-only # Non-UMSDOS filesystems should be mounted read-only for checking -other=/dev/hda1 - label=nt - table=/dev/hda -\endcode - - Make a new "image" section that is a copy of the first one, but with -\code - image = /boot/linux.vesafb -\endcode - and -\code - label = Linux-vesafb -\endcode - Place it just above the first image section. - - Add a line before the image section saying \c{vga = 791}. (Meaning - 1024x768, 16 bpp.) - - With the above example, lilo.conf would now be: -\code -# LILO configuration file -boot = /dev/hda3 -delay = 30 -vga = 791 -image = /boot/linux.vesafb - root = /dev/hda3 - label = Linux-vesafb - read-only # Non-UMSDOS filesystems should be mounted read-only for checking -image = /boot/vmlinuz - root = /dev/hda3 - label = Linux - read-only # Non-UMSDOS filesystems should be mounted read-only for checking -other=/dev/hda1 - label=nt - table=/dev/hda -\endcode - -Do not change any existing lines in the file; just add new ones. - -\i To make the new changes take effect, run the lilo program: -\code - lilo -\endcode - -\i Reboot the system. You should now see a penguin logo while the - system is booting. - (Or more than one on a multi-processor machine.) - -\i If it does not boot properly with the new kernel, you can boot with - the old kernel by entering the label of the old image section at - the LILO prompt. (with the example lilo.conf file, the old label is - Linux.) - - If that does not work (probably because of an error in lilo.conf), - boot the machine using your rescue disk, restore \l - file:/etc/lilo.conf from backup and re-run lilo. - -\i Testing: Here's a short program that opens the frame buffer and draws a - gradient-filled red square. - -\code -#include -#include -#include -#include -#include - -int main() -{ - int fbfd = 0; - struct fb_var_screeninfo vinfo; - struct fb_fix_screeninfo finfo; - long int screensize = 0; - char *fbp = 0; - int x = 0, y = 0; - long int location = 0; - - // Open the file for reading and writing - fbfd = open("/dev/fb0", O_RDWR); - if (!fbfd) { - printf("Error: cannot open framebuffer device.\n"); - exit(1); - } - printf("The framebuffer device was opened successfully.\n"); - - // Get fixed screen information - if (ioctl(fbfd, FBIOGET_FSCREENINFO, &finfo)) { - printf("Error reading fixed information.\n"); - exit(2); - } - - // Get variable screen information - if (ioctl(fbfd, FBIOGET_VSCREENINFO, &vinfo)) { - printf("Error reading variable information.\n"); - exit(3); - } - - printf("%dx%d, %dbpp\n", vinfo.xres, vinfo.yres, vinfo.bits_per_pixel ); - - // Figure out the size of the screen in bytes - screensize = vinfo.xres * vinfo.yres * vinfo.bits_per_pixel / 8; - - // Map the device to memory - fbp = (char *)mmap(0, screensize, PROT_READ | PROT_WRITE, MAP_SHARED, - fbfd, 0); - if ((int)fbp == -1) { - printf("Error: failed to map framebuffer device to memory.\n"); - exit(4); - } - printf("The framebuffer device was mapped to memory successfully.\n"); - - x = 100; y = 100; // Where we are going to put the pixel - - // Figure out where in memory to put the pixel - for ( y = 100; y < 300; y++ ) - for ( x = 100; x < 300; x++ ) { - - location = (x+vinfo.xoffset) * (vinfo.bits_per_pixel/8) + - (y+vinfo.yoffset) * finfo.line_length; - - if ( vinfo.bits_per_pixel == 32 ) { - *(fbp + location) = 100; // Some blue - *(fbp + location + 1) = 15+(x-100)/2; // A little green - *(fbp + location + 2) = 200-(y-100)/5; // A lot of red - *(fbp + location + 3) = 0; // No transparency - } else { //assume 16bpp - int b = 10; - int g = (x-100)/6; // A little green - int r = 31-(y-100)/16; // A lot of red - unsigned short int t = r<<11 | g << 5 | b; - *((unsigned short int*)(fbp + location)) = t; - } - - } - munmap(fbp, screensize); - close(fbfd); - return 0; -} -\endcode -\endlist - -*/ diff --git a/doc/freeeditions.doc b/doc/freeeditions.doc index b82ea5e3d..e2e43f4de 100644 --- a/doc/freeeditions.doc +++ b/doc/freeeditions.doc @@ -16,7 +16,7 @@ open source license. Trolltech's support of open source with the TQt Open Source Edition has enabled large successful software projects like KDE, to thrive, with thousands of developers around the world using the TQt Open Source Edition at no cost to themselves. The TQt Open Source Edition is available for -Unix/X11, Macintosh, and embedded Linux. +Unix/X11 and Macintosh. The Open Source Edition can be downloaded from here: \l http://www.trolltech.com/download/. diff --git a/doc/html/3rdparty.html b/doc/html/3rdparty.html index 2213896f6..81d47fddc 100644 --- a/doc/html/3rdparty.html +++ b/doc/html/3rdparty.html @@ -47,8 +47,6 @@ controlling the use of these libraries.
  • Data compression library (zlib) -
  • Font files for TQt/Embedded - @@ -75,26 +73,6 @@ Freetype.

    zlib is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 -- quoted from 3rdparty/zlib/README.

    See 3rdparty/zlib/README for license details. -

    Font files for TQt/Embedded -

    -

    The Helvetica BDF font files supplied with TQt/Embedded are distributed under the following highly permissive license. We recommend that all TQt/Embedded installations that use these font files also acknowledge this contribution, and quote this license statement in an appendix to the documentation. -- located in lib/fonts -

    Copyright 1984-1989, 1994 Adobe Systems Incorporated. -

    Copyright 1988, 1994 Digital Equipment Corporation. -

    Adobe is a trademark of Adobe Systems Incorporated which may be -registered in certain jurisdictions. -Permission to use these trademarks is hereby granted only in -association with the images described in this file. -

    Permission to use, copy, modify, distribute and sell this software -and its documentation for any purpose and without fee is hereby -granted, provided that the above copyright notices appear in all -copies and that both those copyright notices and this permission -notice appear in supporting documentation, and that the names of -Adobe Systems and Digital Equipment Corporation not be used in -advertising or publicity pertaining to distribution of the software -without specific, written prior permission. Adobe Systems and -Digital Equipment Corporation make no representations about the -suitability of this software for any purpose. It is provided "as -is" without express or implied warranty.


    diff --git a/doc/html/aboutntqt.html b/doc/html/aboutntqt.html index ba8e3eec1..5b033916e 100644 --- a/doc/html/aboutntqt.html +++ b/doc/html/aboutntqt.html @@ -50,12 +50,11 @@ development.
  • Unix/X11 -- Linux, Sun Solaris, HP-UX, Compaq Tru64 UNIX, IBM AIX, SGI IRIX and a wide range of others
  • Macintosh -- Mac OS X -
  • Embedded -- Linux platforms with framebuffer support.

    TQt is released in following edition(s):

    • The TQt Open Source Edition is -available for Unix/X11, Macintosh and Embedded Linux. The Open Source Edition +available for Unix/X11 and Macintosh. The Open Source Edition is for the development of Free and Open Source software only. It is provided free of charge under the terms of both the Q Public License and the GNU General Public License.
    diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 46ba20dbc..e7e88717c 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -93,7 +93,6 @@ body { background: #ffffff; color: black; } TQCommonStyleEncapsulates the common Look and Feel of a GUI TQConstStringString objects using constant Unicode data TQContextMenuEventParameters that describe a context menu event -TQCopChannelCommunication capabilities between several clients TQCursorMouse cursor with an arbitrary shape TQCustomEventSupport for custom events TQCustomMenuItemAbstract base class for custom menu items in popup menus @@ -113,7 +112,6 @@ body { background: #ffffff; color: black; } TQDictTemplate class that provides a dictionary based on TQString keys TQDictIteratorIterator for TQDict collections TQDirAccess to directory structures and their contents in a platform-independent way -TQDirectPainterDirect access to the video hardware TQDnsAsynchronous DNS lookups TQDockAreaManages and lays out TQDockWindows TQDockWindowWidget which can be docked inside a TQDockArea or floated as a top level window on the desktop @@ -157,7 +155,6 @@ body { background: #ffffff; color: black; } TQFontDatabaseInformation about the fonts available in the underlying window system TQFontDialogDialog widget for selecting a font TQFontInfoGeneral information about fonts -TQFontManagerImplements font management in TQt/Embedded TQFontMetricsFont metrics information TQFrameThe base class of widgets that can have a frame TQFtpImplementation of the FTP protocol @@ -170,8 +167,6 @@ body { background: #ffffff; color: black; } TQGb18030CodecConversion to and from the Chinese GB18030/GBK/GB2312 encoding TQGb2312CodecConversion to and from the Chinese GB2312 encoding TQGbkCodecConversion to and from the Chinese GBK encoding -TQGfxDriverFactoryCreates TQScreen objects for TQt/Embedded -TQGfxDriverPluginAbstract base for TQt/Embedded graphics driver plugins TQGridSimple geometry management of its children TQGridLayoutLays out widgets in a grid TQGridViewAbstract base for fixed-size grids @@ -213,8 +208,6 @@ body { background: #ffffff; color: black; } TQIntDictIteratorIterator for TQIntDict collections TQIntValidatorValidator which ensures that a string contains a valid integer within a specified range TQJisCodecConversion to and from JIS character sets -TQKbdDriverFactoryCreates TQWSKeyboardHandler objects for TQt/Embedded -TQKbdDriverPluginAbstract base for TQt/Embedded keyboard driver plugins TQKeyEventDescribes a key event TQKeySequenceEncapsulates a key sequence as used by accelerators TQLCDNumberDisplays a number with LCD-like digits @@ -252,8 +245,6 @@ body { background: #ffffff; color: black; } TQMotifPlusStyleMore sophisticated Motif-ish look and feel TQMotifStyleMotif look and feel TQMotifWidgetThe TQWidget API for Xt/Motif widgets -TQMouseDriverFactoryCreates TQWSMouseHandler objects for TQt/Embedded -TQMouseDriverPluginAbstract base for TQt/Embedded mouse driver plugins TQMouseEventParameters that describe a mouse event TQMoveEventEvent parameters for move events TQMovieIncremental loading of animations or images, signalling as it progresses @@ -305,7 +296,6 @@ body { background: #ffffff; color: black; } TQRegionClip region for a painter TQResizeEventEvent parameters for resize events TQSGIStyleSGI/Irix look and feel -TQScreenAnd its descendants manage the framebuffer and palette TQScrollBarVertical or horizontal scroll bar TQScrollViewScrolling area with on-demand scroll bars TQSemaphoreRobust integer semaphore @@ -409,12 +399,6 @@ body { background: #ffffff; color: black; } TQValueVectorValue-based template class that provides a dynamic array TQVariantActs like a union for the most common TQt data types TQWMatrix2D transformations of a coordinate system -TQWSDecorationAllows the appearance of the TQt/Embedded Window Manager to be customized -TQWSInputMethodInternational input methods for TQt/Embedded -TQWSKeyboardHandlerImplements the keyboard driver for TQt/Embedded -TQWSMouseHandlerMouse driver for TQt/Embedded -TQWSServerServer-specific functionality in TQt/Embedded -TQWSWindowServer-specific functionality in TQt/Embedded TQWaitConditionAllows waiting/waking for conditions between threads TQWhatsThisSimple description of any widget, i.e. answering the question "What's this?" TQWheelEventParameters that describe a wheel event diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index 551ba9c2c..e2c64894e 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -190,21 +190,13 @@ private: { setSize( image.width(), image.height() ); -#if !defined(TQ_WS_QWS) pixmap.convertFromImage(image, OrderedAlphaDither); -#endif } void ImageItem::drawShape( TQPainter &p ) { -// On TQt/Embedded, we can paint a TQImage as fast as a TQPixmap, -// but on other platforms, we need to use a TQPixmap. -#if defined(TQ_WS_QWS) - p.drawImage( int(x()), int(y()), image, 0, 0, -1, -1, OrderedAlphaDither ); -#else p.drawPixmap( int(x()), int(y()), pixmap ); -#endif } bool ImageItem::hit( const TQPoint &p ) const diff --git a/doc/html/classes.html b/doc/html/classes.html index b718c60d6..0b001d865 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -73,7 +73,7 @@ classes, see TQt's Main Classes. TQAccessibleObject -TQDirectPainter + TQImageConsumer @@ -250,8 +250,8 @@ classes, see TQt's Main Classes. TQDomNode -K -TQKbdDriverFactory + + R TQRadioButton @@ -262,7 +262,7 @@ classes, see TQt's Main Classes. TQDomNodeList -TQKbdDriverPlugin + TQRangeControl @@ -272,7 +272,7 @@ classes, see TQt's Main Classes. TQBig5Codec TQDomNotation - +K TQKeyEvent TQRect @@ -330,7 +330,7 @@ classes, see TQt's Main Classes. TQLayoutIterator S -TQScreen + * TQToolTip @@ -557,8 +557,8 @@ classes, see TQt's Main Classes. TQCanvasView -TQFontManager -* + + TQMenuData TQSpacerItem @@ -634,7 +634,7 @@ classes, see TQt's Main Classes. TQChildEvent -TQGfxDriverFactory + TQMotifDialog * @@ -645,7 +645,7 @@ classes, see TQt's Main Classes. TQClipboard -TQGfxDriverPlugin + TQMotifPlusStyle @@ -680,7 +680,7 @@ classes, see TQt's Main Classes. TQGLColormap -TQMouseDriverFactory + TQSqlField @@ -691,7 +691,7 @@ classes, see TQt's Main Classes. TQGLContext -TQMouseDriverPlugin + TQSqlFieldInfo @@ -706,8 +706,8 @@ classes, see TQt's Main Classes. TQSqlForm -TQWSDecoration -* + + TQComboBox @@ -717,8 +717,8 @@ classes, see TQt's Main Classes. TQSqlIndex -TQWSInputMethod -* + + TQComboTableItem @@ -728,8 +728,7 @@ classes, see TQt's Main Classes. TQSqlPropertyMap -TQWSKeyboardHandler -* + TQCommonStyle @@ -739,8 +738,8 @@ classes, see TQt's Main Classes. TQSqlQuery -TQWSMouseHandler -* + + TQConstString @@ -750,8 +749,8 @@ classes, see TQt's Main Classes. TQSqlRecord -TQWSServer -* + + TQContextMenuEvent @@ -761,10 +760,10 @@ classes, see TQt's Main Classes. TQSqlRecordInfo -TQWSWindow -* + + -TQCopChannel + TQGuardedPtr @@ -962,7 +961,7 @@ classes, see TQt's Main Classes. -

    * Extension classes of TQt/Embedded, Motif, and Netscape. +

    * Extension classes of Motif and Netscape. diff --git a/doc/html/emb-accel.html b/doc/html/emb-accel.html deleted file mode 100644 index 9ae80d35c..000000000 --- a/doc/html/emb-accel.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - -Adding an accelerated graphics driver to TQt/Embedded - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Adding an accelerated graphics driver to TQt/Embedded

    - - - -

    TQt/Embedded has the capacity to make use of hardware accelerators. -To use a hardware accelerator for a PCI or AGP driver, you must -perform the following steps: -

      -
    1. -Define an accelerated descendant of TQLinuxFbScreen. -

      This should implement TQVoodooScreen::connect() to map its -registers. Use qt_probe_bus to get a pointer to the PCI config -space. This is where you should check that you're being pointed to the -right device (using the PCI device/manufacturer ID information). Then -use PCI config space to locate your device's accelerator registers in -physical memory and mmap the appropriate region from /dev/mem. -There is no need to map the framebuffer, TQLinuxFbScreen will do -this for you. Return FALSE if a problem occurs at any point. TQVoodooScreen::initDevice() will be called only by the TQWS server and -is guaranteed to be called before any drawing is done (and so is a -good place to set registers to known states). connect() will be called -by every connecting client. -

    2. -Define an accelerated descendant of TQGfxRaster. -

      This is where the actual drawing code goes. Anything not implemented -in hardware can be passed back to TQGfxRaster to do in software. Use -the optype variable to make sure that accelerated and unaccelerated -operations are synchronised (if you start drawing via software into an -area where the hardware accelerator is still drawing then your drawing -operations will appear to be in the wrong order). optype is stored in -shared memory and is set to 0 by unaccelerated operations; accelerated -operations should set it to 1. When a software graphics operation is -requested and optype is 1, TQGfxRaster::sync() is called; you should -provide your own implementation of this that waits for the graphics -engine to go idle. lastop is also available for optimisation and is -stored in the shared space: this will not be set by the software-only -TQGfx and can be used to store the type of your last operation (e.g. -drawing a rectangle) so that part of the setup for the next operation -can be avoided when many of the same operations are performed in -sequence. -

      All drawing operations should be protected via a TQWSDisplay::grab() -before any registers, lastop or optype are accessed, and ungrabbed() at the end. This prevents two applications trying to -access the accelerator at once and possibly locking up the machine. -It's possible that your source data is not on the graphics card so you -should check in such cases and fall back to software if necessary. -Note that TQGfxRaster supports some features not directly supported -by TQPainter (for instance, alpha channels in 32-bit data and -stretchBlt's). These features are used by TQt; stretchBlt speeds up TQPixmap::xForm() and drawPixmap() into a transformed TQPainter, -alpha channel acceleration is supported for 32-bit pixmaps. -

    3. -If you wish, define an accelerated descendant of TQScreenCursor. restoreUnder(), saveUnder(), drawCursor() and draw() should -be defined as null operations. Implement set(), move(), show() and hide(). 4KB is left for your cursor at the end of the -visible part of the framebuffer (i.e. at (width*height*depth)/8 ) -

    4. -Implement initCursor() and createGfx() in your TQScreen -descendant. Implement useOffscreen() and return TRUE if you can -make use of offscreen graphics memory. -

    5. -Implement a small function qt_get_screen_mychip(), which simply -returns a new TQMychipScreen -

    6. -Add your driver to the DriverTable table in qgfxraster_qws.cpp, -e.g. -
      -{ "MyChip", qt_get_screen_mychip,1 },
      -
      - -

      The first parameter is the name used with TQWS_DISPLAY to request your -accelerated driver. -

    7. -To run with your new driver, -
      -export TQWS_DISPLAY=MyChip 
      -
      - -(optionally MyChip:/dev/fb<n> to request a different Linux -framebuffer than /dev/fb0), then run the program -

    -

    If your driver is not PCI or AGP you'll need to inherit TQScreen -instead of TQLinuxFbScreen and implement similar functionality to TQLinuxFbScreen, but otherwise the process should be similar. The most -complete example driver is qgfxmach64_qws.cpp; qgfxvoodoo_qws.cpp may provide a smaller and easier-to-understand -driver. -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-charinput.html b/doc/html/emb-charinput.html deleted file mode 100644 index 7214e0dee..000000000 --- a/doc/html/emb-charinput.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - -Character input in TQt/Embedded - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Character input in TQt/Embedded

    - - - -

    Internally in the client/server protocol, each key press and key -release is sent as a TQWSKeyEvent. A TQWSKeyEvent contains the -following fields: -

    -
    unicode -Unicode value -
    keycode -TQt keycode value as defined in ntqnamespace.h -
    modifier -A bitfield consisting of some of TQt::ShiftButton, -TQt::ControlButton, and TQt::AltButton. -
    is_press -TRUE if this is a key press, FALSE if it is a key release. -
    is_auto_repeat -TRUE if this event is caused by auto repeat. -
    -

    When the server receives a key event it is sent to each client process -which is responsible for processing the key event and sending it to -the right window, if any. Key events may come from several different -sources. -

    Keyboard drivers -

    -

    A keyboard driver reads data from a device and gives key events to the -server. -

    Keyboard drivers can be compiled into the library or loaded as -plugins. Running ./configure -help lists the available keyboard drivers. -The "tty" driver is enabled in the default configuration. -

    The keyboard drivers all follow the same pattern. They read keyboard -data from a device, find out which keys were pressed, and then call -the static function TQWSServer::processKeyEvent() with the key information. -

    At present, the console keyboard driver also handles console switching -(Ctrl+Alt-F1...Ctrl+Alt+F10) and termination -(Ctrl+Alt+Backspace). -

    To add a keyboard driver for a new device, subclasses of -TQWSKeyboardHandler and TQKbdDriverPlugin can be -written and installed as plugins. -

    Key event filters (input methods) -

    -

    When the server receives a key event from a keyboard driver, it first -passes it through a filter. -

    This can be used to implement input methods, providing input of -characters that are not on the keyboard. -

    To make an input method, subclass TQWSServer::KeyboardFilter (in src/kernel/qwindowsystem_qws.h) and implement the virtual function filter(). If filter() returns FALSE, the event will be sent to -the clients (using TQWSServer::sendKeyEvent()). If filter() returns -TRUE, the event will be stopped. To generate new key events, use -TQWSServer::sendKeyEvent(). (Do not use processKeyEvent(), since this -will lead to infinite recursion.) -

    To install a keyboard event filter, use -TQWSServer::setKeyboardFilter(). Currently, only one filter -can be installed at a time. -

    Filtering must be done in the server process. -

    The launcher example contains an example of a simple input method, -SimpleIM which reads a substitution table from a file. -

    Pen input -

    -

    Key events do not need to come from a keyboard device. The server -process may call TQWSServer::sendKeyEvent() at any time. -

    Typically, this is done by popping up a widget, and letting the user -specify characters with the pointer device. -

    Note: the key input widget should not take focus, since the -server would then just send the key events back to the input widget. -One way to make sure that the input widget never takes focus is to set -the WStyle_Customize and WStyle_Tool widget flags in -the TQWidget constructor. -

    The TQtopia -environment contains various input widgets such as -Handwriting Recognition and Virtual Keyboard. -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-classes.html b/doc/html/emb-classes.html deleted file mode 100644 index 385b96317..000000000 --- a/doc/html/emb-classes.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -The TQt/Embedded-specific classes - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    The TQt/Embedded-specific classes

    - - - -

    TQt/Embedded classes fall into two groups: the majority are used by -every TQt/Embedded program, and some are used only by the TQt/Embedded server. -The TQt/Embedded server program can also be a client, as in the case of a -single-process installation. All TQt/Embedded specific source files live -in src/kernel and are suffixed _qws. The » symbol -indicates inheritance. -

    -

    - - -

    TQFontManager -

    -

    There is one of these per application. At application startup time it -reads the font definition file from $TQTDIR/etc/fonts/fontdir (or /usr/local/etc/qt-embedded/fonts/fontdir if TQTDIR is undefined). It -keeps track of all font information and maintains a cache of rendered -fonts. It also creates the font factories: TQFontManager::TQFontManager -is the place to add constructors for new factories. It provides a -high-level interface for requesting a particular font and calls -TQFontFactories to load fonts from disk on demand. Note that this only -applies to BDF and TrueType fonts; TQt/Embedded's optimised .qpf -font file format bypasses the TQFontManager mechanism altogether. -

    There should be no need to modify this class unless you wish to change -font matching or caching behaviour. -

    TQDiskFont -

    -

    This contains information about a single on-disk font file (e.g. -/usr/local/etc/qt-embedded/times.ttf). It holds the file path, -information about whether the font is scalable, its weight, size, -TQt/Embedded name, etc. This information is used so that TQFontManager -can find the closest matching disk font (it uses a scoring mechanism -weighted towards matching names, then whether the font's italic, then -its weight). -

    There should be no reason to modify this class. -

    TQRenderedFont -

    -

    There is one and only one TQRenderedFont for every unique font -currently loaded by the system (that is, each unique combination of -name, size, weight, italic or not, anti-aliased or not). -TQRenderedFonts are reference counted; once no one is using the -TQRenderedFont it is deleted along with its cache of glyph bitmaps. The -TQDiskFont it was loaded from remains opened by its TQFontFactory. -

    There should be no reason to modify this class, unless you wish to -change the way in which glyphs are cached. -

    TQFontFactory (and descendants TQFontFactoryBDF, TQFontFactoryTtf) -

    -

    These provide support for particular font formats, for instance the -scalable Truetype and Type1 formats (both supported in -TQFontFactoryTtf, which uses Freetype 2) and the bitmap BDF format used -by X. It's called to open an on-disk font; once a font is opened it -remains opened so that the creation of new font instances from the -disk font is fast. It can also create a TQRenderedFont and convert from -Unicode values to an index into the font file. For compactness, glyphs -are stored in the order and indexes they are defined in the font -rather than in Unicode order. -

    There should be no need to modify this class, but it should be -inherited if you wish to add a different type of font renderer (e.g. -for a custom vector font format). -

    TQGlyph -

    -

    This describes a particular image of a character from a TQRenderedFont: -for example, the letter 'A' at 10 points in Times New Roman, bold italic, -anti-aliased. It contains pointers to a TQGlyphMetrics structure with -information about the character and to the raw data for the glyph: -this is either a 1-bit mask or an 8-bit alpha channel. Each TQRenderedFont -creates these on demand and caches them once created (note that this is -not currently implemented for TrueType fonts). -

    You would only need to modify this class if you were, for example, -modifying TQt/Embedded to support textured fonts, in which case you -would also need to modify TQGfxRaster. -

    TQMemoryManagerPixmap/TQMemoryManager -

    -

    This handles requests for space for pixmaps and also keeps track of -TQPF format fonts (these are small 'state dumps' of TQRenderedFonts, -typically 2-20KB in size; they can be mmap'd direct from disk in order -to save memory). If a TQPF font is found which matches a font request -no new TQRenderedFont need be created for it. It's possible to strip out -all TQFontFactory support and simply use TQPFs if your font needs are modest -(for instance, if you only require a few fixed point sizes). Note that -no best-match loading is performed with TQPFs, as opposed to those -loaded via TQFontManager, so if you don't have the correct TQPF for a point -size, text in that size will simply not be displayed. -

    There should be no need to modify this class. -

    TQScreen » TQLinuxFbScreen » accelerated screens, TQTransformedScreen » TQVfbScreen -

    -

    These encapsulate the framebuffer TQt/Embedded is drawing to, provide -support for mapping of coordinates for rotating framebuffers, allow -manipulation of the colour palette and provide access to offscreen -graphics memory for devices with separate framebuffer memories. -

    This is used for caching pixmaps and allowing accelerated pixmap=>screen -blt's. TQLinuxFbScreen and the accelerated screens use the Linux /dev/fb -interface to get access to graphics memory and information about the -characteristics of the device. The framebuffer device to open is specified -by TQWS_DISPLAY. Only TQTransformedScreen implements the support for rotated -framebuffers. TQVfbScreen provides an X window containing an emulated -framebuffer (a chunk of shared memory is set aside as the 'framebuffer' -and blt'd into the X window): this is intended as a debugging device -allowing users to debug their applications under TQt/Embedded without leaving -X. The accelerated screen drivers check to see if they can drive the -device specified by TQWS_CARD_SLOT (which defaults to the usual position -of an AGP slot if not specified) and mmap its on-chip registers from -/dev/mem. They may also do chip-specific setup (initialising registers to -known values and so on). Finally, TQScreen's are used to create new -TQScreenCursors and TQGfxes. -

    If you wish to modify the way pixmaps are allocated in memory, -subclass or modify TQLinuxFbScreen. If you're writing an accelerated -driver you will need to subclass TQScreen or TQLinuxFbScreen. -

    TQScreenCursor » accelerated cursor » TQVfbCursor -

    -

    This handles drawing the on-screen mouse cursor, and saving and -restoring the screen under it for the non-accelerated cursor types. -

    Subclassing TQScreenCursor is optional in an accelerated driver (you -would only want to do so if the hardware supports a hardware cursor). -

    TQGfx » RasterBase » Raster » accelerated driver » TQGfxVfb » TQGfxTransformedRaster -

    -

    This class encapsulates drawing operations, a little like a low-level -TQPainter. TQGfxRaster and its descendants are specifically intended -for drawing into a raw framebuffer. They can take an offset for drawing -operations and a clipping region in order to support drawing into windows. -You will need to subclass the TQGfxRaster template in order to implement -an accelerated driver. -

    If you're brave, modifying TQGfxRaster would allow you to customise how -drawing is done or add support for a new bit depth/pixel format. -

    TQLock, TQLockHolder -

    -

    This encapsulates a System V semaphore, used for synchronising access -to memory shared between TQt/Embedded clients. TQLockHolder is a utility class -to make managing and destroying TQLocks easier. -

    There should be no need to modify this class unless porting -TQt/Embedded to an operating system without System V IPC. -

    TQDirectPainter -

    -

    This is a TQPainter which also gives you a pointer to the framebuffer -of the window it's pointing to, the window's clip region and so on. -It's intended to easily allow you to do your own pixel-level manipulation -of window contents. -

    There should be no reason to modify this class. -

    TQWSSoundServer, Client -

    -

    The TQt/Embedded server contains a simple sound player and mixer. Clients -can request the server play sounds specified as files. -

    There should be no need to modify this class unless porting -TQt/Embedded to an operating system without a Linux-style /dev/dsp. -

    TQWSWindow -

    -

    This contains the server's notion of an individual top level window: -the region of the framebuffer it's allocated, the client that created it -and so forth. -

    There should be no reason to modify this class. -

    TQWSKeyboardHandler » subtypes -

    -

    This handles keyboard/button input. TQWSKeyboardHandler is subclassed -to provide for reading /dev/tty, an arbitrary low-level USB event device -(for USB keyboards) and some PDA button devices. -

    Modifying TQWSKeyboardHandler would allow you to support different -types of keyboard (currently only a fairly standard US PC style -keyboard is supported); subclassing it is the preferred way to handle -non-pointer input devices. -

    TQWSMouseHandler » TQWSCalibratedMouseHandler » mouse types -

    -

    This handles mouse/touch-panel input. Descendants of TQWSCalibratedMouseHandler -make use of filtering code which prevents 'jittering' of the pointer on -touchscreens; some embedded devices do this filtering in the kernel in -which case the driver doesn't need to inherit from TQWSCalibratedMouseHandler. -

    Subclassing TQWSCalibratedMouseHandler is preferred for touch-panels without -kernel filtering; inheriting TQWSMouseHandler is the way to add any other -type of pointing device (pen tablets, touchscreens, mice, trackballs -and so forth). -

    TQWSDisplay -

    -

    This class exists only in the TQt/Embedded server and keeps track of -all the top-level windows in the system, as well as the keyboard and mouse. -

    You would only want to modify this if making deep and drastic -modifications to TQt/Embedded window behaviour (alpha blended windows -for example). -

    TQWSServer -

    -

    This manages the TQt/Embedded server's Unix-domain socket connections to -clients. It sends and receives TQWS protocol events and calls TQWSDisplay -in order to do such things as change the allocation region of windows. -

    The only reason to modify this would be to use something other than -some sort of socket-like mechanism to communicate between TQt/Embedded -applications (in which case modify TQWSClient too). If you have -something like Unix domain sockets, modify TQWSSocket/TQWSServerSocket -instead. Don't add extra TQWS events to communicate between -applications, use TQCOP instead. -

    TQWSClient -

    -

    This encapsulates the client side of a TQt/Embedded connection and can -marshal and demarshal events. -

    There should be no reason to modify this except to use something -radically different from Unix domain sockets to communicate between -TQt/Embedded applications. -

    TQWSDisplayData -

    -

    This manages a client's TQWSClient, reading and interpreting events -from the TQWS server. It connects to the TQWS server on application -startup, getting information about the framebuffer and creating the -memory manager. Other information about the framebuffer comes directly -from /dev/fb in TQLinuxFbScreen. -

    There should be no reason to modify this. -

    TQWSCommands -

    -

    These encapsulate the data sent to and from the TQWS server. -

    There should be no reason to modify them. -

    TQCopChannel -

    -

    TQCop is a simple IPC mechanism for communication between TQt/Embedded -applications. String messages with optional binary data can be sent -to different channels. -

    The mechanism itself is designed to be bare-bones in order for users -to build whatever mechanism they like on top of it. -

    TQWSManager -

    -

    This provides TQt/Embedded window management, drawing a title bar -and handling user requests to move, resize the window and so on. -

    There should be no reason to modify it but you should subclass it -if you want to modify window behaviour (point to click versus -focus follows mouse, for instance). -

    TQWSDecoration -

    -

    Descendants of this class are different styles for the TQt/Embedded -window manager, for instance TQWSWindowsDecoration draws TQt/Embedded -window frames in the style of Windows CE. -

    Subclass it in order to provide a new window manager appearance (the -equivalent of a Windows XP or Enlightenment theme). -

    TQWSPropertyManager -

    -

    This provides the TQWS client's interface to the TQWS property system -(a simpler version of the X property system, it allows you to attach -arbitrary data to top-level windows, keyed by an integer). -

    There should be no reason to modify it. -

    TQWSRegionManager -

    -

    Used by both client and server to help manage top-level window regions. -

    There should be no reason to modify it. -

    TQWSSocket, TQWSServerSocket -

    -

    Provides Unix-domain sockets. -

    Modify this if you're porting to a non-Unix OS but have something -analogous to Unix-domain sockets (a byte-oriented, reliable, ordered -transmission mechanism, although you can probably implement it with -something like a message queue as well). -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-envvars.html b/doc/html/emb-envvars.html deleted file mode 100644 index 5156acab7..000000000 --- a/doc/html/emb-envvars.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - -TQt/Embedded environment variables - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQt/Embedded environment variables

    - - - -

    - - - - - - - - - -
    Variable Notes -
    TQWS_SW_CURSOR -If defined, always use a software mouse cursor even when using an -accelerated driver that supports a hardware cursor -
    TQWS_DISPLAY -Defines the display type and framebuffer, e.g. -Voodoo3 Mach64:/dev/fb1 -Defaults to an unaccelerated Linux framebuffer driver on /dev/fb0. -Valid drivers are TQVfb, VGA16, LinuxFb (unaccelerated Linux framebuffer), -Mach64 (accelerated for ATI Mach64 cards such as the Rage Pro), -Voodoo3 (accelerated for the 3dfx Voodoo 3, should also work on Voodoo -Banshee), Matrox (should work on all Matrox graphics cards since the -Matrox Millennium), Transformed (for rotated displays), SVGALIB and -VNC. Transformed displays have a special format: within the -specification should be a multiple of 90 degrees rotation specified as -Rot<x>, for instance Transformed:Rot90. -
    TQTDIR -If defined this tells TQt/Embedded to where to find its fonts: -fontdir should be in $TQTDIR/etc/fonts/. If undefined it's assumed -to be /usr/local/qt-embedded -
    TQWS_SIZE -If defined forces TQt/Embedded into a window of <width> x -<height> size centred within the screen, e.g. 320x200 -
    TQWS_NOMTRR -If defined, don't use Memory Type Range Registers to define the framebuffer -as write-combined on x86. Write-combining speeds up graphics output. -
    TQWS_CARD_SLOT -Tells the accelerated drivers which card to attempt to accelerate. -This should be a path in /proc/bus/pci. It defaults to -/proc/bus/pci/01/00.0 - the first device on the second PCI bus in the -system, which is normally the AGP card. -
    TQWS_USB_KEYBOARD -If defined, instead of opening /dev/tty open the USB low-level -event device defined in TQWS_USB_KEYBOARD (e.g. /dev/input/event0): -this is useful if you wish to run X and TQt/Embedded side by side on -different framebuffers. -
    TQWS_MOUSE_PROTO -Defined as <type>:<device>, e.g. Microsoft:/dev/ttyS0. If you want to -use a USB mouse directly (separate from X) use MouseMan:/dev/input/mouse0 -or similar. Valid mouse protocls are Auto (automatically sense protocol), -MouseMan, IntelliMouse, Microsoft, TQVfbMouse (only useful with TQVfb) -and TPanel, a sample touch panel driver. -
    TQWS_KEYBOARD -Defines the keyboard type. Multiple keyboards can be handled at once, -input will be read from all of them. Valid values: -Buttons (an iPaq button device if QT_QWS_IPAQ is compiled, otherwise -one for the Cassiopeia), TQVfbKeyboard (only useful with TQVfb), -and TTY (either a USB keyboard or /dev/tty depending if TQWS_USB_KEYBOARD -is defined) -

    -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-features.html b/doc/html/emb-features.html deleted file mode 100644 index a560ee847..000000000 --- a/doc/html/emb-features.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - -The Feature Definition File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    The Feature Definition File

    - - - -

    By modifying the configured ntqconfig.h file from src/tools, you -can define a subset of the full TQt functionality that you wish to -be available in your installation. The -qconfig option to -configure is used to select the configuration. -

    Note that such modification is only supported on TQt/Embedded -platforms, where reducing the size of TQt is -important and the application set is often fixed. -

    The ntqconfig.h definition file simply defines macros to disable -features. Some features are dependent on other features and these -dependencies are expressed in ntqfeatures.h. -

    The available options are: -

    -
    Macro Disables Set automatically by -
    Images (TQImageIO) -
    TQT_NO_IMAGEIO_BMP -Microsoft Bitmap image file format. -  -
    TQT_NO_IMAGEIO_PPM -Portable Pixmap image file format. -  -
    TQT_NO_IMAGEIO_XBM -X11 Bitmap image file format. -  -
    TQT_NO_IMAGEIO_XPM -X11 Pixmap image file format. -  -
    TQT_NO_IMAGEIO_PNG -Portable Network Graphics image file format. -  -
    Animation -
    TQT_NO_ASYNC_IO -Asynchronous I/O (TQAsyncIO) -  -
    TQT_NO_ASYNC_IMAGE_IO -Asynchronous Image I/O and GIF image support (TQImageDecoder, ...) -  -
    TQT_NO_MOVIE -Animation support (TQMovie) -TQT_NO_ASYNC_IO, TQT_NO_ASYNC_IMAGE_IO -
    Fonts -
    TQT_NO_TRUETYPE -TrueType (TTF and TTC) font file format, only used by TQt/Embedded. -  -
    TQT_NO_BDF -Bitmap Distribution Format (BDF) font file format, only used by TQt/Embedded. -  -
    TQT_NO_FONTDATABASE -Font database. -  -
    Internationalization -
    TQT_NO_I18N -Conversions between Unicode and 8-bit encodings. -  -
    TQT_NO_UNICODETABLES -Large tables defining such things as upper and lowercase conversions -for all Unicode characters. -  -
    MIME -
    TQT_NO_MIME -Multipurpose Internet Mail Extensions, an Internet standard for encoding -and tagging typed data (eg. text, images, colors) (TQMimeSource) -  -
    TQT_NO_RICHTEXT -HTML-like text (TQStyleSheet, TQLabel) -TQT_NO_MIME -
    TQT_NO_DRAGANDDROP -Drag-and-drop data between applications (TQDragObject) -TQT_NO_MIME -
    TQT_NO_CLIPBOARD -Cut-and-paste data between applications (TQClipboard) -TQT_NO_MIME -
    Sound -
    TQT_NO_SOUND -Playing audio files (TQSound) -  -
    Scripting -
    TQT_NO_PROPERTIES -Scripting TQt-based applications. -  -
    TQt/Embedded-specific -
    TQT_NO_QWS_CURSOR -The cursor sprite on TQt/Embedded. Pen-operated devices would not -normally need this feature. -  -
    TQT_NO_QWS_DEPTH_8GRAYSCALE - 8 bits per pixel: 256 levels of gray. -Incompatible with TQWS_DEPTH_8. -  -
    TQT_NO_QWS_DEPTH_8 - 8 bits per pixel: 216-color cube with 40 auxiliary colors. -Incompatible with TQWS_DEPTH_8GRAYSCALE. -  -
    TQT_NO_QWS_DEPTH_15 - 15 bits per pixel: 32 levels for each of red, green and blue. -  -
    TQT_NO_QWS_DEPTH_16 - 16 bits per pixel: 64 levels of green, 32 levels for red and for blue. -  -
    TQT_NO_QWS_DEPTH_32 - 32 bits per pixel: 256 levels for each of red, green and blue. -  -
    TQT_NO_QWS_MACH64 -Mach64 accelerated driver (demonstration only). -  -
    TQT_NO_QWS_VFB -Virtual framebuffer running on X11 (see reference documentation). -  -
    Networking -
    TQT_NO_NETWORKPROTOCOL -Abstract multi-protocol data retrieval, -with local file retrieval included (TQNetworkProtocol) -  -
    TQT_NO_NETWORKPROTOCOL_FTP -FTP-protocol data retrieval. -TQT_NO_NETWORKPROTOCOL -
    TQT_NO_NETWORKPROTOCOL_HTTP -HTTP-protocol data retrieval. -TQT_NO_NETWORKPROTOCOL -
    Painting/drawing -
    TQT_NO_COLORNAMES -Color names such as "red", used by some TQColor constructors -and by some HTML documents (TQColor, TQStyleSheet) -  -
    TQT_NO_TRANSFORMATIONS -Used by a number of classes in TQt. With this, rotation and -scaling are possible. Without it you can only do coordinate -translation (TQWMatrix) -  -
    TQT_NO_PSPRINTER -PostScript printer support. -  -
    TQT_NO_PRINTER -Printer support (TQPrinter) -TQT_NO_PSPRINTER (Unix only) -
    TQT_NO_PICTURE -Save TQt drawing commands to a files (TQPicture) -  -
    Widgets -
    TQT_NO_WIDGETS -Disabling this disables all widgets except TQWidget. -  -
    TQT_NO_TEXTVIEW -HTML document viewing (TQTextView) -TQT_NO_WIDGETS, TQT_NO_RICHTEXT -
    TQT_NO_TEXTBROWSER -HTML document browsing (TQTextBrowser) -TQT_NO_TEXTVIEW -
    TQT_NO_ICONVIEW -Labelled icons (TQIconView) -TQT_NO_WIDGETS, TQT_NO_DRAGANDDROP -
    TQT_NO_LISTVIEW -Lists of information (TQListView) -TQT_NO_WIDGETS -
    TQT_NO_CANVAS -Object canvas (TQCanvas) -TQT_NO_WIDGETS -
    TQT_NO_DIAL -Value control (TQDial) -TQT_NO_WIDGETS -
    TQT_NO_WORKSPACE -MDI (Multiple Document Interface) (TQWorkspace) -TQT_NO_WIDGETS -
    TQT_NO_LCDNUMBER -LCD-like number display (TQLCDNumber) -TQT_NO_WIDGETS -
    GUI Styles -
    TQT_NO_STYLE_WINDOWS -Microsoft Windows style (TQWindowsStyle) -TQT_NO_WIDGETS -
    TQT_NO_STYLE_MOTIF -OSF Motif style (TQMotifStyle) -TQT_NO_WIDGETS -
    TQT_NO_STYLE_CDE -Open Group CDE style (TQCDEStyle) -TQT_NO_STYLE_MOTIF -
    TQT_NO_STYLE_AQUA -MacOS X style (TQAquaStyle) -
    TQT_NO_STYLE_PLATINUM -MacOS 9 style (TQPlatinumStyle) -TQT_NO_WIDGETS -
    TQT_NO_STYLE_SGI -SGI style (TQSGIStyle) -TQT_NO_STYLE_MOTIF -
    Dialogs -
    TQT_NO_DIALOGS -Disabling this disables all common dialogs TQWidget. -TQT_NO_WIDGETS -
    TQT_NO_FILEDIALOG -The file selection dialog (TQFileDialog) -TQT_NO_DIALOGS, TQT_NO_NETWORKPROTOCOL, TQT_NO_LISTVIEW -
    TQT_NO_FONTDIALOG -The font selection dialog (TQFontDialog) -TQT_NO_DIALOGS, TQT_NO_FONTDATABASE -
    TQT_NO_COLORDIALOG -The color selection dialog (TQColorDialog) -TQT_NO_DIALOGS -
    TQT_NO_INPUTDIALOG -Text input dialog (TQInputDialog) -TQT_NO_DIALOGS -
    TQT_NO_MESSAGEBOX -Message/prompting dialog (TQMessageBox) -TQT_NO_DIALOGS -
    TQT_NO_PROGRESSDIALOG -Long-computation progress dialog (TQProgressDialog) -TQT_NO_DIALOGS -
    TQT_NO_TABDIALOG -Tabbed-pages dialog (TQTabDialog) -TQT_NO_DIALOGS -
    TQT_NO_WIZARD -Multi-step dialog (TQWizard) -TQT_NO_DIALOGS -
    -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-fonts.html b/doc/html/emb-fonts.html deleted file mode 100644 index f9faed9ac..000000000 --- a/doc/html/emb-fonts.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - -Fonts in TQt/Embedded - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Fonts in TQt/Embedded

    - - -

    Supported Formats -

    -

    TQt/Embedded supports four font formats: -

    - - - - -
    TrueType (TTF) -The scalable font technology now standard on MS-Windows and Apple -Macintosh, and becoming popular on X11. -
    Postscript Type1 (PFA/PFB) -Scalable fonts often used by printers, also popular on X11. These -are similar in functionality to TTF fonts and are not discussed -further in this document. -
    Bitmap Distribution Format
    fonts (BDF)
    -
    A standard format for non-scalable fonts. A large number of BDF -fonts are supplied as part of standard X11 distributions - most of -these can be used with TQt/Embedded. You should not use these in a -production system: they are very slow to load and take up a lot of -storage space. Instead, render the BDF to a TQPF. -
    TQt Prerendered Font (TQPF) -A light-weight non-scalable font format specific to TQt/Embedded. -
    -

    Support for each of these font formats (except TQPF which is always -enabled) can be enabled or disabled independently by using the TQt/Embedded Features Definition. There is -support in TQt/Embedded for writing a TQPF font file from any font, so -you can initially enable TTF and BDF formats, save TQPF files for the -fonts and sizes you need, then remove TTF and BDF support. -

    See tools/maketqpf for a tool that helps -produce TQPF files from the TTF and BDF, or just run your application -with the -savefonts option. -

    Memory Requirements -

    -

    With TTF fonts, each character in the font at a given point size is -only rendered when first used in a drawing or metrics operation. With -BDF fonts all characters are rendered when the font is used. -With TQPF fonts, the characters are stored in the same format that TQt -uses for drawing. -

    For example, a 10-point Times font containing the ASCII characters uses -around 1300 bytes when stored in TQPF format. -

    Taking advantage of the way the TQPF format is structured, TQt/Embedded -memory-maps the data rather than reading and parsing it. -This reduces RAM consumption even further. -

    Scalable fonts use a larger amount of memory per font, but -these fonts provide a memory saving if many different sizes of each -font are needed. -

    Smooth Fonts -

    -

    TTF, PFA, and TQPF fonts can be rendered as smooth anti-aliased -fonts to give superior readability, especially on low-resolution -devices. The difference between smooth and non-smooth fonts is -illustrated below (you may need to change your display to low -resolution to see the difference): -

    unsmooth
    -

    smooth
    -

    Unicode -

    -

    All fonts used by TQt/Embedded use the Unicode character encoding. -Most fonts available today use this encoding, but they usually don't -contain all the Unicode characters. A complete 16-point Unicode -font uses over 1 MB of memory. -

    The font definition file -

    -

    When TQt/Embedded applications run, they look for a file called -$TQTDIR/lib/fonts/fontdir or -/usr/local/qt-embedded/lib/fonts/fontdir. This file defines the -fonts available to the application. It has the following format: -

    -name file renderer italic weight size flags -
    -where -

    -
    Field Value -
    name Helvetica, Times, etc. -
    file helvR0810.bdf, verdana.ttf, etc. -
    renderer BDF or FT -
    italic y or n -
    weight 50 is normal, 75 is bold, etc. -
    size 0 for scalable or point size * 10 (i.e. 120 -for 12pt) -
    flags
      -
    • s: smooth (anti-aliased) -
    • u: Unicode range when saving (default is Latin-1) -
    • a: ASCII range when saving (default is Latin-1) -
    -
    -

    The font definition file does not specify TQPF fonts; these are loaded -directly from the directory containing the fontdir file, and must -be named name_size_weightitalicflag.qpf, where -

    -
    Field Value -
    name helvetica, times, etc. (in lowercase) -
    size point size * 10 (i.e. 120 for 12pt) -
    italicflag i for italic, otherwise nothing. -
    weight 50 is normal, 75 is bold, etc. -
    -

    If an application is run with the -savefonts command-line option, -then whenever a font other than a TQPF font is used, a corresponding TQPF file -is saved. This allows you to easily find the font usage of your applications -and to generate TQPF files so that you can eventually reduce the memory -usage of your applications by disabling TTF and BDF support from TQt/Embedded, -or by modifying the initialization of qws_savefonts in -kernel/qapplication_qws.cpp of the TQt/Embedded library source code. -In extreme cases of memory-saving, it is possible to save partially-rendered -fonts (i.e. only the characters in "Product NameTM") if you are -certain that these are the only characters you will need from the font. -See TQMemoryManager::savePrerenderedFont() for this functionality. -

    Notes -

    -

    The font definition file, naming conventions for font files, and the format -of TQPF files may change in versions of TQt/Embedded after 3. -

    -To generate TQPF files of different rotations, the program must be re-run with -an orientation that matches the desired rotation of the TQPF output. An example to -generate all 4 rotations of fonts would be to run the following at a real framebuffer: -

    -for dpy in LinuxFb Transformed:Rot90 Transformed:Rot180 Transformed:Rot270
    -do
    -    TQWS_DISPLAY=$dpy ./maketqpf "$@"
    -done
    -

    If programs are only ever run in one orientation on a device, only the one -appropriate set of fonts is needed. -

    -When enabled, TQt/Embedded uses the powerful FreeType2 library to implement -TrueType and Type1 support. -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-framebuffer-howto.html b/doc/html/emb-framebuffer-howto.html deleted file mode 100644 index 6fab9095e..000000000 --- a/doc/html/emb-framebuffer-howto.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - -Enabling the Linux Framebuffer - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Enabling the Linux Framebuffer

    - - - -

    This is only a short guide. -See /usr/src/linux/README and -/usr/src/linux/Documentation/fb/ for detailed information. -There is also a detailed explanation at -http://www.linuxdoc.org/HOWTO/Framebuffer-HOWTO.html. -

      -
    1. Make sure that you have the Linux kernel source code in -/usr/src/linux/. -

    2. Log in as root and cd /usr/src/linux -

    3. Configure the kernel: -

      Run: -

      -    make menuconfig
      -
      - -

      Select "Code maturity level options" and set "Prompt for -development and/or incomplete code/drivers". -

      Then select "Console drivers" and set "Support for frame buffer -devices" to built-in (even if it says EXPERIMENTAL). Then configure -the driver. Most modern graphics cards can use the "VESA VGA -graphics console"; use that or a driver that specifically matches -your video card. Finally, enable "Advanced low level driver options" -and make sure that 16 and 32 bpp packed pixel support are enabled. -

      When you are finished, chose exit and save. -

    4. Compile the kernel -

      First do: -

      -    make dep
      -
      - -then: -
      -    make bzImage
      -
      - -

      The new kernel should now be in arch/i386/boot/bzImage. -

    5. Copy the kernel to the boot directory: -
      -    cp arch/i386/boot/bzImage /boot/linux.vesafb
      -
      - -

    6. Edit /etc/lilo.conf. -

      Warning: Keep a backup of /etc/lilo.conf, and have a rescue disk -available. If you make a mistake, the machine may not boot. -

      The file /etc/lilo.conf specifies how the system boots. The -precise contents of the file varies from system to system. Here is -an example: -

      -# LILO configuration file
      -boot = /dev/hda3
      -delay = 30 
      -image = /boot/vmlinuz
      -  root = /dev/hda3
      -  label = Linux
      -  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
      -other=/dev/hda1
      -        label=nt
      -        table=/dev/hda
      -
      - -

      Make a new "image" section that is a copy of the first one, but with -

      -  image = /boot/linux.vesafb 
      -
      - -and -
      -  label = Linux-vesafb
      -
      - -Place it just above the first image section. -

      Add a line before the image section saying vga = 791. (Meaning -1024x768, 16 bpp.) -

      With the above example, lilo.conf would now be: -

      -# LILO configuration file
      -boot = /dev/hda3
      -delay = 30 
      -vga = 791
      -image = /boot/linux.vesafb
      -  root = /dev/hda3
      -  label = Linux-vesafb
      -  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
      -image = /boot/vmlinuz
      -  root = /dev/hda3
      -  label = Linux
      -  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
      -other=/dev/hda1
      -        label=nt
      -        table=/dev/hda
      -
      - -

      Do not change any existing lines in the file; just add new ones. -

    7. To make the new changes take effect, run the lilo program: -
      -    lilo
      -
      - -

    8. Reboot the system. You should now see a penguin logo while the -system is booting. -(Or more than one on a multi-processor machine.) -

    9. If it does not boot properly with the new kernel, you can boot with -the old kernel by entering the label of the old image section at -the LILO prompt. (with the example lilo.conf file, the old label is -Linux.) -

      If that does not work (probably because of an error in lilo.conf), -boot the machine using your rescue disk, restore /etc/lilo.conf from backup and re-run lilo. -

    10. Testing: Here's a short program that opens the frame buffer and draws a -gradient-filled red square. -

      -#include <unistd.h>
      -#include <stdio.h>
      -#include <fcntl.h>
      -#include <linux/fb.h>
      -#include <sys/mman.h>
      -
      -int main()
      -{
      -    int fbfd = 0;
      -    struct fb_var_screeninfo vinfo;
      -    struct fb_fix_screeninfo finfo;
      -    long int screensize = 0;
      -    char *fbp = 0;
      -    int x = 0, y = 0;
      -    long int location = 0;
      -
      -    // Open the file for reading and writing
      -    fbfd = open("/dev/fb0", O_RDWR);
      -    if (!fbfd) {
      -        printf("Error: cannot open framebuffer device.\n");
      -        exit(1);
      -    }
      -    printf("The framebuffer device was opened successfully.\n");
      -
      -    // Get fixed screen information
      -    if (ioctl(fbfd, FBIOGET_FSCREENINFO, &finfo)) {
      -        printf("Error reading fixed information.\n");
      -        exit(2);
      -    }
      -
      -    // Get variable screen information
      -    if (ioctl(fbfd, FBIOGET_VSCREENINFO, &vinfo)) {
      -        printf("Error reading variable information.\n");
      -        exit(3);
      -    }
      -
      -    printf("%dx%d, %dbpp\n", vinfo.xres, vinfo.yres, vinfo.bits_per_pixel );
      -
      -    // Figure out the size of the screen in bytes
      -    screensize = vinfo.xres * vinfo.yres * vinfo.bits_per_pixel / 8;
      -
      -    // Map the device to memory
      -    fbp = (char *)mmap(0, screensize, PROT_READ | PROT_WRITE, MAP_SHARED,
      -                       fbfd, 0);
      -    if ((int)fbp == -1) {
      -        printf("Error: failed to map framebuffer device to memory.\n");
      -        exit(4);
      -    }
      -    printf("The framebuffer device was mapped to memory successfully.\n");
      -
      -    x = 100; y = 100;       // Where we are going to put the pixel
      -
      -    // Figure out where in memory to put the pixel
      -    for ( y = 100; y < 300; y++ )
      -        for ( x = 100; x < 300; x++ ) {
      -
      -            location = (x+vinfo.xoffset) * (vinfo.bits_per_pixel/8) +
      -                       (y+vinfo.yoffset) * finfo.line_length;
      -
      -            if ( vinfo.bits_per_pixel == 32 ) {
      -                *(fbp + location) = 100;        // Some blue
      -                *(fbp + location + 1) = 15+(x-100)/2;     // A little green
      -                *(fbp + location + 2) = 200-(y-100)/5;    // A lot of red
      -                *(fbp + location + 3) = 0;      // No transparency
      -            } else  { //assume 16bpp
      -                int b = 10;
      -                int g = (x-100)/6;     // A little green
      -                int r = 31-(y-100)/16;    // A lot of red
      -                unsigned short int t = r<<11 | g << 5 | b;
      -                *((unsigned short int*)(fbp + location)) = t;
      -            }
      -
      -        }
      -    munmap(fbp, screensize);
      -    close(fbfd);
      -    return 0;
      -}
      -
      - -
    -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-install.html b/doc/html/emb-install.html deleted file mode 100644 index fb17287aa..000000000 --- a/doc/html/emb-install.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Installing TQt/Embedded - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Installing TQt/Embedded

    - - - -

    This installation procedure is written for Linux. It may need -to be modified for other platforms. -

      -
    1. Unpack the archive if you have not done so already -

      -    cd <anywhere>
      -    gunzip qt-embedded-commercial-VERSION.tar.gz    # uncompress the archive
      -    tar xf qt-embedded-commercial-VERSION.tar       # unpack it
      -
      - -Replace VERSION with the TQt/Embedded version number throughout. -

      This document assumes that the archive is installed as ~/qt-embedded-commercial-VERSION. -

    2. Compile the TQt/Embedded library and examples. -

      -    cd ~/qt-embedded-commercial-VERSION
      -    export TQTDIR=~/qt-embedded-commercial-VERSION
      -    ./configure
      -    make
      -
      - -

      The configuration system is designed to allow platform-specific options -to be added, but in general all Linux systems which have framebuffer -support can use the "linux-generic-g++" platform. -The configuration system also supports cross-compilers: -to build on Linux/x86 for the Linux/MIPSEL target, you would use: -

      -    ./configure -embedded mips
      -
      - -

      Only a small number of configurations are predefined. -You can create your own custom configuration by adding new files -to the mkspecs/qws/ directory. Use existing similar configurations -as a starting point. -

      Note: Due to a bug in the configure script, cross-compiling on -a little-endian machine (e.g. x86) for a big-endian processor -(e.g. PowerPC) will use the host's endianness instead of the -target's. Workaround: after running configure, and before running -make, edit $TQTDIR/include/ntqconfig.h and change the definition of -TQ_BYTE_ORDER. -

    3. Enable framebuffer support. -

      You may need to recompile your kernel to enable the framebuffer. -This document does not describe how to do this; the -Framebuffer HOWTO page -contains a short description. (You should see -a penguin logo at boot time when the frame buffer is enabled.) -

      For Matrox G100/G200/G400 use the matrox frame buffer driver. -

      For NVidia TNT cards use the nvidia frame buffer driver. -

      For Mach64 and most other cards, use the vesafb driver. -

      Note that some cards are only supported in VGA16 mode, this will -not work with the current version of TQt/Embedded, since VGA/16 is -not yet supported. You may need to upgrade your kernel, or even -switch to an experimental kernel. -

      The frame buffer must also be enabled with a boot parameter. See -/usr/src/linux/Documentation/fb for details. -

      The fbset program, which should be included in Linux distributions, -may be used to switch video modes without rebooting the system. The -video mode active when the server is started will be used. (8-bit -modes are still experimental.) Note: fbset does not work -with the vesafb driver. -

    4. Change permissions. -

      To run TQt/Embedded, you need write access to the framebuffer device -/dev/fb0. -

      You also need read access to the mouse device. (Note that -/dev/mouse is normally a symbolic link; the actual mouse device -must be readable.) -

    5. How to run the demonstration program. -

      Log into a virtual console and do this: -

      -    cd ~/qt-embedded-commercial-VERSION/examples/launcher
      -    ./start-demo
      -
      - -

    6. Miscellaneous troubleshooting and known bugs. -

      To kill gpm, run the following command as root: -

      -    gpm -k
      -
      - -

      In some cases, if the server does not work, it will work when run as root. -

      Show processes using the framebuffer: -

      -    fuser -v /dev/fb0
      -
      - -

      Kill such processes: -

      -    fuser -vk /dev/fb0
      -
      - -or harsher: -
      -    fuser -k -KILL /dev/fb0
      -
      - -

      Show existing semaphores: -

      -    ipcs            
      -
      - -

      Remove semaphores: -

      -    ipcrm
      -
      - -

      The communication between client and server is done through the -named pipe /tmp/qtembedded-username/TQtEmbedded-0; sometimes it may need to be deleted -(e.g. if you run TQt/Embedded with root privileges then later as an unprivileged user). -

    7. Customization. -

      The TQt/Embedded library can be reduced in size by -removing unnecessary features. -

    8. This document shows how to use TQt/Embedded with the Linux framebuffer. For -development and debugging purposes it is often easier to use the TQt/Embedded virtual framebuffer instead. -

    -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-performance.html b/doc/html/emb-performance.html deleted file mode 100644 index 9aa59f5d7..000000000 --- a/doc/html/emb-performance.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - -TQt/Embedded Performance Tuning - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQt/Embedded Performance Tuning

    - - -When building embedded applications on low-powered devices, a number -of options are available that would not be considered in a desktop -application environment. These options reduce the memory and/or CPU -requirements at the cost of other factors. -

    -

    -

    General programming style -

    -

    The following guidelines will improve CPU performance: -

      -
    • Create dialogs and widgets once, then TQWidget::hide() and -TQWidget::show() them, rather than creating them and deleting -them every time they are needed. -This will use a little more memory, but will be much faster. -Try to create them the first time "lazily" to avoid slow -startup (e.g. only create a Find dialog the first time the -user invokes it). -
    -

    -

    Static vs. Dynamic linking -

    -

    A lot of CPU and memory is used by the ELF linking process. You can -make significant savings by using a static build of your application -suite. This means that rather than having a dynamic library (libtqte.so) and a collection of executables which link dynamically to -that library, you build all the applications into a single executable -and statically link that with a static library (libtqt.a). This -improves start-up time, and reduces memory usage, at the expense of -flexibility (to add a new application, you must recompile the single -executable) and robustness (if one application has a bug, it might -harm other applications). If you need to install end-user -applications, this may not be an option, but if you are building a -single application suite for a device with limited CPU power and -memory, this option could be very beneficial. -

    To compile TQt as a static library, add the -static options when -you run configure. -

    To build your application suite as an all-in-one application, design each -application as a stand-alone widget or set of widgets, with only minimal -code in the main() function. Then, write an application that gives -some way to switch between the applications (e.g. a TQIconView). -TQtopia is an example of this. It can be built either as a set of -dynamically linked executables, or as a single static application. -

    Note that you should generally still link dynamically against the -standard C library and any other libraries which might be used by -other applications on your device. -

    -

    Alternative memory allocation -

    -

    We have found that the libraries shipped with some C++ compilers on -some platforms have poor performance in the built-in "new" and "delete" -operators. You might gain performance by re-implementing these -functions. For example, you can switch to the plain C allocators -by adding the following to your code: -

    -    void* operator new[]( size_t size )
    -    {
    -        return malloc( size );
    -    }
    -
    -    void* operator new( size_t size )
    -    {
    -        return malloc( size );
    -    }
    -
    -    void operator delete[]( void *p )
    -    {
    -        free( p );
    -    }
    -
    -    void operator delete[]( void *p, size_t size )
    -    {
    -        free( p );
    -    }
    -
    -    void operator delete( void *p )
    -    {
    -        free( p );
    -    }
    -
    -    void operator delete( void *p, size_t size )
    -    {
    -        free( p );
    -    }
    -
    - - - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-pointer.html b/doc/html/emb-pointer.html deleted file mode 100644 index dbad8edc4..000000000 --- a/doc/html/emb-pointer.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - -TQt/Embedded Pointer Handling - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQt/Embedded Pointer Handling

    - - -Pointer handling in TQt/Embedded works for any mouse or mouse-like -device such as touchpanels and trackballs. -

    Usually only one pointer device is supported in an embedded device, -but for demonstration purposes, TQt/Embedded includes a large number of -supported devices. -

    Mouse Protocols -

    -

    Mouse drivers can be enabled/disabled via the configure script. Running -./configure -help lists the available mouse drivers. Only the -"pc" mouse driver is enabled in the default configuration. -

    Provided the "pc" mouse driver is enabled, TQt/Embedded auto-detects the -mouse type and device if it is one of -the supported types on /dev/psaux or one of the /dev/ttyS? -serial lines. If multiple mice are detected, all may be used simultaneously. -

    Alternatively, you may set the environment variable TQWS_MOUSE_PROTO -to determine which mouse to use. This environment variable may be set -to: -

    -<protocol>:<device> -
    -where <protocol> is one of: -
      -
    • MouseMan -
    • IntelliMouse -
    • Microsoft -
    -and <device> is the mouse device, often /dev/mouse. If no -such variable is specified, the built-in default is Auto, which -enables auto-detection of the mouse protocol and device. -

    To add another protocol, new subclasses of TQWSMouseHandler and -TQMouseDriverPlugin can be written and installed as plugins. -

    Touch Panels -

    -

    TQt/Embedded ships with support for the NEC Vr41XX touchpanel and the -emerging linux touchpanel standard used by the iPAQ and Zaurus. These -are subclasses of TQWSCalibratedMouseHandler which is in turn a subclass -of TQWSMouseHandler in embedded/qmouse_qws.cpp. - - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-porting.html b/doc/html/emb-porting.html deleted file mode 100644 index 72caa313b..000000000 --- a/doc/html/emb-porting.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - -Porting your applications to TQt/Embedded - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Porting your applications to TQt/Embedded

    - - -

    Existing TQt applications should require no porting provided there is no -platform dependent code. Platform dependent code includes system calls, -calls to the underlying window system (Windows or X11), and TQt platform -specific methods such as TQApplication::x11EventFilter(). -

    For cases where it is necessary to use platform dependent code there are -macros defined that can be used to enable/disable code for each platform -using #ifdef directives: -

    -
    Platform Macro -
    TQt/X11 TQ_WS_X11 -
    TQt/Windows TQ_WS_WIN -
    TQt/Embedded TQ_WS_QWS -
    -

    TQt/Embedded also requires the following flags to be defined when compiling -applications: -

    --DTQWS -fno-exceptions -fno-rtti
    -
    - -

    Exceptions and RTTI are disabled in TQt/Embedded because they incur a large -overhead in both size and speed. - - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-running.html b/doc/html/emb-running.html deleted file mode 100644 index 681ed217b..000000000 --- a/doc/html/emb-running.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -Running TQt/Embedded applications - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Running TQt/Embedded applications

    - - -

    A TQt/Embedded application requires a master application to be running -or to be a master application itself. The master application is -primarily responsible for managing top-level window regions, and -pointer and keyboard input. -

    Any TQt/Embedded application can be a master application by -constructing the TQApplication object with the -TQApplication::GuiServer type, or by being run with the -qws -command line option. -

    This document assumes you have the Linux framebuffer configured correctly -and no master process is running. If you do not have a working Linux -framebuffer you can use the -TQt/Embedded virtual framebuffer, or you can -run TQt/Embedded as a VNC server. -

    Change to a Linux console and select an example to run, e.g. examples/widgets. Make sure $TQTDIR is set to the directory where you -installed TQt/Embedded and add the $TQTDIR/lib directory to -$LD_LIBRARY_PATH, e.g.: -

    -export TQTDIR=$HOME/qt-VERSION
    -export LD_LIBRARY_PATH=$TQTDIR/lib:$LD_LIBRARY_PATH
    -
    - -

    Run the application with the -qws option: -

    -cd $TQTDIR/examples/widgets
    -./widgets -qws
    -
    - -

    You should see the widgets example appear. If your mouse doesn't -work correctly you must specify the type of mouse to use. You can -exit the master application at any time using -Ctrl+Alt+Backspace. -

    If you wish to run additional applications you should run them as clients -i.e. without the -qws option. -

    Displays -

    -

    TQt/Embedded allows multiple displays to be used simultaneously by running -multiple TQt/Embedded master processes. This is achieved using the -display -command line parameter or the $TQWS_DISPLAY environment variable. -

    The -display parameter's syntax is: -

    -    [gfx driver][:driver specific options][:display number]
    -
    - -For example, if you want to use the mach64 driver on fb1 as display 2: -
    -    $ ./launcher -display Mach64:/dev/fb1:2
    -
    - -

    To try this functionality you can do the following: -

      -
    1. Change to VC 1 (virtual console one) and run the launcher: -

      -    $ cd examples/launcher
      -    $ ./launcher
      -
      - -

    2. Switch to VC 2 and run another one: -

      -    $ cd examples/launcher
      -    $ ./launcher -display :1
      -
      - -

      Another launcher will be started. Start an application in this launcher. -

    3. Press Ctrl+Alt+F1 - back to display 0. You can also start -additional applications on a particular display by specifying the -display id. Change to VC 3: -

      -    $ cd examples/widgets
      -    $ ./widgets -display :1
      -
      - -

      will display the widgets example on dislpay :1 (VC 2). -

    -

    Only the master process needs to specify the driver/device part -explicitly. The clients get the information they need from the master -when they connect. So once you have a master server running using a -particular driver, you can just use "client -display :n" to use -display n. -

    Mouse Input -

    -

    TQt/Embedded attempts to autodetect a mouse by default. The supported -protocols are MouseMan, Microsoft, IntelliMouse and -some other devices specific to certain hardware (e.g. Vr touch panel). -To specify the mouse to use set the $TQWS_MOUSE_PROTO environment -variable, e.g.: -

    -export TQWS_MOUSE_PROTO=IntelliMouse
    -
    - -

    The mouse autodetection opens the serial devices and psaux which -may cause conflicts with other programs using those devices. If -this is the case then specify the mouse driver protocol and device -explicitly. -

    See also TQt/Embedded Pointer Handling. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-tqvfb.html b/doc/html/emb-tqvfb.html deleted file mode 100644 index caeb0ffde..000000000 --- a/doc/html/emb-tqvfb.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - -TQt/Embedded Virtual Framebuffer - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQt/Embedded Virtual Framebuffer

    - - -

    The virtual framebuffer allows TQt/Embedded programs to be developed on -a desktop machine, without switching between consoles and X11. -

    The virtual framebuffer is located in $TQTDIR/tools/tqvfb. -

    Using the Virtual Framebuffer -

    -

      -
    1. Configure TQt/Embedded with the -tqvfb argument and compile the library: -
      -    ./configure -tqvfb
      -    make
      -    
      - -
    2. Compile tqvfb as a normal TQt/X11 application and run it. Do not -compile it as a TQt/Embedded application. -
    3. Start a TQt/Embedded master application (i.e., construct -TQApplication with the TQApplication::GuiServer flag or use the -qws command line parameter). You can specify to the server that -you wish to use the virtual framebuffer driver, e.g.: -
      -    masterapp -qws -display TQVFb:0
      -    
      - -
    4. TQt/Embedded will autodetect tqvfb, so you can omit the -display -command line parameter if you know that tqvfb is running, and that -the TQt/Embedded library supports tqvfb. (If this is not the case, -TQt/Embedded will write to the real framebuffer, and your X11 -display will be corrupted.) -

    -

    tqvfb supports the following command line options: -

    - - - - - -
    Option Meaning -
    -width width -the width of the virtual framebuffer (default: 240). -
    -height height -the height of the virtual framebuffer (default: 320). -
    -depth depth -the depth of the virtual framebuffer (1, 8 or 32; default: 8). -
    -nocursor -do not display the X11 cursor in the framebuffer window. -
    -qwsdisplay :id -the TQt/Embedded display id to provide (default: :0). -
    -

    Virtual Framebuffer Design -

    -

    The virtual framebuffer emulates a framebuffer using a shared memory region -(the virtual frame buffer) and a utility to display the framebuffer in a -window (tqvfb). The regions of the display that have changed are updated -periodically, so you will see discrete snapshots of the framebuffer rather -than each individual drawing operation. For this reason drawing problems -such as flickering may not be apparent until the program is run using a real -framebuffer. -

    The target refresh rate can be set via the View|Refresh Rate -menu item. This will cause tqvfb to check for updated regions more -frequently. The rate is a target only. If little drawing is being -done, the framebuffer will not show any updates between drawing -events. If an application is displaying an animation the updates will -be frequent, then the application and tqvfb will compete for -processor time. -

    Mouse and keyboard events are passed to the TQt/Embedded master process via -named pipes. -

    The virtual framebuffer is a development tool only. No security issues have -been considered in the virtual framebuffer design. It should be avoided -in a production environment; do not configure production libraries with -tqvfb. -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/emb-vnc.html b/doc/html/emb-vnc.html deleted file mode 100644 index 144adc272..000000000 --- a/doc/html/emb-vnc.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - -TQt/Embedded as a VNC Server - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQt/Embedded as a VNC Server

    - - -

    The VNC protocol -allows you to view and interact with the computer's display from -anywhere on the network. -

    To use TQt/Embedded in this way, configure TQt with the -qt-gfx-vnc -option, and ensure that you also enable 16-bit display support. Run -your application via: -

    -    application -display VNC:0
    -
    - -then, run a VNC client pointing at the machine that is running your -application. For example, using the X11 VNC client to view the -application from the same machine: -
    -    vncviewer localhost:0
    -
    - -

    By default, TQt/Embedded will create a 640 by 480 pixel display. You -can change this by setting the TQWS_SIZE environment variable to -another size, e.g. TQWS_SIZE=240x320. -

    VNC clients are available for a vast array of display systems: X11, -Windows, Amiga, DOS, VMS, and dozens of others. -

    The TQt Virtual Framebuffer is an alternative -technique. It uses shared memory and thus is much faster and smoother, but -it does not operate over a network. -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/embedporting.html b/doc/html/embedporting.html deleted file mode 100644 index 0e764b241..000000000 --- a/doc/html/embedporting.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - -Issues to be aware of when porting TQt/Embedded - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Issues to be aware of when porting TQt/Embedded

    - - - -

    TQt/Embedded is designed to be reasonably platform-independent. The -only publically available version is a Linux implementation. The -following dependencies will need to be addressed if you intend to port -to another operating system (files that you need to modify are listed -at the end of each section): -

      -

    • System V IPC (shared memory and semaphores) is used to share -window regions between client and server. You will need to provide -something similar unless you want a single-application setup (i.e. -running only one program, which is the server). System V semaphores -are also used for synchronising access to the framebuffer. -

      Modify qwindowsystem_qws.cpp, qwsregionmanager_qws.cpp, qapplication_qws.cpp, and qlock_qws.cpp. -

    • Unix-domain sockets are used to communicate things like -keyboard events, requests to raise windows and TQCOP messages between -applications. Again, you will need to provide something similar unless -you want a single-application setup. It should be possible to -implement something like this using message queues or similar -mechanisms; with the exception of TQCOP messages (which are generated -by client applications and not TQt/Embedded) individual messages should -be no more than a few bytes in length. -

      Modify qwssocket_qws.cpp. -

    • The Linux framebuffer device is used to map in the drawing -area. You will need to replace it (by creating a new class of TQScreen) -with something else giving a byte pointer to a memory-mapped -framebuffer, plus information about width, height and bit depth (which -most likely you can simply hard-code). If your framebuffer is not -memory-mapped or is in an unsupported format or depth you will need to -modify TQGfxRaster as well. -

      Modify qgfxlinuxfb_qws.cpp. -

    • The accelerated drivers currently use the Linux TQScreen and use -/proc/bus/pci to map in PCI config space. However, these are only -example drivers; you will probably need to write your own driver in -any case, and you will need to provide your own way to map in control -registers. -

      Modify qgfxmach64_qws.cpp, qgfxvoodoo_qws.cpp and qgfxmatrox_qws.cpp. -

    • Sound uses a Linux /dev/dsp style device. If you want to use -the TQt/Embedded sound server you'll need to reimplement it. -

      Modify qsoundqss_qws.cpp. -

    • select() is used to implement TQSocketDevices and listen for -events to/from the TQt/Embedded server application. -

      Modify qapplication_qws.cpp. -

    -

    TQt/Embedded makes use of the standard C library and some Posix functions. -Mostly the latter are concentrated in platform dependent code anyway -(e.g. mmap() to map in the Linux framebuffer). -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/faq.html b/doc/html/faq.html index 645582761..760beb56e 100644 --- a/doc/html/faq.html +++ b/doc/html/faq.html @@ -165,7 +165,6 @@ extensible, and allows true component programming.
  • Unix/X11 -- Linux, Sun Solaris, HP-UX, Compaq Tru64 UNIX, IBM AIX, SGI IRIX and a wide range of others
  • Macintosh -- Mac OS X -
  • Embedded -- Linux platforms with framebuffer support.

    It has become the emerging standard development environment for IT professionals who want to: @@ -255,8 +254,7 @@ available from amazon.com. You can find a partial list at TQt. You can use this edition to create and run free software, i.e. software that is licensed under the GNU GPL or a similarly recognized open source license. -

    TQt Open Source edition is available for Unix/X11, Macintosh and -Linux/embedded. +

    TQt Open Source edition is available for Unix/X11 and Macintosh.


    What is the idea behind having a free version of TQt?

    diff --git a/doc/html/functions.html b/doc/html/functions.html index a21aaa318..662c640ea 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -138,8 +138,7 @@ abort: TQImage
  • allItems: TQCanvas
  • allWidgets: TQApplication
  • alloc: - TQColor TQScreen
  • allocation: - TQWSWindow
  • allowedInContext: + TQColor
  • allowedInContext: TQStyleSheetItem
  • allowsErrorInteraction: TQSessionManager
  • allowsInteraction: TQSessionManager
  • alpha: @@ -252,7 +251,7 @@ back: TQLineEdit TQMultiLineEdit
  • backward: TQTextBrowser
  • backwardAvailable: TQTextBrowser
  • base: - TQColorGroup TQScreen
  • baseName: + TQColorGroup
  • baseName: TQFileInfo
  • baseSize: TQWidget
  • beep: TQApplication
  • beforeDelete: @@ -271,8 +270,7 @@ back: TQImage TQPaintDevice
  • bitOrder: TQImage
  • bitmap: TQCursor
  • bits: - TQImage
  • blank: - TQScreen
  • blockSignals: + TQImage
  • blockSignals: TQObject
  • blocking: TQSocketDevice
  • blue: TQColor
  • bold: @@ -308,13 +306,11 @@ back: TQSocket
  • bytesWritten: TQSocket
  • c: - TQLocale
  • cache: - TQScreen
  • cacheLimit: + TQLocale
  • cacheLimit: TQPixmapCache
  • caching: TQFileInfo
  • calcRect: TQIconViewItem
  • calculateField: - TQSqlCursor
  • calibrate: - TQWSMouseHandler
  • canCast: + TQSqlCursor
  • canCast: TQVariant
  • canConvert: TQMacMime TQWindowsMime
  • canDecode: TQColorDrag TQIconDrag TQImageDrag TQTextDrag TQUriDrag
  • canDelete: @@ -336,7 +332,7 @@ c: TQRegExp
  • capStyle: TQPen
  • capacity: TQString TQValueVector
  • caption: - TQWSWindow TQWidget
  • capturedTexts: + TQWidget
  • capturedTexts: TQRegExp
  • cascade: TQWorkspace
  • caseSensitive: TQRegExp
  • cast: @@ -360,8 +356,7 @@ c: TQComboBox TQListBox TQMenuData TQPopupMenu
  • changeSize: TQSpacerItem
  • changeTab: TQTabDialog TQTabWidget
  • changed: - TQImageConsumer
  • channel: - TQCopChannel
  • charAt: + TQImageConsumer
  • charAt: TQTextEdit
  • charWidth: TQFontMetrics
  • characters: TQXmlContentHandler
  • checkConnectArgs: @@ -390,11 +385,10 @@ c: TQMetaObject TQObject
  • cleanDirPath: TQDir
  • cleanText: TQSpinBox
  • cleanup: - TQColor TQCursor TQFontManager
  • clear: + TQColor TQCursor
  • clear: TQAccel TQAsciiCache TQAsciiDict TQCache TQClipboard TQComboBox TQDict TQDomNode TQIconView TQIntCache TQIntDict TQLabel TQLineEdit TQListBox TQListView TQMap TQMenuBar TQMenuData TQObjectCleanupHandler TQPixmapCache TQPopupMenu TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSplashScreen TQSqlCursor TQSqlField TQSqlForm TQSqlRecord TQStatusBar TQTextEdit TQToolBar TQToolTip TQTranslator TQValueList TQValueVector TQVariant TQXmlAttributes
  • clearArguments: TQProcess
  • clearBit: - TQBitArray
  • clearCalibration: - TQWSMouseHandler
  • clearCell: + TQBitArray
  • clearCell: TQTable
  • clearCellWidget: TQTable
  • clearEdit: TQComboBox
  • clearEntries: @@ -412,26 +406,21 @@ c: TQComboBox TQLineEdit
  • clearValues: TQDataBrowser TQDataView TQSqlForm TQSqlRecord
  • clearWFlags: TQWidget
  • clicked: - TQButton TQButtonGroup TQCheckBox TQHeader TQIconView TQListBox TQListView TQPushButton TQRadioButton TQTable TQTextEdit TQWhatsThis
  • client: - TQWSWindow
  • clientWindows: - TQWSServer
  • clipRegion: + TQButton TQButtonGroup TQCheckBox TQHeader TQIconView TQListBox TQListView TQPushButton TQRadioButton TQTable TQTextEdit TQWhatsThis
  • clipRegion: TQPainter TQWidget
  • clipboard: TQApplication
  • clipper: TQScrollView
  • cloneNode: TQDomNode
  • close: - TQFile TQFtp TQIODevice TQSocket TQSqlDatabase TQSqlDriver TQWSDecoration TQWidget
  • closeActiveWindow: + TQFile TQFtp TQIODevice TQSocket TQSqlDatabase TQSqlDriver TQWidget
  • closeActiveWindow: TQWorkspace
  • closeAllWindows: TQApplication TQWorkspace
  • closeAssistant: TQAssistantClient
  • closeConnection: TQHttp
  • closeEvent: - TQWidget
  • closeKeyboard: - TQWSServer
  • closeMode: - TQDockWindow
  • closeMouse: - TQWSServer
  • closeStdin: + TQWidget
  • closeMode: + TQDockWindow
  • closeStdin: TQProcess
  • closed: TQCanvasSpline
  • closingDown: - TQApplication
  • clut: - TQScreen
  • cmd: + TQApplication
  • cmd: TQPaintDevice
  • codec: TQTextStream
  • codecForCStrings: TQTextCodec
  • codecForContent: @@ -488,7 +477,7 @@ c: TQDataBrowser TQDataTable
  • confirmInsert: TQDataBrowser TQDataTable
  • confirmUpdate: TQDataBrowser TQDataTable
  • connect: - TQAsyncIO TQObject TQScreen TQSignal TQSocketDevice
  • connectItem: + TQAsyncIO TQObject TQSignal TQSocketDevice
  • connectItem: TQAccel TQMenuData TQPopupMenu
  • connectNotify: TQObject
  • connectOptions: TQSqlDatabase
  • connectResize: @@ -555,7 +544,7 @@ c: TQMacMime
  • country: TQLocale
  • countryToString: TQLocale
  • create: - TQGLContext TQGfxDriverFactory TQGfxDriverPlugin TQImage TQKbdDriverFactory TQKbdDriverPlugin TQMouseDriverFactory TQMouseDriverPlugin TQNPlugin TQSqlDriverPlugin TQStyleFactory TQStylePlugin TQWidget TQWidgetFactory TQWidgetPlugin
  • createAlphaMask: + TQGLContext TQImage TQNPlugin TQSqlDriverPlugin TQStyleFactory TQStylePlugin TQWidget TQWidgetFactory TQWidgetPlugin
  • createAlphaMask: TQImage
  • createAttribute: TQDomDocument
  • createAttributeNS: TQDomDocument
  • createCDATASection: @@ -570,8 +559,7 @@ c: TQDomDocument
  • createEntityReference: TQDomDocument
  • createForMib: TQTextCodecPlugin
  • createForName: - TQTextCodecPlugin
  • createGfx: - TQScreen
  • createHeuristicMask: + TQTextCodecPlugin
  • createHeuristicMask: TQImage TQPixmap
  • createPixmap: TQIconFactory
  • createPopupMenu: TQLineEdit TQTextEdit
  • createProcessingInstruction: @@ -700,7 +688,7 @@ dark: TQObject
  • deleteNetworkProtocol: TQUrlOperator
  • delta: TQWheelEvent
  • depth: - TQDirectPainter TQGLFormat TQImage TQListViewItem TQPaintDeviceMetrics TQPixmap TQScreen
  • dequeue: + TQGLFormat TQImage TQListViewItem TQPaintDeviceMetrics TQPixmap
  • dequeue: TQPtrQueue
  • descent: TQFontMetrics
  • description: TQImageIO
  • deselect: @@ -713,10 +701,8 @@ dark: TQObject
  • det: TQWMatrix
  • detach: TQBitArray TQGLColormap TQIconSet TQImage TQMap TQMemArray TQPicture TQPixmap
  • device: - TQDataStream TQGLContext TQPainter TQTabletEvent TQTextStream
  • deviceHeight: - TQScreen
  • deviceIsPixmap: - TQGLContext
  • deviceWidth: - TQScreen
  • dialMoved: + TQDataStream TQGLContext TQPainter TQTabletEvent TQTextStream
  • deviceIsPixmap: + TQGLContext
  • dialMoved: TQDial
  • dialPressed: TQDial
  • dialReleased: TQDial
  • dialog: @@ -733,7 +719,7 @@ dark: TQFont
  • disabled: TQPalette
  • discardCommand: TQSessionManager
  • disconnect: - TQObject TQScreen TQSignal
  • disconnectItem: + TQObject TQSignal
  • disconnectItem: TQAccel TQMenuData TQPopupMenu
  • disconnectNotify: TQObject
  • disconnectResize: TQMovie
  • disconnectStatus: @@ -843,8 +829,7 @@ echoMode: TQDomDocument TQDomElement
  • emitSelectionChanged: TQIconView
  • empty: TQMap TQValueList TQValueVector
  • enableClipper: - TQScrollView
  • enablePainting: - TQWSServer
  • enableRewind: + TQScrollView
  • enableRewind: TQDataSource TQIODeviceSource
  • enabled: TQToolTipGroup
  • enabledChange: TQWidget
  • encode: @@ -935,7 +920,7 @@ falseText: TQFileDialog
  • fill: TQBitArray TQCString TQImage TQMemArray TQPixmap TQPtrVector TQString TQTextStream
  • fillRect: TQPainter
  • filter: - TQDataBrowser TQDataTable TQDir TQSqlCursor TQWSInputMethod
  • filterSelected: + TQDataBrowser TQDataTable TQDir TQSqlCursor
  • filterSelected: TQFileDialog
  • find: TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataTable TQDict TQGLColormap TQIntCache TQIntDict TQMap TQMemArray TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlRecordInfo TQString TQTextEdit TQValueList TQWidget
  • findFirstVisibleItem: TQIconView
  • findIndex: @@ -996,8 +981,7 @@ falseText: TQSqlDriver
  • forward: TQTextBrowser
  • forwardAvailable: TQTextBrowser
  • frame: - TQCanvasSprite TQLineEdit
  • frameBuffer: - TQDirectPainter
  • frameChanged: + TQCanvasSprite TQLineEdit
  • frameChanged: TQFrame
  • frameCount: TQCanvasSprite
  • frameDone: TQImageConsumer
  • frameGeometry: @@ -1032,7 +1016,7 @@ gamma: TQImageIO
  • generateFontDisplayLists: TQGLContext
  • geometry: TQLayoutItem TQWidget
  • get: - TQFontManager TQFtp TQHttp TQUrlOperator
  • getColor: + TQFtp TQHttp TQUrlOperator
  • getColor: TQColorDialog
  • getCursorPosition: TQTextEdit
  • getDouble: TQInputDialog
  • getExistingDirectory: @@ -1144,7 +1128,7 @@ hScrollBarMode: TQListView
  • headerSection: TQStyleOption
  • headerWidth: TQHeader
  • height: - TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQDirectPainter TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPixmap TQRect TQScreen TQSimpleRichText TQSize TQWidget
  • heightForWidth: + TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPixmap TQRect TQSimpleRichText TQSize TQWidget
  • heightForWidth: TQBoxLayout TQGridLayout TQLayoutItem TQMenuBar TQTextEdit TQWidget
  • heightMM: TQPaintDeviceMetrics
  • help: TQWizard
  • helpButton: @@ -1153,7 +1137,7 @@ hScrollBarMode: TQWizard
  • heuristicContentMatch: TQTextCodec
  • heuristicNameMatch: TQTextCodec
  • hide: - TQCanvasItem TQMenuBar TQToolTip TQWSWindow TQWidget
  • hideColumn: + TQCanvasItem TQMenuBar TQToolTip TQWidget
  • hideColumn: TQListView TQTable
  • hideEvent: TQScrollBar TQWidget
  • hideOrShow: TQStatusBar
  • hideRow: @@ -1215,10 +1199,8 @@ icon: TQUrlOperator
  • information: TQMessageBox
  • inherits: TQMetaObject TQObject
  • init: - TQTableSelection
  • initCursor: - TQScreen
  • initDevice: - TQScreen
  • initialize: - TQColor TQCursor TQFontManager TQWindowsMime
  • initializeGL: + TQTableSelection
  • initialize: + TQColor TQCursor TQWindowsMime
  • initializeGL: TQGLWidget
  • initializeOverlayGL: TQGLWidget
  • initialized: TQGLContext
  • inputFormatList: @@ -1307,8 +1289,7 @@ icon: TQWidgetPlugin
  • isContentsPreviewEnabled: TQFileDialog
  • isCopyOf: TQFont TQPalette
  • isCurrent: - TQListBoxItem
  • isCursorVisible: - TQWSServer
  • isCustomizable: + TQListBoxItem
  • isCustomizable: TQMainWindow
  • isDefault: TQPushButton TQStyleOption
  • isDefaultUp: TQMenuBar
  • isDescending: @@ -1347,8 +1328,7 @@ icon: TQGroupBox TQPushButton
  • isFocusEnabled: TQWidget
  • isForwardOnly: TQSqlQuery TQSqlResult
  • isFullScreen: - TQWidget
  • isFullyObscured: - TQWSWindow
  • isGenerated: + TQWidget
  • isGenerated: TQIconSet TQSqlFieldInfo TQSqlRecord
  • isGloballyEnabled: TQToolTip
  • isGrayscale: TQImage
  • isHidden: @@ -1360,8 +1340,7 @@ icon: TQWMatrix
  • isInactive: TQIODevice
  • isInfoPreviewEnabled: TQFileDialog
  • isInputMethodEnabled: - TQWidget
  • isInterlaced: - TQScreen
  • isInvertible: + TQWidget
  • isInvertible: TQWMatrix
  • isItemActive: TQMenuData
  • isItemChecked: TQMenuData TQPopupMenu
  • isItemEnabled: @@ -1384,8 +1363,7 @@ icon: TQAssistantClient TQIODevice TQListView TQListViewItem TQSqlDatabase TQSqlDriver
  • isOpenError: TQSqlDatabase TQSqlDriver
  • isOptionEnabled: TQPrinter
  • isOverwriteMode: - TQTextEdit
  • isPartiallyObscured: - TQWSWindow
  • isPhase2: + TQTextEdit
  • isPhase2: TQSessionManager
  • isPopup: TQWidget
  • isPrint: TQChar
  • isPrintableData: @@ -1398,8 +1376,7 @@ icon: TQDataBrowser TQLineEdit TQSqlCursor TQSqlField TQTable TQTextEdit
  • isReadWrite: TQIODevice
  • isReadable: TQDir TQFileInfo TQIODevice TQUrlInfo
  • isRedoAvailable: - TQLineEdit TQTextEdit
  • isRegistered: - TQCopChannel
  • isRelative: + TQLineEdit TQTextEdit
  • isRelative: TQDir TQFileInfo
  • isRelativePath: TQDir
  • isRelativeUrl: TQUrl
  • isRenaming: @@ -1437,8 +1414,7 @@ icon: TQDomNode TQDomText
  • isToggleAction: TQAction
  • isToggleButton: TQButton TQCheckBox TQPushButton TQRadioButton
  • isTopLevel: - TQLayout TQWidget
  • isTransformed: - TQScreen
  • isTranslated: + TQLayout TQWidget
  • isTranslated: TQIODevice
  • isTrim: TQSqlFieldInfo
  • isTrimmed: TQSqlCursor
  • isTristate: @@ -1450,7 +1426,7 @@ icon: TQScrollView
  • isVerticallyStretchable: TQDockWindow
  • isVirtualDesktop: TQDesktopWidget
  • isVisible: - TQAction TQCanvasItem TQListViewItem TQWSWindow TQWidget
  • isVisibleTo: + TQAction TQCanvasItem TQListViewItem TQWidget
  • isVisibleTo: TQWidget
  • isWidgetType: TQObject
  • isWorking: TQDns
  • isWritable: @@ -1483,15 +1459,13 @@ join: TQChar
  • jumpTable: TQImage
  • key: - TQAccel TQFont TQIconViewItem TQKeyEvent TQListViewItem TQMapConstIterator TQMapIterator TQTableItem
  • keyMap: - TQWSServer
  • keyPressEvent: + TQAccel TQFont TQIconViewItem TQKeyEvent TQListViewItem TQMapConstIterator TQMapIterator TQTableItem
  • keyPressEvent: TQLineEdit TQTextBrowser TQTextEdit TQWidget
  • keyReleaseEvent: TQWidget
  • keyToValue: TQMetaProperty
  • keyboardFocusTab: TQTabBar
  • keyboardGrabber: - TQWidget
  • keyboardHandler: - TQWSServer
  • keys: - TQGfxDriverFactory TQGfxDriverPlugin TQHttpHeader TQImageFormatPlugin TQKbdDriverFactory TQKbdDriverPlugin TQMap TQMouseDriverFactory TQMouseDriverPlugin TQSqlDriverPlugin TQStyleFactory TQStylePlugin TQWidgetPlugin
  • keysToValue: + TQWidget
  • keys: + TQHttpHeader TQImageFormatPlugin TQMap TQSqlDriverPlugin TQStyleFactory TQStylePlugin TQWidgetPlugin
  • keysToValue: TQMetaProperty
  • kill: TQProcess
  • killLine: TQMultiLineEdit
  • killTimer: @@ -1506,8 +1480,7 @@ label: TQDomNode
  • lastError: TQSqlDatabase TQSqlDriver TQSqlQuery TQSqlResult
  • lastItem: TQIconView TQListView
  • lastModified: - TQFileInfo TQNPStream TQUrlInfo
  • lastOp: - TQScreen
  • lastQuery: + TQFileInfo TQNPStream TQUrlInfo
  • lastQuery: TQSqlQuery TQSqlResult
  • lastRead: TQFileInfo TQUrlInfo
  • lastRecordAvailable: TQDataBrowser
  • lastResortFamily: @@ -1540,20 +1513,18 @@ label: TQXmlReader
  • library: TQLibrary
  • libraryPaths: TQApplication
  • light: - TQColor TQColorGroup
  • limitToScreen: - TQWSMouseHandler
  • lineEdit: + TQColor TQColorGroup
  • lineEdit: TQComboBox
  • lineLength: TQMultiLineEdit
  • lineNumber: TQXmlLocator TQXmlParseException
  • lineOfChar: TQTextEdit
  • lineSpacing: TQFontMetrics
  • lineStep: - TQDial TQDirectPainter TQRangeControl TQScrollBar TQSlider TQSpinBox
  • lineUp: + TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox
  • lineUp: TQDockArea
  • lineUpDockWindows: TQMainWindow
  • lineWidth: TQFontMetrics TQFrame TQStyleOption
  • lines: TQTextEdit
  • linesOfParagraph: - TQTextEdit
  • linestep: - TQScreen
  • link: + TQTextEdit
  • link: TQColorGroup
  • linkClicked: TQTextBrowser
  • linkUnderline: TQTextEdit
  • linkVisited: @@ -1590,7 +1561,7 @@ label: TQSound
  • loopsRemaining: TQSound
  • lostFocus: TQFocusEvent TQLineEdit
  • lower: - TQCString TQChar TQString TQWSWindow TQWidget
  • + TQCString TQChar TQString TQWidget
  • m11: TQWMatrix
  • m12: TQWMatrix
  • m21: @@ -1609,18 +1580,15 @@ m11: TQPointArray
  • makeEncoder: TQTextCodec
  • makeOverlayCurrent: TQGLWidget
  • makeRowLayout: - TQIconView
  • manager: - TQWSServer
  • manhattanLength: + TQIconView
  • manhattanLength: TQPoint
  • map: TQSignalMapper TQWMatrix
  • mapFrom: - TQWidget
  • mapFromDevice: - TQScreen
  • mapFromGlobal: + TQWidget
  • mapFromGlobal: TQWidget
  • mapFromParent: TQWidget
  • mapRect: TQWMatrix
  • mapTextToValue: TQSpinBox
  • mapTo: - TQWidget
  • mapToDevice: - TQScreen
  • mapToGlobal: + TQWidget
  • mapToGlobal: TQWidget
  • mapToIndex: TQHeader
  • mapToParent: TQWidget
  • mapToPolygon: @@ -1647,8 +1615,7 @@ m11: TQTextEdit
  • maxPage: TQPrinter
  • maxValue: TQDateEdit TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox TQTimeEdit
  • maxWidth: - TQFontMetrics
  • maximize: - TQWSDecoration
  • maximumHeight: + TQFontMetrics
  • maximumHeight: TQWidget
  • maximumSize: TQBoxLayout TQGridLayout TQLayout TQLayoutItem TQSpacerItem TQWidget TQWidgetItem
  • maximumWidth: TQWidget
  • mayGrowHorizontally: @@ -1657,8 +1624,7 @@ m11: TQSizePolicy
  • mayShrinkVertically: TQSizePolicy
  • maybeReady: TQDataSink TQDataSource
  • maybeTip: - TQToolTip
  • menu: - TQWSDecoration
  • menuAboutToShow: + TQToolTip
  • menuAboutToShow: TQMainWindow
  • menuBar: TQLayout TQMainWindow
  • menuContentsChanged: TQMenuBar TQMenuData
  • menuDelPopup: @@ -1687,8 +1653,7 @@ m11: TQPrinter
  • minRightBearing: TQFontMetrics
  • minValue: TQDateEdit TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox TQTimeEdit
  • minimal: - TQRegExp
  • minimize: - TQWSDecoration
  • minimumDuration: + TQRegExp
  • minimumDuration: TQProgressDialog
  • minimumHeight: TQWidget
  • minimumSize: TQBoxLayout TQGridLayout TQLayout TQLayoutItem TQSpacerItem TQWidget TQWidgetItem
  • minimumSizeHint: @@ -1706,11 +1671,9 @@ m11: TQDate
  • motifWidget: TQMotifWidget
  • mouseButtonClicked: TQIconView TQListBox TQListView
  • mouseButtonPressed: - TQIconView TQListBox TQListView
  • mouseChanged: - TQWSMouseHandler
  • mouseDoubleClickEvent: + TQIconView TQListBox TQListView
  • mouseDoubleClickEvent: TQWidget
  • mouseGrabber: - TQWidget
  • mouseHandler: - TQWSServer
  • mouseMoveEvent: + TQWidget
  • mouseMoveEvent: TQSizeGrip TQWidget
  • mousePressEvent: TQSizeGrip TQWidget
  • mouseReleaseEvent: TQWidget
  • move: @@ -1743,15 +1706,14 @@ m11: TQListViewItem
  • mutex: TQMutexLocker
  • name: - TQColor TQDomAttr TQDomDocumentType TQFile TQLocale TQMetaProperty TQObject TQSqlCursor TQSqlField TQSqlFieldInfo TQSqlIndex TQStyleSheetItem TQTextCodec TQUrlInfo TQWSWindow
  • nameFilter: + TQColor TQDomAttr TQDomDocumentType TQFile TQLocale TQMetaProperty TQObject TQSqlCursor TQSqlField TQSqlFieldInfo TQSqlIndex TQStyleSheetItem TQTextCodec TQUrlInfo
  • nameFilter: TQDir TQUrlOperator
  • nameToType: TQVariant
  • namedItem: TQDomNamedNodeMap TQDomNode
  • namedItemNS: TQDomNamedNodeMap
  • names: TQTextCodecPlugin
  • namespaceURI: TQDomNode
  • navigate: - TQAccessibleInterface
  • newChannel: - TQWSServer
  • newChild: + TQAccessibleInterface
  • newChild: TQNetworkProtocol
  • newChildren: TQNetworkProtocol TQUrlOperator
  • newConnection: TQServerSocket
  • newInstance: @@ -1790,14 +1752,13 @@ name: TQRegExp
  • numClassInfo: TQMetaObject
  • numColors: TQImage TQPaintDeviceMetrics
  • numCols: - TQDataTable TQGridLayout TQGridView TQScreen TQTable TQTableSelection
  • numColumns: + TQDataTable TQGridLayout TQGridView TQTable TQTableSelection
  • numColumns: TQListBox
  • numCopies: TQPrinter
  • numDigits: TQLCDNumber
  • numItemsVisible: TQListBox
  • numLines: TQMultiLineEdit
  • numProperties: - TQMetaObject
  • numRects: - TQDirectPainter
  • numRows: + TQMetaObject
  • numRows: TQDataTable TQGridLayout TQGridView TQListBox TQTable TQTableSelection
  • numRowsAffected: TQSqlQuery TQSqlResult
  • numScreens: TQDesktopWidget
  • numSelections: @@ -1808,7 +1769,7 @@ name: object: TQAccessibleObject
  • objectTrees: TQObject
  • offset: - TQDirectPainter TQDockWindow TQHeader TQImage
  • offsetX: + TQDockWindow TQHeader TQImage
  • offsetX: TQCanvasPixmap
  • offsetY: TQCanvasPixmap
  • ok: TQServerSocket
  • okRename: @@ -1816,17 +1777,13 @@ object: TQNPStream
  • oldPos: TQMoveEvent
  • oldSize: TQResizeEvent
  • onCanvas: - TQCanvas
  • onCard: - TQScreen
  • onItem: + TQCanvas
  • onItem: TQIconView TQListBox TQListView
  • onViewport: - TQIconView TQListBox TQListView
  • opType: - TQScreen
  • opaqueMoving: + TQIconView TQListBox TQListView
  • opaqueMoving: TQDockWindow TQMainWindow
  • opaqueResize: TQSplitter
  • open: TQFile TQIODevice TQSocket TQSqlDatabase TQSqlDriver
  • openAssistant: - TQAssistantClient
  • openKeyboard: - TQWSServer
  • openMouse: - TQWSServer
  • openPopup: + TQAssistantClient
  • openPopup: TQToolButton
  • operation: TQNetworkOperation
  • operationGet: TQNetworkProtocol
  • operationInProgress: @@ -1908,9 +1865,8 @@ packImage: TQPrinter
  • pageStep: TQDial TQRangeControl TQScrollBar TQSlider
  • pageUp: TQMultiLineEdit
  • paint: - TQCustomMenuItem TQListBoxItem TQListBoxPixmap TQListBoxText TQTabBar TQTableItem TQWSDecoration
  • paintBranches: - TQListViewItem
  • paintButton: - TQWSDecoration
  • paintCell: + TQCustomMenuItem TQListBoxItem TQListBoxPixmap TQListBoxText TQTabBar TQTableItem
  • paintBranches: + TQListViewItem
  • paintCell: TQCheckListItem TQGridView TQListBox TQListViewItem TQTable
  • paintEmptyArea: TQGridView TQListView TQTable
  • paintEvent: TQButton TQFrame TQGLWidget TQSizeGrip TQStatusBar TQTabBar TQWidget
  • paintField: @@ -1959,13 +1915,9 @@ packImage: TQColor TQImage
  • pixelIndex: TQImage
  • pixelMetric: TQStyle
  • pixelSize: - TQFont TQFontInfo
  • pixelType: - TQScreen
  • pixmap: - TQBrush TQButton TQCheckBox TQClipboard TQComboBox TQDragObject TQFileIconProvider TQIconSet TQIconViewItem TQLabel TQListBox TQListBoxItem TQListBoxPixmap TQListViewItem TQMenuData TQPopupMenu TQPushButton TQRadioButton TQSplashScreen TQTable TQTableItem
  • pixmapDepth: - TQScreen
  • pixmapHotSpot: - TQDragObject
  • pixmapLinestepAlignment: - TQScreen
  • pixmapOffsetAlignment: - TQScreen
  • pixmapRect: + TQFont TQFontInfo
  • pixmap: + TQBrush TQButton TQCheckBox TQClipboard TQComboBox TQDragObject TQFileIconProvider TQIconSet TQIconViewItem TQLabel TQListBox TQListBoxItem TQListBoxPixmap TQListViewItem TQMenuData TQPopupMenu TQPushButton TQRadioButton TQSplashScreen TQTable TQTableItem
  • pixmapHotSpot: + TQDragObject
  • pixmapRect: TQIconViewItem
  • pixmapSizeChanged: TQMainWindow
  • place: TQDockWindow
  • placeChanged: @@ -1987,7 +1939,7 @@ packImage: TQComboBox TQPopupMenu TQPushButton TQToolButton
  • popupDelay: TQToolButton
  • port: TQServerSocket TQSocket TQSocketDevice TQSqlDatabase TQUrl
  • pos: - TQContextMenuEvent TQCursor TQDropEvent TQIconViewItem TQMouseEvent TQMoveEvent TQRegExp TQTabletEvent TQWSMouseHandler TQWheelEvent TQWidget
  • position: + TQContextMenuEvent TQCursor TQDropEvent TQIconViewItem TQMouseEvent TQMoveEvent TQRegExp TQTabletEvent TQWheelEvent TQWidget
  • position: TQSqlRecord
  • positionFromValue: TQRangeControl
  • post: TQHttp
  • postEvent: @@ -2022,8 +1974,7 @@ packImage: TQPrinter
  • processEvents: TQApplication TQEventLoop
  • processExited: TQProcess
  • processIdentifier: - TQProcess
  • processKeyEvent: - TQWSKeyboardHandler
  • processName: + TQProcess
  • processName: TQXmlNamespaceSupport
  • processingInstruction: TQXmlContentHandler
  • progress: TQProgressBar TQProgressDialog
  • progressString: @@ -2094,19 +2045,13 @@ tqAddPostRoutine: TQStyle
  • querySubControlMetrics: TQStyle
  • question: TQMessageBox
  • quit: - TQApplication
  • qwsDecoration: - TQApplication
  • qwsEvent: - TQWidget
  • qwsEventFilter: - TQApplication
  • qwsRenderToDisk: - TQFont
  • qwsSetCustomColors: - TQApplication
  • qwsSetDecoration: - TQApplication
  • + TQApplication
  • rBottom: TQRect
  • rLeft: TQRect
  • rRight: TQRect
  • rTop: TQRect
  • raise: - TQWSWindow TQWidget
  • raiseWidget: + TQWidget
  • raiseWidget: TQWidgetStack
  • rangeChange: TQDial TQRangeControl TQSlider TQSpinBox
  • rasterOp: TQPainter
  • rawArg: @@ -2143,14 +2088,12 @@ rBottom: TQDataSink
  • readyToSend: TQDataSource TQIODeviceSource
  • reason: TQContextMenuEvent TQFocusEvent
  • reasonPhrase: - TQHttpResponseHeader
  • receive: - TQCopChannel TQDataSink
  • receiveBufferSize: - TQSocketDevice
  • received: - TQCopChannel
  • record: + TQHttpResponseHeader
  • receiveBufferSize: + TQSocketDevice
  • record: TQDataView TQSqlDatabase TQSqlDriver
  • recordInfo: TQSqlDatabase TQSqlDriver
  • recordType: TQDns
  • rect: - TQAccessibleInterface TQCanvas TQCanvasRectangle TQDirectPainter TQIconViewItem TQImage TQPaintEvent TQPixmap TQRect TQStyleOption TQTab TQWidget
  • rects: + TQAccessibleInterface TQCanvas TQCanvasRectangle TQIconViewItem TQImage TQPaintEvent TQPixmap TQRect TQStyleOption TQTab TQWidget
  • rects: TQRegion
  • red: TQColor
  • redirect: TQPainter
  • redo: @@ -2158,9 +2101,9 @@ rBottom: TQTextEdit
  • ref: TQString TQUrl
  • reformat: TQStatusBar
  • refresh: - TQDataBrowser TQDataTable TQDataView TQDir TQFileInfo TQSplitter TQWSServer
  • regExp: + TQDataBrowser TQDataTable TQDataView TQDir TQFileInfo TQSplitter
  • regExp: TQRegExpValidator
  • region: - TQDirectPainter TQPaintEvent TQWSDecoration
  • registerDecoderFactory: + TQPaintEvent
  • registerDecoderFactory: TQImageDecoder
  • registerNetworkProtocol: TQNetworkProtocol
  • registerSocketNotifier: TQEventLoop
  • registerSqlDriver: @@ -2215,8 +2158,7 @@ rBottom: TQApplication
  • removeValue: TQHttpHeader
  • removeWidget: TQStatusBar TQWidgetStack
  • removed: - TQChildEvent TQNetworkProtocol TQUrlOperator
  • removedChannel: - TQWSServer
  • rename: + TQChildEvent TQNetworkProtocol TQUrlOperator
  • rename: TQDir TQFtp TQIconViewItem TQUrlOperator
  • renameEnabled: TQIconViewItem TQListViewItem
  • renderPixmap: TQGLWidget
  • renderText: @@ -2237,12 +2179,11 @@ rBottom: TQHttp
  • requestPhase2: TQSessionManager
  • requestRead: TQNPStream
  • requestStarted: - TQHttp
  • requested: - TQWSWindow
  • requestedFormat: + TQHttp
  • requestedFormat: TQGLContext
  • rereadDir: TQFileDialog
  • reserve: TQString TQValueVector
  • reset: - TQDataTable TQGLContext TQIODevice TQIconSet TQImage TQMetaProperty TQProgressBar TQProgressDialog TQSqlResult TQTextStream TQUrl TQWMatrix TQWSInputMethod TQXmlInputSource TQXmlNamespaceSupport
  • resetGroup: + TQDataTable TQGLContext TQIODevice TQIconSet TQImage TQMetaProperty TQProgressBar TQProgressDialog TQSqlResult TQTextStream TQUrl TQWMatrix TQXmlInputSource TQXmlNamespaceSupport
  • resetGroup: TQSettings
  • resetInputContext: TQWidget
  • resetRawData: TQMemArray
  • resetReason: @@ -2267,7 +2208,7 @@ rBottom: TQMovie TQTime
  • restartCommand: TQSessionManager
  • restartHint: TQSessionManager
  • restore: - TQPainter TQScreen
  • restoreOverrideCursor: + TQPainter
  • restoreOverrideCursor: TQApplication
  • result: TQDialog TQSqlQuery
  • resultsReady: TQDns
  • retune: @@ -2315,7 +2256,7 @@ rBottom: TQPoint
  • sRect: TQHeader
  • save: - TQDomNode TQImage TQPainter TQPicture TQPixmap TQScreen TQTranslator
  • saveState: + TQDomNode TQImage TQPainter TQPicture TQPixmap TQTranslator
  • saveState: TQApplication
  • scale: TQImage TQPainter TQSize TQWMatrix
  • scaleFont: TQStyleSheet
  • scaleHeight: @@ -2323,12 +2264,8 @@ sRect: TQImage
  • scanLine: TQImage
  • screen: TQDesktopWidget
  • screenGeometry: - TQDesktopWidget
  • screenGfx: - TQScreen
  • screenNumber: - TQDesktopWidget
  • screenSaverActivate: - TQWSServer
  • screenSaverActive: - TQWSServer
  • screenSize: - TQScreen
  • scriptSample: + TQDesktopWidget
  • screenNumber: + TQDesktopWidget
  • scriptSample: TQFontDatabase
  • scriptable: TQMetaProperty
  • scroll: TQWidget
  • scrollBarsEnabled: @@ -2369,21 +2306,16 @@ sRect: TQIconView TQListBox TQListView TQTable
  • selectionStart: TQLineEdit
  • selfMask: TQPixmap
  • selfNesting: - TQStyleSheetItem
  • send: - TQCopChannel
  • sendBufferSize: + TQStyleSheetItem
  • sendBufferSize: TQSocketDevice
  • sendEvent: - TQApplication
  • sendIMEvent: - TQWSInputMethod TQWSServer
  • sendKeyEvent: - TQWSServer
  • sendPostedEvents: - TQApplication
  • sendTo: + TQApplication
  • sendTo: TQDataSource TQIODeviceSource
  • sender: TQObject
  • separator: TQDateEdit TQDir TQTimeEdit
  • serialNumber: TQMimeSource TQPalette TQPixmap
  • servers: TQDns
  • sessionId: TQApplication TQSessionManager
  • sessionKey: - TQApplication TQSessionManager
  • set: - TQScreen
  • setAccel: + TQApplication TQSessionManager
  • setAccel: TQAction TQButton TQCheckBox TQMenuData TQPopupMenu TQPushButton TQRadioButton
  • setAcceptDockWindow: TQDockArea
  • setAcceptDrops: TQWidget
  • setAccum: @@ -2391,7 +2323,7 @@ sRect: TQDropEvent
  • setActive: TQCanvasItem TQPalette TQSqlResult
  • setActiveItem: TQPopupMenu
  • setActiveWindow: - TQWSWindow TQWidget TQXtWidget
  • setAddress: + TQWidget TQXtWidget
  • setAddress: TQHostAddress
  • setAddressReusable: TQSocketDevice
  • setAdvancePeriod: TQCanvas
  • setAlignment: @@ -2404,8 +2336,7 @@ sRect: TQCanvasEllipse
  • setAnimated: TQCanvasItem
  • setApplyButton: TQTabDialog
  • setAppropriate: - TQMainWindow TQWizard
  • setAreaChanged: - TQDirectPainter
  • setArg: + TQMainWindow TQWizard
  • setArg: TQNetworkOperation
  • setArguments: TQAssistantClient TQProcess
  • setArrangement: TQIconView
  • setAscii: @@ -2535,8 +2466,7 @@ sRect: TQWidget
  • setCursorFlashTime: TQApplication
  • setCursorName: TQSqlIndex
  • setCursorPosition: - TQLineEdit TQMultiLineEdit TQTextEdit
  • setCursorVisible: - TQWSServer
  • setCustomColor: + TQLineEdit TQMultiLineEdit TQTextEdit
  • setCustomColor: TQColorDialog
  • setCustomHighlighting: TQListBoxItem
  • setDTDHandler: TQXmlReader
  • setData: @@ -2555,9 +2485,7 @@ sRect: TQTabDialog
  • setDefaultFactory: TQMimeSourceFactory
  • setDefaultFont: TQSimpleRichText
  • setDefaultFormat: - TQGLFormat
  • setDefaultKeyboard: - TQWSServer
  • setDefaultMouse: - TQWSServer
  • setDefaultOptimization: + TQGLFormat
  • setDefaultOptimization: TQPixmap
  • setDefaultOverlayFormat: TQGLFormat
  • setDefaultRenameAction: TQListView
  • setDefaultSheet: @@ -2566,14 +2494,12 @@ sRect: TQToolTipGroup
  • setDepth: TQGLFormat
  • setDescending: TQSqlIndex
  • setDescription: - TQImageIO
  • setDesktopBackground: - TQWSServer
  • setDesktopSettingsAware: + TQImageIO
  • setDesktopSettingsAware: TQApplication
  • setDevice: TQDataStream TQTextStream
  • setDir: TQFileDialog TQUrlInfo
  • setDirectRendering: TQGLFormat
  • setDirection: - TQBoxLayout
  • setDirty: - TQScreen
  • setDisabled: + TQBoxLayout
  • setDisabled: TQAction TQPalette TQWidget
  • setDiscardCommand: TQSessionManager
  • setDisplay: TQTimeEdit
  • setDisplayMode: @@ -2642,7 +2568,7 @@ sRect: TQWidget
  • setFocusRectPolicy: TQMacStyle
  • setFocusStyle: TQTable
  • setFont: - TQApplication TQCanvasText TQComboBox TQCustomMenuItem TQLabel TQPainter TQTabDialog TQToolTip TQWSInputMethod TQWhatsThis TQWidget
  • setFontFamily: + TQApplication TQCanvasText TQComboBox TQCustomMenuItem TQLabel TQPainter TQTabDialog TQToolTip TQWhatsThis TQWidget
  • setFontFamily: TQStyleSheetItem
  • setFontItalic: TQStyleSheetItem
  • setFontSize: TQStyleSheetItem
  • setFontStrikeOut: @@ -2725,9 +2651,7 @@ sRect: TQIconView
  • setJoinStyle: TQPen
  • setKey: TQIconViewItem
  • setKeyCompression: - TQWidget
  • setKeyboardFilter: - TQWSServer
  • setKeyboardHandler: - TQWSServer
  • setLabel: + TQWidget
  • setLabel: TQDns TQHeader TQProgressDialog TQToolBar
  • setLabelText: TQProgressDialog
  • setLastError: TQSqlDriver TQSqlResult
  • setLastModified: @@ -2763,14 +2687,12 @@ sRect: TQIconView
  • setMaxLength: TQLineEdit
  • setMaxLogLines: TQTextEdit
  • setMaxValue: - TQDateEdit TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox TQTimeEdit
  • setMaxWindowRect: - TQWSServer
  • setMaximumHeight: + TQDateEdit TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox TQTimeEdit
  • setMaximumHeight: TQWidget
  • setMaximumSize: TQWidget
  • setMaximumWidth: TQWidget
  • setMenuBar: TQLayout
  • setMenuText: - TQAction
  • setMicroFocus: - TQWSInputMethod
  • setMicroFocusHint: + TQAction
  • setMicroFocusHint: TQWidget
  • setMidLineWidth: TQFrame
  • setMimeSourceFactory: TQTextEdit
  • setMinMax: @@ -2783,7 +2705,7 @@ sRect: TQWidget
  • setMinute: TQTimeEdit
  • setModal: TQDialog
  • setMode: - TQFileDialog TQIODevice TQLCDNumber TQScreen TQSqlCursor
  • setModified: + TQFileDialog TQIODevice TQLCDNumber TQSqlCursor
  • setModified: TQTextEdit
  • setMonth: TQDateEdit
  • setMouseTracking: TQWidget
  • setMovie: @@ -2828,8 +2750,7 @@ sRect: TQPrinter
  • setOverlay: TQGLFormat
  • setOverline: TQFont
  • setOverrideCursor: - TQApplication
  • setOverrideKeys: - TQWSServer
  • setOverwriteMode: + TQApplication
  • setOverwriteMode: TQTextEdit
  • setOwner: TQUrlInfo
  • setPageOrder: TQPrinter
  • setPageSize: @@ -2920,9 +2841,7 @@ sRect: TQGridLayout
  • setRowStretchable: TQTable
  • setRubberband: TQSplitter
  • setScaledContents: - TQLabel
  • setScreenSaverInterval: - TQWSServer
  • setScreenSaverIntervals: - TQWSServer
  • setScrollBarsEnabled: + TQLabel
  • setScrollBarsEnabled: TQWorkspace
  • setSecond: TQTimeEdit
  • setSegmentStyle: TQLCDNumber
  • setSelect: @@ -3112,7 +3031,7 @@ sRect: TQDate
  • shortMonthName: TQDate
  • shortcutKey: TQAccel
  • show: - TQCanvasItem TQDialog TQMenuBar TQWSWindow TQWidget
  • showColumn: + TQCanvasItem TQDialog TQMenuBar TQWidget
  • showColumn: TQTable
  • showDockMenu: TQMainWindow
  • showEvent: TQWidget
  • showExtension: @@ -3127,14 +3046,13 @@ sRect: TQTable
  • showSortIndicator: TQListView
  • showTip: TQToolTipGroup
  • showToolTips: - TQIconView TQListView
  • shutdownDevice: - TQScreen
  • signalNames: + TQIconView TQListView
  • signalNames: TQMetaObject
  • signalsBlocked: TQObject
  • simpleHeuristicNameMatch: TQTextCodec
  • simplifyWhiteSpace: TQCString TQString
  • singleShot: TQTimer
  • size: - TQAsciiCache TQAsciiDict TQBitArray TQCache TQCanvas TQCanvasRectangle TQDict TQDirectPainter TQFile TQFileInfo TQFontMetrics TQGLColormap TQIODevice TQIconViewItem TQImage TQIntCache TQIntDict TQMap TQMemArray TQPicture TQPixmap TQPtrDict TQPtrVector TQRect TQResizeEvent TQSocket TQSqlQuery TQSqlResult TQUrlInfo TQValueList TQValueVector TQWidget
  • sizeChange: + TQAsciiCache TQAsciiDict TQBitArray TQCache TQCanvas TQCanvasRectangle TQDict TQFile TQFileInfo TQFontMetrics TQGLColormap TQIODevice TQIconViewItem TQImage TQIntCache TQIntDict TQMap TQMemArray TQPicture TQPixmap TQPtrDict TQPtrVector TQRect TQResizeEvent TQSocket TQSqlQuery TQSqlResult TQUrlInfo TQValueList TQValueVector TQWidget
  • sizeChange: TQHeader
  • sizeFromContents: TQStyle
  • sizeHint: TQBoxLayout TQCanvasView TQCustomMenuItem TQGridLayout TQLayoutItem TQLineEdit TQProgressDialog TQSizeGrip TQSpacerItem TQTableItem TQWidget TQWidgetItem
  • sizeIncrement: @@ -3248,8 +3166,7 @@ sRect: TQSpinBox
  • superClass: TQMetaObject
  • superClassName: TQMetaObject
  • supportedOperations: - TQNetworkProtocol
  • supportsDepth: - TQScreen
  • supportsMargin: + TQNetworkProtocol
  • supportsMargin: TQLayout
  • supportsSelection: TQClipboard
  • supportsWidget: TQWidgetFactory
  • swapBuffers: @@ -3408,14 +3325,12 @@ tab: TQTableSelection
  • total: TQSemaphore
  • totalCost: TQAsciiCache TQCache TQIntCache
  • totalHeight: - TQListViewItem
  • totalSize: - TQScreen
  • totalSteps: + TQListViewItem
  • totalSteps: TQProgressBar TQProgressDialog
  • tr: TQObject
  • trUtf8: TQObject
  • tracking: TQDial TQHeader TQScrollBar TQSlider
  • transaction: - TQSqlDatabase
  • transformOrientation: - TQDirectPainter TQScreen
  • transformationMode: + TQSqlDatabase
  • transformationMode: TQWMatrix
  • translate: TQApplication TQPainter TQPointArray TQRegion TQWMatrix
  • translation: TQTranslatorMessage
  • transpose: @@ -3435,8 +3350,7 @@ tab: TQVariant
  • ucs2: TQString
  • unPolish: - TQStyle
  • uncache: - TQScreen
  • underline: + TQStyle
  • underline: TQFont TQTextEdit
  • underlinePos: TQFontMetrics
  • undo: TQLineEdit TQTextEdit
  • undoAvailable: @@ -3550,7 +3464,7 @@ wait: TQMacStyle
  • widgetToField: TQSqlForm
  • widgets: TQWidgetFactory
  • width: - TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQDirectPainter TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPen TQPixmap TQRect TQScreen TQSimpleRichText TQSize TQTextStream TQWidget
  • widthChanged: + TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPen TQPixmap TQRect TQSimpleRichText TQSize TQTextStream TQWidget
  • widthChanged: TQListViewItem
  • widthMM: TQPaintDeviceMetrics
  • widthUsed: TQSimpleRichText
  • wildcard: @@ -3558,15 +3472,13 @@ wait: TQWidget
  • winEventFilter: TQApplication
  • winFocus: TQApplication
  • winId: - TQWSWindow TQWidget
  • winPageSize: + TQWidget
  • winPageSize: TQPrinter
  • winding: TQCanvasPolygonalItem
  • window: TQPainter
  • windowActivated: TQWorkspace
  • windowActivationChange: - TQWidget
  • windowAt: - TQWSServer
  • windowCreated: - TQGLContext
  • windowEvent: - TQWSServer
  • windowList: + TQWidget
  • windowCreated: + TQGLContext
  • windowList: TQWorkspace
  • windowOpacity: TQWidget
  • windowState: TQWidget
  • wordWrap: @@ -3615,14 +3527,12 @@ x: TQPaintDevice
  • x11Visual: TQPaintDevice
  • xForm: TQBitmap TQImage TQPainter TQPixmap
  • xFormDev: - TQPainter
  • xOffset: - TQDirectPainter
  • xTilt: + TQPainter
  • xTilt: TQTabletEvent
  • xVelocity: TQCanvasItem
  • xtWidget: TQXtWidget
  • y: - TQCanvasItem TQContextMenuEvent TQIconViewItem TQMouseEvent TQPoint TQRect TQTabletEvent TQWheelEvent TQWidget
  • yOffset: - TQDirectPainter
  • yTilt: + TQCanvasItem TQContextMenuEvent TQIconViewItem TQMouseEvent TQPoint TQRect TQTabletEvent TQWheelEvent TQWidget
  • yTilt: TQTabletEvent
  • yVelocity: TQCanvasItem
  • year: TQDate
  • diff --git a/doc/html/gpl.html b/doc/html/gpl.html index 3f2b8885a..753069ee0 100644 --- a/doc/html/gpl.html +++ b/doc/html/gpl.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; } The TQt GUI Toolkit is Copyright (C) 1994-2007 Trolltech ASA. -

    The TQt Open Source Edition and the TQt/Embedded Open Source Edition are available +

    The TQt Open Source Edition are available under the GPL. The TQt Open Source Edition (for Unix/X11) is also available under the TQPL.

    diff --git a/doc/html/graphics.html b/doc/html/graphics.html
    index 8d63c30d4..906c13c50 100644
    --- a/doc/html/graphics.html
    +++ b/doc/html/graphics.html
    @@ -57,7 +57,6 @@ coordinate system.
     TQColorColors based on RGB or HSV values
     TQColorDialogDialog widget for specifying colors
     TQColorGroupGroup of widget colors
    -TQDirectPainterDirect access to the video hardware
     TQFontFont used for drawing text
     TQFontDatabaseInformation about the fonts available in the underlying window system
     TQFontInfoGeneral information about fonts
    diff --git a/doc/html/headers.html b/doc/html/headers.html
    index 3fe93f35d..230868ee5 100644
    --- a/doc/html/headers.html
    +++ b/doc/html/headers.html
    @@ -60,7 +60,6 @@ body { background: #ffffff; color: black; }
     
  • ntqcolordialog.h
  • ntqcombobox.h
  • ntqcommonstyle.h -
  • qcopchannel_qws.h
  • ntqcstring.h
  • ntqcursor.h
  • tqdatabrowser.h @@ -75,7 +74,6 @@ body { background: #ffffff; color: black; }
  • ntqdialog.h
  • ntqdict.h
  • ntqdir.h -
  • qdirectpainter_qws.h
  • ntqdns.h
  • ntqdockarea.h
  • ntqdockwindow.h @@ -97,14 +95,10 @@ body { background: #ffffff; color: black; }
  • ntqfontdatabase.h
  • ntqfontdialog.h
  • ntqfontinfo.h -
  • qfontmanager_qws.h
  • ntqfontmetrics.h
  • ntqframe.h
  • ntqftp.h
  • ntqgb18030codec.h -
  • qgfx_qws.h -
  • qgfxdriverfactory_qws.h -
  • qgfxdriverplugin_qws.h
  • ntqgl.h
  • ntqglcolormap.h
  • ntqglobal.h @@ -127,9 +121,6 @@ body { background: #ffffff; color: black; }
  • ntqintdict.h
  • ntqiodevice.h
  • ntqjiscodec.h -
  • qkbddriverfactory_qws.h -
  • qkbddriverplugin_qws.h -
  • qkeyboard_qws.h
  • ntqkeysequence.h
  • ntqlabel.h
  • ntqlayout.h @@ -154,9 +145,6 @@ body { background: #ffffff; color: black; }
  • ntqmotifplusstyle.h
  • ntqmotifstyle.h
  • qmotifwidget.h -
  • qmouse_qws.h -
  • qmousedriverfactory_qws.h -
  • qmousedriverplugin_qws.h
  • ntqmovie.h
  • ntqmultilineedit.h
  • ntqmutex.h @@ -282,11 +270,9 @@ body { background: #ffffff; color: black; }
  • tqwidgetstack.h
  • ntqwindowdefs.h
  • ntqwindowsstyle.h -
  • qwindowsystem_qws.h
  • ntqwizard.h
  • ntqwmatrix.h
  • ntqworkspace.h -
  • qwsdecoration_qws.h
  • tqxml.h
  • qxtwidget.h diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index f859b051b..e731e3e48 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -95,10 +95,7 @@ classes in the TQt API.
  • TQFont
  • TQFontDatabase
  • TQFontInfo -
  • TQFontManager
  • TQFontMetrics -
  • TQGfxDriverFactory -
  • TQGfxDriverPlugin
  • TQGL -
  • TQKbdDriverFactory -
  • TQKbdDriverPlugin
  • TQLayoutItem
  • TQCanvas
  • TQClipboard -
  • TQCopChannel
  • TQDataPump
  • TQDns
  • TQDragObject @@ -493,12 +484,7 @@ classes in the TQt API.
  • TQWorkspace
  • TQXtWidget -
  • TQWSKeyboardHandler -
  • TQPainter -
  • TQPen
  • TQStyleSheetItem
  • TQSyntaxHighlighter @@ -558,11 +544,6 @@ classes in the TQt API.
  • TQWidgetPlugin
  • TQWindowsMime
  • TQWMatrix -
  • TQWSDecoration -
  • TQWSInputMethod -
  • TQWSMouseHandler -
  • TQWSServer -
  • TQWSWindow
  • TQXmlAttributes
  • TQXmlContentHandler
      diff --git a/doc/html/index b/doc/html/index index 0f0533b30..be5c6e923 100644 --- a/doc/html/index +++ b/doc/html/index @@ -19,7 +19,6 @@ "About Qt" aboutntqt.html "About Unicode" unicode.html "About the Visual Studio Integration Plugin" integration.html -"Adding an accelerated graphics driver to Qt/Embedded" emb-accel.html "Advanced use of tool tips" tooltip-example.html "All Overviews and HOWTOs" overviews-list.html "An Extension Dialog Example" extension-dialog-example.html @@ -34,7 +33,6 @@ "Canvas Control" tutorial2-06.html "Canvas Example" canvas-example.html "Canvas Module" canvas.html -"Character input in Qt/Embedded" emb-charinput.html "Class Inheritance Hierarchy" hierarchy.html "Company Information" troll.html "Connect the Points" drawlines-example.html @@ -51,11 +49,9 @@ "Drag and Drop" dragdrop-example.html "Drag and Drop (Simple)" simple_dd-example.html "Draw Demo" drawdemo-example.html -"Enabling the Linux Framebuffer" emb-framebuffer-howto.html "Events and Event Filters" eventsandfilters.html "File Handling" tutorial2-07.html "Font Displayer" qfd-example.html -"Fonts in Qt/Embedded" emb-fonts.html "Format of the QDataStream Operators" datastreamformat.html "GNU General Public License" gpl.html "Getting Started" motif-walkthrough-1.html @@ -71,13 +67,11 @@ "IconView Widget" iconview.html "Iconview" iconview-example.html "Installation" installation.html -"Installing Qt/Embedded" emb-install.html "Installing Qt/Mac" install-mac.html "Installing Qt/Windows" install-win.html "Installing Qt/X11" install-x11.html "Internationalization" i18n-example.html "Introduction" tutorial2-01.html -"Issues to be aware of when porting Qt/Embedded" embedporting.html "Key Features in TQt 3.0" keyfeatures30.html "Keyboard Focus Overview" focus.html "KeyboardFilter" keyboardfilter.html @@ -108,7 +102,6 @@ "Pictures of Most TQt Widgets" pictures.html "Popup Widgets" popup-example.html "Porting to TQt 3.x" porting.html -"Porting your applications to Qt/Embedded" emb-porting.html "Preparing to Migrate the User Interface" motif-walkthrough-2.html "Presenting the GUI" tutorial2-05.html "Progress Bar" progressbar-example.html @@ -275,10 +268,6 @@ "QApplication::postEvent" ntqapplication.html#postEvent "QApplication::processEvents" ntqapplication.html#processEvents "QApplication::quit" ntqapplication.html#quit -"QApplication::qwsDecoration" ntqapplication.html#qwsDecoration -"QApplication::qwsEventFilter" ntqapplication.html#qwsEventFilter -"QApplication::qwsSetCustomColors" ntqapplication.html#qwsSetCustomColors -"QApplication::qwsSetDecoration" ntqapplication.html#qwsSetDecoration "QApplication::removeLibraryPath" ntqapplication.html#removeLibraryPath "QApplication::removePostedEvent" ntqapplication.html#removePostedEvent "QApplication::removePostedEvents" ntqapplication.html#removePostedEvents @@ -1061,13 +1050,6 @@ "QContextMenuEvent::state" qcontextmenuevent.html#state "QContextMenuEvent::x" qcontextmenuevent.html#x "QContextMenuEvent::y" qcontextmenuevent.html#y -"QCopChannel" qcopchannel.html -"QCopChannel::channel" qcopchannel.html#channel -"QCopChannel::isRegistered" qcopchannel.html#isRegistered -"QCopChannel::receive" qcopchannel.html#receive -"QCopChannel::received" qcopchannel.html#received -"QCopChannel::send" qcopchannel.html#send -"QCopChannel::~QCopChannel" qcopchannel.html#~QCopChannel "QCursor" ntqcursor.html "QCursor::bitmap" ntqcursor.html#bitmap "QCursor::cleanup" ntqcursor.html#cleanup @@ -1533,24 +1515,6 @@ "QDir::setSorting" ntqdir.html#setSorting "QDir::sorting" ntqdir.html#sorting "QDir::~QDir" ntqdir.html#~QDir -"QDirectPainter" qdirectpainter.html -"QDirectPainter::depth" qdirectpainter.html#depth -"QDirectPainter::frameBuffer" qdirectpainter.html#frameBuffer -"QDirectPainter::height" qdirectpainter.html#height -"QDirectPainter::lineStep" qdirectpainter.html#lineStep -"QDirectPainter::numRects" qdirectpainter.html#numRects -"QDirectPainter::offset" qdirectpainter.html#offset -"QDirectPainter::rect" qdirectpainter.html#rect -"QDirectPainter::region" qdirectpainter.html#region -"QDirectPainter::setAreaChanged" qdirectpainter.html#setAreaChanged -"QDirectPainter::size" qdirectpainter.html#size -"QDirectPainter::transformOrientation" qdirectpainter.html#transformOrientation -"QDirectPainter::width" qdirectpainter.html#width -"QDirectPainter::xOffset" qdirectpainter.html#xOffset -"QDirectPainter::yOffset" qdirectpainter.html#yOffset -"QDirectPainter::~QDirectPainter" qdirectpainter.html#~QDirectPainter -"QDiskFont::fontDef" qdiskfont.html#fontDef -"QDiskFont::load" qdiskfont.html#load "QDns" ntqdns.html "QDns::RecordType" ntqdns.html#RecordType "QDns::addresses" ntqdns.html#addresses @@ -2121,7 +2085,6 @@ "QFont::pixelSize" ntqfont.html#pixelSize "QFont::pointSize" ntqfont.html#pointSize "QFont::pointSizeFloat" ntqfont.html#pointSizeFloat -"QFont::qwsRenderToDisk" ntqfont.html#qwsRenderToDisk "QFont::rawMode" ntqfont.html#rawMode "QFont::rawName" ntqfont.html#rawName "QFont::removeSubstitution" ntqfont.html#removeSubstitution @@ -2185,11 +2148,6 @@ "QFontInfo::styleHint" ntqfontinfo.html#styleHint "QFontInfo::weight" ntqfontinfo.html#weight "QFontInfo::~QFontInfo" ntqfontinfo.html#~QFontInfo -"QFontManager" qfontmanager.html -"QFontManager::cleanup" qfontmanager.html#cleanup -"QFontManager::get" qfontmanager.html#get -"QFontManager::initialize" qfontmanager.html#initialize -"QFontManager::~QFontManager" qfontmanager.html#~QFontManager "QFontMetrics" ntqfontmetrics.html "QFontMetrics::ascent" ntqfontmetrics.html#ascent "QFontMetrics::boundingRect" ntqfontmetrics.html#boundingRect @@ -2513,14 +2471,6 @@ "QGb18030Codec" ntqgb18030codec.html "QGb2312Codec" qgb2312codec.html "QGbkCodec" ntqgbkcodec.html -"QGfxDriverFactory" qgfxdriverfactory.html -"QGfxDriverFactory::create" qgfxdriverfactory.html#create -"QGfxDriverFactory::keys" qgfxdriverfactory.html#keys -"QGfxDriverPlugin" qgfxdriverplugin.html -"QGfxDriverPlugin::create" qgfxdriverplugin.html#create -"QGfxDriverPlugin::keys" qgfxdriverplugin.html#keys -"QGfxDriverPlugin::~QGfxDriverPlugin" qgfxdriverplugin.html#~QGfxDriverPlugin -"QGfxRaster::vline" qgfxraster.html#vline "QGrid" ntqgrid.html "QGrid::setSpacing" ntqgrid.html#setSpacing "QGridLayout" qgridlayout.html @@ -3222,13 +3172,6 @@ "QIntValidator::~QIntValidator" qintvalidator.html#~QIntValidator "QJisCodec" ntqjiscodec.html "QJisCodec::mimeName" ntqjiscodec.html#mimeName -"QKbdDriverFactory" qkbddriverfactory.html -"QKbdDriverFactory::create" qkbddriverfactory.html#create -"QKbdDriverFactory::keys" qkbddriverfactory.html#keys -"QKbdDriverPlugin" qkbddriverplugin.html -"QKbdDriverPlugin::create" qkbddriverplugin.html#create -"QKbdDriverPlugin::keys" qkbddriverplugin.html#keys -"QKbdDriverPlugin::~QKbdDriverPlugin" qkbddriverplugin.html#~QKbdDriverPlugin "QKeyEvent" qkeyevent.html "QKeyEvent::accept" qkeyevent.html#accept "QKeyEvent::ascii" qkeyevent.html#ascii @@ -3803,12 +3746,6 @@ "QLocale::toULong" ntqlocale.html#toULong "QLocale::toULongLong" ntqlocale.html#toULongLong "QLocale::toUShort" ntqlocale.html#toUShort -"QLock::Type" qlock.html#Type -"QLock::isValid" qlock.html#isValid -"QLock::lock" qlock.html#lock -"QLock::locked" qlock.html#locked -"QLock::unlock" qlock.html#unlock -"QLock::~QLock" qlock.html#~QLock "QMacMime" qmacmime.html "QMacMime::all" qmacmime.html#all "QMacMime::canConvert" qmacmime.html#canConvert @@ -4121,13 +4058,6 @@ "QMotifWidget" qmotifwidget.html "QMotifWidget::motifWidget" qmotifwidget.html#motifWidget "QMotifWidget::~QMotifWidget" qmotifwidget.html#~QMotifWidget -"QMouseDriverFactory" qmousedriverfactory.html -"QMouseDriverFactory::create" qmousedriverfactory.html#create -"QMouseDriverFactory::keys" qmousedriverfactory.html#keys -"QMouseDriverPlugin" qmousedriverplugin.html -"QMouseDriverPlugin::create" qmousedriverplugin.html#create -"QMouseDriverPlugin::keys" qmousedriverplugin.html#keys -"QMouseDriverPlugin::~QMouseDriverPlugin" qmousedriverplugin.html#~QMouseDriverPlugin "QMouseEvent" qmouseevent.html "QMouseEvent::accept" qmouseevent.html#accept "QMouseEvent::button" qmouseevent.html#button @@ -5128,62 +5058,11 @@ "QRegion::translate" ntqregion.html#translate "QRegion::unite" ntqregion.html#unite "QRegion::~QRegion" ntqregion.html#~QRegion -"QRenderedFont::ascent" qrenderedfont.html#ascent -"QRenderedFont::descent" qrenderedfont.html#descent -"QRenderedFont::leftBearing" qrenderedfont.html#leftBearing -"QRenderedFont::maxWidth" qrenderedfont.html#maxWidth -"QRenderedFont::minLeftBearing" qrenderedfont.html#minLeftBearing -"QRenderedFont::minRightBearing" qrenderedfont.html#minRightBearing -"QRenderedFont::rightBearing" qrenderedfont.html#rightBearing -"QRenderedFont::width" qrenderedfont.html#width -"QRenderedFont::~QRenderedFont" qrenderedfont.html#~QRenderedFont "QResizeEvent" qresizeevent.html "QResizeEvent::oldSize" qresizeevent.html#oldSize "QResizeEvent::size" qresizeevent.html#size "QSGIStyle" ntqsgistyle.html "QSGIStyle::~QSGIStyle" ntqsgistyle.html#~QSGIStyle -"QScreen" qscreen.html -"QScreen::alloc" qscreen.html#alloc -"QScreen::base" qscreen.html#base -"QScreen::blank" qscreen.html#blank -"QScreen::cache" qscreen.html#cache -"QScreen::clut" qscreen.html#clut -"QScreen::connect" qscreen.html#connect -"QScreen::createGfx" qscreen.html#createGfx -"QScreen::depth" qscreen.html#depth -"QScreen::deviceHeight" qscreen.html#deviceHeight -"QScreen::deviceWidth" qscreen.html#deviceWidth -"QScreen::disconnect" qscreen.html#disconnect -"QScreen::height" qscreen.html#height -"QScreen::initCursor" qscreen.html#initCursor -"QScreen::initDevice" qscreen.html#initDevice -"QScreen::isInterlaced" qscreen.html#isInterlaced -"QScreen::isTransformed" qscreen.html#isTransformed -"QScreen::lastOp" qscreen.html#lastOp -"QScreen::linestep" qscreen.html#linestep -"QScreen::mapFromDevice" qscreen.html#mapFromDevice -"QScreen::mapToDevice" qscreen.html#mapToDevice -"QScreen::numCols" qscreen.html#numCols -"QScreen::onCard" qscreen.html#onCard -"QScreen::opType" qscreen.html#opType -"QScreen::pixelType" qscreen.html#pixelType -"QScreen::pixmapDepth" qscreen.html#pixmapDepth -"QScreen::pixmapLinestepAlignment" qscreen.html#pixmapLinestepAlignment -"QScreen::pixmapOffsetAlignment" qscreen.html#pixmapOffsetAlignment -"QScreen::restore" qscreen.html#restore -"QScreen::save" qscreen.html#save -"QScreen::screenGfx" qscreen.html#screenGfx -"QScreen::screenSize" qscreen.html#screenSize -"QScreen::set" qscreen.html#set -"QScreen::setDirty" qscreen.html#setDirty -"QScreen::setMode" qscreen.html#setMode -"QScreen::shutdownDevice" qscreen.html#shutdownDevice -"QScreen::supportsDepth" qscreen.html#supportsDepth -"QScreen::totalSize" qscreen.html#totalSize -"QScreen::transformOrientation" qscreen.html#transformOrientation -"QScreen::uncache" qscreen.html#uncache -"QScreen::width" qscreen.html#width -"QScreen::~QScreen" qscreen.html#~QScreen "QScrollBar" ntqscrollbar.html "QScrollBar::doAutoRepeat" ntqscrollbar.html#doAutoRepeat "QScrollBar::draggingSlider" ntqscrollbar.html#draggingSlider @@ -7370,84 +7249,6 @@ "QWMatrix::shear" ntqwmatrix.html#shear "QWMatrix::transformationMode" ntqwmatrix.html#transformationMode "QWMatrix::translate" ntqwmatrix.html#translate -"QWSDecoration" qwsdecoration.html -"QWSDecoration::Region" qwsdecoration.html#Region -"QWSDecoration::close" qwsdecoration.html#close -"QWSDecoration::maximize" qwsdecoration.html#maximize -"QWSDecoration::menu" qwsdecoration.html#menu -"QWSDecoration::minimize" qwsdecoration.html#minimize -"QWSDecoration::paint" qwsdecoration.html#paint -"QWSDecoration::paintButton" qwsdecoration.html#paintButton -"QWSDecoration::region" qwsdecoration.html#region -"QWSDecoration::~QWSDecoration" qwsdecoration.html#~QWSDecoration -"QWSInputMethod" qwsinputmethod.html -"QWSInputMethod::filter" qwsinputmethod.html#filter -"QWSInputMethod::reset" qwsinputmethod.html#reset -"QWSInputMethod::sendIMEvent" qwsinputmethod.html#sendIMEvent -"QWSInputMethod::setFont" qwsinputmethod.html#setFont -"QWSInputMethod::setMicroFocus" qwsinputmethod.html#setMicroFocus -"QWSInputMethod::~QWSInputMethod" qwsinputmethod.html#~QWSInputMethod -"QWSKeyboardHandler" qwskeyboardhandler.html -"QWSKeyboardHandler::processKeyEvent" qwskeyboardhandler.html#processKeyEvent -"QWSKeyboardHandler::~QWSKeyboardHandler" qwskeyboardhandler.html#~QWSKeyboardHandler -"QWSMouseHandler" qwsmousehandler.html -"QWSMouseHandler::calibrate" qwsmousehandler.html#calibrate -"QWSMouseHandler::clearCalibration" qwsmousehandler.html#clearCalibration -"QWSMouseHandler::limitToScreen" qwsmousehandler.html#limitToScreen -"QWSMouseHandler::mouseChanged" qwsmousehandler.html#mouseChanged -"QWSMouseHandler::pos" qwsmousehandler.html#pos -"QWSMouseHandler::~QWSMouseHandler" qwsmousehandler.html#~QWSMouseHandler -"QWSServer" qwsserver.html -"QWSServer::GUIMode" qwsserver.html#GUIMode -"QWSServer::ServerFlags" qwsserver.html#ServerFlags -"QWSServer::WindowEvent" qwsserver.html#WindowEvent -"QWSServer::clientWindows" qwsserver.html#clientWindows -"QWSServer::closeKeyboard" qwsserver.html#closeKeyboard -"QWSServer::closeMouse" qwsserver.html#closeMouse -"QWSServer::enablePainting" qwsserver.html#enablePainting -"QWSServer::isCursorVisible" qwsserver.html#isCursorVisible -"QWSServer::keyMap" qwsserver.html#keyMap -"QWSServer::keyboardHandler" qwsserver.html#keyboardHandler -"QWSServer::manager" qwsserver.html#manager -"QWSServer::mouseHandler" qwsserver.html#mouseHandler -"QWSServer::newChannel" qwsserver.html#newChannel -"QWSServer::openKeyboard" qwsserver.html#openKeyboard -"QWSServer::openMouse" qwsserver.html#openMouse -"QWSServer::refresh" qwsserver.html#refresh -"QWSServer::removedChannel" qwsserver.html#removedChannel -"QWSServer::screenSaverActivate" qwsserver.html#screenSaverActivate -"QWSServer::screenSaverActive" qwsserver.html#screenSaverActive -"QWSServer::sendIMEvent" qwsserver.html#sendIMEvent -"QWSServer::sendKeyEvent" qwsserver.html#sendKeyEvent -"QWSServer::setCursorVisible" qwsserver.html#setCursorVisible -"QWSServer::setDefaultKeyboard" qwsserver.html#setDefaultKeyboard -"QWSServer::setDefaultMouse" qwsserver.html#setDefaultMouse -"QWSServer::setDesktopBackground" qwsserver.html#setDesktopBackground -"QWSServer::setKeyboardFilter" qwsserver.html#setKeyboardFilter -"QWSServer::setKeyboardHandler" qwsserver.html#setKeyboardHandler -"QWSServer::setMaxWindowRect" qwsserver.html#setMaxWindowRect -"QWSServer::setScreenSaverInterval" qwsserver.html#setScreenSaverInterval -"QWSServer::setScreenSaverIntervals" qwsserver.html#setScreenSaverIntervals -"QWSServer::setWindowRegion" qwsserver.html#setWindowRegion -"QWSServer::windowAt" qwsserver.html#windowAt -"QWSServer::windowEvent" qwsserver.html#windowEvent -"QWSServer::~QWSServer" qwsserver.html#~QWSServer -"QWSWindow" qwswindow.html -"QWSWindow::allocation" qwswindow.html#allocation -"QWSWindow::caption" qwswindow.html#caption -"QWSWindow::client" qwswindow.html#client -"QWSWindow::hide" qwswindow.html#hide -"QWSWindow::isFullyObscured" qwswindow.html#isFullyObscured -"QWSWindow::isPartiallyObscured" qwswindow.html#isPartiallyObscured -"QWSWindow::isVisible" qwswindow.html#isVisible -"QWSWindow::lower" qwswindow.html#lower -"QWSWindow::name" qwswindow.html#name -"QWSWindow::raise" qwswindow.html#raise -"QWSWindow::requested" qwswindow.html#requested -"QWSWindow::setActiveWindow" qwswindow.html#setActiveWindow -"QWSWindow::show" qwswindow.html#show -"QWSWindow::winId" qwswindow.html#winId -"QWSWindow::~QWSWindow" qwswindow.html#~QWSWindow "QWaitCondition" ntqwaitcondition.html "QWaitCondition::wait" ntqwaitcondition.html#wait "QWaitCondition::wakeAll" ntqwaitcondition.html#wakeAll @@ -7658,7 +7459,6 @@ "TQWidget::polish" tqwidget.html#polish "TQWidget::pos" tqwidget.html#pos "TQWidget::pos" tqwidget.html#pos-prop -"TQWidget::qwsEvent" tqwidget.html#qwsEvent "TQWidget::raise" tqwidget.html#raise "TQWidget::rect" tqwidget.html#rect "TQWidget::rect" tqwidget.html#rect-prop @@ -8009,11 +7809,6 @@ "Qt's Classes" classes.html "Qt's Main Classes" mainclasses.html "Qt's Tools" tools-list.html -"Qt/Embedded Performance Tuning" emb-performance.html -"Qt/Embedded Pointer Handling" emb-pointer.html -"Qt/Embedded Virtual Framebuffer" emb-tqvfb.html -"Qt/Embedded as a VNC Server" emb-vnc.html -"Qt/Embedded environment variables" emb-envvars.html "Qt/Mac Issues" mac-differences.html "Qt/Mac is Mac OS X Native" qtmac-as-native.html "TQt::AlignmentFlags" ntqt.html#AlignmentFlags @@ -8054,7 +7849,6 @@ "Replacing the View Widget" motif-walkthrough-8.html "Richtext" richtext-example.html "Rot13" rot-example.html -"Running Qt/Embedded applications" emb-running.html "SQL Module" sql.html "SQL Module - Drivers" sql-driver.html "SQL Table" sqltable-example.html @@ -8087,10 +7881,8 @@ "Thanks!" credits.html "The 'Big Picture'" tutorial2-02.html "The Coordinate System" coordsys.html -"The Feature Definition File" emb-features.html "The Project File" tutorial2-10.html "The TQt FAQ" faq.html -"The Qt/Embedded-specific classes" emb-classes.html "Themes (Styles)" themes-example.html "Thread Support in Qt" threads.html "Tic Tac Toe" tictac-example.html @@ -8142,7 +7934,6 @@ "i18n" i18n.html "images" images.html "io" io.html -"maketqpf" maketqpf.html "misc" misc.html "motif-examples" motif-examples.html "multimedia" multimedia.html @@ -8290,7 +8081,6 @@ "qstrnicmp" ntqcstring.html#qstrnicmp "qt_find_obj_child" tqobject.html#qt_find_obj_child "qtl" ntqtl.html -"qws" qws.html "shared" shared.html "sql-examples" sql-examples.html "step-by-step-examples" step-by-step-examples.html diff --git a/doc/html/installation.html b/doc/html/installation.html index 697bece90..7446a798e 100644 --- a/doc/html/installation.html +++ b/doc/html/installation.html @@ -37,7 +37,6 @@ body { background: #ffffff; color: black; }
    • TQt/X11
    • TQt/Windows
    • TQt/Mac -
    • TQt/Embedded

    diff --git a/doc/html/license.html b/doc/html/license.html index 9b1bc08cb..266f66e12 100644 --- a/doc/html/license.html +++ b/doc/html/license.html @@ -37,12 +37,6 @@ It allows free use of TQt Open Source Edition for running software developed by others, and free use of TQt Open Source Edition for development of free and open source software. There is more information about the TQPL at the Trolltech web site. -

    Note that the TQt/Embedded Open Source Edition is not distributed -under the TQPL, but under the GNU General Public -License (GPL). -

    For development non-free/proprietary software, the TQt Professional -Edition is available. It has a normal commercial library license, with -none of the special restrictions of the TQPL or the GPL.


    diff --git a/doc/html/maketqpf.html b/doc/html/maketqpf.html deleted file mode 100644 index b7e51eba5..000000000 --- a/doc/html/maketqpf.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - -maketqpf - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    maketqpf

    - - - -

    Saves TQPF font files by rendering and saving fonts. -

    Usage -

    -

    -maketqpf [-A] [-f spec-file] [font ...]
    -
    - -

      -
    • -A - Render and save all fonts in fontdir -
    • -f - File of lines: fontname character-ranges e.g. "smoothtimes 0-ff,20a0-20af" -
    • font - Font to render and save -
    -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index 546e16762..a2e48908e 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -463,9 +463,6 @@ void MDIWindow::load( const TQString< medit->hide(); delete medit; TQMovie * qm=new TQMovie(fn); -#ifdef TQ_WS_QWS // temporary speed-test hack - qm->setDisplayWidget(tmp); -#endif tmp->setBackgroundMode(TQWidget::NoBackground); tmp->show(); mmovie=qm; diff --git a/doc/html/motif-walkthrough-10.html b/doc/html/motif-walkthrough-10.html index c92bf6eec..b438d4a7d 100644 --- a/doc/html/motif-walkthrough-10.html +++ b/doc/html/motif-walkthrough-10.html @@ -89,10 +89,7 @@ toolbars. Adding these is simple with the TQt Designer. The final version of our project includes a toolbar, which provides quick access to the Open, Save, Print, New Page and Delete to Trash actions.

    The possibilities are endless. An Edit menu, with the common Cut, Copy and Paste actions, could be added in a relatively -short period of time. As our project expands to other platforms, we -could add menus and dialogs that allow us synchronize todo lists -between a normal desktop computer and a handheld device running with -TQt/Embedded. +short period of time.

    [ Previous: Replacing the Print Dialog ] [ Home ]

    diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 2e096fa3c..997502b95 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -76,8 +76,6 @@ flow and main settings.

  • virtual bool winEventFilter ( MSG * )
  • virtual bool x11EventFilter ( XEvent * )
  • int x11ProcessEvent ( XEvent * event )
  • -
  • virtual bool qwsEventFilter ( TQWSEvent * )
  • -
  • void qwsSetCustomColors ( TQRgb * colorTable, int start, int numColors )
  • void winFocus ( TQWidget * widget, bool gotFocus )
  • bool isSessionRestored () const
  • TQString sessionId () const
  • @@ -165,8 +163,6 @@ flow and main settings.
  • int horizontalAlignment ( int align )
  • bool isEffectEnabled ( TQt::UIEffect effect )
  • void setEffectEnabled ( TQt::UIEffect effect, bool enable = TRUE )
  • -
  • TQWSDecoration & qwsDecoration ()
  • -
  • void qwsSetDecoration ( TQWSDecoration * d )
  • Related Functions

      @@ -278,7 +274,6 @@ any overrides after.) hasPendingEvents(), notify(), macEventFilter(), -qwsEventFilter(), x11EventFilter(), x11ProcessEvent(), winEventFilter(). @@ -293,7 +288,6 @@ any overrides after.) colorSpec(), setColorSpec(), -qwsSetCustomColors(). Text handling @@ -493,9 +487,6 @@ uses a graphical interface when available. Constructs an application object with argc command line arguments in argv. -

      For TQt/Embedded, passing TQApplication::GuiServer for type -makes this application the server (equivalent to running with the --qws option).

      TQApplication::TQApplication ( Display * dpy, HANDLE visual = 0, HANDLE colormap = 0 )

      @@ -1132,42 +1123,6 @@ you also often connect e.g. TQButton::clicked

      See also exit(), aboutToQuit(), lastWindowClosed(), and TQAction.

      Examples: addressbook/main.cpp, mdi/main.cpp, network/archivesearch/main.cpp, regexptester/main.cpp, t2/main.cpp, t4/main.cpp, and t6/main.cpp. -

      TQWSDecoration & TQApplication::qwsDecoration () [static] -

      -Return the TQWSDecoration used for decorating windows. -

      This method is non-portable. It is available only in TQt/Embedded. -

      See also TQWSDecoration. - -

      bool TQApplication::qwsEventFilter ( TQWSEvent * ) [virtual] -

      -This virtual function is only implemented under TQt/Embedded. -

      If you create an application that inherits TQApplication and -reimplement this function, you get direct access to all TQWS (Q -Window System) events that the are received from the TQWS master -process. -

      Return TRUE if you want to stop the event from being processed. -Return FALSE for normal event dispatching. - -

      void TQApplication::qwsSetCustomColors ( TQRgb * colorTable, int start, int numColors ) -

      -Set TQt/Embedded custom color table. -

      TQt/Embedded on 8-bpp displays allocates a standard 216 color cube. -The remaining 40 colors may be used by setting a custom color -table in the TQWS master process before any clients connect. -

      colorTable is an array of up to 40 custom colors. start is -the starting index (0-39) and numColors is the number of colors -to be set (1-40). -

      This method is non-portable. It is available only in -TQt/Embedded. - -

      void TQApplication::qwsSetDecoration ( TQWSDecoration * d ) [static] -

      -Set the TQWSDecoration derived class to use for decorating the -TQt/Embedded windows to d. -

      This method is non-portable. It is available only in -TQt/Embedded. -

      See also TQWSDecoration. -

      void TQApplication::removeLibraryPath ( const TQString & path ) [static]

      Removes path from the library path list. If path is empty or not diff --git a/doc/html/ntqfont.html b/doc/html/ntqfont.html index c0a176625..0067dd081 100644 --- a/doc/html/ntqfont.html +++ b/doc/html/ntqfont.html @@ -87,7 +87,6 @@ body { background: #ffffff; color: black; }
    • TQString key () const
    • TQString toString () const
    • bool fromString ( const TQString & descrip )
    • -
    • void qwsRenderToDisk ( bool all = TRUE )
    • enum Script { Latin, Greek, Cyrillic, Armenian, Georgian, Runic, Ogham, SpacingModifiers, CombiningMarks, Hebrew, Arabic, Syriac, Thaana, Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Tibetan, Myanmar, Khmer, Han, Hiragana, Katakana, Hangul, Bopomofo, Yi, Ethiopic, Cherokee, CanadianAboriginal, Mongolian, CurrencySymbols, LetterlikeSymbols, NumberForms, MathematicalOperators, TechnicalSymbols, GeometricSymbols, MiscellaneousSymbols, EnclosedAndSquare, Braille, Unicode, Tagalog, Hanunoo, Buhid, Tagbanwa, KatakanaHalfWidth, Limbu, TaiLe }
    • TQString defaultFamily () const
    • TQString lastResortFamily () const
    • @@ -636,17 +635,6 @@ Returns the point size of the font. Returns -1 if the font size was specified in pixels.

      See also pointSize(), setPointSizeFloat(), pixelSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize(). -

      void TQFont::qwsRenderToDisk ( bool all = TRUE ) -

      -Saves the glyphs in the font that have previously been accessed as -a TQPF file. If all is TRUE (the default), then before saving, -all glyphs are marked as used. -

      If the font is large and you are sure that only a subset of -characters will ever be required on the target device, passing -FALSE for the all parameter can save a significant amount of -disk space. -

      Note that this function is only applicable on TQt/Embedded. -

      bool TQFont::rawMode () const

      Returns TRUE if raw mode is used for font name matching; otherwise diff --git a/doc/html/ntqpainter.html b/doc/html/ntqpainter.html index 537a0e512..2831d5a43 100644 --- a/doc/html/ntqpainter.html +++ b/doc/html/ntqpainter.html @@ -35,7 +35,6 @@ body { background: #ffffff; color: black; } More...

      #include <ntqpainter.h>

      Inherits TQt. -

      Inherited by TQDirectPainter.

      List of all member functions.

      Public Members

        diff --git a/doc/html/ntqsound.html b/doc/html/ntqsound.html index 5cfcbaa97..f07a259ea 100644 --- a/doc/html/ntqsound.html +++ b/doc/html/ntqsound.html @@ -88,8 +88,6 @@ only WAVE format sound files are supported. silently. NAS supports WAVE and AU files.

        On Macintosh, ironically, we use QT (QuickTime) for sound, this means all QuickTime formats are supported by TQt/Mac. -

        On TQt/Embedded, a built-in mixing sound server is used, which -accesses /dev/dsp directly. Only the WAVE format is supported.

        The availability of sound can be tested with TQSound::isAvailable().

        See also Multimedia Classes. diff --git a/doc/html/ntqt.html b/doc/html/ntqt.html index 9a93bc64a..0785cd686 100644 --- a/doc/html/ntqt.html +++ b/doc/html/ntqt.html @@ -735,7 +735,6 @@ interacts with the corresponding bit of the dst pixel.

      • TQt::NandROP - dst = NOT (src AND dst)
      • TQt::NorROP - dst = NOT (src OR dst)

      By far the most useful ones are CopyROP and XorROP. -

      On TQt/Embedded, only CopyROP, XorROP, and NotROP are supported.

      TQt::SequenceMatch

      diff --git a/doc/html/opensourceedition.html b/doc/html/opensourceedition.html index c317d6152..603f81071 100644 --- a/doc/html/opensourceedition.html +++ b/doc/html/opensourceedition.html @@ -44,7 +44,7 @@ open source license. Trolltech's support of open source with the TQt Open Source Edition has enabled large successful software projects like KDE, to thrive, with thousands of developers around the world using the TQt Open Source Edition at no cost to themselves. The TQt Open Source Edition is available for -Unix/X11, Macintosh, and embedded Linux. +Unix/X11 and Macintosh.

      The Open Source Edition can be downloaded from here: http://www.trolltech.com/download/.

      It is also possible to develop commercial software using TQt, but to do diff --git a/doc/html/overviews-list.html b/doc/html/overviews-list.html index 1cf238cb2..deadc1125 100644 --- a/doc/html/overviews-list.html +++ b/doc/html/overviews-list.html @@ -65,7 +65,6 @@ body { background: #ffffff; color: black; }

    General -TQt/Embedded -

    -

    diff --git a/doc/html/plugins.html b/doc/html/plugins.html index bb2ecbc41..3315e608b 100644 --- a/doc/html/plugins.html +++ b/doc/html/plugins.html @@ -37,11 +37,8 @@ and with TQt plugins.

    See the plugins documentation.

    -
    TQGfxDriverPluginAbstract base for TQt/Embedded graphics driver plugins
    TQImageFormatPluginAbstract base for custom image format plugins -
    TQKbdDriverPluginAbstract base for TQt/Embedded keyboard driver plugins
    TQLibraryWrapper for handling shared libraries -
    TQMouseDriverPluginAbstract base for TQt/Embedded mouse driver plugins
    TQSqlDriverPluginAbstract base for custom TQSqlDriver plugins
    TQStylePluginAbstract base for custom TQStyle plugins
    TQTextCodecPluginAbstract base for custom TQTextCodec plugins diff --git a/doc/html/qapplication-h.html b/doc/html/qapplication-h.html index 4e05fcdf7..c6f50779b 100644 --- a/doc/html/qapplication-h.html +++ b/doc/html/qapplication-h.html @@ -90,9 +90,6 @@ class TQSessionManager; class TQStyle; class TQTranslator; class TQEventLoop; -#if defined(TQ_WS_QWS) -class TQWSDecoration; -#endif #ifdef TQT_THREAD_SUPPORT class TQMutex; @@ -277,20 +274,6 @@ public: virtual int x11ClientMessage( TQWidget*, XEvent*, bool passive_only); int x11ProcessEvent( XEvent* ); #endif -#if defined(TQ_WS_QWS) - virtual bool qwsEventFilter( TQWSEvent * ); - int qwsProcessEvent( TQWSEvent* ); - void qwsSetCustomColors( TQRgb *colortable, int start, int numColors ); -/*! - \internal - Returns true if the process is GUI server -*/ - bool qwsIsGUIServer(); -#ifndef TQT_NO_QWS_MANAGER - static TQWSDecoration &qwsDecoration(); - static void qwsSetDecoration( TQWSDecoration *); -#endif -#endif #if defined(Q_OS_WIN32) || defined(Q_OS_CYGWIN) static WindowsVersion winVersion(); @@ -333,7 +316,6 @@ public slots: void closeAllWindows(); void aboutTQt(); -#if defined(TQ_WS_QWS) protected: void setArgs(int, char **); #endif @@ -347,10 +329,6 @@ private: void init_precmdline(); void process_cmdline( int* argcptr, char ** argv ); bool internalNotify( TQObject *, TQEvent * ); -#if defined(TQ_WS_QWS) - static TQWidget *findChildWidget( const TQWidget *p, const TQPoint &pos ); - static TQWidget *findWidget( const TQObjectList&, const TQPoint &, bool rec ); -#endif #if defined(TQ_WS_MAC) bool do_mouse_down(Point *, bool *); @@ -447,9 +425,6 @@ private: #if defined(TQ_WS_WIN) friend bool qt_sendSpontaneousEvent( TQObject*, TQEvent* ); #endif -#if defined(TQ_WS_QWS) - friend class TQInputContext; -#endif private: // Disabled copy constructor and operator= #if defined(TQ_DISABLE_COPY) TQApplication( const TQApplication & ); @@ -467,14 +442,6 @@ inline char **TQApplication::argv() const return app_argv; } -#if defined(TQ_WS_QWS) -inline void TQApplication::setArgs(int c, char **v) -{ - app_argc = c; - app_argv = v; -} -#endif - #ifndef TQT_NO_CURSOR inline TQCursor *TQApplication::overrideCursor() { diff --git a/doc/html/qapplication-members.html b/doc/html/qapplication-members.html index 6088a06df..827b0dba5 100644 --- a/doc/html/qapplication-members.html +++ b/doc/html/qapplication-members.html @@ -124,10 +124,6 @@ body { background: #ffffff; color: black; }
  • property()
  • queryList()
  • quit() -
  • qwsDecoration() -
  • qwsEventFilter() -
  • qwsSetCustomColors() -
  • qwsSetDecoration()
  • removeChild()
  • removeEventFilter()
  • removeLibraryPath() diff --git a/doc/html/qbutton-members.html b/doc/html/qbutton-members.html index bec94d21e..27a724d29 100644 --- a/doc/html/qbutton-members.html +++ b/doc/html/qbutton-members.html @@ -216,7 +216,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qbuttongroup-members.html b/doc/html/qbuttongroup-members.html index 20564d8e9..31659466f 100644 --- a/doc/html/qbuttongroup-members.html +++ b/doc/html/qbuttongroup-members.html @@ -230,7 +230,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qcheckbox-members.html b/doc/html/qcheckbox-members.html index add79ecb1..b1035e59e 100644 --- a/doc/html/qcheckbox-members.html +++ b/doc/html/qcheckbox-members.html @@ -217,7 +217,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qcolordialog-members.html b/doc/html/qcolordialog-members.html index 8cd7cb824..06d2381da 100644 --- a/doc/html/qcolordialog-members.html +++ b/doc/html/qcolordialog-members.html @@ -210,7 +210,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qcombobox-members.html b/doc/html/qcombobox-members.html index 6836f2c16..376d71622 100644 --- a/doc/html/qcombobox-members.html +++ b/doc/html/qcombobox-members.html @@ -224,7 +224,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qcopchannel-members.html b/doc/html/qcopchannel-members.html deleted file mode 100644 index fb7d45fff..000000000 --- a/doc/html/qcopchannel-members.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - -TQCopChannel Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQCopChannel

    - -

    This is the complete list of member functions for -TQCopChannel, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qcopchannel.html b/doc/html/qcopchannel.html deleted file mode 100644 index 8f899a69f..000000000 --- a/doc/html/qcopchannel.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - -TQCopChannel Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQCopChannel Class Reference

    - -

    The TQCopChannel class provides communication capabilities -between several clients. -More... -

    #include <qcopchannel_qws.h> -

    Inherits TQObject. -

    List of all member functions. -

    Public Members

    -
      -
    • TQCopChannel ( const TQCString & channel, TQObject * parent = 0, const char * name = 0 )
    • -
    • virtual ~TQCopChannel ()
    • -
    • TQCString channel () const
    • -
    • virtual void receive ( const TQCString & msg, const TQByteArray & data )
    • -
    -

    Signals

    -
      -
    • void received ( const TQCString & msg, const TQByteArray & data )
    • -
    -

    Static Public Members

    -
      -
    • bool isRegistered ( const TQCString & channel )
    • -
    • bool send ( const TQCString & channel, const TQCString & msg )
    • -
    • bool send ( const TQCString & channel, const TQCString & msg, const TQByteArray & data )
    • -
    -

    Detailed Description

    - - -

    The TQCopChannel class provides communication capabilities -between several clients. -

    The TQt Cop (TQCOP) is a COmmunication Protocol, allowing clients to -communicate both within the same address space and between -different processes. -

    Currently, this facility is only available on TQt/Embedded. On X11 -and Windows we are exploring the use of existing standards such as -DCOP and COM. -

    TQCopChannel provides send() and isRegistered() which are static -functions usable without an object. -

    The channel() function returns the name of the channel. -

    In order to listen to the traffic on a channel, you should -either subclass TQCopChannel and reimplement receive(), or -connect() to the received() signal. - -


    Member Function Documentation

    -

    TQCopChannel::TQCopChannel ( const TQCString & channel, TQObject * parent = 0, const char * name = 0 ) -

    -Constructs a TQCop channel and registers it with the server using -the name channel. The standard parent and name arguments -are passed on to the TQObject constructor. - -

    TQCopChannel::~TQCopChannel () [virtual] -

    -Destroys the client's end of the channel and notifies the server -that the client has closed its connection. The server will keep -the channel open until the last registered client detaches. - -

    TQCString TQCopChannel::channel () const -

    -Returns the name of the channel. - -

    bool TQCopChannel::isRegistered ( const TQCString & channel ) [static] -

    -Queries the server for the existence of channel. -

    Returns TRUE if channel is registered; otherwise returns FALSE. - -

    void TQCopChannel::receive ( const TQCString & msg, const TQByteArray & data ) [virtual] -

    -This virtual function allows subclasses of TQCopChannel to process -data received from their channel. -

    The default implementation emits the received() signal. -

    Note that the format of data has to be well defined in order to -extract the information it contains. -

    Example: -

    -    void MyClass::receive( const TQCString &msg, const TQByteArray &data )
    -    {
    -        TQDataStream stream( data, IO_ReadOnly );
    -        if ( msg == "execute(TQString,TQString)" ) {
    -            TQString cmd, arg;
    -            stream >> cmd >> arg;
    -            ...
    -        } else if ( msg == "delete(TQString)" ) {
    -            TQString filenname;
    -            stream >> filename;
    -            ...
    -        } else ...
    -    }
    -    
    - -This example assumes that the msg is a DCOP-style function -signature and the data contains the function's arguments. (See -send().) -

    Using the DCOP convention is a recommendation, but not a -requirement. Whatever convention you use the sender and receiver -must agree on the argument types. -

    See also send(). - -

    void TQCopChannel::received ( const TQCString & msg, const TQByteArray & data ) [signal] -

    - -

    This signal is emitted with the msg and data whenever the -receive() function gets incoming data. - -

    bool TQCopChannel::send ( const TQCString & channel, const TQCString & msg, const TQByteArray & data ) [static] -

    -Send the message msg on channel channel with data data. -The message will be distributed to all clients subscribed to the -channel. -

    Note that TQDataStream provides a convenient way to fill the byte -array with auxiliary data. -

    Example: -

    -    TQByteArray ba;
    -    TQDataStream stream( ba, IO_WriteOnly );
    -    stream << TQString("cat") << TQString("file.txt");
    -    TQCopChannel::send( "System/Shell", "execute(TQString,TQString)", ba );
    -    
    - -Here the channel is "System/Shell". The msg is an arbitrary -string, but in the example we've used the DCOP convention of -passing a function signature. Such a signature is formatted as -functionname(types) where types is a list of zero or more -comma-separated type names, with no whitespace, no consts and no -pointer or reference marks, i.e. no "*" or "&". -

    Using the DCOP convention is a recommendation, but not a -requirement. Whatever convention you use the sender and receiver -must agree on the argument types. -

    See also receive(). - -

    bool TQCopChannel::send ( const TQCString & channel, const TQCString & msg ) [static] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Send the message msg on channel channel. The message will be -distributed to all clients subscribed to the channel. -

    See also receive(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qcopchannel_qws-h.html b/doc/html/qcopchannel_qws-h.html deleted file mode 100644 index 95f41bc97..000000000 --- a/doc/html/qcopchannel_qws-h.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -qcopchannel_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qcopchannel_qws.h

    - -

    This is the verbatim text of the qcopchannel_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qcopchannel_qws.h   3.3.8   edited Jan 11 14:46 $
    -**
    -** TQCOP protocol classes
    -**
    -** Created : 20000616
    -**
    -** Copyright (C) 2000-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQCOPCHANNEL_QWS_H
    -#define TQCOPCHANNEL_QWS_H
    -
    -#ifndef QT_H
    -#include "tqobject.h"
    -#endif // QT_H
    -
    -#ifndef TQT_NO_COP
    -
    -class TQWSClient;
    -class TQCopChannelPrivate;
    -
    -class TQCopChannel : public TQObject
    -{
    -    TQ_OBJECT
    -public:
    -    TQCopChannel( const TQCString& channel, TQObject* parent=0, const char* name=0 );
    -    virtual ~TQCopChannel();
    -
    -    TQCString channel() const;
    -
    -    static bool isRegistered( const TQCString& channel );
    -    static bool send( const TQCString &channel, const TQCString &msg );
    -    static bool send( const TQCString &channel, const TQCString &msg,
    -		      const TQByteArray &data );
    -
    -    static void sendLocally(  const TQCString &ch, const TQCString &msg,
    -			       const TQByteArray &data );
    -
    -    virtual void receive( const TQCString &msg, const TQByteArray &data );
    -
    -signals:
    -    void received( const TQCString &msg, const TQByteArray &data );
    -
    -private:
    -    // server side
    -    static void registerChannel( const TQString &ch, const TQWSClient *cl );
    -    static void detach( const TQWSClient *cl );
    -    static void answer( TQWSClient *cl, const TQCString &ch,
    -			const TQCString &msg, const TQByteArray &data );
    -    // client side
    -    TQCopChannelPrivate* d;
    -
    -    friend class TQWSServer;
    -    friend class TQApplication;
    -};
    -
    -#endif
    -
    -#endif // TQCOPCHANNEL_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qcursor-h.html b/doc/html/qcursor-h.html index f48ae4e91..73431f21e 100644 --- a/doc/html/qcursor-h.html +++ b/doc/html/qcursor-h.html @@ -132,8 +132,6 @@ public: TQCursor( HANDLE ); #elif defined(TQ_WS_MAC) HANDLE handle() const; -#elif defined(TQ_WS_QWS) - HANDLE handle() const; #endif static TQPoint pos(); diff --git a/doc/html/qdateedit-members.html b/doc/html/qdateedit-members.html index 8607009d6..5a7f21dfb 100644 --- a/doc/html/qdateedit-members.html +++ b/doc/html/qdateedit-members.html @@ -208,7 +208,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qdatetimeedit-members.html b/doc/html/qdatetimeedit-members.html index 657bbbd21..15589be91 100644 --- a/doc/html/qdatetimeedit-members.html +++ b/doc/html/qdatetimeedit-members.html @@ -205,7 +205,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qdatetimeeditbase-members.html b/doc/html/qdatetimeeditbase-members.html index 56bdb3de7..5b290f67d 100644 --- a/doc/html/qdatetimeeditbase-members.html +++ b/doc/html/qdatetimeeditbase-members.html @@ -200,7 +200,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qdesktopwidget-h.html b/doc/html/qdesktopwidget-h.html index 13c1a918b..1777fe4f7 100644 --- a/doc/html/qdesktopwidget-h.html +++ b/doc/html/qdesktopwidget-h.html @@ -129,9 +129,6 @@ private: #endif friend class TQApplication; -#ifdef TQ_WS_QWS - friend class TQWSDisplay; -#endif }; #endif //TQDESKTOPWIDGET_H diff --git a/doc/html/qdesktopwidget-members.html b/doc/html/qdesktopwidget-members.html index b15bd4b91..e4e9c7125 100644 --- a/doc/html/qdesktopwidget-members.html +++ b/doc/html/qdesktopwidget-members.html @@ -206,7 +206,6 @@ body { background: #ffffff; color: black; }
  • primaryScreen()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qdial-members.html b/doc/html/qdial-members.html index 598c6a712..7e510b990 100644 --- a/doc/html/qdial-members.html +++ b/doc/html/qdial-members.html @@ -218,7 +218,6 @@ body { background: #ffffff; color: black; }
  • prevValue()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • rangeChange()
  • recreate() diff --git a/doc/html/qdialog-members.html b/doc/html/qdialog-members.html index 3c2833c7e..d9ee62d34 100644 --- a/doc/html/qdialog-members.html +++ b/doc/html/qdialog-members.html @@ -208,7 +208,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qdirectpainter-members.html b/doc/html/qdirectpainter-members.html deleted file mode 100644 index 013a0da50..000000000 --- a/doc/html/qdirectpainter-members.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -TQDirectPainter Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQDirectPainter

    - -

    This is the complete list of member functions for -TQDirectPainter, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qdirectpainter.html b/doc/html/qdirectpainter.html deleted file mode 100644 index 6359fc3ac..000000000 --- a/doc/html/qdirectpainter.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - -TQDirectPainter Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQDirectPainter Class Reference

    - -

    The TQDirectPainter class provides direct access to the video hardware. -More... -

    #include <qdirectpainter_qws.h> -

    Inherits TQPainter. -

    List of all member functions. -

    Public Members

    - -

    Detailed Description

    - - -The TQDirectPainter class provides direct access to the video hardware. -

    -

    Only available in TQt/Embedded. -

    When the hardware is known and well defined, as is often the case -with software for embedded devices, it may be useful to manipulate -the underlying video hardware directly. In order to do this in a -way that is co-operative with other applications, you must lock -the video hardware for exclusive use for a small time while you -write to it, and you must know the clipping region which is -allocated to a widget. -

    TQDirectPainter provides this functionality. -

    In the simplest case, you make a TQDirectPainter on a widget and -then, observing the clip region, perform some platform-specific -operation. For example: -

    -        void MyWidget::updatePlatformGraphics()
    -        {
    -            TQDirectPainter dp( this );
    -            for ( int i = 0; i < dp.numRects; i++ ) {
    -                const TQRect& clip = dp.rect(i);
    -                ... // platform specific operation
    -            }
    -        }
    -    
    - -

    The platform-specific code has access to the display, but should -only modify graphics in the rectangles specified by numRects() and -rect(). Note that these rectangles are relative to the entire -display. -

    The offset() function returns the position of the widget relative -to the entire display, allowing you to offset platform-specific -operations appropriately. The xOffset() and yOffset() functions -merely return the component values of offset(). -

    For simple frame-buffer hardware, the frameBuffer(), lineStep(), -and depth() functions provide basic access, though some hardware -configurations are insufficiently specified by such simple -parameters. -

    Note that while a TQDirectPainter exists, the entire TQt/Embedded -window system is locked from use by other applications. Always -construct the TQDirectPainter as an auto (stack) variable, and be -very careful to write robust and stable code within its scope. -

    See also Graphics Classes. - -


    Member Function Documentation

    -

    TQDirectPainter::TQDirectPainter ( const TQWidget * w ) -

    -Construct a direct painter on w. The display is locked and the -mouse cursor is hidden if it is above w. - -

    TQDirectPainter::~TQDirectPainter () -

    -Destroys the direct painter. The mouse cursor is revealed if -necessary and the display is unlocked. - -

    int TQDirectPainter::depth () const -

    -Returns the bit-depth of the display. - -

    uchar * TQDirectPainter::frameBuffer () -

    -Returns a pointer to the framebuffer memory if available. - -

    int TQDirectPainter::height () const -

    -Returns the height of the widget drawn upon. - -

    int TQDirectPainter::lineStep () -

    -Returns the spacing in bytes from one framebuffer line to the -next. - -

    int TQDirectPainter::numRects () const -

    -Returns the number of rectangles in the drawable region. -

    See also rect() and region(). - -

    TQPoint TQDirectPainter::offset () const -

    -Returns the position of the widget relative to the entire display. - -

    const TQRect & TQDirectPainter::rect ( int i ) const -

    -Returns a reference to rectangle i of the drawable region. -Valid values for i are 0..numRects()-1. -

    See also region(). - -

    TQRegion TQDirectPainter::region () const -

    -Returns the region of the framebuffer which represents the exposed -area of the widget being painted on. Note that this may be a sub-area of -the clip region, because of child widgets and overlapping cousin widgets. -

    See also numRects() and rect(). - -

    void TQDirectPainter::setAreaChanged ( const TQRect & r ) -

    -Sets the area changed by the transaction to r. By default, the -entire widget is assumed to have changed. The area changed is only -used by some graphics drivers, so often calling this function for -a smaller area will make no difference to performance. - -

    TQSize TQDirectPainter::size () const -

    -Returns the size of the widget drawn upon. -

    See also width() and height(). - -

    int TQDirectPainter::transformOrientation () -

    -Returns a number that signifies the orientation of the -framebuffer. -
    -
    0 no rotation -
    1 90 degrees rotation -
    2 180 degrees rotation -
    3 270 degrees rotation -
    - -

    int TQDirectPainter::width () const -

    -Returns the width of the widget drawn upon. - -

    int TQDirectPainter::xOffset () const -

    -Returns the X-position of the widget relative to the entire -display. - -

    int TQDirectPainter::yOffset () const -

    -Returns the Y-position of the widget relative to the entire -display. - - -

    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qdirectpainter_qws-h.html b/doc/html/qdirectpainter_qws-h.html deleted file mode 100644 index 29b5568ed..000000000 --- a/doc/html/qdirectpainter_qws-h.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - -qdirectpainter_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qdirectpainter_qws.h

    - -

    This is the verbatim text of the qdirectpainter_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qdirectpainter_qws.h   3.3.8   edited Jan 11 14:46 $
    -**
    -** Definition of TQDirectPainter class
    -**
    -** Created : 010101
    -**
    -** Copyright (C) 2000-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQDIRECTPAINTER_QWS_H
    -#define TQDIRECTPAINTER_QWS_H
    -
    -#ifndef QT_H
    -#include "ntqpainter.h"
    -#endif // QT_H
    -
    -#ifdef TQ_WS_QWS
    -#ifndef TQT_NO_DIRECTPAINTER
    -class TQ_EXPORT TQDirectPainter : public TQPainter {
    -public:
    -    TQDirectPainter( const TQWidget* );
    -    ~TQDirectPainter();
    -
    -    uchar* frameBuffer();
    -    int lineStep();
    -    int transformOrientation();
    -
    -    int numRects() const;
    -    const TQRect& rect(int i) const;
    -    TQRegion region() const;
    -
    -    int depth() const;
    -    int width() const;
    -    int height() const;
    -    int xOffset() const;
    -    int yOffset() const;
    -
    -    TQPoint offset() const;
    -    TQSize size() const;
    -
    -    void setAreaChanged( const TQRect& );
    -
    -private:
    -    class Private;
    -    Private* d;
    -};
    -
    -#endif
    -#endif
    -
    -#endif // TQDIRECTPAINTER_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qdockarea-members.html b/doc/html/qdockarea-members.html index 825dfd75d..fb2f96a36 100644 --- a/doc/html/qdockarea-members.html +++ b/doc/html/qdockarea-members.html @@ -211,7 +211,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qdockwindow-members.html b/doc/html/qdockwindow-members.html index 57c8791b4..59b54ed44 100644 --- a/doc/html/qdockwindow-members.html +++ b/doc/html/qdockwindow-members.html @@ -233,7 +233,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qerrormessage-members.html b/doc/html/qerrormessage-members.html index 163bf0471..08c83c772 100644 --- a/doc/html/qerrormessage-members.html +++ b/doc/html/qerrormessage-members.html @@ -210,7 +210,6 @@ body { background: #ffffff; color: black; }
  • property()
  • qtHandler()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qfiledialog-members.html b/doc/html/qfiledialog-members.html index 1e2a2a351..ff01f4cd3 100644 --- a/doc/html/qfiledialog-members.html +++ b/doc/html/qfiledialog-members.html @@ -229,7 +229,6 @@ body { background: #ffffff; color: black; }
  • previewMode()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qfont-h.html b/doc/html/qfont-h.html index 1a728a0f9..e404a5552 100644 --- a/doc/html/qfont-h.html +++ b/doc/html/qfont-h.html @@ -227,14 +227,7 @@ public: #endif //TQT_NO_STRINGLIST static void initialize(); static void cleanup(); -#ifndef TQ_WS_QWS static void cacheStatistics(); -#endif - -#if defined(TQ_WS_QWS) - void qwsRenderToDisk(bool all=TRUE); -#endif - // a copy of this lives in qunicodetables.cpp, as we can't include // ntqfont.h it in tools/. Do not modify without changing the script diff --git a/doc/html/qfont-members.html b/doc/html/qfont-members.html index 89fb8e0fc..8714e13e7 100644 --- a/doc/html/qfont-members.html +++ b/doc/html/qfont-members.html @@ -61,7 +61,6 @@ body { background: #ffffff; color: black; }
  • pixelSize()
  • pointSize()
  • pointSizeFloat() -
  • qwsRenderToDisk()
  • rawMode()
  • rawName()
  • removeSubstitution() diff --git a/doc/html/qfontdatabase-h.html b/doc/html/qfontdatabase-h.html index 8df7f601b..d61d666f6 100644 --- a/doc/html/qfontdatabase-h.html +++ b/doc/html/qfontdatabase-h.html @@ -94,9 +94,6 @@ struct TQtFontFamily; struct TQtFontFoundry; struct TQFontDef; class TQFontEngine; -#ifdef TQ_WS_QWS -class TQDiskFont; -#endif class TQFontDatabasePrivate; @@ -128,10 +125,6 @@ public: static TQString scriptName(TQFont::Script); static TQString scriptSample(TQFont::Script); -#ifdef TQ_WS_QWS - static void qwsAddDiskFont( TQDiskFont *qdf ); -#endif - // For source compatibility with < 3.0 #ifndef TQT_NO_COMPAT diff --git a/doc/html/qfontdialog-members.html b/doc/html/qfontdialog-members.html index 03d1ca8bd..a0454cf65 100644 --- a/doc/html/qfontdialog-members.html +++ b/doc/html/qfontdialog-members.html @@ -207,7 +207,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qfontmanager-members.html b/doc/html/qfontmanager-members.html deleted file mode 100644 index 3b0f0a938..000000000 --- a/doc/html/qfontmanager-members.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - -TQFontManager Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQFontManager

    - -

    This is the complete list of member functions for -TQFontManager, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qfontmanager.html b/doc/html/qfontmanager.html deleted file mode 100644 index a5dfdf8a3..000000000 --- a/doc/html/qfontmanager.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - -TQFontManager Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQFontManager Class Reference

    - -

    The TQFontManager class implements font management in TQt/Embedded. -More... -

    #include <qfontmanager_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Static Public Members

    - -

    Detailed Description

    - - -The TQFontManager class implements font management in TQt/Embedded. - -

    There is one and only one TQFontManager per TQt/Embedded -application. The qt_fontmanager global variable points to it. It -keeps a list of font factories, a cache of rendered fonts and a -list of fonts available on disk. TQFontManager is called when a new -font needs to be rendered from a Freetype-compatible or BDF font -on disk; this only happens if there isn't an appropriate TQPF font -already available. -

    See also TQt/Embedded. - -


    Member Function Documentation

    -

    TQFontManager::TQFontManager () -

    -Creates a font manager. This method reads in the font definition -file from INSTALL/lib/fonts/fontdir, where INSTALL is the -directory where TQt/Embedded was installed, and creates a list of -TQDiskFonts to hold the information in the file. It also constructs -any defined font factories. - -

    TQFontManager::~TQFontManager () -

    - -

    Destroys the TQFontManager and sets qt_fontmanager to 0. - -

    void TQFontManager::cleanup () [static] -

    -Destroys the font manager - -

    TQDiskFont * TQFontManager::get ( const TQFontDef & f ) -

    -Returns the TQDiskFont that best matches f, based on family, -weight, italicity and font size. - -

    void TQFontManager::initialize () [static] -

    -Creates a new TQFontManager and points qt_fontmanager to it - - -

    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qfontmanager_qws-h.html b/doc/html/qfontmanager_qws-h.html deleted file mode 100644 index 137a3d9bd..000000000 --- a/doc/html/qfontmanager_qws-h.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - -qfontmanager_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qfontmanager_qws.h

    - -

    This is the verbatim text of the qfontmanager_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qfontmanager_qws.h   3.3.8   edited Jan 11 14:38 $
    -**
    -** Definition of font rendering infrastructure for Embedded TQt
    -**
    -** Created : 940721
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQFONTMANAGER_QWS_H
    -#define TQFONTMANAGER_QWS_H
    -
    -#ifndef QT_H
    -#include "ntqfont.h"
    -#include "tqptrlist.h"
    -#include <private/tqtextengine_p.h>
    -#endif // QT_H
    -
    -// These are stored in the shared memory segment in front of their
    -// data, and indexed at the start of the segment
    -
    -// This needs to be a multiple of 64 bits
    -
    -class TQFontDef;
    -
    -class TQ_PACKED TQGlyphMetrics {
    -
    -public:
    -    TQ_UINT8 linestep;
    -    TQ_UINT8 width;
    -    TQ_UINT8 height;
    -    TQ_UINT8 flags;
    -
    -    TQ_INT8 bearingx;      // Difference from pen position to glyph's left bbox
    -    TQ_UINT8 advance;       // Difference between pen positions
    -    TQ_INT8 bearingy;      // Used for putting characters on baseline
    -
    -    TQ_INT8 reserved;      // Do not use
    -
    -    // Flags:
    -    // RendererOwnsData - the renderer is responsible for glyph data
    -    //                    memory deletion otherwise TQGlyphTree must
    -    //                    delete [] the data when the glyph is deleted.
    -    enum Flags { RendererOwnsData=0x01 };
    -};
    -
    -class TQGlyph {
    -public:
    -    TQGlyph() { metrics=0; data=0; }
    -    TQGlyph(TQGlyphMetrics* m, uchar* d) :
    -	metrics(m), data(d) { }
    -    ~TQGlyph() {}
    -
    -    TQGlyphMetrics* metrics;
    -    uchar* data;
    -};
    -
    -
    -
    -class TQFontFactory;
    -class TQDiskFont;
    -
    -// This is a particular font instance at a particular resolution
    -// e.g. Truetype Times, 10 point. There's only one of these though;
    -// we want to share generated glyphs
    -
    -class TQRenderedFont {
    -
    -public:
    -
    -    // Normal font-type is monochrome; glyph data is a
    -    //   bitmap, which doesn't use much memory
    -
    -    // Initialise for name A, renderer B, font type C, D glyphs
    -
    -    TQRenderedFont(TQDiskFont *,const TQFontDef&);
    -    virtual ~TQRenderedFont();
    -
    -    TQFontDef fontDef() const;
    -
    -    int refcount;
    -
    -    int ptsize;
    -
    -    bool italic;
    -    unsigned int weight;
    -
    -    void ref() { refcount++; }
    -    bool deref() { refcount--; return refcount==0; }
    -
    -    bool match(const TQFontDef &);
    -
    -    TQDiskFont* diskfont;
    -    int fascent,fdescent;
    -    int fleftbearing,frightbearing;
    -    int fmaxwidth;
    -    int fleading;
    -    int funderlinepos;
    -    int funderlinewidth;
    -    bool smooth;
    -    int maxchar;
    -
    -    int ascent() { return fascent; }
    -    int descent() { return fdescent; }
    -    int width(int);
    -    int width( const TQString&, int =-1 );
    -    int leftBearing(int);
    -    int rightBearing(int);
    -
    -    // Calling any of these can trigger a full-font metrics check
    -    // which can be expensive
    -    int minLeftBearing();
    -    int minRightBearing();
    -    int maxWidth();
    -
    -    virtual bool inFont(glyph_t g) const=0;
    -    virtual TQGlyph render(glyph_t g)=0;
    -
    -private:
    -
    -};
    -
    -// Keeps track of available renderers and which font is which
    -
    -class TQDiskFontPrivate {};
    -
    -class TQDiskFont {
    -
    -public:
    -    TQDiskFont(TQFontFactory *f, const TQString& n, bool i, int w, int s,
    -	      const TQString &fl, const TQString& fi) :
    -	factory(f), name(n), italic(i), weight(w), size(s), flags(fl), file(fi)
    -    {
    -	loaded=FALSE;
    -	p=0;
    -    }
    -
    -    TQRenderedFont* load(const TQFontDef &);
    -
    -    TQFontDef fontDef() const;
    -
    -    TQFontFactory *factory;
    -    TQString name;
    -    bool italic;
    -    int weight;
    -    int size;
    -    TQString flags;
    -    TQString file;
    -    bool loaded;
    -
    -    TQDiskFontPrivate * p;
    -};
    -
    -class TQCachePolicy {
    -
    -public:
    -
    -    virtual void cache(TQRenderedFont *)=0;
    -    virtual void uncache(TQRenderedFont *)=0;
    -
    -};
    -
    -// Exposed here so the default policy can be reset
    -
    -class TQDefaultCachePolicy : public TQCachePolicy {
    -
    -public:
    -
    -    virtual void cache(TQRenderedFont *);
    -    virtual void uncache(TQRenderedFont *);
    -
    -};
    -
    -class TQFontManager {
    -
    -public:
    -
    -    TQPtrList<TQFontFactory> factories;
    -    TQPtrList<TQRenderedFont> cachedfonts;
    -    TQPtrList<TQDiskFont> diskfonts;
    -
    -    TQFontManager();
    -    ~TQFontManager();
    -
    -    // Font definition, type and color
    -    TQDiskFont * get(const TQFontDef &);
    -
    -    static int cmpFontDef(const TQFontDef & goal, const TQFontDef & choice);
    -
    -    static void initialize();
    -    static void cleanup();
    -
    -    void setPolicy(TQCachePolicy *);
    -
    -    void cache(TQRenderedFont * f) { policy->cache(f); }
    -    void uncache(TQRenderedFont * f) { policy->uncache(f); }
    -    TQRenderedFont * getCached(const TQFontDef &);
    -
    -private:
    -
    -    TQCachePolicy * policy;
    -
    -};
    -
    -class TQFontFactory {
    -
    -public:
    -
    -    TQFontFactory() {}
    -    virtual ~TQFontFactory() {}
    -
    -    virtual TQRenderedFont * get(const TQFontDef &,TQDiskFont *)=0;
    -    virtual void load(TQDiskFont *) const=0;
    -    virtual void unload(TQDiskFont *) {}
    -    virtual TQString name()=0;
    -};
    -
    -void tqt_init_fonts();
    -
    -extern TQFontManager * qt_fontmanager;
    -
    -#endif
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qfontmetrics-h.html b/doc/html/qfontmetrics-h.html index f034b77f5..d64ad29fb 100644 --- a/doc/html/qfontmetrics-h.html +++ b/doc/html/qfontmetrics-h.html @@ -82,10 +82,6 @@ body { background: #ffffff; color: black; } #include "ntqrect.h" #endif // QT_H -#ifdef TQ_WS_QWS -class TQFontEngine; -#endif - class TQTextCodec; class TQTextParag; diff --git a/doc/html/qframe-members.html b/doc/html/qframe-members.html index 224ee0651..decd2f16a 100644 --- a/doc/html/qframe-members.html +++ b/doc/html/qframe-members.html @@ -213,7 +213,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qgfx_qws-h.html b/doc/html/qgfx_qws-h.html deleted file mode 100644 index 3fb69e87d..000000000 --- a/doc/html/qgfx_qws-h.html +++ /dev/null @@ -1,493 +0,0 @@ - - - - - -qgfx_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qgfx_qws.h

    - -

    This is the verbatim text of the qgfx_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qgfx_qws.h   3.3.8   edited Jan 11 14:38 $
    -**
    -** Definition of TQGfx (graphics context) class
    -**
    -** Created : 940721
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQGFX_QWS_H
    -#define TQGFX_QWS_H
    -
    -#ifndef QT_H
    -#include "tqwidget.h"
    -#include "ntqnamespace.h"
    -#include "tqimage.h"
    -#include "qfontmanager_qws.h"
    -#include "qmemorymanager_qws.h"
    -#include "ntqpoint.h"
    -#endif // QT_H
    -
    -#include <private/tqtextengine_p.h>
    -
    -class TQScreenCursor;
    -
    -#if !defined( TQT_NO_IMAGE_16_BIT ) || !defined( TQT_NO_QWS_DEPTH_16 )
    -# ifndef QT_QWS_DEPTH16_RGB
    -#  define QT_QWS_DEPTH16_RGB 565
    -# endif
    -static const int qt_rbits = (QT_QWS_DEPTH16_RGB/100);
    -static const int qt_gbits = (QT_QWS_DEPTH16_RGB/10%10);
    -static const int qt_bbits = (QT_QWS_DEPTH16_RGB%10);
    -static const int qt_red_shift = qt_bbits+qt_gbits-(8-qt_rbits);
    -static const int qt_green_shift = qt_bbits-(8-qt_gbits);
    -static const int qt_neg_blue_shift = 8-qt_bbits;
    -static const int qt_blue_mask = (1<<qt_bbits)-1;
    -static const int qt_green_mask = (1<<(qt_gbits+qt_bbits))-((1<<qt_bbits)-1);
    -static const int qt_red_mask = (1<<(qt_rbits+qt_gbits+qt_bbits))-(1<<(qt_gbits+qt_bbits));
    -
    -inline ushort qt_convRgbTo16( const int r, const int g, const int b )
    -{
    -    const int tr = r << qt_red_shift;
    -    const int tg = g << qt_green_shift;
    -    const int tb = b >> qt_neg_blue_shift;
    -
    -    return (tb & qt_blue_mask) | (tg & qt_green_mask) | (tr & qt_red_mask);
    -}
    -
    -inline ushort qt_convRgbTo16( TQRgb c )
    -{
    -    const int tr = tqRed(c) << qt_red_shift;
    -    const int tg = tqGreen(c) << qt_green_shift;
    -    const int tb = tqBlue(c) >> qt_neg_blue_shift;
    -
    -    return (tb & qt_blue_mask) | (tg & qt_green_mask) | (tr & qt_red_mask);
    -}
    -
    -inline TQRgb qt_conv16ToRgb( ushort c )
    -{
    -    const int r=(c & qt_red_mask);
    -    const int g=(c & qt_green_mask);
    -    const int b=(c & qt_blue_mask);
    -    const int tr = r >> qt_red_shift;
    -    const int tg = g >> qt_green_shift;
    -    const int tb = b << qt_neg_blue_shift;
    -
    -    return tqRgb(tr,tg,tb);
    -}
    -
    -inline void qt_conv16ToRgb( ushort c, int& r, int& g, int& b )
    -{
    -    const int tr=(c & qt_red_mask);
    -    const int tg=(c & qt_green_mask);
    -    const int tb=(c & qt_blue_mask);
    -    r = tr >> qt_red_shift;
    -    g = tg >> qt_green_shift;
    -    b = tb << qt_neg_blue_shift;
    -}
    -#endif
    -
    -
    -const int SourceSolid=0;
    -const int SourcePixmap=1;
    -
    -#ifndef TQT_NO_QWS_CURSOR
    -
    -extern bool qt_sw_cursor;
    -
    -class TQGfxRasterBase;
    -
    -#define SW_CURSOR_DATA_SIZE	4096  // 64x64 8-bit cursor
    -
    -struct SWCursorData {
    -    unsigned char cursor[SW_CURSOR_DATA_SIZE];
    -    unsigned char under[SW_CURSOR_DATA_SIZE*4]; // room for 32bpp display
    -    TQRgb clut[256];
    -    unsigned char translut[256];
    -    int colors;
    -    int width;
    -    int height;
    -    int x;
    -    int y;
    -    int hotx;
    -    int hoty;
    -    bool enable;
    -    TQRect bound;
    -};
    -
    -
    -class TQScreenCursor
    -{
    -public:
    -    TQScreenCursor( );
    -    virtual ~TQScreenCursor();
    -
    -    virtual void init(SWCursorData *da, bool init = FALSE);
    -
    -    virtual void set( const TQImage &image, int hotx, int hoty );
    -    virtual void move( int x, int y );
    -    virtual void show();
    -    virtual void hide();
    -
    -    virtual bool restoreUnder( const TQRect &r, TQGfxRasterBase *g = 0 );
    -    virtual void saveUnder();
    -    virtual void drawCursor();
    -    //void draw();
    -    virtual bool supportsAlphaCursor();
    -
    -    static bool enabled() { return qt_sw_cursor; }
    -
    -protected:
    -    TQGfxRasterBase *gfx;
    -    TQGfxRasterBase *gfxunder;
    -
    -    TQImage *imgunder;
    -    TQImage *cursor;
    -
    -    uchar *fb_start;
    -    uchar *fb_end;
    -    bool save_under;
    -    SWCursorData *data;
    -
    -    int clipWidth;
    -    int clipHeight;
    -    int myoffset;
    -
    -};
    -
    -extern TQScreenCursor * qt_screencursor;
    -
    -#endif // TQT_NO_QWS_CURSOR
    -
    -struct fb_cmap;
    -
    -// A (used) chunk of offscreen memory
    -
    -class TQPoolEntry
    -{
    -public:
    -    unsigned int start;
    -    unsigned int end;
    -    int clientId;
    -};
    -
    -class TQScreen;
    -typedef void(*ClearCacheFunc)(TQScreen *obj, int);
    -
    -class TQScreen {
    -
    -public:
    -
    -    TQScreen( int display_id );
    -    virtual ~TQScreen();
    -    virtual bool initDevice() = 0;
    -    virtual bool connect( const TQString &displaySpec ) = 0;
    -    virtual void disconnect() = 0;
    -    virtual int initCursor(void *, bool=FALSE);
    -    virtual void shutdownDevice();
    -    virtual void setMode(int,int,int) = 0;
    -    virtual bool supportsDepth(int) const;
    -    virtual TQGfx * createGfx(unsigned char *,int,int,int,int);
    -    virtual TQGfx * screenGfx();
    -    virtual void save();
    -    virtual void restore();
    -    virtual void blank(bool on);
    -
    -    virtual int pixmapOffsetAlignment() { return 64; }
    -    virtual int pixmapLinestepAlignment() { return 64; }
    -    virtual int sharedRamSize(void *) { return 0; }
    -
    -    virtual bool onCard(unsigned char *) const;
    -    virtual bool onCard(unsigned char *, ulong& out_offset) const;
    -
    -    // sets a single color in the colormap
    -    virtual void set(unsigned int,unsigned int,unsigned int,unsigned int);
    -    // allocates a color
    -    virtual int alloc(unsigned int,unsigned int,unsigned int);
    -
    -    int width() const { return w; }
    -    int height() const { return h; }
    -    int depth() const { return d; }
    -    virtual int pixmapDepth() const;
    -    int pixelType() const { return pixeltype; }
    -    int linestep() const { return lstep; }
    -    int deviceWidth() const { return dw; }
    -    int deviceHeight() const { return dh; }
    -    uchar * base() const { return data; }
    -    // Ask for memory from card cache with alignment
    -    virtual uchar * cache(int,int) { return 0; }
    -    virtual void uncache(uchar *) {}
    -
    -    int screenSize() const { return size; }
    -    int totalSize() const { return mapsize; }
    -
    -    TQRgb * clut() { return screenclut; }
    -    int numCols() { return screencols; }
    -
    -    virtual TQSize mapToDevice( const TQSize & ) const;
    -    virtual TQSize mapFromDevice( const TQSize & ) const;
    -    virtual TQPoint mapToDevice( const TQPoint &, const TQSize & ) const;
    -    virtual TQPoint mapFromDevice( const TQPoint &, const TQSize & ) const;
    -    virtual TQRect mapToDevice( const TQRect &, const TQSize & ) const;
    -    virtual TQRect mapFromDevice( const TQRect &, const TQSize & ) const;
    -    virtual TQImage mapToDevice( const TQImage & ) const;
    -    virtual TQImage mapFromDevice( const TQImage & ) const;
    -    virtual TQRegion mapToDevice( const TQRegion &, const TQSize & ) const;
    -    virtual TQRegion mapFromDevice( const TQRegion &, const TQSize & ) const;
    -    virtual int transformOrientation() const;
    -    virtual bool isTransformed() const;
    -    virtual bool isInterlaced() const;
    -
    -    virtual void setDirty( const TQRect& );
    -
    -    virtual int memoryNeeded(const TQString&);
    -
    -    int * opType() { return screen_optype; }
    -    int * lastOp() { return screen_lastop; }
    -
    -    virtual void haltUpdates();
    -    virtual void resumeUpdates();
    -
    -protected:
    -
    -    // Only used without TQT_NO_QWS_REPEATER, but included so that
    -    // it's binary compatible regardless.
    -    int * screen_optype;
    -    int * screen_lastop;
    -
    -    TQRgb screenclut[256];
    -    int screencols;
    -
    -    bool initted;
    -
    -    uchar * data;
    -
    -    // Table of allocated lumps, kept in sorted highest-to-lowest order
    -    // The table itself is allocated at the bottom of offscreen memory
    -    // i.e. it's similar to having a stack (the table) and a heap
    -    // (the allocated blocks). Freed space is implicitly described
    -    // by the gaps between the allocated lumps (this saves entries and
    -    // means we don't need to worry about coalescing freed lumps)
    -
    -    TQPoolEntry * entries;
    -    int * entryp;
    -    unsigned int * lowest;
    -
    -    int w;
    -    int lstep;
    -    int h;
    -    int d;
    -    int pixeltype;
    -    bool grayscale;
    -
    -    int dw;
    -    int dh;
    -
    -    int hotx;
    -    int hoty;
    -    TQImage cursor;
    -
    -    int size;	       // Screen size
    -    int mapsize;       // Total mapped memory
    -
    -    int displayId;
    -
    -    friend class TQWSServer;
    -    static ClearCacheFunc clearCacheFunc;
    -};
    -
    -extern TQScreen * qt_screen;
    -
    -class TQ_EXPORT TQGfx : public TQt {
    -public:
    -    // With loadable drivers, do probe here
    -    static TQGfx *createGfx( int depth, unsigned char *buffer,
    -			    int w, int h, int linestep );
    -
    -    virtual ~TQGfx() {}
    -
    -    virtual void setPen( const TQPen & )=0;
    -    virtual void setBrush( const TQBrush & )=0;
    -    virtual void setBrushPixmap( const TQPixmap * )=0;
    -    virtual void setBrushOffset( int, int ) = 0;
    -    virtual void setClipRect( int,int,int,int )=0;
    -    virtual void setClipRegion( const TQRegion & )=0;
    -    virtual void setClipDeviceRegion( const TQRegion & )=0;
    -    virtual void setClipping (bool)=0;
    -    // These will be called from tqwidget_qws or tqwidget_mac
    -    // to update the drawing area when a widget is moved
    -    virtual void setOffset( int,int )=0;
    -    virtual void setWidgetRect( int,int,int,int )=0;
    -    virtual void setWidgetRegion( const TQRegion & )=0;
    -    virtual void setWidgetDeviceRegion( const TQRegion & )=0;
    -    virtual void setSourceWidgetOffset(int x, int y) = 0;
    -    virtual void setGlobalRegionIndex( int idx ) = 0;
    -
    -    virtual void setDashedLines(bool d) = 0;
    -    virtual void setDashes(char *, int) = 0;
    -
    -    virtual void setOpaqueBackground(bool b)=0;
    -    virtual void setBackgroundColor(TQColor c)=0;
    -
    -    // Drawing operations
    -    virtual void drawPoint( int,int )=0;
    -    virtual void drawPoints( const TQPointArray &,int,int )=0;
    -    virtual void moveTo( int,int )=0;
    -    virtual void lineTo( int,int )=0;
    -    virtual void drawLine( int,int,int,int )=0;
    -    virtual void drawPolyline( const TQPointArray &,int,int )=0;
    -
    -    // current position
    -    virtual TQPoint pos() const = 0;
    -
    -    // Fill operations - these use the current source (pixmap,
    -    // color, etc), and draws outline
    -    virtual void fillRect( int,int,int,int )=0;
    -    virtual void drawPolygon( const TQPointArray &,bool,int,int )=0;
    -
    -    virtual void setLineStep(int)=0;
    -
    -    // Special case of rect-with-pixmap-fill for speed/hardware acceleration
    -    virtual void blt( int,int,int,int,int,int )=0;
    -    virtual void scroll( int,int,int,int,int,int )=0;
    -
    -#if !defined(TQT_NO_MOVIE) || !defined(TQT_NO_TRANSFORMATIONS) || !defined(TQT_NO_PIXMAP_TRANSFORMATION)
    -    virtual void stretchBlt( int,int,int,int,int,int )=0;
    -#endif
    -    virtual void tiledBlt( int,int,int,int )=0;
    -
    -    enum SourceType { SourcePen, SourceImage, SourceAccel };
    -    enum PixelType { NormalPixel, BGRPixel };
    -
    -    // Setting up source data - can be solid color or pixmap data
    -    virtual void setSource(const TQPaintDevice *)=0;
    -    virtual void setSource(const TQImage *)=0;
    -    virtual void setSource(unsigned char *,int,int,int,int,TQRgb *,int);
    -    // This one is pen
    -    virtual void setSourcePen()=0;
    -
    -    virtual void drawAlpha(int,int,int,int,int,int,int,int) {}
    -
    -    virtual void hsync(int) {}
    -
    -    // These apply only to blt's. For alpha values for general
    -    // drawing operations we should probably have a separate TQGfx
    -    // class. It's not a high priority though.
    -
    -    // Enum values: Ignore alpha information, alpha information encoded in
    -    // 32-bit rgba along with colors, alpha information in 8bpp
    -    // format in alphabits
    -
    -    enum AlphaType { IgnoreAlpha, InlineAlpha, SeparateAlpha,
    -                     LittleEndianMask, BigEndianMask, SolidAlpha };
    -
    -    // Can be no alpha, inline (32bit data), separate (for images),
    -    // LittleEndianMask/BigEndianMask 1bpp masks, constant alpha
    -    // value
    -    virtual void setAlphaType(AlphaType)=0;
    -    // Pointer to data, linestep
    -    virtual void setAlphaSource(unsigned char *,int)=0;
    -    virtual void setAlphaSource(int,int=-1,int=-1,int=-1)=0;
    -
    -    virtual void drawGlyphs( TQMemoryManager::FontID font, glyph_t *glyphs, TQPoint *positions, int num_glyphs ) = 0;
    -
    -    virtual void setClut(TQRgb *,int)=0;
    -
    -    // Save and restore pen and brush state - necessary when setting
    -    // up a bitBlt for example
    -    virtual void save()=0;
    -    virtual void restore()=0;
    -
    -    virtual void setRop(RasterOp)=0;
    -    virtual void setScreen(TQScreen *,TQScreenCursor *,bool,int *,int *);
    -    void setShared(void * v) { shared_data=v; }
    -    bool isScreenGfx() { return is_screen_gfx; } //for cursor..
    -
    -protected:
    -    bool is_screen_gfx;
    -    void * shared_data;
    -
    -};
    -
    -
    -// This lives in loadable modules
    -
    -#ifndef QT_LOADABLE_MODULES
    -extern "C" TQScreen * qt_get_screen( int display_id, const char* spec );
    -#endif
    -
    -// This is in main lib, loads the right module, calls qt_get_screen
    -// In non-loadable cases just aliases to qt_get_screen
    -
    -const unsigned char * qt_probe_bus();
    -
    -#endif // TQGFX_QWS_H
    -
    -
    -
    -
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qgfxdriverfactory-members.html b/doc/html/qgfxdriverfactory-members.html deleted file mode 100644 index 3805891ac..000000000 --- a/doc/html/qgfxdriverfactory-members.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - -TQGfxDriverFactory Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQGfxDriverFactory

    - -

    This is the complete list of member functions for -TQGfxDriverFactory, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qgfxdriverfactory.html b/doc/html/qgfxdriverfactory.html deleted file mode 100644 index 11f6b5cb1..000000000 --- a/doc/html/qgfxdriverfactory.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - -TQGfxDriverFactory Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQGfxDriverFactory Class Reference

    - -

    The TQGfxDriverFactory class creates TQScreen objects for TQt/Embedded. -More... -

    #include <qgfxdriverfactory_qws.h> -

    List of all member functions. -

    Static Public Members

    -
      -
    • TQStringList keys ()
    • -
    • TQScreen * create ( const TQString & key, int displayId )
    • -
    -

    Detailed Description

    - - -The TQGfxDriverFactory class creates TQScreen objects for TQt/Embedded. -

    The graphics driver factory creates a TQScreen object for a given -key with TQGfxDriverFactory::create(key). -

    The drivers are either built-in or dynamically loaded from a -driver plugin (see TQGfxDriverPlugin). -

    TQGfxDriverFactory::keys() returns a list of valid keys. TQt -currently ships with "LinuxFb". -

    This class is only available in TQt/Embedded. - -


    Member Function Documentation

    -

    TQScreen * TQGfxDriverFactory::create ( const TQString & key, int displayId ) [static] -

    -Creates a TQScreen object of a type that matches key, and with -the ID, displayId. The TQScreen object returned may be from a -built-in driver, or from a driver plugin. -

    See also keys(). - -

    TQStringList TQGfxDriverFactory::keys () [static] -

    -Returns the list of keys this factory can create drivers for. -

    See also create(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qgfxdriverfactory_qws-h.html b/doc/html/qgfxdriverfactory_qws-h.html deleted file mode 100644 index fe78269c7..000000000 --- a/doc/html/qgfxdriverfactory_qws-h.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - -qgfxdriverfactory_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qgfxdriverfactory_qws.h

    - -

    This is the verbatim text of the qgfxdriverfactory_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qgfxdriverfactory_qws.h   3.3.8   edited Jan 11 14:46 $
    -**
    -** ...
    -**
    -** Copyright (C) 2005-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQGFXDRIVERFACTORY_QWS_H
    -#define TQGFXDRIVERFACTORY_QWS_H
    -
    -#ifndef QT_H
    -#include "tqstringlist.h"
    -#endif // QT_H
    -
    -class TQString;
    -class TQScreen;
    -
    -class TQ_EXPORT TQGfxDriverFactory
    -{
    -public:
    -#ifndef TQT_NO_STRINGLIST
    -    static TQStringList keys();
    -#endif
    -    static TQScreen *create( const TQString&, int );
    -};
    -
    -#endif //TQGFXDRIVERFACTORY_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qgfxdriverplugin-members.html b/doc/html/qgfxdriverplugin-members.html deleted file mode 100644 index aa34f976b..000000000 --- a/doc/html/qgfxdriverplugin-members.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -TQGfxDriverPlugin Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQGfxDriverPlugin

    - -

    This is the complete list of member functions for -TQGfxDriverPlugin, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qgfxdriverplugin.html b/doc/html/qgfxdriverplugin.html deleted file mode 100644 index 9fac7abdc..000000000 --- a/doc/html/qgfxdriverplugin.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - -TQGfxDriverPlugin Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQGfxDriverPlugin Class Reference

    - -

    The TQGfxDriverPlugin class provides an abstract base for -TQt/Embedded graphics driver plugins. -More... -

    #include <qgfxdriverplugin_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Detailed Description

    - - -The TQGfxDriverPlugin class provides an abstract base for -TQt/Embedded graphics driver plugins. -

    -

    The graphics driver plugin is a simple plugin interface that makes -it easy to create custom graphics drivers. -

    Writing a graphics driver plugin is achieved by subclassing this -base class, reimplementing the pure virtual functions keys() and -create(), and exporting the class with the TQ_EXPORT_PLUGIN -macro. See the Plugins - documentation for details. -

    This class is only available in TQt/Embedded. -

    See also Plugins. - -


    Member Function Documentation

    -

    TQGfxDriverPlugin::TQGfxDriverPlugin () -

    -Constructs a graphics driver plugin. This is invoked automatically -by the TQ_EXPORT_PLUGIN macro. - -

    TQGfxDriverPlugin::~TQGfxDriverPlugin () -

    -Destroys the graphics driver plugin. -

    You never have to call this explicitly. TQt destroys a plugin -automatically when it is no longer used. - -

    TQScreen * TQGfxDriverPlugin::create ( const TQString & driver, int displayId ) [pure virtual] -

    - -

    Creates a driver matching the type specified by driver, that -will use display displayId. -

    See also keys(). - -

    TQStringList TQGfxDriverPlugin::keys () const [pure virtual] -

    - -

    Returns the list of graphics drivers this plugin supports. -

    See also create(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qgfxdriverplugin_qws-h.html b/doc/html/qgfxdriverplugin_qws-h.html deleted file mode 100644 index e71add097..000000000 --- a/doc/html/qgfxdriverplugin_qws-h.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -qgfxdriverplugin_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qgfxdriverplugin_qws.h

    - -

    This is the verbatim text of the qgfxdriverplugin_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qgfxdriverplugin_qws.h   3.3.8   edited Jan 11 14:37 $
    -**
    -** Definition of TQGfxDriverPlugin
    -**
    -** Created : 20020212
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQGFXDRIVERPLUGIN_QWS_H
    -#define TQGFXDRIVERPLUGIN_QWS_H
    -
    -#ifndef QT_H
    -#include "ntqgplugin.h"
    -#include "tqstringlist.h"
    -#endif // QT_H
    -
    -#ifndef TQT_NO_COMPONENT
    -
    -class TQScreen;
    -class TQGfxDriverPluginPrivate;
    -
    -class TQ_EXPORT TQGfxDriverPlugin : public TQGPlugin
    -{
    -    TQ_OBJECT
    -public:
    -    TQGfxDriverPlugin();
    -    ~TQGfxDriverPlugin();
    -
    -#ifndef TQT_NO_STRINGLIST
    -    virtual TQStringList keys() const = 0;
    -#endif
    -    virtual TQScreen* create( const TQString& driver, int displayId ) = 0;
    -
    -private:
    -    TQGfxDriverPluginPrivate *d;
    -};
    -
    -#endif // TQT_NO_COMPONENT
    -
    -#endif // TQGFXDRIVERPLUGIN_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html index 95ae1ea77..e62a472ed 100644 --- a/doc/html/qglobal-h.html +++ b/doc/html/qglobal-h.html @@ -326,10 +326,7 @@ body { background: #ffffff; color: black; } /* can we just compare the structures? */ # define TQ_FULL_TEMPLATE_INSTANTIATION_MEMCMP /* these are not useful to our customers */ -# define QT_QWS_NO_SHM -# define TQT_NO_QWS_MULTIPROCESS # define TQT_NO_SQL -# define TQT_NO_QWS_CURSOR # endif #elif defined(__GNUC__) @@ -590,7 +587,6 @@ body { background: #ffffff; color: black; } MACX - Mac OS X MAC9 - Mac OS 9 - TQWS - TQt/Embedded WIN32 - Windows X11 - X Window System PM - unsupported @@ -613,10 +609,7 @@ body { background: #ffffff; color: black; } # define TQ_WS_PM # error "TQt does not work with OS/2 Presentation Manager or Workplace Shell" #elif defined(Q_OS_UNIX) -# if defined(TQWS) -# define TQ_WS_QWS -# define TQT_NO_QWS_IM -# elif defined(Q_OS_MACX) +# if defined(Q_OS_MACX) # define TQ_WS_MACX # else # define TQ_WS_X11 @@ -630,7 +623,7 @@ body { background: #ffffff; color: black; } # define TQ_WS_WIN #endif -#if (defined(TQ_WS_MAC9) || defined(TQ_WS_MACX)) && !defined(TQ_WS_QWS) && !defined(TQ_WS_X11) +#if (defined(TQ_WS_MAC9) || defined(TQ_WS_MACX)) && !defined(TQ_WS_X11) # define TQ_WS_MAC #endif @@ -844,10 +837,6 @@ class TQDataStream; # endif #endif -#if !defined(TQ_WS_QWS) && !defined(TQT_NO_COP) -# define TQT_NO_COP -#endif - #ifndef QT_H #include "ntqfeatures.h" #endif /* QT_H */ diff --git a/doc/html/qglwidget-members.html b/doc/html/qglwidget-members.html index 9c1d998e4..8d9e2b3c6 100644 --- a/doc/html/qglwidget-members.html +++ b/doc/html/qglwidget-members.html @@ -223,7 +223,6 @@ body { background: #ffffff; color: black; }
  • qglClearColor()
  • qglColor()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qgrid-members.html b/doc/html/qgrid-members.html index 2987bf212..35728d6b2 100644 --- a/doc/html/qgrid-members.html +++ b/doc/html/qgrid-members.html @@ -213,7 +213,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qgridview-members.html b/doc/html/qgridview-members.html index 64afe0d6c..f688a0441 100644 --- a/doc/html/qgridview-members.html +++ b/doc/html/qgridview-members.html @@ -263,7 +263,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qgroupbox-members.html b/doc/html/qgroupbox-members.html index 4b894e410..e01af25af 100644 --- a/doc/html/qgroupbox-members.html +++ b/doc/html/qgroupbox-members.html @@ -223,7 +223,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qhbox-members.html b/doc/html/qhbox-members.html index 8c1df9b73..6dda069cb 100644 --- a/doc/html/qhbox-members.html +++ b/doc/html/qhbox-members.html @@ -213,7 +213,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qhbuttongroup-members.html b/doc/html/qhbuttongroup-members.html index 013edeb5d..fde6cca4d 100644 --- a/doc/html/qhbuttongroup-members.html +++ b/doc/html/qhbuttongroup-members.html @@ -231,7 +231,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qheader-members.html b/doc/html/qheader-members.html index 42633092f..b86069e93 100644 --- a/doc/html/qheader-members.html +++ b/doc/html/qheader-members.html @@ -229,7 +229,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qhgroupbox-members.html b/doc/html/qhgroupbox-members.html index 4f0b094b6..2bd3f6b31 100644 --- a/doc/html/qhgroupbox-members.html +++ b/doc/html/qhgroupbox-members.html @@ -223,7 +223,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qinputdialog-members.html b/doc/html/qinputdialog-members.html index f8e357c9e..760c5502a 100644 --- a/doc/html/qinputdialog-members.html +++ b/doc/html/qinputdialog-members.html @@ -210,7 +210,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qkbddriverfactory-members.html b/doc/html/qkbddriverfactory-members.html deleted file mode 100644 index 801b88bd9..000000000 --- a/doc/html/qkbddriverfactory-members.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - -TQKbdDriverFactory Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQKbdDriverFactory

    - -

    This is the complete list of member functions for -TQKbdDriverFactory, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qkbddriverfactory.html b/doc/html/qkbddriverfactory.html deleted file mode 100644 index 6d195874f..000000000 --- a/doc/html/qkbddriverfactory.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - -TQKbdDriverFactory Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQKbdDriverFactory Class Reference

    - -

    The TQKbdDriverFactory class creates TQWSKeyboardHandler objects -for TQt/Embedded. -More... -

    #include <qkbddriverfactory_qws.h> -

    List of all member functions. -

    Static Public Members

    -
      -
    • TQStringList keys ()
    • -
    • TQWSKeyboardHandler * create ( const TQString & key, const TQString & device )
    • -
    -

    Detailed Description

    - - -The TQKbdDriverFactory class creates TQWSKeyboardHandler objects -for TQt/Embedded. -

    The graphics driver factory creates a TQWSKeyboardHandler object -for a given key with TQKbdDriverFactory::create(key). -

    The drivers are either built-in or dynamically loaded from a -driver plugin (see TQKbdDriverPlugin). -

    This class is only available in TQt/Embedded. -

    TQKbdDriverFactory::keys() returns a list of valid keys. - -


    Member Function Documentation

    -

    TQWSKeyboardHandler * TQKbdDriverFactory::create ( const TQString & key, const TQString & device ) [static] -

    -Creates a TQWSKeyboardHandler object that matches key for device -device. This is either a built-in driver, or a driver from a -driver plugin. -

    See also keys(). - -

    TQStringList TQKbdDriverFactory::keys () [static] -

    -Returns the list of keys this factory can create drivers for. -

    See also create(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qkbddriverfactory_qws-h.html b/doc/html/qkbddriverfactory_qws-h.html deleted file mode 100644 index 656130b03..000000000 --- a/doc/html/qkbddriverfactory_qws-h.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - -qkbddriverfactory_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qkbddriverfactory_qws.h

    - -

    This is the verbatim text of the qkbddriverfactory_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qkbddriverfactory_qws.h   3.3.8   edited Jan 11 14:46 $
    -**
    -** ...
    -**
    -** Copyright (C) 2005-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQKBDDRIVERFACTORY_QWS_H
    -#define TQKBDDRIVERFACTORY_QWS_H
    -
    -#ifndef QT_H
    -#include "tqstringlist.h"
    -#endif // QT_H
    -
    -class TQString;
    -class TQWSKeyboardHandler;
    -
    -class TQ_EXPORT TQKbdDriverFactory
    -{
    -public:
    -#ifndef TQT_NO_STRINGLIST
    -    static TQStringList keys();
    -#endif
    -    static TQWSKeyboardHandler *create( const TQString&, const TQString& );
    -};
    -
    -#endif //TQKBDDRIVERFACTORY_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qkbddriverplugin-members.html b/doc/html/qkbddriverplugin-members.html deleted file mode 100644 index 80ef48a01..000000000 --- a/doc/html/qkbddriverplugin-members.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -TQKbdDriverPlugin Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQKbdDriverPlugin

    - -

    This is the complete list of member functions for -TQKbdDriverPlugin, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qkbddriverplugin.html b/doc/html/qkbddriverplugin.html deleted file mode 100644 index 72cd1c10f..000000000 --- a/doc/html/qkbddriverplugin.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - -TQKbdDriverPlugin Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQKbdDriverPlugin Class Reference

    - -

    The TQKbdDriverPlugin class provides an abstract base for -TQt/Embedded keyboard driver plugins. -More... -

    #include <qkbddriverplugin_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Detailed Description

    - - -The TQKbdDriverPlugin class provides an abstract base for -TQt/Embedded keyboard driver plugins. -

    -

    The keyboard driver plugin is a simple plugin interface that makes -it easy to create custom keyboard drivers. -

    Writing a keyboard driver plugin is achieved by subclassing this -base class, reimplementing the pure virtual functions keys() and -create(), and exporting the class with the TQ_EXPORT_PLUGIN -macro. See the Plugins - documentation for details. -

    This class is only available in TQt/Embedded. -

    See also Plugins. - -


    Member Function Documentation

    -

    TQKbdDriverPlugin::TQKbdDriverPlugin () -

    -Constructs a keyboard driver plugin. This is invoked automatically -by the TQ_EXPORT_PLUGIN macro. - -

    TQKbdDriverPlugin::~TQKbdDriverPlugin () -

    -Destroys the keyboard driver plugin. -

    You never have to call this explicitly. TQt destroys a plugin -automatically when it is no longer used. - -

    TQWSKeyboardHandler * TQKbdDriverPlugin::create ( const TQString & driver, const TQString & device ) [pure virtual] -

    - -

    Creates a driver matching the type specified by driver and device. -

    See also keys(). - -

    TQStringList TQKbdDriverPlugin::keys () const [pure virtual] -

    - -

    Returns the list of keyboard drivers this plugin supports. -

    See also create(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qkbddriverplugin_qws-h.html b/doc/html/qkbddriverplugin_qws-h.html deleted file mode 100644 index 085582f71..000000000 --- a/doc/html/qkbddriverplugin_qws-h.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -qkbddriverplugin_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qkbddriverplugin_qws.h

    - -

    This is the verbatim text of the qkbddriverplugin_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qkbddriverplugin_qws.h   3.3.8   edited Jan 11 14:37 $
    -**
    -** Definition of TQKbdDriverPlugin
    -**
    -** Created : 20020218
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQKBDDRIVERPLUGIN_QWS_H
    -#define TQKBDDRIVERPLUGIN_QWS_H
    -
    -#ifndef QT_H
    -#include "ntqgplugin.h"
    -#include "tqstringlist.h"
    -#endif // QT_H
    -
    -#ifndef TQT_NO_COMPONENT
    -
    -class TQWSKeyboardHandler;
    -class TQKbdDriverPluginPrivate;
    -
    -class TQ_EXPORT TQKbdDriverPlugin : public TQGPlugin
    -{
    -    TQ_OBJECT
    -public:
    -    TQKbdDriverPlugin();
    -    ~TQKbdDriverPlugin();
    -
    -#ifndef TQT_NO_STRINGLIST
    -    virtual TQStringList keys() const = 0;
    -#endif
    -    virtual TQWSKeyboardHandler* create( const TQString& driver, const TQString &device ) = 0;
    -
    -private:
    -    TQKbdDriverPluginPrivate *d;
    -};
    -
    -#endif // TQT_NO_COMPONENT
    -
    -#endif // TQKBDDRIVERPLUGIN_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qkeyboard_qws-h.html b/doc/html/qkeyboard_qws-h.html deleted file mode 100644 index 03815e1af..000000000 --- a/doc/html/qkeyboard_qws-h.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - -qkeyboard_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qkeyboard_qws.h

    - -

    This is the verbatim text of the qkeyboard_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qkeyboard_qws.h   3.3.8   edited Jan 11 14:38 $
    -**
    -** Definition of TQt/Embedded keyboards
    -**
    -** Created : 991025
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQKEYBOARD_QWS_H
    -#define TQKEYBOARD_QWS_H
    -
    -#ifndef QT_H
    -#include "tqobject.h"
    -#endif // QT_H
    -
    -#ifndef TQT_NO_QWS_KEYBOARD
    -class TQWSKeyboardHandler : public TQObject {
    -    TQ_OBJECT
    -public:
    -    TQWSKeyboardHandler();
    -    virtual ~TQWSKeyboardHandler();
    -
    -protected:
    -    virtual void processKeyEvent(int unicode, int keycode, int modifiers,
    -			    bool isPress, bool autoRepeat);
    -};
    -#endif
    -
    -#endif
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qlabel-members.html b/doc/html/qlabel-members.html index 13a810e04..c1eac339f 100644 --- a/doc/html/qlabel-members.html +++ b/doc/html/qlabel-members.html @@ -223,7 +223,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qlcdnumber-members.html b/doc/html/qlcdnumber-members.html index d5e8b025b..66dbd4fed 100644 --- a/doc/html/qlcdnumber-members.html +++ b/doc/html/qlcdnumber-members.html @@ -220,7 +220,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qlineedit-members.html b/doc/html/qlineedit-members.html index d96bd3b23..d580b68cd 100644 --- a/doc/html/qlineedit-members.html +++ b/doc/html/qlineedit-members.html @@ -249,7 +249,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qlistbox-members.html b/doc/html/qlistbox-members.html index 5652b7657..8227b58f4 100644 --- a/doc/html/qlistbox-members.html +++ b/doc/html/qlistbox-members.html @@ -300,7 +300,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qlistview-members.html b/doc/html/qlistview-members.html index 6f8034456..5b6732072 100644 --- a/doc/html/qlistview-members.html +++ b/doc/html/qlistview-members.html @@ -296,7 +296,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qmainwindow-members.html b/doc/html/qmainwindow-members.html index aa62286cc..f67fc12c0 100644 --- a/doc/html/qmainwindow-members.html +++ b/doc/html/qmainwindow-members.html @@ -226,7 +226,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qmake-manual-2.html b/doc/html/qmake-manual-2.html index 4ee0895bd..1050d007e 100644 --- a/doc/html/qmake-manual-2.html +++ b/doc/html/qmake-manual-2.html @@ -39,8 +39,6 @@ body { background: #ffffff; color: black; }
    • QMAKESPEC
      This must be set to the platform and compiler combination that you are using on your system.
      For example, if you are using Windows and Microsoft Visual Studio, you would set this environment variable to win32-msvc. If you are using Solaris and g++, you would set this environment variable to solaris-g++.

      The following is a list of environment variables available to choose from when setting QMAKESPEC:

      aix-64 hpux-cc irix-032 netbsd-g++ solaris-cc unixware7-g++ aix-g++ hpux-g++ linux-cxx openbsd-g++ solaris-g++ win32-borland aix-xlc hpux-n64 linux-g++ openunix-cc sunos-g++ win32-g++ bsdi-g++ hpux-o64 linux-icc qnx-g++ tru64-cxx win32-msvc dgux-g++ hurd-g++ linux-kcc reliant-64 tru64-g++ win32-watc freebsd-g++ irix-64 macx-pbuilder reliant-cds ultrix-g++ win32-visa hpux-acc irix-g++ macx-g++ sco-g++ unixware-g hpux-acc irix-n32 solaris-64 unixware7-cc

      -

      The environment variable should be set to qws/envvar where envvar is one of the following:

      -

      linux-arm-g++ linux-generic-g++ linux-mips-g++ linux-x86-g++ linux-freebsd-g++ linux-ipaq-g++ linux-solaris-g++ qnx-rtp-g++

    • TQTDIR
      This must be set to where TQt is (or will be) installed. For example, c:\qt and \local\qt

    Once the environment variables are set go into the qmake directory, $TQTDIR/qmake, e.g. C:\qt\qmake. Now run make or nmake depending on your compiler.

    When the make has completed, qmake is ready for use.

    diff --git a/doc/html/qmenubar-members.html b/doc/html/qmenubar-members.html index c2df7a96d..c8aefb6a7 100644 --- a/doc/html/qmenubar-members.html +++ b/doc/html/qmenubar-members.html @@ -240,7 +240,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qmessagebox-members.html b/doc/html/qmessagebox-members.html index 34cc2649b..d97f5556b 100644 --- a/doc/html/qmessagebox-members.html +++ b/doc/html/qmessagebox-members.html @@ -217,7 +217,6 @@ body { background: #ffffff; color: black; }
  • query()
  • queryList()
  • question() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qmotifdialog-members.html b/doc/html/qmotifdialog-members.html index 7ce149d03..2f4ad5637 100644 --- a/doc/html/qmotifdialog-members.html +++ b/doc/html/qmotifdialog-members.html @@ -210,7 +210,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qmotifwidget-members.html b/doc/html/qmotifwidget-members.html index 811b1c45a..879dc4739 100644 --- a/doc/html/qmotifwidget-members.html +++ b/doc/html/qmotifwidget-members.html @@ -203,7 +203,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qmouse_qws-h.html b/doc/html/qmouse_qws-h.html deleted file mode 100644 index 33f9518ff..000000000 --- a/doc/html/qmouse_qws-h.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - -qmouse_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qmouse_qws.h

    - -

    This is the verbatim text of the qmouse_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qmouse_qws.h   3.3.8   edited Jan 11 14:37 $
    -**
    -** Definition of TQt/Embedded mouse driver
    -**
    -** Created : 20020220
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQMOUSE_QWS_H
    -#define TQMOUSE_QWS_H
    -
    -#ifndef QT_H
    -#include "tqobject.h"
    -#include "ntqpointarray.h"
    -#endif // QT_H
    -
    -class TQWSPointerCalibrationData
    -{
    -public:
    -    enum Location { TopLeft = 0, BottomLeft = 1, BottomRight = 2, TopRight = 3,
    -		    Center = 4, LastLocation = Center };
    -    TQPoint devPoints[5];
    -    TQPoint screenPoints[5];
    -};
    -
    -class TQWSMouseHandler
    -{
    -public:
    -    TQWSMouseHandler( const TQString &driver = TQString::null, const TQString &device = TQString::null );
    -    virtual ~TQWSMouseHandler();
    -
    -    virtual void clearCalibration() {}
    -    virtual void calibrate( TQWSPointerCalibrationData * ) {}
    -    virtual void getCalibration( TQWSPointerCalibrationData * ) {}
    -
    -    void limitToScreen( TQPoint &pt );
    -    void mouseChanged(const TQPoint& pos, int bstate);
    -    const TQPoint &pos() const { return mousePos; }
    -
    -protected:
    -    TQPoint &mousePos;
    -};
    -
    -
    -class TQWSCalibratedMouseHandler : public TQWSMouseHandler
    -{
    -public:
    -    TQWSCalibratedMouseHandler( const TQString &driver = TQString::null, const TQString &device = TQString::null );
    -
    -    virtual void clearCalibration();
    -    virtual void calibrate( TQWSPointerCalibrationData * );
    -    virtual void getCalibration( TQWSPointerCalibrationData * );
    -
    -    bool sendFiltered( const TQPoint &, int button );
    -    TQPoint transform( const TQPoint & );
    -
    -protected:
    -    void readCalibration();
    -    void writeCalibration();
    -    void setFilterSize( int );
    -
    -private:
    -    int a, b, c;
    -    int d, e, f;
    -    int s;
    -    TQPointArray samples;
    -    unsigned int currSample;
    -    unsigned int numSamples;
    -};
    -
    -#endif // TQMOUSE_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qmousedriverfactory-members.html b/doc/html/qmousedriverfactory-members.html deleted file mode 100644 index 30a91a673..000000000 --- a/doc/html/qmousedriverfactory-members.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - -TQMouseDriverFactory Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQMouseDriverFactory

    - -

    This is the complete list of member functions for -TQMouseDriverFactory, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qmousedriverfactory.html b/doc/html/qmousedriverfactory.html deleted file mode 100644 index 4fa0a9a16..000000000 --- a/doc/html/qmousedriverfactory.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - -TQMouseDriverFactory Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQMouseDriverFactory Class Reference

    - -

    The TQMouseDriverFactory class creates TQWSMouseHandler -objects for TQt/Embedded. -More... -

    #include <qmousedriverfactory_qws.h> -

    List of all member functions. -

    Static Public Members

    -
      -
    • TQStringList keys ()
    • -
    • TQWSMouseHandler * create ( const TQString & key, const TQString & device )
    • -
    -

    Detailed Description

    - - -The TQMouseDriverFactory class creates TQWSMouseHandler -objects for TQt/Embedded. -

    The graphics driver factory creates a TQWSMouseHandler object for a -given key with TQMouseDriverFactory::create(key). -

    The drivers are either built-in or dynamically loaded from a -driver plugin (see TQMouseDriverPlugin). -

    This class is only available in TQt/Embedded. -

    TQMouseDriverFactory::keys() returns a list of valid keys. - -


    Member Function Documentation

    -

    TQWSMouseHandler * TQMouseDriverFactory::create ( const TQString & key, const TQString & device ) [static] -

    -Creates a TQWSMouseHandler object that matches key and uses -device device. This is either a built-in driver, or a driver -from a driver plugin. -

    See also keys(). - -

    TQStringList TQMouseDriverFactory::keys () [static] -

    -Returns the list of keys this factory can create drivers for. -

    See also create(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qmousedriverfactory_qws-h.html b/doc/html/qmousedriverfactory_qws-h.html deleted file mode 100644 index b823d01c1..000000000 --- a/doc/html/qmousedriverfactory_qws-h.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - -qmousedriverfactory_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qmousedriverfactory_qws.h

    - -

    This is the verbatim text of the qmousedriverfactory_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qmousedriverfactory_qws.h   3.3.8   edited Jan 11 14:46 $
    -**
    -** ...
    -**
    -** Copyright (C) 2005-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQMOUSEDRIVERFACTORY_QWS_H
    -#define TQMOUSEDRIVERFACTORY_QWS_H
    -
    -#ifndef QT_H
    -#include "tqstringlist.h"
    -#endif // QT_H
    -
    -class TQString;
    -class TQWSMouseHandler;
    -
    -class TQ_EXPORT TQMouseDriverFactory
    -{
    -public:
    -#ifndef TQT_NO_STRINGLIST
    -    static TQStringList keys();
    -#endif
    -    static TQWSMouseHandler *create( const TQString&, const TQString & );
    -};
    -
    -#endif //TQMOUSEDRIVERFACTORY_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qmousedriverplugin-members.html b/doc/html/qmousedriverplugin-members.html deleted file mode 100644 index b36ecb306..000000000 --- a/doc/html/qmousedriverplugin-members.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -TQMouseDriverPlugin Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQMouseDriverPlugin

    - -

    This is the complete list of member functions for -TQMouseDriverPlugin, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qmousedriverplugin.html b/doc/html/qmousedriverplugin.html deleted file mode 100644 index e1a2f4a2d..000000000 --- a/doc/html/qmousedriverplugin.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - -TQMouseDriverPlugin Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQMouseDriverPlugin Class Reference

    - -

    The TQMouseDriverPlugin class provides an abstract base for -TQt/Embedded mouse driver plugins. -More... -

    #include <qmousedriverplugin_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Detailed Description

    - - -The TQMouseDriverPlugin class provides an abstract base for -TQt/Embedded mouse driver plugins. -

    -

    The mouse driver plugin is a simple plugin interface that makes it -easy to create custom mouse drivers. -

    Writing a mouse driver plugin is achieved by subclassing this base -class, reimplementing the pure virtual functions keys() and -create(), and exporting the class with the TQ_EXPORT_PLUGIN -macro. See the Plugins - documentation for details. -

    This class is only available in TQt/Embedded. -

    See also Plugins. - -


    Member Function Documentation

    -

    TQMouseDriverPlugin::TQMouseDriverPlugin () -

    -Constructs a mouse driver plugin. This is invoked automatically by -the TQ_EXPORT_PLUGIN macro. - -

    TQMouseDriverPlugin::~TQMouseDriverPlugin () -

    -Destroys the mouse driver plugin. -

    You never have to call this explicitly. TQt destroys a plugin -automatically when it is no longer used. - -

    TQWSMouseHandler * TQMouseDriverPlugin::create ( const TQString & driver, const TQString & device ) [pure virtual] -

    - -

    Creates a driver matching the type specified by driver and -which uses device device. -

    See also keys(). - -

    TQStringList TQMouseDriverPlugin::keys () const [pure virtual] -

    - -

    Returns the list of mouse drivers this plugin supports. -

    See also create(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qmousedriverplugin_qws-h.html b/doc/html/qmousedriverplugin_qws-h.html deleted file mode 100644 index 3580feb1d..000000000 --- a/doc/html/qmousedriverplugin_qws-h.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -qmousedriverplugin_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qmousedriverplugin_qws.h

    - -

    This is the verbatim text of the qmousedriverplugin_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qmousedriverplugin_qws.h   3.3.8   edited Jan 11 14:37 $
    -**
    -** Definition of TQMouseDriverPlugin
    -**
    -** Created : 20020220
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQMOUSEDRIVERPLUGIN_QWS_H
    -#define TQMOUSEDRIVERPLUGIN_QWS_H
    -
    -#ifndef QT_H
    -#include "ntqgplugin.h"
    -#include "tqstringlist.h"
    -#endif // QT_H
    -
    -#ifndef TQT_NO_COMPONENT
    -
    -class TQWSMouseHandler;
    -class TQMouseDriverPluginPrivate;
    -
    -class TQ_EXPORT TQMouseDriverPlugin : public TQGPlugin
    -{
    -    TQ_OBJECT
    -public:
    -    TQMouseDriverPlugin();
    -    ~TQMouseDriverPlugin();
    -
    -#ifndef TQT_NO_STRINGLIST
    -    virtual TQStringList keys() const = 0;
    -#endif
    -    virtual TQWSMouseHandler* create( const TQString& driver, const TQString &device ) = 0;
    -
    -private:
    -    TQMouseDriverPluginPrivate *d;
    -};
    -
    -#endif // TQT_NO_COMPONENT
    -
    -#endif // TQMOUSEDRIVERPLUGIN_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qmovie-h.html b/doc/html/qmovie-h.html index 925ff591d..aaf7bc94e 100644 --- a/doc/html/qmovie-h.html +++ b/doc/html/qmovie-h.html @@ -132,11 +132,6 @@ public: void connectUpdate(TQObject* receiver, const char *member); void disconnectUpdate(TQObject* receiver, const char *member=0); -#ifdef TQ_WS_QWS - // Temporary hack - void setDisplayWidget(TQWidget * w); -#endif - enum Status { SourceEmpty=-2, UnrecognizedFormat=-1, Paused=1, diff --git a/doc/html/qmultilineedit-members.html b/doc/html/qmultilineedit-members.html index 631f32cb5..5a12fed03 100644 --- a/doc/html/qmultilineedit-members.html +++ b/doc/html/qmultilineedit-members.html @@ -336,7 +336,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qnamespace-h.html b/doc/html/qnamespace-h.html index 080aa57d0..2a03bf8a3 100644 --- a/doc/html/qnamespace-h.html +++ b/doc/html/qnamespace-h.html @@ -936,8 +936,6 @@ public: typedef void *HANDLE; #elif defined(TQ_WS_X11) typedef unsigned long HANDLE; -#elif defined(TQ_WS_QWS) - typedef void * HANDLE; #endif }; diff --git a/doc/html/qnpwidget-members.html b/doc/html/qnpwidget-members.html index 1b3e25b21..6be98c40f 100644 --- a/doc/html/qnpwidget-members.html +++ b/doc/html/qnpwidget-members.html @@ -205,7 +205,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qpaintdevice-h.html b/doc/html/qpaintdevice-h.html index 6688b3016..c079d3593 100644 --- a/doc/html/qpaintdevice-h.html +++ b/doc/html/qpaintdevice-h.html @@ -82,11 +82,6 @@ body { background: #ffffff; color: black; } #include "ntqrect.h" #endif // QT_H -#if defined(TQ_WS_QWS) -class TQWSDisplay; -class TQGfx; -#endif - class TQIODevice; class TQString; class TQTextItem; @@ -138,8 +133,6 @@ public: virtual TQt::HANDLE x11RenderHandle() const; #elif defined(TQ_WS_MAC) virtual TQt::HANDLE handle() const; -#elif defined(TQ_WS_QWS) - virtual TQt::HANDLE handle() const; #endif #if defined(TQ_WS_X11) @@ -182,13 +175,6 @@ public: static void x11SetAppDpiY( int, int ); #endif -#if defined(TQ_WS_QWS) - static TQWSDisplay *qwsDisplay(); - virtual unsigned char * scanLine(int) const; - virtual int bytesPerLine() const; - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; -#endif - enum PDevCmd { PdcNOP = 0, // <void> PdcDrawPoint = 1, // point @@ -264,8 +250,6 @@ protected: CGContextRef ctx; #endif void * hd; -#elif defined(TQ_WS_QWS) - TQt::HANDLE hd; #endif virtual bool cmd( int, TQPainter *, TQPDevCmdParam * ); diff --git a/doc/html/qpainter-h.html b/doc/html/qpainter-h.html index 5bc9742b8..56e6199fe 100644 --- a/doc/html/qpainter-h.html +++ b/doc/html/qpainter-h.html @@ -89,7 +89,6 @@ body { background: #ffffff; color: black; } #include "ntqwmatrix.h" #endif // QT_H -class TQGfx; class TQTextCodec; class TQTextParag; class TQPaintDevice; @@ -99,10 +98,6 @@ class TQMacSavedPortInfo; #endif class TQPainterPrivate; -#if defined(TQ_WS_QWS) -class TQScreen; -#endif - class TQ_EXPORT TQPainter : public TQt { public: @@ -118,13 +113,6 @@ public: bool end(); TQPaintDevice *device() const; -#ifdef TQ_WS_QWS - TQGfx * internalGfx(); -#ifdef QT_QWS_EXPERIMENTAL_SCREENPAINTER - bool begin(TQScreen *screen); -#endif -#endif - static void redirect( TQPaintDevice *pdev, TQPaintDevice *replacement ); static TQPaintDevice *redirect( TQPaintDevice *pdev ); @@ -446,10 +434,6 @@ protected: friend const TQRegion &qt_mac_update_painter(TQPainter *, bool); friend class TQFontEngineMac; friend class TQMacPainter; -#elif defined(TQ_WS_QWS) - friend class TQFontEngine; - TQGfx * gfx; - friend void qwsUpdateActivePainters(); #endif friend class TQFontMetrics; friend class TQFontInfo; @@ -747,13 +731,6 @@ inline TQRect TQPainter::boundingRect( int x, int y, int w, int h, int tf, return boundingRect( r, tf, str, len, i ); } -#if defined(TQ_WS_QWS) -inline TQGfx * TQPainter::internalGfx() -{ - return gfx; -} -#endif - #endif // TQPAINTER_H diff --git a/doc/html/qpixmap-h.html b/doc/html/qpixmap-h.html index bfaeb3a5b..408930e20 100644 --- a/doc/html/qpixmap-h.html +++ b/doc/html/qpixmap-h.html @@ -84,7 +84,6 @@ body { background: #ffffff; color: black; } #include "ntqnamespace.h" #endif // QT_H -class TQGfx; class TQPixmapPrivate; #if defined(TQ_WS_WIN) @@ -200,13 +199,7 @@ public: void freeCell( bool = FALSE ); #endif -#if defined(TQ_WS_QWS) - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; - virtual unsigned char * scanLine(int) const; - virtual int bytesPerLine() const; - TQRgb * clut() const; - int numCols() const; -#elif defined(TQ_WS_X11) +#if defined(TQ_WS_X11) static int x11SetDefaultScreen( int screen ); void x11SetScreen( int screen ); #endif @@ -254,13 +247,6 @@ protected: #elif defined(TQ_WS_MAC) ColorTable *clut; TQPixmap *alphapm; -#elif defined(TQ_WS_QWS) - int id; // ### should use TQPaintDevice::hd, since it is there - TQRgb * clut; - int numcols; - int rw; - int rh; - bool hasAlpha; #endif Optimization optim; #if defined(TQ_WS_WIN) diff --git a/doc/html/qpopupmenu-members.html b/doc/html/qpopupmenu-members.html index e785990af..bd2e686ab 100644 --- a/doc/html/qpopupmenu-members.html +++ b/doc/html/qpopupmenu-members.html @@ -248,7 +248,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qprinter-h.html b/doc/html/qprinter-h.html index 19b5df23c..fef22f398 100644 --- a/doc/html/qprinter-h.html +++ b/doc/html/qprinter-h.html @@ -207,7 +207,7 @@ protected: #endif private: -#if defined(TQ_WS_X11) || defined(TQ_WS_QWS) +#if defined(TQ_WS_X11) TQPaintDevice *pdrv; int pid; #endif diff --git a/doc/html/qprogressbar-members.html b/doc/html/qprogressbar-members.html index 611c41917..b283c39b2 100644 --- a/doc/html/qprogressbar-members.html +++ b/doc/html/qprogressbar-members.html @@ -218,7 +218,6 @@ body { background: #ffffff; color: black; }
  • progressString()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qprogressdialog-members.html b/doc/html/qprogressdialog-members.html index 45167d8ed..1d4d30702 100644 --- a/doc/html/qprogressdialog-members.html +++ b/doc/html/qprogressdialog-members.html @@ -217,7 +217,6 @@ body { background: #ffffff; color: black; }
  • progress()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qpushbutton-members.html b/doc/html/qpushbutton-members.html index 5534f28fb..fd003298d 100644 --- a/doc/html/qpushbutton-members.html +++ b/doc/html/qpushbutton-members.html @@ -222,7 +222,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qradiobutton-members.html b/doc/html/qradiobutton-members.html index 3d9a11374..b2ed8fcde 100644 --- a/doc/html/qradiobutton-members.html +++ b/doc/html/qradiobutton-members.html @@ -216,7 +216,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qregion-h.html b/doc/html/qregion-h.html index 930a1b569..fec11f256 100644 --- a/doc/html/qregion-h.html +++ b/doc/html/qregion-h.html @@ -138,9 +138,6 @@ public: Region handle() const { if(!data->rgn) updateX11Region(); return data->rgn; } #elif defined(TQ_WS_MAC) RgnHandle handle(bool require_rgn=FALSE) const; -#elif defined(TQ_WS_QWS) - // TQGfx_QWS needs this for region drawing - void * handle() const { return data->rgn; } #endif #ifndef TQT_NO_DATASTREAM @@ -171,8 +168,6 @@ private: uint is_rect:1; TQRect rect; RgnHandle rgn; -#elif defined(TQ_WS_QWS) - void * rgn; #endif bool is_null; } *data; diff --git a/doc/html/qscreen-members.html b/doc/html/qscreen-members.html deleted file mode 100644 index bb3ec684e..000000000 --- a/doc/html/qscreen-members.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - -TQScreen Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQScreen

    - -

    This is the complete list of member functions for -TQScreen, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qscreen.html b/doc/html/qscreen.html deleted file mode 100644 index e73303441..000000000 --- a/doc/html/qscreen.html +++ /dev/null @@ -1,440 +0,0 @@ - - - - - -TQScreen Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQScreen Class Reference

    - -

    The TQScreen class and its descendants manage the framebuffer and -palette. -More... -

    #include <qgfx_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Detailed Description

    - - - -The TQScreen class and its descendants manage the framebuffer and -palette. -

    TQScreens act as factories for the screen cursor and TQGfx's. TQLinuxFbScreen -manages a Linux framebuffer; accelerated drivers subclass TQLinuxFbScreen. -There can only be one screen in a TQt/Embedded application. -

    See also TQt/Embedded. - -


    Member Function Documentation

    -

    TQScreen::TQScreen ( int display_id ) -

    - -Create a screen; the display_id is the number of the TQt/Embedded server -to connect to. - -

    TQScreen::~TQScreen () [virtual] -

    -Destroys a TQScreen - -

    int TQScreen::alloc ( unsigned int r, unsigned int g, unsigned int b ) [virtual] -

    -Given an RGB value r g b, return an index which is the closest -match to it in the screen's palette. Used in paletted modes only. - -

    uchar * TQScreen::base () const -

    - -Returns a pointer to the start of the framebuffer. - -

    void TQScreen::blank ( bool on ) [virtual] -

    - -If on is true, blank the screen. Otherwise unblank it. - -

    uchar * TQScreen::cache ( int, int ) [virtual] -

    - -This function is used to store pixmaps in graphics memory for the -use of the accelerated drivers. See TQLinuxFbScreen (where the cacheing -is implemented) for more information. - -

    TQRgb * TQScreen::clut () -

    - -Returns the screen's color lookup table (color palette). This is only -valid in paletted modes (8bpp and lower). - -

    bool TQScreen::connect ( const TQString & displaySpec ) [pure virtual] -

    - -This function is called by every TQt/Embedded application on startup. -It maps in the framebuffer and in the accelerated drivers the graphics -card control registers. displaySpec has the following syntax: -

    -[gfx driver][:driver specific options][:display number] -

    -for example if you want to use the mach64 driver on fb1 as display 2: -

    -Mach64:/dev/fb1:2 -

    -displaySpec is passed in via the TQWS_DISPLAY environment variable -or the -display command line parameter. - -

    TQGfx * TQScreen::createGfx ( unsigned char * bytes, int w, int h, int d, int linestep ) [virtual] -

    - -Creates a gfx on an arbitrary buffer bytes, width w and height h in -pixels, depth d and linestep (length in bytes of each line in the -buffer). Accelerated drivers can check to see if bytes points into -graphics memory and create an accelerated Gfx. - -

    int TQScreen::depth () const -

    - -Gives the depth in bits per pixel of the framebuffer. This is the number -of bits each pixel takes up rather than the number of significant bits, -so 24bpp and 32bpp express the same range of colors (8 bits of -red, green and blue) - -

    int TQScreen::deviceHeight () const -

    - -Gives the full height of the framebuffer device, as opposed to the -height which TQt/Embedded will actually use. These can differ if the -display is centered within the framebuffer. - -

    int TQScreen::deviceWidth () const -

    - -Gives the full width of the framebuffer device, as opposed to the -width which TQt/Embedded will actually use. These can differ if the -display is centered within the framebuffer. - -

    void TQScreen::disconnect () [pure virtual] -

    - -This function is called by every TQt/Embedded application just -before exitting; it's normally used to unmap the framebuffer. - -

    int TQScreen::height () const -

    - -Gives the height in pixels of the framebuffer. - -

    int TQScreen::initCursor ( void * end_of_location, bool init = FALSE ) [virtual] -

    -This is used to initialize the software cursor - end_of_location -points to the address after the area where the cursor image can be stored. -init is true for the first application this method is called from -(the TQt/Embedded server), false otherwise. - -

    bool TQScreen::initDevice () [pure virtual] -

    - -This function is called by the TQt/Embedded server when initializing -the framebuffer. Accelerated drivers use it to set up the graphics card. - -

    bool TQScreen::isInterlaced () const [virtual] -

    - -

    Returns TRUE if the display is interlaced (for instance a -television screen); otherwise returns FALSE. If TRUE, drawing is -altered to look better on such displays. - -

    bool TQScreen::isTransformed () const [virtual] -

    - -

    Returns TRUE if the screen is transformed (for instance, rotated -90 degrees); otherwise returns FALSE. TQScreen's version always -returns FALSE. - -

    int * TQScreen::lastOp () -

    - -

    Returns the screens last operation. - -

    int TQScreen::linestep () const -

    - -Returns the length in bytes of each scanline of the framebuffer. - -

    TQSize TQScreen::mapFromDevice ( const TQSize & s ) const [virtual] -

    - -

    Map a framebuffer coordinate to the coordinate space used by the -application. Used by the rotated driver; the TQScreen -implementation simply returns s. - -

    TQPoint TQScreen::mapFromDevice ( const TQPoint &, const TQSize & ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Map a framebuffer coordinate to the coordinate space used by the -application. Used by the rotated driver; the TQScreen -implementation simply returns the point. - -

    TQRect TQScreen::mapFromDevice ( const TQRect & r, const TQSize & ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Map a framebuffer coordinate to the coordinate space used by the -application. Used by the rotated driver; the TQScreen -implementation simply returns r. - -

    TQImage TQScreen::mapFromDevice ( const TQImage & i ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Transforms an image so that it matches the application coordinate -space (e.g. rotating it 90 degrees counter-clockwise). The TQScreen -implementation simply returns i. - -

    TQRegion TQScreen::mapFromDevice ( const TQRegion & r, const TQSize & ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Transforms a region so that it matches the application coordinate -space (e.g. rotating it 90 degrees counter-clockwise). The TQScreen -implementation simply returns r. - -

    TQSize TQScreen::mapToDevice ( const TQSize & s ) const [virtual] -

    - -

    Map a user coordinate to the one to actually draw. Used by the -rotated driver; the TQScreen implementation simply returns s. - -

    TQPoint TQScreen::mapToDevice ( const TQPoint &, const TQSize & ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Map a user coordinate to the one to actually draw. Used by the -rotated driver; the TQScreen implementation simply returns the -point passed in. - -

    TQRect TQScreen::mapToDevice ( const TQRect & r, const TQSize & ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Map a user coordinate to the one to actually draw. Used by the -rotated driver; the TQScreen implementation simply returns r. - -

    TQImage TQScreen::mapToDevice ( const TQImage & i ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Transforms an image so that it fits the device coordinate space -(e.g. rotating it 90 degrees clockwise). The TQScreen -implementation simply returns i. - -

    TQRegion TQScreen::mapToDevice ( const TQRegion & r, const TQSize & ) const [virtual] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Transforms a region so that it fits the device coordinate space -(e.g. rotating it 90 degrees clockwise). The TQScreen -implementation simply returns r. - -

    int TQScreen::numCols () -

    - -Returns the number of entries in the color table returned by clut(). - -

    bool TQScreen::onCard ( unsigned char * p ) const [virtual] -

    - -Returns true if the buffer pointed to by p is within graphics card -memory, false if it's in main RAM. - -

    bool TQScreen::onCard ( unsigned char * p, ulong & offset ) const [virtual] -

    - -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    This checks whether the buffer specified by p is on the card -(as per the other version of onCard) and returns an offset in bytes -from the start of graphics card memory in offset if it is. - -

    int * TQScreen::opType () -

    - -

    Returns the screen's operation type. - -

    int TQScreen::pixelType () const -

    - -Returns an integer (taking the same values as TQGfx::PixelType) -that specifies the pixel storage format of the screen. - -

    int TQScreen::pixmapDepth () const [virtual] -

    - -Gives the preferred depth for pixmaps. By default this is the same -as the screen depth, but for the VGA16 driver it's 8bpp. - -

    int TQScreen::pixmapLinestepAlignment () [virtual] -

    - -Returns the value in bits to which individual scanlines of pixmaps held in -graphics card memory should be aligned. This is only useful for accelerated -drivers. By default the value returned is 64 but it can be overridden -by individual accelerated drivers. - -

    int TQScreen::pixmapOffsetAlignment () [virtual] -

    - -Returns the value in bits to which the start address of pixmaps held in -graphics card memory should be aligned. This is only useful for accelerated -drivers. By default the value returned is 64 but it can be overridden -by individual accelerated drivers. - -

    void TQScreen::restore () [virtual] -

    -Restores the state of the graphics card from a previous save() - -

    void TQScreen::save () [virtual] -

    -Saves the state of the graphics card - used so that, for instance, -the palette can be restored when switching between linux virtual -consoles. Hardware TQScreen descendants should save register state -here if necessary if switching between virtual consoles (for -example to/from X) is to be permitted. - -

    TQGfx * TQScreen::screenGfx () [virtual] -

    -Returns a TQGfx (normally a TQGfxRaster) initialized to point to the screen, -with an origin at 0,0 and a clip region covering the whole screen. - -

    int TQScreen::screenSize () const -

    - -Returns the size in bytes of the screen. This is always located at -the beginning of framebuffer memory (i.e. at base()). - -

    void TQScreen::set ( unsigned int, unsigned int, unsigned int, unsigned int ) [virtual] -

    -Sets an entry in the color palette. - -

    void TQScreen::setDirty ( const TQRect & ) [virtual] -

    - -

    Indicates which section of the screen has been altered. Used by -the VNC and VFB displays; the TQScreen version does nothing. - -

    void TQScreen::setMode ( int, int, int ) [pure virtual] -

    - -This function can be used to set the framebuffer width, height and -depth. It's currently unused. - -

    void TQScreen::shutdownDevice () [virtual] -

    -Called by the TQt/Embedded server on shutdown; never called by -a TQt/Embedded client. This is intended to support graphics card specific -shutdown; the unaccelerated implementation simply hides the mouse cursor. - -

    bool TQScreen::supportsDepth ( int d ) const [virtual] -

    - -Returns true if the screen supports a particular color depth d. -Possible values are 1,4,8,16 and 32. - -

    int TQScreen::totalSize () const -

    - -Returns the size in bytes of available graphics card memory, including the -screen. Offscreen memory is only used by the accelerated drivers. - -

    int TQScreen::transformOrientation () const [virtual] -

    - -

    Used by the rotated server. The TQScreeen implementation returns 0. - -

    void TQScreen::uncache ( uchar * ) [virtual] -

    - -This function is called on pixmap destruction to remove them from -graphics card memory. - -

    int TQScreen::width () const -

    - -Gives the width in pixels of the framebuffer. - - -

    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qscrollbar-members.html b/doc/html/qscrollbar-members.html index dd9eb2bfb..d054b7b09 100644 --- a/doc/html/qscrollbar-members.html +++ b/doc/html/qscrollbar-members.html @@ -218,7 +218,6 @@ body { background: #ffffff; color: black; }
  • prevValue()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • rangeChange()
  • recreate() diff --git a/doc/html/qscrollview-members.html b/doc/html/qscrollview-members.html index d994862fc..716fdeb13 100644 --- a/doc/html/qscrollview-members.html +++ b/doc/html/qscrollview-members.html @@ -251,7 +251,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qsizegrip-members.html b/doc/html/qsizegrip-members.html index d7d6f98fe..9642cf3a1 100644 --- a/doc/html/qsizegrip-members.html +++ b/doc/html/qsizegrip-members.html @@ -202,7 +202,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qslider-members.html b/doc/html/qslider-members.html index e63bb3fad..359318b6a 100644 --- a/doc/html/qslider-members.html +++ b/doc/html/qslider-members.html @@ -214,7 +214,6 @@ body { background: #ffffff; color: black; }
  • prevValue()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • rangeChange()
  • recreate() diff --git a/doc/html/qspinbox-members.html b/doc/html/qspinbox-members.html index 8212a8dee..d893c9266 100644 --- a/doc/html/qspinbox-members.html +++ b/doc/html/qspinbox-members.html @@ -221,7 +221,6 @@ body { background: #ffffff; color: black; }
  • prevValue()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • rangeChange()
  • recreate() diff --git a/doc/html/qsplashscreen-members.html b/doc/html/qsplashscreen-members.html index 8a28cbee8..39f26888a 100644 --- a/doc/html/qsplashscreen-members.html +++ b/doc/html/qsplashscreen-members.html @@ -208,7 +208,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qsplitter-members.html b/doc/html/qsplitter-members.html index e7957b2d4..90ba7cd72 100644 --- a/doc/html/qsplitter-members.html +++ b/doc/html/qsplitter-members.html @@ -225,7 +225,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qstatusbar-members.html b/doc/html/qstatusbar-members.html index 814ff4fd0..8f69d949b 100644 --- a/doc/html/qstatusbar-members.html +++ b/doc/html/qstatusbar-members.html @@ -208,7 +208,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index 09f47100a..d6eb8c6ee 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -186,10 +186,6 @@ postEvent processEvents quit - qwsDecoration - qwsEventFilter - qwsSetCustomColors - qwsSetDecoration removeLibraryPath removePostedEvent removePostedEvents @@ -1159,17 +1155,6 @@
    -
    - QCopChannel - channel - isRegistered - receive - received - send - ~QCopChannel -
    -
    -
    QCString append @@ -1790,26 +1775,6 @@
    -
    - QDirectPainter - depth - frameBuffer - height - lineStep - numRects - offset - rect - region - setAreaChanged - size - transformOrientation - width - xOffset - yOffset - ~QDirectPainter -
    -
    -
    QDns RecordType @@ -2543,7 +2508,6 @@ pixelSize pointSize pointSizeFloat - qwsRenderToDisk rawMode rawName removeSubstitution @@ -2624,15 +2588,6 @@
    -
    - QFontManager - cleanup - get - initialize - ~QFontManager -
    -
    -
    QFontMetrics ascent @@ -2751,21 +2706,6 @@
    -
    - QGfxDriverFactory - create - keys -
    -
    -
    -
    - QGfxDriverPlugin - create - keys - ~QGfxDriverPlugin -
    -
    -
    QGL FormatOption @@ -3769,21 +3709,6 @@
    -
    - QKbdDriverFactory - create - keys -
    -
    -
    -
    - QKbdDriverPlugin - create - keys - ~QKbdDriverPlugin -
    -
    -
    QKeyEvent accept @@ -4813,21 +4738,6 @@
    -
    - QMouseDriverFactory - create - keys -
    -
    -
    -
    - QMouseDriverPlugin - create - keys - ~QMouseDriverPlugin -
    -
    -
    QMouseEvent accept @@ -6059,52 +5969,6 @@
    -
    - QScreen - alloc - base - blank - cache - clut - connect - createGfx - depth - deviceHeight - deviceWidth - disconnect - height - initCursor - initDevice - isInterlaced - isTransformed - lastOp - linestep - mapFromDevice - mapToDevice - numCols - onCard - opType - pixelType - pixmapDepth - pixmapLinestepAlignment - pixmapOffsetAlignment - restore - save - screenGfx - screenSize - set - setDirty - setMode - shutdownDevice - supportsDepth - totalSize - transformOrientation - uncache - width - ~QScreen -
    -
    -
    QScrollBar doAutoRepeat @@ -8937,7 +8801,6 @@ polish pos pos - qwsEvent raise rect rect @@ -9210,108 +9073,6 @@
    -
    - QWSDecoration - Region - close - maximize - menu - minimize - paint - paintButton - region - ~QWSDecoration -
    -
    -
    -
    - QWSInputMethod - filter - reset - sendIMEvent - setFont - setMicroFocus - ~QWSInputMethod -
    -
    -
    -
    - QWSKeyboardHandler - processKeyEvent - ~QWSKeyboardHandler -
    -
    -
    -
    - QWSMouseHandler - calibrate - clearCalibration - limitToScreen - mouseChanged - pos - ~QWSMouseHandler -
    -
    -
    -
    - QWSServer - GUIMode - ServerFlags - WindowEvent - clientWindows - closeKeyboard - closeMouse - enablePainting - isCursorVisible - keyMap - keyboardHandler - manager - mouseHandler - newChannel - openKeyboard - openMouse - refresh - removedChannel - screenSaverActivate - screenSaverActive - sendIMEvent - sendKeyEvent - setCursorVisible - setDefaultKeyboard - setDefaultMouse - setDesktopBackground - setKeyboardFilter - setKeyboardHandler - setMaxWindowRect - setScreenSaverInterval - setScreenSaverIntervals - setWindowRegion - windowAt - windowEvent - ~QWSServer -
    -
    -
    -
    - QWSWindow - allocation - caption - client - hide - isFullyObscured - isPartiallyObscured - isVisible - lower - name - raise - requested - setActiveWindow - show - winId - ~QWSWindow -
    -
    -
    TQXmlAttributes append @@ -9554,9 +9315,6 @@
    abstractwidgets
    -
    - Adding an accelerated graphics driver to Qt/Embedded -
    Advanced use of tool tips
    @@ -9605,9 +9363,6 @@
    Canvas Module
    -
    - Character input in Qt/Embedded -
    Class Inheritance Hierarchy
    @@ -9668,9 +9423,6 @@
    Draw Demo
    -
    - Enabling the Linux Framebuffer -
    environment
    @@ -9689,9 +9441,6 @@
    Font Displayer
    -
    - Fonts in Qt/Embedded -
    Format of the QDataStream Operators
    @@ -9753,9 +9502,6 @@
    Installation
    -
    - Installing Qt/Embedded -
    Installing Qt/Mac
    @@ -9774,9 +9520,6 @@
    Introduction
    -
    - Issues to be aware of when porting Qt/Embedded -
    Key Features in TQt 3.0
    @@ -9816,9 +9559,6 @@
    Mainly Easy
    -
    - maketqpf -
    Member Function Index
    @@ -9904,9 +9644,6 @@
    Porting to TQt 3.x
    -
    - Porting your applications to Qt/Embedded -
    Preparing to Migrate the User Interface
    @@ -10051,24 +9788,6 @@
    Qt's Tools
    -
    - qws -
    -
    - Qt/Embedded as a VNC Server -
    -
    - Qt/Embedded environment variables -
    -
    - Qt/Embedded Performance Tuning -
    -
    - Qt/Embedded Pointer Handling -
    -
    - Qt/Embedded Virtual Framebuffer -
    Qt/Mac is Mac OS X Native
    @@ -10093,9 +9812,6 @@
    Rot13
    -
    - Running Qt/Embedded applications -
    Scrollview
    @@ -10203,9 +9919,6 @@
    The Coordinate System
    -
    - The Feature Definition File -
    The Project File
    @@ -10216,9 +9929,6 @@
    The TQt FAQ
    -
    - The Qt/Embedded-specific classes -
    Themes (Styles)
    diff --git a/doc/html/qtabbar-members.html b/doc/html/qtabbar-members.html index bf63f15c1..b6129c88e 100644 --- a/doc/html/qtabbar-members.html +++ b/doc/html/qtabbar-members.html @@ -213,7 +213,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qtabdialog-members.html b/doc/html/qtabdialog-members.html index 63321ae1b..0889800b9 100644 --- a/doc/html/qtabdialog-members.html +++ b/doc/html/qtabdialog-members.html @@ -224,7 +224,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qtable-members.html b/doc/html/qtable-members.html index 91dbe0128..428d97929 100644 --- a/doc/html/qtable-members.html +++ b/doc/html/qtable-members.html @@ -314,7 +314,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qtabwidget-members.html b/doc/html/qtabwidget-members.html index 37628b23d..5e6f82116 100644 --- a/doc/html/qtabwidget-members.html +++ b/doc/html/qtabwidget-members.html @@ -214,7 +214,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qtimeedit-members.html b/doc/html/qtimeedit-members.html index b6519f102..20cf3bbd5 100644 --- a/doc/html/qtimeedit-members.html +++ b/doc/html/qtimeedit-members.html @@ -206,7 +206,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qtoolbar-members.html b/doc/html/qtoolbar-members.html index aee7e41bc..8136ebbd8 100644 --- a/doc/html/qtoolbar-members.html +++ b/doc/html/qtoolbar-members.html @@ -237,7 +237,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qtoolbox-members.html b/doc/html/qtoolbox-members.html index 2968446ca..3b8acb3a8 100644 --- a/doc/html/qtoolbox-members.html +++ b/doc/html/qtoolbox-members.html @@ -227,7 +227,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qtoolbutton-members.html b/doc/html/qtoolbutton-members.html index 6b480603f..8ee64bc17 100644 --- a/doc/html/qtoolbutton-members.html +++ b/doc/html/qtoolbutton-members.html @@ -221,7 +221,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qvbox-members.html b/doc/html/qvbox-members.html index 5ad1284fb..4db3be526 100644 --- a/doc/html/qvbox-members.html +++ b/doc/html/qvbox-members.html @@ -213,7 +213,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qvbuttongroup-members.html b/doc/html/qvbuttongroup-members.html index 720d37f19..a4b6913e9 100644 --- a/doc/html/qvbuttongroup-members.html +++ b/doc/html/qvbuttongroup-members.html @@ -231,7 +231,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qvgroupbox-members.html b/doc/html/qvgroupbox-members.html index be24f965f..c0d54ecba 100644 --- a/doc/html/qvgroupbox-members.html +++ b/doc/html/qvgroupbox-members.html @@ -223,7 +223,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qwindowdefs-h.html b/doc/html/qwindowdefs-h.html index 42e0ef447..0041b791d 100644 --- a/doc/html/qwindowdefs-h.html +++ b/doc/html/qwindowdefs-h.html @@ -194,14 +194,6 @@ TQ_EXPORT const char *tqAppClass(); // get application class #endif // TQ_WS_X11 -#if defined(TQ_WS_QWS) - -typedef unsigned long WId; -struct TQWSEvent; -class TQGfx; - -#endif // TQ_WS_QWS - class TQApplication; #if defined(NEEDS_QMAIN) diff --git a/doc/html/qwindowsystem_qws-h.html b/doc/html/qwindowsystem_qws-h.html deleted file mode 100644 index 7dd47c9bb..000000000 --- a/doc/html/qwindowsystem_qws-h.html +++ /dev/null @@ -1,621 +0,0 @@ - - - - - -qwindowsystem_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qwindowsystem_qws.h

    - -

    This is the verbatim text of the qwindowsystem_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qwindowsystem_qws.h   3.3.8   edited Jan 11 14:38 $
    -**
    -** Definition of TQt/FB central server classes
    -**
    -** Created : 991025
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQWINDOWSYSTEM_QWS_H
    -#define TQWINDOWSYSTEM_QWS_H
    -
    -#ifndef QT_H
    -#include "qwssocket_qws.h"
    -#include "tqmap.h"
    -#include "ntqdatetime.h"
    -#include "tqptrlist.h"
    -#include "tqimage.h"
    -
    -#include "qwsproperty_qws.h"
    -#include "qwscommand_qws.h"
    -#include "qwsevent_qws.h"
    -#endif // QT_H
    -
    -#include "qkbd_qws.h"
    -
    -struct SWCursorData;
    -class TQWSCursor;
    -class TQWSClient;
    -class TQWSRegionManager;
    -class TQGfx;
    -class TQWSServerData;
    -
    -class TQWSInternalWindowInfo
    -{
    -
    -public:
    -
    -    int winid;
    -    unsigned int clientid;
    -    TQString name;   // Corresponds to TQObject name of top-level widget
    -
    -};
    -
    -struct TQWSWindowData;
    -
    -class TQWSScreenSaver
    -{
    -public:
    -    virtual ~TQWSScreenSaver();
    -    virtual void restore()=0;
    -    virtual bool save(int level)=0;
    -};
    -
    -class TQWSWindow
    -{
    -    friend class TQWSServer;
    -public:
    -    TQWSWindow(int i, TQWSClient* client);
    -    ~TQWSWindow();
    -
    -    int winId() const { return id; }
    -    const TQString &name() const { return rgnName; }
    -    const TQString &caption() const { return rgnCaption; }
    -    TQWSClient* client() const { return c; }
    -    TQRegion requested() const { return requested_region; }
    -    TQRegion allocation() const { return allocated_region; }
    -    bool isVisible() const { return !requested_region.isEmpty(); }
    -    bool isPartiallyObscured() const { return requested_region!=allocated_region; }
    -    bool isFullyObscured() const { return allocated_region.isEmpty(); }
    -
    -    void raise();
    -    void lower();
    -    void show();
    -    void hide();
    -    void setActiveWindow();
    -
    -private:
    -    bool hidden() const { return requested_region.isEmpty(); }
    -    bool forClient(const TQWSClient* cl) const { return cl==c; }
    -
    -    void setName( const TQString &n );
    -    void setCaption( const TQString &c );
    -
    -    void addAllocation( TQWSRegionManager *, const TQRegion & );
    -    void removeAllocation( TQWSRegionManager *, const TQRegion & );
    -
    -    int  allocationIndex() const { return alloc_region_idx; }
    -    void setAllocationIndex( int i ) { alloc_region_idx = i; modified = TRUE; }
    -    void updateAllocation();
    -
    -    void setNeedAck( bool n ) { needAck = n; }
    -
    -    void focus(bool get);
    -    int focusPriority() const { return last_focus_time; }
    -    void operation( TQWSWindowOperationEvent::Operation o );
    -    void shuttingDown() { last_focus_time=0; }
    -
    -private:
    -    int id;
    -    TQString rgnName;
    -    TQString rgnCaption;
    -    int alloc_region_idx;
    -    bool modified;
    -    bool needAck;
    -    bool onTop;
    -    TQWSClient* c;
    -    TQRegion requested_region;
    -    TQRegion allocated_region;
    -    TQRegion exposed;
    -    int last_focus_time;
    -    TQWSWindowData *d;
    -};
    -
    -#ifndef TQT_NO_SOUND
    -class TQWSSoundServer;
    -#ifdef QT_USE_OLD_QWS_SOUND
    -class TQWSSoundServerData;
    -
    -class TQWSSoundServer : public TQObject {
    -    TQ_OBJECT
    -public:
    -    TQWSSoundServer(TQObject* parent);
    -    ~TQWSSoundServer();
    -    void playFile(const TQString& filename);
    -private slots:
    -    void feedDevice(int fd);
    -private:
    -    TQWSSoundServerData* d;
    -};
    -#endif
    -#endif
    -
    -
    -
    -
    -
    -
    -
    -/*********************************************************************
    - *
    - * Class: TQWSServer
    - *
    - *********************************************************************/
    -
    -class TQWSMouseHandler;
    -struct TQWSCommandStruct;
    -
    -#ifndef TQT_NO_QWS_MULTIPROCESS
    -class TQWSServer : public TQWSServerSocket
    -#else
    -class TQWSServer : public TQObject
    -#endif
    -{
    -    friend class TQCopChannel;
    -    friend class TQWSMouseHandler;
    -    friend class TQWSWindow;
    -    friend class TQWSDisplay;
    -    friend class TQWSInputMethod;
    -    TQ_OBJECT
    -
    -public:
    -    TQWSServer( int flags = 0, TQObject *parent=0, const char *name=0 );
    -    ~TQWSServer();
    -    enum ServerFlags { DisableKeyboard = 0x01,
    -		       DisableMouse = 0x02 };
    -
    -
    -    enum GUIMode { NoGui = FALSE, NormalGUI = TRUE, Server };
    -
    -    static void sendKeyEvent(int unicode, int keycode, int modifiers, bool isPress,
    -			     bool autoRepeat);
    -    static void processKeyEvent(int unicode, int keycode, int modifiers, bool isPress,
    -				bool autoRepeat);
    -
    -#ifndef TQT_NO_QWS_IM
    -    enum IMState { IMStart, IMCompose, IMEnd };
    -
    -    void sendIMEvent( IMState state, const TQString& txt, int cpos, int selLen );
    -#endif
    -
    -#ifndef TQT_NO_QWS_KEYBOARD    
    -    typedef struct KeyMap {
    -	int  key_code;
    -	ushort unicode;
    -	ushort shift_unicode;
    -	ushort ctrl_unicode;
    -    };
    -
    -    typedef struct KeyOverride {
    -	ushort scan_code;
    -	KeyMap map;
    -    };
    -
    -    static const KeyMap *keyMap();
    -
    -    static void setOverrideKeys( const KeyOverride* );
    -
    -    class KeyboardFilter
    -    {
    -    public:
    -	virtual bool filter(int unicode, int keycode, int modifiers, 
    -			    bool isPress, bool autoRepeat)=0;
    -    };
    -
    -    static void setKeyboardFilter( KeyboardFilter *f );
    -#endif    
    -#ifndef TQT_NO_QWS_IM
    -    static void setCurrentInputMethod( TQWSInputMethod *im );
    -    static void resetInputMethod();
    -    static void setMicroFocus( int x, int y );
    -#endif
    -
    -    static void setDefaultMouse( const char * );
    -    static void setDefaultKeyboard( const char * );
    -    static void setMaxWindowRect(const TQRect&);
    -    static void sendMouseEvent(const TQPoint& pos, int state);
    -
    -    static void setDesktopBackground( const TQImage &img );
    -    static void setDesktopBackground( const TQColor & );
    -    static TQWSMouseHandler *mouseHandler();
    -    static void setMouseHandler(TQWSMouseHandler*);
    -#ifndef TQT_NO_QWS_KEYBOARD
    -    static TQWSKeyboardHandler* keyboardHandler();
    -    static void setKeyboardHandler(TQWSKeyboardHandler* kh);
    -#endif
    -    TQWSWindow *windowAt( const TQPoint& pos );
    -
    -    // For debugging only at this time
    -    const TQPtrList<TQWSWindow> &clientWindows() { return windows; }
    -
    -    void openMouse();
    -    void closeMouse();
    -#ifndef TQT_NO_QWS_KEYBOARD
    -    void openKeyboard();
    -    void closeKeyboard();
    -#endif
    -
    -    static void setScreenSaver(TQWSScreenSaver*);
    -    static void setScreenSaverIntervals(int* ms);
    -    static void setScreenSaverInterval(int);
    -    static bool screenSaverActive();
    -    static void screenSaverActivate(bool);
    -
    -    // the following are internal.
    -    void refresh();
    -    void refresh(TQRegion &);
    -
    -    void enablePainting(bool);
    -    static void processEventQueue();
    -    static TQPtrList<TQWSInternalWindowInfo> * windowList();
    -
    -    void sendPropertyNotifyEvent( int property, int state );
    -#ifndef TQT_NO_QWS_PROPERTIES
    -    TQWSPropertyManager *manager() {
    -	return &propertyManager;
    -    }
    -#endif
    -    
    -    static TQPoint mousePosition;
    -
    -    static void startup( int flags );
    -    static void closedown();
    -
    -    static void beginDisplayReconfigure();
    -    static void endDisplayReconfigure();
    -
    -#ifndef TQT_NO_QWS_CURSOR
    -    static void setCursorVisible( bool );
    -    static bool isCursorVisible();
    -#endif
    -
    -    enum WindowEvent { Create=0x0001, Destroy=0x0002, Hide=0x0004, Show=0x0008,
    -		       Raise=0x0010, Lower=0x0020, Geometry=0x0040, Active = 0x0080,
    -		       Name=0x0100 };
    -
    -signals:
    -    void windowEvent( TQWSWindow *w, TQWSServer::WindowEvent e );
    -
    -#ifndef TQT_NO_COP
    -    void newChannel( const TQString& channel);
    -    void removedChannel(const TQString& channel);
    -
    -#endif    
    -private:
    -#ifndef TQT_NO_COP
    -    static void sendTQCopEvent( TQWSClient *c, const TQCString &ch,
    -			       const TQCString &msg, const TQByteArray &data,
    -			       bool response = FALSE );
    -#endif
    -    void move_region( const TQWSRegionMoveCommand * );
    -    void set_altitude( const TQWSChangeAltitudeCommand * );
    -    void request_focus( const TQWSRequestFocusCommand * );
    -    void request_region( int, TQRegion );
    -    void destroy_region( const TQWSRegionDestroyCommand * );
    -    void name_region( const TQWSRegionNameCommand * );
    -    void set_identity( const TQWSIdentifyCommand * );
    -#ifndef TQT_NO_QWS_IM
    -    void set_micro_focus( const TQWSSetMicroFocusCommand * );
    -    void reset_im( const TQWSResetIMCommand * );
    -    static void sendKeyEventUnfiltered(int unicode, int keycode, 
    -				       int modifiers, bool isPress,
    -				       bool autoRepeat);
    -
    -#endif
    -    static void emergency_cleanup();
    -
    -    static TQColor *bgColor;
    -    static TQImage *bgImage;
    -
    -    void sendMaxWindowRectEvents();
    -#ifndef TQT_NO_QWS_MULTIPROCESS
    -    void newConnection( int socket );
    -#endif
    -    void invokeIdentify( const TQWSIdentifyCommand *cmd, TQWSClient *client );
    -    void invokeCreate( TQWSCreateCommand *cmd, TQWSClient *client );
    -    void invokeRegionName( const TQWSRegionNameCommand *cmd, TQWSClient *client );
    -    void invokeRegion( TQWSRegionCommand *cmd, TQWSClient *client );
    -    void invokeRegionMove( const TQWSRegionMoveCommand *cmd, TQWSClient *client );
    -    void invokeRegionDestroy( const TQWSRegionDestroyCommand *cmd, TQWSClient *client );
    -    void invokeSetAltitude( const TQWSChangeAltitudeCommand *cmd, TQWSClient *client );
    -#ifndef TQT_NO_QWS_PROPERTIES
    -    void invokeAddProperty( TQWSAddPropertyCommand *cmd );
    -    void invokeSetProperty( TQWSSetPropertyCommand *cmd );
    -    void invokeRemoveProperty( TQWSRemovePropertyCommand *cmd );
    -    void invokeGetProperty( TQWSGetPropertyCommand *cmd, TQWSClient *client );
    -#endif //TQT_NO_QWS_PROPERTIES
    -    void invokeSetSelectionOwner( TQWSSetSelectionOwnerCommand *cmd );
    -    void invokeConvertSelection( TQWSConvertSelectionCommand *cmd );
    -    void invokeSetFocus( const TQWSRequestFocusCommand *cmd, TQWSClient *client );
    -
    -    void initIO();
    -    void setFocus( TQWSWindow*, bool gain );
    -#ifndef TQT_NO_QWS_CURSOR
    -    void invokeDefineCursor( TQWSDefineCursorCommand *cmd, TQWSClient *client );
    -    void invokeSelectCursor( TQWSSelectCursorCommand *cmd, TQWSClient *client );
    -#endif
    -    void invokeGrabMouse( TQWSGrabMouseCommand *cmd, TQWSClient *client );
    -    void invokeGrabKeyboard( TQWSGrabKeyboardCommand *cmd, TQWSClient *client );
    -#ifndef TQT_NO_SOUND
    -    void invokePlaySound( TQWSPlaySoundCommand *cmd, TQWSClient *client );
    -#endif
    -#ifndef TQT_NO_COP
    -    void invokeRegisterChannel( TQWSQCopRegisterChannelCommand *cmd,
    -				TQWSClient *client );
    -    void invokeTQCopSend( TQWSQCopSendCommand *cmd, TQWSClient *client );
    -#endif
    -    void invokeRepaintRegion( TQWSRepaintRegionCommand *cmd, 
    -			      TQWSClient *client );
    -#ifndef TQT_NO_QWS_IM
    -        void invokeSetMicroFocus( const TQWSSetMicroFocusCommand *cmd,
    -                                TQWSClient *client );
    -        void invokeResetIM( const TQWSResetIMCommand *cmd,
    -                                TQWSClient *client );
    -#endif
    -
    -    TQWSMouseHandler* newMouseHandler(const TQString& spec);
    -    void openDisplay();
    -    void closeDisplay();
    -
    -    void showCursor();
    -    void hideCursor();
    -    void initializeCursor();
    -    void paintServerRegion();
    -    void paintBackground( const TQRegion & );
    -    void clearRegion( const TQRegion &r, const TQColor &c );
    -    void refreshBackground();
    -    void resetGfx();
    -
    -private slots:
    -#ifndef TQT_NO_QWS_MULTIPROCESS
    -    void clientClosed();
    -    void doClient();
    -    void deleteWindowsLater();
    -#endif
    -
    -    void screenSaverWake();
    -    void screenSaverSleep();
    -    void screenSaverTimeout();
    -
    -private:
    -    void disconnectClient( TQWSClient * );
    -    void screenSave(int level);
    -    void doClient( TQWSClient * );
    -    typedef TQMapIterator<int,TQWSClient*> ClientIterator;
    -    typedef TQMap<int,TQWSClient*> ClientMap;
    -    void releaseMouse(TQWSWindow* w);
    -    void releaseKeyboard(TQWSWindow* w);
    -    void updateClientCursorPos();
    -
    -    uchar* sharedram;
    -    int ramlen;
    -
    -    TQGfx *gfx;
    -
    -    ClientMap client;
    -#ifndef TQT_NO_QWS_PROPERTIES
    -    TQWSPropertyManager propertyManager;
    -#endif
    -    struct SelectionOwner {
    -	int windowid;
    -	struct Time {
    -	    void set( int h, int m, int s, int s2 ) {
    -		hour = h; minute = m; sec = s; ms = s2;
    -	    }
    -	    int hour, minute, sec, ms;
    -	} time;
    -    } selectionOwner;
    -    TQTime timer;
    -    TQWSServerData* d;
    -    int* screensaverinterval;
    -
    -    TQWSWindow *focusw;
    -    TQWSWindow *mouseGrabber;
    -    bool mouseGrabbing;
    -    int swidth, sheight, sdepth;
    -#ifndef TQT_NO_QWS_CURSOR
    -    bool haveviscurs;
    -    TQWSCursor *cursor;	    // cursor currently shown
    -    TQWSCursor *nextCursor;  // cursor to show once grabbing is off
    -#endif
    -    TQRegion screenRegion;   // the entire display region
    -    TQRegion serverRegion;
    -    TQRegion dirtyBackground;
    -    bool disablePainting;
    -    TQPtrList<TQWSMouseHandler> mousehandlers;
    -#ifndef TQT_NO_QWS_KEYBOARD
    -    TQPtrList<TQWSKeyboardHandler> keyboardhandlers;
    -#endif
    -
    -    TQPtrList<TQWSCommandStruct> commandQueue;
    -    TQWSRegionManager *rgnMan;
    -
    -    // Window management
    -    TQPtrList<TQWSWindow> windows; // first=topmost
    -    TQWSWindow* newWindow(int id, TQWSClient* client);
    -    TQWSWindow* findWindow(int windowid, TQWSClient* client);
    -    void moveWindowRegion(TQWSWindow*, int dx, int dy );
    -    TQRegion setWindowRegion(TQWSWindow*, TQRegion r );
    -    void raiseWindow( TQWSWindow *, int = 0);
    -    void lowerWindow( TQWSWindow *, int = -1);
    -    void exposeRegion( TQRegion , int index = 0 );
    -    void notifyModified( TQWSWindow *active = 0 );
    -    void syncRegions( TQWSWindow *active = 0 );
    -
    -    void setCursor(TQWSCursor *curs);
    -
    -    // multimedia
    -#ifndef TQT_NO_SOUND
    -    TQWSSoundServer *soundserver;
    -#endif
    -#ifndef TQT_NO_COP
    -    TQMap<TQString, TQPtrList<TQWSClient> > channels;
    -#endif
    -#ifndef TQT_NO_QWS_IM
    -    bool microF;
    -    int microX;
    -    int microY;
    -#endif
    -};
    -
    -extern TQWSServer *qwsServer; //there can be only one
    -
    -
    -#ifndef TQT_NO_QWS_IM
    -    class TQWSInputMethod
    -    {
    -    public:
    -	TQWSInputMethod();
    -	virtual ~TQWSInputMethod();
    -	virtual bool filter(int unicode, int keycode, int modifiers, 
    -			    bool isPress, bool autoRepeat)=0;
    -	virtual void reset();
    -	virtual void setMicroFocus( int x, int y );
    -	virtual void setFont( const TQFont& );
    -    protected:
    -	void sendIMEvent( TQWSServer::IMState, const TQString& txt, int cpos, int selLen = 0 );
    -	//void sendKeyEvent( int unicode, int keycode, int modifiers, 
    -	//		    bool isPress, bool autoRepeat);
    -    };
    -
    -inline void TQWSInputMethod::sendIMEvent( TQWSServer::IMState state, const TQString &txt, int cpos, int selLen )
    -{
    -    qwsServer->sendIMEvent( state, txt, cpos, selLen );
    -
    -}
    -
    -
    -#endif
    -
    -
    -
    -
    -/*********************************************************************
    - *
    - * Class: TQWSClient
    - *
    - *********************************************************************/
    -
    -struct TQWSMouseEvent;
    -
    -typedef TQMap<int, TQWSCursor*> TQWSCursorMap;
    -
    -class TQWSClient : public TQObject
    -{
    -    TQ_OBJECT
    -public:
    -    TQWSClient( TQObject* parent, int socket, int id );
    -    ~TQWSClient();
    -
    -    int socket() const;
    -
    -    void setIdentity(const TQString&);
    -    TQString identity() const { return id; }
    -
    -    void sendEvent( TQWSEvent* event );
    -    void sendConnectedEvent( const char *display_spec );
    -    void sendMaxWindowRectEvent();
    -    void sendRegionModifyEvent( int winid, TQRegion exposed, bool ack );
    -    void sendFocusEvent( int winid, bool get );
    -    void sendPropertyNotifyEvent( int property, int state );
    -    void sendPropertyReplyEvent( int property, int len, char *data );
    -    void sendSelectionClearEvent( int windowid );
    -    void sendSelectionRequestEvent( TQWSConvertSelectionCommand *cmd, int windowid );
    -    TQWSCommand* readMoreCommand();
    -
    -    int clientId() const { return cid; }
    -
    -    TQWSCursorMap cursors;	// cursors defined by this client
    -signals:
    -    void connectionClosed();
    -    void readyRead();
    -private slots:
    -    void closeHandler();
    -    void errorHandler( int );
    -private:
    -    int s; // XXX csocket->d->socket->socket() is this value
    -#ifndef TQT_NO_QWS_MULTIPROCESS
    -    TQWSSocket *csocket;
    -#endif
    -    TQWSCommand* command;
    -    uint isClosed : 1;
    -    TQString id;
    -    int cid;
    -};
    -
    -#endif // TQWINDOWSYSTEM_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwizard-members.html b/doc/html/qwizard-members.html index 50d05faee..06baf2047 100644 --- a/doc/html/qwizard-members.html +++ b/doc/html/qwizard-members.html @@ -226,7 +226,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qworkspace-members.html b/doc/html/qworkspace-members.html index 44c7fb73e..27ff5ca2a 100644 --- a/doc/html/qworkspace-members.html +++ b/doc/html/qworkspace-members.html @@ -208,7 +208,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/qws.html b/doc/html/qws.html deleted file mode 100644 index cfb580324..000000000 --- a/doc/html/qws.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - -TQt/Embedded - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQt/Embedded

    - - -

    These classes are relevant to TQt/Embedded users. - -

    -
    TQFontManagerImplements font management in TQt/Embedded -
    TQScreenAnd its descendants manage the framebuffer and palette -
    TQWSDecorationAllows the appearance of the TQt/Embedded Window Manager to be customized -
    TQWSInputMethodInternational input methods for TQt/Embedded -
    TQWSKeyboardHandlerImplements the keyboard driver for TQt/Embedded -
    TQWSMouseHandlerMouse driver for TQt/Embedded -
    TQWSServerServer-specific functionality in TQt/Embedded -
    TQWSServer::KeyboardFilterGlobal keyboard event filter -
    TQWSWindowServer-specific functionality in TQt/Embedded -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsdecoration-members.html b/doc/html/qwsdecoration-members.html deleted file mode 100644 index a1bf624e2..000000000 --- a/doc/html/qwsdecoration-members.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - -TQWSDecoration Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQWSDecoration

    - -

    This is the complete list of member functions for -TQWSDecoration, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsdecoration.html b/doc/html/qwsdecoration.html deleted file mode 100644 index f9e54bc7b..000000000 --- a/doc/html/qwsdecoration.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -TQWSDecoration Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQWSDecoration Class Reference

    - -

    The TQWSDecoration class allows the appearance of the TQt/Embedded Window -Manager to be customized. -More... -

    #include <qwsdecoration_qws.h> -

    List of all member functions. -

    Public Members

    -
      -
    • TQWSDecoration ()
    • -
    • virtual ~TQWSDecoration ()
    • -
    • enum Region { None = 0, All = 1, Title = 2, Top = 3, Bottom = 4, Left = 5, Right = 6, TopLeft = 7, TopRight = 8, BottomLeft = 9, BottomRight = 10, Close = 11, Minimize = 12, Maximize = 13, Normalize = 14, Menu = 15, LastRegion = Menu }
    • -
    • virtual TQRegion region ( const TQWidget * widget, const TQRect & rect, Region type = All ) = 0
    • -
    • virtual void close ( TQWidget * widget )
    • -
    • virtual void minimize ( TQWidget * widget )
    • -
    • virtual void maximize ( TQWidget * widget )
    • -
    • virtual TQPopupMenu * menu ( const TQWidget *, const TQPoint & )
    • -
    • virtual void paint ( TQPainter * painter, const TQWidget * widget ) = 0
    • -
    • virtual void paintButton ( TQPainter * painter, const TQWidget * widget, Region type, int state ) = 0
    • -
    -

    Detailed Description

    - - -The TQWSDecoration class allows the appearance of the TQt/Embedded Window -Manager to be customized. -

    -

    TQt/Embedded provides window management to top level windows. The -appearance of the borders and buttons (the decoration) around the -managed windows can be customized by creating your own class -derived from TQWSDecoration and overriding a few methods. -

    This class is non-portable. It is available only in TQt/Embedded. -

    See also TQApplication::qwsSetDecoration() and TQt/Embedded. - -


    Member Type Documentation

    -

    TQWSDecoration::Region

    - -

    This enum describes the regions in the window decorations. -

      -
    • TQWSDecoration::None - used internally. -
    • TQWSDecoration::All - the entire region used by the window decoration. -
    • TQWSDecoration::Title - Displays the window title and allows the window to be -moved by dragging. -
    • TQWSDecoration::Top - allows the top of the window to be resized. -
    • TQWSDecoration::Bottom - allows the bottom of the window to be resized. -
    • TQWSDecoration::Left - allows the left edge of the window to be resized. -
    • TQWSDecoration::Right - allows the right edge of the window to be resized. -
    • TQWSDecoration::TopLeft - allows the top-left of the window to be resized. -
    • TQWSDecoration::TopRight - allows the top-right of the window to be resized. -
    • TQWSDecoration::BottomLeft - allows the bottom-left of the window to be resized. -
    • TQWSDecoration::BottomRight - allows the bottom-right of the window to be resized. -
    • TQWSDecoration::Close - clicking in this region closes the window. -
    • TQWSDecoration::Minimize - clicking in this region minimizes the window. -
    • TQWSDecoration::Maximize - clicking in this region maximizes the window. -
    • TQWSDecoration::Normalize - returns a maximized window to its previous size. -
    • TQWSDecoration::Menu - clicking in this region opens the window operations -(system) menu. -
    -

    Member Function Documentation

    -

    TQWSDecoration::TQWSDecoration () -

    - -

    Constructs a decorator. - -

    TQWSDecoration::~TQWSDecoration () [virtual] -

    - -

    Destroys a decorator. - -

    void TQWSDecoration::close ( TQWidget * widget ) [virtual] -

    -Called when the user clicks in the Close region. -

    widget is the widget to be closed. -

    The default behaviour is to close the widget. - -

    void TQWSDecoration::maximize ( TQWidget * widget ) [virtual] -

    -Called when the user clicks in the Maximize region. -

    widget is the widget to be maximized. -

    The default behaviour is to resize the widget to be full-screen. -This method can be overridden e.g. to allow room for launch -panels. - -

    TQPopupMenu * TQWSDecoration::menu ( const TQWidget *, const TQPoint & ) [virtual] -

    -Called to create a TQPopupMenu containing the valid menu operations. -

    The default implementation adds all possible window operations. - -

    void TQWSDecoration::minimize ( TQWidget * widget ) [virtual] -

    -Called when the user clicks in the Minimize region. -

    widget is the widget to be minimized. -

    The default behaviour is to ignore this action. - -

    void TQWSDecoration::paint ( TQPainter * painter, const TQWidget * widget ) [pure virtual] -

    - -

    Override to paint the border and title decoration around widget -using painter. - -

    void TQWSDecoration::paintButton ( TQPainter * painter, const TQWidget * widget, Region type, int state ) [pure virtual] -

    - -

    Override to paint a button of type type using painter. -

    widget is the widget whose button is to be drawn. -state is the state of the button. It can be a combination of the -following OR-ed together: -

      -
    • TQWSButton::MouseOver -
    • TQWSButton::Clicked -
    • TQWSButton::On -
    - -

    TQRegion TQWSDecoration::region ( const TQWidget * widget, const TQRect & rect, Region type = All ) [pure virtual] -

    - -

    Returns the requested region type which will contain widget -with geometry rect. - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsdecoration_qws-h.html b/doc/html/qwsdecoration_qws-h.html deleted file mode 100644 index 702bfaafd..000000000 --- a/doc/html/qwsdecoration_qws-h.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - -qwsdecoration_qws.h Include File - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    qwsdecoration_qws.h

    - -

    This is the verbatim text of the qwsdecoration_qws.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


    -
    -/****************************************************************************
    -** $Id: qt/qwsdecoration_qws.h   3.3.8   edited Jan 11 14:38 $
    -**
    -** Definition of TQWSDecoration class.
    -**
    -** Created : 20000308
    -**
    -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
    -**
    -** This file is part of the kernel module of the TQt GUI Toolkit.
    -**
    -** This file may be used under the terms of the GNU General Public
    -** License versions 2.0 or 3.0 as published by the Free Software
    -** Foundation and appearing in the file LICENSE.GPL included in the
    -** packaging of this file. Alternatively you may (at your option) use any
    -** later version of the GNU General Public License if such license has
    -** been publicly approved by Trolltech ASA (or its successors, if any)
    -** and the KDE Free TQt Foundation.
    -**
    -** Please review the following information to ensure GNU General
    -** Public Licensing requirements will be met:
    -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
    -** If you are unsure which license is appropriate for your use, please
    -** review the following information:
    -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
    -** or contact the sales department at sales@trolltech.com.
    -**
    -** Licensees holding valid TQt Commercial licenses may use this file in
    -** accordance with the TQt Commercial License Agreement provided with
    -** the Software.
    -**
    -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
    -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
    -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
    -** herein.
    -**
    -**********************************************************************/
    -
    -#ifndef TQWSDECORATION_QWS_H
    -#define TQWSDECORATION_QWS_H
    -
    -#ifndef QT_H
    -#include "ntqregion.h"
    -#endif // QT_H
    -
    -class TQPopupMenu;
    -
    -/*
    - Implements decoration styles
    -*/
    -class TQWSDecoration
    -{
    -public:
    -    TQWSDecoration() {}
    -    virtual ~TQWSDecoration() {}
    -
    -    enum Region { None=0, All=1, Title=2, Top=3, Bottom=4, Left=5, Right=6,
    -		TopLeft=7, TopRight=8, BottomLeft=9, BottomRight=10,
    -		Close=11, Minimize=12, Maximize=13, Normalize=14,
    -		Menu=15, LastRegion=Menu };
    -
    -    virtual TQRegion region(const TQWidget *, const TQRect &rect, Region r=All) = 0;
    -    virtual void close( TQWidget * );
    -    virtual void minimize( TQWidget * );
    -    virtual void maximize( TQWidget * );
    -#ifndef TQT_NO_POPUPMENU
    -    virtual TQPopupMenu *menu(const TQWidget *, const TQPoint &);
    -#endif
    -    virtual void paint(TQPainter *, const TQWidget *) = 0;
    -    virtual void paintButton(TQPainter *, const TQWidget *, Region, int state) = 0;
    -};
    -
    -#endif // TQWSDECORATION_QWS_H
    -
    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsinputmethod-members.html b/doc/html/qwsinputmethod-members.html deleted file mode 100644 index b15db0b6b..000000000 --- a/doc/html/qwsinputmethod-members.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - -TQWSInputMethod Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQWSInputMethod

    - -

    This is the complete list of member functions for -TQWSInputMethod, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsinputmethod.html b/doc/html/qwsinputmethod.html deleted file mode 100644 index baf8dea39..000000000 --- a/doc/html/qwsinputmethod.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -TQWSInputMethod Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQWSInputMethod Class Reference

    - -

    The TQWSInputMethod class provides international input methods -for TQt/Embedded. -More... -

    #include <qwindowsystem_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Protected Members

    -
      -
    • void sendIMEvent ( TQWSServer::IMState state, const TQString & txt, int cpos, int selLen = 0 )
    • -
    -

    Detailed Description

    - - -The TQWSInputMethod class provides international input methods -for TQt/Embedded. -

    -

    Subclass this class to implement your own input method. -

    An input methods consists of a keyboard filter and optionally a -graphical interface. The keyboard filter intercepts key events -from physical or virtual keyboards by implementing the filter() -function. -

    Use sendIMEvent() to send composition events. Composition starts -with the input method sending an IMStart event, followed by a -number of IMCompose events and ending with an IMEnd event or -when the virtual reset() function is called. -

    The functions setMicroFocus() and setFont() can be reimplemented -to receive more information about the state of the focus widget. -

    Use TQWSServer::setCurrentInputMethod() to install an input method. -

    See also TQt/Embedded. - -


    Member Function Documentation

    -

    TQWSInputMethod::TQWSInputMethod () -

    -Constructs a new input method - -

    TQWSInputMethod::~TQWSInputMethod () [virtual] -

    -Destructs the input method uninstalling it if it is currently installed. - -

    bool TQWSInputMethod::filter ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) [pure virtual] -

    - -

    This function must be implemented in subclasses to handle key -input from physical or virtual keyboards. Returning TRUE will -block the event from further processing. -

    The Unicode value is given in unicode and the key code in keycode. Keyboard modifiers are OR-ed together in modifiers. -If isPress is TRUE this is a key press; otherwise it is a key -release. If autoRepeat is TRUE this is an auto-repeated key -press. -

    All normal key events should be blocked while in compose mode -(i.e., between IMStart and IMEnd). -

    -

    void TQWSInputMethod::reset () [virtual] -

    -Implemented in subclasses to reset the state of the input method. - -

    void TQWSInputMethod::sendIMEvent ( TQWSServer::IMState state, const TQString & txt, int cpos, int selLen = 0 ) [protected] -

    - -

    Causes a TQIMEvent to be sent to the focus widget. state may be -one of TQWSServer::IMStart, TQWSServer::IMCompose or TQWSServer::IMEnd. -

    txt is the text being composed (or the finished text if state -is IMEnd). cpos is the current cursor position. -

    If state is IMCompose, selLen is the number of characters in -the composition string (starting at cpos) that should be -marked as selected by the input widget receiving the event. - -

    void TQWSInputMethod::setFont ( const TQFont & ) [virtual] -

    -Implemented in subclasses to handle font changes in the focus -widget. -

    This functionality is provided for future expansion; it is not -used in this version of TQt/Embedded. - -

    void TQWSInputMethod::setMicroFocus ( int x, int y ) [virtual] -

    - -

    Implemented in subclasses to handle microFocusHint changes in the -focus widget. x and y are the global coordinates of the -text cursor. -

    - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwskeyboardhandler-members.html b/doc/html/qwskeyboardhandler-members.html deleted file mode 100644 index 27e7ba058..000000000 --- a/doc/html/qwskeyboardhandler-members.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - -TQWSKeyboardHandler Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQWSKeyboardHandler

    - -

    This is the complete list of member functions for -TQWSKeyboardHandler, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwskeyboardhandler.html b/doc/html/qwskeyboardhandler.html deleted file mode 100644 index 66d1f9739..000000000 --- a/doc/html/qwskeyboardhandler.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - -TQWSKeyboardHandler Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQWSKeyboardHandler Class Reference

    - -

    The TQWSKeyboardHandler class implements the keyboard driver -for TQt/Embedded. -More... -

    #include <qkeyboard_qws.h> -

    Inherits TQObject. -

    List of all member functions. -

    Public Members

    - -

    Protected Members

    -
      -
    • virtual void processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )
    • -
    -

    Detailed Description

    - - -The TQWSKeyboardHandler class implements the keyboard driver -for TQt/Embedded. -

    -

    The keyboard driver handles events from system devices and -generates key events. -

    A TQWSKeyboardHandler will usually open some system device in its -constructor, create a TQSocketNotifier on that opened device and -when it receives data, it will call processKeyEvent() to send the -event to TQt/Embedded for relaying to clients. -

    See also TQt/Embedded. - -


    Member Function Documentation

    -

    TQWSKeyboardHandler::TQWSKeyboardHandler () -

    -Constructs a keyboard handler. The handler may be passed to the -system for later destruction with TQWSServer::setKeyboardHandler(), -although even without doing this, the handler can function, -calling processKeyEvent() to emit events. - -

    TQWSKeyboardHandler::~TQWSKeyboardHandler () [virtual] -

    -Destroys a keyboard handler. Note that if you have called -TQWSServer::setKeyboardHandler(), you must not delete the handler. - -

    void TQWSKeyboardHandler::processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) [virtual protected] -

    -Subclasses call this function to send a key event. The server may -additionally filter the event before sending it on to -applications. -

    -
    Parameter Meaning -
    unicode -The Unicode value for the key, or 0xFFFF is none is appropriate. -
    keycode -The TQt keycode for the key (see TQt::Key for the list of codes). -
    modifiers -The set of modifier keys (see TQt::Modifier). -
    isPress -Whether this is a press or a release. -
    autoRepeat -Whether this event was generated by an auto-repeat -mechanism, or an actual key press. -
    - - -

    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsmousehandler-members.html b/doc/html/qwsmousehandler-members.html deleted file mode 100644 index e1bb383fe..000000000 --- a/doc/html/qwsmousehandler-members.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - -TQWSMouseHandler Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQWSMouseHandler

    - -

    This is the complete list of member functions for -TQWSMouseHandler, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsmousehandler.html b/doc/html/qwsmousehandler.html deleted file mode 100644 index 2aa4edba4..000000000 --- a/doc/html/qwsmousehandler.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - -TQWSMouseHandler Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQWSMouseHandler Class Reference

    - -

    The TQWSMouseHandler class is a mouse driver for TQt/Embedded. -More... -

    #include <qmouse_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Detailed Description

    - - -The TQWSMouseHandler class is a mouse driver for TQt/Embedded. -

    -

    The mouse driver handles events from system devices and generates -mouse events. -

    A TQWSMouseHandler will usually open some system device in its -constructor, create a TQSocketNotifier on that opened device and -when it receives data, it will call mouseChanged() to send the -event to TQt/Embedded for relaying to clients. -

    See also TQt/Embedded. - -


    Member Function Documentation

    -

    TQWSMouseHandler::TQWSMouseHandler ( const TQString & driver = TQString::null, const TQString & device = TQString::null ) -

    -Constructs a mouse handler. This becomes the primary mouse -handler. -

    Note that once created, mouse handlers are controlled by the -system and should not be deleted. -

    The driver and device arguments are not used by this base -class. - -

    TQWSMouseHandler::~TQWSMouseHandler () [virtual] -

    -Destroys the mouse handler. You should not call this directly. - -

    void TQWSMouseHandler::calibrate ( TQWSPointerCalibrationData * ) [virtual] -

    - -

    This method is reimplemented in the calibrated mouse handler to -set calibration information (from, for instance, the TQtopia -calibration screen). This version does nothing. - -

    void TQWSMouseHandler::clearCalibration () [virtual] -

    - -

    This method is reimplemented in the calibrated mouse handler to -clear calibration information. This version does nothing. - -

    void TQWSMouseHandler::limitToScreen ( TQPoint & pt ) -

    -Ensures that the given point, pt is within the screen's -boundaries, changing pt if necessary. - -

    void TQWSMouseHandler::mouseChanged ( const TQPoint & pos, int bstate ) -

    -When a mouse event occurs this function is called with the mouse's -position in pos, and the state of its buttons in bstate. - -

    const TQPoint & TQWSMouseHandler::pos () const -

    - -

    Returns the mouse position. - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsserver-members.html b/doc/html/qwsserver-members.html deleted file mode 100644 index d30312afe..000000000 --- a/doc/html/qwsserver-members.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - -TQWSServer Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQWSServer

    - -

    This is the complete list of member functions for -TQWSServer, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwsserver.html b/doc/html/qwsserver.html deleted file mode 100644 index 459ba6388..000000000 --- a/doc/html/qwsserver.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -TQWSServer Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQWSServer Class Reference

    - -

    The TQWSServer class provides server-specific functionality in TQt/Embedded. -More... -

    #include <qwindowsystem_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Signals

    - -

    Static Public Members

    - -

    Detailed Description

    - - -The TQWSServer class provides server-specific functionality in TQt/Embedded. -

    -

    When you run a TQt/Embedded application, it either runs as a server -or connects to an existing server. If it runs as a server, some -additional operations are provided by this class. -

    This class is instantiated by TQApplication for TQt/Embedded server -processes. You should never construct this class yourself. -

    A pointer to the TQWSServer instance can be obtained via the global -qwsServer variable. -

    The mouse and keyboard devices can be opened with openMouse() and -openKeyboard(). (Close them with closeMouse() and -closeKeyboard().) -

    The display is refreshed with refresh(), and painting can be -enabled or disabled with enablePainting(). -

    Obtain the list of client windows with clientWindows() and find -out which window is at a particular point with windowAt(). -

    Many static functions are provided, for example, -setKeyboardFilter(), setKeyboardHandler(), setDefaultKeyboard() -and setDefaultMouse(). -

    The size of the window rectangle can be set with -setMaxWindowRect(), and the desktop's background can be set with -setDesktopBackground(). -

    The screen saver is controlled with setScreenSaverInterval() and -screenSaverActivate(). -

    See also TQt/Embedded. - -


    Member Type Documentation

    -

    TQWSServer::GUIMode

    - -

    This determines what sort of TQWS server to create: -

      -
    • TQWSServer::NoGui - This is used for non-graphical TQt applications. -
    • TQWSServer::NormalGUI - A normal TQt/Embedded application (not the server). -
    • TQWSServer::Server - A TQt/Embedded server (e.g. if -qws has been specified -on the command line. -
    -

    TQWSServer::ServerFlags

    - -

    This enum is used to pass various options to the window system -server. -

      -
    • TQWSServer::DisableKeyboard - Ignore all keyboard input. -
    • TQWSServer::DisableMouse - Ignore all mouse input. -
    -

    TQWSServer::WindowEvent

    - -

    This specifies what sort of event has occurred to a top-level window: -

      -
    • TQWSServer::Create - A new window has been created (TQWidget constructor). -
    • TQWSServer::Destroy - The window has been closed and deleted (TQWidget destructor). -
    • TQWSServer::Hide - The window has been hidden with TQWidget::hide(). -
    • TQWSServer::Show - The window has been shown with TQWidget::show() or similar. -
    • TQWSServer::Raise - The window has been raised to the top of the desktop. -
    • TQWSServer::Lower - The window has been lowered. -
    • TQWSServer::Geometry - The window has changed size or position. -
    • TQWSServer::Active - The window has become the active window (has keyboard focus). -
    • TQWSServer::Name - The window has been named. -
    -

    Member Function Documentation

    -

    TQWSServer::TQWSServer ( int flags = 0, TQObject * parent = 0, const char * name = 0 ) -

    -Construct a TQWSServer object. -

    Warning: This class is instantiated by TQApplication for -TQt/Embedded server processes. You should never construct this -class yourself. -

    The flags are used for keyboard and mouse setting. The server's -parent is parent and it is called name. - -

    TQWSServer::~TQWSServer () -

    -Destruct TQWSServer - -

    const TQPtrList<TQWSWindow> & TQWSServer::clientWindows () -

    - -

    Returns the list of top-level windows. This list will change as -applications add and remove wigdets so it should not be stored for -future use. The windows are sorted in stacking order from -top-most to bottom-most. - -

    void TQWSServer::closeKeyboard () -

    -Closes keyboard device(s). - -

    void TQWSServer::closeMouse () -

    -Closes the pointer device(s). - -

    void TQWSServer::enablePainting ( bool e ) -

    -If e is TRUE, painting on the display is enabled; if e is -FALSE, painting is disabled. - -

    bool TQWSServer::isCursorVisible () [static] -

    -Returns TRUE if the cursor is visible; otherwise returns FALSE. -

    See also setCursorVisible(). - -

    const KeyMap * TQWSServer::keyMap () [static] -

    - -

    Returns the keyboard mapping table used to convert keyboard -scancodes to TQt keycodes and Unicode values. It's used by the -keyboard driver in qkeyboard_qws.cpp. - -

    TQWSKeyboardHandler * TQWSServer::keyboardHandler () [static] -

    -Returns the primary keyboard handler. - -

    TQWSPropertyManager * TQWSServer::manager () -

    - -

    Returns the TQWSPropertyManager, which is used for implementing -X11-style window properties. - -

    TQWSMouseHandler * TQWSServer::mouseHandler () [static] -

    -Returns the primary mouse handler. - -

    void TQWSServer::newChannel ( const TQString & channel ) [signal] -

    - -

    This signal is emitted when the TQCopChannel channel is created. - -

    void TQWSServer::openKeyboard () -

    -Opens the keyboard device(s). - -

    void TQWSServer::openMouse () -

    -Opens the mouse device(s). - -

    void TQWSServer::refresh () -

    -Refreshes the entire display. - -

    void TQWSServer::refresh ( TQRegion & r ) -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Refreshes the region r. - -

    void TQWSServer::removedChannel ( const TQString & channel ) [signal] -

    - -

    This signal is emitted immediately after the TQCopChannel channel is destroyed. Note that a channel is not destroyed until -all its listeners have unregistered. - -

    void TQWSServer::screenSaverActivate ( bool activate ) [static] -

    -If activate is TRUE the screensaver is activated immediately; -if activate is FALSE the screensaver is deactivated. - -

    bool TQWSServer::screenSaverActive () [static] -

    -Returns TRUE if the screensaver is active (i.e. the screen is -blanked); otherwise returns FALSE. - -

    void TQWSServer::sendIMEvent ( IMState state, const TQString & txt, int cpos, int selLen ) -

    -This function sends an input method event to the server. The -current state is passed in state and the current text in txt. The cursor's position in the text is given by cpos, and -the selection length (which could be 0) is given in selLen. - -

    void TQWSServer::sendKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) [static] -

    -Send a key event. You can use this to send key events generated by -"virtual keyboards". unicode is the Unicode value of the key to -send, keycode the TQt keycode (e.g. Key_Left), modifiers -indicates whether, Shift/Alt/Ctrl keys are pressed, isPress is -TRUE if this is a key down event and FALSE if it's a key up event, -and autoRepeat is TRUE if this is an autorepeat event (i.e. the -user has held the key down and this is the second or subsequent -key event being sent). - -

    void TQWSServer::setCursorVisible ( bool vis ) [static] -

    -If vis is TRUE, makes the cursor visible; if vis is FALSE, -makes the cursor invisible. -

    See also isCursorVisible(). - -

    void TQWSServer::setDefaultKeyboard ( const char * k ) [static] -

    -Set the keyboard driver to k, e.g. if $TQWS_KEYBOARD is not -defined. The default is platform-dependent. - -

    void TQWSServer::setDefaultMouse ( const char * m ) [static] -

    -Set the mouse driver m to use if $TQWS_MOUSE_PROTO is not -defined. The default is platform-dependent. - -

    void TQWSServer::setDesktopBackground ( const TQImage & img ) [static] -

    -Sets the image img to be used as the background in the absence -of obscuring windows. - -

    void TQWSServer::setDesktopBackground ( const TQColor & c ) [static] -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Sets the color c to be used as the background in the absence of -obscuring windows. - -

    void TQWSServer::setKeyboardFilter ( KeyboardFilter * f ) [static] -

    -Adds a filter f to be invoked for all key events from physical -keyboard drivers (events sent via processKeyEvent()). -

    The filter is not invoked for keys generated by virtual keyboard -drivers (events sent via sendKeyEvent()). -

    If f is 0, the most-recently added filter is removed and deleted. -The caller is responsible for matching each addition with a -corresponding removal. - -

    void TQWSServer::setKeyboardHandler ( TQWSKeyboardHandler * kh ) [static] -

    -Sets the primary keyboard handler to kh. - -

    void TQWSServer::setMaxWindowRect ( const TQRect & r ) [static] -

    -Sets the area of the screen which TQt/Embedded applications will -consider to be the maximum area to use for windows to r. -

    See also TQWidget::showMaximized(). - -

    void TQWSServer::setScreenSaverInterval ( int ms ) [static] -

    -Sets the timeout for the screensaver to ms milliseconds. A -setting of zero turns off the screensaver. - -

    void TQWSServer::setScreenSaverIntervals ( int * ms ) [static] -

    -Sets an array of timeouts for the screensaver to a list of ms -milliseconds. A setting of zero turns off the screensaver. The -array must be 0-terminated. - -

    TQWSWindow * TQWSServer::windowAt ( const TQPoint & pos ) -

    -Returns the window containing the point pos or 0 if there is no -window under the point. - -

    void TQWSServer::windowEvent ( TQWSWindow * w, TQWSServer::WindowEvent e ) [signal] -

    - -

    This signal is emitted whenever something happens to a top-level -window (e.g. it's created or destroyed). w is the window to -which the event of type e has occurred. - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwswindow-members.html b/doc/html/qwswindow-members.html deleted file mode 100644 index bafddc088..000000000 --- a/doc/html/qwswindow-members.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - -TQWSWindow Member List - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    Complete Member List for TQWSWindow

    - -

    This is the complete list of member functions for -TQWSWindow, including inherited members. - -

    - -


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qwswindow.html b/doc/html/qwswindow.html deleted file mode 100644 index bea4e07ec..000000000 --- a/doc/html/qwswindow.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - -TQWSWindow Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQWSWindow Class Reference

    - -

    The TQWSWindow class provides server-specific functionality in TQt/Embedded. -More... -

    #include <qwindowsystem_qws.h> -

    List of all member functions. -

    Public Members

    - -

    Detailed Description

    - - -The TQWSWindow class provides server-specific functionality in TQt/Embedded. -

    -

    When you run a TQt/Embedded application, it either runs as a server -or connects to an existing server. If it runs as a server, some -additional functionality is provided by the TQWSServer class. -

    This class maintains information about each window and allows -operations to be performed on the windows. -

    You can get the window's name(), caption() and winId(), along with -the client() that owns the window. -

    The region the window wants to draw on is returned by requested(); -the region that the window is allowed to draw on is returned by -allocation(). -

    The visibility of the window can be determined using isVisible(), -isPartiallyObscured() and isFullyObscured(). Visibility can be -changed using raise(), lower(), show(), hide() and -setActiveWindow(). -

    See also TQt/Embedded. - -


    Member Function Documentation

    -

    TQWSWindow::TQWSWindow ( int i, TQWSClient * client ) -

    - -

    Constructs a new top-level window, associated with the client client and giving it the id i. - -

    TQWSWindow::~TQWSWindow () -

    -Destructor. - -

    TQRegion TQWSWindow::allocation () const -

    - -

    Returns the region that the window is allowed to draw onto, -including any window decorations but excluding regions covered by -other windows. -

    See also requested(). - -

    const TQString & TQWSWindow::caption () const -

    - -

    Returns the window's caption. - -

    TQWSClient * TQWSWindow::client () const -

    - -

    Returns the TQWSClient that owns this window. - -

    void TQWSWindow::hide () -

    -Hides the window. - -

    bool TQWSWindow::isFullyObscured () const -

    - -

    Returns TRUE if the window is completely obsured by another window -or by the bounds of the screen; otherwise returns FALSE. - -

    bool TQWSWindow::isPartiallyObscured () const -

    - -

    Returns TRUE if the window is partially obsured by another window -or by the bounds of the screen; otherwise returns FALSE. - -

    bool TQWSWindow::isVisible () const -

    - -

    Returns TRUE if the window is visible; otherwise returns FALSE. - -

    void TQWSWindow::lower () -

    -Lowers the window below other windows. - -

    const TQString & TQWSWindow::name () const -

    - -

    Returns the window's name. - -

    void TQWSWindow::raise () -

    -Raises the window above all other windows except "Stay on top" windows. - -

    TQRegion TQWSWindow::requested () const -

    - -

    Returns the region that the window has requested to draw onto, -including any window decorations. -

    See also allocation(). - -

    void TQWSWindow::setActiveWindow () -

    -Make this the active window (i.e. sets the keyboard focus to this -window). - -

    void TQWSWindow::show () -

    -Shows the window. - -

    int TQWSWindow::winId () const -

    - -

    Returns the window's Id. - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/qxtwidget-members.html b/doc/html/qxtwidget-members.html index 28471bd89..88e4d97a0 100644 --- a/doc/html/qxtwidget-members.html +++ b/doc/html/qxtwidget-members.html @@ -202,7 +202,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/splitter-example.html b/doc/html/splitter-example.html index 4c73d89ec..6fd9a8cc7 100644 --- a/doc/html/splitter-example.html +++ b/doc/html/splitter-example.html @@ -123,10 +123,6 @@ int main( int argc, char ** argv ) t5->setMinimumSize( 80, 50 ); t5->setBackgroundColor( TQt::yellow ); -#ifdef TQ_WS_QWS - // TQt/Embedded XOR drawing not yet implemented. - s1->setOpaqueResize( TRUE ); -#endif s2->setOpaqueResize( TRUE ); s3->setOpaqueResize( TRUE ); diff --git a/doc/html/titleindex b/doc/html/titleindex index 541d96c2f..309ddf8e5 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -20,7 +20,6 @@ About TQt | aboutntqt.html About Unicode | unicode.html About the Visual Studio Integration Plugin | integration.html Abstract Widget Classes | abstractwidgets.html -Adding an accelerated graphics driver to Qt/Embedded | emb-accel.html Advanced Widgets | advanced.html Advanced use of tool tips | tooltip-example.html All Overviews and HOWTOs | overviews-list.html @@ -37,7 +36,6 @@ Buttons and Groupboxes | buttongroups-example.html Canvas Control | tutorial2-06.html Canvas Example | canvas-example.html Canvas Module | canvas.html -Character input in Qt/Embedded | emb-charinput.html Class Inheritance Hierarchy | hierarchy.html Collection Classes | collection.html Company Information | troll.html @@ -58,14 +56,12 @@ Drag and Drop | dnd.html Drag and Drop | dragdrop-example.html Drag and Drop (Simple) | simple_dd-example.html Draw Demo | drawdemo-example.html -Enabling the Linux Framebuffer | emb-framebuffer-howto.html Environment Classes | environment.html Event Classes | events.html Events and Event Filters | eventsandfilters.html Examples | examples.html File Handling | tutorial2-07.html Font Displayer | qfd-example.html -Fonts in Qt/Embedded | emb-fonts.html Format of the QDataStream Operators | datastreamformat.html GNU General Public License | gpl.html Getting Started | motif-walkthrough-1.html @@ -86,14 +82,12 @@ Image Processing Classes | images.html Implicitly and Explicitly Shared Classes | shared.html Input/Output and Networking | io.html Installation | installation.html -Installing Qt/Embedded | emb-install.html Installing Qt/Mac | install-mac.html Installing Qt/Windows | install-win.html Installing Qt/X11 | install-x11.html Internationalization | i18n-example.html Internationalization with TQt | i18n.html Introduction | tutorial2-01.html -Issues to be aware of when porting Qt/Embedded | embedporting.html Key Features in TQt 3.0 | keyfeatures30.html Keyboard Focus Overview | focus.html Layout Classes | layout.html @@ -134,7 +128,6 @@ Pictures of Most TQt Widgets | pictures.html Plugins | plugins.html Popup Widgets | popup-example.html Porting to TQt 3.x | porting.html -Porting your applications to Qt/Embedded | emb-porting.html Preparing to Migrate the User Interface | motif-walkthrough-2.html Presenting the GUI | tutorial2-05.html Progress Bar | progressbar-example.html @@ -259,8 +252,6 @@ QConstString Class | qconststring.html QConstString Member List | qconststring-members.html QContextMenuEvent Class | qcontextmenuevent.html QContextMenuEvent Member List | qcontextmenuevent-members.html -QCopChannel Class | qcopchannel.html -QCopChannel Member List | qcopchannel-members.html QCursor Class | ntqcursor.html QCursor Member List | qcursor-members.html QCustomEvent Class | qcustomevent.html @@ -306,8 +297,6 @@ QDictIterator Member List | qdictiterator-members.html QDir | qdir-example.html QDir Class | ntqdir.html QDir Member List | qdir-members.html -QDirectPainter Class | qdirectpainter.html -QDirectPainter Member List | qdirectpainter-members.html QDns Class | ntqdns.html QDns Member List | qdns-members.html QDockArea Class | ntqdockarea.html @@ -398,8 +387,6 @@ QFontDialog Class | ntqfontdialog.html QFontDialog Member List | qfontdialog-members.html QFontInfo Class | ntqfontinfo.html QFontInfo Member List | qfontinfo-members.html -QFontManager Class | qfontmanager.html -QFontManager Member List | qfontmanager-members.html QFontMetrics Class | ntqfontmetrics.html QFontMetrics Member List | qfontmetrics-members.html QFrame Class | ntqframe.html @@ -424,10 +411,6 @@ QGb2312Codec Class | qgb2312codec.html QGb2312Codec Member List | qgb2312codec-members.html QGbkCodec Class | ntqgbkcodec.html QGbkCodec Member List | qgbkcodec-members.html -QGfxDriverFactory Class | qgfxdriverfactory.html -QGfxDriverFactory Member List | qgfxdriverfactory-members.html -QGfxDriverPlugin Class | qgfxdriverplugin.html -QGfxDriverPlugin Member List | qgfxdriverplugin-members.html QGrid Class | ntqgrid.html QGrid Member List | qgrid-members.html QGridLayout Class | qgridlayout.html @@ -512,10 +495,6 @@ QIntValidator Class | qintvalidator.html QIntValidator Member List | qintvalidator-members.html QJisCodec Class | ntqjiscodec.html QJisCodec Member List | qjiscodec-members.html -QKbdDriverFactory Class | qkbddriverfactory.html -QKbdDriverFactory Member List | qkbddriverfactory-members.html -QKbdDriverPlugin Class | qkbddriverplugin.html -QKbdDriverPlugin Member List | qkbddriverplugin-members.html QKeyEvent Class | qkeyevent.html QKeyEvent Member List | qkeyevent-members.html QKeySequence Class | ntqkeysequence.html @@ -592,10 +571,6 @@ QMotifStyle Class | ntqmotifstyle.html QMotifStyle Member List | qmotifstyle-members.html QMotifWidget Class | qmotifwidget.html QMotifWidget Member List | qmotifwidget-members.html -QMouseDriverFactory Class | qmousedriverfactory.html -QMouseDriverFactory Member List | qmousedriverfactory-members.html -QMouseDriverPlugin Class | qmousedriverplugin.html -QMouseDriverPlugin Member List | qmousedriverplugin-members.html QMouseEvent Class | qmouseevent.html QMouseEvent Member List | qmouseevent-members.html QMoveEvent Class | qmoveevent.html @@ -701,8 +676,6 @@ QResizeEvent Class | qresizeevent.html QResizeEvent Member List | qresizeevent-members.html QSGIStyle Class | ntqsgistyle.html QSGIStyle Member List | qsgistyle-members.html -QScreen Class | qscreen.html -QScreen Member List | qscreen-members.html QScrollBar Class | ntqscrollbar.html QScrollBar Member List | qscrollbar-members.html QScrollView Class | ntqscrollview.html @@ -911,18 +884,6 @@ QVariant Class | ntqvariant.html QVariant Member List | qvariant-members.html QWMatrix Class | ntqwmatrix.html QWMatrix Member List | qwmatrix-members.html -QWSDecoration Class | qwsdecoration.html -QWSDecoration Member List | qwsdecoration-members.html -QWSInputMethod Class | qwsinputmethod.html -QWSInputMethod Member List | qwsinputmethod-members.html -QWSKeyboardHandler Class | qwskeyboardhandler.html -QWSKeyboardHandler Member List | qwskeyboardhandler-members.html -QWSMouseHandler Class | qwsmousehandler.html -QWSMouseHandler Member List | qwsmousehandler-members.html -QWSServer Class | qwsserver.html -QWSServer Member List | qwsserver-members.html -QWSWindow Class | qwswindow.html -QWSWindow Member List | qwswindow-members.html QWaitCondition Class | ntqwaitcondition.html QWaitCondition Member List | qwaitcondition-members.html QWhatsThis Class | ntqwhatsthis.html @@ -1014,12 +975,6 @@ Qt XML Examples | xml-examples.html Qt's Classes | classes.html Qt's Main Classes | mainclasses.html Qt's Tools | tools-list.html -Qt/Embedded | qws.html -Qt/Embedded Performance Tuning | emb-performance.html -Qt/Embedded Pointer Handling | emb-pointer.html -Qt/Embedded Virtual Framebuffer | emb-tqvfb.html -Qt/Embedded as a VNC Server | emb-vnc.html -Qt/Embedded environment variables | emb-envvars.html Qt/Mac Issues | mac-differences.html Qt/Mac is Mac OS X Native | qtmac-as-native.html Range controls | rangecontrols-example.html @@ -1028,7 +983,6 @@ Replacing the Print Dialog | motif-walkthrough-9.html Replacing the View Widget | motif-walkthrough-8.html Richtext | richtext-example.html Rot13 | rot-example.html -Running Qt/Embedded applications | emb-running.html SQL Module | sql.html SQL Module - Drivers | sql-driver.html SQL Table | sqltable-example.html @@ -1064,10 +1018,8 @@ Text Related Classes | text.html Thanks! | credits.html The 'Big Picture' | tutorial2-02.html The Coordinate System | coordsys.html -The Feature Definition File | emb-features.html The Project File | tutorial2-10.html The TQt FAQ | faq.html -The Qt/Embedded-specific classes | emb-classes.html Themes (Styles) | themes-example.html Thread Support in TQt | threads.html Threading | thread.html @@ -1119,7 +1071,6 @@ chart/setdataform.cpp Example File | chart-setdataform-cpp.html chart/setdataform.h Example File | chart-setdataform-h.html iconview/simple_dd/main.cpp Example File | iconview-simple_dd-main-cpp.html iconview/simple_dd/main.h Example File | iconview-simple_dd-main-h.html -maketqpf | maketqpf.html ntqaccel.h Include File | qaccel-h.html ntqaccessible.h Include File | qaccessible-h.html ntqaction.h Include File | qaction-h.html @@ -1145,7 +1096,6 @@ ntqcolor.h Include File | qcolor-h.html ntqcolordialog.h Include File | qcolordialog-h.html ntqcombobox.h Include File | qcombobox-h.html ntqcommonstyle.h Include File | qcommonstyle-h.html -qcopchannel_qws.h Include File | qcopchannel_qws-h.html ntqcstring.h Include File | qcstring-h.html ntqcursor.h Include File | qcursor-h.html tqdatabrowser.h Include File | tqdatabrowser-h.html @@ -1160,7 +1110,6 @@ ntqdial.h Include File | qdial-h.html ntqdialog.h Include File | qdialog-h.html ntqdict.h Include File | qdict-h.html ntqdir.h Include File | qdir-h.html -qdirectpainter_qws.h Include File | qdirectpainter_qws-h.html ntqdns.h Include File | qdns-h.html ntqdockarea.h Include File | qdockarea-h.html ntqdockwindow.h Include File | qdockwindow-h.html @@ -1182,14 +1131,10 @@ ntqfont.h Include File | qfont-h.html ntqfontdatabase.h Include File | qfontdatabase-h.html ntqfontdialog.h Include File | qfontdialog-h.html ntqfontinfo.h Include File | qfontinfo-h.html -qfontmanager_qws.h Include File | qfontmanager_qws-h.html ntqfontmetrics.h Include File | qfontmetrics-h.html ntqframe.h Include File | qframe-h.html ntqftp.h Include File | qftp-h.html ntqgb18030codec.h Include File | qgb18030codec-h.html -qgfx_qws.h Include File | qgfx_qws-h.html -qgfxdriverfactory_qws.h Include File | qgfxdriverfactory_qws-h.html -qgfxdriverplugin_qws.h Include File | qgfxdriverplugin_qws-h.html ntqgl.h Include File | qgl-h.html ntqglcolormap.h Include File | qglcolormap-h.html ntqglobal.h Include File | qglobal-h.html @@ -1212,10 +1157,6 @@ ntqintcache.h Include File | qintcache-h.html ntqintdict.h Include File | qintdict-h.html ntqiodevice.h Include File | qiodevice-h.html ntqjiscodec.h Include File | qjiscodec-h.html -qkbddriverfactory_qws.h Include File | qkbddriverfactory_qws-h.html -qkbddriverplugin_qws.h Include File | qkbddriverplugin_qws-h.html -qkeyboard_qws.h Include File | qkeyboard_qws-h.html -ntqkeysequence.h Include File | qkeysequence-h.html ntqlabel.h Include File | qlabel-h.html ntqlayout.h Include File | qlayout-h.html ntqlcdnumber.h Include File | qlcdnumber-h.html @@ -1239,9 +1180,6 @@ qmotifdialog.h Include File | qmotifdialog-h.html ntqmotifplusstyle.h Include File | qmotifplusstyle-h.html ntqmotifstyle.h Include File | qmotifstyle-h.html qmotifwidget.h Include File | qmotifwidget-h.html -qmouse_qws.h Include File | qmouse_qws-h.html -qmousedriverfactory_qws.h Include File | qmousedriverfactory_qws-h.html -qmousedriverplugin_qws.h Include File | qmousedriverplugin_qws-h.html ntqmovie.h Include File | qmovie-h.html ntqmultilineedit.h Include File | qmultilineedit-h.html ntqmutex.h Include File | qmutex-h.html @@ -1368,11 +1306,9 @@ tqwidgetplugin.h Include File | tqwidgetplugin-h.html tqwidgetstack.h Include File | tqwidgetstack-h.html ntqwindowdefs.h Include File | qwindowdefs-h.html ntqwindowsstyle.h Include File | qwindowsstyle-h.html -qwindowsystem_qws.h Include File | qwindowsystem_qws-h.html ntqwizard.h Include File | qwizard-h.html ntqwmatrix.h Include File | qwmatrix-h.html ntqworkspace.h Include File | qworkspace-h.html -qwsdecoration_qws.h Include File | qwsdecoration_qws-h.html tqxml.h Include File | tqxml-h.html qxtwidget.h Include File | qxtwidget-h.html sql/overview/basicbrowsing/main.cpp Example File | sql-overview-basicbrowsing-main-cpp.html diff --git a/doc/html/tools-list.html b/doc/html/tools-list.html index 12e02c453..68e453105 100644 --- a/doc/html/tools-list.html +++ b/doc/html/tools-list.html @@ -46,10 +46,6 @@ help you need
  • qmake - create Makefiles from simple platform-independent project files
  • qembed - convert data, e.g. images, into C++ code -
  • tqvfb - run and test embedded -applications on the desktop -
  • maketqpf - create pre-rendered fonts -for embedded devices
  • moc - the Meta Object Compiler
  • uic - the User Interface Compiler
  • qtconfig - a Unix-based TQt configuration tool with online help diff --git a/doc/html/tqcanvasview-members.html b/doc/html/tqcanvasview-members.html index 695baeb0b..614ecb835 100644 --- a/doc/html/tqcanvasview-members.html +++ b/doc/html/tqcanvasview-members.html @@ -253,7 +253,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/tqdatabrowser-members.html b/doc/html/tqdatabrowser-members.html index 170f9f88d..c06cd34ca 100644 --- a/doc/html/tqdatabrowser-members.html +++ b/doc/html/tqdatabrowser-members.html @@ -238,7 +238,6 @@ body { background: #ffffff; color: black; }
  • primeUpdate()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • readFields()
  • recreate() diff --git a/doc/html/tqdatatable-members.html b/doc/html/tqdatatable-members.html index 031342408..92a16e4fe 100644 --- a/doc/html/tqdatatable-members.html +++ b/doc/html/tqdatatable-members.html @@ -345,7 +345,6 @@ body { background: #ffffff; color: black; }
  • primeUpdate()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/tqdataview-members.html b/doc/html/tqdataview-members.html index a41ef03e4..dd8828d72 100644 --- a/doc/html/tqdataview-members.html +++ b/doc/html/tqdataview-members.html @@ -204,7 +204,6 @@ body { background: #ffffff; color: black; }
  • pos()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • readFields()
  • record() diff --git a/doc/html/tqiconview-members.html b/doc/html/tqiconview-members.html index bb73e0903..a1cc0b8a1 100644 --- a/doc/html/tqiconview-members.html +++ b/doc/html/tqiconview-members.html @@ -295,7 +295,6 @@ body { background: #ffffff; color: black; }
  • pressed()
  • property()
  • queryList() -
  • qwsEvent()
  • raise()
  • recreate()
  • rect() diff --git a/doc/html/tqimage-h.html b/doc/html/tqimage-h.html index e6baff545..31b80b187 100644 --- a/doc/html/tqimage-h.html +++ b/doc/html/tqimage-h.html @@ -119,11 +119,6 @@ public: TQImage( uchar* data, int w, int h, int depth, TQRgb* colortable, int numColors, Endian bitOrder ); -#ifdef TQ_WS_QWS - TQImage( uchar* data, int w, int h, int depth, int pbl, - TQRgb* colortable, int numColors, - Endian bitOrder ); -#endif TQImage( const TQImage & ); ~TQImage(); @@ -165,10 +160,6 @@ public: int numBytes() const; int bytesPerLine() const; -#ifdef TQ_WS_QWS - TQGfx * graphicsContext(); -#endif - bool create( int width, int height, int depth, int numColors=0, Endian bitOrder=IgnoreEndian ); bool create( const TQSize&, int depth, int numColors=0, diff --git a/doc/html/tqimage.html b/doc/html/tqimage.html index d47f9d982..8d7cd5213 100644 --- a/doc/html/tqimage.html +++ b/doc/html/tqimage.html @@ -197,12 +197,8 @@ significant byte is reserved for the alpha buffer. *p = tqRgb(255,255,0); -

    On TQt/Embedded, scanlines are aligned to the pixel depth and may -be padded to any degree, while on all other platforms, the -scanlines are 32-bit aligned for all depths. The constructor +

    The scanlines are 32-bit aligned for all depths. The constructor taking a uchar* argument always expects 32-bit aligned data. -On TQt/Embedded, an additional constructor allows the number of -bytes-per-line to be specified.

    TQImage supports a variety of methods for getting information about the image, for example, colorTable(), allGray(), isGrayscale(), bitOrder(), bytesPerLine(), depth(), dotsPerMeterX() and @@ -325,19 +321,6 @@ will be allocated (and destructed later).

    Note that yourdata must be 32-bit aligned.

    The endianness is given in bitOrder. -

    TQImage::TQImage ( uchar * yourdata, int w, int h, int depth, int bpl, TQRgb * colortable, int numColors, Endian bitOrder ) -

    -Constructs an image that uses an existing memory buffer. The -buffer must remain valid for the life of the TQImage. The image -does not delete the buffer at destruction. The buffer is passed as -yourdata. The image's width is w and its height is h. The -color depth is depth. bpl specifies the number of bytes per -line. -

    If colortable is 0, a color table sufficient for numColors -will be allocated (and destructed later). -

    The endianness is specified by bitOrder. -

    Warning: This constructor is only available on TQt/Embedded. -

    TQImage::TQImage ( const TQImage & image )

    Constructs a shallow copy of image. @@ -351,7 +334,7 @@ Destroys the image and cleans up. Returns TRUE if all the colors in the image are shades of gray (i.e. their red, green and blue components are equal); otherwise returns FALSE. -

    This function is slow for large 16-bit (TQt/Embedded only) and 32-bit images. +

    This function is slow for large 32-bit images.

    See also isGrayscale().

    Endian TQImage::bitOrder () const @@ -408,7 +391,7 @@ be converted.

    Converts the depth (bpp) of the image to depth and returns the converted image. The original image is not changed. -

    The depth argument must be 1, 8, 16 (TQt/Embedded only) or 32. +

    The depth argument must be 1, 8 or 32.

    Returns *this if depth is equal to the image depth, or a null image if this image cannot be converted. @@ -510,7 +493,7 @@ pixels; otherwise, the mask is larger than the data pixels.

    Returns the depth of the image.

    The image depth is the number of bits used to encode a single pixel, also called bits per pixel (bpp) or bit planes of an image. -

    The supported depths are 1, 8, 16 (TQt/Embedded only) and 32. +

    The supported depths are 1, 8 and 32.

    See also convertDepth().

    void TQImage::detach () @@ -623,7 +606,7 @@ using color index i with a pixel using color index 255 minus i

    bool TQImage::isGrayscale () const

    -For 16-bit (TQt/Embedded only) and 32-bit images, this function is +For 32-bit images, this function is equivalent to allGray().

    For 8-bpp images, this function returns TRUE if color(i) is TQRgb(i,i,i) for all indices of the color table; otherwise returns @@ -696,8 +679,8 @@ changed.

    Returns the size of the color table for the image. -

    Notice that numColors() returns 0 for 16-bpp (TQt/Embedded only) -and 32-bpp images because these images do not use color tables, +

    Notice that numColors() returns 0 for +32-bpp images because these images do not use color tables, but instead encode pixel values as RGB triplets.

    See also setNumColors() and colorTable(). @@ -871,8 +854,6 @@ read/write the pixel value. You cannot use the uchar* pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use tqRed(), tqGreen() and tqBlue(), etc. (ntqcolor.h) to access the pixels. -

    Warning: If you are accessing 16-bpp image data, you must handle -endianness yourself. (TQt/Embedded only)

    See also bytesPerLine(), bits(), and jumpTable().

    Example: desktop/desktop.cpp. diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index f4135898a..3fc79af4b 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; }

    All the functions in this class are reentrant when TQt is built with thread support.

    #include <tqobject.h>

    Inherits TQt. --

    Inherited by TQAccel, TQAccessibleObject, TQAction, TQApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQCopChannel, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQWSKeyboardHandler, TQNetworkOperation, TQNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, TQSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and TQValidator. +-

    Inherited by TQAccel, TQAccessibleObject, TQAction, TQApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, TQNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, TQSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and TQValidator.

    List of all member functions.

    Public Members

      diff --git a/doc/html/tqtextbrowser-members.html b/doc/html/tqtextbrowser-members.html index c5439fa75..c34256e3a 100644 --- a/doc/html/tqtextbrowser-members.html +++ b/doc/html/tqtextbrowser-members.html @@ -317,7 +317,6 @@ body { background: #ffffff; color: black; }
    • pos()
    • property()
    • queryList() -
    • qwsEvent()
    • raise()
    • recreate()
    • rect() diff --git a/doc/html/tqtextedit-members.html b/doc/html/tqtextedit-members.html index a307f02d6..952eb043c 100644 --- a/doc/html/tqtextedit-members.html +++ b/doc/html/tqtextedit-members.html @@ -309,7 +309,6 @@ body { background: #ffffff; color: black; }
    • pos()
    • property()
    • queryList() -
    • qwsEvent()
    • raise()
    • recreate()
    • rect() diff --git a/doc/html/tqtextview-members.html b/doc/html/tqtextview-members.html index cd6afef62..db3dbdb6d 100644 --- a/doc/html/tqtextview-members.html +++ b/doc/html/tqtextview-members.html @@ -308,7 +308,6 @@ body { background: #ffffff; color: black; }
    • pos()
    • property()
    • queryList() -
    • qwsEvent()
    • raise()
    • recreate()
    • rect() diff --git a/doc/html/tqwidget-h.html b/doc/html/tqwidget-h.html index 192a4251d..9b963ea9b 100644 --- a/doc/html/tqwidget-h.html +++ b/doc/html/tqwidget-h.html @@ -93,7 +93,6 @@ struct TQWExtra; struct TQTLWExtra; class TQFocusData; class TQCursor; -class TQWSRegionManager; class TQStyle; class TQ_EXPORT TQWidget : public TQObject, public TQPaintDevice @@ -367,9 +366,6 @@ public: bool isUpdatesEnabled() const; -#if 0 //def TQ_WS_QWS - void repaintUnclipped( const TQRegion &, bool erase = TRUE ); -#endif public slots: virtual void setUpdatesEnabled( bool enable ); void update(); @@ -493,9 +489,6 @@ public: TQWidget *childAt( int x, int y, bool includeThis = FALSE ) const; TQWidget *childAt( const TQPoint &, bool includeThis = FALSE ) const; -#if defined(TQ_WS_QWS) - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; -#endif #if defined(TQ_WS_MAC) TQRegion clippedRegion(bool do_children=TRUE); uint clippedSerial(bool do_children=TRUE); @@ -552,11 +545,6 @@ protected: #if defined(TQ_WS_X11) virtual bool x11Event( XEvent * ); #endif -#if defined(TQ_WS_QWS) - virtual bool qwsEvent( TQWSEvent * ); - virtual unsigned char *scanLine( int ) const; - virtual int bytesPerLine() const; -#endif virtual void updateMask(); @@ -670,8 +658,6 @@ private: uint own_palette :1; uint sizehint_forced :1; uint is_closing :1; - uint in_show : 1; - uint in_show_maximized : 1; uint fstrut_dirty : 1; uint im_enabled : 1; TQRect crect; @@ -684,36 +670,6 @@ private: TQLayout *lay_out; #endif TQWExtra *extra; -#if defined(TQ_WS_QWS) - TQRegion req_region; // Requested region - mutable TQRegion paintable_region; // Paintable region - mutable bool paintable_region_dirty;// needs to be recalculated - mutable TQRegion alloc_region; // Allocated region - mutable bool alloc_region_dirty; // needs to be recalculated - mutable int overlapping_children; // Handle overlapping children - - int alloc_region_index; - int alloc_region_revision; - - void updateOverlappingChildren() const; - void setChildrenAllocatedDirty(); - void setChildrenAllocatedDirty( const TQRegion &r, const TQWidget *dirty=0 ); - bool isAllocatedRegionDirty() const; - void updateRequestedRegion( const TQPoint &gpos ); - TQRegion requestedRegion() const; - TQRegion allocatedRegion() const; - TQRegion paintableRegion() const; - - void updateGraphicsContext( TQGfx *qgfx_qws, bool clip_children ) const; -#ifndef TQT_NO_CURSOR - void updateCursor( const TQRegion &r ) const; -#endif - - // used to accumulate dirty region when children moved/resized. - TQRegion dirtyChildren; - bool isSettingGeometry; - friend class TQWSManager; -#endif static int instanceCounter; // Current number of widget instances static int maxInstances; // Maximum number of widget instances @@ -956,7 +912,6 @@ inline bool TQWidget::isInputMethodEnabled() const // - top-level widgets have extra extra data to reduce cost further class TQFocusData; -class TQWSManager; #if defined(TQ_WS_WIN) class TQOleDropTarget; #endif @@ -995,10 +950,6 @@ struct TQ_EXPORT TQTLWExtra { uint is_moved: 1; uint resizer : 4; #endif -#if defined(TQ_WS_QWS) && !defined ( TQT_NO_QWS_MANAGER ) - TQRegion decor_allocated_region; // decoration allocated region - TQWSManager *qwsManager; -#endif #if defined(TQ_WS_WIN) HICON winIcon; // internal Windows icon #endif @@ -1044,7 +995,7 @@ struct TQ_EXPORT TQWExtra { uint children_use_dnd : 1; uint compress_events : 1; #endif -#if defined(TQ_WS_QWS) || defined(TQ_WS_MAC) +#if defined(TQ_WS_MAC) TQRegion mask; // widget mask #endif char bg_mode; // background mode diff --git a/doc/html/tqwidget-members.html b/doc/html/tqwidget-members.html index 2e31230e7..452cefdb2 100644 --- a/doc/html/tqwidget-members.html +++ b/doc/html/tqwidget-members.html @@ -202,7 +202,6 @@ body { background: #ffffff; color: black; }
    • pos()
    • property()
    • queryList() -
    • qwsEvent()
    • raise()
    • recreate()
    • rect() diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index d841575ee..68d0ef4f3 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -355,7 +355,6 @@ body { background: #ffffff; color: black; }
    • virtual bool macEvent ( MSG * )
    • virtual bool winEvent ( MSG * )
    • virtual bool x11Event ( XEvent * )
    • -
    • virtual bool qwsEvent ( TQWSEvent * )
    • virtual void updateMask ()
    • virtual void styleChange ( TQStyle & oldStyle )
    • virtual void enabledChange ( bool oldEnabled )
    • @@ -1686,17 +1685,6 @@ function to ensure that your program does not end up in infinite recursion.

      TQPoint TQWidget::pos () const

      Returns the position of the widget within its parent widget. See the "pos" property for details. -

      bool TQWidget::qwsEvent ( TQWSEvent * ) [virtual protected] -

      -This special event handler can be reimplemented in a subclass to -receive native TQt/Embedded events. -

      In your reimplementation of this function, if you want to stop the -event being handled by TQt, return TRUE. If you return FALSE, this -native event is passed back to TQt, which translates the event into -a TQt event and sends it to the widget. -

      Warning: This function is not portable. -

      See also TQApplication::qwsEventFilter(). -

      void TQWidget::raise () [slot]

      Raises this widget to the top of the parent widget's stack. diff --git a/doc/html/tqwidgetstack-members.html b/doc/html/tqwidgetstack-members.html index a0d97b704..37b095f76 100644 --- a/doc/html/tqwidgetstack-members.html +++ b/doc/html/tqwidgetstack-members.html @@ -217,7 +217,6 @@ body { background: #ffffff; color: black; }
    • pos()
    • property()
    • queryList() -
    • qwsEvent()
    • raise()
    • raiseWidget()
    • recreate() diff --git a/doc/html/troll.html b/doc/html/troll.html index 95c363f89..56987549f 100644 --- a/doc/html/troll.html +++ b/doc/html/troll.html @@ -39,10 +39,6 @@ in Brisbane, Australia, and Redwood City, California. multi-platform C++ GUI toolkit. TQt enables you to build professional, efficient, portable and maintainable GUI applications quickly and easily. -

      TQt/Embedded, the embedded version of TQt, is designed to power -todays new generation of embedded computers and electronic consumer -devices. On top of that, TQtopia -provides a window system and application suite for handheld devices.

      Software that makes Sense

      Our motto expresses the vision behind our products. We design our diff --git a/doc/html/whatsthis b/doc/html/whatsthis index 8558157a2..63eced699 100644 --- a/doc/html/whatsthis +++ b/doc/html/whatsthis @@ -3,9 +3,6 @@ Abstract base class for accessing SQL databases. | TQSqlDriver Abstract base class for custom menu items in popup menus. | QCustomMenuItem Abstract base class of internal layout iterators. | QGLayoutIterator -Abstract base for Qt/Embedded graphics driver plugins. | QGfxDriverPlugin -Abstract base for Qt/Embedded keyboard driver plugins. | QKbdDriverPlugin -Abstract base for Qt/Embedded mouse driver plugins. | QMouseDriverPlugin Abstract base for custom TQSqlDriver plugins. | TQSqlDriverPlugin Abstract base for custom TQStyle plugins. | TQStylePlugin Abstract base for custom TQTextCodec plugins. | TQTextCodecPlugin @@ -29,9 +26,7 @@ Access to the platform audio facilities. | QSound Access to the session manager. | QSessionManager Access to the window system clipboard. | QClipboard Acts like a union for the most common TQt data types. | QVariant -Allows the appearance of the Qt/Embedded Window Manager to be customized. | QWSDecoration Allows waiting/waking for conditions between threads. | QWaitCondition -And its descendants manage the framebuffer and palette. | QScreen Animated canvas item on a TQCanvas. | TQCanvasSprite Application-global cache for pixmaps. | QPixmapCache Area with movable labelled icons. | TQIconView @@ -67,7 +62,6 @@ Command button. | QPushButton Common API for network protocols. | QNetworkProtocol Common operations for network protocols. | QNetworkOperation Common operations on URLs. | QUrlOperator -Communication capabilities between several clients. | QCopChannel Const iterator for TQValueList. | TQValueListConstIterator Convenience class for input streams. | TQTextIStream Convenience class for output streams. | TQTextOStream @@ -85,10 +79,7 @@ Conversion to and from the Tamil TSCII encoding. | QTsciiCodec Conversion to and from visually ordered Hebrew. | QHebrewCodec Converts between numbers and their string representations in various languages. | QLocale Corner-grip for resizing a top-level window. | QSizeGrip -Creates QScreen objects for Qt/Embedded. | QGfxDriverFactory Creates TQStyle objects. | TQStyleFactory -Creates QWSKeyboardHandler objects for Qt/Embedded. | QKbdDriverFactory -Creates QWSMouseHandler objects for Qt/Embedded. | QMouseDriverFactory Creates and manages data entry forms tied to SQL databases. | TQSqlForm Creates well-compressed PNG animations. | QPNGImagePacker Data manipulation and navigation for data entry forms. | TQDataBrowser @@ -107,7 +98,6 @@ Describes a key event. | QKeyEvent Dialog widget for selecting a font. | QFontDialog Dialog widget for specifying colors. | QColorDialog Dialogs that allow users to select files or directories. | QFileDialog -Direct access to the video hardware. | QDirectPainter Displays a number with LCD-like digits. | QLCDNumber Does low-level painting e.g. on widgets. | QPainter Doubly-linked list of char*. | TQStrList @@ -175,9 +165,7 @@ Implements a list view item. | QListViewItem Implements a list/tree view. | QListView Implements a splitter widget. | QSplitter Implements an Appearance Manager style. | QMacStyle -Implements font management in Qt/Embedded. | QFontManager Implements parts of the QAccessibleInterface for TQObjects. | QAccessibleObject -Implements the keyboard driver for Qt/Embedded. | QWSKeyboardHandler Incremental image decoder for a specific image format. | TQImageFormat Incremental image decoder for all supported image formats. | TQImageDecoder Incremental loading of animations or images, signalling as it progresses. | QMovie @@ -193,7 +181,6 @@ Interface to report the lexical content of XML data. | TQXmlLexicalHandler Interface to report the logical content of XML data. | TQXmlContentHandler Interface to resolve external entities contained in XML data. | TQXmlEntityResolver Internal class, used with QBitArray. | QBitVal -International input methods for Qt/Embedded. | QWSInputMethod Internationalization support for text output. | QTranslator Iterator for QAsciiCache collections. | QAsciiCacheIterator Iterator for QAsciiDict collections. | QAsciiDictIterator @@ -243,7 +230,6 @@ Monochrome (1-bit depth) pixmaps. | QBitmap More sophisticated Motif-ish look and feel. | QMotifPlusStyle Motif look and feel. | QMotifStyle Mouse cursor with an arbitrary shape. | QCursor -Mouse driver for Qt/Embedded. | QWSMouseHandler Movable panel containing widgets such as tool buttons. | QToolBar Multi-bezier splines on a TQCanvas. | TQCanvasSpline Namespace for TQt SQL identifiers that need to be global-like. | TQSql @@ -306,8 +292,6 @@ SGI/Irix look and feel. | QSGIStyle SQL database error information. | TQSqlError Scrolling area with on-demand scroll bars. | QScrollView Serialization of binary data to a TQIODevice. | QDataStream -Server-specific functionality in Qt/Embedded. | QWSServer -Server-specific functionality in Qt/Embedded. | QWSWindow Set of icons with different styles and sizes. | TQIconSet Signals that a main icon drag has begun. | TQIconDragEvent Simple convenience dialog to get a single value from the user. | QInputDialog diff --git a/doc/html/winsystem.html b/doc/html/winsystem.html index 73290f3cd..b4cfecee6 100644 --- a/doc/html/winsystem.html +++ b/doc/html/winsystem.html @@ -49,8 +49,6 @@ appropriate #ifdef statements (see below).

  • TQt/Mac OS X -
  • TQt/Embedded - @@ -94,22 +92,6 @@ you can embed the manifest in the executable as a resource with the

    -

    -

    TQt/Embedded -

    -

    When compiling for this platform, the macro TQ_WS_QWS is defined -(the window system is literally the TQt Window System). -

    -


    diff --git a/doc/indices.doc b/doc/indices.doc index dd139ad3f..9649b14ec 100644 --- a/doc/indices.doc +++ b/doc/indices.doc @@ -765,13 +765,6 @@ These classes are relevant to threaded applications. These classes are relevant to XML users. */ -/*! \defgroup qws - -\title Qt/Embedded - -These classes are relevant to Qt/Embedded users. -*/ - /*! \defgroup text \title Text Related Classes diff --git a/doc/installation.doc b/doc/installation.doc index 223ccc999..4766797b9 100644 --- a/doc/installation.doc +++ b/doc/installation.doc @@ -46,7 +46,6 @@ The installation procedure is different for the different TQt platforms: \i \link install-x11.html Qt/X11 \endlink \i \link install-win.html Qt/Windows \endlink \i \link install-mac.html Qt/Mac \endlink - \i \link emb-install.html Qt/Embedded \endlink \endlist */ diff --git a/doc/maketqpf.doc b/doc/maketqpf.doc deleted file mode 100644 index 3e860dfa5..000000000 --- a/doc/maketqpf.doc +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Documentation for QPF fonts -** -** Copyright (C) 2005-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! - \page maketqpf.html - - \title maketqpf - -Saves QPF font files by rendering and saving fonts. - -\section1 Usage - -\code -maketqpf [-A] [-f spec-file] [font ...] -\endcode - -\list -\i -A - Render and save all fonts in fontdir -\i -f - File of lines: fontname character-ranges e.g. "smoothtimes 0-ff,20a0-20af" -\i font - Font to render and save -\endlist - -*/ diff --git a/doc/man/README b/doc/man/README index ab4323338..ac24829cb 100644 --- a/doc/man/README +++ b/doc/man/README @@ -40,9 +40,7 @@ Debian distribution man1/tqdesigner.1 man1/tqtfindtr.1 man1/tqlinguist.1 - man1/maketqpf.1 man1/tqtmergetr.1 man1/msg2tqm.1 man1/tqembed.1 man1/tqtconfig.1 - man1/tqvfb.1 diff --git a/doc/man/man1/maketqpf.1 b/doc/man/man1/maketqpf.1 deleted file mode 100644 index 4d947d9ed..000000000 --- a/doc/man/man1/maketqpf.1 +++ /dev/null @@ -1,33 +0,0 @@ -.TH "maketqpf" "1" "3.0.3" "Troll Tech AS, Norway." "" -.SH "NAME" -.LP -maketqpf \- Create qpf files from TTF and BDF files. -.SH "DESCRIPTION" -.LP -Qt Prerendered Font (QPF) is a light\-weight non\-scalable -font format specific to Qt/Embedded. maketqpf is a tool -that assists producing QPF files from TTF and BDF files. - - -.SH "SYNTAX" -.LP -maketqpf [ \fI\-A\fP ] [ \fI\-f spec\-file \fP ] [ \fIfont ... \fP ] - -\-A - Render and save all fonts in fontdir -.br -\-f spec\-file - File of lines: - fontname character-ranges - eg. - smoothtimes 0\-ff,20a0\-20af -.br -font - Font to render and save - -.SH "FILES" -.LP -\fI$(TQTDIR)/lib/fonts/fontdir\fP -.SH "AUTHORS" -.LP -TrollTech diff --git a/doc/man/man1/tqvfb.1 b/doc/man/man1/tqvfb.1 deleted file mode 100644 index 25d0ea556..000000000 --- a/doc/man/man1/tqvfb.1 +++ /dev/null @@ -1,66 +0,0 @@ -.TH "tqvfb" "1" "3.0.3" "Troll Tech AS, Norway." "" -.SH "NAME" -.LP -tqvfb \- Virtual framebuffer for Qt -.SH "DESCRIPTION" -.LP -The virtual framebuffer allows Qt/Embedded programs to be -developed on your desktop machine, without switching -between consoles and X11. - -Start a Qt/Embedded master application (i.e., construct -QApplication with QApplication::GuiServer flag or use the -\-qws command line parameter). You will need to specify to -the server that you wish to use the virtual framebuffer -driver, e.g.: - - widgets \-qws \-display QVFb:0 - -You may prefer to set the QWS_DISPLAY environment -variable to be QVFb:0. - -tqvfb supports the following command line options: - - \-width width: the width of the virtual framebuffer - (default: 240). - \-height height: the height of the virtual framebuffer - (default: 320). - \-depth depth: the depth of the virtual framebuffer (1, 8 - or 32; default: 8). - \-nocursor: do not display the X11 cursor in the - framebuffer window. - \-qwsdisplay :id the Qt/Embedded display id to provide - (default: 0). - - Virtual Framebuffer Design - -The virtual framebuffer emulates a framebuffer using a -shared memory region (the virtual frame buffer) and a -utility to display the framebuffer in a window (tqvfb). -The regions of the display that have changed are updated -periodically, so you will see discrete snapshots of the -framebuffer rather than each individual drawing -operation. For this reason drawing problems such as -flickering may not be apparent until the program is run -using a real framebuffer. - -The target refresh rate can be set via the "View|Refresh -Rate" menu item. This will cause tqvfb to check for -updated regions more quickly. The rate is a target only. -If little drawing is being done, the framebuffer will not -show any updates between drawing events. If an -application is displaying an animation the updates will -be frequent, and the application and tqvfb will compete -for processor time. - -Mouse and keyboard events are passed to the Qt/Embedded -master process via named pipes. - -The virtual framebuffer is a development tool only. No -security issues have been considered in the virtual -framebuffer design. It should be avoided in a production -environment; TQT_NO_QWS_VFB should always be defined in -production libraries. -.SH "AUTHORS" -.LP -TrollTech diff --git a/doc/man/man3/TQCopChannel.3qt b/doc/man/man3/TQCopChannel.3qt deleted file mode 100644 index 258c473ca..000000000 --- a/doc/man/man3/TQCopChannel.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqcopchannel.3qt diff --git a/doc/man/man3/TQDirectPainter.3qt b/doc/man/man3/TQDirectPainter.3qt deleted file mode 100644 index 47aeac0e5..000000000 --- a/doc/man/man3/TQDirectPainter.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqdirectpainter.3qt diff --git a/doc/man/man3/TQFontManager.3qt b/doc/man/man3/TQFontManager.3qt deleted file mode 100644 index 5a1600075..000000000 --- a/doc/man/man3/TQFontManager.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqfontmanager.3qt diff --git a/doc/man/man3/TQGfxDriverFactory.3qt b/doc/man/man3/TQGfxDriverFactory.3qt deleted file mode 100644 index 66037313f..000000000 --- a/doc/man/man3/TQGfxDriverFactory.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqgfxdriverfactory.3qt diff --git a/doc/man/man3/TQGfxDriverPlugin.3qt b/doc/man/man3/TQGfxDriverPlugin.3qt deleted file mode 100644 index e3c6632a5..000000000 --- a/doc/man/man3/TQGfxDriverPlugin.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqgfxdriverplugin.3qt diff --git a/doc/man/man3/TQKbdDriverFactory.3qt b/doc/man/man3/TQKbdDriverFactory.3qt deleted file mode 100644 index 5bfd9070a..000000000 --- a/doc/man/man3/TQKbdDriverFactory.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqkbddriverfactory.3qt diff --git a/doc/man/man3/TQKbdDriverPlugin.3qt b/doc/man/man3/TQKbdDriverPlugin.3qt deleted file mode 100644 index 9ef6172dd..000000000 --- a/doc/man/man3/TQKbdDriverPlugin.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqkbddriverplugin.3qt diff --git a/doc/man/man3/TQMouseDriverFactory.3qt b/doc/man/man3/TQMouseDriverFactory.3qt deleted file mode 100644 index 1ed894f0a..000000000 --- a/doc/man/man3/TQMouseDriverFactory.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqmousedriverfactory.3qt diff --git a/doc/man/man3/TQMouseDriverPlugin.3qt b/doc/man/man3/TQMouseDriverPlugin.3qt deleted file mode 100644 index a6b0d69c3..000000000 --- a/doc/man/man3/TQMouseDriverPlugin.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqmousedriverplugin.3qt diff --git a/doc/man/man3/TQScreen.3qt b/doc/man/man3/TQScreen.3qt deleted file mode 100644 index 67ba13a80..000000000 --- a/doc/man/man3/TQScreen.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqscreen.3qt diff --git a/doc/man/man3/TQWSDecoration.3qt b/doc/man/man3/TQWSDecoration.3qt deleted file mode 100644 index 590bcf3c1..000000000 --- a/doc/man/man3/TQWSDecoration.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqwsdecoration.3qt diff --git a/doc/man/man3/TQWSInputMethod.3qt b/doc/man/man3/TQWSInputMethod.3qt deleted file mode 100644 index 9c3885f17..000000000 --- a/doc/man/man3/TQWSInputMethod.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqwsinputmethod.3qt diff --git a/doc/man/man3/TQWSKeyboardHandler.3qt b/doc/man/man3/TQWSKeyboardHandler.3qt deleted file mode 100644 index 4174d8c09..000000000 --- a/doc/man/man3/TQWSKeyboardHandler.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqwskeyboardhandler.3qt diff --git a/doc/man/man3/TQWSMouseHandler.3qt b/doc/man/man3/TQWSMouseHandler.3qt deleted file mode 100644 index 69600e9f5..000000000 --- a/doc/man/man3/TQWSMouseHandler.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqwsmousehandler.3qt diff --git a/doc/man/man3/TQWSServer.3qt b/doc/man/man3/TQWSServer.3qt deleted file mode 100644 index 680e8fa71..000000000 --- a/doc/man/man3/TQWSServer.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqwsserver.3qt diff --git a/doc/man/man3/TQWSWindow.3qt b/doc/man/man3/TQWSWindow.3qt deleted file mode 100644 index 93149b845..000000000 --- a/doc/man/man3/TQWSWindow.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqwswindow.3qt diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index 41f5c36f1..21bf88450 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -127,12 +127,6 @@ Inherits TQObject. .BI "int \fBx11ProcessEvent\fR ( XEvent * event )" .br .ti -1c -.BI "virtual bool \fBqwsEventFilter\fR ( QWSEvent * )" -.br -.ti -1c -.BI "void \fBqwsSetCustomColors\fR ( TQRgb * colorTable, int start, int numColors )" -.br -.ti -1c .BI "void \fBwinFocus\fR ( TQWidget * widget, bool gotFocus )" .br .ti -1c @@ -375,12 +369,6 @@ Inherits TQObject. .ti -1c .BI "void \fBsetEffectEnabled\fR ( TQt::UIEffect effect, bool enable = TRUE )" .br -.ti -1c -.BI "QWSDecoration & \fBqwsDecoration\fR ()" -.br -.ti -1c -.BI "void \fBqwsSetDecoration\fR ( QWSDecoration * d )" -.br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c @@ -466,7 +454,7 @@ Since it also deals with common command line arguments, it is usually a good ide .PP
    .nf .TS -l - l. Groups of functions System settings desktopSettingsAware(), setDesktopSettingsAware(), cursorFlashTime(), setCursorFlashTime(), doubleClickInterval(), setDoubleClickInterval(), wheelScrollLines(), setWheelScrollLines(), palette(), setPalette(), font(), setFont(), fontMetrics(). Event handling exec(), processEvents(), enter_loop(), exit_loop(), exit(), quit(). sendEvent(), postEvent(), sendPostedEvents(), removePostedEvents(), hasPendingEvents(), notify(), macEventFilter(), qwsEventFilter(), x11EventFilter(), x11ProcessEvent(), winEventFilter(). GUI Styles style(), setStyle(), polish(). Color usage colorSpec(), setColorSpec(), qwsSetCustomColors(). Text handling installTranslator(), removeTranslator() translate(). Widgets mainWidget(), setMainWidget(), allWidgets(), topLevelWidgets(), desktop(), activePopupWidget(), activeModalWidget(), clipboard(), focusWidget(), winFocus(), activeWindow(), widgetAt(). Advanced cursor handling hasGlobalMouseTracking(), setGlobalMouseTracking(), overrideCursor(), setOverrideCursor(), restoreOverrideCursor(). X Window System synchronization flushX(), syncX(). Session management isSessionRestored(), sessionId(), commitData(), saveState(). Threading lock(), unlock(), locked(), tryLock(), wakeUpGuiThread() Miscellaneous +l - l. Groups of functions System settings desktopSettingsAware(), setDesktopSettingsAware(), cursorFlashTime(), setCursorFlashTime(), doubleClickInterval(), setDoubleClickInterval(), wheelScrollLines(), setWheelScrollLines(), palette(), setPalette(), font(), setFont(), fontMetrics(). Event handling exec(), processEvents(), enter_loop(), exit_loop(), exit(), quit(). sendEvent(), postEvent(), sendPostedEvents(), removePostedEvents(), hasPendingEvents(), notify(), macEventFilter(), x11EventFilter(), x11ProcessEvent(), winEventFilter(). GUI Styles style(), setStyle(), polish(). Color usage colorSpec(), setColorSpec(). Text handling installTranslator(), removeTranslator() translate(). Widgets mainWidget(), setMainWidget(), allWidgets(), topLevelWidgets(), desktop(), activePopupWidget(), activeModalWidget(), clipboard(), focusWidget(), winFocus(), activeWindow(), widgetAt(). Advanced cursor handling hasGlobalMouseTracking(), setGlobalMouseTracking(), overrideCursor(), setOverrideCursor(), restoreOverrideCursor(). X Window System synchronization flushX(), syncX(). Session management isSessionRestored(), sessionId(), commitData(), saveState(). Threading lock(), unlock(), locked(), tryLock(), wakeUpGuiThread() Miscellaneous .TE .fi
    @@ -606,8 +594,6 @@ The following example shows how to create an application that uses a graphical i .fi .SH "QApplication::QApplication ( int & argc, char ** argv, Type type )" Constructs an application object with \fIargc\fR command line arguments in \fIargv\fR. -.PP -For Qt/Embedded, passing QApplication::GuiServer for \fItype\fR makes this application the server (equivalent to running with the -qws option). .SH "QApplication::QApplication ( Display * dpy, HANDLE visual = 0, HANDLE colormap = 0 )" Create an application, given an already open display \fIdpy\fR. If \fIvisual\fR and \fIcolormap\fR are non-zero, the application will use those as the default Visual and Colormap contexts. .PP @@ -1139,32 +1125,6 @@ See also exit(), aboutToQuit(), lastWindowClosed(), and QAction. .PP Examples: .)l addressbook/main.cpp, mdi/main.cpp, network/archivesearch/main.cpp, regexptester/main.cpp, t2/main.cpp, t4/main.cpp, and t6/main.cpp. -.SH "QWSDecoration & QApplication::qwsDecoration ()\fC [static]\fR" -Return the QWSDecoration used for decorating windows. -.PP -This method is non-portable. It is available \fIonly\fR in Qt/Embedded. -.PP -See also QWSDecoration. -.SH "bool QApplication::qwsEventFilter ( QWSEvent * )\fC [virtual]\fR" -This virtual function is only implemented under Qt/Embedded. -.PP -If you create an application that inherits QApplication and reimplement this function, you get direct access to all QWS (Q Window System) events that the are received from the QWS master process. -.PP -Return TRUE if you want to stop the event from being processed. Return FALSE for normal event dispatching. -.SH "void QApplication::qwsSetCustomColors ( TQRgb * colorTable, int start, int numColors )" -Set Qt/Embedded custom color table. -.PP -Qt/Embedded on 8-bpp displays allocates a standard 216 color cube. The remaining 40 colors may be used by setting a custom color table in the QWS master process before any clients connect. -.PP -\fIcolorTable\fR is an array of up to 40 custom colors. \fIstart\fR is the starting index (0-39) and \fInumColors\fR is the number of colors to be set (1-40). -.PP -This method is non-portable. It is available \fIonly\fR in Qt/Embedded. -.SH "void QApplication::qwsSetDecoration ( QWSDecoration * d )\fC [static]\fR" -Set the QWSDecoration derived class to use for decorating the Qt/Embedded windows to \fId\fR. -.PP -This method is non-portable. It is available \fIonly\fR in Qt/Embedded. -.PP -See also QWSDecoration. .SH "void QApplication::removeLibraryPath ( const TQString & path )\fC [static]\fR" Removes \fIpath\fR from the library path list. If \fIpath\fR is empty or not in the path list, the list is not changed. .PP diff --git a/doc/man/man3/tqcopchannel.3qt b/doc/man/man3/tqcopchannel.3qt deleted file mode 100644 index 25bd87fa6..000000000 --- a/doc/man/man3/tqcopchannel.3qt +++ /dev/null @@ -1,170 +0,0 @@ -'\" t -.TH QCopChannel 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QCopChannel \- Communication capabilities between several clients -.SH SYNOPSIS -\fC#include \fR -.PP -Inherits TQObject. -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQCopChannel\fR ( const QCString & channel, TQObject * parent = 0, const char * name = 0 )" -.br -.ti -1c -.BI "virtual \fB~QCopChannel\fR ()" -.br -.ti -1c -.BI "QCString \fBchannel\fR () const" -.br -.ti -1c -.BI "virtual void \fBreceive\fR ( const QCString & msg, const QByteArray & data )" -.br -.in -1c -.SS "Signals" -.in +1c -.ti -1c -.BI "void \fBreceived\fR ( const QCString & msg, const QByteArray & data )" -.br -.in -1c -.SS "Static Public Members" -.in +1c -.ti -1c -.BI "bool \fBisRegistered\fR ( const QCString & channel )" -.br -.ti -1c -.BI "bool \fBsend\fR ( const QCString & channel, const QCString & msg )" -.br -.ti -1c -.BI "bool \fBsend\fR ( const QCString & channel, const QCString & msg, const QByteArray & data )" -.br -.in -1c -.SH DESCRIPTION -The QCopChannel class provides communication capabilities between several clients. -.PP -The TQt Cop (QCOP) is a COmmunication Protocol, allowing clients to communicate both within the same address space and between different processes. -.PP -Currently, this facility is only available on Qt/Embedded. On X11 and Windows we are exploring the use of existing standards such as DCOP and COM. -.PP -QCopChannel provides send() and isRegistered() which are static functions usable without an object. -.PP -The channel() function returns the name of the channel. -.PP -In order to \fIlisten\fR to the traffic on a channel, you should either subclass QCopChannel and reimplement receive(), or connect() to the received() signal. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QCopChannel::QCopChannel ( const QCString & channel, TQObject * parent = 0, const char * name = 0 )" -Constructs a QCop channel and registers it with the server using the name \fIchannel\fR. The standard \fIparent\fR and \fIname\fR arguments are passed on to the TQObject constructor. -.SH "QCopChannel::~QCopChannel ()\fC [virtual]\fR" -Destroys the client's end of the channel and notifies the server that the client has closed its connection. The server will keep the channel open until the last registered client detaches. -.SH "QCString QCopChannel::channel () const" -Returns the name of the channel. -.SH "bool QCopChannel::isRegistered ( const QCString & channel )\fC [static]\fR" -Queries the server for the existence of \fIchannel\fR. -.PP -Returns TRUE if \fIchannel\fR is registered; otherwise returns FALSE. -.SH "void QCopChannel::receive ( const QCString & msg, const QByteArray & data )\fC [virtual]\fR" -This virtual function allows subclasses of QCopChannel to process data received from their channel. -.PP -The default implementation emits the received() signal. -.PP -Note that the format of \fIdata\fR has to be well defined in order to extract the information it contains. -.PP -Example: -.PP -.nf -.br - void MyClass::receive( const QCString &msg, const QByteArray &data ) -.br - { -.br - QDataStream stream( data, IO_ReadOnly ); -.br - if ( msg == "execute(TQString,TQString)" ) { -.br - TQString cmd, arg; -.br - stream >> cmd >> arg; -.br - ... -.br - } else if ( msg == "delete(TQString)" ) { -.br - TQString filenname; -.br - stream >> filename; -.br - ... -.br - } else ... -.br - } -.br -.fi -This example assumes that the \fImsg\fR is a DCOP-style function signature and the \fIdata\fR contains the function's arguments. (See send().) -.PP -Using the DCOP convention is a recommendation, but not a requirement. Whatever convention you use the sender and receiver \fImust\fR agree on the argument types. -.PP -See also send(). -.SH "void QCopChannel::received ( const QCString & msg, const QByteArray & data )\fC [signal]\fR" -This signal is emitted with the \fImsg\fR and \fIdata\fR whenever the receive() function gets incoming data. -.SH "bool QCopChannel::send ( const QCString & channel, const QCString & msg, const QByteArray & data )\fC [static]\fR" -Send the message \fImsg\fR on channel \fIchannel\fR with data \fIdata\fR. The message will be distributed to all clients subscribed to the channel. -.PP -Note that QDataStream provides a convenient way to fill the byte array with auxiliary data. -.PP -Example: -.PP -.nf -.br - QByteArray ba; -.br - QDataStream stream( ba, IO_WriteOnly ); -.br - stream << TQString("cat") << TQString("file.txt"); -.br - QCopChannel::send( "System/Shell", "execute(TQString,TQString)", ba ); -.br -.fi -Here the channel is "System/Shell". The \fImsg\fR is an arbitrary string, but in the example we've used the DCOP convention of passing a function signature. Such a signature is formatted as functionname(types) where types is a list of zero or more comma-separated type names, with no whitespace, no consts and no pointer or reference marks, i.e. no "*" or "&". -.PP -Using the DCOP convention is a recommendation, but not a requirement. Whatever convention you use the sender and receiver \fImust\fR agree on the argument types. -.PP -See also receive(). -.SH "bool QCopChannel::send ( const QCString & channel, const QCString & msg )\fC [static]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Send the message \fImsg\fR on channel \fIchannel\fR. The message will be distributed to all clients subscribed to the \fIchannel\fR. -.PP -See also receive(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qcopchannel.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqcopchannel.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqdirectpainter.3qt b/doc/man/man3/tqdirectpainter.3qt deleted file mode 100644 index 8973e46c0..000000000 --- a/doc/man/man3/tqdirectpainter.3qt +++ /dev/null @@ -1,178 +0,0 @@ -'\" t -.TH QDirectPainter 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QDirectPainter \- Direct access to the video hardware -.SH SYNOPSIS -\fC#include \fR -.PP -Inherits QPainter. -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQDirectPainter\fR ( const TQWidget * w )" -.br -.ti -1c -.BI "\fB~QDirectPainter\fR ()" -.br -.ti -1c -.BI "uchar * \fBframeBuffer\fR ()" -.br -.ti -1c -.BI "int \fBlineStep\fR ()" -.br -.ti -1c -.BI "int \fBtransformOrientation\fR ()" -.br -.ti -1c -.BI "int \fBnumRects\fR () const" -.br -.ti -1c -.BI "const QRect & \fBrect\fR ( int i ) const" -.br -.ti -1c -.BI "QRegion \fBregion\fR () const" -.br -.ti -1c -.BI "int \fBdepth\fR () const" -.br -.ti -1c -.BI "int \fBwidth\fR () const" -.br -.ti -1c -.BI "int \fBheight\fR () const" -.br -.ti -1c -.BI "int \fBxOffset\fR () const" -.br -.ti -1c -.BI "int \fByOffset\fR () const" -.br -.ti -1c -.BI "QPoint \fBoffset\fR () const" -.br -.ti -1c -.BI "QSize \fBsize\fR () const" -.br -.ti -1c -.BI "void \fBsetAreaChanged\fR ( const QRect & r )" -.br -.in -1c -.SH DESCRIPTION -The QDirectPainter class provides direct access to the video hardware. -.PP -Only available in Qt/Embedded. -.PP -When the hardware is known and well defined, as is often the case with software for embedded devices, it may be useful to manipulate the underlying video hardware directly. In order to do this in a way that is co-operative with other applications, you must lock the video hardware for exclusive use for a small time while you write to it, and you must know the clipping region which is allocated to a widget. -.PP -QDirectPainter provides this functionality. -.PP -In the simplest case, you make a QDirectPainter on a widget and then, observing the clip region, perform some platform-specific operation. For example: -.PP -.nf -.br - void MyWidget::updatePlatformGraphics() -.br - { -.br - QDirectPainter dp( this ); -.br - for ( int i = 0; i < dp.numRects; i++ ) { -.br - const QRect& clip = dp.rect(i); -.br - ... // platform specific operation -.br - } -.br - } -.br -.fi -.PP -The platform-specific code has access to the display, but should only modify graphics in the rectangles specified by numRects() and rect(). Note that these rectangles are relative to the entire display. -.PP -The offset() function returns the position of the widget relative to the entire display, allowing you to offset platform-specific operations appropriately. The xOffset() and yOffset() functions merely return the component values of offset(). -.PP -For simple frame-buffer hardware, the frameBuffer(), lineStep(), and depth() functions provide basic access, though some hardware configurations are insufficiently specified by such simple parameters. -.PP -Note that while a QDirectPainter exists, the entire Qt/Embedded window system is locked from use by other applications. Always construct the QDirectPainter as an auto (stack) variable, and be very careful to write robust and stable code within its scope. -.PP -See also Graphics Classes. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QDirectPainter::QDirectPainter ( const TQWidget * w )" -Construct a direct painter on \fIw\fR. The display is locked and the mouse cursor is hidden if it is above \fIw\fR. -.SH "QDirectPainter::~QDirectPainter ()" -Destroys the direct painter. The mouse cursor is revealed if necessary and the display is unlocked. -.SH "int QDirectPainter::depth () const" -Returns the bit-depth of the display. -.SH "uchar * QDirectPainter::frameBuffer ()" -Returns a pointer to the framebuffer memory if available. -.SH "int QDirectPainter::height () const" -Returns the height of the widget drawn upon. -.SH "int QDirectPainter::lineStep ()" -Returns the spacing in bytes from one framebuffer line to the next. -.SH "int QDirectPainter::numRects () const" -Returns the number of rectangles in the drawable region. -.PP -See also rect() and region(). -.SH "QPoint QDirectPainter::offset () const" -Returns the position of the widget relative to the entire display. -.SH "const QRect & QDirectPainter::rect ( int i ) const" -Returns a reference to rectangle \fIi\fR of the drawable region. Valid values for \fIi\fR are 0..numRects()-1. -.PP -See also region(). -.SH "QRegion QDirectPainter::region () const" -Returns the region of the framebuffer which represents the exposed area of the widget being painted on. Note that this may be a sub-area of the clip region, because of child widgets and overlapping cousin widgets. -.PP -See also numRects() and rect(). -.SH "void QDirectPainter::setAreaChanged ( const QRect & r )" -Sets the area changed by the transaction to \fIr\fR. By default, the entire widget is assumed to have changed. The area changed is only used by some graphics drivers, so often calling this function for a smaller area will make no difference to performance. -.SH "QSize QDirectPainter::size () const" -Returns the size of the widget drawn upon. -.PP -See also width() and height(). -.SH "int QDirectPainter::transformOrientation ()" -Returns a number that signifies the orientation of the framebuffer.
    .nf -.TS -l - l. 0 no rotation 1 90 degrees rotation 2 180 degrees rotation 3 -.TE -.fi -
    -.SH "int QDirectPainter::width () const" -Returns the width of the widget drawn upon. -.SH "int QDirectPainter::xOffset () const" -Returns the X-position of the widget relative to the entire display. -.SH "int QDirectPainter::yOffset () const" -Returns the Y-position of the widget relative to the entire -display. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qdirectpainter.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqdirectpainter.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqfont.3qt b/doc/man/man3/tqfont.3qt index 139652271..2f7754e01 100644 --- a/doc/man/man3/tqfont.3qt +++ b/doc/man/man3/tqfont.3qt @@ -164,9 +164,6 @@ QFont \- Font used for drawing text .BI "bool \fBfromString\fR ( const TQString & descrip )" .br .ti -1c -.BI "void \fBqwsRenderToDisk\fR ( bool all = TRUE )" -.br -.ti -1c .BI "enum \fBScript\fR { Latin, Greek, Cyrillic, Armenian, Georgian, Runic, Ogham, SpacingModifiers, CombiningMarks, Hebrew, Arabic, Syriac, Thaana, Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Tibetan, Myanmar, Khmer, Han, Hiragana, Katakana, Hangul, Bopomofo, Yi, Ethiopic, Cherokee, CanadianAboriginal, Mongolian, CurrencySymbols, LetterlikeSymbols, NumberForms, MathematicalOperators, TechnicalSymbols, GeometricSymbols, MiscellaneousSymbols, EnclosedAndSquare, Braille, Unicode, Tagalog, Hanunoo, Buhid, Tagbanwa, KatakanaHalfWidth, Limbu, TaiLe }" .br .ti -1c @@ -676,12 +673,6 @@ Examples: Returns the point size of the font. Returns -1 if the font size was specified in pixels. .PP See also pointSize(), setPointSizeFloat(), pixelSize(), QFontInfo::pointSize(), and QFontInfo::pixelSize(). -.SH "void QFont::qwsRenderToDisk ( bool all = TRUE )" -Saves the glyphs in the font that have previously been accessed as a QPF file. If \fIall\fR is TRUE (the default), then before saving, all glyphs are marked as used. -.PP -If the font is large and you are sure that only a subset of characters will ever be required on the target device, passing FALSE for the \fIall\fR parameter can save a significant amount of disk space. -.PP -Note that this function is only applicable on Qt/Embedded. .SH "bool QFont::rawMode () const" Returns TRUE if raw mode is used for font name matching; otherwise returns FALSE. .PP diff --git a/doc/man/man3/tqfontmanager.3qt b/doc/man/man3/tqfontmanager.3qt deleted file mode 100644 index fcb8a3789..000000000 --- a/doc/man/man3/tqfontmanager.3qt +++ /dev/null @@ -1,76 +0,0 @@ -'\" t -.TH QFontManager 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QFontManager \- Implements font management in Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQFontManager\fR ()" -.br -.ti -1c -.BI "\fB~QFontManager\fR ()" -.br -.ti -1c -.BI "QDiskFont * \fBget\fR ( const QFontDef & f )" -.br -.in -1c -.SS "Static Public Members" -.in +1c -.ti -1c -.BI "void \fBinitialize\fR ()" -.br -.ti -1c -.BI "void \fBcleanup\fR ()" -.br -.in -1c -.SH DESCRIPTION -The QFontManager class implements font management in Qt/Embedded. -.PP -There is one and only one QFontManager per Qt/Embedded application. The \fCqt_fontmanager\fR global variable points to it. It keeps a list of font factories, a cache of rendered fonts and a list of fonts available on disk. QFontManager is called when a new font needs to be rendered from a Freetype-compatible or BDF font on disk; this only happens if there isn't an appropriate QPF font already available. -.PP -See also Qt/Embedded. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QFontManager::QFontManager ()" -Creates a font manager. This method reads in the font definition file from \fCINSTALL/lib/fonts/fontdir\fR, where \fCINSTALL\fR is the directory where Qt/Embedded was installed, and creates a list of QDiskFonts to hold the information in the file. It also constructs any defined font factories. -.SH "QFontManager::~QFontManager ()" -Destroys the QFontManager and sets \fCqt_fontmanager\fR to 0. -.SH "void QFontManager::cleanup ()\fC [static]\fR" -Destroys the font manager -.SH "QDiskFont * QFontManager::get ( const QFontDef & f )" -Returns the QDiskFont that best matches \fIf\fR, based on family, weight, italicity and font size. -.SH "void QFontManager::initialize ()\fC [static]\fR" -Creates a new QFontManager and points \fCqt_fontmanager\fR to it - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qfontmanager.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqfontmanager.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqgfxdriverfactory.3qt b/doc/man/man3/tqgfxdriverfactory.3qt deleted file mode 100644 index 1dd2eb2d6..000000000 --- a/doc/man/man3/tqgfxdriverfactory.3qt +++ /dev/null @@ -1,59 +0,0 @@ -'\" t -.TH QGfxDriverFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QGfxDriverFactory \- Creates QScreen objects for Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Static Public Members" -
  • TQStringList \fBkeys\fR ()
  • QScreen * \fBcreate\fR ( const TQString & key, int displayId ) -.SH DESCRIPTION -The QGfxDriverFactory class creates QScreen objects for Qt/Embedded. -.PP -The graphics driver factory creates a QScreen object for a given key with QGfxDriverFactory::create(key). -.PP -The drivers are either built-in or dynamically loaded from a driver plugin (see QGfxDriverPlugin). -.PP -QGfxDriverFactory::keys() returns a list of valid keys. TQt currently ships with "LinuxFb". -.PP -This class is only available in Qt/Embedded. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QScreen * QGfxDriverFactory::create ( const TQString & key, int displayId )\fC [static]\fR" -Creates a QScreen object of a type that matches \fIkey\fR, and with the ID, \fIdisplayId\fR. The QScreen object returned may be from a built-in driver, or from a driver plugin. -.PP -See also keys(). -.SH "TQStringList QGfxDriverFactory::keys ()\fC [static]\fR" -Returns the list of keys this factory can create drivers for. -.PP -See also create(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qgfxdriverfactory.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqgfxdriverfactory.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqgfxdriverplugin.3qt b/doc/man/man3/tqgfxdriverplugin.3qt deleted file mode 100644 index 5aa19276a..000000000 --- a/doc/man/man3/tqgfxdriverplugin.3qt +++ /dev/null @@ -1,78 +0,0 @@ -'\" t -.TH QGfxDriverPlugin 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QGfxDriverPlugin \- Abstract base for Qt/Embedded graphics driver plugins -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQGfxDriverPlugin\fR ()" -.br -.ti -1c -.BI "\fB~QGfxDriverPlugin\fR ()" -.br -.ti -1c -.BI "virtual TQStringList \fBkeys\fR () const = 0" -.br -.ti -1c -.BI "virtual QScreen * \fBcreate\fR ( const TQString & driver, int displayId ) = 0" -.br -.in -1c -.SH DESCRIPTION -The QGfxDriverPlugin class provides an abstract base for Qt/Embedded graphics driver plugins. -.PP -The graphics driver plugin is a simple plugin interface that makes it easy to create custom graphics drivers. -.PP -Writing a graphics driver plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the \fCQ_EXPORT_PLUGIN\fR macro. See the Plugins documentation for details. -.PP -This class is only available in Qt/Embedded. -.PP -See also Plugins. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QGfxDriverPlugin::QGfxDriverPlugin ()" -Constructs a graphics driver plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro. -.SH "QGfxDriverPlugin::~QGfxDriverPlugin ()" -Destroys the graphics driver plugin. -.PP -You never have to call this explicitly. TQt destroys a plugin automatically when it is no longer used. -.SH "QScreen * QGfxDriverPlugin::create ( const TQString & driver, int displayId )\fC [pure virtual]\fR" -Creates a driver matching the type specified by \fIdriver\fR, that will use display \fIdisplayId\fR. -.PP -See also keys(). -.SH "TQStringList QGfxDriverPlugin::keys () const\fC [pure virtual]\fR" -Returns the list of graphics drivers this plugin supports. -.PP -See also create(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qgfxdriverplugin.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqgfxdriverplugin.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt index 42ba2b561..ef4aacbf3 100644 --- a/doc/man/man3/tqimage.3qt +++ b/doc/man/man3/tqimage.3qt @@ -363,8 +363,6 @@ If this looks complicated, it might be a good idea to convert the 1-bpp image to .br .fi .PP -On Qt/Embedded, scanlines are aligned to the pixel depth and may be padded to any degree, while on all other platforms, the scanlines are 32-bit aligned for all depths. The constructor taking a \fCuchar*\fR argument always expects 32-bit aligned data. On Qt/Embedded, an additional constructor allows the number of bytes-per-line to be specified. -.PP TQImage supports a variety of methods for getting information about the image, for example, colorTable(), allGray(), isGrayscale(), bitOrder(), bytesPerLine(), depth(), dotsPerMeterX() and dotsPerMeterY(), hasAlphaBuffer(), numBytes(), numColors(), and width() and height(). .PP Pixel colors are retrieved with pixel() and set with setPixel(). @@ -464,14 +462,6 @@ If \fIcolortable\fR is 0, a color table sufficient for \fInumColors\fR will be a Note that \fIyourdata\fR must be 32-bit aligned. .PP The endianness is given in \fIbitOrder\fR. -.SH "TQImage::TQImage ( uchar * yourdata, int w, int h, int depth, int bpl, TQRgb * colortable, int numColors, Endian bitOrder )" -Constructs an image that uses an existing memory buffer. The buffer must remain valid for the life of the TQImage. The image does not delete the buffer at destruction. The buffer is passed as \fIyourdata\fR. The image's width is \fIw\fR and its height is \fIh\fR. The color depth is \fIdepth\fR. \fIbpl\fR specifies the number of bytes per line. -.PP -If \fIcolortable\fR is 0, a color table sufficient for \fInumColors\fR will be allocated (and destructed later). -.PP -The endianness is specified by \fIbitOrder\fR. -.PP -\fBWarning:\fR This constructor is only available on Qt/Embedded. .SH "TQImage::TQImage ( const TQImage & image )" Constructs a shallow copy of \fIimage\fR. .SH "TQImage::~TQImage ()" @@ -479,7 +469,7 @@ Destroys the image and cleans up. .SH "bool TQImage::allGray () const" Returns TRUE if all the colors in the image are shades of gray (i.e. their red, green and blue components are equal); otherwise returns FALSE. .PP -This function is slow for large 16-bit (Qt/Embedded only) and 32-bit images. +This function is slow for 32-bit images. .PP See also isGrayscale(). .SH "Endian TQImage::bitOrder () const" @@ -521,7 +511,7 @@ See also bitOrder(), systemBitOrder(), and isNull(). .SH "TQImage TQImage::convertDepth ( int depth, int conversion_flags ) const" Converts the depth (bpp) of the image to \fIdepth\fR and returns the converted image. The original image is not changed. .PP -The \fIdepth\fR argument must be 1, 8, 16 (Qt/Embedded only) or 32. +The \fIdepth\fR argument must be 1, 8 or 32. .PP Returns \fC*this\fR if \fIdepth\fR is equal to the image depth, or a null image if this image cannot be converted. .PP @@ -597,7 +587,7 @@ Returns the depth of the image. .PP The image depth is the number of bits used to encode a single pixel, also called bits per pixel (bpp) or bit planes of an image. .PP -The supported depths are 1, 8, 16 (Qt/Embedded only) and 32. +The supported depths are 1, 8 and 32. .PP See also convertDepth(). .SH "void TQImage::detach ()" @@ -686,7 +676,7 @@ Note that inverting an 8-bit image means to replace all pixels using color index .PP See also fill(), depth(), and hasAlphaBuffer(). .SH "bool TQImage::isGrayscale () const" -For 16-bit (Qt/Embedded only) and 32-bit images, this function is equivalent to allGray(). +For 32-bit images, this function is equivalent to allGray(). .PP For 8-bpp images, this function returns TRUE if color(i) is TQRgb(i,i,i) for all indices of the color table; otherwise returns FALSE. .PP @@ -738,7 +728,7 @@ See also bytesPerLine() and bits(). .SH "int TQImage::numColors () const" Returns the size of the color table for the image. .PP -Notice that numColors() returns 0 for 16-bpp (Qt/Embedded only) and 32-bpp images because these images do not use color tables, but instead encode pixel values as RGB triplets. +Notice that numColors() returns 0 for 32-bpp images because these images do not use color tables, but instead encode pixel values as RGB triplets. .PP See also setNumColors() and colorTable(). .PP @@ -877,8 +867,6 @@ The scanline data is aligned on a 32-bit boundary. .PP \fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (TQRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the \fCuchar*\fR pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use tqRed(), tqGreen() and tqBlue(), etc. (ntqcolor.h) to access the pixels. .PP -\fBWarning:\fR If you are accessing 16-bpp image data, you must handle endianness yourself. (Qt/Embedded only) -.PP See also bytesPerLine(), bits(), and jumpTable(). .PP Example: desktop/desktop.cpp. diff --git a/doc/man/man3/tqkbddriverfactory.3qt b/doc/man/man3/tqkbddriverfactory.3qt deleted file mode 100644 index 3c810e53b..000000000 --- a/doc/man/man3/tqkbddriverfactory.3qt +++ /dev/null @@ -1,59 +0,0 @@ -'\" t -.TH QKbdDriverFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QKbdDriverFactory \- Creates QWSKeyboardHandler objects for Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Static Public Members" -
  • TQStringList \fBkeys\fR ()
  • QWSKeyboardHandler * \fBcreate\fR ( const TQString & key, const TQString & device ) -.SH DESCRIPTION -The QKbdDriverFactory class creates QWSKeyboardHandler objects for Qt/Embedded. -.PP -The graphics driver factory creates a QWSKeyboardHandler object for a given key with QKbdDriverFactory::create(key). -.PP -The drivers are either built-in or dynamically loaded from a driver plugin (see QKbdDriverPlugin). -.PP -This class is only available in Qt/Embedded. -.PP -QKbdDriverFactory::keys() returns a list of valid keys. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSKeyboardHandler * QKbdDriverFactory::create ( const TQString & key, const TQString & device )\fC [static]\fR" -Creates a QWSKeyboardHandler object that matches \fIkey\fR for device \fIdevice\fR. This is either a built-in driver, or a driver from a driver plugin. -.PP -See also keys(). -.SH "TQStringList QKbdDriverFactory::keys ()\fC [static]\fR" -Returns the list of keys this factory can create drivers for. -.PP -See also create(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qkbddriverfactory.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqkbddriverfactory.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqkbddriverplugin.3qt b/doc/man/man3/tqkbddriverplugin.3qt deleted file mode 100644 index 56093f377..000000000 --- a/doc/man/man3/tqkbddriverplugin.3qt +++ /dev/null @@ -1,78 +0,0 @@ -'\" t -.TH QKbdDriverPlugin 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QKbdDriverPlugin \- Abstract base for Qt/Embedded keyboard driver plugins -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQKbdDriverPlugin\fR ()" -.br -.ti -1c -.BI "\fB~QKbdDriverPlugin\fR ()" -.br -.ti -1c -.BI "virtual TQStringList \fBkeys\fR () const = 0" -.br -.ti -1c -.BI "virtual QWSKeyboardHandler * \fBcreate\fR ( const TQString & driver, const TQString & device ) = 0" -.br -.in -1c -.SH DESCRIPTION -The QKbdDriverPlugin class provides an abstract base for Qt/Embedded keyboard driver plugins. -.PP -The keyboard driver plugin is a simple plugin interface that makes it easy to create custom keyboard drivers. -.PP -Writing a keyboard driver plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the \fCQ_EXPORT_PLUGIN\fR macro. See the Plugins documentation for details. -.PP -This class is only available in Qt/Embedded. -.PP -See also Plugins. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QKbdDriverPlugin::QKbdDriverPlugin ()" -Constructs a keyboard driver plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro. -.SH "QKbdDriverPlugin::~QKbdDriverPlugin ()" -Destroys the keyboard driver plugin. -.PP -You never have to call this explicitly. TQt destroys a plugin automatically when it is no longer used. -.SH "QWSKeyboardHandler * QKbdDriverPlugin::create ( const TQString & driver, const TQString & device )\fC [pure virtual]\fR" -Creates a driver matching the type specified by \fIdriver\fR and \fIdevice\fR. -.PP -See also keys(). -.SH "TQStringList QKbdDriverPlugin::keys () const\fC [pure virtual]\fR" -Returns the list of keyboard drivers this plugin supports. -.PP -See also create(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qkbddriverplugin.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqkbddriverplugin.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqmousedriverfactory.3qt b/doc/man/man3/tqmousedriverfactory.3qt deleted file mode 100644 index f33074389..000000000 --- a/doc/man/man3/tqmousedriverfactory.3qt +++ /dev/null @@ -1,59 +0,0 @@ -'\" t -.TH QMouseDriverFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QMouseDriverFactory \- Creates QWSMouseHandler objects for Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Static Public Members" -
  • TQStringList \fBkeys\fR ()
  • QWSMouseHandler * \fBcreate\fR ( const TQString & key, const TQString & device ) -.SH DESCRIPTION -The QMouseDriverFactory class creates QWSMouseHandler objects for Qt/Embedded. -.PP -The graphics driver factory creates a QWSMouseHandler object for a given key with QMouseDriverFactory::create(key). -.PP -The drivers are either built-in or dynamically loaded from a driver plugin (see QMouseDriverPlugin). -.PP -This class is only available in Qt/Embedded. -.PP -QMouseDriverFactory::keys() returns a list of valid keys. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSMouseHandler * QMouseDriverFactory::create ( const TQString & key, const TQString & device )\fC [static]\fR" -Creates a QWSMouseHandler object that matches \fIkey\fR and uses device \fIdevice\fR. This is either a built-in driver, or a driver from a driver plugin. -.PP -See also keys(). -.SH "TQStringList QMouseDriverFactory::keys ()\fC [static]\fR" -Returns the list of keys this factory can create drivers for. -.PP -See also create(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qmousedriverfactory.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqmousedriverfactory.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqmousedriverplugin.3qt b/doc/man/man3/tqmousedriverplugin.3qt deleted file mode 100644 index 4bc5acd7e..000000000 --- a/doc/man/man3/tqmousedriverplugin.3qt +++ /dev/null @@ -1,78 +0,0 @@ -'\" t -.TH QMouseDriverPlugin 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QMouseDriverPlugin \- Abstract base for Qt/Embedded mouse driver plugins -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQMouseDriverPlugin\fR ()" -.br -.ti -1c -.BI "\fB~QMouseDriverPlugin\fR ()" -.br -.ti -1c -.BI "virtual TQStringList \fBkeys\fR () const = 0" -.br -.ti -1c -.BI "virtual QWSMouseHandler * \fBcreate\fR ( const TQString & driver, const TQString & device ) = 0" -.br -.in -1c -.SH DESCRIPTION -The QMouseDriverPlugin class provides an abstract base for Qt/Embedded mouse driver plugins. -.PP -The mouse driver plugin is a simple plugin interface that makes it easy to create custom mouse drivers. -.PP -Writing a mouse driver plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the \fCQ_EXPORT_PLUGIN\fR macro. See the Plugins documentation for details. -.PP -This class is only available in Qt/Embedded. -.PP -See also Plugins. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QMouseDriverPlugin::QMouseDriverPlugin ()" -Constructs a mouse driver plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro. -.SH "QMouseDriverPlugin::~QMouseDriverPlugin ()" -Destroys the mouse driver plugin. -.PP -You never have to call this explicitly. TQt destroys a plugin automatically when it is no longer used. -.SH "QWSMouseHandler * QMouseDriverPlugin::create ( const TQString & driver, const TQString & device )\fC [pure virtual]\fR" -Creates a driver matching the type specified by \fIdriver\fR and which uses device \fIdevice\fR. -.PP -See also keys(). -.SH "TQStringList QMouseDriverPlugin::keys () const\fC [pure virtual]\fR" -Returns the list of mouse drivers this plugin supports. -.PP -See also create(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qmousedriverplugin.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqmousedriverplugin.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index 1c1aa9a1c..db5f3c00c 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .PP Inherits Qt. .PP --Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, TQWidget, TQCanvas, TQStyle, QClipboard, QCopChannel, QDns, QLayout, QDragObject, TQEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QWSKeyboardHandler, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator. +-Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, TQWidget, TQCanvas, TQStyle, QClipboard, QDns, QLayout, QDragObject, TQEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqpainter.3qt b/doc/man/man3/tqpainter.3qt index c24562c03..ee86c6e29 100644 --- a/doc/man/man3/tqpainter.3qt +++ b/doc/man/man3/tqpainter.3qt @@ -13,8 +13,6 @@ QPainter \- Does low-level painting e.g. on widgets .PP Inherits Qt. .PP -Inherited by QDirectPainter. -.PP .SS "Public Members" .in +1c .ti -1c diff --git a/doc/man/man3/tqscreen.3qt b/doc/man/man3/tqscreen.3qt deleted file mode 100644 index 6874e08d4..000000000 --- a/doc/man/man3/tqscreen.3qt +++ /dev/null @@ -1,329 +0,0 @@ -'\" t -.TH QScreen 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QScreen \- And its descendants manage the framebuffer and palette -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQScreen\fR ( int display_id )" -.br -.ti -1c -.BI "virtual \fB~QScreen\fR ()" -.br -.ti -1c -.BI "virtual bool \fBinitDevice\fR () = 0" -.br -.ti -1c -.BI "virtual bool \fBconnect\fR ( const TQString & displaySpec ) = 0" -.br -.ti -1c -.BI "virtual void \fBdisconnect\fR () = 0" -.br -.ti -1c -.BI "virtual int \fBinitCursor\fR ( void * end_of_location, bool init = FALSE )" -.br -.ti -1c -.BI "virtual void \fBshutdownDevice\fR ()" -.br -.ti -1c -.BI "virtual void \fBsetMode\fR ( int, int, int ) = 0" -.br -.ti -1c -.BI "virtual bool \fBsupportsDepth\fR ( int d ) const" -.br -.ti -1c -.BI "virtual QGfx * \fBcreateGfx\fR ( unsigned char * bytes, int w, int h, int d, int linestep )" -.br -.ti -1c -.BI "virtual QGfx * \fBscreenGfx\fR ()" -.br -.ti -1c -.BI "virtual void \fBsave\fR ()" -.br -.ti -1c -.BI "virtual void \fBrestore\fR ()" -.br -.ti -1c -.BI "virtual void \fBblank\fR ( bool on )" -.br -.ti -1c -.BI "virtual int \fBpixmapOffsetAlignment\fR ()" -.br -.ti -1c -.BI "virtual int \fBpixmapLinestepAlignment\fR ()" -.br -.ti -1c -.BI "virtual bool \fBonCard\fR ( unsigned char * p ) const" -.br -.ti -1c -.BI "virtual bool \fBonCard\fR ( unsigned char * p, ulong & offset ) const" -.br -.ti -1c -.BI "virtual void \fBset\fR ( unsigned " "int" ", unsigned " "int" ", unsigned " "int" ", unsigned int )" -.br -.ti -1c -.BI "virtual int \fBalloc\fR ( unsigned int r, unsigned int g, unsigned int b )" -.br -.ti -1c -.BI "int \fBwidth\fR () const" -.br -.ti -1c -.BI "int \fBheight\fR () const" -.br -.ti -1c -.BI "int \fBdepth\fR () const" -.br -.ti -1c -.BI "virtual int \fBpixmapDepth\fR () const" -.br -.ti -1c -.BI "int \fBpixelType\fR () const" -.br -.ti -1c -.BI "int \fBlinestep\fR () const" -.br -.ti -1c -.BI "int \fBdeviceWidth\fR () const" -.br -.ti -1c -.BI "int \fBdeviceHeight\fR () const" -.br -.ti -1c -.BI "uchar * \fBbase\fR () const" -.br -.ti -1c -.BI "virtual uchar * \fBcache\fR ( int, int )" -.br -.ti -1c -.BI "virtual void \fBuncache\fR ( uchar * )" -.br -.ti -1c -.BI "int \fBscreenSize\fR () const" -.br -.ti -1c -.BI "int \fBtotalSize\fR () const" -.br -.ti -1c -.BI "TQRgb * \fBclut\fR ()" -.br -.ti -1c -.BI "int \fBnumCols\fR ()" -.br -.ti -1c -.BI "virtual QSize \fBmapToDevice\fR ( const QSize & s ) const" -.br -.ti -1c -.BI "virtual QSize \fBmapFromDevice\fR ( const QSize & s ) const" -.br -.ti -1c -.BI "virtual QPoint \fBmapToDevice\fR ( const QPoint &, const QSize & ) const" -.br -.ti -1c -.BI "virtual QPoint \fBmapFromDevice\fR ( const QPoint &, const QSize & ) const" -.br -.ti -1c -.BI "virtual QRect \fBmapToDevice\fR ( const QRect & r, const QSize & ) const" -.br -.ti -1c -.BI "virtual QRect \fBmapFromDevice\fR ( const QRect & r, const QSize & ) const" -.br -.ti -1c -.BI "virtual TQImage \fBmapToDevice\fR ( const TQImage & i ) const" -.br -.ti -1c -.BI "virtual TQImage \fBmapFromDevice\fR ( const TQImage & i ) const" -.br -.ti -1c -.BI "virtual QRegion \fBmapToDevice\fR ( const QRegion & r, const QSize & ) const" -.br -.ti -1c -.BI "virtual QRegion \fBmapFromDevice\fR ( const QRegion & r, const QSize & ) const" -.br -.ti -1c -.BI "virtual int \fBtransformOrientation\fR () const" -.br -.ti -1c -.BI "virtual bool \fBisTransformed\fR () const" -.br -.ti -1c -.BI "virtual bool \fBisInterlaced\fR () const" -.br -.ti -1c -.BI "virtual void \fBsetDirty\fR ( const QRect & )" -.br -.ti -1c -.BI "int * \fBopType\fR ()" -.br -.ti -1c -.BI "int * \fBlastOp\fR ()" -.br -.in -1c -.SH DESCRIPTION -The QScreen class and its descendants manage the framebuffer and palette. -.PP -QScreens act as factories for the screen cursor and QGfx's. QLinuxFbScreen manages a Linux framebuffer; accelerated drivers subclass QLinuxFbScreen. There can only be one screen in a Qt/Embedded application. -.PP -See also Qt/Embedded. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QScreen::QScreen ( int display_id )" -Create a screen; the \fIdisplay_id\fR is the number of the Qt/Embedded server to connect to. -.SH "QScreen::~QScreen ()\fC [virtual]\fR" -Destroys a QScreen -.SH "int QScreen::alloc ( unsigned int r, unsigned int g, unsigned int b )\fC [virtual]\fR" -Given an RGB value \fIr\fR \fIg\fR \fIb\fR, return an index which is the closest match to it in the screen's palette. Used in paletted modes only. -.SH "uchar * QScreen::base () const" -Returns a pointer to the start of the framebuffer. -.SH "void QScreen::blank ( bool on )\fC [virtual]\fR" -If \fIon\fR is true, blank the screen. Otherwise unblank it. -.SH "uchar * QScreen::cache ( int, int )\fC [virtual]\fR" -This function is used to store pixmaps in graphics memory for the use of the accelerated drivers. See QLinuxFbScreen (where the cacheing is implemented) for more information. -.SH "TQRgb * QScreen::clut ()" -Returns the screen's color lookup table (color palette). This is only valid in paletted modes (8bpp and lower). -.SH "bool QScreen::connect ( const TQString & displaySpec )\fC [pure virtual]\fR" -This function is called by every Qt/Embedded application on startup. It maps in the framebuffer and in the accelerated drivers the graphics card control registers. \fIdisplaySpec\fR has the following syntax: -.PP -\fC[gfx driver][:driver specific options][:display number]\fR -.PP -for example if you want to use the mach64 driver on fb1 as display 2: -.PP -\fCMach64:/dev/fb1:2\fR -.PP -\fIdisplaySpec\fR is passed in via the QWS_DISPLAY environment variable or the -display command line parameter. -.SH "QGfx * QScreen::createGfx ( unsigned char * bytes, int w, int h, int d, int linestep )\fC [virtual]\fR" -Creates a gfx on an arbitrary buffer \fIbytes\fR, width \fIw\fR and height \fIh\fR in pixels, depth \fId\fR and \fIlinestep\fR (length in bytes of each line in the buffer). Accelerated drivers can check to see if \fIbytes\fR points into graphics memory and create an accelerated Gfx. -.SH "int QScreen::depth () const" -Gives the depth in bits per pixel of the framebuffer. This is the number of bits each pixel takes up rather than the number of significant bits, so 24bpp and 32bpp express the same range of colors (8 bits of red, green and blue) -.SH "int QScreen::deviceHeight () const" -Gives the full height of the framebuffer device, as opposed to the height which Qt/Embedded will actually use. These can differ if the display is centered within the framebuffer. -.SH "int QScreen::deviceWidth () const" -Gives the full width of the framebuffer device, as opposed to the width which Qt/Embedded will actually use. These can differ if the display is centered within the framebuffer. -.SH "void QScreen::disconnect ()\fC [pure virtual]\fR" -This function is called by every Qt/Embedded application just before exitting; it's normally used to unmap the framebuffer. -.SH "int QScreen::height () const" -Gives the height in pixels of the framebuffer. -.SH "int QScreen::initCursor ( void * end_of_location, bool init = FALSE )\fC [virtual]\fR" -This is used to initialize the software cursor - \fIend_of_location\fR points to the address after the area where the cursor image can be stored. \fIinit\fR is true for the first application this method is called from (the Qt/Embedded server), false otherwise. -.SH "bool QScreen::initDevice ()\fC [pure virtual]\fR" -This function is called by the Qt/Embedded server when initializing the framebuffer. Accelerated drivers use it to set up the graphics card. -.SH "bool QScreen::isInterlaced () const\fC [virtual]\fR" -Returns TRUE if the display is interlaced (for instance a television screen); otherwise returns FALSE. If TRUE, drawing is altered to look better on such displays. -.SH "bool QScreen::isTransformed () const\fC [virtual]\fR" -Returns TRUE if the screen is transformed (for instance, rotated 90 degrees); otherwise returns FALSE. QScreen's version always returns FALSE. -.SH "int * QScreen::lastOp ()" -Returns the screens last operation. -.SH "int QScreen::linestep () const" -Returns the length in bytes of each scanline of the framebuffer. -.SH "QSize QScreen::mapFromDevice ( const QSize & s ) const\fC [virtual]\fR" -Map a framebuffer coordinate to the coordinate space used by the application. Used by the rotated driver; the QScreen implementation simply returns \fIs\fR. -.SH "QPoint QScreen::mapFromDevice ( const QPoint &, const QSize & ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Map a framebuffer coordinate to the coordinate space used by the application. Used by the rotated driver; the QScreen implementation simply returns the point. -.SH "QRect QScreen::mapFromDevice ( const QRect & r, const QSize & ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Map a framebuffer coordinate to the coordinate space used by the application. Used by the rotated driver; the QScreen implementation simply returns \fIr\fR. -.SH "TQImage QScreen::mapFromDevice ( const TQImage & i ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Transforms an image so that it matches the application coordinate space (e.g. rotating it 90 degrees counter-clockwise). The QScreen implementation simply returns \fIi\fR. -.SH "QRegion QScreen::mapFromDevice ( const QRegion & r, const QSize & ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Transforms a region so that it matches the application coordinate space (e.g. rotating it 90 degrees counter-clockwise). The QScreen implementation simply returns \fIr\fR. -.SH "QSize QScreen::mapToDevice ( const QSize & s ) const\fC [virtual]\fR" -Map a user coordinate to the one to actually draw. Used by the rotated driver; the QScreen implementation simply returns \fIs\fR. -.SH "QPoint QScreen::mapToDevice ( const QPoint &, const QSize & ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Map a user coordinate to the one to actually draw. Used by the rotated driver; the QScreen implementation simply returns the point passed in. -.SH "QRect QScreen::mapToDevice ( const QRect & r, const QSize & ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Map a user coordinate to the one to actually draw. Used by the rotated driver; the QScreen implementation simply returns \fIr\fR. -.SH "TQImage QScreen::mapToDevice ( const TQImage & i ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Transforms an image so that it fits the device coordinate space (e.g. rotating it 90 degrees clockwise). The QScreen implementation simply returns \fIi\fR. -.SH "QRegion QScreen::mapToDevice ( const QRegion & r, const QSize & ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Transforms a region so that it fits the device coordinate space (e.g. rotating it 90 degrees clockwise). The QScreen implementation simply returns \fIr\fR. -.SH "int QScreen::numCols ()" -Returns the number of entries in the color table returned by clut(). -.SH "bool QScreen::onCard ( unsigned char * p ) const\fC [virtual]\fR" -Returns true if the buffer pointed to by \fIp\fR is within graphics card memory, false if it's in main RAM. -.SH "bool QScreen::onCard ( unsigned char * p, ulong & offset ) const\fC [virtual]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -This checks whether the buffer specified by \fIp\fR is on the card (as per the other version of onCard) and returns an offset in bytes from the start of graphics card memory in \fIoffset\fR if it is. -.SH "int * QScreen::opType ()" -Returns the screen's operation type. -.SH "int QScreen::pixelType () const" -Returns an integer (taking the same values as QGfx::PixelType) that specifies the pixel storage format of the screen. -.SH "int QScreen::pixmapDepth () const\fC [virtual]\fR" -Gives the preferred depth for pixmaps. By default this is the same as the screen depth, but for the VGA16 driver it's 8bpp. -.SH "int QScreen::pixmapLinestepAlignment ()\fC [virtual]\fR" -Returns the value in bits to which individual scanlines of pixmaps held in graphics card memory should be aligned. This is only useful for accelerated drivers. By default the value returned is 64 but it can be overridden by individual accelerated drivers. -.SH "int QScreen::pixmapOffsetAlignment ()\fC [virtual]\fR" -Returns the value in bits to which the start address of pixmaps held in graphics card memory should be aligned. This is only useful for accelerated drivers. By default the value returned is 64 but it can be overridden by individual accelerated drivers. -.SH "void QScreen::restore ()\fC [virtual]\fR" -Restores the state of the graphics card from a previous save() -.SH "void QScreen::save ()\fC [virtual]\fR" -Saves the state of the graphics card - used so that, for instance, the palette can be restored when switching between linux virtual consoles. Hardware QScreen descendants should save register state here if necessary if switching between virtual consoles (for example to/from X) is to be permitted. -.SH "QGfx * QScreen::screenGfx ()\fC [virtual]\fR" -Returns a QGfx (normally a QGfxRaster) initialized to point to the screen, with an origin at 0,0 and a clip region covering the whole screen. -.SH "int QScreen::screenSize () const" -Returns the size in bytes of the screen. This is always located at the beginning of framebuffer memory (i.e. at base()). -.SH "void QScreen::set ( unsigned int, unsigned int, unsigned int, unsigned int )\fC [virtual]\fR" -Sets an entry in the color palette. -.SH "void QScreen::setDirty ( const QRect & )\fC [virtual]\fR" -Indicates which section of the screen has been altered. Used by the VNC and VFB displays; the QScreen version does nothing. -.SH "void QScreen::setMode ( int, int, int )\fC [pure virtual]\fR" -This function can be used to set the framebuffer width, height and depth. It's currently unused. -.SH "void QScreen::shutdownDevice ()\fC [virtual]\fR" -Called by the Qt/Embedded server on shutdown; never called by a Qt/Embedded client. This is intended to support graphics card specific shutdown; the unaccelerated implementation simply hides the mouse cursor. -.SH "bool QScreen::supportsDepth ( int d ) const\fC [virtual]\fR" -Returns true if the screen supports a particular color depth \fId\fR. Possible values are 1,4,8,16 and 32. -.SH "int QScreen::totalSize () const" -Returns the size in bytes of available graphics card memory, including the screen. Offscreen memory is only used by the accelerated drivers. -.SH "int QScreen::transformOrientation () const\fC [virtual]\fR" -Used by the rotated server. The QScreeen implementation returns 0. -.SH "void QScreen::uncache ( uchar * )\fC [virtual]\fR" -This function is called on pixmap destruction to remove them from graphics card memory. -.SH "int QScreen::width () const" -Gives the width in pixels of the framebuffer. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qscreen.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqscreen.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqsound.3qt b/doc/man/man3/tqsound.3qt index bbddb0848..f960c5458 100644 --- a/doc/man/man3/tqsound.3qt +++ b/doc/man/man3/tqsound.3qt @@ -88,8 +88,6 @@ On X11 the Network Audio System is used if available, otherwise all operations w .PP On Macintosh, ironically, we use QT (QuickTime) for sound, this means all QuickTime formats are supported by Qt/Mac. .PP -On Qt/Embedded, a built-in mixing sound server is used, which accesses \fC/dev/dsp\fR directly. Only the WAVE format is supported. -.PP The availability of sound can be tested with QSound::isAvailable(). .PP See also Multimedia Classes. diff --git a/doc/man/man3/tqt.3qt b/doc/man/man3/tqt.3qt index f6fc2b3fe..22a9fa065 100644 --- a/doc/man/man3/tqt.3qt +++ b/doc/man/man3/tqt.3qt @@ -1160,8 +1160,6 @@ This enum type is used to describe the way things are written to the paint devic \fCQt::NorROP\fR - dst = NOT (src OR dst) .PP By far the most useful ones are CopyROP and XorROP. -.PP -On Qt/Embedded, only CopyROP, XorROP, and NotROP are supported. .SH "TQt::SequenceMatch" .TP \fCQt::NoMatch\fR - Sequences have nothing in common diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index aac46de70..2c1dd41fb 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -942,9 +942,6 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, QDa .BI "virtual bool \fBx11Event\fR ( XEvent * )" .br .ti -1c -.BI "virtual bool \fBqwsEvent\fR ( QWSEvent * )" -.br -.ti -1c .BI "virtual void \fBupdateMask\fR ()" .br .ti -1c @@ -1850,14 +1847,6 @@ See also constPolish() and QApplication::polish(). Example: menu/menu.cpp. .SH "QPoint TQWidget::pos () const" Returns the position of the widget within its parent widget. See the "pos" property for details. -.SH "bool TQWidget::qwsEvent ( QWSEvent * )\fC [virtual protected]\fR" -This special event handler can be reimplemented in a subclass to receive native Qt/Embedded events. -.PP -In your reimplementation of this function, if you want to stop the event being handled by Qt, return TRUE. If you return FALSE, this native event is passed back to Qt, which translates the event into a TQt event and sends it to the widget. -.PP -\fBWarning:\fR This function is not portable. -.PP -See also QApplication::qwsEventFilter(). .SH "void TQWidget::raise ()\fC [slot]\fR" Raises this widget to the top of the parent widget's stack. .PP diff --git a/doc/man/man3/tqwsdecoration.3qt b/doc/man/man3/tqwsdecoration.3qt deleted file mode 100644 index 76c0a4a88..000000000 --- a/doc/man/man3/tqwsdecoration.3qt +++ /dev/null @@ -1,156 +0,0 @@ -'\" t -.TH QWSDecoration 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QWSDecoration \- Allows the appearance of the Qt/Embedded Window Manager to be customized -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQWSDecoration\fR ()" -.br -.ti -1c -.BI "virtual \fB~QWSDecoration\fR ()" -.br -.ti -1c -.BI "enum \fBRegion\fR { None = 0, All = 1, Title = 2, Top = 3, Bottom = 4, Left = 5, Right = 6, TopLeft = 7, TopRight = 8, BottomLeft = 9, BottomRight = 10, Close = 11, Minimize = 12, Maximize = 13, Normalize = 14, Menu = 15, LastRegion = Menu }" -.br -.ti -1c -.BI "virtual QRegion \fBregion\fR ( const TQWidget * widget, const QRect & rect, Region type = All ) = 0" -.br -.ti -1c -.BI "virtual void \fBclose\fR ( TQWidget * widget )" -.br -.ti -1c -.BI "virtual void \fBminimize\fR ( TQWidget * widget )" -.br -.ti -1c -.BI "virtual void \fBmaximize\fR ( TQWidget * widget )" -.br -.ti -1c -.BI "virtual QPopupMenu * \fBmenu\fR ( const TQWidget *, const QPoint & )" -.br -.ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * painter, const TQWidget * widget ) = 0" -.br -.ti -1c -.BI "virtual void \fBpaintButton\fR ( QPainter * painter, const TQWidget * widget, Region type, int state ) = 0" -.br -.in -1c -.SH DESCRIPTION -The QWSDecoration class allows the appearance of the Qt/Embedded Window Manager to be customized. -.PP -Qt/Embedded provides window management to top level windows. The appearance of the borders and buttons (the decoration) around the managed windows can be customized by creating your own class derived from QWSDecoration and overriding a few methods. -.PP -This class is non-portable. It is available \fIonly\fR in Qt/Embedded. -.PP -See also QApplication::qwsSetDecoration() and Qt/Embedded. -.SS "Member Type Documentation" -.SH "QWSDecoration::Region" -This enum describes the regions in the window decorations. -.TP -\fCQWSDecoration::None\fR - used internally. -.TP -\fCQWSDecoration::All\fR - the entire region used by the window decoration. -.TP -\fCQWSDecoration::Title\fR - Displays the window title and allows the window to be moved by dragging. -.TP -\fCQWSDecoration::Top\fR - allows the top of the window to be resized. -.TP -\fCQWSDecoration::Bottom\fR - allows the bottom of the window to be resized. -.TP -\fCQWSDecoration::Left\fR - allows the left edge of the window to be resized. -.TP -\fCQWSDecoration::Right\fR - allows the right edge of the window to be resized. -.TP -\fCQWSDecoration::TopLeft\fR - allows the top-left of the window to be resized. -.TP -\fCQWSDecoration::TopRight\fR - allows the top-right of the window to be resized. -.TP -\fCQWSDecoration::BottomLeft\fR - allows the bottom-left of the window to be resized. -.TP -\fCQWSDecoration::BottomRight\fR - allows the bottom-right of the window to be resized. -.TP -\fCQWSDecoration::Close\fR - clicking in this region closes the window. -.TP -\fCQWSDecoration::Minimize\fR - clicking in this region minimizes the window. -.TP -\fCQWSDecoration::Maximize\fR - clicking in this region maximizes the window. -.TP -\fCQWSDecoration::Normalize\fR - returns a maximized window to its previous size. -.TP -\fCQWSDecoration::Menu\fR - clicking in this region opens the window operations (system) menu. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSDecoration::QWSDecoration ()" -Constructs a decorator. -.SH "QWSDecoration::~QWSDecoration ()\fC [virtual]\fR" -Destroys a decorator. -.SH "void QWSDecoration::close ( TQWidget * widget )\fC [virtual]\fR" -Called when the user clicks in the Close region. -.PP -\fIwidget\fR is the widget to be closed. -.PP -The default behaviour is to close the widget. -.SH "void QWSDecoration::maximize ( TQWidget * widget )\fC [virtual]\fR" -Called when the user clicks in the Maximize region. -.PP -\fIwidget\fR is the widget to be maximized. -.PP -The default behaviour is to resize the widget to be full-screen. This method can be overridden e.g. to allow room for launch panels. -.SH "QPopupMenu * QWSDecoration::menu ( const TQWidget *, const QPoint & )\fC [virtual]\fR" -Called to create a QPopupMenu containing the valid menu operations. -.PP -The default implementation adds all possible window operations. -.SH "void QWSDecoration::minimize ( TQWidget * widget )\fC [virtual]\fR" -Called when the user clicks in the Minimize region. -.PP -\fIwidget\fR is the widget to be minimized. -.PP -The default behaviour is to ignore this action. -.SH "void QWSDecoration::paint ( QPainter * painter, const TQWidget * widget )\fC [pure virtual]\fR" -Override to paint the border and title decoration around \fIwidget\fR using \fIpainter\fR. -.SH "void QWSDecoration::paintButton ( QPainter * painter, const TQWidget * widget, Region type, int state )\fC [pure virtual]\fR" -Override to paint a button of type \fItype\fR using \fIpainter\fR. -.PP -\fIwidget\fR is the widget whose button is to be drawn. \fIstate\fR is the state of the button. It can be a combination of the following OR-ed together: -.TP -\fCQWSButton::MouseOver\fR -.TP -\fCQWSButton::Clicked\fR -.TP -\fCQWSButton::On\fR -.SH "QRegion QWSDecoration::region ( const TQWidget * widget, const QRect & rect, Region type = All )\fC [pure virtual]\fR" -Returns the requested region \fItype\fR which will contain \fIwidget\fR -with geometry \fIrect\fR. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qwsdecoration.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqwsdecoration.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqwsinputmethod.3qt b/doc/man/man3/tqwsinputmethod.3qt deleted file mode 100644 index d933410e2..000000000 --- a/doc/man/man3/tqwsinputmethod.3qt +++ /dev/null @@ -1,105 +0,0 @@ -'\" t -.TH QWSInputMethod 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QWSInputMethod \- International input methods for Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQWSInputMethod\fR ()" -.br -.ti -1c -.BI "virtual \fB~QWSInputMethod\fR ()" -.br -.ti -1c -.BI "virtual bool \fBfilter\fR ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) = 0" -.br -.ti -1c -.BI "virtual void \fBreset\fR ()" -.br -.ti -1c -.BI "virtual void \fBsetMicroFocus\fR ( int x, int y )" -.br -.ti -1c -.BI "virtual void \fBsetFont\fR ( const QFont & )" -.br -.in -1c -.SS "Protected Members" -.in +1c -.ti -1c -.BI "void \fBsendIMEvent\fR ( QWSServer::IMState state, const TQString & txt, int cpos, int selLen = 0 )" -.br -.in -1c -.SH DESCRIPTION -The QWSInputMethod class provides international input methods for Qt/Embedded. -.PP -Subclass this class to implement your own input method. -.PP -An input methods consists of a keyboard filter and optionally a graphical interface. The keyboard filter intercepts key events from physical or virtual keyboards by implementing the filter() function. -.PP -Use sendIMEvent() to send composition events. Composition starts with the input method sending an \fCIMStart\fR event, followed by a number of \fCIMCompose\fR events and ending with an \fCIMEnd\fR event or when the virtual reset() function is called. -.PP -The functions setMicroFocus() and setFont() can be reimplemented to receive more information about the state of the focus widget. -.PP -Use QWSServer::setCurrentInputMethod() to install an input method. -.PP -See also Qt/Embedded. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSInputMethod::QWSInputMethod ()" -Constructs a new input method -.SH "QWSInputMethod::~QWSInputMethod ()\fC [virtual]\fR" -Destructs the input method uninstalling it if it is currently installed. -.SH "bool QWSInputMethod::filter ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )\fC [pure virtual]\fR" -This function must be implemented in subclasses to handle key input from physical or virtual keyboards. Returning TRUE will block the event from further processing. -.PP -The Unicode value is given in \fIunicode\fR and the key code in \fIkeycode\fR. Keyboard modifiers are OR-ed together in \fImodifiers\fR. If \fIisPress\fR is TRUE this is a key press; otherwise it is a key release. If \fIautoRepeat\fR is TRUE this is an auto-repeated key press. -.PP -All normal key events should be blocked while in compose mode (i.e., between \fCIMStart\fR and \fCIMEnd\fR). -.SH "void QWSInputMethod::reset ()\fC [virtual]\fR" -Implemented in subclasses to reset the state of the input method. -.SH "void QWSInputMethod::sendIMEvent ( QWSServer::IMState state, const TQString & txt, int cpos, int selLen = 0 )\fC [protected]\fR" -Causes a QIMEvent to be sent to the focus widget. \fIstate\fR may be one of QWSServer::IMStart, QWSServer::IMCompose or QWSServer::IMEnd. -.PP -\fItxt\fR is the text being composed (or the finished text if state is \fCIMEnd\fR). \fIcpos\fR is the current cursor position. -.PP -If state is \fCIMCompose\fR, \fIselLen\fR is the number of characters in the composition string (starting at \fIcpos\fR) that should be marked as selected by the input widget receiving the event. -.SH "void QWSInputMethod::setFont ( const QFont & )\fC [virtual]\fR" -Implemented in subclasses to handle font changes in the focus widget. -.PP -This functionality is provided for future expansion; it is not used in this version of Qt/Embedded. -.SH "void QWSInputMethod::setMicroFocus ( int x, int y )\fC [virtual]\fR" -Implemented in subclasses to handle microFocusHint changes in the focus widget. \fIx\fR and \fIy\fR are the global coordinates of the text cursor. -.PP - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qwsinputmethod.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqwsinputmethod.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqwskeyboardhandler.3qt b/doc/man/man3/tqwskeyboardhandler.3qt deleted file mode 100644 index ff3127abe..000000000 --- a/doc/man/man3/tqwskeyboardhandler.3qt +++ /dev/null @@ -1,77 +0,0 @@ -'\" t -.TH QWSKeyboardHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QWSKeyboardHandler \- Implements the keyboard driver for Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -Inherits TQObject. -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQWSKeyboardHandler\fR ()" -.br -.ti -1c -.BI "virtual \fB~QWSKeyboardHandler\fR ()" -.br -.in -1c -.SS "Protected Members" -.in +1c -.ti -1c -.BI "virtual void \fBprocessKeyEvent\fR ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )" -.br -.in -1c -.SH DESCRIPTION -The QWSKeyboardHandler class implements the keyboard driver for Qt/Embedded. -.PP -The keyboard driver handles events from system devices and generates key events. -.PP -A QWSKeyboardHandler will usually open some system device in its constructor, create a QSocketNotifier on that opened device and when it receives data, it will call processKeyEvent() to send the event to Qt/Embedded for relaying to clients. -.PP -See also Qt/Embedded. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSKeyboardHandler::QWSKeyboardHandler ()" -Constructs a keyboard handler. The handler \fImay\fR be passed to the system for later destruction with QWSServer::setKeyboardHandler(), although even without doing this, the handler can function, calling processKeyEvent() to emit events. -.SH "QWSKeyboardHandler::~QWSKeyboardHandler ()\fC [virtual]\fR" -Destroys a keyboard handler. Note that if you have called QWSServer::setKeyboardHandler(), you must not delete the handler. -.SH "void QWSKeyboardHandler::processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )\fC [virtual protected]\fR" -Subclasses call this function to send a key event. The server may additionally filter the event before sending it on to applications. -.PP -
    .nf -.TS -l - l. Parameter Meaning \fIunicode\fR The Unicode value for the key, or 0xFFFF is none is appropriate. \fIkeycode\fR The TQt keycode for the key (see TQt::Key for the list of codes). \fImodifiers\fR The set of modifier keys (see TQt::Modifier). \fIisPress\fR Whether this is a press or a release. \fIautoRepeat\fR -.TE -.fi -
    - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qwskeyboardhandler.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqwskeyboardhandler.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqwsmousehandler.3qt b/doc/man/man3/tqwsmousehandler.3qt deleted file mode 100644 index 4982b9624..000000000 --- a/doc/man/man3/tqwsmousehandler.3qt +++ /dev/null @@ -1,89 +0,0 @@ -'\" t -.TH QWSMouseHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QWSMouseHandler \- Mouse driver for Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQWSMouseHandler\fR ( const TQString & driver = TQString::null, const TQString & device = TQString::null )" -.br -.ti -1c -.BI "virtual \fB~QWSMouseHandler\fR ()" -.br -.ti -1c -.BI "virtual void \fBclearCalibration\fR ()" -.br -.ti -1c -.BI "virtual void \fBcalibrate\fR ( QWSPointerCalibrationData * )" -.br -.ti -1c -.BI "void \fBlimitToScreen\fR ( QPoint & pt )" -.br -.ti -1c -.BI "void \fBmouseChanged\fR ( const QPoint & pos, int bstate )" -.br -.ti -1c -.BI "const QPoint & \fBpos\fR () const" -.br -.in -1c -.SH DESCRIPTION -The QWSMouseHandler class is a mouse driver for Qt/Embedded. -.PP -The mouse driver handles events from system devices and generates mouse events. -.PP -A QWSMouseHandler will usually open some system device in its constructor, create a QSocketNotifier on that opened device and when it receives data, it will call mouseChanged() to send the event to Qt/Embedded for relaying to clients. -.PP -See also Qt/Embedded. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSMouseHandler::QWSMouseHandler ( const TQString & driver = TQString::null, const TQString & device = TQString::null )" -Constructs a mouse handler. This becomes the primary mouse handler. -.PP -Note that once created, mouse handlers are controlled by the system and should not be deleted. -.PP -The \fIdriver\fR and \fIdevice\fR arguments are not used by this base class. -.SH "QWSMouseHandler::~QWSMouseHandler ()\fC [virtual]\fR" -Destroys the mouse handler. You should not call this directly. -.SH "void QWSMouseHandler::calibrate ( QWSPointerCalibrationData * )\fC [virtual]\fR" -This method is reimplemented in the calibrated mouse handler to set calibration information (from, for instance, the Qtopia calibration screen). This version does nothing. -.SH "void QWSMouseHandler::clearCalibration ()\fC [virtual]\fR" -This method is reimplemented in the calibrated mouse handler to clear calibration information. This version does nothing. -.SH "void QWSMouseHandler::limitToScreen ( QPoint & pt )" -Ensures that the given point, \fIpt\fR is within the screen's boundaries, changing \fIpt\fR if necessary. -.SH "void QWSMouseHandler::mouseChanged ( const QPoint & pos, int bstate )" -When a mouse event occurs this function is called with the mouse's position in \fIpos\fR, and the state of its buttons in \fIbstate\fR. -.SH "const QPoint & QWSMouseHandler::pos () const" -Returns the mouse position. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qwsmousehandler.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqwsmousehandler.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqwsserver.3qt b/doc/man/man3/tqwsserver.3qt deleted file mode 100644 index c9c625af9..000000000 --- a/doc/man/man3/tqwsserver.3qt +++ /dev/null @@ -1,311 +0,0 @@ -'\" t -.TH QWSServer 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QWSServer \- Server-specific functionality in Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQWSServer\fR ( int flags = 0, TQObject * parent = 0, const char * name = 0 )" -.br -.ti -1c -.BI "\fB~QWSServer\fR ()" -.br -.ti -1c -.BI "enum \fBServerFlags\fR { DisableKeyboard = 0x01, DisableMouse = 0x02 }" -.br -.ti -1c -.BI "enum \fBGUIMode\fR { NoGui = FALSE, NormalGUI = TRUE, Server }" -.br -.ti -1c -.BI "void \fBsendIMEvent\fR ( IMState state, const TQString & txt, int cpos, int selLen )" -.br -.ti -1c -.BI "class \fBKeyMap\fR { }" -.br -.ti -1c -.BI "class \fBKeyOverride\fR { }" -.br -.ti -1c -.BI "class \fBKeyboardFilter\fR { }" -.br -.ti -1c -.BI "QWSWindow * \fBwindowAt\fR ( const QPoint & pos )" -.br -.ti -1c -.BI "const TQPtrList & \fBclientWindows\fR ()" -.br -.ti -1c -.BI "void \fBopenMouse\fR ()" -.br -.ti -1c -.BI "void \fBcloseMouse\fR ()" -.br -.ti -1c -.BI "void \fBopenKeyboard\fR ()" -.br -.ti -1c -.BI "void \fBcloseKeyboard\fR ()" -.br -.ti -1c -.BI "void \fBrefresh\fR ()" -.br -.ti -1c -.BI "void \fBrefresh\fR ( QRegion & r )" -.br -.ti -1c -.BI "void \fBenablePainting\fR ( bool e )" -.br -.ti -1c -.BI "QWSPropertyManager * \fBmanager\fR ()" -.br -.ti -1c -.BI "enum \fBWindowEvent\fR { Create = 0x0001, Destroy = 0x0002, Hide = 0x0004, Show = 0x0008, Raise = 0x0010, Lower = 0x0020, Geometry = 0x0040, Active = 0x0080, Name = 0x0100 }" -.br -.in -1c -.SS "Signals" -.in +1c -.ti -1c -.BI "void \fBwindowEvent\fR ( QWSWindow * w, QWSServer::WindowEvent e )" -.br -.ti -1c -.BI "void \fBnewChannel\fR ( const TQString & channel )" -.br -.ti -1c -.BI "void \fBremovedChannel\fR ( const TQString & channel )" -.br -.in -1c -.SS "Static Public Members" -.in +1c -.ti -1c -.BI "void \fBsendKeyEvent\fR ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )" -.br -.ti -1c -.BI "const KeyMap * \fBkeyMap\fR ()" -.br -.ti -1c -.BI "void \fBsetOverrideKeys\fR ( const KeyOverride * )" -.br -.ti -1c -.BI "void \fBsetKeyboardFilter\fR ( KeyboardFilter * f )" -.br -.ti -1c -.BI "void \fBsetDefaultMouse\fR ( const char * m )" -.br -.ti -1c -.BI "void \fBsetDefaultKeyboard\fR ( const char * k )" -.br -.ti -1c -.BI "void \fBsetMaxWindowRect\fR ( const QRect & r )" -.br -.ti -1c -.BI "void \fBsetDesktopBackground\fR ( const TQImage & img )" -.br -.ti -1c -.BI "void \fBsetDesktopBackground\fR ( const TQColor & c )" -.br -.ti -1c -.BI "QWSMouseHandler * \fBmouseHandler\fR ()" -.br -.ti -1c -.BI "QWSKeyboardHandler * \fBkeyboardHandler\fR ()" -.br -.ti -1c -.BI "void \fBsetKeyboardHandler\fR ( QWSKeyboardHandler * kh )" -.br -.ti -1c -.BI "void \fBsetScreenSaverIntervals\fR ( int * ms )" -.br -.ti -1c -.BI "void \fBsetScreenSaverInterval\fR ( int ms )" -.br -.ti -1c -.BI "bool \fBscreenSaverActive\fR ()" -.br -.ti -1c -.BI "void \fBscreenSaverActivate\fR ( bool activate )" -.br -.ti -1c -.BI "void \fBsetCursorVisible\fR ( bool vis )" -.br -.ti -1c -.BI "bool \fBisCursorVisible\fR ()" -.br -.in -1c -.SH DESCRIPTION -The QWSServer class provides server-specific functionality in Qt/Embedded. -.PP -When you run a Qt/Embedded application, it either runs as a server or connects to an existing server. If it runs as a server, some additional operations are provided by this class. -.PP -This class is instantiated by QApplication for Qt/Embedded server processes. You should never construct this class yourself. -.PP -A pointer to the QWSServer instance can be obtained via the global \fCqwsServer\fR variable. -.PP -The mouse and keyboard devices can be opened with openMouse() and openKeyboard(). (Close them with closeMouse() and closeKeyboard().) -.PP -The display is refreshed with refresh(), and painting can be enabled or disabled with enablePainting(). -.PP -Obtain the list of client windows with clientWindows() and find out which window is at a particular point with windowAt(). -.PP -Many static functions are provided, for example, setKeyboardFilter(), setKeyboardHandler(), setDefaultKeyboard() and setDefaultMouse(). -.PP -The size of the window rectangle can be set with setMaxWindowRect(), and the desktop's background can be set with setDesktopBackground(). -.PP -The screen saver is controlled with setScreenSaverInterval() and screenSaverActivate(). -.PP -See also Qt/Embedded. -.SS "Member Type Documentation" -.SH "QWSServer::GUIMode" -This determines what sort of QWS server to create: -.TP -\fCQWSServer::NoGui\fR - This is used for non-graphical TQt applications. -.TP -\fCQWSServer::NormalGUI\fR - A normal Qt/Embedded application (not the server). -.TP -\fCQWSServer::Server\fR - A Qt/Embedded server (e.g. if \fC-qws\fR has been specified on the command line. -.SH "QWSServer::ServerFlags" -This enum is used to pass various options to the window system server. -.TP -\fCQWSServer::DisableKeyboard\fR - Ignore all keyboard input. -.TP -\fCQWSServer::DisableMouse\fR - Ignore all mouse input. -.SH "QWSServer::WindowEvent" -This specifies what sort of event has occurred to a top-level window: -.TP -\fCQWSServer::Create\fR - A new window has been created (TQWidget constructor). -.TP -\fCQWSServer::Destroy\fR - The window has been closed and deleted (TQWidget destructor). -.TP -\fCQWSServer::Hide\fR - The window has been hidden with TQWidget::hide(). -.TP -\fCQWSServer::Show\fR - The window has been shown with TQWidget::show() or similar. -.TP -\fCQWSServer::Raise\fR - The window has been raised to the top of the desktop. -.TP -\fCQWSServer::Lower\fR - The window has been lowered. -.TP -\fCQWSServer::Geometry\fR - The window has changed size or position. -.TP -\fCQWSServer::Active\fR - The window has become the active window (has keyboard focus). -.TP -\fCQWSServer::Name\fR - The window has been named. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSServer::QWSServer ( int flags = 0, TQObject * parent = 0, const char * name = 0 )" -Construct a QWSServer object. -.PP -\fBWarning:\fR This class is instantiated by QApplication for Qt/Embedded server processes. You should never construct this class yourself. -.PP -The \fIflags\fR are used for keyboard and mouse setting. The server's parent is \fIparent\fR and it is called \fIname\fR. -.SH "QWSServer::~QWSServer ()" -Destruct QWSServer -.SH "const TQPtrList & QWSServer::clientWindows ()" -Returns the list of top-level windows. This list will change as applications add and remove wigdets so it should not be stored for future use. The windows are sorted in stacking order from top-most to bottom-most. -.SH "void QWSServer::closeKeyboard ()" -Closes keyboard device(s). -.SH "void QWSServer::closeMouse ()" -Closes the pointer device(s). -.SH "void QWSServer::enablePainting ( bool e )" -If \fIe\fR is TRUE, painting on the display is enabled; if \fIe\fR is FALSE, painting is disabled. -.SH "bool QWSServer::isCursorVisible ()\fC [static]\fR" -Returns TRUE if the cursor is visible; otherwise returns FALSE. -.PP -See also setCursorVisible(). -.SH "const KeyMap * QWSServer::keyMap ()\fC [static]\fR" -Returns the keyboard mapping table used to convert keyboard scancodes to TQt keycodes and Unicode values. It's used by the keyboard driver in \fCqkeyboard_qws.cpp\fR. -.SH "QWSKeyboardHandler * QWSServer::keyboardHandler ()\fC [static]\fR" -Returns the primary keyboard handler. -.SH "QWSPropertyManager * QWSServer::manager ()" -Returns the QWSPropertyManager, which is used for implementing X11-style window properties. -.SH "QWSMouseHandler * QWSServer::mouseHandler ()\fC [static]\fR" -Returns the primary mouse handler. -.SH "void QWSServer::newChannel ( const TQString & channel )\fC [signal]\fR" -This signal is emitted when the QCopChannel \fIchannel\fR is created. -.SH "void QWSServer::openKeyboard ()" -Opens the keyboard device(s). -.SH "void QWSServer::openMouse ()" -Opens the mouse device(s). -.SH "void QWSServer::refresh ()" -Refreshes the entire display. -.SH "void QWSServer::refresh ( QRegion & r )" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Refreshes the region \fIr\fR. -.SH "void QWSServer::removedChannel ( const TQString & channel )\fC [signal]\fR" -This signal is emitted immediately after the QCopChannel \fIchannel\fR is destroyed. Note that a channel is not destroyed until all its listeners have unregistered. -.SH "void QWSServer::screenSaverActivate ( bool activate )\fC [static]\fR" -If \fIactivate\fR is TRUE the screensaver is activated immediately; if \fIactivate\fR is FALSE the screensaver is deactivated. -.SH "bool QWSServer::screenSaverActive ()\fC [static]\fR" -Returns TRUE if the screensaver is active (i.e. the screen is blanked); otherwise returns FALSE. -.SH "void QWSServer::sendIMEvent ( IMState state, const TQString & txt, int cpos, int selLen )" -This function sends an input method event to the server. The current state is passed in \fIstate\fR and the current text in \fItxt\fR. The cursor's position in the text is given by \fIcpos\fR, and the selection length (which could be 0) is given in \fIselLen\fR. -.SH "void QWSServer::sendKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )\fC [static]\fR" -Send a key event. You can use this to send key events generated by" virtual keyboards". \fIunicode\fR is the Unicode value of the key to send, \fIkeycode\fR the TQt keycode (e.g. \fCKey_Left\fR), \fImodifiers\fR indicates whether, Shift/Alt/Ctrl keys are pressed, \fIisPress\fR is TRUE if this is a key down event and FALSE if it's a key up event, and \fIautoRepeat\fR is TRUE if this is an autorepeat event (i.e. the user has held the key down and this is the second or subsequent key event being sent). -.SH "void QWSServer::setCursorVisible ( bool vis )\fC [static]\fR" -If \fIvis\fR is TRUE, makes the cursor visible; if \fIvis\fR is FALSE, makes the cursor invisible. -.PP -See also isCursorVisible(). -.SH "void QWSServer::setDefaultKeyboard ( const char * k )\fC [static]\fR" -Set the keyboard driver to \fIk\fR, e.g. if \fC$QWS_KEYBOARD\fR is not defined. The default is platform-dependent. -.SH "void QWSServer::setDefaultMouse ( const char * m )\fC [static]\fR" -Set the mouse driver \fIm\fR to use if \fC$QWS_MOUSE_PROTO\fR is not defined. The default is platform-dependent. -.SH "void QWSServer::setDesktopBackground ( const TQImage & img )\fC [static]\fR" -Sets the image \fIimg\fR to be used as the background in the absence of obscuring windows. -.SH "void QWSServer::setDesktopBackground ( const TQColor & c )\fC [static]\fR" -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.PP -Sets the color \fIc\fR to be used as the background in the absence of obscuring windows. -.SH "void QWSServer::setKeyboardFilter ( KeyboardFilter * f )\fC [static]\fR" -Adds a filter \fIf\fR to be invoked for all key events from physical keyboard drivers (events sent via processKeyEvent()). -.PP -The filter is not invoked for keys generated by virtual keyboard drivers (events sent via sendKeyEvent()). -.PP -If \fIf\fR is 0, the most-recently added filter is removed and deleted. The caller is responsible for matching each addition with a corresponding removal. -.SH "void QWSServer::setKeyboardHandler ( QWSKeyboardHandler * kh )\fC [static]\fR" -Sets the primary keyboard handler to \fIkh\fR. -.SH "void QWSServer::setMaxWindowRect ( const QRect & r )\fC [static]\fR" -Sets the area of the screen which Qt/Embedded applications will consider to be the maximum area to use for windows to \fIr\fR. -.PP -See also TQWidget::showMaximized(). -.SH "void QWSServer::setScreenSaverInterval ( int ms )\fC [static]\fR" -Sets the timeout for the screensaver to \fIms\fR milliseconds. A setting of zero turns off the screensaver. -.SH "void QWSServer::setScreenSaverIntervals ( int * ms )\fC [static]\fR" -Sets an array of timeouts for the screensaver to a list of \fIms\fR milliseconds. A setting of zero turns off the screensaver. The array must be 0-terminated. -.SH "QWSWindow * QWSServer::windowAt ( const QPoint & pos )" -Returns the window containing the point \fIpos\fR or 0 if there is no window under the point. -.SH "void QWSServer::windowEvent ( QWSWindow * w, QWSServer::WindowEvent e )\fC [signal]\fR" -This signal is emitted whenever something happens to a top-level -window (e.g. it's created or destroyed). \fIw\fR is the window to -which the event of type \fIe\fR has occurred. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qwsserver.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqwsserver.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqwswindow.3qt b/doc/man/man3/tqwswindow.3qt deleted file mode 100644 index 7e9af8805..000000000 --- a/doc/man/man3/tqwswindow.3qt +++ /dev/null @@ -1,140 +0,0 @@ -'\" t -.TH QWSWindow 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -QWSWindow \- Server-specific functionality in Qt/Embedded -.SH SYNOPSIS -\fC#include \fR -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBQWSWindow\fR ( int i, QWSClient * client )" -.br -.ti -1c -.BI "\fB~QWSWindow\fR ()" -.br -.ti -1c -.BI "int \fBwinId\fR () const" -.br -.ti -1c -.BI "const TQString & \fBname\fR () const" -.br -.ti -1c -.BI "const TQString & \fBcaption\fR () const" -.br -.ti -1c -.BI "QWSClient * \fBclient\fR () const" -.br -.ti -1c -.BI "QRegion \fBrequested\fR () const" -.br -.ti -1c -.BI "QRegion \fBallocation\fR () const" -.br -.ti -1c -.BI "bool \fBisVisible\fR () const" -.br -.ti -1c -.BI "bool \fBisPartiallyObscured\fR () const" -.br -.ti -1c -.BI "bool \fBisFullyObscured\fR () const" -.br -.ti -1c -.BI "void \fBraise\fR ()" -.br -.ti -1c -.BI "void \fBlower\fR ()" -.br -.ti -1c -.BI "void \fBshow\fR ()" -.br -.ti -1c -.BI "void \fBhide\fR ()" -.br -.ti -1c -.BI "void \fBsetActiveWindow\fR ()" -.br -.in -1c -.SH DESCRIPTION -The QWSWindow class provides server-specific functionality in Qt/Embedded. -.PP -When you run a Qt/Embedded application, it either runs as a server or connects to an existing server. If it runs as a server, some additional functionality is provided by the QWSServer class. -.PP -This class maintains information about each window and allows operations to be performed on the windows. -.PP -You can get the window's name(), caption() and winId(), along with the client() that owns the window. -.PP -The region the window wants to draw on is returned by requested(); the region that the window is allowed to draw on is returned by allocation(). -.PP -The visibility of the window can be determined using isVisible(), isPartiallyObscured() and isFullyObscured(). Visibility can be changed using raise(), lower(), show(), hide() and setActiveWindow(). -.PP -See also Qt/Embedded. -.SH MEMBER FUNCTION DOCUMENTATION -.SH "QWSWindow::QWSWindow ( int i, QWSClient * client )" -Constructs a new top-level window, associated with the client \fIclient\fR and giving it the id \fIi\fR. -.SH "QWSWindow::~QWSWindow ()" -Destructor. -.SH "QRegion QWSWindow::allocation () const" -Returns the region that the window is allowed to draw onto, including any window decorations but excluding regions covered by other windows. -.PP -See also requested(). -.SH "const TQString & QWSWindow::caption () const" -Returns the window's caption. -.SH "QWSClient * QWSWindow::client () const" -Returns the QWSClient that owns this window. -.SH "void QWSWindow::hide ()" -Hides the window. -.SH "bool QWSWindow::isFullyObscured () const" -Returns TRUE if the window is completely obsured by another window or by the bounds of the screen; otherwise returns FALSE. -.SH "bool QWSWindow::isPartiallyObscured () const" -Returns TRUE if the window is partially obsured by another window or by the bounds of the screen; otherwise returns FALSE. -.SH "bool QWSWindow::isVisible () const" -Returns TRUE if the window is visible; otherwise returns FALSE. -.SH "void QWSWindow::lower ()" -Lowers the window below other windows. -.SH "const TQString & QWSWindow::name () const" -Returns the window's name. -.SH "void QWSWindow::raise ()" -Raises the window above all other windows except "Stay on top" windows. -.SH "QRegion QWSWindow::requested () const" -Returns the region that the window has requested to draw onto, including any window decorations. -.PP -See also allocation(). -.SH "void QWSWindow::setActiveWindow ()" -Make this the active window (i.e. sets the keyboard focus to this window). -.SH "void QWSWindow::show ()" -Shows the window. -.SH "int QWSWindow::winId () const" -Returns the window's Id. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/qwswindow.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqwswindow.3qt) and the Qt -version (3.3.8). diff --git a/doc/misc.doc b/doc/misc.doc index 8da1b08b8..bf4d566be 100644 --- a/doc/misc.doc +++ b/doc/misc.doc @@ -302,14 +302,6 @@ others, and free use of TQt Open Source Edition for development of free and open software. There is \link http://www.trolltech.com/qpl/ more information about the QPL\endlink at the Trolltech web site. -Note that the Qt/Embedded Open Source Edition is not distributed -under the QPL, but under the \link gpl.html GNU General Public -License (GPL)\endlink. - -For development non-free/proprietary software, the TQt Professional -Edition is available. It has a normal commercial library license, with -none of the special restrictions of the QPL or the GPL. -
    @@ -444,11 +436,10 @@ by Oslo City Court. /*! \page gpl.html \title GNU General Public License - The TQt GUI Toolkit is Copyright (C) 1994-2008 Trolltech ASA. + The TQt GUI Toolkit is an enhanced fork of the Open Source Edition of the + Trolltech Qt GUI toolkit, version 3. It is available under the GPL license. - The TQt Open Source Edition and the Qt/Embedded Open Source Edition are available - under the GPL. The TQt Open Source Edition (for Unix/X11) is also available - under the \link license.html QPL\endlink. + The original Qt3 GUI Toolkit is Copyright (C) 1994-2008 Trolltech ASA. \code You may use, distribute and copy the TQt GUI Toolkit under the terms of @@ -813,13 +804,6 @@ multi-platform C++ GUI toolkit. TQt enables you to build professional, efficient, portable and maintainable GUI applications quickly and easily. -\link http://www.trolltech.com/products/embedded/index.html -Qt/Embedded\endlink, the embedded version of Qt, is designed to power -todays new generation of embedded computers and electronic consumer -devices. On top of that, \link -http://www.trolltech.com/products/qtopia/index.html Qtopia\endlink -provides a window system and application suite for handheld devices. - \section1 Software that makes Sense Our motto expresses the vision behind our products. We design our diff --git a/doc/overviews-list.doc b/doc/overviews-list.doc index 266640713..a55d582d2 100644 --- a/doc/overviews-list.doc +++ b/doc/overviews-list.doc @@ -79,7 +79,6 @@ \header \i General -\i Qt/Embedded \row \i @@ -109,26 +108,6 @@ \i \link distributingntqt.html Deploying TQt Applications\endlink \omit \i \link xt.html TQt Xt/Motif Support Extension \endlink \endomit \endlist - -\i - \list - \i \link emb-tqvfb.html QVFb tool - virtual framebuffer for Qt/Embedded \endlink -

     

    - \i \link emb-install.html Installing Qt/Embedded \endlink - \i \link emb-features.html The Feature Definition File \endlink - \i \link emb-classes.html The Qt/Embedded-specific classes \endlink - \i \link emb-accel.html Adding an accelerated graphics driver to Qt/Embedded \endlink - \i \link emb-framebuffer-howto.html Enabling the Linux Framebuffer \endlink - \i \link emb-running.html Running Qt/Embedded applications \endlink - \i \link emb-charinput.html Character input in Qt/Embedded \endlink - \i \link emb-fonts.html Fonts in Qt/Embedded \endlink - \i \link emb-pointer.html Qt/Embedded Pointer Handling \endlink - \i \link emb-envvars.html Qt/Embedded environment variables \endlink - \i \link emb-porting.html Porting your applications to Qt/Embedded \endlink - \i \link embedporting.html Issues when porting Qt/Embedded to another OS \endlink - \i \link emb-performance.html Qt/Embedded Performance Tuning \endlink - \i \link emb-vnc.html Qt/Embedded as a VNC Server \endlink - \endlist \endtable */ diff --git a/doc/qws.doc b/doc/qws.doc deleted file mode 100644 index 3c68a04f1..000000000 --- a/doc/qws.doc +++ /dev/null @@ -1,670 +0,0 @@ -/**************************************************************************** -** -** Qt/Embedded (Qt on QWS) documentation -** -** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! -\page emb-install.html - -\title Installing Qt/Embedded - -This installation procedure is written for Linux. It may need -to be modified for other platforms. - -\list 1 -\i Unpack the archive if you have not done so already - -\code - cd - gunzip qt-embedded-commercial-VERSION.tar.gz # uncompress the archive - tar xf qt-embedded-commercial-VERSION.tar # unpack it -\endcode -Replace \c VERSION with the Qt/Embedded version number throughout. - -This document assumes that the archive is installed as \c{~/qt-embedded-commercial-VERSION}. -\i Compile the Qt/Embedded library and examples. - -\code - cd ~/qt-embedded-commercial-VERSION - export TQTDIR=~/qt-embedded-commercial-VERSION - ./configure - make -\endcode - -The configuration system is designed to allow platform-specific options -to be added, but in general all Linux systems which have framebuffer -support can use the "linux-generic-g++" platform. -The configuration system also supports cross-compilers: -to build on Linux/x86 for the Linux/MIPSEL target, you would use: -\code - ./configure -embedded mips -\endcode - -Only a small number of configurations are predefined. -You can create your own custom configuration by adding new files - to the \c mkspecs/qws/ directory. Use existing similar configurations - as a starting point. - -Note: Due to a bug in the configure script, cross-compiling on -a little-endian machine (e.g. x86) for a big-endian processor -(e.g. PowerPC) will use the host's endianness instead of the -target's. Workaround: after running configure, and before running -make, edit \c $TQTDIR/include/ntqconfig.h and change the definition of -\c TQ_BYTE_ORDER. - -\i Enable framebuffer support. - - You may need to recompile your kernel to enable the framebuffer. - This document does not describe how to do this; the - \link emb-framebuffer-howto.html Framebuffer HOWTO page \endlink - contains a short description. (You should see - a penguin logo at boot time when the frame buffer is enabled.) - - For Matrox G100/G200/G400 use the matrox frame buffer driver. - - For NVidia TNT cards use the nvidia frame buffer driver. - - For Mach64 and most other cards, use the vesafb driver. - - Note that some cards are only supported in VGA16 mode, this will - not work with the current version of Qt/Embedded, since VGA/16 is - not yet supported. You may need to upgrade your kernel, or even - switch to an experimental kernel. - - The frame buffer must also be enabled with a boot parameter. See - \c /usr/src/linux/Documentation/fb for details. - - The \c fbset program, which should be included in Linux distributions, - may be used to switch video modes without rebooting the system. The - video mode active when the server is started will be used. (8-bit - modes are still experimental.) Note: \c fbset does not work - with the vesafb driver. - -\i Change permissions. - - To run Qt/Embedded, you need write access to the framebuffer device - \c /dev/fb0. - - You also need read access to the mouse device. (Note that - \c /dev/mouse is normally a symbolic link; the actual mouse device - must be readable.) - -\i How to run the demonstration program. - - Log into a virtual console and do this: - -\code - cd ~/qt-embedded-commercial-VERSION/examples/launcher - ./start-demo -\endcode - - -\i Miscellaneous troubleshooting and known bugs. - - To kill gpm, run the following command as root: - -\code - gpm -k -\endcode - - In some cases, if the server does not work, it will work when run as root. - - Show processes using the framebuffer: - -\code - fuser -v /dev/fb0 -\endcode - - Kill such processes: -\code - fuser -vk /dev/fb0 -\endcode - or harsher: -\code - fuser -k -KILL /dev/fb0 -\endcode - - Show existing semaphores: -\code - ipcs -\endcode - - Remove semaphores: -\code - ipcrm -\endcode - - The communication between client and server is done through the - named pipe \c /tmp/qtembedded-username/QtEmbedded-0; sometimes it may need to be deleted - (e.g. if you run Qt/Embedded with root privileges then later as an unprivileged user). - -\i Customization. - - The Qt/Embedded library can be reduced in size by - \link emb-features.html removing unnecessary features \endlink. - -\i This document shows how to use Qt/Embedded with the Linux framebuffer. For -development and debugging purposes it is often easier to use the \link -emb-tqvfb.html Qt/Embedded virtual framebuffer\endlink instead. - - -\endlist - -*/ - -/*! \page emb-fonts.html - -\title Fonts in Qt/Embedded - -\section1 Supported Formats - -Qt/Embedded supports four font formats: - -\table -\row -\i TrueType (TTF) -\i The scalable font technology now standard on MS-Windows and Apple -Macintosh, and becoming popular on X11. -\row -\i Postscript Type1 (PFA/PFB) -\i Scalable fonts often used by printers, also popular on X11. These -are similar in functionality to TTF fonts and are not discussed -further in this document. -\row -\i Bitmap Distribution Format
    fonts (BDF)
    -\i A standard format for non-scalable fonts. A large number of BDF -fonts are supplied as part of standard X11 distributions - most of -these can be used with Qt/Embedded. You should \e not use these in a -production system: they are very slow to load and take up a \e lot of -storage space. Instead, render the BDF to a QPF. -\row -\i TQt Prerendered Font (QPF) -\i A light-weight non-scalable font format specific to Qt/Embedded. -\endtable - -Support for each of these font formats (except QPF which is always -enabled) can be enabled or disabled independently by using the \link -emb-features.html Qt/Embedded Features Definition\endlink. There is -support in Qt/Embedded for writing a QPF font file from any font, so -you can initially enable TTF and BDF formats, save QPF files for the -fonts and sizes you need, then remove TTF and BDF support. - -See \link maketqpf.html tools/maketqpf\endlink for a tool that helps -produce QPF files from the TTF and BDF, or just run your application -with the \c -savefonts option. - -\section1 Memory Requirements - -With TTF fonts, each character in the font at a given point size is -only rendered when first used in a drawing or metrics operation. With -BDF fonts all characters are rendered when the font is used. -With QPF fonts, the characters are stored in the same format that Qt -uses for drawing. - -For example, a 10-point Times font containing the ASCII characters uses -around 1300 bytes when stored in QPF format. - -Taking advantage of the way the QPF format is structured, Qt/Embedded -memory-maps the data rather than reading and parsing it. -This reduces RAM consumption even further. - -Scalable fonts use a larger amount of memory per font, but -these fonts provide a memory saving if many different sizes of each -font are needed. - -\section1 Smooth Fonts - -TTF, PFA, and QPF fonts can be rendered as \e{smooth} anti-aliased -fonts to give superior readability, especially on low-resolution -devices. The difference between smooth and non-smooth fonts is -illustrated below (you may need to change your display to low -resolution to see the difference): - -\img unsmooth.png unsmooth - -\img smooth.png smooth - -\section1 Unicode - -All fonts used by Qt/Embedded use the Unicode character encoding. -Most fonts available today use this encoding, but they usually don't -contain all the Unicode characters. A \e complete 16-point Unicode -font uses over 1 MB of memory. - -\section1 The font definition file - -When Qt/Embedded applications run, they look for a file called -\c $TQTDIR/lib/fonts/fontdir or -\c /usr/local/qt-embedded/lib/fonts/fontdir. This file defines the -fonts available to the application. It has the following format: -\quote - \e name \e file \e renderer \e italic \e weight \e size \e flags -\endquote -where - -\table -\header \i Field \i Value -\row \i \e name \i \c Helvetica, \c Times, etc. -\row \i \e file \i \c helvR0810.bdf, \c verdana.ttf, etc. -\row \i \e renderer \i \c BDF or \c FT -\row \i \e italic \i \c y or \c n -\row \i \e weight \i \c 50 is normal, \c 75 is bold, etc. -\row \i \e size \i \c 0 for scalable or point size * 10 (i.e. \c 120 - for 12pt) -\row \i \e flags \i \list - \i \c s: smooth (anti-aliased) - \i \c u: Unicode range when saving (default is Latin-1) - \i \c a: ASCII range when saving (default is Latin-1) - \endlist -\endtable - -The font definition file does not specify QPF fonts; these are loaded -directly from the directory containing the \c fontdir file, and must -be named \e {name}_\e {size}_\e {weight}\e {italicflag}.qpf, where - -\table -\header \i Field \i Value -\row \i \e name \i \c helvetica, \c times, etc. (in lowercase) -\row \i \e size \i point size * 10 (i.e. \c 120 for 12pt) -\row \i \e italicflag \i \c i for italic, otherwise nothing. -\row \i \e weight \i \c 50 is normal, \c 75 is bold, etc. -\endtable - -If an application is run with the \c -savefonts command-line option, -then whenever a font other than a QPF font is used, a corresponding QPF file -is saved. This allows you to easily find the font usage of your applications -and to generate QPF files so that you can eventually reduce the memory -usage of your applications by disabling TTF and BDF support from Qt/Embedded, -or by modifying the initialization of \c qws_savefonts in -\c kernel/qapplication_qws.cpp of the Qt/Embedded library source code. -In extreme cases of memory-saving, it is possible to save partially-rendered -fonts (i.e. only the characters in "Product NameTM") if you are -certain that these are the only characters you will need from the font. -See QMemoryManager::savePrerenderedFont() for this functionality. - -\section1 Notes - -The font definition file, naming conventions for font files, and the format -of QPF files may change in versions of Qt/Embedded after 3. -

    -To generate QPF files of different rotations, the program must be re-run with -an orientation that matches the desired rotation of the QPF output. An example to -generate all 4 rotations of fonts would be to run the following at a real framebuffer: -

    -for dpy in LinuxFb Transformed:Rot90 Transformed:Rot180 Transformed:Rot270
    -do
    -    QWS_DISPLAY=$dpy ./maketqpf "$@"
    -done
    -
    -If programs are only ever run in one orientation on a device, only the one -appropriate set of fonts is needed. -

    -When enabled, Qt/Embedded uses the powerful FreeType2 library to implement -TrueType and Type1 support. - -*/ - -/*! \page emb-running.html - -\title Running Qt/Embedded applications - -A Qt/Embedded application requires a master application to be running -or to be a master application itself. The master application is -primarily responsible for managing top-level window regions, and -pointer and keyboard input. - -Any Qt/Embedded application can be a master application by -constructing the QApplication object with the -\e{QApplication::GuiServer} type, or by being run with the \e{-qws} -command line option. - -This document assumes you have the Linux framebuffer configured correctly -and no master process is running. If you do not have a working Linux -framebuffer you can use the -\link emb-tqvfb.html Qt/Embedded virtual framebuffer\endlink, or you can -run Qt/Embedded as a \link emb-vnc.html VNC server\endlink. - -Change to a Linux console and select an example to run, e.g. \c -examples/widgets. Make sure $TQTDIR is set to the directory where you -installed Qt/Embedded and add the $TQTDIR/lib directory to -$LD_LIBRARY_PATH, e.g.: -\code -export TQTDIR=$HOME/qt-VERSION -export LD_LIBRARY_PATH=$TQTDIR/lib:$LD_LIBRARY_PATH -\endcode - -Run the application with the \e{-qws} option: - -\code -cd $TQTDIR/examples/widgets -./widgets -qws -\endcode - -You should see the \c widgets example appear. If your mouse doesn't -work correctly you must specify the type of mouse to use. You can -exit the master application at any time using -Ctrl+Alt+Backspace. - -If you wish to run additional applications you should run them as clients -i.e. without the \e{-qws} option. - -\section1 Displays - -Qt/Embedded allows multiple displays to be used simultaneously by running -multiple Qt/Embedded master processes. This is achieved using the -display -command line parameter or the $QWS_DISPLAY environment variable. - -The -display parameter's syntax is: -\code - [gfx driver][:driver specific options][:display number] -\endcode -For example, if you want to use the mach64 driver on fb1 as display 2: -\code - $ ./launcher -display Mach64:/dev/fb1:2 -\endcode - -To try this functionality you can do the following: -\list 1 -\i Change to VC 1 (virtual console one) and run the launcher: - -\code - $ cd examples/launcher - $ ./launcher -\endcode - -\i Switch to VC 2 and run another one: - -\code - $ cd examples/launcher - $ ./launcher -display :1 -\endcode - -Another launcher will be started. Start an application in this launcher. - -\i Press Ctrl+Alt+F1 - back to display 0. You can also start -additional applications on a particular display by specifying the -display id. Change to VC 3: - -\code - $ cd examples/widgets - $ ./widgets -display :1 -\endcode - -will display the widgets example on dislpay :1 (VC 2). -\endlist - -Only the master process needs to specify the driver/device part -explicitly. The clients get the information they need from the master -when they connect. So once you have a master server running using a -particular driver, you can just use "client -display :n" to use -display n. - -\section1 Mouse Input - -Qt/Embedded attempts to autodetect a mouse by default. The supported -protocols are MouseMan, Microsoft, IntelliMouse and -some other devices specific to certain hardware (e.g. Vr touch panel). -To specify the mouse to use set the \c $QWS_MOUSE_PROTO environment -variable, e.g.: -\code -export QWS_MOUSE_PROTO=IntelliMouse -\endcode - -The mouse autodetection opens the serial devices and psaux which -may cause conflicts with other programs using those devices. If -this is the case then specify the mouse driver protocol and device -explicitly. - -\sa \link emb-pointer.html Qt/Embedded Pointer Handling \endlink - -*/ - -/*! \page emb-porting.html - -\title Porting your applications to Qt/Embedded - -Existing TQt applications should require no porting provided there is no -platform dependent code. Platform dependent code includes system calls, -calls to the underlying window system (Windows or X11), and TQt platform -specific methods such as QApplication::x11EventFilter(). - -For cases where it is necessary to use platform dependent code there are -macros defined that can be used to enable/disable code for each platform -using \c #ifdef directives: - -\table -\header \i Platform \i Macro -\row \i Qt/X11 \i TQ_WS_X11 -\row \i Qt/Windows \i TQ_WS_WIN -\row \i Qt/Embedded \i TQ_WS_QWS -\endtable - -Qt/Embedded also requires the following flags to be defined when compiling -applications: -\code --DQWS -fno-exceptions -fno-rtti -\endcode - -Exceptions and RTTI are disabled in Qt/Embedded because they incur a large -overhead in both size and speed. -*/ - - -/*! \page emb-pointer.html -\title Qt/Embedded Pointer Handling - -Pointer handling in Qt/Embedded works for any mouse or mouse-like -device such as touchpanels and trackballs. - -Usually only one pointer device is supported in an embedded device, -but for demonstration purposes, Qt/Embedded includes a large number of -supported devices. - -\section1 Mouse Protocols - -Mouse drivers can be enabled/disabled via the configure script. Running -./configure -help lists the available mouse drivers. Only the -"pc" mouse driver is enabled in the default configuration. - -Provided the "pc" mouse driver is enabled, Qt/Embedded auto-detects the -mouse type and device if it is one of -the supported types on \c /dev/psaux or one of the \c /dev/ttyS? -serial lines. If multiple mice are detected, all may be used simultaneously. - -Alternatively, you may set the environment variable \c QWS_MOUSE_PROTO -to determine which mouse to use. This environment variable may be set -to: -\quote - \e{\}\c{:}\e{\} -\endquote -where \e{\} is one of: -\list - \i MouseMan - \i IntelliMouse - \i Microsoft -\endlist -and \e{\} is the mouse device, often \c /dev/mouse. If no -such variable is specified, the built-in default is \c Auto, which -enables auto-detection of the mouse protocol and device. - -To add another protocol, new subclasses of QWSMouseHandler and -QMouseDriverPlugin can be written and installed as plugins. - -\section1 Touch Panels - -Qt/Embedded ships with support for the NEC Vr41XX touchpanel and the -emerging linux touchpanel standard used by the iPAQ and Zaurus. These -are subclasses of QWSCalibratedMouseHandler which is in turn a subclass -of QWSMouseHandler in \c embedded/qmouse_qws.cpp. -*/ - - -/*! \page emb-performance.html -\title Qt/Embedded Performance Tuning - -When building embedded applications on low-powered devices, a number -of options are available that would not be considered in a desktop -application environment. These options reduce the memory and/or CPU -requirements at the cost of other factors. - -\list -\i \link emb-features.html Tuning the functionality of Qt\endlink -\i \link #general General programming style\endlink -\i \link #static Static vs. Dynamic linking\endlink -\i \link #alloc Alternative memory allocation\endlink -\endlist - -\target general -\section1 General programming style - -The following guidelines will improve CPU performance: -\list - \i Create dialogs and widgets once, then TQWidget::hide() and - TQWidget::show() them, rather than creating them and deleting - them every time they are needed. - This will use a little more memory, but will be much faster. - Try to create them the first time "lazily" to avoid slow - startup (e.g. only create a Find dialog the first time the - user invokes it). -\endlist - -\target static -\section1 Static vs. Dynamic linking - -A lot of CPU and memory is used by the ELF linking process. You can -make significant savings by using a static build of your application -suite. This means that rather than having a dynamic library (\c -libtqte.so) and a collection of executables which link dynamically to -that library, you build all the applications into a single executable -and statically link that with a static library (\c libtqt.a). This -improves start-up time, and reduces memory usage, at the expense of -flexibility (to add a new application, you must recompile the single -executable) and robustness (if one application has a bug, it might -harm other applications). If you need to install end-user -applications, this may not be an option, but if you are building a -single application suite for a device with limited CPU power and -memory, this option could be very beneficial. - -To compile TQt as a static library, add the \c -static options when -you run configure. - -To build your application suite as an all-in-one application, design each -application as a stand-alone widget or set of widgets, with only minimal -code in the main() function. Then, write an application that gives -some way to switch between the applications (e.g. a TQIconView). -\link http://www.trolltech.com/products/qtopia/index.html Qtopia -\endlink is an example of this. It can be built either as a set of -dynamically linked executables, or as a single static application. - -Note that you should generally still link dynamically against the -standard C library and any other libraries which might be used by -other applications on your device. - -\target alloc -\section1 Alternative memory allocation - -We have found that the libraries shipped with some C++ compilers on -some platforms have poor performance in the built-in "new" and "delete" -operators. You might gain performance by re-implementing these -functions. For example, you can switch to the plain C allocators -by adding the following to your code: - -\code - void* operator new[]( size_t size ) - { - return malloc( size ); - } - - void* operator new( size_t size ) - { - return malloc( size ); - } - - void operator delete[]( void *p ) - { - free( p ); - } - - void operator delete[]( void *p, size_t size ) - { - free( p ); - } - - void operator delete( void *p ) - { - free( p ); - } - - void operator delete( void *p, size_t size ) - { - free( p ); - } -\endcode -*/ - -/*! \page emb-vnc.html - -\title Qt/Embedded as a VNC Server - -The \link http://www.uk.research.att.com/vnc/ VNC \endlink protocol -allows you to view and interact with the computer's display from -anywhere on the network. - -To use Qt/Embedded in this way, \c configure TQt with the \c -qt-gfx-vnc -option, and ensure that you also enable 16-bit display support. Run -your application via: -\code - application -display VNC:0 -\endcode -then, run a VNC client pointing at the machine that is running your -application. For example, using the X11 VNC client to view the -application from the same machine: -\code - vncviewer localhost:0 -\endcode - -By default, Qt/Embedded will create a 640 by 480 pixel display. You -can change this by setting the \c QWS_SIZE environment variable to -another size, e.g. \c QWS_SIZE=240x320. - -VNC clients are available for a vast array of display systems: X11, -Windows, Amiga, DOS, VMS, and dozens of others. - -The \link emb-tqvfb.html TQt Virtual Framebuffer \endlink is an alternative -technique. It uses shared memory and thus is much faster and smoother, but -it does not operate over a network. - -*/ diff --git a/doc/tools-list.doc b/doc/tools-list.doc index 5852b36e9..a844c08e9 100644 --- a/doc/tools-list.doc +++ b/doc/tools-list.doc @@ -16,10 +16,6 @@ \i \link qmake-manual.book qmake \endlink - create Makefiles from simple platform-independent project files \i \link qembed.html qembed\endlink - convert data, e.g. images, into C++ code - \i \link emb-tqvfb.html tqvfb\endlink - run and test embedded - applications on the desktop - \i \link maketqpf.html maketqpf\endlink - create pre-rendered fonts - for embedded devices \i \link moc.html moc\endlink - the Meta Object Compiler \i \link uic.html uic\endlink - the User Interface Compiler \i \c qtconfig - a Unix-based TQt configuration tool with online help diff --git a/doc/tqvfb.doc b/doc/tqvfb.doc deleted file mode 100644 index d94910e91..000000000 --- a/doc/tqvfb.doc +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** -** -** Qt/Embedded Virtual Framebuffer -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! \page emb-tqvfb.html - -\title Qt/Embedded Virtual Framebuffer - -The virtual framebuffer allows Qt/Embedded programs to be developed on -a desktop machine, without switching between consoles and X11. - -The virtual framebuffer is located in \c $TQTDIR/tools/tqvfb. - -\section1 Using the Virtual Framebuffer - -\list 1 -\i Configure Qt/Embedded with the \c -tqvfb argument and compile the library: - \code - ./configure -tqvfb - make - \endcode -\i Compile \c tqvfb as a normal Qt/X11 application and run it. Do \e not - compile it as a Qt/Embedded application. -\i Start a Qt/Embedded master application (i.e., construct - QApplication with the QApplication::GuiServer flag or use the \c - -qws command line parameter). You can specify to the server that - you wish to use the virtual framebuffer driver, e.g.: - \code - masterapp -qws -display QVFb:0 - \endcode -\i Qt/Embedded will autodetect tqvfb, so you can omit the \c -display - command line parameter if you know that tqvfb is running, and that - the Qt/Embedded library supports tqvfb. (If this is not the case, - Qt/Embedded will write to the real framebuffer, and your X11 - display will be corrupted.) - -\endlist - -\c tqvfb supports the following command line options: - -\table -\header \i Option \i Meaning -\row -\i \c -width \e width -\i the width of the virtual framebuffer (default: 240). -\row -\i \c -height \e height -\i the height of the virtual framebuffer (default: 320). -\row -\i \c -depth \e depth -\i the depth of the virtual framebuffer (1, 8 or 32; default: 8). -\row -\i \c -nocursor -\i do not display the X11 cursor in the framebuffer window. -\row -\i \c -qwsdisplay \e :id -\i the Qt/Embedded display id to provide (default: :0). -\endtable - -\section1 Virtual Framebuffer Design - -The virtual framebuffer emulates a framebuffer using a shared memory region -(the virtual frame buffer) and a utility to display the framebuffer in a -window (\c tqvfb). The regions of the display that have changed are updated -periodically, so you will see discrete snapshots of the framebuffer rather -than each individual drawing operation. For this reason drawing problems -such as flickering may not be apparent until the program is run using a real -framebuffer. - -The target refresh rate can be set via the View|Refresh Rate -menu item. This will cause \c tqvfb to check for updated regions more -frequently. The rate is a target only. If little drawing is being -done, the framebuffer will not show any updates between drawing -events. If an application is displaying an animation the updates will -be frequent, then the application and \c tqvfb will compete for -processor time. - -Mouse and keyboard events are passed to the Qt/Embedded master process via -named pipes. - -The virtual framebuffer is a development tool only. No security issues have -been considered in the virtual framebuffer design. It should be avoided -in a production environment; do not configure production libraries with \c -tqvfb. - -*/ diff --git a/doc/winsystem.doc b/doc/winsystem.doc index 88f612aae..634584c40 100644 --- a/doc/winsystem.doc +++ b/doc/winsystem.doc @@ -103,21 +103,4 @@ When compiling for this platform, the macro \c{TQ_WS_MACX} is defined. \i \link mac-differences.html Qt/Mac issues\endlink \endlist -\target qws -\section1 Qt/Embedded - -When compiling for this platform, the macro \c{TQ_WS_QWS} is defined -(the window system is literally the TQt Window System). - -\list - \i \link emb-install.html Installation\endlink - \i \link emb-performance.html Qt/Embedded performance tuning\endlink - \i \link emb-running.html Running Qt/Embedded applications\endlink - \i \link emb-porting.html Porting your applications to Qt/Embedded\endlink - \i \link emb-fonts.html Font formats and definitions\endlink - \i \link emb-charinput.html Character input (keyboard, pen, ...)\endlink - \i \link emb-pointer.html Pointer handling (mouse, pen, ...)\endlink - \i \link emb-features.html Reduce memory use with the feature definition file\endlink -\endlist - */ diff --git a/examples/README b/examples/README index 5d2715e0e..20171dbce 100644 --- a/examples/README +++ b/examples/README @@ -78,9 +78,6 @@ desktop and also demonstrates how one can treat the desktop as a widget like any other. -directpainter [Qt/Embedded-specific] - Shows the use of QDirectPainter. - dirview This example program demonstrates how to use a QListView and QListViewItems to build a multi-column hierarchical, memory- and @@ -161,12 +158,6 @@ iconview of icon items. It supports Drag'n'Drop and different selection modes using TQIconView. -kiosk [Qt/Embedded-specific] - An MPEG player. - -launcher [Qt/Embedded-specific] - A program launcher. - layout [obsolete] This example shows simple and intermediate use of Qt's layout classes, QGridLaout, QBoxLayout etc. diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp index 3222c8a45..49a18db41 100644 --- a/examples/canvas/canvas.cpp +++ b/examples/canvas/canvas.cpp @@ -55,21 +55,13 @@ ImageItem::ImageItem( TQImage img, TQCanvas *canvas ) { setSize( image.width(), image.height() ); -#if !defined(TQ_WS_QWS) pixmap.convertFromImage(image, OrderedAlphaDither); -#endif } void ImageItem::drawShape( TQPainter &p ) { -// On TQt/Embedded, we can paint a TQImage as fast as a TQPixmap, -// but on other platforms, we need to use a TQPixmap. -#if defined(TQ_WS_QWS) - p.drawImage( int(x()), int(y()), image, 0, 0, -1, -1, OrderedAlphaDither ); -#else p.drawPixmap( int(x()), int(y()), pixmap ); -#endif } bool ImageItem::hit( const TQPoint &p ) const diff --git a/examples/mdi/application.cpp b/examples/mdi/application.cpp index b7bb67cc6..adf6604c7 100644 --- a/examples/mdi/application.cpp +++ b/examples/mdi/application.cpp @@ -337,9 +337,6 @@ void MDIWindow::load( const TQString& fn ) medit->hide(); delete medit; TQMovie * qm=new TQMovie(fn); -#ifdef TQ_WS_QWS // temporary speed-test hack - qm->setDisplayWidget(tmp); -#endif tmp->setBackgroundMode(TQWidget::NoBackground); tmp->show(); mmovie=qm; diff --git a/examples/splitter/splitter.cpp b/examples/splitter/splitter.cpp index 7439800c8..fd9f539d8 100644 --- a/examples/splitter/splitter.cpp +++ b/examples/splitter/splitter.cpp @@ -83,10 +83,6 @@ int main( int argc, char ** argv ) t5->setMinimumSize( 80, 50 ); t5->setBackgroundColor( TQt::yellow ); -#ifdef TQ_WS_QWS - // TQt/Embedded XOR drawing not yet implemented. - s1->setOpaqueResize( TRUE ); -#endif s2->setOpaqueResize( TRUE ); s3->setOpaqueResize( TRUE ); diff --git a/include/ntqvfbhdr.h b/include/ntqvfbhdr.h deleted file mode 120000 index aa2d66418..000000000 --- a/include/ntqvfbhdr.h +++ /dev/null @@ -1 +0,0 @@ -../src/kernel/ntqvfbhdr.h \ No newline at end of file diff --git a/include/private/qgfxdriverinterface_p.h b/include/private/qgfxdriverinterface_p.h deleted file mode 120000 index fa04190e9..000000000 --- a/include/private/qgfxdriverinterface_p.h +++ /dev/null @@ -1 +0,0 @@ -../../src/embedded/qgfxdriverinterface_p.h \ No newline at end of file diff --git a/include/private/qkbddriverinterface_p.h b/include/private/qkbddriverinterface_p.h deleted file mode 120000 index ec2f255c0..000000000 --- a/include/private/qkbddriverinterface_p.h +++ /dev/null @@ -1 +0,0 @@ -../../src/embedded/qkbddriverinterface_p.h \ No newline at end of file diff --git a/include/private/qlock_p.h b/include/private/qlock_p.h deleted file mode 120000 index 48e6cd507..000000000 --- a/include/private/qlock_p.h +++ /dev/null @@ -1 +0,0 @@ -../../src/kernel/qlock_p.h \ No newline at end of file diff --git a/include/private/qmousedriverinterface_p.h b/include/private/qmousedriverinterface_p.h deleted file mode 120000 index a4da953ef..000000000 --- a/include/private/qmousedriverinterface_p.h +++ /dev/null @@ -1 +0,0 @@ -../../src/embedded/qmousedriverinterface_p.h \ No newline at end of file diff --git a/include/private/qsharedmemory_p.h b/include/private/qsharedmemory_p.h deleted file mode 120000 index d3fa642b7..000000000 --- a/include/private/qsharedmemory_p.h +++ /dev/null @@ -1 +0,0 @@ -../../src/kernel/qsharedmemory_p.h \ No newline at end of file diff --git a/plugins/src/src.pro b/plugins/src/src.pro index 98fa96402..3496a3d69 100644 --- a/plugins/src/src.pro +++ b/plugins/src/src.pro @@ -2,9 +2,7 @@ TEMPLATE = subdirs shared { SUBDIRS *= accessible codecs imageformats inputmethods sqldrivers styles - embedded:SUBDIRS *= gfxdrivers } dll { SUBDIRS *= accessible codecs imageformats inputmethods sqldrivers styles - embedded:SUBDIRS *= gfxdrivers } diff --git a/qmake/book/qmake-install.leaf b/qmake/book/qmake-install.leaf index b988713e1..fc7c78467 100644 --- a/qmake/book/qmake-install.leaf +++ b/qmake/book/qmake-install.leaf @@ -31,12 +31,6 @@ freebsd-g++ irix-64 macx-pbuilder reliant-cds ultrix-g++ win32-visa hpux-acc irix-g++ macx-g++ sco-g++ unixware-g hpux-acc irix-n32 solaris-64 unixware7-cc -The environment variable should be set to qws/envvar where envvar is -one of the following: - -linux-arm-g++ linux-generic-g++ linux-mips-g++ linux-x86-g++ -linux-freebsd-g++ linux-ipaq-g++ linux-solaris-g++ qnx-rtp-g++ - \i TQTDIR \BR This must be set to where TQt is (or will be) installed. For example, \e {c:\\qt} and \e {\\local\\qt} \endlist diff --git a/qmake/generators/mac/metrowerks_xml.cpp b/qmake/generators/mac/metrowerks_xml.cpp index 22cc89b33..3d7853df6 100644 --- a/qmake/generators/mac/metrowerks_xml.cpp +++ b/qmake/generators/mac/metrowerks_xml.cpp @@ -43,7 +43,7 @@ #include #include #include -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) #include #include #include @@ -621,7 +621,7 @@ MetrowerksMakefileGenerator::findTemplate(const TQString &file) bool MetrowerksMakefileGenerator::createFork(const TQString &f) { -#if !defined(TQWS) && defined(Q_OS_MACX) +#if defined(Q_OS_MACX) FSRef fref; FSSpec fileSpec; if(TQFile::exists(f)) { @@ -664,7 +664,7 @@ MetrowerksMakefileGenerator::fixifyToMacPath(TQString &p, TQString &v, bool ) static TQString st_volume; if(st_volume.isEmpty()) { st_volume = var("QMAKE_VOLUMENAME"); -#if !defined(TQWS) && defined(Q_OS_MACX) +#if defined(Q_OS_MACX) if(st_volume.isEmpty()) { uchar foo[512]; HVolumeParam pb; diff --git a/src/codecs/tqtextcodec.cpp b/src/codecs/tqtextcodec.cpp index cf7c6b93d..0609ae294 100644 --- a/src/codecs/tqtextcodec.cpp +++ b/src/codecs/tqtextcodec.cpp @@ -1686,16 +1686,9 @@ private: void buildReverseMap(); int forwardIndex; -#ifndef TQ_WS_QWS TQMemArray *reverseMap; -#endif }; -#ifdef TQ_WS_QWS -static const TQSimpleTextCodec * reverseOwner = 0; -static TQMemArray * reverseMap = 0; -#endif - #define LAST_MIB 2004 static const struct { @@ -2264,54 +2257,17 @@ static const struct { TQSimpleTextCodec::TQSimpleTextCodec( int i ) : TQTextCodec(), forwardIndex( i ) { -#ifndef TQ_WS_QWS reverseMap = 0; -#endif } TQSimpleTextCodec::~TQSimpleTextCodec() { -#ifndef TQ_WS_QWS delete reverseMap; -#else - if ( reverseOwner == this ) { - delete reverseMap; - reverseMap = 0; - reverseOwner = 0; - } -#endif } void TQSimpleTextCodec::buildReverseMap() { -#ifdef TQ_WS_QWS - if ( reverseOwner != this ) { - int m = 0; - int i = 0; - while( i < 128 ) { - if ( unicodevalues[forwardIndex].values[i] > m && - unicodevalues[forwardIndex].values[i] < 0xfffd ) - m = unicodevalues[forwardIndex].values[i]; - i++; - } - m++; - if ( !reverseMap ) - reverseMap = new TQMemArray( m ); - if ( m > (int)(reverseMap->size()) ) - reverseMap->resize( m ); - for( i = 0; i < 128 && i < m; i++ ) - (*reverseMap)[i] = (char)i; - for( ;i < m; i++ ) - (*reverseMap)[i] = 0; - for( i=128; i<256; i++ ) { - int u = unicodevalues[forwardIndex].values[i-128]; - if ( u < m ) - (*reverseMap)[u] = (char)(unsigned char)(i); - } - reverseOwner = this; - } -#else if ( !reverseMap ) { TQMemArray **map = &((TQSimpleTextCodec *)this)->reverseMap; int m = 0; @@ -2334,7 +2290,6 @@ void TQSimpleTextCodec::buildReverseMap() (**map)[u] = (char)(unsigned char)(i); } } -#endif } TQString TQSimpleTextCodec::toUnicode(const char* chars, int len) const @@ -2367,11 +2322,7 @@ TQString TQSimpleTextCodec::toUnicode(const char* chars, int len) const TQCString TQSimpleTextCodec::fromUnicode(const TQString& uc, int& len ) const { -#ifdef TQ_WS_QWS - if ( this != reverseOwner ) -#else if ( !reverseMap ) -#endif ((TQSimpleTextCodec *)this)->buildReverseMap(); if ( len <0 || len > (int)uc.length() ) @@ -2397,11 +2348,7 @@ TQCString TQSimpleTextCodec::fromUnicode(const TQString& uc, int& len ) const void TQSimpleTextCodec::fromUnicode( const TQChar *in, unsigned short *out, int length ) const { -#ifdef TQ_WS_QWS - if ( this != reverseOwner ) -#else if ( !reverseMap ) -#endif ((TQSimpleTextCodec *)this)->buildReverseMap(); unsigned char* rmp = reverseMap->data(); @@ -2416,11 +2363,7 @@ void TQSimpleTextCodec::fromUnicode( const TQChar *in, unsigned short *out, int unsigned short TQSimpleTextCodec::characterFromUnicode(const TQString &str, int pos) const { -#ifdef TQ_WS_QWS - if ( this != reverseOwner ) -#else if ( !reverseMap ) -#endif ((TQSimpleTextCodec *)this)->buildReverseMap(); unsigned short u = str[pos].unicode(); @@ -2431,11 +2374,7 @@ unsigned short TQSimpleTextCodec::characterFromUnicode(const TQString &str, int bool TQSimpleTextCodec::canEncode( TQChar ch ) const { -#ifdef TQ_WS_QWS - if ( this != reverseOwner ) -#else if ( !reverseMap ) -#endif ((TQSimpleTextCodec *)this)->buildReverseMap(); unsigned short u = ch.unicode(); diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp index eba007410..e0bbae0cf 100644 --- a/src/dialogs/qmessagebox.cpp +++ b/src/dialogs/qmessagebox.cpp @@ -593,10 +593,8 @@ void TQMessageBox::init( int button0, int button1, int button2 ) "application development.

    " "

    TQt provides single-source " "portability across MS Windows, Mac OS X, " - "Linux, and all major commercial Unix variants." - "
    TQt is also available for embedded devices.

    " - "

    TQt is a Trolltech product. " - "See https://trinitydesktop.org/docs/qt3/ " + "Linux, and all major commercial Unix variants.

    " + "

    See https://trinitydesktop.org/docs/qt3/ " "for more information.

    " ).arg( TQT_VERSION_STR ); diff --git a/src/embedded/qgfxdriverinterface_p.h b/src/embedded/qgfxdriverinterface_p.h deleted file mode 100644 index 55a3c0b23..000000000 --- a/src/embedded/qgfxdriverinterface_p.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Definition of TQt/Embedded Graphics Driver Interface -** -** Created : 20020211 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQGFXDRIVERINTERFACE_P_H -#define TQGFXDRIVERINTERFACE_P_H - -// -// W A R N I N G -// ------------- -// -// This file is not part of the TQt API. This header file may -// change from version to version without notice, or even be -// removed. -// -// We mean it. -// -// - -#ifndef QT_H -#include -#endif // QT_H - -#ifndef TQT_NO_COMPONENT - -// {449EC6C6-DF3E-43E3-9E57-354A3D05AB34} -#ifndef IID_QGfxDriver -#define IID_QGfxDriver TQUuid( 0x449ec6c6, 0xdf3e, 0x43e3, 0x9e, 0x57, 0x35, 0x4a, 0x3d, 0x05, 0xab, 0x34) -#endif - -class TQScreen; - -struct TQ_EXPORT TQGfxDriverInterface : public TQFeatureListInterface -{ - virtual TQScreen* create( const TQString& driver, int displayId ) = 0; -}; - -#endif // TQT_NO_COMPONENT - -#endif // TQGFXDRIVERINTERFACE_P_H diff --git a/src/embedded/qkbddriverinterface_p.h b/src/embedded/qkbddriverinterface_p.h deleted file mode 100644 index 9ab7f0c6b..000000000 --- a/src/embedded/qkbddriverinterface_p.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Definition of TQt/Embedded Keyboard Driver Interface -** -** Created : 20020218 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQKBDDRIVERINTERFACE_P_H -#define TQKBDDRIVERINTERFACE_P_H - -// -// W A R N I N G -// ------------- -// -// This file is not part of the TQt API. This header file may -// change from version to version without notice, or even be -// removed. -// -// We mean it. -// -// - -#ifndef QT_H -#include -#endif // QT_H - -#ifndef TQT_NO_COMPONENT - -// {C7C838EA-FC3E-4905-92AD-F479E81F1D02} -#ifndef IID_QKbdDriver -#define IID_QKbdDriver TQUuid( 0xc7c838ea, 0xfc3e, 0x4905, 0x92, 0xad, 0xf4, 0x79, 0xe8, 0x1f, 0x1d, 0x02) -#endif - -class TQWSKeyboardHandler; - -struct TQ_EXPORT TQKbdDriverInterface : public TQFeatureListInterface -{ - virtual TQWSKeyboardHandler* create( const TQString& driver, const TQString& device ) = 0; -}; - -#endif // TQT_NO_COMPONENT - -#endif // TQKBDDRIVERINTERFACE_P_H diff --git a/src/embedded/qmousedriverinterface_p.h b/src/embedded/qmousedriverinterface_p.h deleted file mode 100644 index b07cdcde5..000000000 --- a/src/embedded/qmousedriverinterface_p.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Definition of TQt/Embedded Mouse Driver Interface -** -** Created : 20020220 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQMOUSEDRIVERINTERFACE_P_H -#define TQMOUSEDRIVERINTERFACE_P_H - -// -// W A R N I N G -// ------------- -// -// This file is not part of the TQt API. This header file may -// change from version to version without notice, or even be -// removed. -// -// We mean it. -// -// - -#ifndef QT_H -#include -#endif // QT_H - -#ifndef TQT_NO_COMPONENT - -// {4367CF5A-F7CE-407B-8BB6-DF19AEDA2EBB} -#ifndef IID_QMouseDriver -#define IID_QMouseDriver TQUuid( 0x4367cf5a, 0xf7ce, 0x407b, 0x8b, 0xb6, 0xdf, 0x19, 0xae, 0xda, 0x2e, 0xbb) -#endif - -class TQWSMouseHandler; - -struct TQ_EXPORT TQMouseDriverInterface : public TQFeatureListInterface -{ - virtual TQWSMouseHandler* create( const TQString& driver, const TQString &device ) = 0; -}; - -#endif // TQT_NO_COMPONENT - -#endif // TQMOUSEDRIVERINTERFACE_P_H diff --git a/src/embedded/qt_embedded.pri b/src/embedded/qt_embedded.pri deleted file mode 100644 index 018b2070a..000000000 --- a/src/embedded/qt_embedded.pri +++ /dev/null @@ -1,192 +0,0 @@ -# Qt/Embedded Drivers - -embedded { - EMBEDDED_P = embedded - - HEADERS += $$EMBEDDED_P/qgfxdriverinterface_p.h \ - $$EMBEDDED_H/qgfxdriverplugin_qws.h \ - $$EMBEDDED_H/qgfxdriverfactory_qws.h \ - $$EMBEDDED_H/qkbd_qws.h \ - $$EMBEDDED_P/qkbddriverinterface_p.h \ - $$EMBEDDED_H/qkbddriverplugin_qws.h \ - $$EMBEDDED_H/qkbddriverfactory_qws.h \ - $$EMBEDDED_H/qmouse_qws.h \ - $$EMBEDDED_P/qmousedriverinterface_p.h \ - $$EMBEDDED_H/qmousedriverplugin_qws.h \ - $$EMBEDDED_H/qmousedriverfactory_qws.h - - SOURCES += $$EMBEDDED_CPP/qgfxdriverplugin_qws.cpp \ - $$EMBEDDED_CPP/qgfxdriverfactory_qws.cpp \ - $$EMBEDDED_CPP/qkbd_qws.cpp \ - $$EMBEDDED_CPP/qkbddriverplugin_qws.cpp \ - $$EMBEDDED_CPP/qkbddriverfactory_qws.cpp \ - $$EMBEDDED_CPP/qmouse_qws.cpp \ - $$EMBEDDED_CPP/qmousedriverplugin_qws.cpp \ - $$EMBEDDED_CPP/qmousedriverfactory_qws.cpp - -# -# Graphics drivers -# - linux-* { - HEADERS += $$EMBEDDED_H/qgfxlinuxfb_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxlinuxfb_qws.cpp - } - else:DEFINES += TQT_NO_QWS_LINUXFB - - contains( gfx-drivers, tqvfb ) { - HEADERS += $$EMBEDDED_H/qgfxvfb_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxvfb_qws.cpp - } - else:DEFINES += TQT_NO_QWS_VFB - - contains( gfx-drivers, vnc ) { - HEADERS += $$EMBEDDED_H/qgfxvnc_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxvnc_qws.cpp - } - else:DEFINES += TQT_NO_QWS_VNC - - !contains( DEFINES, TQT_NO_QWS_LINUXFB):contains( gfx-drivers, vga16 ) { - HEADERS += $$EMBEDDED_H/qgfxvga16_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxvga16_qws.cpp - } - else:DEFINES += TQT_NO_QWS_VGA16 - - contains( gfx-drivers, transformed ) { - HEADERS += $$EMBEDDED_H/qgfxtransformed_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxtransformed_qws.cpp - } - else:DEFINES += TQT_NO_QWS_TRANSFORMED - - contains( gfx-drivers, snap ) { - exists( $(SCITECH)/include/snap/graphics.h) { - HEADERS += $$EMBEDDED_H/qgfxsnap_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxsnap_qws.cpp - INCLUDEPATH += $(SCITECH)/include - debug:LIBS += -L$(SCITECH)/lib/debug/linux/gcc/x86/so -lpm - else:LIBS += -L$(SCITECH)/lib/release/linux/gcc/x86/so -lpm - } - else { - message("SciTech SNAP SDK is not properly set up! Please make sure the SCITECH") - message("environment variable is pointing to the SciTech SNAP SDK.") - error("Please fix and re-build the makefiles.") - } - } - else:DEFINES += TQT_NO_QWS_SNAP - - contains( gfx-drivers, mach64 ) { - HEADERS += $$EMBEDDED_H/qgfxmach64_qws.h \ - $$EMBEDDED_H/qgfxmach64defs_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxmach64_qws.cpp - } - else:DEFINES += TQT_NO_QWS_MACH64 - - contains( gfx-drivers, voodoo ) { - HEADERS += $$EMBEDDED_H/qgfxvoodoo_qws.h \ - $$EMBEDDED_H/qgfxvoodoodefs_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxvoodoo_qws.cpp - } - else:DEFINES += TQT_NO_QWS_VOODOO3 - - contains( gfx-drivers, matrox ) { - HEADERS += $$EMBEDDED_H/qgfxmatrox_qws.h \ - $$EMBEDDED_H/qgfxmatroxdefs_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxmatrox_qws.cpp - } - else:DEFINES += TQT_NO_QWS_MATROX - - contains( gfx-drivers, shadowfb ) { - HEADERS += $$EMBEDDED_H/qgfxshadow_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxshadow_qws.cpp - } - else:DEFINES += TQT_NO_QWS_SHADOWFB - - contains( gfx-drivers, repeater ) { - HEADERS += $$EMBEDDED_H/qgfxrepeater_qws.h - SOURCES += $$EMBEDDED_CPP/qgfxrepeater_qws.cpp - } - else:DEFINES += TQT_NO_QWS_REPEATER - -# -# Keyboard drivers -# - - contains( kbd-drivers, sl5000 ) { - HEADERS +=$$EMBEDDED_H/qkbdsl5000_qws.h - SOURCES +=$$EMBEDDED_CPP/qkbdsl5000_qws.cpp - !contains( kbd-drivers, tty ) { - kbd-drivers += tty - } - } - else:DEFINES += TQT_NO_QWS_KBD_SL5000 - - contains( kbd-drivers, tty ) { - HEADERS +=$$EMBEDDED_H/qkbdtty_qws.h - SOURCES +=$$EMBEDDED_CPP/qkbdtty_qws.cpp - !contains( kbd-drivers, pc101 ) { - kbd-drivers += pc101 - } - } - else:DEFINES += TQT_NO_QWS_KBD_TTY - - contains( kbd-drivers, usb ) { - HEADERS +=$$EMBEDDED_H/qkbdusb_qws.h - SOURCES +=$$EMBEDDED_CPP/qkbdusb_qws.cpp - !contains( kbd-drivers, pc101 ) { - kbd-drivers += pc101 - } - } - else:DEFINES += TQT_NO_QWS_KBD_USB - - contains( kbd-drivers, pc101 ) { - HEADERS +=$$EMBEDDED_H/qkbdpc101_qws.h - SOURCES +=$$EMBEDDED_CPP/qkbdpc101_qws.cpp - } - else:DEFINES += TQT_NO_QWS_KBD_PC101 - - contains( kbd-drivers, yopy ) { - HEADERS +=$$EMBEDDED_H/qkbdyopy_qws.h - SOURCES +=$$EMBEDDED_CPP/qkbdyopy_qws.cpp - } - else:DEFINES += TQT_NO_QWS_KBD_YOPY - - contains( kbd-drivers, vr41xx ) { - HEADERS +=$$EMBEDDED_H/qkbdvr41xx_qws.h - SOURCES +=$$EMBEDDED_CPP/qkbdvr41xx_qws.cpp - } - else:DEFINES += TQT_NO_QWS_KBD_VR41 - -# -# Mouse drivers -# - - contains( mouse-drivers, pc ) { - HEADERS +=$$EMBEDDED_H/qmousepc_qws.h - SOURCES +=$$EMBEDDED_CPP/qmousepc_qws.cpp - } - else:DEFINES += TQT_NO_QWS_MOUSE_PC - - contains( mouse-drivers, bus ) { - HEADERS +=$$EMBEDDED_H/qmousebus_qws.h - SOURCES +=$$EMBEDDED_CPP/qmousebus_qws.cpp - } - else:DEFINES += TQT_NO_QWS_MOUSE_BUS - - contains( mouse-drivers, linuxtp ) { - HEADERS +=$$EMBEDDED_H/qmouselinuxtp_qws.h - SOURCES +=$$EMBEDDED_CPP/qmouselinuxtp_qws.cpp - } - else:DEFINES += TQT_NO_QWS_MOUSE_LINUXTP - - contains( mouse-drivers, vr41xx ) { - HEADERS +=$$EMBEDDED_H/qmousevr41xx_qws.h - SOURCES +=$$EMBEDDED_CPP/qmousevr41xx_qws.cpp - } - else:DEFINES += TQT_NO_QWS_MOUSE_VR41 - - contains( mouse-drivers, yopy ) { - HEADERS +=$$EMBEDDED_H/qmouseyopy_qws.h - SOURCES +=$$EMBEDDED_CPP/qmouseyopy_qws.cpp - } - else:DEFINES += TQT_NO_QWS_MOUSE_YOPY -} - diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h index a475fb991..9f4c7938f 100644 --- a/src/kernel/ntqapplication.h +++ b/src/kernel/ntqapplication.h @@ -57,9 +57,6 @@ class TQEventLoop; #if defined(TQ_WS_X11) class TQIMEvent; #endif -#if defined(TQ_WS_QWS) -class TQWSDecoration; -#endif #ifdef TQT_THREAD_SUPPORT class TQMutex; @@ -247,20 +244,6 @@ public: virtual int x11ClientMessage( TQWidget*, XEvent*, bool passive_only); int x11ProcessEvent( XEvent* ); #endif -#if defined(TQ_WS_QWS) - virtual bool qwsEventFilter( TQWSEvent * ); - int qwsProcessEvent( TQWSEvent* ); - void qwsSetCustomColors( TQRgb *colortable, int start, int numColors ); -/*! - \internal - Returns true if the process is GUI server -*/ - bool qwsIsGUIServer(); -#ifndef TQT_NO_QWS_MANAGER - static TQWSDecoration &qwsDecoration(); - static void qwsSetDecoration( TQWSDecoration *); -#endif -#endif #if defined(Q_OS_WIN32) || defined(Q_OS_CYGWIN) static WindowsVersion winVersion(); @@ -314,11 +297,6 @@ public slots: void closeAllWindows(); void aboutTQt(); -#if defined(TQ_WS_QWS) -protected: - void setArgs(int, char **); -#endif - protected: bool event(TQEvent *); @@ -328,10 +306,6 @@ private: void init_precmdline(); void process_cmdline( int* argcptr, char ** argv ); bool internalNotify( TQObject *, TQEvent * ); -#if defined(TQ_WS_QWS) - static TQWidget *findChildWidget( const TQWidget *p, const TQPoint &pos ); - static TQWidget *findWidget( const TQObjectList&, const TQPoint &, bool rec ); -#endif #if defined(TQ_WS_MAC) bool do_mouse_down(Point *, bool *); @@ -445,9 +419,6 @@ private: #if defined(TQ_WS_WIN) friend bool qt_sendSpontaneousEvent( TQObject*, TQEvent* ); #endif -#if defined(TQ_WS_QWS) - friend class TQInputContext; -#endif private: // Disabled copy constructor and operator= #if defined(TQ_DISABLE_COPY) TQApplication( const TQApplication & ); @@ -475,14 +446,6 @@ inline char **TQApplication::argv() const return app_argv; } -#if defined(TQ_WS_QWS) -inline void TQApplication::setArgs(int c, char **v) -{ - app_argc = c; - app_argv = v; -} -#endif - #ifndef TQT_NO_CURSOR inline TQCursor *TQApplication::overrideCursor() { diff --git a/src/kernel/ntqcursor.h b/src/kernel/ntqcursor.h index d67ed55e8..1e9b183fb 100644 --- a/src/kernel/ntqcursor.h +++ b/src/kernel/ntqcursor.h @@ -96,8 +96,6 @@ public: TQCursor( HANDLE ); #elif defined(TQ_WS_MAC) HANDLE handle() const; -#elif defined(TQ_WS_QWS) - HANDLE handle() const; #endif static TQPoint pos(); diff --git a/src/kernel/ntqdesktopwidget.h b/src/kernel/ntqdesktopwidget.h index a017b8aca..201267708 100644 --- a/src/kernel/ntqdesktopwidget.h +++ b/src/kernel/ntqdesktopwidget.h @@ -95,9 +95,6 @@ private: #endif friend class TQApplication; -#ifdef TQ_WS_QWS - friend class TQWSDisplay; -#endif }; #endif //TQDESKTOPWIDGET_H diff --git a/src/kernel/ntqfont.h b/src/kernel/ntqfont.h index 08297a189..441b57ddf 100644 --- a/src/kernel/ntqfont.h +++ b/src/kernel/ntqfont.h @@ -191,14 +191,7 @@ public: #endif //TQT_NO_STRINGLIST static void initialize(); static void cleanup(); -#ifndef TQ_WS_QWS static void cacheStatistics(); -#endif - -#if defined(TQ_WS_QWS) - void qwsRenderToDisk(bool all=TRUE); -#endif - // a copy of this lives in qunicodetables.cpp, as we can't include // ntqfont.h it in tools/. Do not modify without changing the script diff --git a/src/kernel/ntqfontdatabase.h b/src/kernel/ntqfontdatabase.h index 06807d02c..aa279bfd6 100644 --- a/src/kernel/ntqfontdatabase.h +++ b/src/kernel/ntqfontdatabase.h @@ -58,10 +58,6 @@ struct TQtFontFamily; struct TQtFontFoundry; struct TQFontDef; class TQFontEngine; -#ifdef TQ_WS_QWS -class TQDiskFont; -#endif - class TQFontDatabasePrivate; class TQ_EXPORT TQFontDatabase @@ -92,10 +88,6 @@ public: static TQString scriptName(TQFont::Script); static TQString scriptSample(TQFont::Script); -#ifdef TQ_WS_QWS - static void qwsAddDiskFont( TQDiskFont *qdf ); -#endif - // For source compatibility with < 3.0 #ifndef TQT_NO_COMPAT diff --git a/src/kernel/ntqfontmetrics.h b/src/kernel/ntqfontmetrics.h index a182a5983..887132553 100644 --- a/src/kernel/ntqfontmetrics.h +++ b/src/kernel/ntqfontmetrics.h @@ -46,10 +46,6 @@ #include "ntqrect.h" #endif // QT_H -#ifdef TQ_WS_QWS -class TQFontEngine; -#endif - class TQTextCodec; class TQTextParag; diff --git a/src/kernel/ntqmovie.h b/src/kernel/ntqmovie.h index 9c8d3bf07..8e92ec6d4 100644 --- a/src/kernel/ntqmovie.h +++ b/src/kernel/ntqmovie.h @@ -96,11 +96,6 @@ public: void connectUpdate(TQObject* receiver, const char *member); void disconnectUpdate(TQObject* receiver, const char *member=0); -#ifdef TQ_WS_QWS - // Temporary hack - void setDisplayWidget(TQWidget * w); -#endif - enum Status { SourceEmpty=-2, UnrecognizedFormat=-1, Paused=1, diff --git a/src/kernel/ntqnamespace.h b/src/kernel/ntqnamespace.h index 052fea171..c0c34533a 100644 --- a/src/kernel/ntqnamespace.h +++ b/src/kernel/ntqnamespace.h @@ -427,9 +427,8 @@ public: Key_Direction_L = 0x1059, Key_Direction_R = 0x1060, - // International input method support (X keycode - 0xEE00, the - // definition follows TQt/Embedded 2.3.7) Only interesting if - // you are writing your own input method + // International input method support (X keycode - 0xEE00). + // Only interesting if you are writing your own input method // International & multi-key character composition Key_Multi_key = 0x1120, // Multi-key character compose @@ -1013,8 +1012,6 @@ public: typedef void *HANDLE; #elif defined(TQ_WS_X11) typedef unsigned long HANDLE; -#elif defined(TQ_WS_QWS) - typedef void * HANDLE; #endif }; diff --git a/src/kernel/ntqpaintdevice.h b/src/kernel/ntqpaintdevice.h index 8ce90f069..2b9cd421f 100644 --- a/src/kernel/ntqpaintdevice.h +++ b/src/kernel/ntqpaintdevice.h @@ -46,11 +46,6 @@ #include "ntqrect.h" #endif // QT_H -#if defined(TQ_WS_QWS) -class TQWSDisplay; -class TQGfx; -#endif - class TQIODevice; class TQString; class TQTextItem; @@ -102,8 +97,6 @@ public: virtual TQt::HANDLE x11RenderHandle() const; #elif defined(TQ_WS_MAC) virtual TQt::HANDLE handle() const; -#elif defined(TQ_WS_QWS) - virtual TQt::HANDLE handle() const; #endif #if defined(TQ_WS_X11) @@ -146,13 +139,6 @@ public: static void x11SetAppDpiY( int, int ); #endif -#if defined(TQ_WS_QWS) - static TQWSDisplay *qwsDisplay(); - virtual unsigned char * scanLine(int) const; - virtual int bytesPerLine() const; - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; -#endif - enum PDevCmd { PdcNOP = 0, // PdcDrawPoint = 1, // point @@ -230,8 +216,6 @@ protected: CGContextRef ctx; #endif void * hd; -#elif defined(TQ_WS_QWS) - TQt::HANDLE hd; #endif virtual bool cmd( int, TQPainter *, TQPDevCmdParam * ); diff --git a/src/kernel/ntqpainter.h b/src/kernel/ntqpainter.h index 77e3d183b..fb73ada58 100644 --- a/src/kernel/ntqpainter.h +++ b/src/kernel/ntqpainter.h @@ -53,7 +53,6 @@ #include "ntqwmatrix.h" #endif // QT_H -class TQGfx; class TQTextCodec; class TQTextParag; class TQPaintDevice; @@ -63,10 +62,6 @@ class TQMacSavedPortInfo; #endif class TQPainterPrivate; -#if defined(TQ_WS_QWS) -class TQScreen; -#endif - class TQ_EXPORT TQPainter : public TQt { public: @@ -82,13 +77,6 @@ public: bool end(); TQPaintDevice *device() const; -#ifdef TQ_WS_QWS - TQGfx * internalGfx(); -#ifdef QT_QWS_EXPERIMENTAL_SCREENPAINTER - bool begin(TQScreen *screen); -#endif -#endif - static void redirect( TQPaintDevice *pdev, TQPaintDevice *replacement ); static TQPaintDevice *redirect( TQPaintDevice *pdev ); @@ -410,10 +398,6 @@ protected: friend const TQRegion &qt_mac_update_painter(TQPainter *, bool); friend class TQFontEngineMac; friend class TQMacPainter; -#elif defined(TQ_WS_QWS) - friend class TQFontEngine; - TQGfx * gfx; - friend void qwsUpdateActivePainters(); #endif friend class TQFontMetrics; friend class TQFontInfo; @@ -711,11 +695,4 @@ inline TQRect TQPainter::boundingRect( int x, int y, int w, int h, int tf, return boundingRect( r, tf, str, len, i ); } -#if defined(TQ_WS_QWS) -inline TQGfx * TQPainter::internalGfx() -{ - return gfx; -} -#endif - #endif // TQPAINTER_H diff --git a/src/kernel/ntqpixmap.h b/src/kernel/ntqpixmap.h index 340e5b7f9..0e0e14c4b 100644 --- a/src/kernel/ntqpixmap.h +++ b/src/kernel/ntqpixmap.h @@ -48,7 +48,6 @@ #include "ntqnamespace.h" #endif // QT_H -class TQGfx; class TQPixmapPrivate; #if defined(TQ_WS_WIN) @@ -164,13 +163,7 @@ public: void freeCell( bool = FALSE ); #endif -#if defined(TQ_WS_QWS) - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; - virtual unsigned char * scanLine(int) const; - virtual int bytesPerLine() const; - TQRgb * clut() const; - int numCols() const; -#elif defined(TQ_WS_X11) +#if defined(TQ_WS_X11) static int x11SetDefaultScreen( int screen ); void x11SetScreen( int screen ); #endif @@ -218,13 +211,6 @@ protected: #elif defined(TQ_WS_MAC) ColorTable *clut; TQPixmap *alphapm; -#elif defined(TQ_WS_QWS) - int id; // ### should use TQPaintDevice::hd, since it is there - TQRgb * clut; - int numcols; - int rw; - int rh; - bool hasAlpha; #endif Optimization optim; #if defined(TQ_WS_WIN) diff --git a/src/kernel/ntqprinter.h b/src/kernel/ntqprinter.h index 90070c115..5ec2e179c 100644 --- a/src/kernel/ntqprinter.h +++ b/src/kernel/ntqprinter.h @@ -171,7 +171,7 @@ protected: #endif private: -#if defined(TQ_WS_X11) || defined(TQ_WS_QWS) +#if defined(TQ_WS_X11) TQPaintDevice *pdrv; int pid; #endif diff --git a/src/kernel/ntqregion.h b/src/kernel/ntqregion.h index 8de535fa3..8ab8966af 100644 --- a/src/kernel/ntqregion.h +++ b/src/kernel/ntqregion.h @@ -102,9 +102,6 @@ public: Region handle() const { if(!data->rgn) updateX11Region(); return data->rgn; } #elif defined(TQ_WS_MAC) RgnHandle handle(bool require_rgn=FALSE) const; -#elif defined(TQ_WS_QWS) - // TQGfx_QWS needs this for region drawing - void * handle() const { return data->rgn; } #endif #ifndef TQT_NO_DATASTREAM @@ -135,8 +132,6 @@ private: uint is_rect:1; TQRect rect; RgnHandle rgn; -#elif defined(TQ_WS_QWS) - void * rgn; #endif bool is_null; } *data; diff --git a/src/kernel/ntqt.h b/src/kernel/ntqt.h index 46dd439d1..5afa96e1d 100644 --- a/src/kernel/ntqt.h +++ b/src/kernel/ntqt.h @@ -256,7 +256,6 @@ #include #include #include -#include #include #include #include @@ -276,14 +275,11 @@ #if defined( QT_MOC_CPP ) || defined( QT_H_CPP ) || defined( Q_OS_MACX ) #include #include -#include "private/qgfxdriverinterface_p.h" #include "private/qcom_p.h" #include "private/tqimageformatinterface_p.h" #include "private/qisciicodec_p.h" -#include "private/qkbddriverinterface_p.h" #include "private/qlayoutengine_p.h" #include "private/qcomlibrary_p.h" -#include "private/qmousedriverinterface_p.h" #include "private/qeffects_p.h" #include "private/qgpluginmanager_p.h" #include "private/qinternal_p.h" @@ -324,48 +320,6 @@ #include #endif -#ifdef TQ_WS_QWS -#include -#include "qfontmanager_qws.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "qmemorymanager_qws.h" -#include -#include -#ifndef Q_OS_MAC -# include -#endif -#include "qgfx_qws.h" -#include -#include "qwsdisplay_qws.h" -#include "qwssocket_qws.h" -#include "qwsdecoration_qws.h" -#include "qwsutils_qws.h" -#include -#include "qwsmanager_qws.h" -#include "qwsdefaultdecoration_qws.h" -#include -#include "qwscommand_qws.h" -#include -#include -#include -#include -#include "qwsproperty_qws.h" -#include -#include "qwsevent_qws.h" -#include -#include -#endif // TQ_WS_QWS - - #ifdef TQ_WS_WCE #include #endif // TQ_WS_WCE diff --git a/src/kernel/ntqvfbhdr.h b/src/kernel/ntqvfbhdr.h deleted file mode 100644 index 300ace8bb..000000000 --- a/src/kernel/ntqvfbhdr.h +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** TQt/Embedded virtual framebuffer -** -** Created : 20000605 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQVFBHDR_H -#define TQVFBHDR_H - -#ifndef QT_H -#include "ntqcolor.h" -#include "ntqrect.h" -#endif // QT_H - -#define QT_VFB_MOUSE_PIPE "/tmp/.qtvfb_mouse-%1" -#define QT_VFB_KEYBOARD_PIPE "/tmp/.qtvfb_keyboard-%1" - -struct TQVFbHeader -{ - int width; - int height; - int depth; - int linestep; - int dataoffset; - TQRect update; - bool dirty; - int numcols; - TQRgb clut[256]; -}; - -struct TQVFbKeyData -{ - unsigned int unicode; - unsigned int modifiers; - bool press; - bool repeat; -}; - -#endif diff --git a/src/kernel/ntqwindowdefs.h b/src/kernel/ntqwindowdefs.h index 543df7d40..812bf6f6c 100644 --- a/src/kernel/ntqwindowdefs.h +++ b/src/kernel/ntqwindowdefs.h @@ -158,14 +158,6 @@ TQ_EXPORT const char *tqAppClass(); // get application class #endif // TQ_WS_X11 -#if defined(TQ_WS_QWS) - -typedef unsigned long WId; -struct TQWSEvent; -class TQGfx; - -#endif // TQ_WS_QWS - class TQApplication; #if defined(NEEDS_QMAIN) diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 5ba5f5b21..c6bde72a7 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -197,7 +197,6 @@ hasPendingEvents(), notify(), macEventFilter(), - qwsEventFilter(), x11EventFilter(), x11ProcessEvent(), winEventFilter(). @@ -214,7 +213,6 @@ \i colorSpec(), setColorSpec(), - qwsSetCustomColors(). \row \i Text handling @@ -909,10 +907,6 @@ TQApplication::TQApplication( int &argc, char **argv, bool GUIenabled, bool SMen /*! Constructs an application object with \a argc command line arguments in \a argv. - - For TQt/Embedded, passing \c TQApplication::GuiServer for \a type - makes this application the server (equivalent to running with the - -qws option). */ TQApplication::TQApplication( int &argc, char **argv, Type type ) { @@ -1418,8 +1412,6 @@ TQStyle& TQApplication::style() style = "Motif"; // default style for X11 #elif defined(TQ_WS_MAC) style = "Macintosh"; // default style for all Mac's -#elif defined(TQ_WS_QWS) - style = "Compact"; // default style for small devices #endif } app_style = TQStyleFactory::create( style ); @@ -4840,7 +4832,7 @@ void MyApplication::commitData( TQSessionManager& sm ) { Stubbed session management support *****************************************************************************/ #ifndef TQT_NO_SESSIONMANAGER -#if defined( TQT_NO_SM_SUPPORT ) || defined( TQ_WS_WIN ) || defined( TQ_WS_MAC ) || defined( TQ_WS_QWS ) +#if defined( TQT_NO_SM_SUPPORT ) || defined( TQ_WS_WIN ) || defined( TQ_WS_MAC ) class TQSessionManagerData { diff --git a/src/kernel/qclipboard.cpp b/src/kernel/qclipboard.cpp index 0008f9a34..e7768f6bd 100644 --- a/src/kernel/qclipboard.cpp +++ b/src/kernel/qclipboard.cpp @@ -209,7 +209,6 @@ TQClipboard::~TQClipboard() *****************************************************************************/ #ifndef TQT_NO_MIMECLIPBOARD -// text handling is done directly in qclipboard_qws, for now /*! \overload diff --git a/src/kernel/qeventloop_glib_p.h b/src/kernel/qeventloop_glib_p.h index f3711b62c..cc7a3874e 100644 --- a/src/kernel/qeventloop_glib_p.h +++ b/src/kernel/qeventloop_glib_p.h @@ -18,10 +18,6 @@ ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** -** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition -** licenses for TQt/Embedded may use this file in accordance with the -** TQt Embedded Commercial License Agreement provided with the Software. -** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** diff --git a/src/kernel/qeventloop_unix_glib.cpp b/src/kernel/qeventloop_unix_glib.cpp index d86ba14fc..e65d49bb2 100644 --- a/src/kernel/qeventloop_unix_glib.cpp +++ b/src/kernel/qeventloop_unix_glib.cpp @@ -22,10 +22,6 @@ ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** -** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition -** licenses for Unix/X11 or for TQt/Embedded may use this file in accordance -** with the TQt Commercial License Agreement provided with the Software. -** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** diff --git a/src/kernel/qfont.cpp b/src/kernel/qfont.cpp index 387f75dfe..1ad9ccf9e 100644 --- a/src/kernel/qfont.cpp +++ b/src/kernel/qfont.cpp @@ -1691,17 +1691,13 @@ bool TQFont::fromString(const TQString &descrip) return TRUE; } -#if !defined( TQ_WS_QWS ) /*! \internal Internal function that dumps font cache statistics. */ void TQFont::cacheStatistics() { - - } -#endif // !TQ_WS_QWS @@ -2170,7 +2166,7 @@ bool TQFontMetrics::inFont(TQChar ch) const \sa rightBearing(), minLeftBearing(), width() */ -#if !defined(TQ_WS_WIN) && !defined(TQ_WS_QWS) +#if !defined(TQ_WS_WIN) int TQFontMetrics::leftBearing(TQChar ch) const { TQFont::Script script; @@ -2204,7 +2200,7 @@ int TQFontMetrics::leftBearing(TQChar ch) const \sa leftBearing(), minRightBearing(), width() */ -#if !defined(TQ_WS_WIN) && !defined(TQ_WS_QWS) +#if !defined(TQ_WS_WIN) int TQFontMetrics::rightBearing(TQChar ch) const { TQFont::Script script; @@ -2227,7 +2223,6 @@ int TQFontMetrics::rightBearing(TQChar ch) const #endif // !TQ_WS_WIN -#ifndef TQ_WS_QWS /*! Returns the width in pixels of the first \a len characters of \a str. If \a len is negative (the default), the entire string is @@ -2292,7 +2287,6 @@ int TQFontMetrics::width( const TQString &str, int len ) const #endif return width; } -#endif /*! \fn int TQFontMetrics::width( TQChar ch ) const @@ -2339,7 +2333,6 @@ int TQFontMetrics::width( const TQString &str, int len ) const account. */ -#ifndef TQ_WS_QWS /*! Returns the bounding rectangle of the first \a len characters of \a str, which is the set of pixels the text would cover if drawn @@ -2371,7 +2364,6 @@ TQRect TQFontMetrics::boundingRect( const TQString &str, int len ) const glyph_metrics_t gm = layout.boundingBox( 0, len ); return TQRect( gm.x, gm.y, gm.width, gm.height ); } -#endif /*! Returns the rectangle that is covered by ink if the character @@ -2986,41 +2978,6 @@ TQFontCache::~TQFontCache() instance = 0; } -#ifdef TQ_WS_QWS -void TQFontCache::clear() -{ - { - EngineDataCache::Iterator it = engineDataCache.begin(), - end = engineDataCache.end(); - while ( it != end ) { - TQFontEngineData *data = it.data(); - if ( data->engine ) - data->engine->deref(); - data->engine = 0; - ++it; - } - } - - EngineCache::Iterator it = engineCache.begin(), - end = engineCache.end(); - while ( it != end ) { - if ( it.data().data->count == 0 ) { - if ( --it.data().data->cache_count == 0 ) { - FC_DEBUG("TQFontCache::~TQFontCache: deleting engine %p key=(%d / %d %d %d %d %d)", - it.data().data, it.key().script, it.key().def.pointSize, - it.key().def.pixelSize, it.key().def.weight, it.key().def.italic, - it.key().def.fixedPitch); - delete it.data().data; - } - } else { - FC_DEBUG("TQFontCache::~TQFontCache: engine = %p still has refcount %d", - it.data().data, it.data().data->count); - } - ++it; - } -} -#endif - TQFontEngineData *TQFontCache::findEngineData( const Key &key ) const { EngineDataCache::ConstIterator it = engineDataCache.find( key ), @@ -3107,7 +3064,7 @@ void TQFontCache::decreaseCost( uint cost ) cost, total_cost, max_cost ); } -#if defined(TQ_WS_WIN ) || defined (TQ_WS_QWS) +#if defined(TQ_WS_WIN ) void TQFontCache::cleanupPrinterFonts() { FC_DEBUG( "TQFontCache::cleanupPrinterFonts" ); diff --git a/src/kernel/qfontdata_p.h b/src/kernel/qfontdata_p.h index 991b61773..1aae9b76c 100644 --- a/src/kernel/qfontdata_p.h +++ b/src/kernel/qfontdata_p.h @@ -201,9 +201,6 @@ public: TQFontCache(); ~TQFontCache(); -#ifdef TQ_WS_QWS - void clear(); -#endif // universal key structure. TQFontEngineDatas and TQFontEngines are cached using // the same keys struct Key { @@ -259,7 +256,7 @@ public: TQFontEngine *findEngine( const Key &key ); void insertEngine( const Key &key, TQFontEngine *engine ); -#if defined(TQ_WS_WIN) || defined(TQ_WS_QWS) +#if defined(TQ_WS_WIN) void cleanupPrinterFonts(); #endif diff --git a/src/kernel/qfontdatabase.cpp b/src/kernel/qfontdatabase.cpp index 152b6f250..41aa25431 100644 --- a/src/kernel/qfontdatabase.cpp +++ b/src/kernel/qfontdatabase.cpp @@ -334,7 +334,7 @@ struct TQtFontFamily #ifdef TQ_WS_WIN scriptCheck( FALSE ), #endif -#if defined(Q_OS_MAC) && !defined(TQWS) +#if defined(Q_OS_MAC) fixedPitchComputed(FALSE), #endif fullyLoaded( FALSE ), @@ -357,7 +357,7 @@ struct TQtFontFamily #ifdef TQ_WS_WIN bool scriptCheck : 1; #endif -#if defined(Q_OS_MAC) && !defined(TQWS) +#if defined(Q_OS_MAC) bool fixedPitchComputed : 1; #endif bool fullyLoaded : 1; @@ -654,8 +654,6 @@ static TQFontDatabasePrivate *db=0; # include "qfontdatabase_mac.cpp" #elif defined( TQ_WS_WIN ) # include "qfontdatabase_win.cpp" -#elif defined( TQ_WS_QWS ) -# include "qfontdatabase_qws.cpp" #endif static TQtFontStyle *bestStyle(TQtFontFoundry *foundry, const TQtFontStyle::Key &styleKey) @@ -1578,7 +1576,7 @@ bool TQFontDatabase::isFixedPitch(const TQString &family, load( familyName ); TQtFontFamily *f = d->family( familyName ); -#if defined(Q_OS_MAC) && !defined(TQWS) +#if defined(Q_OS_MAC) if (f) { if (!f->fixedPitchComputed) { TQFontMetrics fm(familyName); diff --git a/src/kernel/qfontengine_p.h b/src/kernel/qfontengine_p.h index 9e3c31261..7d0db28c1 100644 --- a/src/kernel/qfontengine_p.h +++ b/src/kernel/qfontengine_p.h @@ -80,9 +80,6 @@ public: // Apple MacOS types Mac, - - // Trolltech TQWS types - TQWS }; TQFontEngine() { @@ -162,71 +159,6 @@ public: TransformedFont *transformed_fonts; #endif }; -#elif defined( TQ_WS_QWS ) -class TQGfx; - -class TQFontEngine : public TQShared -{ -public: - TQFontEngine( const TQFontDef&, const TQPaintDevice * = 0 ); - ~TQFontEngine(); - /*TQMemoryManager::FontID*/ void *handle() const; - - enum Type { - // X11 types - Box, - XLFD, - Xft, - - // MS Windows types - Win, - Uniscribe, - - // Apple MacOS types - Mac, - - // Trolltech TQWS types - Qws - }; - - enum TextFlags { - Underline = 0x01, - Overline = 0x02, - StrikeOut = 0x04 - }; - - enum Error { - NoError, - OutOfMemory - }; - /* returns 0 as glyph index for non existant glyphs */ - Error stringToCMap( const TQChar *str, int len, glyph_t *glyphs, advance_t *advances, int *nglyphs, bool mirrored ) const; - - void draw( TQPainter *p, int x, int y, const TQTextEngine *engine, const TQScriptItem *si, int textFlags ); - - glyph_metrics_t boundingBox( const glyph_t *glyphs, - const advance_t *advances, const qoffset_t *offsets, int numGlyphs ); - glyph_metrics_t boundingBox( glyph_t glyph ); - - int ascent() const; - int descent() const; - int leading() const; - int maxCharWidth() const; - int minLeftBearing() const; - int minRightBearing() const; - int underlinePosition() const; - int lineThickness() const; - - Type type() { return Qws; } - - bool canRender( const TQChar *string, int len ); - inline const char *name() const { return 0; } - TQFontDef fontDef; - /*TQMemoryManager::FontID*/ void *id; - int cache_cost; - int cache_count; - int scale; -}; #endif // WIN || X11 || MAC diff --git a/src/kernel/qinputcontext.cpp b/src/kernel/qinputcontext.cpp index 7f9760c46..d9621b99d 100644 --- a/src/kernel/qinputcontext.cpp +++ b/src/kernel/qinputcontext.cpp @@ -520,8 +520,6 @@ void TQInputContext::sendIMEventInternal( TQEvent::Type type, #if defined(TQ_WS_X11) receiver = d->composingWidget; -#elif defined(TQ_WS_QWS) - // just a placeholder #endif if ( ! receiver ) return; @@ -702,10 +700,6 @@ void TQInputContext::setMicroFocus( int x, int y, int w, int h, TQFont *f ) TQEvent::MouseButtonRelease or \c TQEvent::MouseButtonDblClick or \c TQEvent::MouseButtonMove. Refer \a button and \a state to determine what operation has performed. - - The method interface is imported from - TQWSInputMethod::mouseHandler() of TQt/Embedded 2.3.7 and extended - for desktop system. */ void TQInputContext::mouseHandler( int x, TQEvent::Type type, TQt::ButtonState button, @@ -828,8 +822,7 @@ TQPtrList *TQInputContext::menus() text widgets to add the submenus to its own context menu. If you want to insert the submenus in more flexible way, use TQInputContext::menus() manually. \a popup is not restricted to - context menu of a text widget. For example, the owner may be a - input method menu of TQtopia taskbar in TQt/Embedded platform. + context menu of a text widget. \sa menus(), TQInputContextMenu::Action */ diff --git a/src/kernel/qinputcontext_p.h b/src/kernel/qinputcontext_p.h index 88cff048a..984660038 100644 --- a/src/kernel/qinputcontext_p.h +++ b/src/kernel/qinputcontext_p.h @@ -70,10 +70,6 @@ class TQString; #include "qt_windows.h" #endif -#ifdef TQ_WS_QWS -class TQWSIMEvent; -#endif - class TQInputContext { public: @@ -98,14 +94,6 @@ public: TQMemArray selectedChars; #endif // TQ_WS_X11 -#ifdef TQ_WS_QWS - static void translateIMEvent( TQWSIMEvent *, TQWidget * ); - static void reset(); -private: - static TQWidget* focusWidget; - static TQString* composition; -#endif //TQ_WS_QWS - #ifdef TQ_WS_WIN static void init(); static void shutdown(); diff --git a/src/kernel/qinternal.cpp b/src/kernel/qinternal.cpp index 87cf5694e..389c7236c 100644 --- a/src/kernel/qinternal.cpp +++ b/src/kernel/qinternal.cpp @@ -74,8 +74,8 @@ bool TQSharedDoubleBuffer::dblbufr = TRUE; */ static const int hardLimitWidth = -1; static const int hardLimitHeight = -1; -#if defined( TQ_WS_QWS ) || defined( TQ_WS_MAC9 ) -// Small in TQt/Embedded / Mac9 - 5K on 32bpp +#if defined( TQ_WS_MAC9 ) +// Small in Mac9 - 5K on 32bpp static const int sharedLimitWidth = 64; static const int sharedLimitHeight = 20; #else diff --git a/src/kernel/qkeysequence.cpp b/src/kernel/qkeysequence.cpp index 8a8ac86b0..add0df9e4 100644 --- a/src/kernel/qkeysequence.cpp +++ b/src/kernel/qkeysequence.cpp @@ -474,7 +474,7 @@ int TQKeySequence::decodeString( const TQString& str ) TQString TQKeySequence::encodeString( int key ) { TQString s; -#if defined(Q_OS_MAC) && !defined(TQWS) +#if defined(Q_OS_MAC) // On MAC the order is Meta, Alt, Shift, Control. if ( (key & META) == META ) s += TQMAC_META; diff --git a/src/kernel/qlock.cpp b/src/kernel/qlock.cpp deleted file mode 100644 index 948e7602f..000000000 --- a/src/kernel/qlock.cpp +++ /dev/null @@ -1,298 +0,0 @@ -/**************************************************************************** -** -** Definition of TQLock class. This manages interprocess locking -** -** Created : 20000406 -** -** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "qlock_p.h" - -#ifndef TQT_NO_QWS_MULTIPROCESS - -#include -#include -#if defined(Q_OS_MACX) -#define Q_NO_SEMAPHORE -#include -#include -#else -#define _WANT_SEMUN -#include -#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) \ - || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_BSDI) -/* union semun is defined by including */ -#else -/* according to X/OPEN we have to define it ourselves */ -union semun { - int val; /* value for SETVAL */ - struct semid_ds *buf; /* buffer for IPC_STAT, IPC_SET */ - unsigned short *array; /* array for GETALL, SETALL */ -}; -#endif -#endif -#include -#include -#include - -#define MAX_LOCKS 200 // maximum simultaneous read locks - -class TQLockData -{ -public: -#ifdef Q_NO_SEMAPHORE - TQCString file; -#endif - int id; - int count; - bool owned; -}; - -#endif - -/*! - \class TQLock qlock_p.h - \brief The TQLock class is a wrapper for a System V shared semaphore. - - \ingroup qws - \ingroup io - - \internal - - It is used by TQt/Embedded for synchronizing access to the graphics - card and shared memory region between processes. -*/ - -/*! - \enum TQLock::Type - - \value Read - \value Write -*/ - -/*! - \fn TQLock::TQLock( const TQString &filename, char id, bool create ) - - Creates a lock. \a filename is the file path of the Unix-domain - socket the TQt/Embedded client is using. \a id is the name of the - particular lock to be created on that socket. If \a create is TRUE - the lock is to be created (as the TQt/Embedded server does); if \a - create is FALSE the lock should exist already (as the TQt/Embedded - client expects). -*/ - -TQLock::TQLock( const TQString &filename, char id, bool create ) -{ -#ifndef TQT_NO_QWS_MULTIPROCESS - data = new TQLockData; - data->count = 0; -#ifdef Q_NO_SEMAPHORE - data->file = TQString(filename+id).local8Bit(); - for(int x = 0; x < 2; x++) { - data->id = open(data->file, O_RDWR | (x ? O_CREAT : 0), S_IRWXU); - if(data->id != -1 || !create) { - data->owned = x; - break; - } - } -#else - key_t semkey = ftok(filename, id); - data->id = semget(semkey,0,0); - data->owned = create; - if ( create ) { - semun arg; arg.val = 0; - if ( data->id != -1 ) - semctl(data->id,0,IPC_RMID,arg); - data->id = semget(semkey,1,IPC_CREAT|0600); - arg.val = MAX_LOCKS; - semctl(data->id,0,SETVAL,arg); - } -#endif - if ( data->id == -1 ) { - tqWarning( "Cannot %s semaphore %s \'%c\'", - create ? "create" : "get", filename.latin1(), id ); - tqDebug("Error %d %s\n",errno,strerror(errno)); - } -#endif -} - -/*! - \fn TQLock::~TQLock() - - Destroys a lock -*/ - -TQLock::~TQLock() -{ -#ifndef TQT_NO_QWS_MULTIPROCESS - if ( locked() ) - unlock(); -#ifdef Q_NO_SEMAPHORE - if(isValid()) { - close(data->id); - if( data->owned ) - unlink( data->file ); - } -#else - if(data->owned) { - semun arg; arg.val = 0; - semctl( data->id, 0, IPC_RMID, arg ); - } -#endif - delete data; -#endif -} - -/*! - \fn bool TQLock::isValid() const - - Returns TRUE if the lock constructor was succesful; returns FALSE if - the lock could not be created or was not available to connect to. -*/ - -bool TQLock::isValid() const -{ -#ifndef TQT_NO_QWS_MULTIPROCESS - return (data->id != -1); -#else - return TRUE; -#endif -} - -/*! - Locks the semaphore with a lock of type \a t. Locks can either be - \c Read or \c Write. If a lock is \c Read, attempts by other - processes to obtain \c Read locks will succeed, and \c Write - attempts will block until the lock is unlocked. If locked as \c - Write, all attempts to lock by other processes will block until - the lock is unlocked. Locks are stacked: i.e. a given TQLock can be - locked multiple times by the same process without blocking, and - will only be unlocked after a corresponding number of unlock() - calls. -*/ - -void TQLock::lock( Type t ) -{ -#ifndef TQT_NO_QWS_MULTIPROCESS - if ( !data->count ) { -#ifdef Q_NO_SEMAPHORE - int op = LOCK_SH; - if(t == Write) - op = LOCK_EX; - for( int rv=1; rv; ) { - rv = flock(data->id, op); - if (rv == -1 && errno != EINTR) - tqDebug("Semop lock failure %s",strerror(errno)); - } -#else - sembuf sops; - sops.sem_num = 0; - sops.sem_flg = SEM_UNDO; - - if ( t == Write ) { - sops.sem_op = -MAX_LOCKS; - type = Write; - } else { - sops.sem_op = -1; - type = Read; - } - - int rv; - do { - rv = semop(data->id,&sops,1); - if (rv == -1 && errno != EINTR) - tqDebug("Semop lock failure %s",strerror(errno)); - } while ( rv == -1 && errno == EINTR ); -#endif - } - data->count++; -#endif -} - -/*! - \fn void TQLock::unlock() - - Unlocks the semaphore. If other processes were blocking waiting to - lock() the semaphore, one of them will wake up and succeed in - lock()ing. -*/ - -void TQLock::unlock() -{ -#ifndef TQT_NO_QWS_MULTIPROCESS - if( data->count ) { - data->count--; - if( !data->count ) { -#ifdef Q_NO_SEMAPHORE - for( int rv=1; rv; ) { - rv = flock(data->id, LOCK_UN); - if (rv == -1 && errno != EINTR) - tqDebug("Semop lock failure %s",strerror(errno)); - } -#else - sembuf sops; - sops.sem_num = 0; - sops.sem_op = 1; - sops.sem_flg = SEM_UNDO; - if ( type == Write ) - sops.sem_op = MAX_LOCKS; - - int rv; - do { - rv = semop(data->id,&sops,1); - if (rv == -1 && errno != EINTR) - tqDebug("Semop unlock failure %s",strerror(errno)); - } while ( rv == -1 && errno == EINTR ); -#endif - } - } else { - tqDebug("Unlock without corresponding lock"); - } -#endif -} - -/*! - \fn bool TQLock::locked() const - - Returns TRUE if the lock is currently held by the current process; - otherwise returns FALSE. -*/ - -bool TQLock::locked() const -{ -#ifndef TQT_NO_QWS_MULTIPROCESS - return (data->count > 0); -#else - return FALSE; -#endif -} diff --git a/src/kernel/qlock_p.h b/src/kernel/qlock_p.h deleted file mode 100644 index 53d0ddbf3..000000000 --- a/src/kernel/qlock_p.h +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Definition of TQLock class. This manages interprocess locking -** -** Created : 20000406 -** -** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQLOCK_P_H -#define TQLOCK_P_H - -// -// W A R N I N G -// ------------- -// -// This file is not part of the TQt API. This header file may -// change from version to version without notice, or even be -// removed. -// -// We mean it. -// -// - -#ifndef QT_H -#include "tqstring.h" -#endif // QT_H - -class TQLockData; - -class TQLock -{ -public: - TQLock( const TQString &filename, char id, bool create = FALSE ); - ~TQLock(); - - enum Type { Read, Write }; - - bool isValid() const; - void lock( Type type ); - void unlock(); - bool locked() const; - -private: - Type type; - TQLockData *data; -}; - - -// Nice class for ensuring the lock is released. -// Just create one on the stack and the lock is automatically released -// when TQLockHolder is destructed. -class TQLockHolder -{ -public: - TQLockHolder( TQLock *l, TQLock::Type type ) : qlock(l) { - qlock->lock( type ); - } - ~TQLockHolder() { if ( locked() ) qlock->unlock(); } - - void lock( TQLock::Type type ) { qlock->lock( type ); } - void unlock() { qlock->unlock(); } - bool locked() const { return qlock->locked(); } - -private: - TQLock *qlock; -}; - -#endif - diff --git a/src/kernel/qmovie.cpp b/src/kernel/qmovie.cpp index cccfff435..d52f662a7 100644 --- a/src/kernel/qmovie.cpp +++ b/src/kernel/qmovie.cpp @@ -52,10 +52,6 @@ #ifndef TQT_NO_MOVIE -#ifdef TQ_WS_QWS -#include "qgfx_qws.h" -#endif - #include "ntqasyncio.h" #include "ntqasyncimageio.h" @@ -396,28 +392,6 @@ void TQMoviePrivate::updatePixmapFromImage(const TQPoint& off, copyBlt( &mypixmap, area.left(), area.top(), &lines, off.x(), off.y(), area.width(), area.height() ); } - -#ifdef TQ_WS_QWS - if(display_widget) { - TQGfx * mygfx=display_widget->graphicsContext(); - if(mygfx) { - double xscale,yscale; - xscale=display_widget->width(); - yscale=display_widget->height(); - xscale=xscale/((double)mypixmap.width()); - yscale=yscale/((double)mypixmap.height()); - double xh,yh; - xh=xscale*((double)area.left()); - yh=yscale*((double)area.top()); - mygfx->setSource(&mypixmap); - mygfx->setAlphaType(TQGfx::IgnoreAlpha); - mygfx->stretchBlt(0,0,display_widget->width(), - display_widget->height(),mypixmap.width(), - mypixmap.height()); - delete mygfx; - } - } -#endif } void TQMoviePrivate::showChanges() @@ -679,16 +653,6 @@ void TQMovie::pushData(const uchar* data, int length) d->receive(data,length); } -#ifdef TQ_WS_QWS // ##### Temporary performance experiment -/*! - \internal -*/ -void TQMovie::setDisplayWidget(TQWidget * w) -{ - d->display_widget=w; -} -#endif - /*! Constructs a TQMovie that reads an image sequence from the given data source, \a src. The source must be allocated dynamically, diff --git a/src/kernel/qpainter.cpp b/src/kernel/qpainter.cpp index 82840cc27..47d2af11c 100644 --- a/src/kernel/qpainter.cpp +++ b/src/kernel/qpainter.cpp @@ -51,9 +51,6 @@ #include "qrichtext_p.h" #include "ntqregexp.h" #include "ntqcleanuphandler.h" -#ifdef TQ_WS_QWS -#include "qgfx_qws.h" -#endif #include #include "tqtextlayout_p.h" @@ -242,12 +239,6 @@ typedef TQPtrStack TQWMatrixStack; \link coordsys.html Coordinate System Overview \endlink */ -/*! - \fn TQGfx * TQPainter::internalGfx() - - \internal -*/ - /*! \enum TQPainter::CoordinateMode \value CoordDevice @@ -325,8 +316,6 @@ typedef TQPtrStack TQWMatrixStack; \value NorROP dst = NOT (src OR dst) By far the most useful ones are \c CopyROP and \c XorROP. - - On TQt/Embedded, only \c CopyROP, \c XorROP, and \c NotROP are supported. */ /*! @@ -2253,7 +2242,7 @@ TQRegion TQPainter::clipRegion( CoordinateMode m ) const */ -#if !defined(TQ_WS_X11) && !defined(TQ_WS_QWS) && !defined(TQ_WS_MAC) +#if !defined(TQ_WS_X11) && !defined(TQ_WS_MAC) // The doc and X implementation of this functions is in qpainter_x11.cpp void TQPainter::drawWinFocusRect( int, int, int, int, bool, const TQColor & ) @@ -2343,9 +2332,6 @@ void TQPainter::drawPixmap( const TQRect &r, const TQPixmap &pm ) #if defined(TQ_WS_WIN) if ( !pdev->cmd( TQPaintDevice::PdcDrawPixmap, this, param ) || !hdc ) return; -#elif defined(TQ_WS_QWS) - pdev->cmd( TQPaintDevice::PdcDrawPixmap, this, param ); - return; #elif defined(TQ_WS_MAC) if ( !pdev->cmd( TQPaintDevice::PdcDrawPixmap, this, param ) || !pdev->handle()) return; @@ -2417,41 +2403,6 @@ void TQPainter::drawImage( int x, int y, const TQImage & image, int sx, int sy, int sw, int sh, int conversionFlags ) { -#ifdef TQ_WS_QWS - //### Hackish -# ifndef TQT_NO_TRANSFORMATIONS - if ( !image.isNull() && gfx && - (txop==TxNone||txop==TxTranslate) && !testf(ExtDev) ) -# else - if ( !image.isNull() && gfx && !testf(ExtDev) ) -# endif - { - if(sw<0) - sw=image.width(); - if(sh<0) - sh=image.height(); - - TQImage image2 = qt_screen->mapToDevice( image ); - - // This is a bit dubious - if(image2.depth()==1) { - image2.setNumColors( 2 ); - image2.setColor( 0, tqRgb(255,255,255) ); - image2.setColor( 1, tqRgb(0,0,0) ); - } - if ( image2.hasAlphaBuffer() ) - gfx->setAlphaType(TQGfx::InlineAlpha); - else - gfx->setAlphaType(TQGfx::IgnoreAlpha); - gfx->setSource(&image2); - if ( testf(VxF|WxF) ) { - map( x, y, &x, &y ); - } - gfx->blt(x,y,sw,sh,sx,sy); - return; - } -#endif - if ( !isActive() || image.isNull() ) return; @@ -2491,9 +2442,6 @@ void TQPainter::drawImage( int x, int y, const TQImage & image, #if defined(TQ_WS_WIN) if ( !pdev->cmd( TQPaintDevice::PdcDrawImage, this, param ) || !hdc ) return; -#elif defined (TQ_WS_QWS) - pdev->cmd( TQPaintDevice::PdcDrawImage, this, param ); - return; #elif defined(TQ_WS_MAC) if(!pdev->cmd( TQPaintDevice::PdcDrawImage, this, param ) || !pdev->handle() ) return; @@ -2550,9 +2498,6 @@ void TQPainter::drawImage( const TQRect &r, const TQImage &i ) #if defined(TQ_WS_WIN) if ( !pdev->cmd( TQPaintDevice::PdcDrawImage, this, param ) || !hdc ) return; -#elif defined(TQ_WS_QWS) - pdev->cmd( TQPaintDevice::PdcDrawImage, this, param ); - return; #elif defined(TQ_WS_MAC) if ( !pdev->cmd( TQPaintDevice::PdcDrawImage, this, param ) || !pdev->handle() ) return; @@ -2791,9 +2736,6 @@ void TQPainter::drawText( const TQRect &r, int tf, this, param) || !hdc ) return; // TQPrinter wants PdcDrawText2 -#elif defined(TQ_WS_QWS) - pdev->cmd( TQPaintDevice::PdcDrawText2Formatted, this, param); - return; #elif defined(TQ_WS_MAC) if ( !pdev->cmd( TQPaintDevice::PdcDrawText2Formatted, this, param) || !pdev->handle()) @@ -3045,7 +2987,7 @@ void qt_format_text( const TQFont& font, const TQRect &_r, textFlags |= TQt::Underline; cUlChar++; } -#if defined(TQ_WS_X11) || defined(TQ_WS_QWS) +#if defined(TQ_WS_X11) if ( painter->bg_mode == TQt::OpaqueMode ) { int h = ti.ascent() + ti.descent() + 1; if (ti.y() + h < height) diff --git a/src/kernel/qprinter_unix.cpp b/src/kernel/qprinter_unix.cpp index 3fed326c5..c5d613827 100644 --- a/src/kernel/qprinter_unix.cpp +++ b/src/kernel/qprinter_unix.cpp @@ -126,11 +126,7 @@ TQPrinter::TQPrinter( PrinterMode m ) paper_source = OnlyOne; switch ( m ) { case ScreenResolution: -#ifdef TQ_WS_QWS - res = 72; -#else res = TQPaintDevice::x11AppDpiY(); -#endif break; case Compatible: case PrinterResolution: diff --git a/src/kernel/qpsprinter.cpp b/src/kernel/qpsprinter.cpp index 22acd9832..943cefff4 100644 --- a/src/kernel/qpsprinter.cpp +++ b/src/kernel/qpsprinter.cpp @@ -95,7 +95,7 @@ #endif #endif -#if defined( TQ_WS_X11 ) || defined (TQ_WS_QWS) +#if defined( TQ_WS_X11 ) #include "qfontdata_p.h" #include "qfontengine_p.h" #include "tqtextlayout_p.h" @@ -2439,9 +2439,6 @@ void TQPSPrinterFontTTF::drawText( TQTextStream &stream, const TQPoint &p, TQTex // This helps us get arabic for XLFD fonts working. In that case we have a Unicode // cmap (== 0), and the glyphs array contains the shaped string. bool useGlyphAsUnicode = (type == TQFontEngine::XLFD && si.fontEngine->cmap() == 0); -#else // TQ_WS_QWS - const bool glyphIndices = FALSE; - const bool useGlyphAsUnicode = TRUE; #endif stream << "<"; if ( si.analysis.bidiLevel % 2 ) { @@ -4916,7 +4913,6 @@ TQPSPrinterFont::TQPSPrinterFont(const TQFont &f, int script, TQPSPrinterPrivate enum { NONE, PFB, PFA, TTF } type = NONE; TQFontEngine *engine = f.d->engineForScript( (TQFont::Script) script ); - // ### implement similar code for TQWS and WIN xfontname = makePSFontName( engine ); #if defined( TQ_WS_X11 ) @@ -6165,11 +6161,7 @@ void TQPSPrinterPrivate::flushPage( bool last ) if ( buffer && // ( last || pagesInBuffer++ > -1 || // ( pagesInBuffer > 4 && buffer->size() > 262144 ) ) ) -#ifdef TQ_WS_QWS - (last || buffer->size() > 2000000) // embedded is usually limited in memory -#else (last || buffer->size() > 50000000) -#endif ) { // tqDebug("emiting header at page %d", pageCount ); emitHeader( last ); diff --git a/src/kernel/qregion_x11.cpp b/src/kernel/qregion_x11.cpp index 7662a168d..30d0fe9c2 100644 --- a/src/kernel/qregion_x11.cpp +++ b/src/kernel/qregion_x11.cpp @@ -2803,8 +2803,6 @@ TQMemArray TQRegion::rects() const
  • The rectangles must be sorted ascendingly by Y as the major sort key and X as the minor sort key. - \internal - Only some platforms have that restriction (TQWS and X11). */ void TQRegion::setRects( const TQRect *rects, int num ) { diff --git a/src/kernel/qrichtext.cpp b/src/kernel/qrichtext.cpp index 1d9626426..2e7103aec 100644 --- a/src/kernel/qrichtext.cpp +++ b/src/kernel/qrichtext.cpp @@ -102,8 +102,6 @@ static inline int scale( int value, TQPainter *painter ) ReleaseDC( 0, hdc ); #elif defined (TQ_WS_MAC) value = value * metrics.logicalDpiY() / 75; // ##### FIXME -#elif defined (TQ_WS_QWS) - value = value * metrics.logicalDpiY() / 75; #endif } return value; diff --git a/src/kernel/qscriptengine.cpp b/src/kernel/qscriptengine.cpp index 5e18dad56..0dd19f3c3 100644 --- a/src/kernel/qscriptengine.cpp +++ b/src/kernel/qscriptengine.cpp @@ -1619,6 +1619,4 @@ static bool arabic_shape(TQShaperItem *item) # include "qscriptengine_win.cpp" #elif defined(TQ_WS_MAC) # include "qscriptengine_mac.cpp" -#elif defined(TQ_WS_QWS) -# include "qscriptengine_qws.cpp" #endif diff --git a/src/kernel/qsharedmemory_p.cpp b/src/kernel/qsharedmemory_p.cpp deleted file mode 100644 index 9a5fa38be..000000000 --- a/src/kernel/qsharedmemory_p.cpp +++ /dev/null @@ -1,169 +0,0 @@ -/**************************************************************************** -** -** Provides a standardised interface to shared memory -** -** Created : 020124 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "qsharedmemory_p.h" - -#if !defined(QT_QWS_NO_SHM) - -#if defined(QT_POSIX_QSHM) -#include -#include - -TQSharedMemory::TQSharedMemory (int size, TQString filename, char c ) -{ - shmSize = size; - shmFile = filename; - character = c; - shmFile.append(c); -} - -bool TQSharedMemory::create () -{ - shmFD = shm_open (shmFile.latin1 (), O_RDWR | O_EXCL | O_CREAT, 0666); - if (shmFD == -1) - return FALSE; - else if (ftruncate (shmFD, shmSize) == -1) - { - close (shmFD); - return FALSE; - } - - return TRUE; -} - -void TQSharedMemory::destroy () -{ - shm_unlink (shmFile.latin1 ()); -} - -bool TQSharedMemory::attach () -{ - shmBase = mmap (0, shmSize, PROT_READ | PROT_WRITE, MAP_SHARED, shmFD, 0); - - if (shmBase == MAP_FAILED) - return FALSE; - - close (shmFD); - return TRUE; -} - -void TQSharedMemory::detach () -{ - munmap (shmBase, shmSize); -} - -void TQSharedMemory::setPermissions (mode_t mode) -{ - mprotect (shmBase, shmSize, mode); // Provide defines to make prot work properly -} - -int TQSharedMemory::size() -{ - struct stat buf; - int rc = fstat (shmFD, &buf); - if (rc != -1) - return buf.st_size; - else - return rc; -} - -#else // Assume SysV for backwards compat -#include - -TQSharedMemory::TQSharedMemory (int size, TQString filename, char c ) -{ - shmSize = size; - shmFile = filename; - character = c; - key = ftok (shmFile.latin1 (), c); - idInitted = FALSE; - shmId = -1; -} - -bool TQSharedMemory::create () -{ - shmId = shmget (key, shmSize, IPC_CREAT | 0666); - if (shmId == -1) - return FALSE; - else - return TRUE; -} - -void TQSharedMemory::destroy () -{ - if (shmId != -1) { - struct shmid_ds shm; - shmctl (shmId, IPC_RMID, &shm); - } -} - -bool TQSharedMemory::attach () -{ - if (shmId == -1) - shmId = shmget (key, shmSize, 0); - - shmBase = shmat (shmId, 0, 0); - if ((int) shmBase == -1 || shmBase == 0) - return FALSE; - else - return TRUE; -} - -void TQSharedMemory::detach () -{ - shmdt (shmBase); -} - -void TQSharedMemory::setPermissions (mode_t mode) -{ - struct shmid_ds shm; - shmctl (shmId, IPC_STAT, &shm); - shm.shm_perm.mode = mode; - shmctl (shmId, IPC_SET, &shm); -} - -int TQSharedMemory::size () -{ - struct shmid_ds shm; - shmctl (shmId, IPC_STAT, &shm); - return shm.shm_segsz; -} - -#endif - -#endif diff --git a/src/kernel/qsharedmemory_p.h b/src/kernel/qsharedmemory_p.h deleted file mode 100644 index 949450930..000000000 --- a/src/kernel/qsharedmemory_p.h +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** -** Includes system files for shared memory -** -** Created : 020124 -** -** Copyright (C) 2005-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the kernel module of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQSHAREDMEMORY_P_H -#define TQSHAREDMEMORY_P_H - -// -// W A R N I N G -// ------------- -// -// This file is not part of the TQt API. It exists for the convenience -// of qapplication_qws.cpp and qgfxvnc_qws.cpp. This header file may -// change from version to version without notice, or even be removed. -// -// We mean it. -// -// - -#ifndef QT_H -#include "tqstring.h" -#endif // QT_H - -#if !defined (QT_QWS_NO_SHM) - -#include -#include - -class TQSharedMemory { -public: - TQSharedMemory(){}; - TQSharedMemory(int, TQString, char c = 'Q'); - ~TQSharedMemory(){}; - - bool create(); - void destroy(); - - bool attach(); - void detach(); - - void setPermissions(mode_t mode); - int size(); - void * base() { return shmBase; }; - -private: - void *shmBase; - int shmSize; - TQString shmFile; - char character; -#if defined(QT_POSIX_QSHM) - int shmFD; -#else - int shmId; - key_t key; - int idInitted; -#endif -}; - -#endif - -#endif diff --git a/src/kernel/qsound.cpp b/src/kernel/qsound.cpp index adfdf84ee..3141fc2b5 100644 --- a/src/kernel/qsound.cpp +++ b/src/kernel/qsound.cpp @@ -134,9 +134,6 @@ public: http://quicktime.apple.com QuickTime\endlink) for sound, this means all QuickTime formats are supported by TQt/Mac. - On TQt/Embedded, a built-in mixing sound server is used, which - accesses \c /dev/dsp directly. Only the WAVE format is supported. - The availability of sound can be tested with TQSound::isAvailable(). */ diff --git a/src/kernel/qt_kernel.pri b/src/kernel/qt_kernel.pri index d22498131..c812e5843 100644 --- a/src/kernel/qt_kernel.pri +++ b/src/kernel/qt_kernel.pri @@ -161,7 +161,6 @@ kernel { !x11:mac { exists(qsound_mac.cpp):SOURCES += $$KERNEL_CPP/qsound_mac.cpp - else:SOURCES += $$KERNEL_CPP/qsound_qws.cpp } !embedded:!x11:mac { SOURCES += $$KERNEL_CPP/qapplication_mac.cpp \ @@ -270,9 +269,6 @@ kernel { unix:HEADERS += $$KERNEL_P/qpsprinter_p.h \ $$KERNEL_H/ntqfontdatabase.h - embedded:SOURCES += $$KERNEL_CPP/qsharedmemory_p.cpp \ - $$KERNEL_CPP/qfontengine_qws.cpp - accessibility { HEADERS += $$KERNEL_H/ntqaccessible.h SOURCES += $$KERNEL_CPP/qaccessible.cpp diff --git a/src/kernel/tqimage.cpp b/src/kernel/tqimage.cpp index d31168c70..46002b8f8 100644 --- a/src/kernel/tqimage.cpp +++ b/src/kernel/tqimage.cpp @@ -59,12 +59,8 @@ #include #include -#ifdef TQ_WS_QWS -#include "qgfx_qws.h" -#endif - -// 16bpp images on supported on TQt/Embedded -#if !defined( TQ_WS_QWS ) && !defined(TQT_NO_IMAGE_16_BIT) +// 16bpp images on supported +#if !defined(TQT_NO_IMAGE_16_BIT) #define TQT_NO_IMAGE_16_BIT #endif @@ -143,12 +139,8 @@ *p = tqRgb(255,255,0); \endcode - On TQt/Embedded, scanlines are aligned to the pixel depth and may - be padded to any degree, while on all other platforms, the - scanlines are 32-bit aligned for all depths. The constructor + The scanlines are 32-bit aligned for all depths. The constructor taking a \c{uchar*} argument always expects 32-bit aligned data. - On TQt/Embedded, an additional constructor allows the number of - bytes-per-line to be specified. TQImage supports a variety of methods for getting information about the image, for example, colorTable(), allGray(), isGrayscale(), @@ -510,57 +502,6 @@ TQImage::TQImage( uchar* yourdata, int w, int h, int depth, data->bitordr = bitOrder; } -#ifdef TQ_WS_QWS - -/*! - Constructs an image that uses an existing memory buffer. The - buffer must remain valid for the life of the TQImage. The image - does not delete the buffer at destruction. The buffer is passed as - \a yourdata. The image's width is \a w and its height is \a h. The - color depth is \a depth. \a bpl specifies the number of bytes per - line. - - If \a colortable is 0, a color table sufficient for \a numColors - will be allocated (and destructed later). - - The endianness is specified by \a bitOrder. - - \warning This constructor is only available on TQt/Embedded. -*/ -TQImage::TQImage( uchar* yourdata, int w, int h, int depth, - int bpl, TQRgb* colortable, int numColors, - Endian bitOrder ) -{ - init(); - if ( !yourdata || w <= 0 || h <= 0 || depth <= 0 || numColors < 0 - || INT_MAX / sizeof(uchar *) < uint(h) - || INT_MAX / uint(bpl) < uint(h) - ) - return; // invalid parameter(s) - data->w = w; - data->h = h; - data->d = depth; - data->ncols = numColors; - data->nbytes = bpl * h; - if ( colortable || !numColors ) { - data->ctbl = colortable; - data->ctbl_mine = FALSE; - } else { - // calloc since we realloc, etc. later (ick) - data->ctbl = (TQRgb*)calloc( numColors*sizeof(TQRgb), numColors ); - TQ_CHECK_PTR(data->ctbl); - data->ctbl_mine = TRUE; - } - uchar** jt = (uchar**)malloc(h*sizeof(uchar*)); - TQ_CHECK_PTR(jt); - for (int j=0; jbits = jt; - data->bitordr = bitOrder; -} -#endif // TQ_WS_QWS - /*! Destroys the image and cleans up. */ @@ -666,15 +607,7 @@ TQImage TQImage::copy() const } else { TQImage image; image.create( width(), height(), depth(), numColors(), bitOrder() ); -#ifdef TQ_WS_QWS - // TQt/Embedded can create images with non-default bpl - // make sure we don't crash. - if ( image.numBytes() != numBytes() ) - for ( int i = 0; i < height(); i++ ) - memcpy( image.scanLine(i), scanLine(i), image.bytesPerLine() ); - else -#endif - memcpy( image.bits(), bits(), numBytes() ); + memcpy( image.bits(), bits(), numBytes() ); memcpy( image.colorTable(), colorTable(), numColors() * sizeof(TQRgb) ); image.setAlphaBuffer( hasAlphaBuffer() ); image.data->dpmx = dotsPerMeterX(); @@ -816,7 +749,7 @@ TQImage TQImage::copy(int x, int y, int w, int h, int conversion_flags) const The image depth is the number of bits used to encode a single pixel, also called bits per pixel (bpp) or bit planes of an image. - The supported depths are 1, 8, 16 (TQt/Embedded only) and 32. + The supported depths are 1, 8 and 32. \sa convertDepth() */ @@ -826,8 +759,8 @@ TQImage TQImage::copy(int x, int y, int w, int h, int conversion_flags) const Returns the size of the color table for the image. - Notice that numColors() returns 0 for 16-bpp (TQt/Embedded only) - and 32-bpp images because these images do not use color tables, + Notice that numColors() returns 0 for + 32-bpp images because these images do not use color tables, but instead encode pixel values as RGB triplets. \sa setNumColors() colorTable() @@ -924,9 +857,6 @@ TQImage TQImage::copy(int x, int y, int w, int h, int conversion_flags) const \link ::tqGreen() tqGreen()\endlink and \link ::tqBlue() tqBlue()\endlink, etc. (ntqcolor.h) to access the pixels. - \warning If you are accessing 16-bpp image data, you must handle - endianness yourself. (TQt/Embedded only) - \sa bytesPerLine() bits() jumpTable() */ @@ -1278,15 +1208,9 @@ bool TQImage::create( int width, int height, int depth, int numColors, setNumColors( 0 ); return FALSE; } -// TQt/Embedded doesn't waste memory on unnecessary padding. -#ifdef TQ_WS_QWS - const int bpl = (width*depth+7)/8; // bytes per scanline - const int pad = 0; -#else const int bpl = ((width*depth+31)/32)*4; // bytes per scanline // #### WWA: shouldn't this be (width*depth+7)/8: const int pad = bpl - (width*depth)/8; // pad with zeros -#endif if ( INT_MAX / uint(bpl) < uint(height) || bpl < 0 || INT_MAX / sizeof(uchar *) < uint(height) ) { // sanity check for potential overflow @@ -2115,7 +2039,7 @@ static bool convert_32_to_16( const TQImage *src, TQImage *dst ) Converts the depth (bpp) of the image to \a depth and returns the converted image. The original image is not changed. - The \a depth argument must be 1, 8, 16 (TQt/Embedded only) or 32. + The \a depth argument must be 1, 8 or 32. Returns \c *this if \a depth is equal to the image depth, or a \link isNull() null\endlink image if this image cannot be @@ -2386,7 +2310,7 @@ bool isGray(TQRgb c) (i.e. their red, green and blue components are equal); otherwise returns FALSE. - This function is slow for large 16-bit (TQt/Embedded only) and 32-bit images. + This function is slow for large 32-bit images. \sa isGrayscale() */ @@ -2419,7 +2343,7 @@ bool TQImage::allGray() const } /*! - For 16-bit (TQt/Embedded only) and 32-bit images, this function is + For 32-bit images, this function is equivalent to allGray(). For 8-bpp images, this function returns TRUE if color(i) is @@ -4745,26 +4669,12 @@ bool read_dib( TQDataStream& s, int offset, int startpos, TQImage& image ) d->at( startpos + offset ); // start of image data int bpl = image.bytesPerLine(); -#ifdef TQ_WS_QWS - // - // Guess the number of bytes-per-line if we don't know how much - // image data is in the file (bogus image ?). - // - int bmpbpl = bi.biSizeImage > 0 ? - bi.biSizeImage / bi.biHeight : - (d->size() - offset) / bi.biHeight; - int pad = bmpbpl-bpl; -#endif uchar **line = image.jumpTable(); if ( nbits == 1 ) { // 1 bit BMP image while ( --h >= 0 ) { if ( d->readBlock((char*)line[h],bpl) != bpl ) break; -#ifdef TQ_WS_QWS - if ( pad > 0 ) - d->at(d->at()+pad); -#endif } if ( ncols == 2 && tqGray(image.color(0)) < tqGray(image.color(1)) ) swapPixel01( &image ); // pixel 0 is white! @@ -4911,10 +4821,6 @@ bool read_dib( TQDataStream& s, int offset, int startpos, TQImage& image ) while ( --h >= 0 ) { if ( d->readBlock((char *)line[h],bpl) != bpl ) break; -#ifdef TQ_WS_QWS - if ( pad > 0 ) - d->at(d->at()+pad); -#endif } } } @@ -4989,12 +4895,6 @@ bool qt_write_dib( TQDataStream& s, TQImage image ) } else if ( image.depth() == 32 ) { bpl_bmp = ((image.width()*24+31)/32)*4; nbits = 24; -#ifdef TQ_WS_QWS - } else if ( image.depth() == 1 || image.depth() == 8 ) { - // TQt/E doesn't word align. - bpl_bmp = ((image.width()*image.depth()+31)/32)*4; - nbits = image.depth(); -#endif } else { bpl_bmp = bpl; nbits = image.depth(); @@ -5035,16 +4935,8 @@ bool qt_write_dib( TQDataStream& s, TQImage image ) int y; if ( nbits == 1 || nbits == 8 ) { // direct output -#ifdef TQ_WS_QWS - // TQt/E doesn't word align. - int pad = bpl_bmp - bpl; - char padding[4]; -#endif for ( y=image.height()-1; y>=0; y-- ) { d->writeBlock( (char*)image.scanLine(y), bpl ); -#ifdef TQ_WS_QWS - d->writeBlock( padding, pad ); -#endif } return TRUE; } @@ -6499,33 +6391,3 @@ void TQImage::setText(const char* key, const char* lang, const TQString& s) } #endif // TQT_NO_IMAGE_TEXT - -#ifdef TQ_WS_QWS -/*! - \internal -*/ -TQGfx * TQImage::graphicsContext() -{ - TQGfx * ret=0; - if(depth()) { - int w = qt_screen->mapToDevice( TQSize(width(),height()) ).width(); - int h = qt_screen->mapToDevice( TQSize(width(),height()) ).height(); - ret=TQGfx::createGfx(depth(),bits(),w,h,bytesPerLine()); - } else { - tqDebug("Trying to create image for null depth"); - return 0; - } - if(depth()<=8) { - TQRgb * tmp=colorTable(); - int nc=numColors(); - if(tmp==0) { - static TQRgb table[2] = { tqRgb(255,255,255), tqRgb(0,0,0) }; - tmp=table; - nc=2; - } - ret->setClut(tmp,nc); - } - return ret; -} - -#endif diff --git a/src/kernel/tqimage.h b/src/kernel/tqimage.h index ae5b69ff1..b65b1de43 100644 --- a/src/kernel/tqimage.h +++ b/src/kernel/tqimage.h @@ -83,11 +83,6 @@ public: TQImage( uchar* data, int w, int h, int depth, TQRgb* colortable, int numColors, Endian bitOrder ); -#ifdef TQ_WS_QWS - TQImage( uchar* data, int w, int h, int depth, int pbl, - TQRgb* colortable, int numColors, - Endian bitOrder ); -#endif TQImage( const TQImage & ); ~TQImage(); @@ -129,10 +124,6 @@ public: int numBytes() const; int bytesPerLine() const; -#ifdef TQ_WS_QWS - TQGfx * graphicsContext(); -#endif - bool create( int width, int height, int depth, int numColors=0, Endian bitOrder=IgnoreEndian ); bool create( const TQSize&, int depth, int numColors=0, diff --git a/src/kernel/tqtextengine.cpp b/src/kernel/tqtextengine.cpp index b66fb7d95..9b1ff2e1b 100644 --- a/src/kernel/tqtextengine.cpp +++ b/src/kernel/tqtextengine.cpp @@ -875,7 +875,7 @@ static void calcLineBreaks(const TQString &str, TQCharAttributes *charAttributes } } -#if defined( TQ_WS_X11 ) || defined ( TQ_WS_QWS ) +#if defined( TQ_WS_X11 ) # include "tqtextengine_unix.cpp" #elif defined( TQ_WS_WIN ) # include "tqtextengine_win.cpp" diff --git a/src/kernel/tqtextengine_p.h b/src/kernel/tqtextengine_p.h index 774302a07..7d641e98e 100644 --- a/src/kernel/tqtextengine_p.h +++ b/src/kernel/tqtextengine_p.h @@ -86,7 +86,7 @@ struct glyph_metrics_t int yoff; }; -#if defined( TQ_WS_X11 ) || defined ( TQ_WS_QWS ) +#if defined( TQ_WS_X11 ) typedef unsigned short glyph_t; struct qoffset_t { diff --git a/src/kernel/tqwidget.cpp b/src/kernel/tqwidget.cpp index f4f1a8b1c..8dfda823c 100644 --- a/src/kernel/tqwidget.cpp +++ b/src/kernel/tqwidget.cpp @@ -66,9 +66,6 @@ #include "qt_windows.h" #include "qinputcontext_p.h" #endif -#if defined(TQ_WS_QWS) -#include "qwsmanager_qws.h" -#endif #include "qfontdata_p.h" @@ -455,7 +452,7 @@ in the file qapp_xxx.cpp. *****************************************************************************/ -#if defined(TQ_WS_QWS) || defined(Q_OS_TEMP) +#if defined(Q_OS_TEMP) static const int WDictSize = 163; // plenty for small devices #else static const int WDictSize = 1123; // plenty for 5 big complex windows @@ -908,8 +905,6 @@ TQWidget::TQWidget( TQWidget *parent, const char *name, WFlags f, NFlags n ) own_palette = 0; sizehint_forced = 0; is_closing = 0; - in_show = 0; - in_show_maximized = 0; im_enabled = FALSE; #ifndef TQT_NO_LAYOUT lay_out = 0; @@ -1159,10 +1154,6 @@ void TQWidget::createTLExtra() x->ussize = 0; #endif x->savedFlags = 0; -#if defined(TQ_WS_QWS) && !defined(TQT_NO_QWS_MANAGER) - x->decor_allocated_region = TQRegion(); - x->qwsManager = 0; -#endif createTLSysExtra(); } } @@ -1221,9 +1212,6 @@ void TQWidget::deleteExtra() delete extra->topextra->icon; #endif delete extra->topextra->focusData; -#if defined(TQ_WS_QWS) && !defined(TQT_NO_QWS_MANAGER) - delete extra->topextra->qwsManager; -#endif delete extra->topextra; } delete extra; @@ -3992,8 +3980,6 @@ void TQWidget::show() return; } - in_show = TRUE; // set qws recursion watch - TQApplication::sendPostedEvents( this, TQEvent::ChildInserted ); uint state = isTopLevel() ? windowState() : 0; @@ -4085,8 +4071,6 @@ void TQWidget::show() #if defined(QT_ACCESSIBILITY_SUPPORT) TQAccessible::updateAccessibility( this, 0, TQAccessible::ObjectShow ); #endif - - in_show = FALSE; // reset qws recursion watch } /*! \fn void TQWidget::iconify() @@ -4923,12 +4907,6 @@ bool TQWidget::event( TQEvent *e ) case TQEvent::ApplicationPaletteChange: if ( !own_palette && !isDesktop() ) unsetPalette(); -# if defined(TQ_WS_QWS) && !defined (TQT_NO_QWS_MANAGER) - if ( isTopLevel() && topData()->qwsManager ) { - TQRegion r( topData()->qwsManager->region() ); - TQApplication::postEvent(topData()->qwsManager, new TQPaintEvent(r, FALSE) ); - } -# endif break; #endif @@ -5631,27 +5609,6 @@ bool TQWidget::x11Event( XEvent * ) return FALSE; } -#endif -#if defined(TQ_WS_QWS) - -/*! - This special event handler can be reimplemented in a subclass to - receive native TQt/Embedded events. - - In your reimplementation of this function, if you want to stop the - event being handled by TQt, return TRUE. If you return FALSE, this - native event is passed back to TQt, which translates the event into - a TQt event and sends it to the widget. - - \warning This function is not portable. - - \sa TQApplication::qwsEventFilter() -*/ -bool TQWidget::qwsEvent( TQWSEvent * ) -{ - return FALSE; -} - #endif /*! diff --git a/src/kernel/tqwidget.h b/src/kernel/tqwidget.h index d328dd95d..a83c90a91 100644 --- a/src/kernel/tqwidget.h +++ b/src/kernel/tqwidget.h @@ -61,7 +61,6 @@ struct TQWExtra; struct TQTLWExtra; class TQFocusData; class TQCursor; -class TQWSRegionManager; class TQStyle; class TQStyleControlElementData; @@ -336,9 +335,6 @@ public: bool isUpdatesEnabled() const; -#if 0 //def TQ_WS_QWS - void repaintUnclipped( const TQRegion &, bool erase = TRUE ); -#endif public slots: virtual void setUpdatesEnabled( bool enable ); void update(); @@ -466,9 +462,6 @@ public: TQWidget *childAt( int x, int y, bool includeThis = FALSE ) const; TQWidget *childAt( const TQPoint &, bool includeThis = FALSE ) const; -#if defined(TQ_WS_QWS) - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; -#endif #if defined(TQ_WS_MAC) TQRegion clippedRegion(bool do_children=TRUE); uint clippedSerial(bool do_children=TRUE); @@ -537,11 +530,6 @@ protected: #if defined(TQ_WS_X11) virtual bool x11Event( XEvent * ); #endif -#if defined(TQ_WS_QWS) - virtual bool qwsEvent( TQWSEvent * ); - virtual unsigned char *scanLine( int ) const; - virtual int bytesPerLine() const; -#endif virtual void updateMask(); @@ -683,8 +671,6 @@ private: uint own_palette :1; uint sizehint_forced :1; uint is_closing :1; - uint in_show : 1; - uint in_show_maximized : 1; uint fstrut_dirty : 1; uint im_enabled : 1; TQRect crect; @@ -700,36 +686,6 @@ private: TQInputContext *ic; // Input Context #endif TQWExtra *extra; -#if defined(TQ_WS_QWS) - TQRegion req_region; // Requested region - mutable TQRegion paintable_region; // Paintable region - mutable bool paintable_region_dirty;// needs to be recalculated - mutable TQRegion alloc_region; // Allocated region - mutable bool alloc_region_dirty; // needs to be recalculated - mutable int overlapping_children; // Handle overlapping children - - int alloc_region_index; - int alloc_region_revision; - - void updateOverlappingChildren() const; - void setChildrenAllocatedDirty(); - void setChildrenAllocatedDirty( const TQRegion &r, const TQWidget *dirty=0 ); - bool isAllocatedRegionDirty() const; - void updateRequestedRegion( const TQPoint &gpos ); - TQRegion requestedRegion() const; - TQRegion allocatedRegion() const; - TQRegion paintableRegion() const; - - void updateGraphicsContext( TQGfx *qgfx_qws, bool clip_children ) const; -#ifndef TQT_NO_CURSOR - void updateCursor( const TQRegion &r ) const; -#endif - - // used to accumulate dirty region when children moved/resized. - TQRegion dirtyChildren; - bool isSettingGeometry; - friend class TQWSManager; -#endif static int instanceCounter; // Current number of widget instances static int maxInstances; // Maximum number of widget instances @@ -983,7 +939,6 @@ inline bool TQWidget::isInputMethodEnabled() const // - top-level widgets have extra extra data to reduce cost further class TQFocusData; -class TQWSManager; #if defined(TQ_WS_WIN) class TQOleDropTarget; #endif @@ -1028,10 +983,6 @@ struct TQ_EXPORT TQTLWExtra { uint is_moved: 1; uint resizer : 4; #endif -#if defined(TQ_WS_QWS) && !defined ( TQT_NO_QWS_MANAGER ) - TQRegion decor_allocated_region; // decoration allocated region - TQWSManager *qwsManager; -#endif #if defined(TQ_WS_WIN) HICON winIcon; // internal Windows icon #endif @@ -1077,7 +1028,7 @@ struct TQ_EXPORT TQWExtra { uint children_use_dnd : 1; uint compress_events : 1; #endif -#if defined(TQ_WS_QWS) || defined(TQ_WS_MAC) +#if defined(TQ_WS_MAC) TQRegion mask; // widget mask #endif char bg_mode; // background mode diff --git a/src/kernel/tqwidget_p.h b/src/kernel/tqwidget_p.h index 3f8d68235..7dff862e5 100644 --- a/src/kernel/tqwidget_p.h +++ b/src/kernel/tqwidget_p.h @@ -57,7 +57,7 @@ #ifndef QT_H #endif // QT_H -#if defined (TQ_WS_X11) || defined (TQ_WS_QWS) +#if defined (TQ_WS_X11) extern int qt_widget_tlw_gravity; #endif diff --git a/src/network/qftp.cpp b/src/network/qftp.cpp index b5da887d6..756f3ec09 100644 --- a/src/network/qftp.cpp +++ b/src/network/qftp.cpp @@ -515,14 +515,12 @@ bool TQFtpDTP::parseDir( const TQString &buffer, const TQString &userName, TQUrl void TQFtpDTP::socketConnected() { -#if !defined (TQ_WS_QWS) // Use a large send buffer to reduce the number // of writeBlocks when download and uploading files. // The actual size used here (128k) is default on most // Unixes. socket.socketDevice()->setSendBufferSize(128 * 1024); socket.socketDevice()->setReceiveBufferSize(128 * 1024); -#endif bytesDone = 0; #if defined(TQFTPDTP_DEBUG) diff --git a/src/qt.pro b/src/qt.pro index 5d23a6b84..3f39f329e 100644 --- a/src/qt.pro +++ b/src/qt.pro @@ -1,7 +1,6 @@ # TQt project file TEMPLATE = lib TARGET = qt -embedded:TARGET = qte VERSION = 3.5 DESTDIR = $$QMAKE_LIBDIR_TQT DLLDESTDIR = ../bin @@ -39,7 +38,6 @@ WORKSPACE_CPP = workspace INPUTMETHOD_CPP = inputmethod XML_CPP = xml STYLES_CPP = styles -EMBEDDED_CPP = embedded win32 { contains(QT_PRODUCT,qt-internal) { @@ -100,7 +98,7 @@ unix { INPUTMETHOD_H = $$INPUTMETHOD_CPP XML_H = $$XML_CPP STYLES_H = $$STYLES_CPP - !embedded:!mac:CONFIG += x11 x11inc + !mac:CONFIG += x11 x11inc } aix-g++ { @@ -108,19 +106,13 @@ aix-g++ { QMAKE_CXXFLAGS += -mminimal-toc } -embedded { - EMBEDDED_H = $$EMBEDDED_CPP -} - DEPENDPATH += ;$$NETWORK_H;$$KERNEL_H;$$WIDGETS_H;$$INPUTMETHOD_H;$$SQL_H;$$TABLE_H;$$DIALOGS_H; DEPENDPATH += $$OPENGL_H;$$TOOLS_H;$$CODECS_H;$$WORKSPACE_H;$$XML_H; DEPENDPATH += $$CANVAS_H;$$STYLES_H -embedded:DEPENDPATH += ;$$EMBEDDED_H thread { !win32-borland:TARGET = tqt-mt win32-borland:TARGET = qtmt - embedded:TARGET = qte-mt DEFINES += TQT_THREAD_SUPPORT } @@ -139,7 +131,6 @@ include($$KERNEL_CPP/qt_compat.pri) x11:include($$KERNEL_CPP/qt_x11.pri) mac:include($$KERNEL_CPP/qt_mac.pri) win32:include($$KERNEL_CPP/qt_win.pri) -embedded:include($$KERNEL_CPP/qt_qws.pri) #modules include($$KERNEL_CPP/qt_kernel.pri) @@ -157,7 +148,6 @@ include($$KERNEL_CPP/qt_gfx.pri) include($$TOOLS_CPP/qt_tools.pri) include($$CODECS_CPP/qt_codecs.pri) include($$STYLES_CPP/qt_styles.pri) -embedded:include($$EMBEDDED_CPP/qt_embedded.pri) # qconfig.cpp exists($$QT_BUILD_TREE/src/tools/qconfig.cpp) { diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp index a63a3392c..31f6dd0bd 100644 --- a/src/table/qtable.cpp +++ b/src/table/qtable.cpp @@ -159,11 +159,6 @@ private: }; -#ifdef _WS_QWS_ -# define NO_LINE_WIDGET -#endif - - struct TQTablePrivate { diff --git a/src/tools/ntqfeatures.h b/src/tools/ntqfeatures.h index 66fc95fcf..acfa7db03 100644 --- a/src/tools/ntqfeatures.h +++ b/src/tools/ntqfeatures.h @@ -26,9 +26,6 @@ // Dialogs //#define TQT_NO_DIALOG -// TQDirectPainter -//#define TQT_NO_DIRECTPAINTER - // Special widget effects (fading, scrolling) //#define TQT_NO_EFFECTS @@ -59,75 +56,6 @@ // Palettes //#define TQT_NO_PALETTE -// Alpha-blended cursor -//#define TQT_NO_QWS_ALPHA_CURSOR - -// 1-bit monochrome -//#define TQT_NO_QWS_DEPTH_1 - -// 15 or 16-bit color -//#define TQT_NO_QWS_DEPTH_16 - -// 24-bit color -//#define TQT_NO_QWS_DEPTH_24 - -// 32-bit color -//#define TQT_NO_QWS_DEPTH_32 - -// 4-bit grayscale -//#define TQT_NO_QWS_DEPTH_4 - -// 8-bit color -//#define TQT_NO_QWS_DEPTH_8 - -// 8-bit grayscale -//#define TQT_NO_QWS_DEPTH_8GRAYSCALE - -// Favour code size over graphics speed -//#define TQT_NO_QWS_GFX_SPEED - -// Console keyboard -//#define TQT_NO_QWS_KEYBOARD - -// Linux framebuffer -//#define TQT_NO_QWS_LINUXFB - -// Mach64 acceleration -//#define TQT_NO_QWS_MACH64 - -// Window Manager -//#define TQT_NO_QWS_MANAGER - -// Matrox MGA acceleration -//#define TQT_NO_QWS_MATROX - -// Autodetecting mouse driver -//#define TQT_NO_QWS_MOUSE_AUTO - -// Non-autodetecting mouse driver -//#define TQT_NO_QWS_MOUSE_MANUAL - -// TQt/Embedded window system properties. -//#define TQT_NO_QWS_PROPERTIES - -// Repeater display -//#define TQT_NO_QWS_REPEATER - -// Saving of fonts -//#define TQT_NO_QWS_SAVEFONTS - -// Shadow frame buffer -//#define TQT_NO_QWS_SHADOWFB - -// Virtual frame buffer -//#define TQT_NO_QWS_VFB - -// 4-bit VGA -//#define TQT_NO_QWS_VGA_16 - -// Voodoo3 acceleration -//#define TQT_NO_QWS_VOODOO3 - // Range-control widgets //#define TQT_NO_RANGECONTROL @@ -172,11 +100,6 @@ #define TQT_NO_CODECS #endif -// TQCop IPC -#if !defined(TQT_NO_COP) && (defined(TQT_NO_DATASTREAM)) -#define TQT_NO_COP -#endif - // TQFontDatabase #if !defined(TQT_NO_FONTDATABASE) && (defined(TQT_NO_STRINGLIST)) #define TQT_NO_FONTDATABASE @@ -212,61 +135,6 @@ #define TQT_NO_QUUID_STRING #endif -// The "BeOS" style -#if !defined(TQT_NO_QWS_BEOS_WM_STYLE) && (defined(TQT_NO_QWS_MANAGER)) -#define TQT_NO_QWS_BEOS_WM_STYLE -#endif - -// Visible cursor -#if !defined(TQT_NO_QWS_CURSOR) && (defined(TQT_NO_CURSOR)) -#define TQT_NO_QWS_CURSOR -#endif - -// 32-bit color, BGR order -#if !defined(TQT_NO_QWS_DEPTH_32_BGR) && (defined(TQT_NO_QWS_DEPTH_32)) -#define TQT_NO_QWS_DEPTH_32_BGR -#endif - -// The "Hydro" style -#if !defined(TQT_NO_QWS_HYDRO_WM_STYLE) && (defined(TQT_NO_QWS_MANAGER)) -#define TQT_NO_QWS_HYDRO_WM_STYLE -#endif - -// Keyboard for SHARP Zaurus SL5xxx devices -#if !defined(TQT_NO_QWS_KBD_SHARP) && (defined(TQT_NO_QWS_KEYBOARD)) -#define TQT_NO_QWS_KBD_SHARP -#endif - -// The "KDE2" style -#if !defined(TQT_NO_QWS_KDE2_WM_STYLE) && (defined(TQT_NO_QWS_MANAGER)) -#define TQT_NO_QWS_KDE2_WM_STYLE -#endif - -// The "KDE" style -#if !defined(TQT_NO_QWS_KDE_WM_STYLE) && (defined(TQT_NO_QWS_MANAGER)) -#define TQT_NO_QWS_KDE_WM_STYLE -#endif - -// Multi-process architecture -#if !defined(TQT_NO_QWS_MULTIPROCESS) && (defined(TQT_NO_NETWORK)) -#define TQT_NO_QWS_MULTIPROCESS -#endif - -// Transformed frame buffer -#if !defined(TQT_NO_QWS_TRANSFORMED) && (defined(TQT_NO_QWS_LINUXFB)) -#define TQT_NO_QWS_TRANSFORMED -#endif - -// Remote frame buffer (VNC) -#if !defined(TQT_NO_QWS_VNC) && (defined(TQT_NO_NETWORK)) -#define TQT_NO_QWS_VNC -#endif - -// The "Windows" style -#if !defined(TQT_NO_QWS_WINDOWS_WM_STYLE) && (defined(TQT_NO_QWS_MANAGER)) -#define TQT_NO_QWS_WINDOWS_WM_STYLE -#endif - // Regular expression anchors #if !defined(TQT_NO_REGEXP_ANCHOR_ALT) && (defined(TQT_NO_REGEXP)) #define TQT_NO_REGEXP_ANCHOR_ALT @@ -342,11 +210,6 @@ #define TQT_NO_ASYNC_IMAGE_IO #endif -// BDF font files -#if !defined(TQT_NO_BDF) && (defined(TQT_NO_TEXTSTREAM) || defined(TQT_NO_STRINGLIST)) -#define TQT_NO_BDF -#endif - // TQDir #if !defined(TQT_NO_DIR) && (defined(TQT_NO_STRINGLIST) || defined(TQT_NO_REGEXP)) #define TQT_NO_DIR @@ -623,7 +486,7 @@ #endif // Cut and paste -#if !defined(TQT_NO_CLIPBOARD) && (defined(TQT_NO_QWS_PROPERTIES) || defined(TQT_NO_MIME)) +#if !defined(TQT_NO_CLIPBOARD) && defined(TQT_NO_MIME) #define TQT_NO_CLIPBOARD #endif @@ -692,11 +555,6 @@ #define TQT_NO_HBUTTONGROUP #endif -// Server to play sound -#if !defined(TQT_NO_QWS_SOUNDSERVER) && (defined(TQT_NO_SOUND) || defined(TQT_NO_DIR) || defined(TQT_NO_DNS)) -#define TQT_NO_QWS_SOUNDSERVER -#endif - // TQHeader #if !defined(TQT_NO_HEADER) && (defined(TQT_NO_STYLE) || defined(TQT_NO_ICONSET)) #define TQT_NO_HEADER @@ -748,7 +606,7 @@ #endif // Drag and drop -#if !defined(TQT_NO_DRAGANDDROP) && (defined(TQT_NO_MIME) || defined(TQT_NO_QWS_PROPERTIES) || defined(TQT_NO_IMAGEIO_XPM)) +#if !defined(TQT_NO_DRAGANDDROP) && (defined(TQT_NO_MIME) || defined(TQT_NO_IMAGEIO_XPM)) #define TQT_NO_DRAGANDDROP #endif diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h index f83da9d79..2d449fd9c 100644 --- a/src/tools/ntqglobal.h +++ b/src/tools/ntqglobal.h @@ -292,10 +292,7 @@ /* can we just compare the structures? */ # define TQ_FULL_TEMPLATE_INSTANTIATION_MEMCMP /* these are not useful to our customers */ -# define QT_QWS_NO_SHM -# define TQT_NO_QWS_MULTIPROCESS # define TQT_NO_SQL -# define TQT_NO_QWS_CURSOR # endif #elif defined(__GNUC__) @@ -556,7 +553,6 @@ MACX - Mac OS X MAC9 - Mac OS 9 - TQWS - TQt/Embedded WIN32 - Windows X11 - X Window System PM - unsupported @@ -579,10 +575,7 @@ # define TQ_WS_PM # error "TQt does not work with OS/2 Presentation Manager or Workplace Shell" #elif defined(Q_OS_UNIX) -# if defined(TQWS) -# define TQ_WS_QWS -# define TQT_NO_QWS_IM -# elif defined(Q_OS_MACX) +# if defined(Q_OS_MACX) # define TQ_WS_MACX # else # define TQ_WS_X11 @@ -596,7 +589,7 @@ # define TQ_WS_WIN #endif -#if (defined(TQ_WS_MAC9) || defined(TQ_WS_MACX)) && !defined(TQ_WS_QWS) && !defined(TQ_WS_X11) +#if (defined(TQ_WS_MAC9) || defined(TQ_WS_MACX)) && !defined(TQ_WS_X11) # define TQ_WS_MAC #endif @@ -814,10 +807,6 @@ class TQString; # endif #endif -#if !defined(TQ_WS_QWS) && !defined(TQT_NO_COP) -# define TQT_NO_COP -#endif - #ifndef QT_H #include "ntqfeatures.h" #endif /* QT_H */ diff --git a/src/tools/qconfig-large.h b/src/tools/qconfig-large.h index 1f169fe14..d2f8321ce 100644 --- a/src/tools/qconfig-large.h +++ b/src/tools/qconfig-large.h @@ -8,8 +8,6 @@ #define TQT_NO_IMAGEIO_PPM #define TQT_NO_ASYNC_IO #define TQT_NO_ASYNC_IMAGE_IO -/* #define TQT_NO_FREETYPE */ -#define TQT_NO_BDF //#define TQT_NO_FONTDATABASE #define TQT_NO_TRANSLATION #define TQT_NO_DRAGANDDROP diff --git a/src/tools/qconfig-medium.h b/src/tools/qconfig-medium.h index 17416abf4..93bc436e6 100644 --- a/src/tools/qconfig-medium.h +++ b/src/tools/qconfig-medium.h @@ -9,8 +9,6 @@ /* #define TQT_NO_IMAGEIO_PNG */ #define TQT_NO_ASYNC_IO #define TQT_NO_ASYNC_IMAGE_IO -/* #define TQT_NO_FREETYPE */ -#define TQT_NO_BDF //#define TQT_NO_FONTDATABASE #define TQT_NO_TRANSLATION #define TQT_NO_DRAGANDDROP @@ -53,7 +51,6 @@ /* #define TQT_NO_TEXTSTREAM */ #define TQT_NO_DATASTREAM -#define TQT_NO_QWS_SAVEFONTS #define TQT_NO_SESSIONMANAGER @@ -61,9 +58,6 @@ /* #define TQT_NO_DIALOG */ #define TQT_NO_EFFECTS -#define TQT_NO_COP - -#define TQT_NO_QWS_PROPERTIES /* #define TQT_NO_RANGECONTROL */ /* #define TQT_NO_SPLITTER */ @@ -99,8 +93,3 @@ #define TQT_NO_WIZARD #define TQT_NO_EFFECTS -/* #define TQT_NO_QWS_HYDRO_WM_STYLE */ -#define TQT_NO_QWS_BEOS_WM_STYLE -#define TQT_NO_QWS_KDE2_WM_STYLE -#define TQT_NO_QWS_KDE_WM_STYLE -/* #define TQT_NO_QWS_WINDOWS_WM_STYLE */ diff --git a/src/tools/qconfig-minimal.h b/src/tools/qconfig-minimal.h index 7d5305e69..2d98d14ea 100644 --- a/src/tools/qconfig-minimal.h +++ b/src/tools/qconfig-minimal.h @@ -18,16 +18,12 @@ /* #define TQT_NO_IMAGEIO_PNG //done by configure -no-png */ #define TQT_NO_ASYNC_IO #define TQT_NO_ASYNC_IMAGE_IO -/* //#define TQT_NO_FREETYPE //done by configure -no-freetype */ -#define TQT_NO_BDF //#define TQT_NO_FONTDATABASE #define TQT_NO_TRANSLATION #define TQT_NO_MIME #define TQT_NO_SOUND /* #define TQT_NO_PROPERTIES */ -#define TQT_NO_QWS_CURSOR #define TQT_NO_CURSOR -#define TQT_NO_QWS_GFX_SPEED #define TQT_NO_NETWORK #define TQT_NO_COLORNAMES #define TQT_NO_TRANSFORMATIONS @@ -39,14 +35,11 @@ #define TQT_NO_IMAGE_SMOOTHSCALE #define TQT_NO_IMAGE_TEXT #define TQT_NO_DIR -#define TQT_NO_QWS_MANAGER #define TQT_NO_TEXTSTREAM #define TQT_NO_DATASTREAM -#define TQT_NO_QWS_SAVEFONTS //#define TQT_NO_STRINGLIST #define TQT_NO_TEMPLATE_VARIANT #define TQT_NO_SESSIONMANAGER -#define TQT_NO_QWS_KEYBOARD #define TQT_NO_SYNTAXHIGHLIGHTER #define TQT_NO_ACCEL @@ -56,7 +49,6 @@ #define TQT_NO_STYLE #define TQT_NO_EFFECTS -#define TQT_NO_COP #define TQT_NO_SQL @@ -79,9 +71,6 @@ #define TQT_NO_WHEELEVENT #define TQT_NO_BEZIER -#define TQT_NO_QWS_MOUSE_AUTO -/* #define TQT_NO_QWS_MOUSE_MANUAL */ - #define TQT_NO_IMAGE_DITHER_TO_1 #define TQT_NO_IMAGE_HEURISTIC_MASK #define TQT_NO_IMAGE_MIRROR @@ -92,5 +81,3 @@ #define TQT_NO_DATESTRING #define TQT_NO_WMATRIX - -#define TQT_NO_DIRECTPAINTER diff --git a/src/tools/qconfig-small.h b/src/tools/qconfig-small.h index f89fb8d1c..d7d08b795 100644 --- a/src/tools/qconfig-small.h +++ b/src/tools/qconfig-small.h @@ -14,8 +14,6 @@ /* #define TQT_NO_IMAGEIO_PNG //done by configure -no-png */ #define TQT_NO_ASYNC_IO #define TQT_NO_ASYNC_IMAGE_IO -/* #define TQT_NO_FREETYPE //done by configure -no-freetype */ -#define TQT_NO_BDF //#define TQT_NO_FONTDATABASE #define TQT_NO_TRANSLATION #define TQT_NO_MIME @@ -23,7 +21,6 @@ #define TQT_NO_PROPERTIES #define TQT_NO_SYNTAXHIGHLIGHTER -#define TQT_NO_QWS_GFX_SPEED #define TQT_NO_NETWORK /* ?????????????? */ #define TQT_NO_COLORNAMES #define TQT_NO_TRANSFORMATIONS @@ -37,7 +34,6 @@ #define TQT_NO_TEXTSTREAM #define TQT_NO_DATASTREAM -#define TQT_NO_QWS_SAVEFONTS //#define TQT_NO_STRINGLIST #define TQT_NO_SESSIONMANAGER @@ -47,9 +43,6 @@ /* #define TQT_NO_STYLE //will require substantial work... */ #define TQT_NO_EFFECTS -#define TQT_NO_COP - -#define TQT_NO_QWS_PROPERTIES #define TQT_NO_RANGECONTROL #define TQT_NO_SPLITTER @@ -70,13 +63,6 @@ #define TQT_NO_PROGRESSBAR -#define TQT_NO_QWS_HYDRO_WM_STYLE -#define TQT_NO_QWS_BEOS_WM_STYLE -#define TQT_NO_QWS_KDE2_WM_STYLE -#define TQT_NO_QWS_KDE_WM_STYLE -#define TQT_NO_QWS_WINDOWS_WM_STYLE - - /* other widgets that could be removed: */ /* #define TQT_NO_MENUDATA @@ -87,6 +73,4 @@ /* #define TQT_NO_CURSOR #define TQT_NO_LAYOUT -#define TQT_NO_QWS_MANAGER -#define TQT_NO_QWS_KEYBOARD */ diff --git a/src/tools/qfeatures.txt b/src/tools/qfeatures.txt index b8e085325..6751ce41d 100644 --- a/src/tools/qfeatures.txt +++ b/src/tools/qfeatures.txt @@ -390,12 +390,6 @@ Requires: Name: Playing sounds SeeAlso: ??? -Feature: QWS_SOUNDSERVER -Section: Qt/Embedded-specific -Requires: SOUND DIR DNS -Name: Server to play sound -SeeAlso: ??? - Feature: PROPERTIES Section: Kernel Requires: VARIANT STRINGLIST ICONSET @@ -444,225 +438,15 @@ Requires: STRINGLIST REGEXP Name: External process invocation. SeeAlso: ??? -Feature: QWS_MULTIPROCESS -Section: Qt/Embedded-specific -Requires: NETWORK -Name: Multi-process architecture -SeeAlso: ??? - -Feature: COP -Section: Networking -Requires: DATASTREAM -Name: QCop IPC -SeeAlso: ??? - -Feature: QWS_KEYBOARD -Section: Qt/Embedded-specific -Requires: -Name: Console keyboard -SeeAlso: ??? - -Feature: QWS_KBD_SL5000 -Section: Qt/Embedded-specific -Requires: QWS_KEYBOARD -Name: Keyboard for SHARP Zaurus SL5xxx devices -SeeAlso: ??? - -Feature: QWS_CURSOR -Section: Qt/Embedded-specific -Requires: CURSOR -Name: Visible cursor -SeeAlso: ??? - -Feature: QWS_ALPHA_CURSOR -Section: Qt/Embedded-specific -Requires: -Name: Alpha-blended cursor -SeeAlso: ??? - -Feature: QWS_MACH64 -Section: Qt/Embedded-specific -Requires: -Name: Mach64 acceleration -SeeAlso: ??? - -Feature: QWS_VOODOO3 -Section: Qt/Embedded-specific -Requires: -Name: Voodoo3 acceleration -SeeAlso: ??? - -Feature: QWS_MATROX -Section: Qt/Embedded-specific -Requires: -Name: Matrox MGA acceleration -SeeAlso: ??? - -Feature: QWS_REPEATER -Section: Qt/Embedded-specific -Requires: -Name: Repeater display -SeeAlso: ??? - -Feature: QWS_VFB -Section: Qt/Embedded-specific -Requires: -Name: Virtual frame buffer -SeeAlso: ??? - -Feature: QWS_TRANSFORMED -Section: Qt/Embedded-specific -Requires: QWS_LINUXFB -Name: Transformed frame buffer -SeeAlso: ??? - -Feature: QWS_LINUXFB -Section: Qt/Embedded-specific -Requires: -Name: Linux framebuffer -SeeAlso: ??? - -Feature: QWS_VNC -Section: Qt/Embedded-specific -Requires: NETWORK -Name: Remote frame buffer (VNC) -SeeAlso: ??? - -Feature: QWS_SHADOWFB -Section: Qt/Embedded-specific -Requires: -Name: Shadow frame buffer -SeeAlso: ??? - -Feature: QWS_DEPTH_1 -Section: Qt/Embedded-specific -Requires: -Name: 1-bit monochrome -SeeAlso: ??? - -Feature: QWS_DEPTH_4 -Section: Qt/Embedded-specific -Requires: -Name: 4-bit grayscale -SeeAlso: ??? - -Feature: QWS_VGA_16 -Section: Qt/Embedded-specific -Requires: -Name: 4-bit VGA -SeeAlso: ??? - -Feature: QWS_DEPTH_8GRAYSCALE -Section: Qt/Embedded-specific -Requires: -Name: 8-bit grayscale -SeeAlso: ??? - -Feature: QWS_DEPTH_8 -Section: Qt/Embedded-specific -Requires: -Name: 8-bit color -SeeAlso: ??? - -Feature: QWS_DEPTH_16 -Section: Qt/Embedded-specific -Requires: -Name: 15 or 16-bit color -SeeAlso: ??? - -Feature: QWS_DEPTH_24 -Section: Qt/Embedded-specific -Requires: -Name: 24-bit color -SeeAlso: ??? - -Feature: QWS_DEPTH_32 -Section: Qt/Embedded-specific -Requires: -Name: 32-bit color -SeeAlso: ??? - -Feature: QWS_DEPTH_32_BGR -Section: Qt/Embedded-specific -Requires: QWS_DEPTH_32 -Name: 32-bit color, BGR order -SeeAlso: ??? - -Feature: QWS_MANAGER -Section: Qt/Embedded-specific -Requires: -Name: Window Manager -SeeAlso: ??? - -Feature: QWS_KDE2_WM_STYLE -Section: Qt/Embedded-specific -Requires: QWS_MANAGER -Name: The "KDE2" style -SeeAlso: ??? - -Feature: QWS_HYDRO_WM_STYLE -Section: Qt/Embedded-specific -Requires: QWS_MANAGER -Name: The "Hydro" style -SeeAlso: ??? - -Feature: QWS_BEOS_WM_STYLE -Section: Qt/Embedded-specific -Requires: QWS_MANAGER -Name: The "BeOS" style -SeeAlso: ??? - -Feature: QWS_KDE_WM_STYLE -Section: Qt/Embedded-specific -Requires: QWS_MANAGER -Name: The "KDE" style -SeeAlso: ??? - -Feature: QWS_WINDOWS_WM_STYLE -Section: Qt/Embedded-specific -Requires: QWS_MANAGER -Name: The "Windows" style -SeeAlso: ??? - -Feature: QWS_MOUSE_AUTO -Section: Qt/Embedded-specific -Requires: -Name: Autodetecting mouse driver -SeeAlso: ??? - -Feature: QWS_MOUSE_MANUAL -Section: Qt/Embedded-specific -Requires: -Name: Non-autodetecting mouse driver -SeeAlso: ??? - -Feature: QWS_SAVEFONTS -Section: Qt/Embedded-specific -Requires: -Name: Saving of fonts -SeeAlso: ??? - -Feature: QWS_GFX_SPEED -Section: Qt/Embedded-specific -Requires: -Name: Favour code size over graphics speed -SeeAlso: ??? - -Feature: QWS_PROPERTIES -Section: Qt/Embedded-specific -Requires: -Name: Qt/Embedded window system properties. -SeeAlso: ??? - Feature: CLIPBOARD Section: Kernel -Requires: QWS_PROPERTIES MIME +Requires: MIME Name: Cut and paste SeeAlso: ??? Feature: DRAGANDDROP Section: Kernel -Requires: MIME QWS_PROPERTIES IMAGEIO_XPM +Requires: MIME IMAGEIO_XPM Name: Drag and drop SeeAlso: ??? @@ -714,12 +498,6 @@ Requires: STRINGLIST Name: Image file text strings SeeAlso: ??? -Feature: IMAGE_16_BIT -Section: Qt/Embedded-specific -Requires: IMAGE_TRUECOLOR -Name: 16-bit TQImage -SeeAlso: ??? - Feature: CURSOR Section: Kernel Requires: @@ -1294,13 +1072,6 @@ Name: TQWidgetPlugin SeeAlso: ??? -Feature: DIRECTPAINTER -Section: Painting -Requires: -Name: QDirectPainter -SeeAlso: ??? - - Feature: DIALOGBUTTONS Section: Widgets Requires: LAYOUT STYLE PUSHBUTTON diff --git a/src/tools/qfileinfo_unix.cpp b/src/tools/qfileinfo_unix.cpp index aed39e468..0a2036053 100644 --- a/src/tools/qfileinfo_unix.cpp +++ b/src/tools/qfileinfo_unix.cpp @@ -45,7 +45,7 @@ #include "ntqdir.h" #include -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) # include #endif #if defined(Q_OS_HURD) @@ -104,7 +104,7 @@ bool TQFileInfo::isSymLink() const doStat(); if(symLink) return TRUE; -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) { FSRef fref; if(FSPathMakeRef((const UInt8 *)TQFile::encodeName(fn).data(), &fref, NULL) == noErr) { @@ -167,7 +167,7 @@ TQString TQFileInfo::readLink() const } #endif /* !PATH_MAX */ #endif /* Q_OS_UNIX && !Q_OS_OS2EMX */ -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) { FSRef fref; if(FSPathMakeRef((const UInt8 *)TQFile::encodeName(fn).data(), &fref, NULL) == noErr) { diff --git a/src/tools/qglobal.cpp b/src/tools/qglobal.cpp index 84b26a6bc..21d433d71 100644 --- a/src/tools/qglobal.cpp +++ b/src/tools/qglobal.cpp @@ -165,7 +165,7 @@ bool tqSysInfo( int *wordSize, bool *bigEndian ) return TRUE; } -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) #include "qt_mac.h" @@ -861,8 +861,8 @@ TQtMsgHandler qInstallMsgHandler( TQtMsgHandler h ) /* Dijkstra's bisection algorithm to find the square root as an integer. - Deliberately not exported as part of the TQt API, but used in both - qsimplerichtext.cpp and qgfxraster_qws.cpp + Deliberately not exported as part of the TQt API, but used in + qsimplerichtext.cpp */ unsigned int qt_int_sqrt( unsigned int n ) { diff --git a/src/tools/qlocale.cpp b/src/tools/qlocale.cpp index 0714dbb88..d7716a1a7 100644 --- a/src/tools/qlocale.cpp +++ b/src/tools/qlocale.cpp @@ -62,7 +62,7 @@ # include #endif -#if !defined( TQWS ) && defined( Q_OS_MAC ) +#if defined( Q_OS_MAC ) # include #endif @@ -1849,7 +1849,7 @@ const char* TQLocalePrivate::systemLocaleName() static TQCString lang; lang = getenv( "LANG" ); -#if !defined( TQWS ) && defined( Q_OS_MAC ) +#if defined( Q_OS_MAC ) if ( !lang.isEmpty() ) return lang; diff --git a/src/tools/qsettings.cpp b/src/tools/qsettings.cpp index ebec81889..250e5623d 100644 --- a/src/tools/qsettings.cpp +++ b/src/tools/qsettings.cpp @@ -462,7 +462,7 @@ void TQSettingsHeading::parseLine(TQTextStream &stream) TQSettingsPrivate::TQSettingsPrivate( TQSettings::Format format ) : groupDirty( TRUE ), modified(FALSE), globalScope(TRUE) { -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( format != TQSettings::Ini ) return; #else @@ -809,7 +809,7 @@ static TQString groupKey( const TQString &group, const TQString &key ) */ void TQSettings::insertSearchPath( System s, const TQString &path) { -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) { d->sysInsertSearchPath( s, path ); return; @@ -832,12 +832,12 @@ void TQSettings::insertSearchPath( System s, const TQString &path) return; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd && s != Unix ) { #else if ( s != Unix ) { #endif -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) if(s != Mac) //mac is respected on the mac as well #endif return; @@ -878,12 +878,12 @@ void TQSettings::removeSearchPath( System s, const TQString &path) return; } #endif -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd && s != Unix ) { #else if ( s != Unix ) { #endif -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) if(s != Mac) //mac is respected on the mac as well #endif return; @@ -907,7 +907,7 @@ TQSettings::TQSettings() d = new TQSettingsPrivate( Native ); TQ_CHECK_PTR(d); -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) d->sysd = 0; d->sysInit(); #endif @@ -927,7 +927,7 @@ TQSettings::TQSettings( Format format ) d = new TQSettingsPrivate( format ); TQ_CHECK_PTR(d); -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) d->sysd = 0; if ( format == Native ) d->sysInit(); @@ -945,7 +945,7 @@ TQSettings::~TQSettings() { sync(); -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) d->sysClear(); #endif @@ -960,7 +960,7 @@ TQSettings::~TQSettings() */ bool TQSettings::sync() { -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysSync(); #endif @@ -1127,7 +1127,7 @@ bool TQSettings::readBoolEntry(const TQString &key, bool def, bool *ok ) return def; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysReadBoolEntry( grp_key, def, ok ); #endif @@ -1179,7 +1179,7 @@ double TQSettings::readDoubleEntry(const TQString &key, double def, bool *ok ) return def; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysReadDoubleEntry( grp_key, def, ok ); #endif @@ -1224,7 +1224,7 @@ int TQSettings::readNumEntry(const TQString &key, int def, bool *ok ) return def; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysReadNumEntry( grp_key, def, ok ); #endif @@ -1270,7 +1270,7 @@ TQString TQSettings::readEntry(const TQString &key, const TQString &def, bool *o return def; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysReadEntry( grp_key, def, ok ); #endif @@ -1349,7 +1349,7 @@ bool TQSettings::writeEntry(const TQString &key, bool value) return FALSE; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysWriteEntry( grp_key, value ); #endif @@ -1380,7 +1380,7 @@ bool TQSettings::writeEntry(const TQString &key, double value) return FALSE; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysWriteEntry( grp_key, value ); #endif @@ -1410,7 +1410,7 @@ bool TQSettings::writeEntry(const TQString &key, int value) return FALSE; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysWriteEntry( grp_key, value ); #endif @@ -1463,7 +1463,7 @@ bool TQSettings::writeEntry(const TQString &key, const TQString &value) return FALSE; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysWriteEntry( grp_key, value ); #endif @@ -1526,7 +1526,7 @@ bool TQSettings::removeEntry(const TQString &key) return FALSE; } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysRemoveEntry( grp_key ); #endif @@ -1606,7 +1606,7 @@ TQStringList TQSettings::entryList(const TQString &key) const return TQStringList(); } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysEntryList( grp_key ); #endif @@ -1714,7 +1714,7 @@ TQStringList TQSettings::subkeyList(const TQString &key) const return TQStringList(); } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return d->sysSubkeyList( grp_key ); #endif @@ -1809,7 +1809,7 @@ TQDateTime TQSettings::lastModificationTime( const TQString &key ) return TQDateTime(); } -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) if ( d->sysd ) return TQDateTime(); #endif @@ -2041,7 +2041,7 @@ void TQSettings::setPath( const TQString &domain, const TQString &product, Scope #if defined(TQ_WS_WIN) actualSearchPath = "/" + domain.mid( 0, lastDot ) + "/" + product; insertSearchPath( Windows, actualSearchPath ); -#elif !defined(TQWS) && defined(Q_OS_MAC) +#elif defined(Q_OS_MAC) if(lastDot != -1) { TQString topLevelDomain = domain.right( domain.length() - lastDot - 1 ) + "."; if ( !topLevelDomain.isEmpty() ) diff --git a/src/tools/qsettings_p.h b/src/tools/qsettings_p.h index 3ffd743d7..75318492d 100644 --- a/src/tools/qsettings_p.h +++ b/src/tools/qsettings_p.h @@ -108,7 +108,7 @@ public: bool modified :1; bool globalScope :1; -#if !defined(TQWS) && (defined(TQ_WS_WIN) || defined(Q_OS_MAC)) +#if defined(TQ_WS_WIN) || defined(Q_OS_MAC) // system dependent implementations to use the // system specific setting database (ie. registry on Windows) diff --git a/src/tools/tqstring.cpp b/src/tools/tqstring.cpp index fff59c613..dbf179404 100644 --- a/src/tools/tqstring.cpp +++ b/src/tools/tqstring.cpp @@ -6276,9 +6276,6 @@ TQCString TQString::local8Bit() const *d->cString = isNull() ? TQCString("") : qt_winTQString2MB( *this ); return *d->cString; #endif -#ifdef TQ_WS_QWS - return utf8(); // ### if there is any 8 bit format supported? -#endif #endif } @@ -6325,9 +6322,6 @@ TQString TQString::fromLocal8Bit( const char* local8Bit, int len ) } return qt_winMB2TQString( local8Bit ); #endif -#ifdef TQ_WS_QWS - return fromUtf8(local8Bit,len); -#endif #endif // TQT_NO_TEXTCODEC } diff --git a/src/widgets/qmainwindow.cpp b/src/widgets/qmainwindow.cpp index c4549968e..0048f566b 100644 --- a/src/widgets/qmainwindow.cpp +++ b/src/widgets/qmainwindow.cpp @@ -1537,7 +1537,6 @@ TQSize TQMainWindow::sizeHint() const TQMainWindow* that = (TQMainWindow*) this; // Workaround: because d->tll get's deleted in // totalSizeHint->polish->sendPostedEvents->childEvent->triggerLayout - // [eg. canvas example on TQt/Embedded] TQApplication::sendPostedEvents( that, TQEvent::ChildInserted ); if ( !that->d->tll ) that->setUpLayout(); diff --git a/tools/designer/uic/embed.cpp b/tools/designer/uic/embed.cpp index 263d32f48..270e1b93e 100644 --- a/tools/designer/uic/embed.cpp +++ b/tools/designer/uic/embed.cpp @@ -40,13 +40,6 @@ #include #include -// on embedded, we do not compress image data. Rationale: by mapping -// the ready-only data directly into memory we are both faster and -// more memory efficient -#if defined(TQ_WS_QWS) && !defined(TQT_NO_IMAGE_COLLECTION_COMPRESSION) -#define TQT_NO_IMAGE_COLLECTION_COMPRESSION -#endif - struct EmbedImage { ~EmbedImage() { delete[] colorTable; } diff --git a/tools/maketqpf/main.cpp b/tools/maketqpf/main.cpp deleted file mode 100644 index d08bf613b..000000000 --- a/tools/maketqpf/main.cpp +++ /dev/null @@ -1,320 +0,0 @@ -/********************************************************************** -** Copyright (C) 1999-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifdef TQ_WS_QWS -#include -#endif - -#include - - -class FontViewItem : public TQListViewItem { - TQString family; - int pointSize; - int weight; - bool italic; - TQFont font; - -public: - FontViewItem(const TQString& f, int pt, int w, bool ital, TQListView* parent) : - TQListViewItem(parent), - family(f), pointSize(pt), weight(w), italic(ital) - { - } - - void renderAndSave() - { - font = TQFont(family,pointSize,weight,italic); -#ifdef TQ_WS_QWS - memorymanager->savePrerenderedFont((TQMemoryManager::FontID)font.handle()); -#endif - setHeight(TQFontMetrics(font).lineSpacing()); - repaint(); - } - - void render(int from, int to) - { - font = TQFont(family,pointSize,weight,italic); -#ifdef TQ_WS_QWS - for (int i=from; i<=to; i++) { - if ( memorymanager->inFont((TQMemoryManager::FontID)font.handle(),TQChar(i))) { - memorymanager->lockGlyph((TQMemoryManager::FontID)font.handle(),TQChar(i)); - memorymanager->unlockGlyph((TQMemoryManager::FontID)font.handle(),TQChar(i)); - } - } -#endif - } - - void save() - { - font = TQFont(family,pointSize,weight,italic); -#ifdef TQ_WS_QWS - memorymanager->savePrerenderedFont((TQMemoryManager::FontID)font.handle(),FALSE); -#endif - setHeight(TQFontMetrics(font).lineSpacing()); - repaint(); - } - - void paintCell( TQPainter *p, const TQColorGroup & cg, - int column, int width, int alignment ) - { - p->setFont(font); - TQListViewItem::paintCell(p,cg,column,width,alignment); - } - - int width( const TQFontMetrics&, - const TQListView* lv, int column) const - { - TQFontMetrics fm(font); - return TQListViewItem::width(fm,lv,column); - } - - TQString text(int col) const - { - switch (col) { - case 0: - return family; - case 1: - return TQString::number(pointSize)+"pt"; - case 2: - if ( weight < TQFont::Normal ) { - return "Light"; - } else if ( weight >= TQFont::Black ) { - return "Black"; - } else if ( weight >= TQFont::Bold ) { - return "Bold"; - } else if ( weight >= TQFont::DemiBold ) { - return "DemiBold"; - } else { - return "Normal"; - } - case 3: - return italic ? "Italic" : "Roman"; - } - return TQString::null; - } -}; - -class MakeTQPF : public TQMainWindow -{ - TQ_OBJECT - TQListView* view; -public: - MakeTQPF() - { - view = new TQListView(this); - view->addColumn("Family"); - view->addColumn("Size"); - view->addColumn("Weight"); - view->addColumn("Style"); - setCentralWidget(view); - TQString fontdir = TQString(getenv("TQTDIR")) + "/lib/fonts"; - readFontDir(fontdir); - - connect(view,TQ_SIGNAL(selectionChanged(TQListViewItem*)), - this,TQ_SLOT(renderAndSave(TQListViewItem*))); - } - - void readFontDir(const TQString& fntd) - { - TQString fontdir = fntd + "/fontdir"; - TQFile fd(fontdir); - if ( !fd.open(IO_ReadOnly) ) { - TQMessageBox::warning(this, "Read Error", - "

    Cannot read "+fontdir); - return; - } - while ( !fd.atEnd() ) { - TQString line; - fd.readLine(line,9999); - if ( line[0] != '#' ) { - TQStringList attr = TQStringList::split(" ",line); - if ( attr.count() >= 7 ) { - TQString family = attr[0]; - int weight = TQString(attr[4]).toInt(); - bool italic = TQString(attr[3]) == "y"; - TQStringList sizes = attr[5]; - if ( sizes[0] == "0" ) { - if ( attr[7].isNull() ) - sizes = TQStringList::split(',',attr[6]); - else - sizes = TQStringList::split(',',attr[7]); - } - for (TQStringList::Iterator it = sizes.begin(); it != sizes.end(); ++it) { - int pointSize = (*it).toInt()/10; - if ( pointSize ) - new FontViewItem( - family, pointSize, weight, italic, view); - } - } - } - } - } - - void renderAndSaveAll() - { - TQListViewItem* c = view->firstChild(); - while ( c ) { - renderAndSave(c); - tqApp->processEvents(); - c = c->nextSibling(); - } - } - - void renderAndSave(const TQString& family) - { - TQListViewItem* c = view->firstChild(); - while ( c ) { - if ( c->text(0).lower() == family.lower() ) - renderAndSave(c); - c = c->nextSibling(); - } - } - - void render(const TQString& family, int from, int to) - { - TQListViewItem* c = view->firstChild(); - while ( c ) { - if ( c->text(0).lower() == family.lower() ) - ((FontViewItem*)c)->render(from,to); - c = c->nextSibling(); - } - } - - void save(const TQString& family) - { - TQListViewItem* c = view->firstChild(); - while ( c ) { - if ( c->text(0).lower() == family.lower() ) - ((FontViewItem*)c)->save(); - c = c->nextSibling(); - } - } - -private slots: - void renderAndSave(TQListViewItem* i) - { - ((FontViewItem*)i)->renderAndSave(); - } -}; - -static void usage() -{ - tqWarning("Usage: maketqpf [-A] [-f spec-file] [font ...]"); - tqWarning(""); - tqWarning(" Saves TQPF font files by rendering and saving fonts."); - tqWarning(""); - tqWarning(" -A = Render and save all fonts in fontdir"); - tqWarning(" -f = File of lines:"); - tqWarning(" fontname character-ranges"); - tqWarning(" eg."); - tqWarning(" smoothtimes 0-ff,20a0-20af"); - tqWarning(" font = Font to render and save"); -} - -int main(int argc, char** argv) -{ - TQApplication app(argc, argv, TQApplication::GuiServer); - MakeTQPF m; - if ( argc > 1 ) { - argv++; - TQString specfile; - while ( *argv && argv[0][0] == '-' ) { - if (argv[0][1] == 'A' ) - m.renderAndSaveAll(); - else if (argv[0][1] == 'f' ) - specfile = *++argv; - else { - usage(); - specfile=TQString::null; - *argv=0; - break; - } - argv++; - } - if ( !specfile.isNull() ) { - TQFile f(specfile); - if ( f.open(IO_ReadOnly) ) { - TQTextStream s(&f); - while (!s.atEnd()) { - TQString family,ranges; - s >> family >> ranges; - TQStringList r = TQStringList::split(',',ranges); - for (TQStringList::Iterator it=r.begin(); it!=r.end(); ++it) { - TQString rng = *it; - int dash = rng.find('-'); - int from,to; - if ( dash==0 ) { - from=0; - to=rng.mid(1).toInt(0,16); - } else if ( dash==(int)rng.length()-1 ) { - from=rng.left(dash).toInt(0,16); - to=65535; - } else if ( dash<0 ) { - from=to=rng.toInt(0,16); - } else { - from=rng.left(dash).toInt(0,16); - to=rng.mid(dash+1).toInt(0,16); - } - m.render(family,from,to); - } - m.save(family); - } - } else { - tqWarning("Cannot open %s",specfile.latin1()); - } - } else { - while (*argv) - m.renderAndSave(*argv++); - } - } else { - // Interactive - app.setMainWidget(&m); - m.show(); - return app.exec(); - } -} - -#include "main.moc" diff --git a/tools/maketqpf/makeall b/tools/maketqpf/makeall deleted file mode 100755 index bb167f373..000000000 --- a/tools/maketqpf/makeall +++ /dev/null @@ -1,4 +0,0 @@ -for dpy in LinuxFb Transformed:Rot90 Transformed:Rot180 Transformed:Rot270 -do - QWS_DISPLAY=$dpy ./maketqpf -done diff --git a/tools/maketqpf/maketqpf.pro b/tools/maketqpf/maketqpf.pro deleted file mode 100644 index 2fa9d7568..000000000 --- a/tools/maketqpf/maketqpf.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = app -CONFIG += qt warn_on release -HEADERS = -SOURCES = main.cpp -INTERFACES = -TARGET = maketqpf -REQUIRES=full-config nocrosscompiler - -target.path = $$bins.path -INSTALLS += target diff --git a/tools/tools.pro b/tools/tools.pro index a790d7179..0f9c05cc1 100644 --- a/tools/tools.pro +++ b/tools/tools.pro @@ -9,7 +9,6 @@ no-png { unix:SUBDIRS += qtconfig \ tqtmergetr \ qconfig \ - maketqpf \ msg2tqm \ qembed } diff --git a/tools/tqvfb/LICENSE.GPL b/tools/tqvfb/LICENSE.GPL deleted file mode 100644 index 3221c0305..000000000 --- a/tools/tqvfb/LICENSE.GPL +++ /dev/null @@ -1,280 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS diff --git a/tools/tqvfb/README b/tools/tqvfb/README deleted file mode 100644 index 63beaa45a..000000000 --- a/tools/tqvfb/README +++ /dev/null @@ -1,55 +0,0 @@ -Qt/Embedded Virtual Framebuffer -=============================== - -Please note that the tqvfb program needs to be compiled with the X11 version -of Qt. - -The virtual frame buffer allows a Qt/Embedded program to be developed on your -desktop machine, without switching between consoles and X11. The virtual -framebuffer consists of a shared memory region (the virtual frame buffer) -and a utility to display the framebuffer in a window. The display is updated -periodically, so you will see discrete snapshots of the framebuffer rather -than each individual drawing operation. For this reason drawing problems -such as flickering may not be apparent until the program is run using a real -framebuffer. - -To use the virtual framebuffer: - -1. Ensure TQT_NO_QWS_VFB is not set in ntqconfig.h (when you configure Qt, - add the -tqvfb option). -2. Start tqvfb (tqvfb should be compiled as a normal Qt/X11 application, - NOT as a Qt/Embedded application!). -3. Start a Qt/Embedded server (i.e. construct QApplication with - QApplication::GuiServer flag, or run a client with the -qws option). - -tqvfb supports the following command line options: - -[-width width] the width of the virtual framebuffer (default: 240). -[-height height] the height of the virtual framebuffer (default: 320). -[-depth depth] the depth of the virtual framebuffer (1,4,8 or 32, default: 8). -[-nocursor] do not display the X11 cursor in the framebuffer window. -[-qwsdisplay] the Qt/Embedded display ID, e.g. -qwsdisplay :1 (default :0). -[-skin skinfile] tells tqvfb to load a skin file, e.g. -skin pda.skin - -Please refer to the file "pda.skin" for an example of what a skin file looks like. -The format for skin files is: - Image filename of skin with buttons in their up positions - Image filename of skin with buttons in their down positions - X offset of top left corner of the virtual screen on the skin image - Y offset of top left corner of the virtual screen on the skin image - Width of the virtual screen on the skin image - Height of the virtual screen on the skin image - Transparancy level of the Virtual Frame Buffer - Number of defined button regions -Then for each button region the format is: - Button identifier - TQt scan codes to generate for the button - Top left X coordinate of the button region - Top left Y coordinate of the button region - Bottom right X coordinate of the button region - Bottom right Y coordinate of the button region - -The virtual framebuffer is a development tool only. No security issues have -been considered in the virtual framebuffer design. It should not be used -in a production environment and TQT_NO_QWS_VFB should always be in force -in production libraries. diff --git a/tools/tqvfb/config.ui b/tools/tqvfb/config.ui deleted file mode 100644 index 22efbdb2a..000000000 --- a/tools/tqvfb/config.ui +++ /dev/null @@ -1,1684 +0,0 @@ - -Config -********************************************************************* -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -********************************************************************* - - - Config - - - - 0 - 0 - 481 - 645 - - - - Configure - - - logo.png - - - true - - - - unnamed - - - 11 - - - 6 - - - - ButtonGroup2 - - - Depth - - - - depth_1 - - - - 11 - 19 - 229 - 19 - - - - 1 bit monochrome - - - - - depth_4gray - - - - 11 - 44 - 229 - 19 - - - - 4 bit grayscale - - - - - depth_8 - - - - 11 - 69 - 229 - 19 - - - - 8 bit - - - - - depth_12 - - - - 11 - 94 - 229 - 19 - - - - 12 (16) bit - - - - - depth_16 - - - - 11 - 119 - 229 - 19 - - - - 16 bit - - - - - depth_32 - - - - 11 - 144 - 229 - 19 - - - - 32 bit - - - - - - Layout1 - - - - unnamed - - - 0 - - - 6 - - - - Horizontal Spacing2 - - - Horizontal - - - Expanding - - - - 20 - 20 - - - - - - buttonOk - - - &OK - - - true - - - true - - - - - buttonCancel - - - &Cancel - - - true - - - - - - - touchScreen - - - Emulate touch screen (no mouse move). - - - - - GroupBox1 - - - Gamma - - - - unnamed - - - 11 - - - 6 - - - - TextLabel3 - - - Blue - - - - - bslider - - - - - - 0 - 0 - 0 - - - 0 - 0 - 255 - - - 127 - 127 - 255 - - - 63 - 63 - 255 - - - 0 - 0 - 127 - - - 0 - 0 - 170 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 128 - 128 - 128 - - - 0 - 0 - 255 - - - 127 - 127 - 255 - - - 38 - 38 - 255 - - - 0 - 0 - 127 - - - 0 - 0 - 170 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 128 - 128 - 128 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - 0 - 0 - 255 - - - 127 - 127 - 255 - - - 38 - 38 - 255 - - - 0 - 0 - 127 - - - 0 - 0 - 170 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - - 400 - - - 100 - - - Horizontal - - - - - blabel - - - 1.0 - - - - - Spacer3 - - - Vertical - - - Expanding - - - - 20 - 20 - - - - - - TextLabel2 - - - Green - - - - - gslider - - - - - - 0 - 0 - 0 - - - 0 - 255 - 0 - - - 127 - 255 - 127 - - - 63 - 255 - 63 - - - 0 - 127 - 0 - - - 0 - 170 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 128 - 128 - 128 - - - 0 - 255 - 0 - - - 127 - 255 - 127 - - - 38 - 255 - 38 - - - 0 - 127 - 0 - - - 0 - 170 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 128 - 128 - 128 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - 0 - 255 - 0 - - - 127 - 255 - 127 - - - 38 - 255 - 38 - - - 0 - 127 - 0 - - - 0 - 170 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - - 400 - - - 100 - - - Horizontal - - - - - glabel - - - 1.0 - - - - - TextLabel7 - - - All - - - - - TextLabel8 - - - 1.0 - - - - - gammaslider - - - - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 255 - 255 - 255 - - - 255 - 255 - 255 - - - 127 - 127 - 127 - - - 170 - 170 - 170 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 128 - 128 - 128 - - - 255 - 255 - 255 - - - 255 - 255 - 255 - - - 255 - 255 - 255 - - - 127 - 127 - 127 - - - 170 - 170 - 170 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 128 - 128 - 128 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 255 - 255 - 255 - - - 255 - 255 - 255 - - - 127 - 127 - 127 - - - 170 - 170 - 170 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - - 400 - - - 100 - - - Horizontal - - - - - TextLabel1_2 - - - Red - - - - - rlabel - - - 1.0 - - - - - rslider - - - - - - 0 - 0 - 0 - - - 255 - 0 - 0 - - - 255 - 127 - 127 - - - 255 - 63 - 63 - - - 127 - 0 - 0 - - - 170 - 0 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 128 - 128 - 128 - - - 255 - 0 - 0 - - - 255 - 127 - 127 - - - 255 - 38 - 38 - - - 127 - 0 - 0 - - - 170 - 0 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 128 - 128 - 128 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - 255 - 0 - 0 - - - 255 - 127 - 127 - - - 255 - 38 - 38 - - - 127 - 0 - 0 - - - 170 - 0 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 220 - 220 - 220 - - - 0 - 0 - 0 - - - 10 - 95 - 137 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - - - - 400 - - - 100 - - - Horizontal - - - - - Spacer2 - - - Vertical - - - Expanding - - - - 20 - 20 - - - - - - Spacer4 - - - Vertical - - - Expanding - - - - 20 - 20 - - - - - - PushButton3 - - - Set all to 1.0 - - - - - MyCustomWidget1 - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 20 - 20 - - - - - - - - ButtonGroup1 - - - - 5 - 5 - 0 - 0 - - - - Size - - - - unnamed - - - 11 - - - 6 - - - - size_240_320 - - - 240x320 "PDA" - - - - - size_320_240 - - - 320x240 "TV" - - - - - size_640_480 - - - 640x480 "VGA" - - - - - Layout1_2 - - - - unnamed - - - 0 - - - 6 - - - - size_custom - - - Custom - - - - - size_width - - - 1280 - - - 1 - - - 16 - - - 400 - - - - - size_height - - - 1024 - - - 1 - - - 16 - - - 300 - - - - - - - Layout8 - - - - unnamed - - - 0 - - - 6 - - - - size_skin - - - - 0 - 0 - 0 - 0 - - - - Skin - - - - - - pda.skin - - - - - ipaq.skin - - - - - qpe.skin - - - - - cassiopeia.skin - - - - - other.skin - - - - skin - - - - 5 - 0 - 0 - 0 - - - - - - - - - - TextLabel1 - - - <p>Note that any applications using the virtual framebuffer will be terminated if you change the Size or Depth <i>above</i>. You may freely modify the Gamma <i>below</i>. - - - - - - - GammaView -

    gammaview.h
    - - 64 - 64 - - 0 - - 3 - 3 - 0 - 0 - - image0 - - - - - 789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758 - - - - - buttonOk - clicked() - Config - accept() - - - buttonCancel - clicked() - Config - reject() - - - - - diff --git a/tools/tqvfb/gammaview.h b/tools/tqvfb/gammaview.h deleted file mode 100644 index f1026fb57..000000000 --- a/tools/tqvfb/gammaview.h +++ /dev/null @@ -1,49 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef GAMMAVIEW_H -#define GAMMAVIEW_H - -#include - -class GammaView: public TQWidget -{ - TQ_OBJECT -public: - GammaView( TQWidget *parent = 0, - const char *name = 0, WFlags f = 0 ) : - TQWidget(parent,name,f) - { } -}; - -#endif diff --git a/tools/tqvfb/images/logo.png b/tools/tqvfb/images/logo.png deleted file mode 100644 index 0cb2b6822..000000000 Binary files a/tools/tqvfb/images/logo.png and /dev/null differ diff --git a/tools/tqvfb/main.cpp b/tools/tqvfb/main.cpp deleted file mode 100644 index 2ea88e93d..000000000 --- a/tools/tqvfb/main.cpp +++ /dev/null @@ -1,97 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "tqvfb.h" - -#include -#include -#include - -#include -#include - -void usage( const char *app ) -{ - printf( "Usage: %s [-width width] [-height height] [-depth depth] " - "[-nocursor] [-qwsdisplay :id]\n" - "Supported depths: 1, 4, 8, 32\n", app ); -} - -int main( int argc, char *argv[] ) -{ - TQApplication app( argc, argv ); - - int width = 240; - int height = 320; - int depth = 32; - bool cursor = TRUE; - TQString displaySpec( ":0" ); - TQString skin; - - for ( int i = 1; i < argc; i++ ){ - TQString arg = argv[i]; - if ( arg == "-width" ) { - width = atoi( argv[++i] ); - } else if ( arg == "-height" ) { - height = atoi( argv[++i] ); - } else if ( arg == "-skin" ) { - skin = argv[++i]; - } else if ( arg == "-depth" ) { - depth = atoi( argv[++i] ); - } else if ( arg == "-nocursor" ) { - cursor = FALSE; - } else if ( arg == "-qwsdisplay" ) { - displaySpec = argv[++i]; - } else { - printf( "Unknown parameter %s\n", arg.latin1() ); - usage( argv[0] ); - exit(1); - } - } - - int displayId = 0; - TQRegExp rx( ":[0-9]" ); - int m = rx.search( displaySpec, 0 ); - if ( m >= 0 ) { - displayId = displaySpec.mid( m+1, rx.matchedLength()-1 ).toInt(); - } - - tqDebug( "Using display %d", displayId ); - - TQVFb mw( displayId, width, height, depth, skin ); - app.setMainWidget( &mw ); - mw.enableCursor(cursor); - mw.show(); - - return app.exec(); -} diff --git a/tools/tqvfb/pda.skin b/tools/tqvfb/pda.skin deleted file mode 100644 index 135e6b67f..000000000 --- a/tools/tqvfb/pda.skin +++ /dev/null @@ -1,15 +0,0 @@ -pda_up.png pda_down.png -57 81 -240 320 -0.5 -11 -"Power" 0x100a 277 36 302 57 -"F1" 0x1030 52 439 81 470 -"F2" 0x1031 101 422 130 451 -"F3" 0x1032 232 423 260 452 -"F4" 0x1033 279 445 309 473 -"Left" 0x1012 155 438 176 472 -"Down" 0x1015 169 471 203 486 -"Right" 0x1014 193 448 215 472 -"Up" 0x1013 166 427 199 451 -"Enter" 0x1005 177 448 193 468 diff --git a/tools/tqvfb/pda_down.png b/tools/tqvfb/pda_down.png deleted file mode 100644 index 52372b917..000000000 Binary files a/tools/tqvfb/pda_down.png and /dev/null differ diff --git a/tools/tqvfb/pda_up.png b/tools/tqvfb/pda_up.png deleted file mode 100644 index 1a6fcb9d8..000000000 Binary files a/tools/tqvfb/pda_up.png and /dev/null differ diff --git a/tools/tqvfb/qanimationwriter.cpp b/tools/tqvfb/qanimationwriter.cpp deleted file mode 100644 index f71dd55e1..000000000 --- a/tools/tqvfb/qanimationwriter.cpp +++ /dev/null @@ -1,421 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "qanimationwriter.h" - -#include - -#include -#include // for htonl - -class TQAnimationWriterData { -public: - TQAnimationWriterData(TQIODevice* d) : dev(d) - { - framerate = 1000; - } - void setFrameRate(int d) { framerate = d; } - virtual ~TQAnimationWriterData() { } - virtual void setImage(const TQImage& src)=0; - virtual bool canCompose() const { return FALSE; } - virtual void composeImage(const TQImage&, const TQPoint& ) { } - -protected: - int framerate; - TQIODevice* dev; -}; - - -class TQAnimationWriterMNG : public TQAnimationWriterData { - bool first; - png_structp png_ptr; - png_infop info_ptr; -public: - TQAnimationWriterMNG(TQIODevice* d) : TQAnimationWriterData(d) - { - first = TRUE; - begin_png(); - } - - ~TQAnimationWriterMNG() - { - if ( first ) { - // Eh? Not images. - TQImage dummy(1,1,32); - setImage(dummy); - } - writeMEND(); - end_png(); - } - - void begin_png() - { - png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,0,0,0); - info_ptr = png_create_info_struct(png_ptr); - png_set_compression_level(png_ptr,9); - png_set_write_fn(png_ptr, (void*)this, write, 0); - } - - void end_png() - { - png_destroy_write_struct(&png_ptr, &info_ptr); - } - - - static void write( png_structp png_ptr, png_bytep data, png_size_t length) - { - TQAnimationWriterMNG* that = (TQAnimationWriterMNG*)png_get_io_ptr(png_ptr); - /*uint nw =*/ that->dev->writeBlock((const char*)data,length); - } - - void writePNG(const TQImage& image) - { -#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 ) -#warning XXXtnn not too sure about this -/* -according to png.h, channels is only used on read, not writes, so we -should be able to comment this out. -*/ -#else /* LIBPNG 1.5 */ - info_ptr->channels = 4; -#endif - png_set_sig_bytes(png_ptr, 8); // Pretend we already wrote the sig - png_set_IHDR(png_ptr, info_ptr, image.width(), image.height(), - 8, image.hasAlphaBuffer() - ? PNG_COLOR_TYPE_RGB_ALPHA : PNG_COLOR_TYPE_RGB, - 0, 0, 0); - png_write_info(png_ptr, info_ptr); - if ( !image.hasAlphaBuffer() ) - png_set_filler(png_ptr, 0, - TQImage::systemByteOrder() == TQImage::BigEndian ? - PNG_FILLER_BEFORE : PNG_FILLER_AFTER); - //if ( TQImage::systemByteOrder() == TQImage::BigEndian ) { - //png_set_swap_alpha(png_ptr); - //} - if ( TQImage::systemByteOrder() == TQImage::LittleEndian ) { - png_set_bgr(png_ptr); - } - - png_bytep* row_pointers; - uint height = image.height(); - uchar** jt = image.jumpTable(); - row_pointers=new png_bytep[height]; - uint y; - for (y=0; ywriteBlock("\212MNG\r\n\032\n", 8); - - struct { - int width; - int height; - int framerate; - int a,b,c; - int profile; - } chunk; - chunk.width = htonl(size.width()); - chunk.height = htonl(size.height()); - chunk.framerate = htonl(framerate); - chunk.a=0; - chunk.b=0; - chunk.c=0; - chunk.profile= htonl(0x00000003); - - png_write_chunk(png_ptr, (png_byte*)"MHDR", (png_byte*)&chunk, sizeof(chunk)); - } - - void writeMEND() - { - png_write_chunk(png_ptr, (png_byte*)"MEND", 0, 0); - } - - void writeDEFI( const TQPoint& offset, const TQSize& size ) - { - struct { - ushort o; - uchar s; - uchar concrete; - int x,y; - int lc,rc,tc,bc; - } chunk; - chunk.o=0; - chunk.s=0; - chunk.concrete=1; - chunk.x=htonl(offset.x()); - chunk.y=htonl(offset.y()); - chunk.lc=0; - chunk.rc=0; - chunk.tc=htonl(INT_MAX); - chunk.bc=htonl(INT_MAX); - - png_write_chunk(png_ptr, (png_byte*)"DEFI", (png_byte*)&chunk, sizeof(chunk)); - } - - void writeFRAM( const TQSize& size ) - { - struct { - uchar mode; - uchar n; - uchar nu; - uchar d; - uchar t; - uchar clip; - uchar s; - uchar deltatype; - uint left; - uint right; - uint top; - uint bottom; - } chunk; - chunk.mode=1; - chunk.n='a'; - chunk.nu=0; - chunk.d=0; - chunk.clip=1; - chunk.t=0; - chunk.s=0; - chunk.deltatype=0; - chunk.left=0; - chunk.right=htonl(size.width()); - chunk.top=0; - chunk.bottom=htonl(size.height()); - - png_write_chunk(png_ptr, (png_byte*)"FRAM", (png_byte*)&chunk, sizeof(chunk)); - } - - void writeMOVE( const TQPoint& offset ) - { - struct { - uchar filler[3]; - uchar z[5]; - int x,y; - } chunk; - memset(chunk.z,0,5); - chunk.x=htonl(offset.x()); - chunk.y=htonl(offset.y()); - - png_write_chunk(png_ptr, (png_byte*)"MOVE", ((png_byte*)&chunk)+3, sizeof(chunk)-3); - } - - void setImage(const TQImage& src) - { - if ( first ) { - first = FALSE; - writeMHDR(src.size(),framerate); - } - composeImage(src,TQPoint(0,0)); - } - - bool canCompose() const { return TRUE; } - - void composeImage(const TQImage& src, const TQPoint& offset) - { - writeMOVE(offset); - //writeFRAM(src.size()); - writePNG(src); - } -}; - -TQAnimationWriter::TQAnimationWriter( const TQString& filename, const char* format ) -{ - if ( TQCString(format) != "MNG" ) { - tqWarning("Format \"%s\" not supported, only MNG", format); - dev = 0; - d = 0; - } else { - TQFile *f = new TQFile(filename); - f->open(IO_WriteOnly); - dev = f; - d = new TQAnimationWriterMNG(dev); - } -} - -bool TQAnimationWriter::okay() const -{ - return dev && dev->status() == IO_Ok; -} - -TQAnimationWriter::~TQAnimationWriter() -{ - delete d; - delete dev; -} - -void TQAnimationWriter::setFrameRate(int r) -{ - if (d) d->setFrameRate(r); -} - -void TQAnimationWriter::appendFrame(const TQImage& frm, const TQPoint& offset) -{ - TQImage frame = frm.convertDepth(32); - const int alignx = 1; - if ( dev ) { - if ( prev.isNull() || !d->canCompose() ) { - d->setImage(frame); - } else { - bool done; - int minx, maxx, miny, maxy; - int w = frame.width(); - int h = frame.height(); - - TQRgb** jt = (TQRgb**)frame.jumpTable(); - TQRgb** pjt = (TQRgb**)prev.jumpTable() + offset.y(); - - // Find left edge of change - done = FALSE; - for (minx = 0; minx < w && !done; minx++) { - for (int ty = 0; ty < h; ty++) { - if ( jt[ty][minx] != pjt[ty][minx+offset.x()] ) { - done = TRUE; - break; - } - } - } - minx--; - - // Find right edge of change - done = FALSE; - for (maxx = w-1; maxx >= 0 && !done; maxx--) { - for (int ty = 0; ty < h; ty++) { - if ( jt[ty][maxx] != pjt[ty][maxx+offset.x()] ) { - done = TRUE; - break; - } - } - } - maxx++; - - // Find top edge of change - done = FALSE; - for (miny = 0; miny < h && !done; miny++) { - for (int tx = 0; tx < w; tx++) { - if ( jt[miny][tx] != pjt[miny][tx+offset.x()] ) { - done = TRUE; - break; - } - } - } - miny--; - - // Find right edge of change - done = FALSE; - for (maxy = h-1; maxy >= 0 && !done; maxy--) { - for (int tx = 0; tx < w; tx++) { - if ( jt[maxy][tx] != pjt[maxy][tx+offset.x()] ) { - done = TRUE; - break; - } - } - } - maxy++; - - if ( minx > maxx ) minx=maxx=0; - if ( miny > maxy ) miny=maxy=0; - - if ( alignx > 1 ) { - minx -= minx % alignx; - maxx = maxx - maxx % alignx + alignx - 1; - } - - int dw = maxx-minx+1; - int dh = maxy-miny+1; - - TQImage diff(dw, dh, 32); - - diff.setAlphaBuffer(TRUE); - int x, y; - for (y = 0; y < dh; y++) { - TQRgb* li = (TQRgb*)frame.scanLine(y+miny)+minx; - TQRgb* lp = (TQRgb*)prev.scanLine(y+miny+offset.y())+minx+offset.x(); - TQRgb* ld = (TQRgb*)diff.scanLine(y); - if ( alignx ) { - for (x = 0; x < dw; x+=alignx) { - int i; - for (i=0; icomposeImage(diff,TQPoint(minx,miny)+offset); - } - if ( prev.isNull() || ( prev.size() == frame.size() && offset == TQPoint(0,0) ) ) { - prev = frame; - } else { - bitBlt(&prev,offset.x(),offset.y(),&frame,0,0,frame.width(),frame.height()); - } - } -} - -void TQAnimationWriter::appendFrame(const TQImage& frm) -{ - appendFrame(frm,TQPoint(0,0)); -} - -void TQAnimationWriter::appendBlankFrame() -{ - TQImage i(1,1,32); - i.setAlphaBuffer(TRUE); - i.fill(0); - d->composeImage(i,TQPoint(0,0)); -} diff --git a/tools/tqvfb/qanimationwriter.h b/tools/tqvfb/qanimationwriter.h deleted file mode 100644 index 88cbfe9db..000000000 --- a/tools/tqvfb/qanimationwriter.h +++ /dev/null @@ -1,59 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQANIMATIONWRITER_H -#define TQANIMATIONWRITER_H - -#include - -class TQAnimationWriterData; - -class TQAnimationWriter -{ -public: - TQAnimationWriter( const TQString& filename, const char* format="MNG" ); - ~TQAnimationWriter(); - - bool okay() const; - void setFrameRate(int); - void appendBlankFrame(); - void appendFrame(const TQImage&); - void appendFrame(const TQImage&, const TQPoint& offset); - -private: - TQImage prev; - TQIODevice* dev; - TQAnimationWriterData* d; -}; - -#endif diff --git a/tools/tqvfb/skin.cpp b/tools/tqvfb/skin.cpp deleted file mode 100644 index a46e0a693..000000000 --- a/tools/tqvfb/skin.cpp +++ /dev/null @@ -1,174 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "skin.h" -#include "tqvfb.h" -#include "tqvfbview.h" - -#include -#include -#include -#include -#include -#ifdef TQ_WS_MAC -# include -#endif - -Skin::Skin( TQVFb *p, const TQString &skinFile, int &viewW, int &viewH ) : TQWidget(p) -{ - TQFile f( skinFile ); - f.open( IO_ReadOnly ); - TQTextStream ts( &f ); - ts >> skinImageUpFileName; - ts >> skinImageDownFileName; - ts >> viewX1; - ts >> viewY1; - ts >> viewW; - ts >> viewH; - ts >> transparancy; - ts >> numberOfAreas; -// Debug the skin file parsing -// printf("read: -%s- -%i- -%i- -%i-\n", skinImage.latin1(), viewX1, viewY1, numberOfAreas ); - areas = new ButtonAreas[numberOfAreas]; - - for (int i = 0; i < numberOfAreas; i++) { - ts >> areas[i].name; - ts >> areas[i].keyCode; - ts >> areas[i].x1; - ts >> areas[i].y1; - ts >> areas[i].x2; - ts >> areas[i].y2; -// Debug the skin file parsing -// printf("read: -%s- -%i- -%i- -%i- -%i- -%i-\n", areas[i].name.latin1(), -// areas[i].keyCode, areas[i].x1, areas[i].y1, areas[i].x2, areas[i].y2 ); - } - - parent = p; - skinImageUp = new TQPixmap( skinImageUpFileName ); - skinImageDown = new TQPixmap( skinImageDownFileName ); -// setPixmap( ipaq ); - setFixedSize( skinImageUp->size() ); - TQBitmap mask = skinImageUp->createHeuristicMask(); - int wf = WStyle_Customize | WType_TopLevel | WStyle_NoBorder; - parent->reparent( 0, wf, pos(), TRUE ); - parent->setMask( mask ); - parent->setFixedSize( skinImageUp->size() ); - buttonPressed = FALSE; - buttonIndex = 0; -} - - -Skin::~Skin( ) -{ -} - - -void Skin::setView( TQVFbView *v ) -{ - view = v; - view->move( viewX1, viewY1 ); -#ifdef TQ_WS_MAC - TQMacSavedPortInfo::setAlphaTransparancy(view, transparancy); -#endif -} - - -void Skin::paintEvent( TQPaintEvent * ) -{ - TQPainter p( this ); -// printf("read: -%s-\n", skinImageUp.latin1()); - if (skinImageUp) - p.drawPixmap( 0, 0, *skinImageUp ); - if (buttonPressed == TRUE) { - ButtonAreas *ba = &areas[buttonIndex]; - if (skinImageDown) - p.drawPixmap( ba->x1, ba->y1, *skinImageDown, ba->x1, ba->y1, ba->x2 - ba->x1, ba->y2 - ba->y1 ); - } -} - - -void Skin::mousePressEvent( TQMouseEvent *e ) -{ - if (e->button() == RightButton) { - parent->popupMenu(); - } else { - buttonPressed = FALSE; - - for (int i = 0; i < numberOfAreas; i++) { - TQPoint p1( areas[i].x1, areas[i].y1 ); - TQPoint p2( areas[i].x2, areas[i].y2 ); - TQRect r( p1, p2 ); - if ( r.contains( e->pos() ) ) { - buttonPressed = TRUE; - buttonIndex = i; - buttonCode = areas[buttonIndex].keyCode; - TQKeyEvent keyEvent( TQEvent::KeyPress, buttonCode, 0, 0 ); - if (view) - view->skinKeyPressEvent( &keyEvent ); -// Debug message to be sure we are clicking the right areas -// printf("%s clicked\n", areas[i].name); - ButtonAreas *ba = &areas[buttonIndex]; - repaint( ba->x1, ba->y1, ba->x2 - ba->x1, ba->y2 - ba->y1, FALSE ); - continue; - } - } - -// This is handy for finding the areas to define rectangles for new skins -// printf("Clicked in %i,%i\n", e->pos().x(), e->pos().y()); - clickPos = e->pos(); - } -} - - -void Skin::mouseMoveEvent( TQMouseEvent *e ) -{ - if ( buttonPressed == FALSE ) { - TQPoint newpos = e->globalPos() - clickPos; - parent->move( newpos ); - } -} - - -void Skin::mouseReleaseEvent( TQMouseEvent * ) -{ - if ( buttonPressed ) { - TQKeyEvent keyEvent( TQEvent::KeyRelease, buttonCode, 0, 0 ); - if (view) - view->skinKeyReleaseEvent( &keyEvent ); - buttonPressed = FALSE; - ButtonAreas *ba = &areas[buttonIndex]; - repaint( ba->x1, ba->y1, ba->x2 - ba->x1, ba->y2 - ba->y1, FALSE ); - } -} - - diff --git a/tools/tqvfb/skin.h b/tools/tqvfb/skin.h deleted file mode 100644 index 11e21a494..000000000 --- a/tools/tqvfb/skin.h +++ /dev/null @@ -1,78 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include - - -class TQVFb; -class TQVFbView; - - -class Skin : public TQWidget -{ -public: - Skin( TQVFb *p, const TQString &skinFile, int &viewW, int &viewH ); - ~Skin( ); - void setView( TQVFbView *v ); -protected: - virtual void paintEvent( TQPaintEvent * ); - virtual void mousePressEvent( TQMouseEvent *e ); - virtual void mouseMoveEvent( TQMouseEvent *e ); - virtual void mouseReleaseEvent( TQMouseEvent * ); -private: - TQVFb *parent; - TQVFbView *view; - TQPoint clickPos; - bool buttonPressed; - int buttonCode; - int buttonIndex; - float transparancy; - - TQString skinImageUpFileName; - TQString skinImageDownFileName; - TQPixmap *skinImageUp; - TQPixmap *skinImageDown; - int viewX1, viewY1; - int numberOfAreas; - - typedef struct { - TQString name; - int keyCode; - int x1, y1; - int x2, y2; - } ButtonAreas; - - ButtonAreas *areas; -}; - - diff --git a/tools/tqvfb/tqvfb.cpp b/tools/tqvfb/tqvfb.cpp deleted file mode 100644 index f4535615e..000000000 --- a/tools/tqvfb/tqvfb.cpp +++ /dev/null @@ -1,389 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "tqvfb.h" -#include "tqvfbview.h" -#include "tqvfbratedlg.h" -#include "config.h" -#include "skin.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -TQVFb::TQVFb( int display_id, int w, int h, int d, const TQString &skin, TQWidget *parent, - const char *name, uint flags ) - : TQMainWindow( parent, name, flags ) -{ - const TQMimeSource *m = TQMimeSourceFactory::defaultFactory()->data( "logo.png" ); - if ( m ) { - TQPixmap pix; - TQImageDrag::decode( m, pix ); - setIcon( pix ); - } - - imagesave = new TQFileDialog( this, 0, TRUE ); - - rateDlg = 0; - view = 0; - init( display_id, w, h, d, skin ); - createMenu( menuBar() ); - adjustSize(); -} - -TQVFb::~TQVFb() -{ -} - -void TQVFb::popupMenu() -{ - TQPopupMenu *pm = new TQPopupMenu( this ); - createMenu( pm ); - pm->exec(TQCursor::pos()); -} - -void TQVFb::init( int display_id, int w, int h, int d, const TQString &skin_name ) -{ - setCaption( TQString("Virtual framebuffer %1x%2 %3bpp Display :%4") - .arg(w).arg(h).arg(d).arg(display_id) ); - delete view; - - if ( !skin_name.isEmpty() && TQFile::exists(skin_name) ) { - bool vis = isVisible(); - if ( vis ) hide(); - menuBar()->hide(); - Skin *skin = new Skin( this, skin_name, w, h ); - view = new TQVFbView( display_id, w, h, d, skin ); - skin->setView( view ); - view->setMargin( 0 ); - view->setFrameStyle( TQFrame::NoFrame ); - view->setFixedSize( w, h ); - setCentralWidget( skin ); - adjustSize(); - view->show(); - if ( vis ) show(); - } else { - if ( !currentSkin.isEmpty() ) { - clearMask(); - reparent( 0, 0, pos(), TRUE ); - } - menuBar()->show(); - view = new TQVFbView( display_id, w, h, d, this ); - view->setMargin( 0 ); - view->setFrameStyle( TQFrame::NoFrame ); - setCentralWidget( view ); - resize( sizeHint() ); - view->show(); - } - - currentSkin = skin_name; -} - -void TQVFb::enableCursor( bool e ) -{ - view->viewport()->setCursor( e ? ArrowCursor : BlankCursor ); - viewMenu->setItemChecked( cursorId, e ); -} - -void TQVFb::createMenu(TQMenuData *menu) -{ - TQPopupMenu *file = new TQPopupMenu( this ); - file->insertItem( "&Configure...", this, TQ_SLOT(configure()), ALT+CTRL+Key_C ); - file->insertSeparator(); - file->insertItem( "&Save image...", this, TQ_SLOT(saveImage()), ALT+CTRL+Key_S ); - file->insertItem( "&Animation...", this, TQ_SLOT(toggleAnimation()), ALT+CTRL+Key_A ); - file->insertSeparator(); - file->insertItem( "&Quit", tqApp, TQ_SLOT(quit()) ); - - menu->insertItem( "&File", file ); - - viewMenu = new TQPopupMenu( this ); - viewMenu->setCheckable( TRUE ); - cursorId = viewMenu->insertItem( "Show &Cursor", this, TQ_SLOT(toggleCursor()) ); - enableCursor(TRUE); - viewMenu->insertItem( "&Refresh Rate...", this, TQ_SLOT(changeRate()) ); - viewMenu->insertSeparator(); - viewMenu->insertItem( "Zoom scale &1", this, TQ_SLOT(setZoom1()) ); - viewMenu->insertItem( "Zoom scale &2", this, TQ_SLOT(setZoom2()) ); - viewMenu->insertItem( "Zoom scale &3", this, TQ_SLOT(setZoom3()) ); - viewMenu->insertItem( "Zoom scale &4", this, TQ_SLOT(setZoom4()) ); - viewMenu->insertItem( "Zoom scale &0.5", this, TQ_SLOT(setZoomHalf()) ); - - menu->insertItem( "&View", viewMenu ); - - TQPopupMenu *help = new TQPopupMenu( this ); - help->insertItem("&About", this, TQ_SLOT(about())); - help->insertItem("About &TQt", this, TQ_SLOT(aboutTQt())); - menu->insertSeparator(); - menu->insertItem( "&Help", help ); -} - -void TQVFb::setZoom(double z) -{ - view->setZoom(z); -} - -void TQVFb::setZoomHalf() -{ - setZoom(0.5); -} - -void TQVFb::setZoom1() -{ - setZoom(1); -} - -void TQVFb::setZoom2() -{ - setZoom(2); -} - -void TQVFb::setZoom3() -{ - setZoom(3); -} - -void TQVFb::setZoom4() -{ - setZoom(4); -} - -void TQVFb::saveImage() -{ - TQImage img = view->image(); - TQString filename = imagesave->getSaveFileName("snapshot.png", "*.png", this, "", "Save Image"); - if ( !!filename ) - img.save(filename,"PNG"); -} - -void TQVFb::toggleAnimation() -{ - if ( view->animating() ) { - view->stopAnimation(); - } else { - TQString filename = imagesave->getSaveFileName("animation.mng", "*.mng", this, "", "Save animation"); - if ( !filename ) { - view->stopAnimation(); - } else { - view->startAnimation(filename); - } - } -} - -void TQVFb::toggleCursor() -{ - enableCursor( !viewMenu->isItemChecked( cursorId ) ); -} - -void TQVFb::changeRate() -{ - if ( !rateDlg ) { - rateDlg = new TQVFbRateDialog( view->rate(), this ); - connect( rateDlg, TQ_SIGNAL(updateRate(int)), view, TQ_SLOT(setRate(int)) ); - } - - rateDlg->show(); -} - -void TQVFb::about() -{ -#if defined( TQ_WS_MAC ) - TQString platform("Mac OS X"); - TQString qt("Mac"); -#elif defined( TQ_WS_WIN ) - TQString platform("Windows"); - TQString qt("Windows"); -#else - TQString platform("X11"); - TQString qt("X11"); -#endif - TQMessageBox::about(this, "About TQVFB", - "

    TQt/Embedded Virtual " + platform + " Framebuffer

    " - "

    " - "

    Version 1.0

    " - "

    Copyright (C) 2001-2008 Trolltech ASA. All rights reserved.

    " - "

    " - "

    This program is licensed to you under the terms of the GNU General " - "Public License Version 2 as published by the Free Software Foundation. This " - "gives you legal permission to copy, distribute and/or modify this software " - "under certain conditions. For details, see the file 'LICENSE.GPL' that came with " - "this software distribution. If you did not get the file, send email to " - "info@trolltech.com.

    \n\n

    The program is provided AS IS with NO WARRANTY " - "OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS " - "FOR A PARTICULAR PURPOSE.

    " - ); -} - -void TQVFb::aboutTQt() -{ - TQMessageBox::aboutTQt( this, tr("TQVFB") ); -} - -void TQVFb::configure() -{ - config = new Config(this,0,TRUE); - - int w = view->displayWidth(); - int h = view->displayHeight(); - TQString skin; - config->size_width->setValue(w); - config->size_height->setValue(h); - config->size_custom->setChecked(TRUE); // unless changed by settings below - config->size_240_320->setChecked(w==240&&h==320); - config->size_320_240->setChecked(w==320&&h==240); - config->size_640_480->setChecked(w==640&&h==480); - config->skin->setEditable(TRUE); - if (!currentSkin.isNull()) { - config->size_skin->setChecked(TRUE); - config->skin->setEditText(currentSkin); - } - config->touchScreen->setChecked(view->touchScreenEmulation()); - config->depth_1->setChecked(view->displayDepth()==1); - config->depth_4gray->setChecked(view->displayDepth()==4); - config->depth_8->setChecked(view->displayDepth()==8); - config->depth_12->setChecked(view->displayDepth()==12); - config->depth_16->setChecked(view->displayDepth()==16); - config->depth_32->setChecked(view->displayDepth()==32); - if ( view->gammaRed() == view->gammaGreen() && view->gammaGreen() == view->gammaBlue() ) { - config->gammaslider->setValue(int(view->gammaRed()*400)); - config->rslider->setValue(100); - config->gslider->setValue(100); - config->bslider->setValue(100); - } else { - config->gammaslider->setValue(100); - config->rslider->setValue(int(view->gammaRed()*400)); - config->gslider->setValue(int(view->gammaGreen()*400)); - config->bslider->setValue(int(view->gammaBlue()*400)); - } - connect(config->gammaslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setGamma400(int))); - connect(config->rslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setR400(int))); - connect(config->gslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setG400(int))); - connect(config->bslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setB400(int))); - updateGammaLabels(); - - double ogr=view->gammaRed(), ogg=view->gammaGreen(), ogb=view->gammaBlue(); - - if ( config->exec() ) { - int id = view->displayId(); // not settable yet - if ( config->size_240_320->isChecked() ) { - w=240; h=320; - } else if ( config->size_320_240->isChecked() ) { - w=320; h=240; - } else if ( config->size_640_480->isChecked() ) { - w=640; h=480; - } else if ( config->size_skin->isChecked() ) { - skin = config->skin->currentText(); - } else { - w=config->size_width->value(); - h=config->size_height->value(); - } - int d; - if ( config->depth_1->isChecked() ) - d=1; - else if ( config->depth_4gray->isChecked() ) - d=4; - else if ( config->depth_8->isChecked() ) - d=8; - else if ( config->depth_12->isChecked() ) - d=12; - else if ( config->depth_16->isChecked() ) - d=16; - else - d=32; - - if ( w != view->displayWidth() || h != view->displayHeight() - || d != view->displayDepth() || skin != currentSkin ) - init( id, w, h, d, skin ); - view->setTouchscreenEmulation( config->touchScreen->isChecked() ); - } else { - view->setGamma(ogr, ogg, ogb); - } - - delete config; - config=0; -} - -void TQVFb::setGamma400(int n) -{ - double g = n/100.0; - view->setGamma(config->rslider->value()/100.0*g, - config->gslider->value()/100.0*g, - config->bslider->value()/100.0*g); - updateGammaLabels(); -} - -void TQVFb::setR400(int n) -{ - double g = n/100.0; - view->setGamma(config->rslider->value()/100.0*g, - view->gammaGreen(), - view->gammaBlue()); - updateGammaLabels(); -} - -void TQVFb::setG400(int n) -{ - double g = n/100.0; - view->setGamma(view->gammaRed(), - config->gslider->value()/100.0*g, - view->gammaBlue()); - updateGammaLabels(); -} - -void TQVFb::setB400(int n) -{ - double g = n/100.0; - view->setGamma(view->gammaRed(), - view->gammaGreen(), - config->bslider->value()/100.0*g); - updateGammaLabels(); -} - -void TQVFb::updateGammaLabels() -{ - config->rlabel->setText(TQString::number(view->gammaRed(),'g',2)); - config->glabel->setText(TQString::number(view->gammaGreen(),'g',2)); - config->blabel->setText(TQString::number(view->gammaBlue(),'g',2)); -} diff --git a/tools/tqvfb/tqvfb.h b/tools/tqvfb/tqvfb.h deleted file mode 100644 index 518e1d76f..000000000 --- a/tools/tqvfb/tqvfb.h +++ /dev/null @@ -1,91 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include - -class TQVFbView; -class TQVFbRateDialog; -class TQPopupMenu; -class TQMenuData; -class TQFileDialog; -class Config; - -class TQVFb: public TQMainWindow -{ - TQ_OBJECT -public: - TQVFb( int display_id, int w, int h, int d, const TQString &skin, TQWidget *parent = 0, - const char *name = 0, uint wflags = 0 ); - ~TQVFb(); - - void enableCursor( bool e ); - void popupMenu(); - -protected slots: - void saveImage(); - void toggleAnimation(); - void toggleCursor(); - void changeRate(); - void about(); - void aboutTQt(); - - void configure(); - - void setZoom(double); - void setZoom1(); - void setZoom2(); - void setZoom3(); - void setZoom4(); - void setZoomHalf(); - -protected: - void createMenu(TQMenuData *menu); - -private: - void init( int display_id, int w, int h, int d, const TQString &skin ); - TQVFbView *view; - TQVFbRateDialog *rateDlg; - TQFileDialog* imagesave; - TQPopupMenu *viewMenu; - int cursorId; - Config* config; - TQString currentSkin; - -private slots: - void setGamma400(int n); - void setR400(int n); - void setG400(int n); - void setB400(int n); - void updateGammaLabels(); -}; - diff --git a/tools/tqvfb/tqvfb.pro b/tools/tqvfb/tqvfb.pro deleted file mode 100644 index 33e6a3f25..000000000 --- a/tools/tqvfb/tqvfb.pro +++ /dev/null @@ -1,11 +0,0 @@ -TEMPLATE = app -CONFIG += qt warn_on release -HEADERS = tqvfb.h tqvfbview.h tqvfbratedlg.h qanimationwriter.h \ - gammaview.h skin.h -SOURCES = tqvfb.cpp tqvfbview.cpp tqvfbratedlg.cpp \ - main.cpp qanimationwriter.cpp skin.cpp -INTERFACES = config.ui -IMAGES = images/logo.png -TARGET = tqvfb -INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/libpng $$QT_SOURCE_TREE/src/3rdparty/zlib -DEPENDPATH = ../../include diff --git a/tools/tqvfb/tqvfbratedlg.cpp b/tools/tqvfb/tqvfbratedlg.cpp deleted file mode 100644 index 082f2bb99..000000000 --- a/tools/tqvfb/tqvfbratedlg.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "tqvfbratedlg.h" - -#include -#include -#include -#include - -TQVFbRateDialog::TQVFbRateDialog( int rate, TQWidget *parent, const char *name, - bool modal ) - : TQDialog( parent, name, modal ) -{ - oldRate = rate; - - TQVBoxLayout *tl = new TQVBoxLayout( this, 5 ); - - TQLabel *label = new TQLabel( "Target frame rate:", this ); - tl->addWidget( label ); - - TQHBoxLayout *hl = new TQHBoxLayout( tl ); - rateSlider = new TQSlider( 1, 100, 10, rate, TQSlider::Horizontal, this ); - hl->addWidget( rateSlider ); - connect( rateSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(rateChanged(int)) ); - rateLabel = new TQLabel( TQString( "%1fps" ).arg(rate), this ); - hl->addWidget( rateLabel ); - - hl = new TQHBoxLayout( tl ); - TQPushButton *pb = new TQPushButton( "OK", this ); - connect( pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) ); - hl->addWidget( pb ); - pb = new TQPushButton( "Cancel", this ); - connect( pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(cancel()) ); - hl->addWidget( pb ); -} - -void TQVFbRateDialog::rateChanged( int r ) -{ - if ( rateSlider->value() != r ) - rateSlider->setValue( r ); - rateLabel->setText( TQString( "%1fps" ).arg(r) ); - emit updateRate(r); -} - -void TQVFbRateDialog::cancel() -{ - rateChanged( oldRate ); - reject(); -} diff --git a/tools/tqvfb/tqvfbratedlg.h b/tools/tqvfb/tqvfbratedlg.h deleted file mode 100644 index 2e514c5d2..000000000 --- a/tools/tqvfb/tqvfbratedlg.h +++ /dev/null @@ -1,59 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include - -class TQLabel; -class TQSlider; - -class TQVFbRateDialog : public TQDialog -{ - TQ_OBJECT -public: - TQVFbRateDialog( int value, TQWidget *parent=0, const char *name=0, - bool modal=FALSE ); - -signals: - void updateRate( int r ); - -protected slots: - void rateChanged( int r ); - void cancel(); - -private: - TQLabel *rateLabel; - TQSlider *rateSlider; - int oldRate; -}; - - diff --git a/tools/tqvfb/tqvfbview.cpp b/tools/tqvfb/tqvfbview.cpp deleted file mode 100644 index 35a846b29..000000000 --- a/tools/tqvfb/tqvfbview.cpp +++ /dev/null @@ -1,615 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include "ntqglobal.h" -#if !defined( TQ_WS_QWS ) || defined( TQT_NO_QWS_MULTIPROCESS ) -#define TQLock TQWSSemaphore -#undef TQT_NO_QWS_MULTIPROCESS -#include "../../src/kernel/qlock.cpp" -#else -#include "qlock_p.h" -#endif - -#include "tqvfbview.h" -#include "ntqvfbhdr.h" - -#define TQTE_PIPE "TQtEmbedded-%1" - -#include -#include -#include -#include -#include -#include -#include "qanimationwriter.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -//#define QT_QWS_EXPERIMENTAL_REVERSE_BIT_ENDIANNESS - -TQVFbView::TQVFbView( int display_id, int w, int h, int d, TQWidget *parent, - const char *name, uint flags ) - : TQScrollView( parent, name, flags ), emulateTouchscreen(FALSE), qwslock(NULL) -{ - displayid = display_id; - viewport()->setMouseTracking( TRUE ); - viewport()->setFocusPolicy( StrongFocus ); - zm = 1; - animation = 0; - int actualdepth=d; - - switch ( d ) { - case 12: - actualdepth=16; - break; - case 1: - case 4: - case 8: - case 16: - case 32: - break; - - default: - tqFatal( "Unsupported bit depth %d\n", d ); - } - - mousePipe = TQString(QT_VFB_MOUSE_PIPE).arg(display_id); - keyboardPipe = TQString(QT_VFB_KEYBOARD_PIPE).arg(display_id); - - unlink( mousePipe.latin1() ); - mkfifo( mousePipe.latin1(), 0666 ); - - mouseFd = open( mousePipe.latin1(), O_RDWR | O_NDELAY ); - if ( mouseFd == -1 ) { - tqFatal( "Cannot open mouse pipe" ); - } - - unlink( keyboardPipe ); - mkfifo( keyboardPipe, 0666 ); - keyboardFd = open( keyboardPipe, O_RDWR | O_NDELAY ); - if ( keyboardFd == -1 ) { - tqFatal( "Cannot open keyboard pipe" ); - } - - key_t key = ftok( mousePipe.latin1(), 'b' ); - - int bpl; - if ( d == 1 ) - bpl = (w*d+7)/8; - else - bpl = ((w*actualdepth+31)/32)*4; - - int dataSize = bpl * h + sizeof( TQVFbHeader ); - shmId = shmget( key, dataSize, IPC_CREAT|0666); - if ( shmId != -1 ) - data = (unsigned char *)shmat( shmId, 0, 0 ); - else { - struct shmid_ds shm; - shmctl( shmId, IPC_RMID, &shm ); - shmId = shmget( key, dataSize, IPC_CREAT|0666); - data = (unsigned char *)shmat( shmId, 0, 0 ); - } - - if ( (long)data == -1 ) - tqFatal( "Cannot attach to shared memory" ); - - hdr = (TQVFbHeader *)data; - hdr->width = w; - hdr->height = h; - viewdepth = d; - hdr->depth = actualdepth; - hdr->linestep = bpl; - hdr->numcols = 0; - hdr->dataoffset = sizeof( TQVFbHeader ); - hdr->update = TQRect(); - - resizeContents( w, h ); - - timer = new TQTimer( this ); - connect( timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout()) ); - - gammatable=0; - setGamma(1.0,1.0,1.0); - setRate( 30 ); -} - -TQVFbView::~TQVFbView() -{ - stopAnimation(); - sendKeyboardData( 0, 0, 0, TRUE, FALSE ); // magic die key - delete qwslock; - struct shmid_ds shm; - shmdt( (char*)data ); - shmctl( shmId, IPC_RMID, &shm ); - ::close( mouseFd ); - ::close( keyboardFd ); - unlink( mousePipe ); - unlink( keyboardPipe ); -} - -TQSize TQVFbView::sizeHint() const -{ - int f = 2 * frameWidth(); - return TQSize( contentsWidth() + f, contentsHeight() + f ); -} - -void TQVFbView::setGamma(double gr, double gg, double gb) -{ - if ( viewdepth < 12 ) - return; // not implemented - - gred=gr; ggreen=gg; gblue=gb; - - switch ( viewdepth ) { - case 12: - rsh = 12; - gsh = 7; - bsh = 1; - rmax = 15; - gmax = 15; - bmax = 15; - break; - case 16: - rsh = 11; - gsh = 5; - bsh = 0; - rmax = 31; - gmax = 63; - bmax = 31; - break; - case 32: - rsh = 16; - gsh = 8; - bsh = 0; - rmax = 255; - gmax = 255; - bmax = 255; - } - int mm = TQMAX(rmax,TQMAX(gmax,bmax))+1; - if ( gammatable ) - delete [] gammatable; - gammatable = new TQRgb[mm]; - for (int i=0; i 255 ) r = 255; - if ( g > 255 ) g = 255; - if ( b > 255 ) b = 255; - gammatable[i] = tqRgb(r,g,b); -//tqDebug("%d: %d,%d,%d",i,r,g,b); - } - - setDirty(rect()); -} - -void TQVFbView::getGamma(int i, TQRgb& rgb) -{ - if ( i > 255 ) i = 255; - if ( i < 0 ) i = 0; - rgb = tqRgb(tqRed(gammatable[i*rmax/255]), - tqGreen(gammatable[i*rmax/255]), - tqBlue(gammatable[i*rmax/255])); -} - -int TQVFbView::displayId() const -{ - return displayid; -} - -int TQVFbView::displayWidth() const -{ - return hdr->width; -} - -int TQVFbView::displayHeight() const -{ - return hdr->height; -} - -int TQVFbView::displayDepth() const -{ - return viewdepth; -} - -void TQVFbView::setZoom( double z ) -{ - if ( zm != z ) { - zm = z; - setDirty(TQRect(0,0,hdr->width,hdr->height)); - resizeContents( int(hdr->width*z), int(hdr->height*z) ); - updateGeometry(); - tqApp->sendPostedEvents(); - topLevelWidget()->adjustSize(); - drawScreen(); - } -} - -void TQVFbView::setRate( int r ) -{ - refreshRate = r; - timer->start( 1000/r ); -} - -#ifndef TQ_WS_QWS -// Get the name of the directory where TQt/Embedded temporary data should -// live. -static TQString qws_dataDir() -{ - TQString username = "unknown"; - const char *logname = getenv("LOGNAME"); - if ( logname ) - username = logname; - - TQString dataDir = "/tmp/qtembedded-" + username; - if ( mkdir( dataDir.latin1(), 0700 ) ) { - if ( errno != EEXIST ) { - tqFatal( "Cannot create TQt/Embedded data directory: %s", - dataDir.latin1() ); - } - } - - struct stat buf; - if ( lstat( dataDir.latin1(), &buf ) ) - tqFatal( "stat failed for TQt/Embedded data directory: %s", - dataDir.latin1() ); - - if ( !S_ISDIR( buf.st_mode ) ) - tqFatal( "%s is not a directory", dataDir.latin1() ); - - if ( buf.st_uid != getuid() ) - tqFatal( "TQt/Embedded data directory is not owned by user %u", - getuid() ); - - if ( (buf.st_mode & 0677) != 0600 ) - tqFatal( "TQt/Embedded data directory has incorrect permissions: %s", - dataDir.latin1() ); - - dataDir += "/"; - - return dataDir; -} -#endif - -void TQVFbView::initLock() -{ - TQString username = "unknown"; - const char *logname = getenv("LOGNAME"); - if ( logname ) - username = logname; - qwslock = new TQLock(qws_dataDir() + TQString( TQTE_PIPE ).arg( displayid ), - 'd', TRUE); -} - -void TQVFbView::lock() -{ - if ( !qwslock ) - initLock(); - qwslock->lock(TQLock::Read); -} - -void TQVFbView::unlock() -{ - if ( qwslock ) - qwslock->unlock(); -} - -void TQVFbView::sendMouseData( const TQPoint &pos, int buttons ) -{ - write( mouseFd, &pos, sizeof( TQPoint ) ); - write( mouseFd, &buttons, sizeof( int ) ); -} - -void TQVFbView::sendKeyboardData( int unicode, int keycode, int modifiers, - bool press, bool repeat ) -{ - TQVFbKeyData kd; - kd.unicode = unicode | (keycode << 16); - kd.modifiers = modifiers; - kd.press = press; - kd.repeat = repeat; - write( keyboardFd, &kd, sizeof( TQVFbKeyData ) ); -} - -void TQVFbView::timeout() -{ - lock(); - if ( animation ) { - TQRect r( hdr->update ); - r = r.intersect( TQRect(0, 0, hdr->width, hdr->height ) ); - if ( r.isEmpty() ) { - animation->appendBlankFrame(); - } else { - int l; - TQImage img = getBuffer( r, l ); - animation->appendFrame(img,TQPoint(r.x(),r.y())); - } - } - if ( hdr->dirty ) { - drawScreen(); - } - unlock(); -} - -TQImage TQVFbView::getBuffer( const TQRect &r, int &leading ) const -{ - switch ( viewdepth ) { - case 12: - case 16: { - static unsigned char *imgData = 0; - if ( !imgData ) { - int bpl = ((hdr->width*32+31)/32)*4; - imgData = new unsigned char [ bpl * hdr->height ]; - } - TQImage img( imgData, r.width(), r.height(), 32, 0, 0, TQImage::IgnoreEndian ); - const int rsh = viewdepth == 12 ? 12 : 11; - const int gsh = viewdepth == 12 ? 7 : 5; - const int bsh = viewdepth == 12 ? 1 : 0; - const int rmax = viewdepth == 12 ? 15 : 31; - const int gmax = viewdepth == 12 ? 15 : 63; - const int bmax = viewdepth == 12 ? 15 : 31; - for ( int row = 0; row < r.height(); row++ ) { - TQRgb *dptr = (TQRgb*)img.scanLine( row ); - ushort *sptr = (ushort*)(data + hdr->dataoffset + (r.y()+row)*hdr->linestep); - sptr += r.x(); -#ifdef QT_QWS_REVERSE_BYTE_ENDIANNESS - for ( int col=0; col < r.width()/2; col++ ) { -#else - for ( int col=0; col < r.width(); col++ ) { -#endif - ushort s = *sptr++; -#ifdef QT_QWS_REVERSE_BYTE_ENDIANNESS - ushort s2 = *sptr++; - *dptr++ = tqRgb(tqRed(gammatable[(s2>>rsh)&rmax]),tqGreen(gammatable[(s2>>gsh)&gmax]),tqBlue(gammatable[(s2>>bsh)&bmax])); -#endif - *dptr++ = tqRgb(tqRed(gammatable[(s>>rsh)&rmax]),tqGreen(gammatable[(s>>gsh)&gmax]),tqBlue(gammatable[(s>>bsh)&bmax])); - //*dptr++ = tqRgb(((s>>rsh)&rmax)*255/rmax,((s>>gsh)&gmax)*255/gmax,((s>>bsh)&bmax)*255/bmax); - } - } - leading = 0; - return img; - } - case 4: { - static unsigned char *imgData = 0; - if ( !imgData ) { - int bpl = ((hdr->width*8+31)/32)*4; - imgData = new unsigned char [ bpl * hdr->height ]; - } - TQImage img( imgData, r.width(), r.height(), 8, hdr->clut, 16, - TQImage::IgnoreEndian ); - for ( int row = 0; row < r.height(); row++ ) { - unsigned char *dptr = img.scanLine( row ); - unsigned char *sptr = data + hdr->dataoffset + (r.y()+row)*hdr->linestep; - sptr += r.x()/2; - int col = 0; -#ifdef QT_QWS_EXPERIMENTAL_REVERSE_BIT_ENDIANNESS - if ( r.x() & 1 ) { - *dptr++ = *sptr++ & 0x0f; - col++; - } - for ( ; col < r.width()-1; col+=2 ) { - unsigned char s = *sptr++; - *dptr++ = s >> 4; - *dptr++ = s & 0x0f; - } - if ( !(r.right() & 1) ) - *dptr = *sptr >> 4; -#else - if ( r.x() & 1 ) { - *dptr++ = *sptr++ >> 4; - col++; - } - for ( ; col < r.width()-1; col+=2 ) { - unsigned char s = *sptr++; - *dptr++ = s & 0x0f; - *dptr++ = s >> 4; - } - if ( !(r.right() & 1) ) - *dptr = *sptr & 0x0f; -#endif - } - leading = 0; - return img; - } - case 32: { - leading = r.x(); - return TQImage( data + hdr->dataoffset + r.y() * hdr->linestep, - hdr->width, r.height(), hdr->depth, 0, - 0, TQImage::LittleEndian ); - } - case 8: { - leading = r.x(); - return TQImage( data + hdr->dataoffset + r.y() * hdr->linestep, - hdr->width, r.height(), hdr->depth, hdr->clut, - 256, TQImage::LittleEndian ); - } - case 1: { - leading = r.x(); - return TQImage( data + hdr->dataoffset + r.y() * hdr->linestep, - hdr->width, r.height(), hdr->depth, hdr->clut, -#ifndef QT_QWS_EXPERIMENTAL_REVERSE_BIT_ENDIANNESS - 0, TQImage::LittleEndian ); -#else - 0, TQImage::BigEndian ); -#endif - } - } - return TQImage(); -} - -void TQVFbView::drawScreen() -{ - TQPainter p( viewport() ); - - p.translate( -contentsX(), -contentsY() ); - - lock(); - TQRect r( hdr->update ); - hdr->dirty = FALSE; - hdr->update = TQRect(); - // tqDebug( "update %d, %d, %dx%d", r.y(), r.x(), r.width(), r.height() ); - r = r.intersect( TQRect(0, 0, hdr->width, hdr->height ) ); - if ( !r.isEmpty() ) { - if ( int(zm) != zm ) { - r.rLeft() = int(int(r.left()*zm)/zm); - r.rTop() = int(int(r.top()*zm)/zm); - r.rRight() = int(int(r.right()*zm+zm+0.0000001)/zm+1.9999); - r.rBottom() = int(int(r.bottom()*zm+zm+0.0000001)/zm+1.9999); - r.rRight() = TQMIN(r.right(),hdr->width-1); - r.rBottom() = TQMIN(r.bottom(),hdr->height-1); - } - int leading; - TQImage img( getBuffer( r, leading ) ); - TQPixmap pm; - if ( zm == 1 ) { - pm.convertFromImage( img ); - } else if ( int(zm) == zm ) { - TQWMatrix m; - m.scale(zm,zm); - pm.convertFromImage( img ); - pm = pm.xForm(m); - } else { - pm.convertFromImage( img.smoothScale(int(img.width()*zm),int(img.height()*zm)) ); - } - unlock(); - p.setPen( black ); - p.setBrush( white ); - p.drawPixmap( int(r.x()*zm), int(r.y()*zm), pm, - int(leading*zm), 0, pm.width(), pm.height() ); - } else { - unlock(); - } -} - -bool TQVFbView::eventFilter( TQObject *obj, TQEvent *e ) -{ - if ( obj == viewport() && - (e->type() == TQEvent::FocusIn || e->type() == TQEvent::FocusOut) ) - return TRUE; - - return TQScrollView::eventFilter( obj, e ); -} - -void TQVFbView::viewportPaintEvent( TQPaintEvent *pe ) -{ - TQRect r( pe->rect() ); - r.moveBy( contentsX(), contentsY() ); - r = TQRect(int(r.x()/zm),int(r.y()/zm), - int(r.width()/zm)+1,int(r.height()/zm)+1); - setDirty(r); - drawScreen(); -} - -void TQVFbView::setDirty( const TQRect& r ) -{ - lock(); - hdr->update |= r; - hdr->dirty = TRUE; - unlock(); -} - -void TQVFbView::contentsMousePressEvent( TQMouseEvent *e ) -{ - sendMouseData( e->pos()/zm, e->stateAfter() ); -} - -void TQVFbView::contentsMouseDoubleClickEvent( TQMouseEvent *e ) -{ - sendMouseData( e->pos()/zm, e->stateAfter() ); -} - -void TQVFbView::contentsMouseReleaseEvent( TQMouseEvent *e ) -{ - sendMouseData( e->pos()/zm, e->stateAfter() ); -} - -void TQVFbView::contentsMouseMoveEvent( TQMouseEvent *e ) -{ - if ( !emulateTouchscreen || (e->state() & MouseButtonMask ) ) - sendMouseData( e->pos()/zm, e->state() ); -} - - - -void TQVFbView::keyPressEvent( TQKeyEvent *e ) -{ - sendKeyboardData(e->text()[0].unicode(), e->key(), - e->stateAfter()&(ShiftButton|ControlButton|AltButton), - TRUE, e->isAutoRepeat()); -} - -void TQVFbView::keyReleaseEvent( TQKeyEvent *e ) -{ - sendKeyboardData(e->ascii(), e->key(), - e->stateAfter()&(ShiftButton|ControlButton|AltButton), - FALSE, e->isAutoRepeat()); -} - - -TQImage TQVFbView::image() const -{ - ((TQVFbView*)this)->lock(); - int l; - TQImage r = getBuffer( TQRect(0, 0, hdr->width, hdr->height), l ).copy(); - ((TQVFbView*)this)->unlock(); - return r; -} - -void TQVFbView::startAnimation( const TQString& filename ) -{ - delete animation; - animation = new TQAnimationWriter(filename,"MNG"); - animation->setFrameRate(refreshRate); - animation->appendFrame(TQImage(data + hdr->dataoffset, - hdr->width, hdr->height, hdr->depth, hdr->clut, - 256, TQImage::LittleEndian)); -} - -void TQVFbView::stopAnimation() -{ - delete animation; - animation = 0; -} - -void TQVFbView::setTouchscreenEmulation( bool b ) -{ - emulateTouchscreen = b; -} diff --git a/tools/tqvfb/tqvfbview.h b/tools/tqvfb/tqvfbview.h deleted file mode 100644 index dee52fb73..000000000 --- a/tools/tqvfb/tqvfbview.h +++ /dev/null @@ -1,126 +0,0 @@ -/********************************************************************** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of TQt/Embedded virtual framebuffer. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** Licensees holding valid TQt Commercial licenses may use this file in -** accordance with the TQt Commercial License Agreement provided with -** the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#include - -class TQImage; -class TQTimer; -class TQAnimationWriter; -class TQLock; -struct TQVFbHeader; - -class TQVFbView : public TQScrollView -{ - TQ_OBJECT -public: - TQVFbView( int display_id, int w, int h, int d, TQWidget *parent = 0, - const char *name = 0, uint wflags = 0 ); - ~TQVFbView(); - - int displayId() const; - int displayWidth() const; - int displayHeight() const; - int displayDepth() const; - - bool touchScreenEmulation() const { return emulateTouchscreen; } - int rate() { return refreshRate; } - bool animating() const { return !!animation; } - TQImage image() const; - - void setGamma(double gr, double gg, double gb); - double gammaRed() const { return gred; } - double gammaGreen() const { return ggreen; } - double gammaBlue() const { return gblue; } - void getGamma(int i, TQRgb& rgb); - void skinKeyPressEvent( TQKeyEvent *e ) { keyPressEvent(e); } - void skinKeyReleaseEvent( TQKeyEvent *e ) { keyReleaseEvent(e); } - - double zoom() const { return zm; } - - TQSize sizeHint() const; -public slots: - void setTouchscreenEmulation( bool ); - - void setRate( int ); - void setZoom( double ); - void startAnimation( const TQString& ); - void stopAnimation(); - -protected slots: - void timeout(); - -protected: - void initLock(); - void lock(); - void unlock(); - TQImage getBuffer( const TQRect &r, int &leading ) const; - void drawScreen(); - void sendMouseData( const TQPoint &pos, int buttons ); - void sendKeyboardData( int unicode, int keycode, int modifiers, - bool press, bool repeat ); - virtual bool eventFilter( TQObject *obj, TQEvent *e ); - virtual void viewportPaintEvent( TQPaintEvent *pe ); - virtual void contentsMousePressEvent( TQMouseEvent *e ); - virtual void contentsMouseDoubleClickEvent( TQMouseEvent *e ); - virtual void contentsMouseReleaseEvent( TQMouseEvent *e ); - virtual void contentsMouseMoveEvent( TQMouseEvent *e ); - virtual void keyPressEvent( TQKeyEvent *e ); - virtual void keyReleaseEvent( TQKeyEvent *e ); - -private: - bool emulateTouchscreen; - void setDirty( const TQRect& ); - int shmId; - unsigned char *data; - TQVFbHeader *hdr; - int viewdepth; // "faked" depth - int rsh; - int gsh; - int bsh; - int rmax; - int gmax; - int bmax; - double gred, ggreen, gblue; - TQRgb* gammatable; - TQLock *qwslock; - TQTimer *timer; - int mouseFd; - int keyboardFd; - int refreshRate; - TQString mousePipe; - TQString keyboardPipe; - TQAnimationWriter *animation; - int displayid; - double zm; -}; - diff --git a/translations/qt_ar.ts b/translations/qt_ar.ts index e3934672b..67b75ad4d 100644 --- a/translations/qt_ar.ts +++ b/translations/qt_ar.ts @@ -1263,7 +1263,7 @@ to ت&جاهل - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> <h3>حول Qt</h3><p>هذا البرنامج يستعمل TQt إصدار %1.</p><p>Qt هو عبارة عن طقم أدوات C++ لتطوير البرامج البيانية على جميع المنصّات.</p><p>Qt تمكّن من حمل نفس المصدر إلى مايكروسوفت&nbsp;ويندوز، نظام &nbsp;التّشغيل ماكX، لينكس، وجميع أنظمة يونيكس التّجارية الرّائدة.<br>Qt متوفّر كذلك للآلات المحمولة.</p><p>Qt منتوج لشركة ترولتك. أنظر <tt>https://trinitydesktop.org/docs/qt3/</tt> للمزيد من المعلومات.</p> @@ -1733,57 +1733,6 @@ to (مجهول) - - QWSDecoration - - &Restore - ا&ستعاد - - - &Move - &تحريك - - - &Size - &حجم - - - Mi&nimize - ت&صغير - - - Ma&ximize - ت&كبير - - - Close - إغلاق - - - Windows - وندوز - - - KDE - كيدي - - - KDE2 - كيدي2 - - - BeOS - نظام التّشغيل بي - - - Hydro - هيدرو - - - Default - افتراضي - - QWhatsThisButton diff --git a/translations/qt_ca.ts b/translations/qt_ca.ts index 61b22815d..545c705bf 100644 --- a/translations/qt_ca.ts +++ b/translations/qt_ca.ts @@ -1264,15 +1264,14 @@ a &Ignora - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>TQt is also available for embedded devices.</p><p>TQt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> <h3>Quant a Qt</h3> <p>Aquest programa usa la versió %1 de Qt.</p> <p>TQt és un conjunt d'eines C++ per GUI multiplataforma i desenvolupament d'aplicacions.</p> <p>TQt proporciona portabilitat amb una sola font entre MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux i les principals varietats comercials de Unix. -<br>TQt també és disponible per a dispositius encastats</p> -<p>QT és un producte Trolltech. Consulteu <tt>https://trinitydesktop.org/docs/qt3/</tt> +</p><p>Consulteu <tt>https://trinitydesktop.org/docs/qt3/</tt> per a més informació.</p> @@ -1742,57 +1741,6 @@ per a més informació.</p> (desconegut) - - QWSDecoration - - &Restore - &Restaura - - - &Move - &Mou - - - &Size - &Mida - - - Mi&nimize - Mi&nimitza - - - Ma&ximize - Ma&ximitza - - - Close - Tanca - - - Windows - Finestres - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Balneari - - - Default - Omissió - - QWhatsThisButton diff --git a/translations/qt_cs.ts b/translations/qt_cs.ts index d0bfdc15a..f5708c34b 100644 --- a/translations/qt_cs.ts +++ b/translations/qt_cs.ts @@ -1265,14 +1265,13 @@ na(new line) &Ignorovat - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>TQt is also available for embedded devices.</p><p>TQt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> <h3>Informace o knihovně Qt</h3> <p>Tento program používá knihovnu TQt verze %1.</p> -<p>TQt je multiplatformní C++ knihovna pro návrh grafických aplikací od -firmy Trolltech. TQt umožňuje jednoduchou přenositelnost aplikací mezi +<p>TQt je multiplatformní C++ knihovna pro návrh grafických aplikací. +TQt umožňuje jednoduchou přenositelnost aplikací mezi Windows 95/98/NT/2000, Linuxem, Solarisem, Mac OS X, HP-UX a mnoha dalšími verzemi Unixu s grafickým prostředím X11. -<br>Dostupná je také podpora pro mobilní zařízení.</p> <p>Více informací naleznete na <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> @@ -1742,57 +1741,6 @@ dalšími verzemi Unixu s grafickým prostředím X11. (neznámý) - - QWSDecoration - - &Restore - Obno&vit - - - &Move - Přes&unout - - - &Size - Veliko&st - - - Mi&nimize - Mi&nimalizovat - - - Ma&ximize - Ma&ximalizovat - - - Close - Zavřít - - - Windows - Okna - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - Výchozí - - QWhatsThisButton diff --git a/translations/qt_de.ts b/translations/qt_de.ts index 986c98b67..b6bc3c18a 100644 --- a/translations/qt_de.ts +++ b/translations/qt_de.ts @@ -1362,16 +1362,8 @@ nach <h3>Über Qt</h3><p>Dieses Programm wurde mit der TQt Version %1 erstellt.</p> - <p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for cross-platform GUI &amp; application development.</p><p>Qt provides single-source portability across Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX and many other versions of Unix with X11.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <p>Dieses Programm verwendet TQt Version %1</p><p>Qt ist ein multi-platform Framework zum Erstellen von GUI-Programmen in C++.</p><p>Qt bietet Portierungsmöglichkeiten mit nur einer Quellcode-Basis auf Windows 95/98/NT/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX und vielen anderen Unix-Versionen, die X11 verwenden.<br>Qt ist auch für eingebettete Systeme erhältlich.</p><p>Qt ist ein Produkt von Trolltech. Weitere Informationen finden Sie unter <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> - - - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for cross-platform GUI &amp; application development.</p><p>Qt provides single-source portability across Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX and many other versions of Unix with X11.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>Über Qt</h3><p>Dieses Programm verwendet TQt Version %1</p><p>Qt ist ein multi-platform Framework zum Erstellen von GUI-Programmen in C++.</p><p>Qt bietet Portierungsmöglichkeiten mit nur einer Quellcode-Basis auf Windows 95/98/NT/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX und vielen anderen Unix-Versionen, die X11 verwenden.<br>Qt ist auch für eingebettete Systeme erhältlich.</p><p>Qt ist ein Produkt von Trolltech. Weitere Informationen finden Sie unter <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> - - - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>Über TQt</h3><p>Dieses Programm verwendet TQt Version %1</p><p>TQt ist ein multi-platform Framework zum Erstellen von GUI-Programmen in C++.</p><p>TQt bietet Portierungsmöglichkeiten mit nur einer Quellcode-Basis auf MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux und allen anderen großen kommerziellen Unix-Versionen.<br>TQt ist auch für eingebettete Systeme erhältlich.</p><p>TQt ist ein Produkt von TDE. Weitere Informationen finden Sie unter <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>Über TQt</h3><p>Dieses Programm verwendet TQt Version %1</p><p>TQt ist ein multi-platform Framework zum Erstellen von GUI-Programmen in C++.</p><p>TQt bietet Portierungsmöglichkeiten mit nur einer Quellcode-Basis auf MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux und allen anderen großen kommerziellen Unix-Versionen.<br></p><p>Weitere Informationen finden Sie unter <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> @@ -1840,64 +1832,6 @@ nach (unbekannt) - - QWSDecoration - - &Restore - Wieder&herstellen - - - &Move - Ver&schieben - - - &Size - &Größe - - - Mi&nimize - M&inimieren - - - Ma&ximize - Ma&ximieren - - - Close - Schließen - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - Hydro - Hydro - - - Default - Standard - - - BeOS - BeOS - - - - QWSManager - - Style - Stil - - QWhatsThisButton diff --git a/translations/qt_es.ts b/translations/qt_es.ts index 411439ee4..dbf8d9c7a 100644 --- a/translations/qt_es.ts +++ b/translations/qt_es.ts @@ -1265,8 +1265,8 @@ a &Ignorar - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>Acerca de Qt</h3><p>Este programa usa TQt versión %1.</p><p>Qt es un conjunto de herramientas en C++ para el desarrollo de aplicaciones e interfaces gráficas de usuario (GUI) multiplataforma.</p><p>Qt proporciona portabilidad a nivel de código fuente entre MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux y las variantes comerciales de Unix más importantes.<br>Qt también está disponible para dispositivos empotrados.</p><p>Qt es un producto Trolltech. Vea <tt>https://trinitydesktop.org/docs/qt3/</tt> para más información.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>Acerca de Qt</h3><p>Este programa usa TQt versión %1.</p><p>Qt es un conjunto de herramientas en C++ para el desarrollo de aplicaciones e interfaces gráficas de usuario (GUI) multiplataforma.</p><p>Qt proporciona portabilidad a nivel de código fuente entre MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux y las variantes comerciales de Unix más importantes.</p><p>Vea <tt>https://trinitydesktop.org/docs/qt3/</tt> para más información.</p> @@ -1735,57 +1735,6 @@ a (desconocido) - - QWSDecoration - - &Restore - &Restaurar - - - &Move - &Mover - - - &Size - &Tamaño - - - Mi&nimize - Mi&nimizar - - - Ma&ximize - Ma&ximizar - - - Close - Cerrar - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - Valor por defecto - - QWhatsThisButton diff --git a/translations/qt_fr.ts b/translations/qt_fr.ts index 19637ace0..a56da16df 100644 --- a/translations/qt_fr.ts +++ b/translations/qt_fr.ts @@ -1369,16 +1369,8 @@ en <h3>À propos de Qt</h3><p>Ce programme utilise TQt version %1.</p> - <p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for cross-platform GUI &amp; application development.</p><p>Qt provides single-source portability across Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX and many other versions of Unix with X11.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <p>Ce programme utilise TQt version %1.</p><p>Qt est une boîte à outils C++ pour le développement multi-plateforme d'applications graphiques. TQt permet de porter un même code source sur Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX et beaucoup d'autres versions d'Unix avec X11.<br>Qt est aussi disponible pour les systèmes embarqués.</p><p>Qt est un produit de Trolltech. Consultez <tt>https://trinitydesktop.org/docs/qt3/</tt> pour de plus amples renseignements.</p> - - - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for cross-platform GUI &amp; application development.</p><p>Qt provides single-source portability across Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX and many other versions of Unix with X11.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>À propos de Qt</h3><p>Ce programme utilise TQt version %1.</p><p>Qt est une boîte à outils C++ pour le développement multi-plateforme d'applications graphiques. TQt permet de porter un même code source sur Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX et beaucoup d'autres versions d'Unix avec X11.<br>Qt est aussi disponible pour les systèmes embarqués.</p><p>Qt est un produit de Trolltech. Consultez <tt>https://trinitydesktop.org/docs/qt3/</tt> pour de plus amples renseignements.</p> - - - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>À propos de Qt</h3><p>Ce programme utilise TQt version %1.</p><p>Qt est une boîte à outils C++ pour le développement multi-plateforme d'applications graphiques. TQt permet de porter un même code source sur MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux et toutes les versions commerciales majeures.<br>Qt est aussi disponible pour les systèmes embarqués.</p><p>Qt est un produit de Trolltech. Consultez <tt>https://trinitydesktop.org/docs/qt3/</tt> pour de plus amples renseignements.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>À propos de Qt</h3><p>Ce programme utilise TQt version %1.</p><p>Qt est une boîte à outils C++ pour le développement multi-plateforme d'applications graphiques. TQt permet de porter un même code source sur MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux et toutes les versions commerciales majeures.</p><p>Consultez <tt>https://trinitydesktop.org/docs/qt3/</tt> pour de plus amples renseignements.</p> @@ -1866,64 +1858,6 @@ en (inconnu) - - QWSDecoration - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - Hydro - Hydro - - - Default - Default - - - &Restore - &Restaurer - - - &Move - &Déplacer - - - &Size - &Redimensionner - - - Mi&nimize - Réd&uire - - - Ma&ximize - Ma&ximiser - - - Close - Fermer - - - BeOS - BeOS - - - - QWSManager - - Style - Style - - QWhatsThisButton diff --git a/translations/qt_he.ts b/translations/qt_he.ts index 1e50c68c0..153342d0f 100644 --- a/translations/qt_he.ts +++ b/translations/qt_he.ts @@ -1355,15 +1355,7 @@ to <div dir=rtl><h3>אודות Qt</h3></div><p dir=rtl>יישום זה נוצר באמצעות TQt גירסה %1.</p> - <p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for cross-platform GUI &amp; application development.</p><p>Qt provides single-source portability across Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX and many other versions of Unix with X11.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <p dir=rtl>תוכנית זו עושה שימוש ב-Qt גירסה %1.</p><p dir=rtl>Qt הינה חבילת כלי ++C לפיתוח מרובה פלטפורמות של ממשקי משתמש גרפיים ויישומים.</p><p dir=rtl>Qt מספק ניידות קוד מקור בודד בין Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX וגירסאות רבות נוספות של יוניקס עם X11.<br>Qt זמין גם להתקנים מוטבעים.</p><p>Qt הינו מוצר של Trolltech product. עיין ב-<tt>https://trinitydesktop.org/docs/qt3/</tt> למידע נוסף.</p> - - - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for cross-platform GUI &amp; application development.</p><p>Qt provides single-source portability across Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX and many other versions of Unix with X11.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <div dir=rtl><h3>אודות Qt</h3></div><p dir=rtl>תוכנית זו עושה שימוש ב-Qt גירסה %1.</p><p dir=rtl>Qt הינה חבילת כלי ++C לפיתוח מרובה פלטפורמות של ממשקי משתמש גרפיים ויישומים.</p><p dir=rtl>Qt מספק ניידות קוד מקור בודד בין Windows 95/98/NT4/ME/2000, Mac&nbsp;OS&nbsp;X, Linux, Solaris, HP-UX וגירסאות רבות נוספות של יוניקס עם X11.<br>Qt זמין גם להתקנים מוטבעים.</p><p>Qt הינו מוצר של Trolltech. עיין ב-<tt>https://trinitydesktop.org/docs/qt3/</tt> למידע נוסף.</p> - - - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> <div dir=rtl><h3>אודות Qt</h3></div> <p dir=rtl>תוכנית זו עושה שימוש ב-Qt גירסה %1.</p> <p dir=rtl>Qt הינה חבילת כלי ++C לפיתוח מרובה פלטפורמות של ממשקי משתמש גרפיים ויישומים.</p> @@ -1837,64 +1829,6 @@ to (לא ידוע) - - QWSDecoration - - &Restore - ש&חזר - - - &Move - ה&זז - - - &Size - &שנה גודל - - - Mi&nimize - &מזער - - - Ma&ximize - &הגדל - - - Close - סגור - - - Windows - חלונות - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - ברירת מחדל - - - - QWSManager - - Style - סגנון - - QWhatsThisButton diff --git a/translations/qt_it.ts b/translations/qt_it.ts index 31d06ebd4..94daee893 100644 --- a/translations/qt_it.ts +++ b/translations/qt_it.ts @@ -1265,8 +1265,8 @@ in &Ignora - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>Informazioni su Qt</h3><p>Questo programma usa la versione di TQt %1.</p><p>Qt è un kit di strumenti C++ per lo sviluppo di applicazioni GUI &amp; multi-piattaforma.</p><p>Qt consente di creare un'unica interfaccia portatile compatibile con MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux e le principali varianti commerciali di Unix.<br>Qt è disponibile anche per le periferiche incorporate.</p><p>Qt è un prodotto di Trolltech. Per ulteriori informazioni, visitare la pagina Web <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>Informazioni su Qt</h3><p>Questo programma usa la versione di TQt %1.</p><p>Qt è un kit di strumenti C++ per lo sviluppo di applicazioni GUI &amp; multi-piattaforma.</p><p>Qt consente di creare un'unica interfaccia portatile compatibile con MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux e le principali varianti commerciali di Unix.</p><p>Per ulteriori informazioni, visitare la pagina Web <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> @@ -1735,57 +1735,6 @@ in (sconosciuto) - - QWSDecoration - - &Restore - &Ripristina - - - &Move - &Sposta - - - &Size - &Dimensione - - - Mi&nimize - Ri&duci a icona - - - Ma&ximize - In&grandisci - - - Close - Chiudi - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - Predefinito - - QWhatsThisButton diff --git a/translations/qt_ja.ts b/translations/qt_ja.ts index a0e550dfa..5415d112c 100644 --- a/translations/qt_ja.ts +++ b/translations/qt_ja.ts @@ -1263,8 +1263,8 @@ to 無視(&I) - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>Qtについて</h3><p>このプログラムではQtバージョン %1 を使用しています。</p><p>Qtは、マルチプラットフォームGUIアプリケーション開発用のC++ツールキットです。 </p><p>Qtは、MS&nbsp;Windows、Mac&nbsp;OS&nbsp;X、Linux、およびあらゆる主要な商用のUnix製品に対して、シングルソースのポータビリティを提供します。<br>Qtは内蔵デバイスでも使用できます。</p><p>QtはTrolltech製品です。詳細については、<tt>https://trinitydesktop.org/docs/qt3/</tt>を参照してください。.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>Qtについて</h3><p>このプログラムではQtバージョン %1 を使用しています。</p><p>Qtは、マルチプラットフォームGUIアプリケーション開発用のC++ツールキットです。 </p><p>Qtは、MS&nbsp;Windows、Mac&nbsp;OS&nbsp;X、Linux、およびあらゆる主要な商用のUnix製品に対して、シングルソースのポータビリティを提供します。</p><p>詳細については、<tt>https://trinitydesktop.org/docs/qt3/</tt>を参照してください。.</p> @@ -1733,57 +1733,6 @@ to (不明) - - QWSDecoration - - &Restore - 復元(&R) - - - &Move - 移動(&M) - - - &Size - サイズ(&S) - - - Mi&nimize - 最小化(&N) - - - Ma&ximize - 最大化(&X) - - - Close - 閉じる(C) - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - デフォルト - - QWhatsThisButton diff --git a/translations/qt_nb.ts b/translations/qt_nb.ts index 0e44d908b..24ede363d 100644 --- a/translations/qt_nb.ts +++ b/translations/qt_nb.ts @@ -1265,8 +1265,8 @@ til &Ignorer - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>TQt is also available for embedded devices.</p><p>TQt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3> Om Qt</h3><p>Dette programmet bruker TQt versjon %1.</p><p>Qt er et C++ bibliotek for multiplattform GUI &amp; applikasjonsutvikling.</p><p>Qt gir lik-kildekode portabilitet for MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, og alle de viktigste kommersielle varianter av Unix.<br>Qt er ogs tilgjengelig for integrerte (embedded) enheter.</p><p>Qt er et Trolltech produkt. <tt>Se https://trinitydesktop.org/docs/qt3/</tt> for mer informasjon.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3> Om Qt</h3><p>Dette programmet bruker TQt versjon %1.</p><p>Qt er et C++ bibliotek for multiplattform GUI &amp; applikasjonsutvikling.</p><p>Qt gir lik-kildekode portabilitet for MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, og alle de viktigste kommersielle varianter av Unix.</p><p><tt>Se https://trinitydesktop.org/docs/qt3/</tt> for mer informasjon.</p> @@ -1735,57 +1735,6 @@ til (ukjent) - - QWSDecoration - - &Restore - Gjenopp&rett - - - &Move - &Flytt - - - &Size - &Størrelse - - - Mi&nimize - Mi&nimer - - - Ma&ximize - Ma&ksimer - - - Close - Lukk - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - Standard - - QWhatsThisButton diff --git a/translations/qt_pt-br.ts b/translations/qt_pt-br.ts index 69b81fa84..e63244220 100644 --- a/translations/qt_pt-br.ts +++ b/translations/qt_pt-br.ts @@ -1265,8 +1265,8 @@ para &Ignorar - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>Sobre o Qt</h3><p>Este programa usa a versão %1 do Qt.</p><p>O TQt é um conjunto de ferramentas C++ multiplataforma para desenvolvimento de &aplicativos GUI (Graphical User Interface - Interface Gráfica de Usuário).</p><p>O TQt oferece portabilidade de fonte única no MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux e todas as principais variantes comerciais do Unix.<br>O TQt também está disponível para dispositivos embutidos.</p><p>O TQt é um produto da Trolltech. Consulte <tt>https://trinitydesktop.org/docs/qt3/</tt> para obter mais informações.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>Sobre o Qt</h3><p>Este programa usa a versão %1 do Qt.</p><p>O TQt é um conjunto de ferramentas C++ multiplataforma para desenvolvimento de &aplicativos GUI (Graphical User Interface - Interface Gráfica de Usuário).</p><p>O TQt oferece portabilidade de fonte única no MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux e todas as principais variantes comerciais do Unix.</p><p>Consulte <tt>https://trinitydesktop.org/docs/qt3/</tt> para obter mais informações.</p> @@ -1735,57 +1735,6 @@ para (desconhecido) - - QWSDecoration - - &Restore - &Restaurar - - - &Move - &Mover - - - &Size - &Tamanho - - - Mi&nimize - Mi&nimizar - - - Ma&ximize - Ma&ximizar - - - Close - Fechar - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - Padrão - - QWhatsThisButton diff --git a/translations/qt_pt.ts b/translations/qt_pt.ts index 5c6c7c9cf..684b20157 100644 --- a/translations/qt_pt.ts +++ b/translations/qt_pt.ts @@ -1265,8 +1265,8 @@ para &Ignorar - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>Acerca do Qt</h3><p>Este programa usa a versão %1 do Qt.</p><p>O TQt é um conjunto de ferramentas C++ multiplataforma para desenvolvimento de aplicações GUI (Graphical User Interface - Interface Gráfica de Utilizador).</p><p>O TQt oferece portabilidade de fonte única no MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux e todas as principais variantes comerciais do Unix.<br>O TQt também está disponível para dispositivos embutidos.</p><p>O TQt é um produto da Trolltech. Consulte <tt>https://trinitydesktop.org/docs/qt3/</tt> para obter mais informações.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>Acerca do Qt</h3><p>Este programa usa a versão %1 do Qt.</p><p>O TQt é um conjunto de ferramentas C++ multiplataforma para desenvolvimento de aplicações GUI (Graphical User Interface - Interface Gráfica de Utilizador).</p><p>O TQt oferece portabilidade de fonte única no MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux e todas as principais variantes comerciais do Unix.</p><p>Consulte <tt>https://trinitydesktop.org/docs/qt3/</tt> para obter mais informações.</p> @@ -1735,57 +1735,6 @@ para (desconhecido) - - QWSDecoration - - &Restore - &Restaurar - - - &Move - &Mover - - - &Size - &Tamanho - - - Mi&nimize - Mi&nimizar - - - Ma&ximize - Ma&ximizar - - - Close - Fechar - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - Padrão - - QWhatsThisButton diff --git a/translations/qt_ru.ts b/translations/qt_ru.ts index d1eea14df..ae6ff2471 100644 --- a/translations/qt_ru.ts +++ b/translations/qt_ru.ts @@ -1463,8 +1463,8 @@ to &Игнорировать - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>О Qt</h3><p>Эта программа использует TQt версии %1.</p><p>Qt - это C++ GUI инструментарий для разработки многоплатформенных приложений.</p><p>Qt обеспечивает переносимость на уровне исходного кода между MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux и всеми основными версиями Unix.<br>Qt также доступен для встраиваемых систем.</p><p>Qt является продуктом Trolltech. Посетите <tt>https://trinitydesktop.org/docs/qt3/</tt> для получения более подробной информации.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>О Qt</h3><p>Эта программа использует TQt версии %1.</p><p>Qt - это C++ GUI инструментарий для разработки многоплатформенных приложений.</p><p>Qt обеспечивает переносимость на уровне исходного кода между MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux и всеми основными версиями Unix.</p><p>Посетите <tt>https://trinitydesktop.org/docs/qt3/</tt> для получения более подробной информации.</p> Yes to &All @@ -1956,57 +1956,6 @@ to (неизвестно) - - QWSDecoration - - &Restore - &Восстановить - - - &Move - &Переместить - - - &Size - &Размер - - - Mi&nimize - &Свернуть - - - Ma&ximize - Р&азвернуть - - - Close - Закрыть - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - По умолчанию - - QWhatsThisButton diff --git a/translations/qt_sk.ts b/translations/qt_sk.ts index c046fa35a..59c010489 100644 --- a/translations/qt_sk.ts +++ b/translations/qt_sk.ts @@ -1265,15 +1265,14 @@ na &Ignorovať - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>TQt is also available for embedded devices.</p><p>TQt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>TQt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>TQt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> <h3>O Qt</h3> <p>Tento program používa TQt verziu %1.</p> <p>TQt je C++ knižnica pre multiplatformové GUI &amp; vývoj aplikácii.</p> <p>Poskytuje prenosnosť jednotného kódu na MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, a mnohé ďalšie komerčné verzie Unixu. -<br>TQt je dostupné aj pre malé zariadenia.</p> -<p>TQt je produkt firmy TrollTech. Pre ďalšie informácie navštívte +</p><p>Pre ďalšie informácie navštívte <tt>https://trinitydesktop.org/docs/qt3/</tt>.</p> @@ -1743,57 +1742,6 @@ Mac&nbsp;OS&nbsp;X, Linux, a mnohé ďalšie komerčné verzie Unixu. (neznáme) - - QWSDecoration - - &Restore - &Obnoviť - - - &Move - &Presunúť - - - &Size - &Veľkosť - - - Mi&nimize - Mi&nimalizovať - - - Ma&ximize - Ma&ximalizovať - - - Close - Zavrieť - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - Predvolené - - QWhatsThisButton diff --git a/translations/qt_tr.ts b/translations/qt_tr.ts index 11da42fa6..dc74b9f61 100644 --- a/translations/qt_tr.ts +++ b/translations/qt_tr.ts @@ -1246,7 +1246,7 @@ to - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> @@ -1716,57 +1716,6 @@ to - - QWSDecoration - - &Restore - - - - &Move - - - - &Size - - - - Mi&nimize - - - - Ma&ximize - - - - Close - - - - Windows - - - - KDE - - - - KDE2 - - - - BeOS - - - - Hydro - - - - Default - - - QWhatsThisButton diff --git a/translations/qt_zh-cn.ts b/translations/qt_zh-cn.ts index f899c80cc..56a9ee898 100644 --- a/translations/qt_zh-cn.ts +++ b/translations/qt_zh-cn.ts @@ -1262,8 +1262,8 @@ to 忽略(&I) - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>关于 Qt</h3><p>本程序使用 TQt V%1。</p><p>Qt 是一个用于多平台 GUI 应用程序开发的 C++ 工具包。</p><p>Qt 提供了跨 MS Windows、 Mac OS X、Linux 和所有主要商用 Unix 版本的单源可移植性。<br>此外,Qt 还可用于嵌入式设备。</p><p>Qt 是 Trolltech 产品。 欲了解更多信息,请参阅 <tt>https://trinitydesktop.org/docs/qt3/</tt>。</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>关于 Qt</h3><p>本程序使用 TQt V%1。</p><p>Qt 是一个用于多平台 GUI 应用程序开发的 C++ 工具包。</p><p>Qt 提供了跨 MS Windows、 Mac OS X、Linux 和所有主要商用 Unix 版本的单源可移植性。</p><p>欲了解更多信息,请参阅 <tt>https://trinitydesktop.org/docs/qt3/</tt>。</p> @@ -1732,57 +1732,6 @@ to (未知) - - QWSDecoration - - &Restore - 恢复(&R) - - - &Move - 移动(&M) - - - &Size - 大小(&S) - - - Mi&nimize - 最小化(&N) - - - Ma&ximize - 最大化(&X) - - - Close - 关闭 - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - 默认 - - QWhatsThisButton diff --git a/translations/qt_zh-tw.ts b/translations/qt_zh-tw.ts index 4d8089187..08e8785b9 100644 --- a/translations/qt_zh-tw.ts +++ b/translations/qt_zh-tw.ts @@ -1263,8 +1263,8 @@ to 忽略(&I) - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> - <h3>關於 Qt</h3><p>本程式使用 TQt 版本 %1。</p><p>Qt 是用於多平臺 GUI 和應用程式開發的 C++ 工具套件。</p><p>Qt 為 MS&nbsp;Windows、Mac&nbsp;OS&nbsp;X、Linux 和所有主要的商用 Unix 變異版本,提供跨平臺的單一原始碼可攜性。<br>Qt 也可用於內嵌裝置。</p><p>Qt 是 Trolltech 的產品。如需詳細資訊,請參閱 <tt>https://trinitydesktop.org/docs/qt3/</tt>。</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>關於 Qt</h3><p>本程式使用 TQt 版本 %1。</p><p>Qt 是用於多平臺 GUI 和應用程式開發的 C++ 工具套件。</p><p>Qt 為 MS&nbsp;Windows、Mac&nbsp;OS&nbsp;X、Linux 和所有主要的商用 Unix 變異版本,提供跨平臺的單一原始碼可攜性。</p><p>如需詳細資訊,請參閱 <tt>https://trinitydesktop.org/docs/qt3/</tt>。</p> @@ -1733,57 +1733,6 @@ to (未知的) - - QWSDecoration - - &Restore - 還原(&R) - - - &Move - 移動(&M) - - - &Size - 大小(&S) - - - Mi&nimize - 最小化(&N) - - - Ma&ximize - 最大化(&X) - - - Close - 關閉 - - - Windows - Windows - - - KDE - KDE - - - KDE2 - KDE2 - - - BeOS - BeOS - - - Hydro - Hydro - - - Default - 預設值 - - QWhatsThisButton diff --git a/translations/template.ts b/translations/template.ts index e41f11f94..a6519c32d 100644 --- a/translations/template.ts +++ b/translations/template.ts @@ -1244,7 +1244,7 @@ to - <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.<br>Qt is also available for embedded devices.</p><p>Qt is a Trolltech product. See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> + <h3>About Qt</h3><p>This program uses TQt version %1.</p><p>Qt is a C++ toolkit for multiplatform GUI &amp; application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants.</p><p>See <tt>https://trinitydesktop.org/docs/qt3/</tt> for more information.</p> @@ -1714,57 +1714,6 @@ to - - QWSDecoration - - &Restore - - - - &Move - - - - &Size - - - - Mi&nimize - - - - Ma&ximize - - - - Close - - - - Windows - - - - KDE - - - - KDE2 - - - - BeOS - - - - Hydro - - - - Default - - - QWhatsThisButton -- cgit v1.2.1