summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--CMakeL10n.txt7
-rw-r--r--CMakeLists.txt65
-rw-r--r--ConfigureChecks.cmake231
m---------admin0
m---------cmake0
-rw-r--r--config.h.cmake71
-rw-r--r--configure.in.in247
-rw-r--r--doc/CMakeLists.txt18
-rw-r--r--doc/kimagemapeditor/CMakeLists.txt1
-rw-r--r--doc/klinkstatus/CMakeLists.txt1
-rw-r--r--doc/klinkstatus/index.docbook13
-rw-r--r--doc/kommander/CMakeLists.txt1
-rw-r--r--doc/kommander/dcop.docbook20
-rw-r--r--doc/kommander/extending.docbook52
-rw-r--r--doc/kommander/parser.docbook6
-rw-r--r--doc/kommander/tutorials.docbook2
-rw-r--r--doc/kxsldbg/CMakeLists.txt1
-rw-r--r--doc/man/CMakeLists.txt5
-rw-r--r--doc/man/kimagemapeditor/CMakeLists.txt5
-rw-r--r--doc/man/kimagemapeditor/kimagemapeditor.147
-rw-r--r--doc/man/klinkstatus/CMakeLists.txt5
-rw-r--r--doc/man/klinkstatus/klinkstatus.152
-rw-r--r--doc/man/kommander/CMakeLists.txt11
-rw-r--r--doc/man/kommander/extractkmdr.153
-rw-r--r--doc/man/kommander/kmdr-editor.170
-rw-r--r--doc/man/kommander/kmdr-executor.187
-rw-r--r--doc/man/kommander/kmdr-plugins.171
-rw-r--r--doc/man/kommander/kmdr2po.147
-rw-r--r--doc/man/kxsldbg/CMakeLists.txt5
-rw-r--r--doc/man/kxsldbg/kxsldbg.154
-rw-r--r--doc/man/quanta/CMakeLists.txt5
-rw-r--r--doc/man/quanta/quanta.171
-rw-r--r--doc/quanta/CMakeLists.txt1
-rw-r--r--doc/xsldbg/CMakeLists.txt6
-rw-r--r--doc/xsldbg/index.docbook12
-rw-r--r--doc/xsldbg/xsldbghelp.xsl12
-rw-r--r--kimagemapeditor/CMakeL10n.txt6
-rw-r--r--kimagemapeditor/CMakeLists.txt90
-rw-r--r--kimagemapeditor/Makefile.am3
-rw-r--r--kimagemapeditor/arealistview.h2
-rw-r--r--kimagemapeditor/drawzone.cpp8
-rw-r--r--kimagemapeditor/dummy.cpp0
-rw-r--r--kimagemapeditor/imageslistview.cpp4
-rw-r--r--kimagemapeditor/imageslistview.h2
-rw-r--r--kimagemapeditor/kimagemapeditor.cpp136
-rw-r--r--kimagemapeditor/kimagemapeditor.desktop52
-rw-r--r--kimagemapeditor/kimagemapeditor.h2
-rw-r--r--kimagemapeditor/kimagemapeditorpart.desktop52
-rw-r--r--kimagemapeditor/kimedialogs.cpp40
-rw-r--r--kimagemapeditor/kimedialogs.h12
-rw-r--r--kimagemapeditor/kimeshell.cpp36
-rw-r--r--kimagemapeditor/kimeshell.h2
-rw-r--r--kimagemapeditor/mapslistview.cpp8
-rw-r--r--kimagemapeditor/mapslistview.h2
-rw-r--r--kimagemapeditor/pics/CMakeLists.txt16
-rw-r--r--kimagemapeditor/qextfileinfo.cpp20
-rw-r--r--kimagemapeditor/qextfileinfo.h2
-rw-r--r--klinkstatus/CMakeLists.txt2
-rw-r--r--klinkstatus/data/CMakeLists.txt2
-rw-r--r--klinkstatus/data/icons/16x16/CMakeLists.txt8
-rw-r--r--klinkstatus/data/icons/16x16/cr16-action-bug.pngbin992 -> 0 bytes
-rw-r--r--klinkstatus/data/icons/22x22/Makefile.am1
-rw-r--r--klinkstatus/data/icons/32x32/Makefile.am2
-rw-r--r--klinkstatus/data/icons/CMakeLists.txt6
-rw-r--r--klinkstatus/data/icons/Makefile.am2
-rw-r--r--klinkstatus/data/styles/CMakeLists.txt4
-rw-r--r--klinkstatus/klinkstatus.tdevelop2
-rw-r--r--klinkstatus/src/CMakeL10n.txt6
-rw-r--r--klinkstatus/src/CMakeLists.txt94
-rw-r--r--klinkstatus/src/actionmanager.cpp50
-rw-r--r--klinkstatus/src/actionmanager.h2
-rw-r--r--klinkstatus/src/cfg/CMakeLists.txt35
-rw-r--r--klinkstatus/src/cfg/Makefile.am6
-rw-r--r--klinkstatus/src/cfg/dummy.cpp0
-rw-r--r--klinkstatus/src/engine/CMakeLists.txt30
-rw-r--r--klinkstatus/src/engine/linkchecker.cpp20
-rw-r--r--klinkstatus/src/engine/linkchecker.h2
-rw-r--r--klinkstatus/src/engine/searchmanager.cpp16
-rw-r--r--klinkstatus/src/engine/searchmanager.h2
-rw-r--r--klinkstatus/src/global.cpp18
-rw-r--r--klinkstatus/src/global.h2
-rw-r--r--klinkstatus/src/klinkstatus.cpp18
-rw-r--r--klinkstatus/src/klinkstatus.desktop53
-rw-r--r--klinkstatus/src/klinkstatus.h4
-rw-r--r--klinkstatus/src/klinkstatus_part.cpp2
-rw-r--r--klinkstatus/src/klinkstatus_part.desktop13
-rw-r--r--klinkstatus/src/klinkstatus_part.h2
-rw-r--r--klinkstatus/src/parser/CMakeLists.txt28
-rw-r--r--klinkstatus/src/ui/CMakeLists.txt35
-rw-r--r--klinkstatus/src/ui/documentrootdialog.cpp12
-rw-r--r--klinkstatus/src/ui/documentrootdialog.h2
-rw-r--r--klinkstatus/src/ui/klshistorycombo.cpp8
-rw-r--r--klinkstatus/src/ui/klshistorycombo.h2
-rw-r--r--klinkstatus/src/ui/resultssearchbar.cpp14
-rw-r--r--klinkstatus/src/ui/resultssearchbar.h2
-rw-r--r--klinkstatus/src/ui/sessionwidget.cpp46
-rw-r--r--klinkstatus/src/ui/sessionwidget.h2
-rw-r--r--klinkstatus/src/ui/sessionwidgetbase.ui20
-rw-r--r--klinkstatus/src/ui/settings/CMakeLists.txt35
-rw-r--r--klinkstatus/src/ui/settings/Makefile.am4
-rw-r--r--klinkstatus/src/ui/settings/configidentificationdialog.cpp2
-rw-r--r--klinkstatus/src/ui/settings/configidentificationdialog.h2
-rw-r--r--klinkstatus/src/ui/settings/configidentificationdialogui.ui8
-rw-r--r--klinkstatus/src/ui/settings/configsearchdialog.ui9
-rw-r--r--klinkstatus/src/ui/settings/dummy.cpp0
-rw-r--r--klinkstatus/src/ui/tablelinkstatus.cpp18
-rw-r--r--klinkstatus/src/ui/tablelinkstatus.h2
-rw-r--r--klinkstatus/src/ui/tabwidgetsession.cpp14
-rw-r--r--klinkstatus/src/ui/tabwidgetsession.h2
-rw-r--r--klinkstatus/src/ui/treeview.cpp20
-rw-r--r--klinkstatus/src/ui/treeview.h2
-rw-r--r--klinkstatus/src/utils/CMakeLists.txt32
-rw-r--r--klinkstatus/src/utils/xsl.cpp3
-rw-r--r--klinkstatus/src/utils/xsl.h2
-rw-r--r--kommander/CMakeL10n.txt6
-rw-r--r--kommander/CMakeLists.txt21
-rw-r--r--kommander/Kommander-TODO.kno10
-rw-r--r--kommander/editor/CMakeLists.txt88
-rw-r--r--kommander/editor/actiondnd.cpp92
-rw-r--r--kommander/editor/actiondnd.h22
-rw-r--r--kommander/editor/actioneditorimpl.cpp46
-rw-r--r--kommander/editor/actioneditorimpl.h2
-rw-r--r--kommander/editor/actionlistview.cpp8
-rw-r--r--kommander/editor/actionlistview.h2
-rw-r--r--kommander/editor/asciivalidator.h2
-rw-r--r--kommander/editor/assistproc.cpp6
-rw-r--r--kommander/editor/assistproc.h2
-rw-r--r--kommander/editor/assoctexteditor.ui7
-rw-r--r--kommander/editor/assoctexteditorimpl.cpp28
-rw-r--r--kommander/editor/assoctexteditorimpl.h2
-rw-r--r--kommander/editor/choosewidget.ui12
-rw-r--r--kommander/editor/choosewidgetimpl.cpp4
-rw-r--r--kommander/editor/choosewidgetimpl.h2
-rw-r--r--kommander/editor/command.cpp208
-rw-r--r--kommander/editor/command.h2
-rw-r--r--kommander/editor/connectioneditor.ui32
-rw-r--r--kommander/editor/connectioneditorimpl.cpp68
-rw-r--r--kommander/editor/connectioneditorimpl.h2
-rw-r--r--kommander/editor/filechooser.cpp8
-rw-r--r--kommander/editor/filechooser.h2
-rw-r--r--kommander/editor/formfile.cpp10
-rw-r--r--kommander/editor/formfile.h2
-rw-r--r--kommander/editor/formsettings.ui13
-rw-r--r--kommander/editor/formsettingsimpl.cpp4
-rw-r--r--kommander/editor/formsettingsimpl.h2
-rw-r--r--kommander/editor/formwindow.cpp272
-rw-r--r--kommander/editor/formwindow.h2
-rw-r--r--kommander/editor/functions.ui38
-rw-r--r--kommander/editor/functionsimpl.cpp18
-rw-r--r--kommander/editor/functionsimpl.h2
-rw-r--r--kommander/editor/hierarchyview.cpp84
-rw-r--r--kommander/editor/hierarchyview.h4
-rw-r--r--kommander/editor/iconvieweditorimpl.cpp2
-rw-r--r--kommander/editor/iconvieweditorimpl.h2
-rw-r--r--kommander/editor/kmdr-editor.desktop128
-rw-r--r--kommander/editor/layout.cpp78
-rw-r--r--kommander/editor/layout.h6
-rw-r--r--kommander/editor/listboxeditorimpl.cpp2
-rw-r--r--kommander/editor/listboxeditorimpl.h2
-rw-r--r--kommander/editor/listeditor.ui4
-rw-r--r--kommander/editor/listvieweditorimpl.cpp2
-rw-r--r--kommander/editor/listvieweditorimpl.h2
-rw-r--r--kommander/editor/mainwindow.cpp252
-rw-r--r--kommander/editor/mainwindow.h3
-rw-r--r--kommander/editor/mainwindowactions.cpp146
-rw-r--r--kommander/editor/messagelog.cpp12
-rw-r--r--kommander/editor/messagelog.h2
-rw-r--r--kommander/editor/metadatabase.cpp16
-rw-r--r--kommander/editor/multilineeditorimpl.cpp2
-rw-r--r--kommander/editor/multilineeditorimpl.h4
-rw-r--r--kommander/editor/newform.ui4
-rw-r--r--kommander/editor/newformimpl.cpp12
-rw-r--r--kommander/editor/newformimpl.h2
-rw-r--r--kommander/editor/orderindicator.h2
-rw-r--r--kommander/editor/paletteeditor.ui13
-rw-r--r--kommander/editor/paletteeditoradvanced.ui12
-rw-r--r--kommander/editor/paletteeditoradvancedimpl.cpp2
-rw-r--r--kommander/editor/paletteeditoradvancedimpl.h2
-rw-r--r--kommander/editor/paletteeditorimpl.cpp2
-rw-r--r--kommander/editor/paletteeditorimpl.h2
-rw-r--r--kommander/editor/pics/CMakeLists.txt4
-rw-r--r--kommander/editor/pixmapchooser.cpp12
-rw-r--r--kommander/editor/pixmapchooser.h4
-rw-r--r--kommander/editor/previewframe.h4
-rw-r--r--kommander/editor/previewwidgetimpl.cpp4
-rw-r--r--kommander/editor/previewwidgetimpl.h2
-rw-r--r--kommander/editor/propertyeditor.cpp196
-rw-r--r--kommander/editor/propertyeditor.h36
-rw-r--r--kommander/editor/qcompletionedit.cpp8
-rw-r--r--kommander/editor/qcompletionedit.h2
-rw-r--r--kommander/editor/resource.cpp337
-rw-r--r--kommander/editor/sizehandle.cpp8
-rw-r--r--kommander/editor/sizehandle.h2
-rw-r--r--kommander/editor/styledbutton.cpp6
-rw-r--r--kommander/editor/styledbutton.h2
-rw-r--r--kommander/editor/tableeditorimpl.cpp14
-rw-r--r--kommander/editor/tableeditorimpl.h2
-rw-r--r--kommander/editor/timestamp.cpp2
-rw-r--r--kommander/editor/timestamp.h2
-rw-r--r--kommander/editor/widgetdatabase.cpp84
-rw-r--r--kommander/editor/widgetfactory.cpp401
-rw-r--r--kommander/editor/widgetfactory.h56
-rw-r--r--kommander/editor/widgetinterface.h2
-rw-r--r--kommander/editor/wizardeditor.ui4
-rw-r--r--kommander/editor/wizardeditorimpl.cpp2
-rw-r--r--kommander/editor/wizardeditorimpl.h2
-rw-r--r--kommander/editor/workspace.cpp54
-rw-r--r--kommander/editor/workspace.h2
-rw-r--r--kommander/examples/CMakeLists.txt3
-rw-r--r--kommander/examples/current/CMakeLists.txt7
-rw-r--r--kommander/examples/current/a1.kmdr6
-rw-r--r--kommander/examples/current/b1.kmdr2
-rw-r--r--kommander/examples/current/editor-poc.kmdr59
-rw-r--r--kommander/examples/current/keyvaluecombo.kmdr10
-rw-r--r--kommander/examples/current/kpartmwframe.kmdr55
-rw-r--r--kommander/examples/current/kpartpart.kmdr2
-rw-r--r--kommander/examples/current/passvariables.kmdr2
-rw-r--r--kommander/examples/current/tableselect.kmdr4
-rw-r--r--kommander/examples/old/CMakeLists.txt10
-rw-r--r--kommander/examples/old/execprogram.kmdr2
-rw-r--r--kommander/examples/old/firstform.kmdr.kmdr2
-rw-r--r--kommander/examples/old/form2.kmdr4
-rw-r--r--kommander/examples/old/form4.kmdr6
-rw-r--r--kommander/examples/old/form5.kmdr12
-rw-r--r--kommander/examples/old/newfile.kmdr4
-rw-r--r--kommander/examples/old/populate.kmdr4
-rw-r--r--kommander/examples/old/resize.kmdr14
-rw-r--r--kommander/examples/old/selectedwidgettext.kmdr2
-rw-r--r--kommander/examples/old/settings.kmdr14
-rw-r--r--kommander/examples/old/simplelist.kmdr2
-rw-r--r--kommander/examples/old/tar.kmdr14
-rw-r--r--kommander/examples/old/tidy.kmdr22
-rw-r--r--kommander/examples/old/widgetgenerator.kmdr62
-rw-r--r--kommander/examples/old/wizard.kmdr20
-rw-r--r--kommander/examples/tutorial/CMakeLists.txt10
-rw-r--r--kommander/examples/tutorial/append.kmdr2
-rw-r--r--kommander/examples/tutorial/arrays.kmdr4
-rw-r--r--kommander/examples/tutorial/calc.kmdr10
-rw-r--r--kommander/examples/tutorial/dcop.kmdr2
-rw-r--r--kommander/examples/tutorial/dialogs.kmdr2
-rw-r--r--kommander/examples/tutorial/globals.kmdr2
-rw-r--r--kommander/examples/tutorial/initialize.kmdr6
-rw-r--r--kommander/examples/tutorial/loop.kmdr4
-rw-r--r--kommander/examples/tutorial/picview.kmdr4
-rw-r--r--kommander/examples/tutorial/settings.kmdr6
-rw-r--r--kommander/examples/tutorial/slots.kmdr12
-rw-r--r--kommander/examples/tutorial/strings.kmdr6
-rw-r--r--kommander/examples/tutorial/table.kmdr4
-rw-r--r--kommander/examples/tutorial/tree.kmdr6
-rw-r--r--kommander/examples/tutorial/widgets.kmdr4
-rw-r--r--kommander/executor/CMakeLists.txt63
-rw-r--r--kommander/executor/instance.cpp28
-rw-r--r--kommander/executor/instance.h2
-rw-r--r--kommander/executor/kmdr-executor.desktop79
-rw-r--r--kommander/executor/main.cpp2
-rw-r--r--kommander/factory/CMakeLists.txt39
-rw-r--r--kommander/factory/domtool.cpp2
-rw-r--r--kommander/factory/kommanderfactory.cpp240
-rw-r--r--kommander/icons/CMakeLists.txt9
-rw-r--r--kommander/kmdrtools/CMakeLists.txt7
-rw-r--r--kommander/kmdrtools/dcoptool-oldparser.kmdr760
-rw-r--r--kommander/kmdrtools/examples.kmdr2
-rw-r--r--kommander/part/CMakeLists.txt47
-rw-r--r--kommander/part/kommander_part.cpp2
-rw-r--r--kommander/part/kommander_part.desktop12
-rw-r--r--kommander/part/kommander_part.h2
-rw-r--r--kommander/plugin/CMakeLists.txt41
-rw-r--r--kommander/plugin/kommanderplugin.h2
-rw-r--r--kommander/plugin/specialinformation.cpp34
-rw-r--r--kommander/pluginmanager/CMakeLists.txt33
-rw-r--r--kommander/pluginmanager/mainwindow.cpp2
-rw-r--r--kommander/pluginmanager/mainwindow.h2
-rw-r--r--kommander/widget/CMakeLists.txt49
-rw-r--r--kommander/widget/functionlib.cpp28
-rw-r--r--kommander/widget/invokeclass.cpp4
-rw-r--r--kommander/widget/invokeclass.h2
-rw-r--r--kommander/widget/kmdrmainwindow.cpp7
-rw-r--r--kommander/widget/kmdrmainwindow.h4
-rw-r--r--kommander/widget/kommanderfunctions.cpp2
-rw-r--r--kommander/widget/kommanderwidget.cpp14
-rw-r--r--kommander/widget/myprocess.cpp8
-rw-r--r--kommander/widget/myprocess.h2
-rw-r--r--kommander/widgets/CMakeLists.txt52
-rw-r--r--kommander/widgets/aboutdialog.cpp29
-rw-r--r--kommander/widgets/aboutdialog.h4
-rw-r--r--kommander/widgets/buttongroup.cpp2
-rw-r--r--kommander/widgets/buttongroup.h2
-rw-r--r--kommander/widgets/checkbox.cpp2
-rw-r--r--kommander/widgets/checkbox.h2
-rw-r--r--kommander/widgets/closebutton.cpp16
-rw-r--r--kommander/widgets/closebutton.h2
-rw-r--r--kommander/widgets/combobox.cpp4
-rw-r--r--kommander/widgets/combobox.h2
-rw-r--r--kommander/widgets/datepicker.cpp10
-rw-r--r--kommander/widgets/datepicker.h2
-rw-r--r--kommander/widgets/dialog.cpp13
-rw-r--r--kommander/widgets/dialog.h2
-rw-r--r--kommander/widgets/execbutton.cpp10
-rw-r--r--kommander/widgets/execbutton.h2
-rw-r--r--kommander/widgets/fileselector.cpp4
-rw-r--r--kommander/widgets/fileselector.h2
-rw-r--r--kommander/widgets/fontdialog.cpp7
-rw-r--r--kommander/widgets/fontdialog.h4
-rw-r--r--kommander/widgets/groupbox.cpp6
-rw-r--r--kommander/widgets/groupbox.h2
-rw-r--r--kommander/widgets/konsole.cpp6
-rw-r--r--kommander/widgets/konsole.h2
-rw-r--r--kommander/widgets/label.cpp2
-rw-r--r--kommander/widgets/label.h2
-rw-r--r--kommander/widgets/lineedit.cpp6
-rw-r--r--kommander/widgets/lineedit.h2
-rw-r--r--kommander/widgets/listbox.cpp2
-rw-r--r--kommander/widgets/listbox.h2
-rw-r--r--kommander/widgets/pixmaplabel.cpp2
-rw-r--r--kommander/widgets/pixmaplabel.h2
-rw-r--r--kommander/widgets/popupmenu.cpp9
-rw-r--r--kommander/widgets/popupmenu.h4
-rw-r--r--kommander/widgets/progressbar.cpp2
-rw-r--r--kommander/widgets/progressbar.h2
-rw-r--r--kommander/widgets/radiobutton.cpp2
-rw-r--r--kommander/widgets/radiobutton.h2
-rw-r--r--kommander/widgets/richtexteditor.cpp16
-rw-r--r--kommander/widgets/richtexteditor.h2
-rw-r--r--kommander/widgets/scriptobject.cpp2
-rw-r--r--kommander/widgets/scriptobject.h2
-rw-r--r--kommander/widgets/slider.cpp2
-rw-r--r--kommander/widgets/slider.h2
-rw-r--r--kommander/widgets/spinboxint.cpp2
-rw-r--r--kommander/widgets/spinboxint.h2
-rw-r--r--kommander/widgets/statusbar.cpp2
-rw-r--r--kommander/widgets/statusbar.h2
-rw-r--r--kommander/widgets/subdialog.cpp6
-rw-r--r--kommander/widgets/subdialog.h2
-rw-r--r--kommander/widgets/table.cpp12
-rw-r--r--kommander/widgets/table.h2
-rw-r--r--kommander/widgets/tabwidget.cpp2
-rw-r--r--kommander/widgets/tabwidget.h2
-rw-r--r--kommander/widgets/textbrowser.cpp4
-rw-r--r--kommander/widgets/textbrowser.h2
-rw-r--r--kommander/widgets/textedit.cpp4
-rw-r--r--kommander/widgets/textedit.h2
-rw-r--r--kommander/widgets/timer.cpp6
-rw-r--r--kommander/widgets/timer.h2
-rw-r--r--kommander/widgets/toolbox.cpp7
-rw-r--r--kommander/widgets/toolbox.h5
-rw-r--r--kommander/widgets/treewidget.cpp2
-rw-r--r--kommander/widgets/treewidget.h2
-rw-r--r--kommander/widgets/widgets.desktop34
-rw-r--r--kommander/widgets/wizard.cpp4
-rw-r--r--kommander/widgets/wizard.h2
-rw-r--r--kommander/working/CMakeLists.txt6
-rw-r--r--kommander/working/plugintemplate/CMakeLists.txt17
-rw-r--r--kommander/working/plugintemplate/widget.h2
-rw-r--r--kommander/x-kommander.desktop47
-rw-r--r--kxsldbg/CMakeL10n.txt6
-rw-r--r--kxsldbg/CMakeLists.txt91
-rw-r--r--kxsldbg/data/test2.xml13
-rw-r--r--kxsldbg/data/test3.xml13
-rw-r--r--kxsldbg/data/test4.xml13
-rw-r--r--kxsldbg/data/testdoc.xml12
-rw-r--r--kxsldbg/kxsldbg.cpp22
-rw-r--r--kxsldbg/kxsldbg.desktop50
-rw-r--r--kxsldbg/kxsldbg.h4
-rw-r--r--kxsldbg/kxsldbgpart/CMakeLists.txt112
-rw-r--r--kxsldbg/kxsldbgpart/Makefile.am3
-rw-r--r--kxsldbg/kxsldbgpart/dummy.cpp0
-rw-r--r--kxsldbg/kxsldbgpart/kxsldbg_part.cpp90
-rw-r--r--kxsldbg/kxsldbgpart/kxsldbg_part.desktop12
-rw-r--r--kxsldbg/kxsldbgpart/kxsldbg_part.h2
-rw-r--r--kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt37
-rw-r--r--kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgdebuggerbase.h2
-rw-r--r--kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt57
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/arraylist.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/callstack.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/cmds.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/debug.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/files.cpp6
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/files.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp1
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/help.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp10
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/options.cpp1
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/options.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp1
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/search.cpp7
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/search.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/utils.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp28
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h0
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h4
-rw-r--r--kxsldbg/kxsldbgpart/qxsldbgdoc.cpp4
-rw-r--r--kxsldbg/kxsldbgpart/qxsldbgdoc.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgbreakpoints.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgcallstack.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgcallstackimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgconfig.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgconfigimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgdebugger.cpp2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgdebugger.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgentities.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgentitiesimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgentitiesimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgglobalvariables.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbginspector.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbginspector.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbglocalvariables.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgoutputview.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgsources.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgsourcesimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgsourcesimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgtemplates.ui4
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.cpp8
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.h2
-rw-r--r--kxsldbg/kxsldbgpart/xsldbgwalkspeedimpl.h2
-rw-r--r--kxsldbg/xsldbg.desktop3
-rw-r--r--kxsldbg/xsldbgmain.cpp4
-rw-r--r--lib/CMakeLists.txt5
-rw-r--r--lib/compatibility/CMakeLists.txt2
-rw-r--r--lib/compatibility/tdemdi/CMakeLists.txt24
-rw-r--r--lib/compatibility/tdemdi/qextmdi/CMakeLists.txt30
-rw-r--r--lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp101
-rw-r--r--lib/compatibility/tdemdi/qextmdi/kdockwidget.h18
-rw-r--r--lib/compatibility/tdemdi/qextmdi/kdockwidget_private.cpp56
-rw-r--r--lib/compatibility/tdemdi/qextmdi/kdockwidget_private.h6
-rw-r--r--lib/compatibility/tdemdi/qextmdi/ktabbar.cpp22
-rw-r--r--lib/compatibility/tdemdi/qextmdi/ktabbar.h2
-rw-r--r--lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp28
-rw-r--r--lib/compatibility/tdemdi/qextmdi/ktabwidget.h2
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildarea.cpp14
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildarea.h4
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.cpp148
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.h10
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.cpp12
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.h4
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildview.cpp44
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdichildview.h6
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp18
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.h4
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.cpp5
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.h4
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.cpp14
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.h5
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp39
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.h5
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdiiterator.h2
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdilistiterator.h2
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp237
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.h4
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdinulliterator.h2
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemditaskbar.cpp22
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemditaskbar.h6
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.cpp6
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.h4
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemultitabbar.cpp6
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemultitabbar.h6
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemultitabbar_p.h2
-rw-r--r--lib/ksavealldialog.cpp12
-rw-r--r--lib/ksavealldialog.h4
-rw-r--r--lib/qextfileinfo.cpp48
-rw-r--r--lib/qextfileinfo.h2
-rw-r--r--quanta/CMakeL10n.txt6
-rw-r--r--quanta/components/CMakeLists.txt9
-rw-r--r--quanta/components/csseditor/CMakeLists.txt3
-rw-r--r--quanta/components/csseditor/colorrequester.cpp12
-rw-r--r--quanta/components/csseditor/colorrequester.h2
-rw-r--r--quanta/components/csseditor/colorslider.cpp14
-rw-r--r--quanta/components/csseditor/colorslider.h6
-rw-r--r--quanta/components/csseditor/csseditor.cpp20
-rw-r--r--quanta/components/csseditor/csseditor.h2
-rw-r--r--quanta/components/csseditor/csseditor_globals.cpp8
-rw-r--r--quanta/components/csseditor/csseditor_globals.h2
-rw-r--r--quanta/components/csseditor/csseditors.ui6
-rw-r--r--quanta/components/csseditor/cssselector.cpp64
-rw-r--r--quanta/components/csseditor/cssselector.h2
-rw-r--r--quanta/components/csseditor/cssselectors.ui11
-rw-r--r--quanta/components/csseditor/doubleeditors.cpp18
-rw-r--r--quanta/components/csseditor/doubleeditors.h8
-rw-r--r--quanta/components/csseditor/encodingselector.h2
-rw-r--r--quanta/components/csseditor/fontfamilychooser.cpp22
-rw-r--r--quanta/components/csseditor/fontfamilychooser.h2
-rw-r--r--quanta/components/csseditor/fontfamilychoosers.ui11
-rw-r--r--quanta/components/csseditor/percentageeditor.cpp4
-rw-r--r--quanta/components/csseditor/percentageeditor.h2
-rw-r--r--quanta/components/csseditor/propertysetter.cpp12
-rw-r--r--quanta/components/csseditor/propertysetter.h2
-rw-r--r--quanta/components/csseditor/specialsb.cpp8
-rw-r--r--quanta/components/csseditor/specialsb.h10
-rw-r--r--quanta/components/csseditor/styleeditor.cpp2
-rw-r--r--quanta/components/csseditor/styleeditor.h2
-rw-r--r--quanta/components/csseditor/stylesheetparser.h2
-rw-r--r--quanta/components/csseditor/tlpeditors.cpp14
-rw-r--r--quanta/components/csseditor/tlpeditors.h6
-rw-r--r--quanta/components/cvsservice/CMakeLists.txt24
-rw-r--r--quanta/components/cvsservice/cvscommitdlgs.ui8
-rw-r--r--quanta/components/cvsservice/cvsservice.cpp24
-rw-r--r--quanta/components/cvsservice/cvsservice.h2
-rw-r--r--quanta/components/cvsservice/cvsupdatetodlgs.ui5
-rw-r--r--quanta/components/debugger/CMakeLists.txt3
-rw-r--r--quanta/components/debugger/backtracelistview.cpp2
-rw-r--r--quanta/components/debugger/backtracelistview.h2
-rw-r--r--quanta/components/debugger/conditionalbreakpointdialog.cpp8
-rw-r--r--quanta/components/debugger/conditionalbreakpointdialog.h2
-rw-r--r--quanta/components/debugger/conditionalbreakpointdialogs.ui16
-rw-r--r--quanta/components/debugger/dbgp/CMakeLists.txt9
-rw-r--r--quanta/components/debugger/dbgp/dbgpnetwork.cpp28
-rw-r--r--quanta/components/debugger/dbgp/dbgpnetwork.h2
-rw-r--r--quanta/components/debugger/dbgp/dbgpsettings.cpp2
-rw-r--r--quanta/components/debugger/dbgp/dbgpsettings.h2
-rw-r--r--quanta/components/debugger/dbgp/dbgpsettingss.ui22
-rw-r--r--quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp8
-rw-r--r--quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop41
-rw-r--r--quanta/components/debugger/dbgp/quantadebuggerdbgp.h2
-rw-r--r--quanta/components/debugger/debuggerbreakpointview.cpp6
-rw-r--r--quanta/components/debugger/debuggerbreakpointview.h2
-rw-r--r--quanta/components/debugger/debuggermanager.cpp62
-rw-r--r--quanta/components/debugger/debuggermanager.h2
-rw-r--r--quanta/components/debugger/debuggerui.cpp6
-rw-r--r--quanta/components/debugger/debuggerui.h2
-rw-r--r--quanta/components/debugger/debuggervariablesets.ui6
-rw-r--r--quanta/components/debugger/gubed/CMakeLists.txt9
-rw-r--r--quanta/components/debugger/gubed/gubedsettings.h2
-rw-r--r--quanta/components/debugger/gubed/gubedsettingss.ui13
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.cpp22
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.desktop45
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.h2
-rw-r--r--quanta/components/debugger/interfaces/CMakeLists.txt9
-rw-r--r--quanta/components/debugger/interfaces/debuggerclient.h2
-rw-r--r--quanta/components/debugger/interfaces/debuggerinterface.h2
-rw-r--r--quanta/components/debugger/interfaces/quantadebugger.desktop44
-rw-r--r--quanta/components/debugger/pathmapper.h2
-rw-r--r--quanta/components/debugger/pathmapperdialog.cpp6
-rw-r--r--quanta/components/debugger/pathmapperdialog.h2
-rw-r--r--quanta/components/debugger/pathmapperdialogs.ui16
-rw-r--r--quanta/components/debugger/quantadebuggerinterface.h2
-rw-r--r--quanta/components/debugger/variableslistview.cpp10
-rw-r--r--quanta/components/debugger/variableslistview.h2
-rw-r--r--quanta/components/framewizard/CMakeLists.txt3
-rw-r--r--quanta/components/framewizard/areaattributedb.h2
-rw-r--r--quanta/components/framewizard/fmfpeditor.h2
-rw-r--r--quanta/components/framewizard/fmfpeditors.ui3
-rw-r--r--quanta/components/framewizard/fmrceditor.h2
-rw-r--r--quanta/components/framewizard/framewizard.cpp16
-rw-r--r--quanta/components/framewizard/framewizard.h2
-rw-r--r--quanta/components/framewizard/framewizards.ui6
-rw-r--r--quanta/components/framewizard/selectablearea.h2
-rw-r--r--quanta/components/framewizard/visualframeeditor.cpp12
-rw-r--r--quanta/components/framewizard/visualframeeditor.h2
-rw-r--r--quanta/components/tableeditor/CMakeLists.txt3
-rw-r--r--quanta/components/tableeditor/tableeditor.cpp64
-rw-r--r--quanta/components/tableeditor/tableeditor.h2
-rw-r--r--quanta/components/tableeditor/tableeditors.ui6
-rw-r--r--quanta/components/tableeditor/tableitem.cpp4
-rw-r--r--quanta/data/config/CMakeLists.txt8
-rw-r--r--quanta/data/config/quanta_preview_config.desktop41
-rw-r--r--quanta/data/dtep/CMakeLists.txt1
-rw-r--r--quanta/data/dtep/Makefile.am2
-rw-r--r--quanta/data/dtep/html-frameset/common.tag2
-rw-r--r--quanta/data/dtep/html-strict/common.tag2
-rw-r--r--quanta/data/dtep/html/common.tag2
-rw-r--r--quanta/data/dtep/html5/CMakeLists.txt31
-rw-r--r--quanta/data/dtep/html5/Makefile.am20
-rw-r--r--quanta/data/dtep/html5/a.tag120
-rw-r--r--quanta/data/dtep/html5/abbr.tag54
-rw-r--r--quanta/data/dtep/html5/acronym.tag54
-rw-r--r--quanta/data/dtep/html5/address.tag54
-rw-r--r--quanta/data/dtep/html5/applet.tag144
-rw-r--r--quanta/data/dtep/html5/area.tag44
-rw-r--r--quanta/data/dtep/html5/article.tag54
-rw-r--r--quanta/data/dtep/html5/aside.tag54
-rw-r--r--quanta/data/dtep/html5/audio.tag48
-rw-r--r--quanta/data/dtep/html5/b.tag54
-rw-r--r--quanta/data/dtep/html5/base.tag17
-rw-r--r--quanta/data/dtep/html5/bdi.tag65
-rw-r--r--quanta/data/dtep/html5/bdo.tag65
-rw-r--r--quanta/data/dtep/html5/big.tag54
-rw-r--r--quanta/data/dtep/html5/blockquote.tag49
-rw-r--r--quanta/data/dtep/html5/body.tag55
-rw-r--r--quanta/data/dtep/html5/br.tag5
-rw-r--r--quanta/data/dtep/html5/button.tag91
-rw-r--r--quanta/data/dtep/html5/caption.tag54
-rw-r--r--quanta/data/dtep/html5/center.tag54
-rw-r--r--quanta/data/dtep/html5/cite.tag54
-rw-r--r--quanta/data/dtep/html5/code.tag54
-rw-r--r--quanta/data/dtep/html5/col.tag60
-rw-r--r--quanta/data/dtep/html5/colgroup.tag63
-rw-r--r--quanta/data/dtep/html5/common.tag56
-rw-r--r--quanta/data/dtep/html5/data.tag92
-rw-r--r--quanta/data/dtep/html5/dd.tag86
-rw-r--r--quanta/data/dtep/html5/del.tag98
-rw-r--r--quanta/data/dtep/html5/description.rc58
-rw-r--r--quanta/data/dtep/html5/details.tag54
-rw-r--r--quanta/data/dtep/html5/dfn.tag54
-rw-r--r--quanta/data/dtep/html5/dir.tag11
-rw-r--r--quanta/data/dtep/html5/div.tag86
-rw-r--r--quanta/data/dtep/html5/dl.tag10
-rw-r--r--quanta/data/dtep/html5/dt.tag54
-rw-r--r--quanta/data/dtep/html5/em.tag54
-rw-r--r--quanta/data/dtep/html5/embed.tag48
-rw-r--r--quanta/data/dtep/html5/empty.tag13
-rw-r--r--quanta/data/dtep/html5/fieldset.tag90
-rw-r--r--quanta/data/dtep/html5/figcaption.tag54
-rw-r--r--quanta/data/dtep/html5/figure.tag54
-rw-r--r--quanta/data/dtep/html5/footer.tag54
-rw-r--r--quanta/data/dtep/html5/form.tag97
-rw-r--r--quanta/data/dtep/html5/head.tag29
-rw-r--r--quanta/data/dtep/html5/header.tag54
-rw-r--r--quanta/data/dtep/html5/headings.tag311
-rw-r--r--quanta/data/dtep/html5/hr.tag5
-rw-r--r--quanta/data/dtep/html5/html.tag25
-rw-r--r--quanta/data/dtep/html5/i.tag54
-rw-r--r--quanta/data/dtep/html5/img.tag48
-rw-r--r--quanta/data/dtep/html5/input.tag104
-rw-r--r--quanta/data/dtep/html5/ins.tag98
-rw-r--r--quanta/data/dtep/html5/kbd.tag54
-rw-r--r--quanta/data/dtep/html5/label.tag78
-rw-r--r--quanta/data/dtep/html5/legend.tag61
-rw-r--r--quanta/data/dtep/html5/li.tag90
-rw-r--r--quanta/data/dtep/html5/link.tag70
-rw-r--r--quanta/data/dtep/html5/main.tag54
-rw-r--r--quanta/data/dtep/html5/map.tag46
-rw-r--r--quanta/data/dtep/html5/mark.tag54
-rw-r--r--quanta/data/dtep/html5/meta.tag31
-rw-r--r--quanta/data/dtep/html5/nav.tag54
-rw-r--r--quanta/data/dtep/html5/noscript.tag44
-rw-r--r--quanta/data/dtep/html5/object.tag202
-rw-r--r--quanta/data/dtep/html5/ol.tag11
-rw-r--r--quanta/data/dtep/html5/optgroup.tag23
-rw-r--r--quanta/data/dtep/html5/option.tag41
-rw-r--r--quanta/data/dtep/html5/p.tag66
-rw-r--r--quanta/data/dtep/html5/param.tag47
-rw-r--r--quanta/data/dtep/html5/picture.tag54
-rw-r--r--quanta/data/dtep/html5/pre.tag51
-rw-r--r--quanta/data/dtep/html5/q.tag60
-rw-r--r--quanta/data/dtep/html5/rb.tag7
-rw-r--r--quanta/data/dtep/html5/rbc.tag9
-rw-r--r--quanta/data/dtep/html5/rp.tag7
-rw-r--r--quanta/data/dtep/html5/rt.tag9
-rw-r--r--quanta/data/dtep/html5/rtc.tag9
-rw-r--r--quanta/data/dtep/html5/ruby.tag13
-rw-r--r--quanta/data/dtep/html5/samp.tag54
-rw-r--r--quanta/data/dtep/html5/script.tag46
-rw-r--r--quanta/data/dtep/html5/section.tag54
-rw-r--r--quanta/data/dtep/html5/select.tag55
-rw-r--r--quanta/data/dtep/html5/small.tag54
-rw-r--r--quanta/data/dtep/html5/source.tag48
-rw-r--r--quanta/data/dtep/html5/span.tag54
-rw-r--r--quanta/data/dtep/html5/strong.tag54
-rw-r--r--quanta/data/dtep/html5/style.tag60
-rw-r--r--quanta/data/dtep/html5/sub.tag54
-rw-r--r--quanta/data/dtep/html5/sup.tag54
-rw-r--r--quanta/data/dtep/html5/svg.tag44
-rw-r--r--quanta/data/dtep/html5/table.tag79
-rw-r--r--quanta/data/dtep/html5/tbody.tag39
-rw-r--r--quanta/data/dtep/html5/td.tag157
-rw-r--r--quanta/data/dtep/html5/textarea.tag43
-rw-r--r--quanta/data/dtep/html5/tfoot.tag38
-rw-r--r--quanta/data/dtep/html5/th.tag157
-rw-r--r--quanta/data/dtep/html5/thead.tag38
-rw-r--r--quanta/data/dtep/html5/time.tag92
-rw-r--r--quanta/data/dtep/html5/title.tag14
-rw-r--r--quanta/data/dtep/html5/tr.tag44
-rw-r--r--quanta/data/dtep/html5/track.tag48
-rw-r--r--quanta/data/dtep/html5/tt.tag54
-rw-r--r--quanta/data/dtep/html5/u.tag54
-rw-r--r--quanta/data/dtep/html5/ul.tag11
-rw-r--r--quanta/data/dtep/html5/var.tag54
-rw-r--r--quanta/data/dtep/html5/video.tag48
-rw-r--r--quanta/data/dtep/html5/wbr.tag5
-rw-r--r--quanta/data/dtep/wml-1-2/common.tag2
-rw-r--r--quanta/data/dtep/xhtml-basic/common.tag2
-rw-r--r--quanta/data/dtep/xhtml-frameset/common.tag2
-rw-r--r--quanta/data/dtep/xhtml-strict/common.tag2
-rw-r--r--quanta/data/dtep/xhtml/common.tag2
-rw-r--r--quanta/data/dtep/xhtml11/common.tag2
-rw-r--r--quanta/data/icons/22x22/CMakeLists.txt119
-rw-r--r--quanta/data/icons/22x22/Makefile.am102
-rw-r--r--quanta/data/icons/22x22/html5_DT.pngbin0 -> 186 bytes
-rw-r--r--quanta/data/icons/22x22/html5_a.pngbin0 -> 211 bytes
-rw-r--r--quanta/data/icons/22x22/html5_abbr.pngbin0 -> 206 bytes
-rw-r--r--quanta/data/icons/22x22/html5_address.pngbin0 -> 216 bytes
-rw-r--r--quanta/data/icons/22x22/html5_area.pngbin0 -> 243 bytes
-rw-r--r--quanta/data/icons/22x22/html5_article.pngbin0 -> 233 bytes
-rw-r--r--quanta/data/icons/22x22/html5_aside.pngbin0 -> 180 bytes
-rw-r--r--quanta/data/icons/22x22/html5_audio.pngbin0 -> 209 bytes
-rw-r--r--quanta/data/icons/22x22/html5_b.pngbin0 -> 205 bytes
-rw-r--r--quanta/data/icons/22x22/html5_base.pngbin0 -> 232 bytes
-rw-r--r--quanta/data/icons/22x22/html5_bdi.pngbin0 -> 219 bytes
-rw-r--r--quanta/data/icons/22x22/html5_bdo.pngbin0 -> 231 bytes
-rw-r--r--quanta/data/icons/22x22/html5_big.pngbin0 -> 230 bytes
-rw-r--r--quanta/data/icons/22x22/html5_blockquote.pngbin0 -> 214 bytes
-rw-r--r--quanta/data/icons/22x22/html5_body.pngbin0 -> 185 bytes
-rw-r--r--quanta/data/icons/22x22/html5_br.pngbin0 -> 168 bytes
-rw-r--r--quanta/data/icons/22x22/html5_caption.pngbin0 -> 159 bytes
-rw-r--r--quanta/data/icons/22x22/html5_center.pngbin0 -> 183 bytes
-rw-r--r--quanta/data/icons/22x22/html5_cite.pngbin0 -> 209 bytes
-rw-r--r--quanta/data/icons/22x22/html5_code.pngbin0 -> 147 bytes
-rw-r--r--quanta/data/icons/22x22/html5_col.pngbin0 -> 151 bytes
-rw-r--r--quanta/data/icons/22x22/html5_colgroup.pngbin0 -> 153 bytes
-rw-r--r--quanta/data/icons/22x22/html5_com.pngbin0 -> 196 bytes
-rw-r--r--quanta/data/icons/22x22/html5_data.pngbin0 -> 202 bytes
-rw-r--r--quanta/data/icons/22x22/html5_dd.pngbin0 -> 154 bytes
-rw-r--r--quanta/data/icons/22x22/html5_del.pngbin0 -> 209 bytes
-rw-r--r--quanta/data/icons/22x22/html5_details.pngbin0 -> 155 bytes
-rw-r--r--quanta/data/icons/22x22/html5_dir.pngbin0 -> 148 bytes
-rw-r--r--quanta/data/icons/22x22/html5_div.pngbin0 -> 170 bytes
-rw-r--r--quanta/data/icons/22x22/html5_dl.pngbin0 -> 149 bytes
-rw-r--r--quanta/data/icons/22x22/html5_dt.pngbin0 -> 155 bytes
-rw-r--r--quanta/data/icons/22x22/html5_embed.pngbin0 -> 190 bytes
-rw-r--r--quanta/data/icons/22x22/html5_figcaption.pngbin0 -> 239 bytes
-rw-r--r--quanta/data/icons/22x22/html5_figure.pngbin0 -> 206 bytes
-rw-r--r--quanta/data/icons/22x22/html5_font.pngbin0 -> 186 bytes
-rw-r--r--quanta/data/icons/22x22/html5_footer.pngbin0 -> 183 bytes
-rw-r--r--quanta/data/icons/22x22/html5_h1.pngbin0 -> 173 bytes
-rw-r--r--quanta/data/icons/22x22/html5_h2.pngbin0 -> 175 bytes
-rw-r--r--quanta/data/icons/22x22/html5_h3.pngbin0 -> 171 bytes
-rw-r--r--quanta/data/icons/22x22/html5_h4.pngbin0 -> 159 bytes
-rw-r--r--quanta/data/icons/22x22/html5_h5.pngbin0 -> 169 bytes
-rw-r--r--quanta/data/icons/22x22/html5_h6.pngbin0 -> 162 bytes
-rw-r--r--quanta/data/icons/22x22/html5_head.pngbin0 -> 198 bytes
-rw-r--r--quanta/data/icons/22x22/html5_header.pngbin0 -> 185 bytes
-rw-r--r--quanta/data/icons/22x22/html5_hr.pngbin0 -> 132 bytes
-rw-r--r--quanta/data/icons/22x22/html5_html.pngbin0 -> 205 bytes
-rw-r--r--quanta/data/icons/22x22/html5_i.pngbin0 -> 181 bytes
-rw-r--r--quanta/data/icons/22x22/html5_img.pngbin0 -> 234 bytes
-rw-r--r--quanta/data/icons/22x22/html5_ins.pngbin0 -> 201 bytes
-rw-r--r--quanta/data/icons/22x22/html5_kbd.pngbin0 -> 238 bytes
-rw-r--r--quanta/data/icons/22x22/html5_li.pngbin0 -> 146 bytes
-rw-r--r--quanta/data/icons/22x22/html5_link.pngbin0 -> 244 bytes
-rw-r--r--quanta/data/icons/22x22/html5_main.pngbin0 -> 179 bytes
-rw-r--r--quanta/data/icons/22x22/html5_map.pngbin0 -> 241 bytes
-rw-r--r--quanta/data/icons/22x22/html5_mark.pngbin0 -> 186 bytes
-rw-r--r--quanta/data/icons/22x22/html5_meta.pngbin0 -> 231 bytes
-rw-r--r--quanta/data/icons/22x22/html5_nav.pngbin0 -> 179 bytes
-rw-r--r--quanta/data/icons/22x22/html5_noscript.pngbin0 -> 268 bytes
-rw-r--r--quanta/data/icons/22x22/html5_object.pngbin0 -> 183 bytes
-rw-r--r--quanta/data/icons/22x22/html5_ol.pngbin0 -> 181 bytes
-rw-r--r--quanta/data/icons/22x22/html5_p.pngbin0 -> 139 bytes
-rw-r--r--quanta/data/icons/22x22/html5_picture.pngbin0 -> 244 bytes
-rw-r--r--quanta/data/icons/22x22/html5_pre.pngbin0 -> 194 bytes
-rw-r--r--quanta/data/icons/22x22/html5_q.pngbin0 -> 194 bytes
-rw-r--r--quanta/data/icons/22x22/html5_rp.pngbin0 -> 205 bytes
-rw-r--r--quanta/data/icons/22x22/html5_rt.pngbin0 -> 179 bytes
-rw-r--r--quanta/data/icons/22x22/html5_ruby.pngbin0 -> 159 bytes
-rw-r--r--quanta/data/icons/22x22/html5_samp.pngbin0 -> 173 bytes
-rw-r--r--quanta/data/icons/22x22/html5_script.pngbin0 -> 202 bytes
-rw-r--r--quanta/data/icons/22x22/html5_section.pngbin0 -> 213 bytes
-rw-r--r--quanta/data/icons/22x22/html5_small.pngbin0 -> 174 bytes
-rw-r--r--quanta/data/icons/22x22/html5_source.pngbin0 -> 221 bytes
-rw-r--r--quanta/data/icons/22x22/html5_span.pngbin0 -> 152 bytes
-rw-r--r--quanta/data/icons/22x22/html5_strong.pngbin0 -> 138 bytes
-rw-r--r--quanta/data/icons/22x22/html5_style.pngbin0 -> 254 bytes
-rw-r--r--quanta/data/icons/22x22/html5_sub.pngbin0 -> 219 bytes
-rw-r--r--quanta/data/icons/22x22/html5_sup.pngbin0 -> 209 bytes
-rw-r--r--quanta/data/icons/22x22/html5_svg.pngbin0 -> 212 bytes
-rw-r--r--quanta/data/icons/22x22/html5_table.pngbin0 -> 147 bytes
-rw-r--r--quanta/data/icons/22x22/html5_tbody.pngbin0 -> 156 bytes
-rw-r--r--quanta/data/icons/22x22/html5_td.pngbin0 -> 155 bytes
-rw-r--r--quanta/data/icons/22x22/html5_tfoot.pngbin0 -> 157 bytes
-rw-r--r--quanta/data/icons/22x22/html5_th.pngbin0 -> 157 bytes
-rw-r--r--quanta/data/icons/22x22/html5_thead.pngbin0 -> 158 bytes
-rw-r--r--quanta/data/icons/22x22/html5_time.pngbin0 -> 169 bytes
-rw-r--r--quanta/data/icons/22x22/html5_title.pngbin0 -> 202 bytes
-rw-r--r--quanta/data/icons/22x22/html5_tr.pngbin0 -> 156 bytes
-rw-r--r--quanta/data/icons/22x22/html5_track.pngbin0 -> 170 bytes
-rw-r--r--quanta/data/icons/22x22/html5_u.pngbin0 -> 179 bytes
-rw-r--r--quanta/data/icons/22x22/html5_ul.pngbin0 -> 143 bytes
-rw-r--r--quanta/data/icons/22x22/html5_var.pngbin0 -> 170 bytes
-rw-r--r--quanta/data/icons/22x22/html5_video.pngbin0 -> 203 bytes
-rw-r--r--quanta/data/icons/22x22/html5_wbr.pngbin0 -> 217 bytes
-rw-r--r--quanta/data/templates/documents/CMakeLists.txt1
-rw-r--r--quanta/data/templates/documents/Makefile.am2
-rw-r--r--quanta/data/templates/documents/html5/CMakeLists.txt14
-rw-r--r--quanta/data/templates/documents/html5/Makefile.am2
-rw-r--r--quanta/data/templates/documents/html5/demo.html9
-rw-r--r--quanta/data/templates/pages/CMakeLists.txt1
-rw-r--r--quanta/data/templates/pages/Makefile.am2
-rw-r--r--quanta/data/templates/pages/docbook/tde-doc-template.docbook12
-rw-r--r--quanta/data/templates/pages/html5/CMakeLists.txt14
-rw-r--r--quanta/data/templates/pages/html5/Makefile.am2
-rw-r--r--quanta/data/templates/pages/html5/base.html9
-rw-r--r--quanta/data/toolbars/Makefile.am2
-rw-r--r--quanta/data/toolbars/html5/CMakeLists.txt26
-rw-r--r--quanta/data/toolbars/html5/Makefile.am14
-rw-r--r--quanta/data/toolbars/html5/base.actions126
-rw-r--r--quanta/data/toolbars/html5/base.toolbar37
-rw-r--r--quanta/data/toolbars/html5/meta.actions125
-rw-r--r--quanta/data/toolbars/html5/meta.toolbar38
-rw-r--r--quanta/data/toolbars/html5/style.actions121
-rw-r--r--quanta/data/toolbars/html5/style.toolbar36
-rw-r--r--quanta/data/toolbars/html5/tools.actions6
-rw-r--r--quanta/data/toolbars/html5/tools.toolbar13
-rw-r--r--quanta/dialogs/CMakeLists.txt3
-rw-r--r--quanta/dialogs/actionconfigdialog.cpp34
-rw-r--r--quanta/dialogs/actionconfigdialog.h2
-rw-r--r--quanta/dialogs/actionconfigdialogs.ui23
-rw-r--r--quanta/dialogs/copyto.cpp8
-rw-r--r--quanta/dialogs/copyto.h2
-rw-r--r--quanta/dialogs/dirtydlg.cpp6
-rw-r--r--quanta/dialogs/dirtydlg.h2
-rw-r--r--quanta/dialogs/donationdialog.ui13
-rw-r--r--quanta/dialogs/dtdselectdialog.ui4
-rw-r--r--quanta/dialogs/dtepeditdlg.h2
-rw-r--r--quanta/dialogs/dtepeditdlgs.ui9
-rw-r--r--quanta/dialogs/dtepstructureeditdlgs.ui8
-rw-r--r--quanta/dialogs/filecombo.cpp12
-rw-r--r--quanta/dialogs/filecombo.h2
-rw-r--r--quanta/dialogs/fourbuttonmessagebox.ui5
-rw-r--r--quanta/dialogs/loadentitydlgs.ui4
-rw-r--r--quanta/dialogs/settings/CMakeLists.txt3
-rw-r--r--quanta/dialogs/settings/abbreviation.cpp2
-rw-r--r--quanta/dialogs/settings/abbreviation.h2
-rw-r--r--quanta/dialogs/settings/abbreviations.ui14
-rw-r--r--quanta/dialogs/settings/codetemplatedlgs.ui4
-rw-r--r--quanta/dialogs/settings/filemasks.cpp2
-rw-r--r--quanta/dialogs/settings/filemasks.h2
-rw-r--r--quanta/dialogs/settings/parseroptions.h2
-rw-r--r--quanta/dialogs/settings/previewoptions.h2
-rw-r--r--quanta/dialogs/specialchardialog.cpp14
-rw-r--r--quanta/dialogs/specialchardialog.h2
-rw-r--r--quanta/dialogs/specialchardialogs.ui11
-rw-r--r--quanta/dialogs/tagdialogs/CMakeLists.txt5
-rw-r--r--quanta/dialogs/tagdialogs/colorcombo.cpp4
-rw-r--r--quanta/dialogs/tagdialogs/colorcombo.h2
-rw-r--r--quanta/dialogs/tagdialogs/listdlg.cpp2
-rw-r--r--quanta/dialogs/tagdialogs/listdlg.h2
-rw-r--r--quanta/dialogs/tagdialogs/pictureview.h2
-rw-r--r--quanta/dialogs/tagdialogs/tagdialog.cpp4
-rw-r--r--quanta/dialogs/tagdialogs/tagdialog.h2
-rw-r--r--quanta/dialogs/tagdialogs/tagimgdlg.cpp8
-rw-r--r--quanta/dialogs/tagdialogs/tagimgdlg.h2
-rw-r--r--quanta/dialogs/tagdialogs/tagmail.ui3
-rw-r--r--quanta/dialogs/tagdialogs/tagmaildlg.cpp6
-rw-r--r--quanta/dialogs/tagdialogs/tagmaildlg.h2
-rw-r--r--quanta/dialogs/tagdialogs/tagmiscdlg.cpp2
-rw-r--r--quanta/dialogs/tagdialogs/tagmiscdlg.h2
-rw-r--r--quanta/dialogs/tagdialogs/tagquicklistdlg.cpp4
-rw-r--r--quanta/dialogs/tagdialogs/tagquicklistdlg.h2
-rw-r--r--quanta/dialogs/tagdialogs/tagxml.cpp4
-rw-r--r--quanta/dialogs/tagdialogs/tagxml.h2
-rw-r--r--quanta/messages/CMakeLists.txt3
-rw-r--r--quanta/messages/annotationoutput.cpp10
-rw-r--r--quanta/messages/annotationoutput.h2
-rw-r--r--quanta/messages/messageoutput.cpp18
-rw-r--r--quanta/messages/messageoutput.h2
-rw-r--r--quanta/parsers/CMakeLists.txt3
-rw-r--r--quanta/parsers/dtd/CMakeLists.txt7
-rw-r--r--quanta/parsers/dtd/dtdparser.cpp17
-rw-r--r--quanta/parsers/parser.cpp14
-rw-r--r--quanta/parsers/parser.h2
-rw-r--r--quanta/parsers/sagroupparser.cpp2
-rw-r--r--quanta/parsers/sagroupparser.h2
-rw-r--r--quanta/parsers/saparser.cpp16
-rw-r--r--quanta/parsers/saparser.h2
-rw-r--r--quanta/parts/kafka/CMakeLists.txt5
-rw-r--r--quanta/parts/kafka/domtreeview.cpp4
-rw-r--r--quanta/parts/kafka/domtreeview.h4
-rw-r--r--quanta/parts/kafka/htmldocumentproperties.cpp32
-rw-r--r--quanta/parts/kafka/htmldocumentproperties.h2
-rw-r--r--quanta/parts/kafka/htmldocumentpropertiesui.ui9
-rw-r--r--quanta/parts/kafka/kafkadragobject.h2
-rw-r--r--quanta/parts/kafka/kafkahtmlpart.cpp42
-rw-r--r--quanta/parts/kafka/kafkahtmlpart.h2
-rw-r--r--quanta/parts/kafka/kafkasyncoptions.h2
-rw-r--r--quanta/parts/kafka/wkafkapart.cpp22
-rw-r--r--quanta/parts/kafka/wkafkapart.h2
-rw-r--r--quanta/parts/preview/CMakeLists.txt3
-rw-r--r--quanta/parts/preview/whtmlpart.cpp10
-rw-r--r--quanta/parts/preview/whtmlpart.h2
-rw-r--r--quanta/plugins/CMakeLists.txt3
-rw-r--r--quanta/plugins/pluginconfig.ui7
-rw-r--r--quanta/plugins/quantaplugin.cpp16
-rw-r--r--quanta/plugins/quantaplugin.h2
-rw-r--r--quanta/plugins/quantapluginconfig.cpp4
-rw-r--r--quanta/plugins/quantapluginconfig.h2
-rw-r--r--quanta/plugins/quantaplugineditor.cpp16
-rw-r--r--quanta/plugins/quantaplugineditor.h2
-rw-r--r--quanta/plugins/quantaplugininterface.cpp2
-rw-r--r--quanta/plugins/quantaplugininterface.h2
-rw-r--r--quanta/project/CMakeLists.txt3
-rw-r--r--quanta/project/eventconfigurationdlg.h2
-rw-r--r--quanta/project/eventconfigurationdlgs.ui11
-rw-r--r--quanta/project/eventeditordlg.h2
-rw-r--r--quanta/project/eventeditordlgs.ui7
-rw-r--r--quanta/project/membereditdlg.h2
-rw-r--r--quanta/project/membereditdlgs.ui20
-rw-r--r--quanta/project/project.cpp30
-rw-r--r--quanta/project/project.h2
-rw-r--r--quanta/project/projectnewfinal.h2
-rw-r--r--quanta/project/projectnewgeneral.cpp34
-rw-r--r--quanta/project/projectnewgeneral.h2
-rw-r--r--quanta/project/projectnewlocal.cpp28
-rw-r--r--quanta/project/projectnewlocal.h2
-rw-r--r--quanta/project/projectnewlocals.ui6
-rw-r--r--quanta/project/projectnewweb.cpp28
-rw-r--r--quanta/project/projectnewweb.h2
-rw-r--r--quanta/project/projectnewwebs.ui9
-rw-r--r--quanta/project/projectoptions.ui7
-rw-r--r--quanta/project/projectprivate.cpp88
-rw-r--r--quanta/project/projectprivate.h2
-rw-r--r--quanta/project/projectupload.cpp16
-rw-r--r--quanta/project/projectupload.h2
-rw-r--r--quanta/project/projectuploads.ui13
-rw-r--r--quanta/project/rescanprj.cpp40
-rw-r--r--quanta/project/rescanprj.h2
-rw-r--r--quanta/project/rescanprjdir.ui8
-rw-r--r--quanta/project/subprojecteditdlgs.ui3
-rw-r--r--quanta/project/teammembersdlg.h2
-rw-r--r--quanta/project/teammembersdlgs.ui17
-rw-r--r--quanta/project/uploadprofiledlgs.ui5
-rw-r--r--quanta/project/uploadprofilespage.ui7
-rw-r--r--quanta/quanta.tdevelop10
-rw-r--r--quanta/quanta_uml.xmi574
-rw-r--r--quanta/scripts/CMakeLists.txt4
-rw-r--r--quanta/scripts/Makefile.am4
-rw-r--r--quanta/scripts/TemplateMagic.pl4
-rw-r--r--quanta/scripts/checkxml.kmdr8
-rw-r--r--quanta/scripts/docbook_table.kmdr10
-rw-r--r--quanta/scripts/dwt.kmdr10
-rw-r--r--quanta/scripts/gubed_install.kmdr6
-rw-r--r--quanta/scripts/htmlquickstart.kmdr6
-rwxr-xr-xquanta/scripts/htmlquickstart5.kmdr997
-rw-r--r--quanta/scripts/htmlquickstart5.kmdr.info12
-rw-r--r--quanta/scripts/listwizard.kmdr8
-rw-r--r--quanta/scripts/meinproc.kmdr6
-rw-r--r--quanta/scripts/picturewizard.kmdr12
-rw-r--r--quanta/scripts/scriptinfo.kmdr24
-rw-r--r--quanta/scripts/tablewizard.kmdr14
-rw-r--r--quanta/scripts/tidy.kmdr22
-rw-r--r--quanta/scripts/xmlval.kmdr16
-rw-r--r--quanta/scripts/xsltproc.kmdr16
-rw-r--r--quanta/src/CMakeLists.txt42
-rw-r--r--quanta/src/document.cpp64
-rw-r--r--quanta/src/document.h2
-rw-r--r--quanta/src/dtds.cpp6
-rw-r--r--quanta/src/dtds.h2
-rw-r--r--quanta/src/kqapp.cpp8
-rw-r--r--quanta/src/kqapp.h6
-rw-r--r--quanta/src/quanta.cpp74
-rw-r--r--quanta/src/quanta.desktop94
-rw-r--r--quanta/src/quanta.h2
-rw-r--r--quanta/src/quanta_be.desktop91
-rw-r--r--quanta/src/quanta_init.cpp675
-rw-r--r--quanta/src/quanta_init.h2
-rw-r--r--quanta/src/quantadoc.cpp14
-rw-r--r--quanta/src/quantadoc.h2
-rw-r--r--quanta/src/quantaview.cpp32
-rw-r--r--quanta/src/quantaview.h2
-rw-r--r--quanta/src/viewmanager.cpp64
-rw-r--r--quanta/src/viewmanager.h2
-rw-r--r--quanta/src/x-webprj.desktop44
-rw-r--r--quanta/treeviews/CMakeLists.txt8
-rw-r--r--quanta/treeviews/basetreeview.cpp54
-rw-r--r--quanta/treeviews/basetreeview.h4
-rw-r--r--quanta/treeviews/doctreeview.cpp16
-rw-r--r--quanta/treeviews/doctreeview.h2
-rw-r--r--quanta/treeviews/filestreeview.cpp55
-rw-r--r--quanta/treeviews/filestreeview.h2
-rw-r--r--quanta/treeviews/newtemplatedirdlg.cpp4
-rw-r--r--quanta/treeviews/newtemplatedirdlg.h2
-rw-r--r--quanta/treeviews/projecttreeview.cpp72
-rw-r--r--quanta/treeviews/projecttreeview.h2
-rw-r--r--quanta/treeviews/quantapropertiespage.ui3
-rw-r--r--quanta/treeviews/scripttreeview.cpp22
-rw-r--r--quanta/treeviews/scripttreeview.h2
-rw-r--r--quanta/treeviews/servertreeview.cpp42
-rw-r--r--quanta/treeviews/servertreeview.h2
-rw-r--r--quanta/treeviews/structtreeview.cpp46
-rw-r--r--quanta/treeviews/structtreeview.h2
-rw-r--r--quanta/treeviews/tagattributeitems.cpp20
-rw-r--r--quanta/treeviews/tagattributetree.cpp22
-rw-r--r--quanta/treeviews/tagattributetree.h8
-rw-r--r--quanta/treeviews/templatedirform.ui10
-rw-r--r--quanta/treeviews/templatestreeview.cpp56
-rw-r--r--quanta/treeviews/templatestreeview.h2
-rw-r--r--quanta/treeviews/uploadtreeview.cpp10
-rw-r--r--quanta/treeviews/uploadtreeview.h2
-rw-r--r--quanta/utility/CMakeLists.txt4
-rw-r--r--quanta/utility/myprocess.h2
-rw-r--r--quanta/utility/newstuff.cpp4
-rw-r--r--quanta/utility/newstuff.h10
-rw-r--r--quanta/utility/qpevents.cpp2
-rw-r--r--quanta/utility/qpevents.h2
-rw-r--r--quanta/utility/quantabookmarks.cpp20
-rw-r--r--quanta/utility/quantabookmarks.h5
-rw-r--r--quanta/utility/tagaction.cpp40
-rw-r--r--quanta/utility/tagaction.h2
-rw-r--r--quanta/utility/tagactionset.cpp30
-rw-r--r--quanta/utility/tagactionset.h6
-rw-r--r--quanta/utility/toolbartabwidget.cpp54
-rw-r--r--quanta/utility/toolbartabwidget.h4
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/bg.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/ca.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/cs.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/da.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/de.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/el.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/es.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/et.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/eu.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/fa.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/fi.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/fr.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/gl.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/hu.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/is.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/it.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/ja.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/ka.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/kimagemapeditor-desktops.pot32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/lt.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/ms.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/nds.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/ne.po32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/nl.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/pa.po34
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/pl.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/pt.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/pt_BR.po32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/ru.po34
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/sk.po32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/sl.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/sr.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/sr@Latn.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/sv.po32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/ta.po32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/tg.po32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/tr.po32
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/uk.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/zh_CN.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/zh_HK.po33
-rw-r--r--translations/desktop_files/kimagemapeditor-desktops/zh_TW.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/bg.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/ca.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/cs.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/da.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/de.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/el.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/es.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/et.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/eu.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/fa.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/fi.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/fr.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/gl.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/hu.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/is.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/it.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/ja.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/ka.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/klinkstatus-desktops.pot32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/lt.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/ms.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/nds.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/ne.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/nl.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/pl.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/pt.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/pt_BR.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/ru.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/sk.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/sl.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/sr.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/sr@Latn.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/sv.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/ta.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/tg.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/tr.po33
-rw-r--r--translations/desktop_files/klinkstatus-desktops/uk.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/zh_CN.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/zh_HK.po32
-rw-r--r--translations/desktop_files/klinkstatus-desktops/zh_TW.po32
-rw-r--r--translations/desktop_files/kommander-desktops/bg.po56
-rw-r--r--translations/desktop_files/kommander-desktops/br.po54
-rw-r--r--translations/desktop_files/kommander-desktops/ca.po53
-rw-r--r--translations/desktop_files/kommander-desktops/cs.po54
-rw-r--r--translations/desktop_files/kommander-desktops/cy.po53
-rw-r--r--translations/desktop_files/kommander-desktops/da.po55
-rw-r--r--translations/desktop_files/kommander-desktops/de.po53
-rw-r--r--translations/desktop_files/kommander-desktops/el.po54
-rw-r--r--translations/desktop_files/kommander-desktops/en_GB.po53
-rw-r--r--translations/desktop_files/kommander-desktops/es.po56
-rw-r--r--translations/desktop_files/kommander-desktops/et.po54
-rw-r--r--translations/desktop_files/kommander-desktops/eu.po54
-rw-r--r--translations/desktop_files/kommander-desktops/fa.po54
-rw-r--r--translations/desktop_files/kommander-desktops/fi.po54
-rw-r--r--translations/desktop_files/kommander-desktops/fr.po54
-rw-r--r--translations/desktop_files/kommander-desktops/ga.po55
-rw-r--r--translations/desktop_files/kommander-desktops/gl.po55
-rw-r--r--translations/desktop_files/kommander-desktops/hi.po54
-rw-r--r--translations/desktop_files/kommander-desktops/hu.po55
-rw-r--r--translations/desktop_files/kommander-desktops/is.po55
-rw-r--r--translations/desktop_files/kommander-desktops/it.po54
-rw-r--r--translations/desktop_files/kommander-desktops/ja.po55
-rw-r--r--translations/desktop_files/kommander-desktops/ka.po56
-rw-r--r--translations/desktop_files/kommander-desktops/kommander-desktops.pot53
-rw-r--r--translations/desktop_files/kommander-desktops/lt.po54
-rw-r--r--translations/desktop_files/kommander-desktops/ms.po54
-rw-r--r--translations/desktop_files/kommander-desktops/nds.po53
-rw-r--r--translations/desktop_files/kommander-desktops/ne.po54
-rw-r--r--translations/desktop_files/kommander-desktops/nl.po54
-rw-r--r--translations/desktop_files/kommander-desktops/pa.po55
-rw-r--r--translations/desktop_files/kommander-desktops/pl.po53
-rw-r--r--translations/desktop_files/kommander-desktops/pt.po54
-rw-r--r--translations/desktop_files/kommander-desktops/pt_BR.po54
-rw-r--r--translations/desktop_files/kommander-desktops/ru.po53
-rw-r--r--translations/desktop_files/kommander-desktops/sk.po55
-rw-r--r--translations/desktop_files/kommander-desktops/sl.po54
-rw-r--r--translations/desktop_files/kommander-desktops/sr.po54
-rw-r--r--translations/desktop_files/kommander-desktops/sr@Latn.po54
-rw-r--r--translations/desktop_files/kommander-desktops/sv.po54
-rw-r--r--translations/desktop_files/kommander-desktops/ta.po54
-rw-r--r--translations/desktop_files/kommander-desktops/tg.po54
-rw-r--r--translations/desktop_files/kommander-desktops/tr.po54
-rw-r--r--translations/desktop_files/kommander-desktops/uk.po54
-rw-r--r--translations/desktop_files/kommander-desktops/zh_CN.po54
-rw-r--r--translations/desktop_files/kommander-desktops/zh_HK.po54
-rw-r--r--translations/desktop_files/kommander-desktops/zh_TW.po53
-rw-r--r--translations/desktop_files/kxsldbg-desktops/bg.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/br.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ca.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/cs.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/da.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/de.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/el.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/es.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/et.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/eu.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/fa.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/fi.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/fr.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ga.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/gl.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/hi.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/hu.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/is.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/it.po38
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ja.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/kxsldbg-desktops.pot37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/lt.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ms.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/nds.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ne.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/nl.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/pl.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/pt.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/pt_BR.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ro.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ru.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/sk.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/sl.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/sr.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/sr@Latn.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/sv.po38
-rw-r--r--translations/desktop_files/kxsldbg-desktops/ta.po38
-rw-r--r--translations/desktop_files/kxsldbg-desktops/tg.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/tr.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/uk.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/zh_CN.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/zh_HK.po37
-rw-r--r--translations/desktop_files/kxsldbg-desktops/zh_TW.po37
-rw-r--r--translations/desktop_files/quanta-desktops/bg.po75
-rw-r--r--translations/desktop_files/quanta-desktops/br.po73
-rw-r--r--translations/desktop_files/quanta-desktops/ca.po76
-rw-r--r--translations/desktop_files/quanta-desktops/cs.po74
-rw-r--r--translations/desktop_files/quanta-desktops/da.po76
-rw-r--r--translations/desktop_files/quanta-desktops/de.po76
-rw-r--r--translations/desktop_files/quanta-desktops/el.po76
-rw-r--r--translations/desktop_files/quanta-desktops/es.po76
-rw-r--r--translations/desktop_files/quanta-desktops/et.po75
-rw-r--r--translations/desktop_files/quanta-desktops/eu.po76
-rw-r--r--translations/desktop_files/quanta-desktops/fa.po76
-rw-r--r--translations/desktop_files/quanta-desktops/fi.po75
-rw-r--r--translations/desktop_files/quanta-desktops/fr.po76
-rw-r--r--translations/desktop_files/quanta-desktops/ga.po74
-rw-r--r--translations/desktop_files/quanta-desktops/gl.po75
-rw-r--r--translations/desktop_files/quanta-desktops/hi.po75
-rw-r--r--translations/desktop_files/quanta-desktops/hu.po76
-rw-r--r--translations/desktop_files/quanta-desktops/is.po76
-rw-r--r--translations/desktop_files/quanta-desktops/it.po76
-rw-r--r--translations/desktop_files/quanta-desktops/ja.po75
-rw-r--r--translations/desktop_files/quanta-desktops/ka.po76
-rw-r--r--translations/desktop_files/quanta-desktops/lt.po76
-rw-r--r--translations/desktop_files/quanta-desktops/ms.po76
-rw-r--r--translations/desktop_files/quanta-desktops/nds.po76
-rw-r--r--translations/desktop_files/quanta-desktops/ne.po75
-rw-r--r--translations/desktop_files/quanta-desktops/nl.po76
-rw-r--r--translations/desktop_files/quanta-desktops/pl.po76
-rw-r--r--translations/desktop_files/quanta-desktops/pt.po76
-rw-r--r--translations/desktop_files/quanta-desktops/pt_BR.po76
-rw-r--r--translations/desktop_files/quanta-desktops/quanta-desktops.pot73
-rw-r--r--translations/desktop_files/quanta-desktops/ro.po74
-rw-r--r--translations/desktop_files/quanta-desktops/ru.po77
-rw-r--r--translations/desktop_files/quanta-desktops/sk.po76
-rw-r--r--translations/desktop_files/quanta-desktops/sl.po76
-rw-r--r--translations/desktop_files/quanta-desktops/sr.po76
-rw-r--r--translations/desktop_files/quanta-desktops/sr@Latn.po76
-rw-r--r--translations/desktop_files/quanta-desktops/sv.po75
-rw-r--r--translations/desktop_files/quanta-desktops/ta.po75
-rw-r--r--translations/desktop_files/quanta-desktops/tg.po76
-rw-r--r--translations/desktop_files/quanta-desktops/tr.po76
-rw-r--r--translations/desktop_files/quanta-desktops/uk.po76
-rw-r--r--translations/desktop_files/quanta-desktops/zh_CN.po74
-rw-r--r--translations/desktop_files/quanta-desktops/zh_HK.po74
-rw-r--r--translations/desktop_files/quanta-desktops/zh_TW.po74
1221 files changed, 25827 insertions, 6697 deletions
diff --git a/.gitmodules b/.gitmodules
index bdec8fca..934def7f 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,3 @@
[submodule "admin"]
path = admin
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
-[submodule "cmake"]
- path = cmake
- url = https://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 74d04a87..bfff7e4d 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -9,12 +9,15 @@
#
#################################################
-cmake_minimum_required( VERSION 2.8 )
+
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################
-set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEL10n )
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78055bab..84420a6e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,12 @@
#
#################################################
-cmake_minimum_required( VERSION 2.8 )
+
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
+tde_set_project_version( )
##### general package setup #####################
@@ -19,18 +24,16 @@ project( tdewebdev )
##### include essential cmake modules ###########
+include( FindPkgConfig )
+include( CheckFunctionExists )
+include( CheckIncludeFile )
+include( CheckLibraryExists )
+include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
-include( CheckFunctionExists )
-include( CheckIncludeFileCXX )
-include( CheckStructHasMember )
-include( CheckSymbolExists )
-include( CheckTypeSize )
-include( FindPkgConfig )
##### include our cmake modules #################
-set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
@@ -40,18 +43,29 @@ include( TDESetupPaths )
tde_setup_paths( )
-##### optional stuff ############################
+##### optional stuff
+
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
+option( WITH_OTHER_EDITORS "Build with other editors than kate" ${WITH_ALL_OPTIONS} )
+option( WITH_QUANTA_CVSSERVICE "Build quanta with cvs service support" ${WITH_ALL_OPTIONS} )
-# option( WITH_LIBVISUAL "Enable libvisual support" OFF )
-# option( WITH_KONQSIDEBAR "Enable konqsidebar plugin" OFF )
-# option( WITH_XINE "Enable xine-engine support" OFF )
-# option( WITH_LIBGPOD "Enable iPod support from libgpod" OFF )
+##### user requested modules
-##### user requested modules ####################
+option( BUILD_ALL "Build all" ON )
+option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} )
+option( BUILD_KXSLDBG "Build kxsldbg" ${BUILD_ALL} )
+option( BUILD_KOMMANDER "Build Kommander" ${BUILD_ALL} )
+option( BUILD_KLINKSTATUS "Build klinkstatus" ${BUILD_ALL} )
+option( BUILD_KIMAGEMAPEDITOR "Build kimagemapeditor" ${BUILD_ALL} )
+option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
-option( BUILD_ALL "Build all" OFF )
-option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} )
+
+##### user defined options
+
+set( XSLDBG_BIN "xsldbg" CACHE STRING "Name of the xsldbg executable" )
+set( KMDR_EXECUTOR_PATH "${CMAKE_INSTALL_PREFIX}/bin/kmdr-executor" CACHE STRING "Path for the kmdr-executor executable" )
##### configure checks ##########################
@@ -61,23 +75,22 @@ include( ConfigureChecks.cmake )
###### global compiler settings #################
-add_definitions(
- -DHAVE_CONFIG_H
- ${TQT_CFLAGS_OTHER}
-)
+add_definitions( -DHAVE_CONFIG_H )
-set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" )
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### source directories ########################
-if( BUILD_QUANTA )
- add_subdirectory( lib )
-endif( )
-
-tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_QUANTA lib )
+tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
+tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
+tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
+tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
+tde_conditional_add_subdirectory( BUILD_DOC doc )
##### write configure files #####################
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b7d6dc10..7fc1c49b 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -9,43 +9,202 @@
#
#################################################
-##### check for gcc visibility support #########
-# FIXME
-# This should check for [T]Qt3 visibility support
+# required stuff
+find_package( TQt )
+find_package( TDE )
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+
+##### check for gcc visibility support
if( WITH_GCC_VISIBILITY )
- if( NOT UNIX )
- tde_message_fatal(FATAL_ERROR "\ngcc visibility support was requested, but your system is not *NIX" )
- endif( NOT UNIX )
- set( __KDE_HAVE_GCC_VISIBILITY 1 )
- set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
-endif( )
-
-
-# libxml-2.0
-if( BUILD_QUANTA )
- pkg_search_module( LIBXML libxml-2.0 )
- if( LIBXML_FOUND )
- if( ${LIBXML_VERSION} VERSION_LESS "2.6" )
- tde_message_fatal( "libxml-2.0 version must be at least 2.6" )
- endif( )
- else( )
- tde_message_fatal( "libxml-2.0 are required, but not found on your system" )
- endif( )
-endif( )
-
-
-# libxslt
-if( BUILD_QUANTA )
- pkg_search_module( LIBXSLT libxslt )
- if( NOT LIBXSLT_FOUND )
- tde_message_fatal( "libxslt are required, but not found on your system" )
- endif( )
-endif( )
+ tde_setup_gcc_visibility( )
+endif( WITH_GCC_VISIBILITY )
-# required stuff
-find_package( Qt )
-find_package( TQt )
-find_package( TDE )
+##### find X11
+
+find_package( X11)
+
+
+##### check for headers
+
+check_include_file( unistd.h HAVE_UNISTD_H )
+check_include_file( string.h HAVE_STRING_H )
+check_include_file( sys/time.h HAVE_SYS_TIME_H )
+check_include_file( sys/stat.h HAVE_SYS_STAT_H )
+check_include_file( stdlib.h HAVE_STDLIB_H )
+check_include_file( stdarg.h HAVE_STDARG_H )
+check_include_file( time.h HAVE_TIME_H )
+check_include_file( locale.h LOCALE_PREFIX )
+check_include_file( pthread.h USE_XSLDBG_AS_THREAD )
+
+
+##### check for functions
+
+check_function_exists( gettimeofday HAVE_GETTIMEOFDAY )
+check_function_exists( usleep HAVE_USLEEP )
+check_function_exists( stat HAVE_STAT )
+
+
+if( (BUILD_QUANTA) OR (BUILD_KXSLDBG) OR (BUILD_KLINKSTATUS) )
+
+##### check for icu's c++ standard
+
+ pkg_search_module( ICU_UC icu-uc )
+ tde_execute_process(
+ COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=CXXFLAGS icu-uc
+ OUTPUT_VARIABLE ICU_CXXFLAGS
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+
+
+##### check for libxml-2.0
+
+ pkg_search_module( LIBXML libxml-2.0>=2.6 )
+
+ if( NOT LIBXML_FOUND )
+ tde_message_fatal( "libxml-2.0 version >= 2.6 is required but was not found on your system" )
+ endif( NOT LIBXML_FOUND )
+
+
+##### check for libxslt
+
+ pkg_search_module( LIBXSLT libxslt )
+
+ if( NOT LIBXSLT_FOUND )
+ tde_message_fatal( "libxslt are required, but not found on your system" )
+ endif( NOT LIBXSLT_FOUND )
+
+
+ if( BUILD_QUANTA )
+ if( WITH_QUANTA_CVSSERVICE )
+ tde_import( cervisia )
+ find_file( CVSSERVICE_HEADERS NAMES repository_stub.h cvsservice_stub.h cvsjob_stub.h )
+ if( CVSSERVICE_HEADERS )
+ set( ENABLE_CVSSERVICE 1 )
+ set( CVSSERVICE_LIBRARIES "cvsservice-static;cvsservice-shared" CACHE INTERNAL "tdesdk and embedded cvssercice libs" FORCE )
+ else()
+ tde_message_fatal( "csv service (cervisia) is required for quanta but not found on your system." )
+ endif()
+ endif()
+
+ find_program( WGET_EXECUTABLE wget )
+ if( NOT WGET_EXECUTABLE )
+ message( STATUS "wget (download utility) installation is advised since some quanta's features will make use of It." )
+ endif()
+
+ find_program( TIDY_EXECUTABLE NAMES tidy tidy5 )
+ if( NOT TIDY_EXECUTABLE )
+ message( STATUS "tidy (HTML/XML syntax checker) installation is advised since some quanta's features will make use of It." )
+ endif()
+
+ find_program( TDEFILEREPLACE_EXECUTABLE tdefilereplace )
+ if( NOT TDEFILEREPLACE_EXECUTABLE )
+ message( STATUS "tdefilereplace (Batch search and replace tool - tdeutils) installation is advised since some quanta's features will make use of It." )
+ endif()
+
+ find_program( KOMPARE_EXECUTABLE kompare )
+ if( NOT KOMPARE_EXECUTABLE )
+ message( STATUS "kompare (diff utility - tdesdk) installation is advised since some quanta's features will make use of It." )
+ endif()
+ endif( BUILD_QUANTA )
+
+
+ if( BUILD_KXSLDBG )
+ find_package( Threads )
+
+ tde_save( CMAKE_REQUIRED_INCLUDES )
+ set( CMAKE_REQUIRED_INCLUDES ${LIBXML_INCLUDE_DIRS} )
+ set( LIBXML_DOCB_ENABLED 1 CACHE BOOL "Enable docbook input files" )
+ check_include_file( "libxml/xinclude.h" LIBXML_XINCLUDE_ENABLED )
+ tde_restore( CMAKE_REQUIRED_INCLUDES )
+
+
+##### check for libexslt
+
+ pkg_search_module( LIBEXSLT libexslt )
+ if( NOT LIBEXSLT_FOUND )
+ tde_message_fatal( "libexlt is required but was not found on your system" )
+ endif()
+
+
+##### check for readline
+
+ find_path( READLINE_INCLUDE_DIR
+ NAMES "readline/readline.h" "readline/history.h"
+ HINTS "/usr/include" "/usr/local/include"
+ DOC "Looking for readline header's path"
+ )
+ find_library( READLINE_LIBRARY
+ NAMES readline history
+ DOC "Looking for readline libraries"
+ )
+
+ if( (READLINE_INCLUDE_DIR) AND ( READLINE_LIBRARY ) )
+ set( HAVE_READLINE 1 )
+ set( HAVE_HISTORY 1 )
+ set( READLINE_LIBRARIES ${READLINE_LIBRARY} )
+ set( READLINE_INCLUDE_DIRS ${READLINE_INCLUDE_DIR} )
+ else()
+ tde_message_fatal( "readline is required but was not found on your system" )
+ endif()
+
+##### look for Curses
+
+ tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${READLINE_INCLUDE_DIRS} )
+ tde_save_and_set( CMAKE_REQUIRED_LIBRARIES ${READLINE_LIBRARIES} )
+ check_c_source_compiles("
+ #include <readline/readline.h>
+ int main(void)
+ {
+ char *result = readline(\"prompt\");
+ return 0;
+ }"
+ BUILD_READLINE_STANDALONE
+ )
+ if( NOT BUILD_READLINE_STANDALONE )
+ find_package( Curses )
+ if( NOT CURSES_FOUND )
+ tde_message_fatal( "(n)curses is required but was not found on your system" )
+ endif()
+ list( APPEND READLINE_LIBRARIES ${CURSES_LIBRARIES} )
+ endif()
+ tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+ endif( BUILD_KXSLDBG )
+endif( (BUILD_QUANTA) OR (BUILD_KXSLDBG) OR (BUILD_KLINKSTATUS) )
+
+
+##### option other editors
+
+if( WITH_OTHER_EDITORS )
+ set( ENABLE_EDITORS 1 )
+endif( WITH_OTHER_EDITORS )
+
+
+##### define TQTDOCDIR
+
+if( BUILD_KOMMANDER )
+ if( NOT DEFINED TQTDOCDIR )
+ find_path( TQT_DOCDIR ntqsql.html
+ PATHS
+ ${TQTDIR}/doc/html $ENV{TQTDIR}/doc/html
+ /opt/trinity/share/tqt3/doc/html
+ /usr/share/doc/packages/tqt3/html
+ /usr/lib/tqt3/doc
+ /usr/lib/tqt3/doc/html
+ /usr/doc/tqt3/html
+ /usr/doc/tqt3
+ /usr/share/doc/tqt3-doc
+ /usr/share/tqt3/doc/html
+ /usr/X11R6/share/doc/tqt/html
+ )
+ if( TQT_DOCDIR )
+ set( TQTDOCDIR "${TQT_DOCDIR}" )
+ endif()
+ endif()
+endif( BUILD_KOMMANDER )
diff --git a/admin b/admin
-Subproject 68f23556e638353e46b444d3a4863a64936bd36
+Subproject 59a8bf7c09f87fbccd6dc2987145c7216e043e7
diff --git a/cmake b/cmake
deleted file mode 160000
-Subproject 5121b9a41d671dbaf7350c349d246793d8d8a4e
diff --git a/config.h.cmake b/config.h.cmake
index e69de29b..2e2ebdf4 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -0,0 +1,71 @@
+#define VERSION "@VERSION@"
+
+// Defined if you have fvisibility and fvisibility-inlines-hidden support.
+#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#cmakedefine HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#cmakedefine HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#cmakedefine HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#cmakedefine HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#cmakedefine HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <stdarg.h> header file. */
+#cmakedefine HAVE_STDARG_H 1
+
+/* Define to 1 if you have the <time.h> header file. */
+#cmakedefine HAVE_TIME_H 1
+
+/* Define to 1 if you have the <pthread.h> header file. */
+#cmakedefine USE_XSLDBG_AS_THREAD 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+//#cmakedefine LOCALE_PREFIX 1
+
+/* Define to 1 if you have the <readline/readline.h> header file. */
+#cmakedefine HAVE_READLINE @HAVE_READLINE@
+
+/* Define to 1 if you have the 'gettimeofday' function */
+#cmakedefine HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if you have the 'usleep' function */
+#cmakedefine HAVE_USLEEP 1
+
+/* Define to 1 if you have the 'stat' function */
+#cmakedefine HAVE_STAT 1
+
+/* Define to 1 if you have the <readline/history.h> header file. */
+#cmakedefine HAVE_HISTORY @HAVE_HISTORY@
+
+/* Define the name of the xsldbg executable */
+#cmakedefine XSLDBG_BIN "@XSLDBG_BIN@"
+
+/* Defined if you build build for other editors than Kate */
+#cmakedefine ENABLE_EDITORS 1
+
+/* Defined if you build with cvsservice */
+#cmakedefine ENABLE_CVSSERVICE 1
+
+/* Defined if you build with enabled docbook input files */
+#cmakedefine LIBXML_DOCB_ENABLED
+
+/* Defined if you have <libxml/xinclude.h> header file */
+#cmakedefine LIBXML_XINCLUDE_ENABLED
+
+/* Define the kmdr-executor executable path */
+#cmakedefine KMDR_EXECUTOR_PATH "@KMDR_EXECUTOR_PATH@"
+
+/* Define TQTDOCDIR PATH */
+#cmakedefine TQTDOCDIR "@TQTDOCDIR@"
diff --git a/configure.in.in b/configure.in.in
index e7dceea1..b258738e 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -40,144 +40,147 @@ dnl the ability to specify the location of the libxml
dnl library during linking and compilation.
dnl Mathieu Lacage 30/03/2000
dnl
-LIBXML_PREFIX=""
-AC_ARG_WITH(libxml-prefix,
- [ --with-libxml-prefix=[PFX] Specify location of libxml],
- LIBXML_PREFIX="$withval"
-)
-
-if test "x${LIBXML_PREFIX}" != "x"
-then
- AC_MSG_RESULT(Using a libxml prefix of ${LIBXML_PREFIX})
-fi
-
-
-AC_SUBST(LIBXML_LIBS)
-dnl Test for libxml2 version
-XML_CONFIG="xml2-config"
-AC_MSG_CHECKING(for libxml libraries >= "2.6.0")
-XML_WARNING=""
-if test "x$LIBXML_PREFIX" != "x"
-then
- if ${LIBXML_PREFIX}/bin/xml2-config --libs print > /dev/null 2>&1
- then
- XML_CONFIG=${LIBXML_PREFIX}/bin/xml2-config
- else
- XML_WARNING="1"
- XML_CONFIG=xml2-config
- fi
-fi
+KDE_PKG_CHECK_MODULES(LIBXML, libxml-2.0,
+ have_libxml=yes, have_libxml=no)
-AC_DEFUN([VERSION_TO_NUMBER],
-[`$1 | sed -e 's/libxml //' | $AWK 'BEGIN { FS = "."; } { printf "%d",
- ([$]1* 1000 + [$]2) * 1000 + [$]3;}'`])
+if test "x$have_libxml" != "xyes"; then
+ LIBXML_PREFIX=""
+ AC_ARG_WITH(libxml-prefix,
+ [ --with-libxml-prefix=[PFX] Specify location of libxml],
+ LIBXML_PREFIX="$withval"
+ )
-dnl
-dnl test version and init our variables
-dnl
-if test "x$XML_CONFIG" != "x"
-then
- vers=VERSION_TO_NUMBER($XML_CONFIG --version)
- if test "$vers" -lt VERSION_TO_NUMBER(echo "2.6.0")
- then
- CXXFLAGS="$CXXFLAGS -DLIBXML_2_5"
- AC_MSG_RESULT(not found - assuming 2.5.x)
- else
- AC_MSG_RESULT(found)
- fi
- LIBXML_LIBS="`$XML_CONFIG --libs`"
- LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
- LIBXML_PREFIX="$XML_CONFIG --prefix"
-else
- AC_MSG_ERROR(Could not find libxml2 anywhere, check ftp://xmlsoft.org/.)
-fi
+ if test "x${LIBXML_PREFIX}" != "x"
+ then
+ AC_MSG_RESULT(Using a libxml prefix of ${LIBXML_PREFIX})
+ fi
+
+ dnl Test for libxml2 version
+ XML_CONFIG="xml2-config"
+ AC_MSG_CHECKING(for libxml libraries >= "2.6.0")
+ XML_WARNING=""
+ if test "x$LIBXML_PREFIX" != "x"
+ then
+ if ${LIBXML_PREFIX}/bin/xml2-config --libs print > /dev/null 2>&1
+ then
+ XML_CONFIG=${LIBXML_PREFIX}/bin/xml2-config
+ else
+ XML_WARNING="1"
+ XML_CONFIG=xml2-config
+ fi
+ fi
+
+ AC_DEFUN([VERSION_TO_NUMBER],
+ [`$1 | sed -e 's/libxml //' | $AWK 'BEGIN { FS = "."; } { printf "%d",
+ ([$]1* 1000 + [$]2) * 1000 + [$]3;}'`])
+
+ dnl
+ dnl test version and init our variables
+ dnl
+ if test "x$XML_CONFIG" != "x"
+ then
+ vers=VERSION_TO_NUMBER($XML_CONFIG --version)
+ if test "$vers" -lt VERSION_TO_NUMBER(echo "2.6.0")
+ then
+ CXXFLAGS="$CXXFLAGS -DLIBXML_2_5"
+ AC_MSG_RESULT(not found - assuming 2.5.x)
+ else
+ AC_MSG_RESULT(found)
+ fi
+ LIBXML_LIBS="`$XML_CONFIG --libs`"
+ LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
+ LIBXML_PREFIX="$XML_CONFIG --prefix"
+ else
+ AC_MSG_ERROR(Could not find libxml2 anywhere, check ftp://xmlsoft.org/.)
+ fi
-if test "x${XML_WARNING}" != "x"
-then
- AC_MSG_RESULT(
-!!Warning!! using xml2-config in default path
-)
+ if test "x${XML_WARNING}" != "x"
+ then
+ AC_MSG_RESULT(
+ !!Warning!! using xml2-config in default path
+ )
+ fi
fi
-LIBXML_PREFIX_DIR="`$XML_CONFIG --prefix`"
-
-AC_SUBST(XML_CONFIG)
-AC_SUBST(LIBXML_PREFIX)
AC_SUBST(LIBXML_LIBS)
AC_SUBST(LIBXML_CFLAGS)
-LIBXSLT_PREFIX=""
-AC_ARG_WITH(libxslt-prefix,
- [ --with-libxslt-prefix=[PFX] Specify location of libxslt],
- LIBXSLT_PREFIX="$withval"
-)
-
-if test "x${LIBXSLT_PREFIX}" != "x"
-then
- AC_MSG_RESULT(Using a libxslt prefix of ${LIBXSLT_PREFIX})
-fi
-
-dnl
-dnl find libxslt
-dnl
-XSLT_CONFIG="xslt-config"
-XSLT_WARNING=""
-AC_SUBST(LIBXSLT_REQUIRED_VERSION)
-AC_MSG_CHECKING(for libxslt libraries >= $LIBXSLT_REQUIRED_VERSION)
-if test "x$LIBXSLT_PREFIX" != "x"
-then
- if ${LIBXSLT_PREFIX}/bin/xslt-config --libs print > /dev/null 2>&1
- then
- XSLT_CONFIG=${LIBXSLT_PREFIX}/bin/xslt-config
- else
- XSLT_WARNING="1"
- XSLT_CONFIG=xslt-config
- fi
-fi
+KDE_PKG_CHECK_MODULES(LIBXSLT, libexslt,
+ have_libexslt=yes, have_libexslt=no)
-AC_DEFUN([VERSION_TO_NUMBER],
-[`$1 | sed -e 's/libxslt //' | $AWK 'BEGIN { FS = "."; } { printf "%d",
- ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`])
+if test "x$have_libexslt" != "xyes"; then
+ LIBXSLT_PREFIX=""
+ AC_ARG_WITH(libxslt-prefix,
+ [ --with-libxslt-prefix=[PFX] Specify location of libxslt],
+ LIBXSLT_PREFIX="$withval"
+ )
-dnl
-dnl test version and init our variables
-dnl
-if test "x$XSLT_CONFIG" != "x"
-then
- vers=VERSION_TO_NUMBER($XSLT_CONFIG --version)
- if test "$vers" -ge VERSION_TO_NUMBER(echo $LIBXSLT_REQUIRED_VERSION)
- then
- LIBXSLT_LIBS="-lexslt `$XSLT_CONFIG --libs`"
- LIBXSLT_CFLAGS="`$XSLT_CONFIG --cflags`"
- AC_MSG_RESULT(found)
- if test "x$LIBXSLT_PREFIX" != "x"
- then
- AC_MSG_RESULT(
-Don't forget to make sure that ${LIBXSLT_PREFIX}/lib has been added
- to your LD_LIBRARY_PATH environment variable)
+ if test "x${LIBXSLT_PREFIX}" != "x"
+ then
+ AC_MSG_RESULT(Using a libxslt prefix of ${LIBXSLT_PREFIX})
+ fi
+
+ dnl
+ dnl find libxslt
+ dnl
+ XSLT_CONFIG="xslt-config"
+ XSLT_WARNING=""
+ AC_SUBST(LIBXSLT_REQUIRED_VERSION)
+ AC_MSG_CHECKING(for libxslt libraries >= $LIBXSLT_REQUIRED_VERSION)
+ if test "x$LIBXSLT_PREFIX" != "x"
+ then
+ if ${LIBXSLT_PREFIX}/bin/xslt-config --libs print > /dev/null 2>&1
+ then
+ XSLT_CONFIG=${LIBXSLT_PREFIX}/bin/xslt-config
+ else
+ XSLT_WARNING="1"
+ XSLT_CONFIG=xslt-config
+ fi
+ fi
+
+
+ AC_DEFUN([VERSION_TO_NUMBER],
+ [`$1 | sed -e 's/libxslt //' | $AWK 'BEGIN { FS = "."; } { printf "%d",
+ ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`])
+
+ dnl
+ dnl test version and init our variables
+ dnl
+ if test "x$XSLT_CONFIG" != "x"
+ then
+ vers=VERSION_TO_NUMBER($XSLT_CONFIG --version)
+ if test "$vers" -ge VERSION_TO_NUMBER(echo $LIBXSLT_REQUIRED_VERSION)
+ then
+ LIBXSLT_LIBS="-lexslt `$XSLT_CONFIG --libs`"
+ LIBXSLT_CFLAGS="`$XSLT_CONFIG --cflags`"
+ AC_MSG_RESULT(found)
+ if test "x$LIBXSLT_PREFIX" != "x"
+ then
+ AC_MSG_RESULT(
+ Don't forget to make sure that ${LIBXSLT_PREFIX}/lib has been added
+ to your LD_LIBRARY_PATH environment variable)
+ else
+ LIBXSLT_PREFIX="$XSLT_CONFIG --prefix"
+ fi
+ else
+ AC_MSG_ERROR(You need at least libxslt $LIBXSLT_REQUIRED_VERSION for this
+ version of xsldbg)
+ fi
else
- LIBXSLT_PREFIX="$XSLT_CONFIG --prefix"
- fi
- else
- AC_MSG_ERROR(You need at least libxslt $LIBXSLT_REQUIRED_VERSION for this
- version of xsldbg)
- fi
-else
- AC_MSG_ERROR(Could not find libxslt anywhere, check
- ftp://xmlsoft.org/XSLT/.)
-fi
+ AC_MSG_ERROR(Could not find libxslt anywhere, check
+ ftp://xmlsoft.org/XSLT/.)
+ fi
-if test "x${XSLT_WARNING}" != "x"
-then
- AC_MSG_RESULT(
-!!Warning!! using xslt-config in default path
-)
+ if test "x${XSLT_WARNING}" != "x"
+ then
+ AC_MSG_RESULT(
+ !!Warning!! using xslt-config in default path
+ )
+ fi
fi
-AC_SUBST(XSLT_CONFIG)
-AC_SUBST(LIBXSLT_PREFIX)
AC_SUBST(LIBXSLT_LIBS)
AC_SUBST(LIBXSLT_CFLAGS)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index dc6bb770..27232392 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,12 +1,8 @@
-#################################################
-#
-# (C) 2012 Golubev Alexander
-# fatzer2 (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
+add_subdirectory( man )
-tde_auto_add_subdirectories( )
+tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG xsldbg )
+tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
+tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
+tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
diff --git a/doc/kimagemapeditor/CMakeLists.txt b/doc/kimagemapeditor/CMakeLists.txt
new file mode 100644
index 00000000..cd7e12b9
--- /dev/null
+++ b/doc/kimagemapeditor/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION kimagemapeditor )
diff --git a/doc/klinkstatus/CMakeLists.txt b/doc/klinkstatus/CMakeLists.txt
new file mode 100644
index 00000000..39be9f18
--- /dev/null
+++ b/doc/klinkstatus/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION klinkstatus )
diff --git a/doc/klinkstatus/index.docbook b/doc/klinkstatus/index.docbook
index ff2a0cdb..3544d321 100644
--- a/doc/klinkstatus/index.docbook
+++ b/doc/klinkstatus/index.docbook
@@ -483,16 +483,3 @@ dicer-toaster daemon first, or &klinkstatus; won't work !</para>
&documentation.index;
</book>
-
-<!--
-Local Variables:
-mode: sgml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
-
-vim:tabstop=2:shiftwidth=2:expandtab
--->
-
diff --git a/doc/kommander/CMakeLists.txt b/doc/kommander/CMakeLists.txt
new file mode 100644
index 00000000..fabb11a5
--- /dev/null
+++ b/doc/kommander/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION kommander )
diff --git a/doc/kommander/dcop.docbook b/doc/kommander/dcop.docbook
index 1fd7c170..e13db5e6 100644
--- a/doc/kommander/dcop.docbook
+++ b/doc/kommander/dcop.docbook
@@ -30,7 +30,7 @@ This assumes you are inside a &kommander; file and have access to the special @p
&kommander; evolved the much faster internal &DCOP; function. Using it from another application window (console &DCOP; is very slow) is more complicated because you must give lots of information, including a prototype of the call. The above call would become: (Note that @dcopid is actually internal to the dialog, but you could replace it with a valid process ID)
</para>
<screen>
-@dcop(@dcopid, KommanderIf, <quote>enableWidget(QString, bool)</quote>, Widget, true)
+@dcop(@dcopid, KommanderIf, <quote>enableWidget(TQString, bool)</quote>, Widget, true)
</screen>
<para>
In the early &kommander; nesting &DCOP; calls inside script language structures (like <application>bash</application>) used console method calls. <emphasis>If you use internal &DCOP; all &kommander; specials will be executed first and then the script will be executed.</emphasis> Please read that again as it will cause you no end of grief with a <application>bash</application> loop using &kommander; specials.
@@ -49,7 +49,7 @@ As you can see the new syntax is very easy, as well as consistent visually with
<title>&DCOP; for Global Variables</title>
<variablelist>
<varlistentry>
-<term>global(QString variableName)</term>
+<term>global(TQString variableName)</term>
<listitem>
<para>
Returns the value of the specified global variable. When a script is run from within a &kommander; window any (non-global) variables set in that script will cease to exist after the script completes and therfore will not be available to other script processes or in a new instance of the calling process. The global <quote>scope</quote> means the variable will exist for any process of the window until that window is closed. You may change these variables at any time with a new call to <function>@setGlobal</function>.
@@ -57,10 +57,10 @@ Returns the value of the specified global variable. When a script is run from w
</listitem>
</varlistentry>
<varlistentry>
-<term>setGlobal(QString variableName, QString value)</term>
+<term>setGlobal(TQString variableName, TQString value)</term>
<listitem>
<para>
-Creates a variable that is global to the window process and assigns the value to it. This value can be retrieved with global(QString variableName) or set again.
+Creates a variable that is global to the window process and assigns the value to it. This value can be retrieved with global(TQString variableName) or set again.
</para>
</listitem>
</varlistentry>
@@ -75,7 +75,7 @@ The following list is old and left here for reference purposes only. For a compl
</para>
<variablelist>
<varlistentry>
-<term>setText(QString text)</term>
+<term>setText(TQString text)</term>
<listitem>
<para>
This removes the text displayed in the widget and replaces it with the text supplied.
@@ -99,7 +99,7 @@ Returns the text associated with the specified widget. This is not the same as
</listitem>
</varlistentry>
<varlistentry>
-<term>setAssociatedText(QString text)</term>
+<term>setAssociatedText(TQString text)</term>
<listitem>
<para>
This sets the &kommander; Text default string. This is typically set to <quote>@widgetText</quote> to display what is entered into the widget. It is unlikely you will have much need for this, but if you do it is there. Applies to all widgets that can contain data.
@@ -113,7 +113,7 @@ This sets the &kommander; Text default string. This is typically set to <quote>
<title>&DCOP; for ListBox and ComboBox Widgets</title>
<variablelist>
<varlistentry>
-<term>addListItem(QString item, int index)</term>
+<term>addListItem(TQString item, int index)</term>
<listitem>
<para>
Adds an item to a ListBox widget at the specified index. List index starts at zero. To add to the end of the list use -1.
@@ -129,7 +129,7 @@ This adds a list of strings all at once. The list should be delimited by <acron
</listitem>
</varlistentry>
<varlistentry>
-<term>addUniqueItem(QString item)</term>
+<term>addUniqueItem(TQString item)</term>
<listitem>
<para>
addUniqueItem will add an item to the end of the list only if it is unique.
@@ -175,7 +175,7 @@ Set the current (or selected) item to the index specified. Applies to ListBox a
<title>&DCOP; for CheckBox and RadioButton Widgets</title>
<variablelist>
<varlistentry>
-<term>setChecked(QString widgetName, bool checked)</term>
+<term>setChecked(TQString widgetName, bool checked)</term>
<listitem>
<para>
Checks/unchecks CheckBox or RadioButton widgets.
@@ -189,7 +189,7 @@ Checks/unchecks CheckBox or RadioButton widgets.
<title>&DCOP; for TabWidget Widgets</title>
<variablelist>
<varlistentry>
-<term>setCurrentTab(QString widgetName, int index)</term>
+<term>setCurrentTab(TQString widgetName, int index)</term>
<listitem>
<para>
Selected the tab by index for TabWidgets. Index starts at 0.
diff --git a/doc/kommander/extending.docbook b/doc/kommander/extending.docbook
index f4323828..8c5fce1c 100644
--- a/doc/kommander/extending.docbook
+++ b/doc/kommander/extending.docbook
@@ -61,33 +61,33 @@ dialog, we get something like this in the generated header file:
class QShowEvent;
class KomLineEdit : public KLineEdit, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
- TQ_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
+ TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
TQ_PROPERTY(bool KommanderWidget READ isKommanderWidget)
public:
- KomLineEdit(QWidget *a_parent, const char *a_name);
+ KomLineEdit(TQWidget *a_parent, const char *a_name);
~KomLineEdit();
- virtual QString widgetText() const;
+ virtual TQString widgetText() const;
virtual bool isKommanderWidget() const;
virtual void setAssociatedText(const QStringList&amp;);
virtual QStringList associatedText() const;
- virtual QString currentState() const;
+ virtual TQString currentState() const;
- virtual QString populationText() const;
- virtual void setPopulationText(const QString&amp;);
+ virtual TQString populationText() const;
+ virtual void setPopulationText(const TQString&amp;);
public slots:
- virtual void setWidgetText(const QString &amp;);
+ virtual void setWidgetText(const TQString &amp;);
virtual void populate();
protected:
void showEvent( QShowEvent *e );
signals:
void widgetOpened();
- void widgetTextChanged(const QString &amp;);
+ void widgetTextChanged(const TQString &amp;);
};
</screen>
<para>Most of this is just template code that you don't need to worry about.
@@ -99,7 +99,7 @@ widget we wish to integrate with &kommander;, and secondly from KommanderWidget.
There are a few parts in the cpp file that are important to each particular widget.
</para>
<screen>
-KomLineEdit::KomLineEdit(QWidget *a_parent, const char *a_name)
+KomLineEdit::KomLineEdit(TQWidget *a_parent, const char *a_name)
: KLineEdit(a_parent, a_name), KommanderWidget(this)
{
QStringList states;
@@ -115,9 +115,9 @@ that had different kinds of states, such as a check box, you might
set three states <emphasis>unchecked</emphasis>, <emphasis>semichecked</emphasis> and <emphasis>checked</emphasis> here.
</para>
<screen>
-QString KomLineEdit::currentState() const
+TQString KomLineEdit::currentState() const
{
- return QString("default");
+ return TQString("default");
}</screen>
<para>We set the states in the constructor above, and this just
returns the current state of the widget. For our widget
@@ -126,12 +126,12 @@ that checks what state your widget is currently in and
return the appropriate string here.
</para>
<screen>
-QString KomLineEdit::widgetText() const
+TQString KomLineEdit::widgetText() const
{
return KLineEdit::text();
}
-void KomLineEdit::setWidgetText(const QString &amp;a_text)
+void KomLineEdit::setWidgetText(const TQString &amp;a_text)
{
KLineEdit::setText(a_text);
emit widgetTextChanged(a_text);
@@ -139,7 +139,7 @@ void KomLineEdit::setWidgetText(const QString &amp;a_text)
</screen>
<para>These are the two most important methods, where the bulk of the
functional code goes.
-<emphasis>QString KomLineEdit::widgetText() const</emphasis> method returns the widget text of the
+<emphasis>TQString KomLineEdit::widgetText() const</emphasis> method returns the widget text of the
widget (the text that the <emphasis>@widgetText</emphasis> special is expanded to in text
associations). For our widget, the widget text is simply the text inside
the line edit, so we just return that. Similarly when setting the widget text,
@@ -162,17 +162,17 @@ enum Functions {
Function2,
LastFunction
};
-KomLineEdit::KomLineEdit(QWidget *a_parent, const char *a_name)
+KomLineEdit::KomLineEdit(TQWidget *a_parent, const char *a_name)
: KLineEdit(a_parent, a_name), KommanderWidget(this)
{
... //code like described above
KommanderPlugin::setDefaultGroup(Group::DCOP);
- KommanderPlugin::registerFunction(Function1, "function1(QString widget, QString arg1, int arg2)", i18n("Call function1 with two arguments, second is optional."), 2, 3);
- KommanderPlugin::registerFunction(function2, "function2(QString widget)", i18n("Get a QString as a result of function2."), 1);
+ KommanderPlugin::registerFunction(Function1, "function1(TQString widget, TQString arg1, int arg2)", i18n("Call function1 with two arguments, second is optional."), 2, 3);
+ KommanderPlugin::registerFunction(function2, "function2(TQString widget)", i18n("Get a TQString as a result of function2."), 1);
}
</screen>
<para>This registers two functions: <emphasis>function1 and function2</emphasis>. The number assigned to the functions (here <emphasis>1160</emphasis> and <emphasis>1161</emphasis>) must be unique, not used in any other plugin or
-inside &kommander;. <emphasis>function1</emphasis> takes two arguments, one is optional, <emphasis>function2</emphasis> takes no argument and returns a string. The <emphasis>QString widget</emphasis> argument in the signatures notes that this functions work on a widget, like: <emphasis>KomLineEdit.function1("foo", 1)</emphasis>.
+inside &kommander;. <emphasis>function1</emphasis> takes two arguments, one is optional, <emphasis>function2</emphasis> takes no argument and returns a string. The <emphasis>TQString widget</emphasis> argument in the signatures notes that this functions work on a widget, like: <emphasis>KomLineEdit.function1("foo", 1)</emphasis>.
</para>
<para>To teach &kommander; that the widget supports these functions, add a method like this:
</para>
@@ -187,7 +187,7 @@ function.
The function code should be handled inside the handleDCOP method:
</para>
<screen>
-QString KomLineEdit::handleDCOP(int function, const QStringList&amp; args)
+TQString KomLineEdit::handleDCOP(int function, const QStringList&amp; args)
{
switch (function)
{
@@ -203,7 +203,7 @@ QString KomLineEdit::handleDCOP(int function, const QStringList&amp; args)
default:
return KommanderWidget::handleDCOP(function, args);
}
- return QString::null;
+ return TQString::null;
}
</screen>
<para>There are cases when the widget should appear differently in the editor than in
@@ -226,7 +226,7 @@ derive from QLabel, and use this in the constructor:
functions, like in the <emphasis>execute</emphasis> function. Here is an example from the AboutDialog widget:
</para>
<screen>
-QString AboutDialog::handleDCOP(int function, const QStringList&amp; args)
+TQString AboutDialog::handleDCOP(int function, const QStringList&amp; args)
{
switch (function) {
...
@@ -287,7 +287,7 @@ class MyKomPlugin : public KommanderPlugin
{
public:
MyKomPlugin();
- virtual QWidget *create( const QString &amp;className, QWidget *parent = 0, const char *name = 0 );
+ virtual TQWidget *create( const TQString &amp;className, TQWidget *parent = 0, const char *name = 0 );
};
</screen>
<para>
@@ -313,7 +313,7 @@ etc.
Regarding the icon, the above example loads a medium sized icon called <emphasis>iconname</emphasis> from the standard &kde; icon location.
</para>
<screen>
-QWidget *MyKomPlugin::create( const QString &amp;className, QWidget *parent, const char *name )
+TQWidget *MyKomPlugin::create( const TQString &amp;className, TQWidget *parent, const char *name )
{
if( className == "KomLineEdit" )
return new KomLineEdit( parent, name );
@@ -410,8 +410,8 @@ You need to add to the <emphasis>editor/widgetfactory.cpp</emphasis> as well:
...
#include "mywidget.h"
...
-QWidget *WidgetFactory::createWidget( const QString &amp;className, QWidget *parent, const char *name, bool init,
- const QRect *r, Qt::Orientation orient )
+TQWidget *WidgetFactory::createWidget( const TQString &amp;className, TQWidget *parent, const char *name, bool init,
+ const QRect *r, TQt::Orientation orient )
{
...
else if (className == "MyWidgetName")
diff --git a/doc/kommander/parser.docbook b/doc/kommander/parser.docbook
index a008c431..a8bec882 100644
--- a/doc/kommander/parser.docbook
+++ b/doc/kommander/parser.docbook
@@ -307,8 +307,8 @@ And now you access those with <emphasis>_xcount</emphasis> and <emphasis>_xquote
</para>
<para>
DCOP can be complex, which is why we recommend using the tools we develop to enable creating DCOP for remote &kommander; dialogs with something like a function browser. Here is an example DCOP call issued from a dialog opened from a parent &kommander; window. Since it knows who its parent is it can send information back while it is open and freely access all its parent's functionality with the exception of slots. Of course that can be done internally with a script which can be called externally, so in practice there is no limit to what can be done.
-<screen>dcop("kmdr-executor-"+parentPid, "KommanderIf", "setText(QString,QString)", "StatusBar8", "Hello")</screen>
-Let's look at this piece by piece. First of all we add <emphasis>parentPid</emphasis> to "kmdr-executor-" as we make no assumption a &kommander; window was the caller. You could use this with Quanta or KSpread or whatever. Next we are addressing <emphasis>KommanderIf</emphasis>, which is a <emphasis>nice</emphasis> interface for end users which has been cleaned up. We hope eventually as KDE moves from DCOP to DBUS on KDE4 that more applications adopt a nice interface for integration. The next parameter, <emphasis>"setText(QString,QString)"</emphasis> is important because it <emphasis>prototypes</emphasis> the parameters allowed. Otherwise &kommander; could not validate the call. So without a definition of the DCOP call being used you will get an error. The remaining parameters are of course what is being passed. We recommend you look at applications with <command>kdcop</command> to see how this works and practice dcop calls from the shell to get your syntax right.
+<screen>dcop("kmdr-executor-"+parentPid, "KommanderIf", "setText(TQString,TQString)", "StatusBar8", "Hello")</screen>
+Let's look at this piece by piece. First of all we add <emphasis>parentPid</emphasis> to "kmdr-executor-" as we make no assumption a &kommander; window was the caller. You could use this with Quanta or KSpread or whatever. Next we are addressing <emphasis>KommanderIf</emphasis>, which is a <emphasis>nice</emphasis> interface for end users which has been cleaned up. We hope eventually as KDE moves from DCOP to DBUS on KDE4 that more applications adopt a nice interface for integration. The next parameter, <emphasis>"setText(TQString,TQString)"</emphasis> is important because it <emphasis>prototypes</emphasis> the parameters allowed. Otherwise &kommander; could not validate the call. So without a definition of the DCOP call being used you will get an error. The remaining parameters are of course what is being passed. We recommend you look at applications with <command>kdcop</command> to see how this works and practice dcop calls from the shell to get your syntax right.
</para>
</sect2>
</sect1>
@@ -557,7 +557,7 @@ file with given <emphasis>key</emphasis>; if there is no such value <emphasis>de
for best control.
</para></listitem>
<listitem>
-<para><command>connect(<parameter>sender</parameter>, <parameter>signal</parameter>, <parameter>receiver</parameter>, <parameter>slot</parameter>)</command> - connect a widget signal to a widget slot. See the connection dialog and select similar widgets for possibilities. If for instance a signal looks like looks like <command>execute(const QString&amp;)</command> that is exactly what must be in quotes there.
+<para><command>connect(<parameter>sender</parameter>, <parameter>signal</parameter>, <parameter>receiver</parameter>, <parameter>slot</parameter>)</command> - connect a widget signal to a widget slot. See the connection dialog and select similar widgets for possibilities. If for instance a signal looks like looks like <command>execute(const TQString&amp;)</command> that is exactly what must be in quotes there.
</para></listitem>
<listitem>
<para><command>disconnect(<parameter>sender</parameter>, <parameter>signal</parameter>, <parameter>receiver</parameter>, <parameter>slot</parameter>)</command> - undo the connection as listed above. Again, exact syntax is essential.
diff --git a/doc/kommander/tutorials.docbook b/doc/kommander/tutorials.docbook
index 6071c60c..a9ccafa8 100644
--- a/doc/kommander/tutorials.docbook
+++ b/doc/kommander/tutorials.docbook
@@ -83,7 +83,7 @@ One of the very useful features inherited from Qt Designer was signals and slots
<para>
To access the connection tool you can open it by right clicking anywhere on the dialog and selecting it. Click the menu and you will see a list of connections made at the bottom. Above that are two lists of signals and slots and above them the respective sender and receiver are selected. An easy way to make connections is visually. Look at the toolbar or the Tools menu. There are three items grouped there. A pointer, signals and slot connections and the tab order or widgets. Selecting this sets connection mode for the curios. Click on your widget to send the signal and drag it to your widget to receive it in a slot. As you do this you will see a line and drop indications on the widget under the mouse. The StatusBar on the Editor will tell you what is being connected.
</para>
-<note><para>In version 1.3 there is a &kommander; function connect() which allows you to connect signals and slots on the fly. This is useful if you just used createWidget. Obviously you can't use the dialog for something &kommander; doesn't yet know exists. Unfortunately there are too many combinations to list so you have to type out signals and slots. <emphasis>These must be typed verbatim or they will fail.</emphasis> This is where the connection tool is handy again. Open it and select two widgets like the two you want to connect and read the connection information. if it says <command>execute(const QString&amp;)</command> that is exactly what you must type.</para></note>
+<note><para>In version 1.3 there is a &kommander; function connect() which allows you to connect signals and slots on the fly. This is useful if you just used createWidget. Obviously you can't use the dialog for something &kommander; doesn't yet know exists. Unfortunately there are too many combinations to list so you have to type out signals and slots. <emphasis>These must be typed verbatim or they will fail.</emphasis> This is where the connection tool is handy again. Open it and select two widgets like the two you want to connect and read the connection information. if it says <command>execute(const TQString&amp;)</command> that is exactly what you must type.</para></note>
</sect2>
<sect2 id="slot-functions">
diff --git a/doc/kxsldbg/CMakeLists.txt b/doc/kxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..10326ba8
--- /dev/null
+++ b/doc/kxsldbg/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION kxsldbg )
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
new file mode 100644
index 00000000..13caef20
--- /dev/null
+++ b/doc/man/CMakeLists.txt
@@ -0,0 +1,5 @@
+tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
+tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
+tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
+tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
diff --git a/doc/man/kimagemapeditor/CMakeLists.txt b/doc/man/kimagemapeditor/CMakeLists.txt
new file mode 100644
index 00000000..4088e36f
--- /dev/null
+++ b/doc/man/kimagemapeditor/CMakeLists.txt
@@ -0,0 +1,5 @@
+install(
+ FILES kimagemapeditor.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kimagemapeditor/kimagemapeditor.1 b/doc/man/kimagemapeditor/kimagemapeditor.1
new file mode 100644
index 00000000..681db952
--- /dev/null
+++ b/doc/man/kimagemapeditor/kimagemapeditor.1
@@ -0,0 +1,47 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KIMAGEMAPEDITOR 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kimagemapeditor \- an HTML image map editor for TDE
+.SH SYNOPSIS
+.B kimagemapeditor
+[ \fIgeneric-options\fP ]
+[ \fB\-c, \-\-stdout\fP ]
+[ \fIfile\fP ... ]
+.SH DESCRIPTION
+\fBKImageMapEditor\fP is a tool that allows you to edit image maps in
+HTML files. As well as providing a standalone application,
+KImageMapEditor makes itself available as a KPart for embedding into
+larger applications.
+.PP
+The files passed on the command line may be either HTML files or image
+files.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+Below are the kimagemapeditor-specific options.
+For a full summary of options, run \fIkimagemapeditor \-\-help\fP.
+.TP
+\fB\-c, \-\-stdout\fP
+Write the resulting HTML code to standard output when exiting.
+.SH SEE ALSO
+.BR quanta (1).
+.SH AUTHOR
+KImageMapEditor was written by Jan Schafer <janschaefer@users.sourceforge.net>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/klinkstatus/CMakeLists.txt b/doc/man/klinkstatus/CMakeLists.txt
new file mode 100644
index 00000000..e080e735
--- /dev/null
+++ b/doc/man/klinkstatus/CMakeLists.txt
@@ -0,0 +1,5 @@
+install(
+ FILES klinkstatus.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/klinkstatus/klinkstatus.1 b/doc/man/klinkstatus/klinkstatus.1
new file mode 100644
index 00000000..c1b2b61b
--- /dev/null
+++ b/doc/man/klinkstatus/klinkstatus.1
@@ -0,0 +1,52 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KLINKSTATUS 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+klinkstatus \- a web link validity checker for TDE
+.SH SYNOPSIS
+.B klinkstatus
+[ \fIgeneric-options\fP ]
+[ \fIURL\fP ]
+.SH DESCRIPTION
+\fBKLinkStatus\fP is a web link validity checker for TDE. It allows you to
+search internal and external links throughout your web site. Simply
+point it to a single page and choose the depth to search.
+.PP
+You can also check local files, or files over ftp:, fish: or any other
+KIO protocols. For performance, links can be checked simultaneously.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIklinkstatus \-\-help\fP.
+.SH SEE ALSO
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/klinkstatus/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/klinkstatus/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/klinkstatus/\fP.
+.SH AUTHOR
+KLinkStatus was written by Paulo Moura Guedes <moura@tdewebdev.org>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/CMakeLists.txt b/doc/man/kommander/CMakeLists.txt
new file mode 100644
index 00000000..669b104c
--- /dev/null
+++ b/doc/man/kommander/CMakeLists.txt
@@ -0,0 +1,11 @@
+install(
+ FILES
+ kmdr2po.1
+ kmdr-executor.1
+ extractkmdr.1
+ kmdr-editor.1
+ kmdr-plugins.1
+
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kommander/extractkmdr.1 b/doc/man/kommander/extractkmdr.1
new file mode 100644
index 00000000..5dfad28d
--- /dev/null
+++ b/doc/man/kommander/extractkmdr.1
@@ -0,0 +1,53 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH EXTRACTKMDR 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+extractkmdr \- extract message strings from Kommander dialogs
+.SH SYNOPSIS
+.B extractkmdr
+[ \fB\-\-tag=\fP\fIname\fP ... ]
+[ \fB\-\-context=\fP\fIname\fP ]
+\fIfile\fP ...
+.SH DESCRIPTION
+\fBextractkmdr\fP finds all text tags and other message strings within the
+given Kommander dialog (.kmdr) files. It then writes the corresponding
+\fIi18n()\fP calls to standard output (usually redirected to rc.cpp)
+so that xgettext can parse them.
+.PP
+To create a complete gettext message file (PO-file) from a Kommander
+dialog, the
+.BR kmdr2po (1)
+utility is more convenient.
+.PP
+This utility is part of the TDE web development module.
+.SH OPTIONS
+.TP
+\fB\-\-tag=\fP\fIname\fP
+Extract also the contents of the tag \fIname\fP.
+This option may be used multiple times
+(e.g., \-\-tag=tag_one \-\-tag=tag_two).
+.TP
+\fB\-\-context=\fP\fIname\fP
+Give all i18n() calls the given context: i18n("\fIname\fP", ...).
+.SH SEE ALSO
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kmdr-plugins (1),
+.BR kmdr2po (1).
+.SH AUTHOR
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr-editor.1 b/doc/man/kommander/kmdr-editor.1
new file mode 100644
index 00000000..5ecb637c
--- /dev/null
+++ b/doc/man/kommander/kmdr-editor.1
@@ -0,0 +1,70 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR-EDITOR 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr-editor \- editor for the Kommander visual dialog building tool
+.SH SYNOPSIS
+.B kmdr-editor
+[ \fIgeneric-options\fP ]
+.SH DESCRIPTION
+\fBKommander\fP is a visual dialog building tool whose
+primary objective is to create
+as much functionality as possible without using any scripting language.
+.PP
+More specifically, Kommander is a set of tools that allow you to create
+dynamic GUI dialogs that generate, based on their state, a piece of text.
+The piece of text can be a command line to a program, any piece of code,
+business documents that contain a lot of repititious or templated text and so
+on. The resulting generated text can then be executed as a command line
+program (hence the name "Kommander"), written to a file, passed to a
+script for extended processing, and literally anything else you can
+think of. The best part of it all? You aren't required to write a single
+line of code!
+.PP
+This editor (\fBkmdr-editor\fP) allows you to lay out your entire dialog
+through a graphical
+user interface. Once a dialog has been created by the editor, it is
+saved as a file with extension \fI.kmdr\fP. The dialog that this XML file
+represents can then be run instantly with the executor (\fBkmdr-executor\fP).
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIkmdr-editor \-\-help\fP.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-executor (1),
+.BR kmdr-plugins (1),
+.BR kmdr2po (1),
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kommander/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kommander/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP.
+.SH AUTHOR
+Kommander was written by Marc Britton <consume@optusnet.com.au>,
+Eric Laffoon <sequitur@kde.org>, Michal Rudolf <mrudolf@tdewebdev.org>,
+Andras Mantia <amantia@kde.org> and Trolltech.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr-executor.1 b/doc/man/kommander/kmdr-executor.1
new file mode 100644
index 00000000..cc197d69
--- /dev/null
+++ b/doc/man/kommander/kmdr-executor.1
@@ -0,0 +1,87 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR-EXECUTOR 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr-executor \- executor for the Kommander visual dialog building tool
+.SH SYNOPSIS
+.B kmdr-executor
+[ \fIgeneric-options\fP ]
+[ \fB\-c\fP \fIcatalog\fP ]
+{ \fB\-\-stdin\fP | \fIfile\fP }
+[ \fIarg\fP ... ]
+.SH DESCRIPTION
+\fBKommander\fP is a visual dialog building tool whose
+primary objective is to create
+as much functionality as possible without using any scripting language.
+.PP
+More specifically, Kommander is a set of tools that allow you to
+create dynamic GUI dialogs
+that generate, based on their state, a piece of text. The piece of text
+can be a command line to a program, any piece of code, business
+documents that contain a lot of repititious or templated text and so on.
+The resulting generated text can then be executed as a command line
+program (hence the name "Kommander"), written to a file, passed to a
+script for extended processing, and literally anything else you can
+think of. The best part of it all? You aren't required to write a single
+line of code!
+.PP
+This executor (\fBkmdr-executor\fP) is used to run a dialog that has
+been created by the
+dialog editor (\fBkmdr-editor\fP). Either the dialog file (generally
+a \fI.kmdr\fP file) should be passed on
+the command-line, or else the option \-\-stdin should be passed and the
+dialog description should be supplied as XML on standard input.
+Additional arguments for the dialog itself may also be supplied.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+Below are the kommander-specific options.
+For a full summary of options, run \fIkmdr-editor \-\-help\fP.
+.TP
+\fB\-c\fP \fIcatalog\fP
+Use the given catalog for translation.
+.TP
+\fB\-\-stdin\fP
+Read the XML dialog description from standard input instead of passing
+a \fI.kmdr\fP file on the command-line.
+.TP
+\fIarg\fP ...
+Additional arguments to be passed on to the dialog itself.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-editor (1),
+.BR kmdr-plugins (1),
+.BR kmdr2po (1),
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kommander/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kommander/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP.
+.SH AUTHOR
+Kommander was written by Marc Britton <consume@optusnet.com.au>,
+Eric Laffoon <sequitur@kde.org>, Michal Rudolf <mrudolf@tdewebdev.org>,
+Andras Mantia <amantia@kde.org> and Trolltech.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr-plugins.1 b/doc/man/kommander/kmdr-plugins.1
new file mode 100644
index 00000000..5a8d222b
--- /dev/null
+++ b/doc/man/kommander/kmdr-plugins.1
@@ -0,0 +1,71 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR-PLUGINS 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr-plugins \- plugin manager for the Kommander visual dialog building tool
+.SH SYNOPSIS
+.B kmdr-plugins
+[ \fIgeneric-options\fP ]
+.SH DESCRIPTION
+\fBKommander\fP is a visual dialog building tool whose
+primary objective is to create
+as much functionality as possible without using any scripting language.
+.PP
+It is possible to extend Kommander by writing your own plugins. The
+plugin manager
+.B kmdr-plugins
+is a simple user interface to Kommander's configuration file, and
+can be used to select which external plugins Kommander should load.
+Closing the plugin manager will automatically save any changes.
+.PP
+By loading a plugin, the custom widgets that it defines
+will become available in Kommander's menus and toolbars, and these
+custom widgets can be used in Kommander dialogs.
+.PP
+See
+.BR kmdr-editor (1)
+and
+.BR kmdr-executor (1)
+for a more detailed description of Kommander.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIkmdr-plugins \-\-help\fP.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kmdr2po (1),
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kommander/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kommander/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP.
+.SH AUTHOR
+Kommander was written by Marc Britton <consume@optusnet.com.au>,
+Eric Laffoon <sequitur@kde.org>, Michal Rudolf <mrudolf@tdewebdev.org>,
+Andras Mantia <amantia@kde.org> and Trolltech.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr2po.1 b/doc/man/kommander/kmdr2po.1
new file mode 100644
index 00000000..4693644e
--- /dev/null
+++ b/doc/man/kommander/kmdr2po.1
@@ -0,0 +1,47 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR2PO 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr2po \- create a PO-file from a Kommander dialog
+.SH SYNOPSIS
+.B kmdr2po
+.I dialog
+.SH DESCRIPTION
+\fBkmdr2po\fP creates a gettext message file (PO-file) from the given
+Kommander dialog (.kmdr) file. It does this by using
+.BR extractkmdr (1)
+to extract all text tags and other message strings, and then running
+.BR xgettext (1)
+to create the corresponding PO-file.
+.PP
+The final PO-file will be created in the current directory. Its name
+will be derived from the dialog filename by replacing the suffix
+\fI.kmdr\fP with \fI.po\fP.
+.PP
+This utility is part of the TDE web development module.
+.SH WARNING
+A temporary file named \fI_from_rc.cc\fP in the current directory
+will be created and subsequently removed.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kmdr-plugins (1),
+.BR xgettext (1).
+.SH AUTHOR
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kxsldbg/CMakeLists.txt b/doc/man/kxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..d701aad2
--- /dev/null
+++ b/doc/man/kxsldbg/CMakeLists.txt
@@ -0,0 +1,5 @@
+install(
+ FILES kxsldbg.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kxsldbg/kxsldbg.1 b/doc/man/kxsldbg/kxsldbg.1
new file mode 100644
index 00000000..11b551f6
--- /dev/null
+++ b/doc/man/kxsldbg/kxsldbg.1
@@ -0,0 +1,54 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KXSLDBG 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kxsldbg \- a graphical XSLT debugger for TDE
+.SH SYNOPSIS
+.B kxsldbg
+[ \fIgeneric-options\fP ]
+.SH DESCRIPTION
+\fBKXSLDbg\fP is a graphical debugger for XSLT scripts. It provides
+a graphical front-end to the text-based debugger
+.BR xsldbg (1).
+KXSLDbg can be run as a standalone application or as an embedded TDE part.
+.PP
+XSLT is an XML language for defining transformations of XML files from
+XML to some other arbitrary format, such as XML, HTML, plain text, etc.,
+using standard XSLT stylesheets.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIkxsldbg \-\-help\fP.
+.SH SEE ALSO
+.BR quanta (1),
+.BR xsldbg (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kxsldbg/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kxsldbg/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kxsldbg/\fP.
+.SH AUTHOR
+KXSLDbg was written by Keith Isdale <k_isdale@tpg.com.au>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/quanta/CMakeLists.txt b/doc/man/quanta/CMakeLists.txt
new file mode 100644
index 00000000..7db459f7
--- /dev/null
+++ b/doc/man/quanta/CMakeLists.txt
@@ -0,0 +1,5 @@
+install(
+ FILES quanta.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/quanta/quanta.1 b/doc/man/quanta/quanta.1
new file mode 100644
index 00000000..5640297b
--- /dev/null
+++ b/doc/man/quanta/quanta.1
@@ -0,0 +1,71 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH QUANTA 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+quanta \- a web development environment for TDE
+.SH SYNOPSIS
+.B quanta
+[ \fIgeneric-options\fP ] [ \fB\-\-unique\fP ]
+[ \fB\-\-nologo\fP ] [ \fIfile\fP ]
+.SH DESCRIPTION
+\fBQuanta Plus\fP is a web development environment for working with HTML
+and associated languages. It strives to be neutral and transparent
+to all markup languages, while supporting popular web-based scripting
+languages, CSS and other emerging W3C recommendations.
+.PP
+Quanta Plus supports many external components, debuggers and other tools
+for web development, several of which are shipped with the TDE web development
+module.
+.PP
+Quanta Plus is not in any way affiliated with any commercial versions
+of Quanta. The primary coders from the original team left the GPLed
+version to produce a commercial product.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+Below are the quanta-specific options. For a full summary of options,
+run \fIquanta \-\-help\fP.
+.TP
+\fB\-\-unique\fP
+Run as a one-instance application.
+.TP
+\fB\-\-nologo\fP
+Do not show the logo during startup.
+.SH SEE ALSO
+.BR kimagemapeditor (1),
+.BR klinkstatus (1),
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kxsldbg (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/quanta/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/quanta/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/quanta/\fP.
+.SH AUTHOR
+Quanta was written by Eric Laffoon <sequitur@kde.org>, Andras Mantia
+<amantia@kde.org> and others including inactive authors
+Dmitry Poplavsky <dima@kde.org> and Alexander Yakovlev <yshurik@kde.org>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/quanta/CMakeLists.txt b/doc/quanta/CMakeLists.txt
new file mode 100644
index 00000000..d6073c36
--- /dev/null
+++ b/doc/quanta/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION quanta )
diff --git a/doc/xsldbg/CMakeLists.txt b/doc/xsldbg/CMakeLists.txt
new file mode 100644
index 00000000..812e1a36
--- /dev/null
+++ b/doc/xsldbg/CMakeLists.txt
@@ -0,0 +1,6 @@
+tde_create_handbook( DESTINATION xsldbg )
+
+install(
+ FILES xsldbghelp.xml xsldbghelp.xsl
+ DESTINATION ${HTML_INSTALL_DIR}/en/xsldbg
+)
diff --git a/doc/xsldbg/index.docbook b/doc/xsldbg/index.docbook
index 56e272b7..5e3be526 100644
--- a/doc/xsldbg/index.docbook
+++ b/doc/xsldbg/index.docbook
@@ -110,15 +110,3 @@ libxml installed which are available on a typical &kde; installation.
&documentation.index;
</book>
-
-<!--
-Local Variables:
-mode: xml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
-
-vim:tabstop=2:shiftwidth=2:expandtab
--->
diff --git a/doc/xsldbg/xsldbghelp.xsl b/doc/xsldbg/xsldbghelp.xsl
index 50e45ebd..c1587726 100644
--- a/doc/xsldbg/xsldbghelp.xsl
+++ b/doc/xsldbg/xsldbghelp.xsl
@@ -113,15 +113,3 @@
</xsl:template>
</xsl:stylesheet>
-
-
-<!-- initialization code for xemacs -->
-<!--
-Local Variables:
-mode: xsl
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:2
-sgml-indent-data:nil
-End:
--->
diff --git a/kimagemapeditor/CMakeL10n.txt b/kimagemapeditor/CMakeL10n.txt
index 35419028..7aa9f02e 100644
--- a/kimagemapeditor/CMakeL10n.txt
+++ b/kimagemapeditor/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kimagemapeditor" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kimagemapeditor-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kimagemapeditor/CMakeLists.txt b/kimagemapeditor/CMakeLists.txt
new file mode 100644
index 00000000..02b95004
--- /dev/null
+++ b/kimagemapeditor/CMakeLists.txt
@@ -0,0 +1,90 @@
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kimagemapeditorcommon (static)
+
+tde_add_library( kimagemapeditorcommon STATIC_PIC AUTOMOC
+
+ SOURCES
+ qextfileinfo.cpp
+ areacreator.cpp
+ kimearea.cpp
+ kimecommands.cpp
+ kimedialogs.cpp
+ kimagemapeditor.cpp
+ drawzone.cpp
+ arealistview.cpp
+ imageslistview.cpp
+ mapslistview.cpp
+ LINK
+ tdehtml-shared
+)
+
+
+##### libkimagemapeditor (kpart)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_kpart( libkimagemapeditor AUTOMOC
+
+ SOURCES
+ dummy.cpp
+ EMBED
+ kimagemapeditorcommon-static
+ LINK
+ tdeparts-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kimagemapeditor (executable)
+
+tde_add_executable( kimagemapeditor AUTOMOC
+
+ SOURCES
+ main.cpp
+ kimeshell.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ kimagemapeditorcommon-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kimagemapeditorui.rc kimagemapeditorpartui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kimagemapeditor
+)
+
+tde_create_translated_desktop(
+ SOURCE kimagemapeditor.desktop
+ PO_DIR kimagemapeditor-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE kimagemapeditorpart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kimagemapeditor-desktops
+)
diff --git a/kimagemapeditor/Makefile.am b/kimagemapeditor/Makefile.am
index bde46f0d..da42d8d0 100644
--- a/kimagemapeditor/Makefile.am
+++ b/kimagemapeditor/Makefile.am
@@ -19,6 +19,7 @@ libkimagemapeditorcommon_la_SOURCES = \
imageslistview.cpp \
mapslistview.cpp
+CLEANFILES = dummy.cpp
libkimagemapeditor_la_SOURCES = \
dummy.cpp
@@ -61,3 +62,5 @@ messages: rc.cpp
$(XGETTEXT) $$LIST -o $(podir)/kimagemapeditor.pot; \
fi
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/kimagemapeditor/arealistview.h b/kimagemapeditor/arealistview.h
index 48f495f4..e3622edb 100644
--- a/kimagemapeditor/arealistview.h
+++ b/kimagemapeditor/arealistview.h
@@ -32,7 +32,7 @@ class Area;
**/
class AreaListView : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kimagemapeditor/drawzone.cpp b/kimagemapeditor/drawzone.cpp
index 51fdb2ac..f89b4e3d 100644
--- a/kimagemapeditor/drawzone.cpp
+++ b/kimagemapeditor/drawzone.cpp
@@ -262,7 +262,7 @@ void DrawZone::contentsMousePressEvent(TQMouseEvent* e)
}
if ( currentAction==None ) {
- if (e->button()==Qt::RightButton)
+ if (e->button()==TQt::RightButton)
{
if ( (currentArea=imageMapEditor->onArea(drawStart)) )
{
@@ -278,7 +278,7 @@ void DrawZone::contentsMousePressEvent(TQMouseEvent* e)
}
else
- if (e->button()==Qt::MidButton) {
+ if (e->button()==TQt::MidButton) {
contentsMouseDoubleClickEvent(e);
}
else // LeftClick on selectionpoint
@@ -420,7 +420,7 @@ void DrawZone::contentsMouseReleaseEvent(TQMouseEvent *e) {
// the right Button was pressed the Polygon is finished
if ((currentArea->selectionPoints()->count()>2)
&& (currentArea->selectionPoints()->first()->contains(drawEnd)
- || (e->button()==Qt::RightButton)))
+ || (e->button()==TQt::RightButton)))
{
currentArea->setFinished(true);
currentAction=None;
@@ -849,7 +849,7 @@ void DrawZone::drawContents(TQPainter* p,int clipx,int clipy,int clipw,int cliph
{
TQPen pen = TQPen(TQColor("white"),1);
p2.setRasterOp(TQt::XorROP);
- pen.setStyle(Qt::DotLine);
+ pen.setStyle(TQt::DotLine);
p2.setPen(pen);
TQRect r( drawStart.x(),drawStart.y(),drawCurrent.x()-drawStart.x(),drawCurrent.y()-drawStart.y());
diff --git a/kimagemapeditor/dummy.cpp b/kimagemapeditor/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/kimagemapeditor/dummy.cpp
+++ /dev/null
diff --git a/kimagemapeditor/imageslistview.cpp b/kimagemapeditor/imageslistview.cpp
index 15529a45..773fd9b4 100644
--- a/kimagemapeditor/imageslistview.cpp
+++ b/kimagemapeditor/imageslistview.cpp
@@ -60,8 +60,8 @@ ImagesListView::ImagesListView(TQWidget *parent, const char *name)
setFullWidth(true);
- connect( this, TQT_SIGNAL( selectionChanged(TQListViewItem*)),
- this, TQT_SLOT( slotSelectionChanged(TQListViewItem*)));
+ connect( this, TQ_SIGNAL( selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT( slotSelectionChanged(TQListViewItem*)));
}
diff --git a/kimagemapeditor/imageslistview.h b/kimagemapeditor/imageslistview.h
index 24bac7a0..99f2dc64 100644
--- a/kimagemapeditor/imageslistview.h
+++ b/kimagemapeditor/imageslistview.h
@@ -46,7 +46,7 @@ class ImagesListViewItem : public TQListViewItem
**/
class ImagesListView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp
index 804e67ae..8e92947d 100644
--- a/kimagemapeditor/kimagemapeditor.cpp
+++ b/kimagemapeditor/kimagemapeditor.cpp
@@ -118,7 +118,7 @@ KImageMapEditor::KImageMapEditor(TQWidget *parentWidget, const char *,
mapsDock->manualDock( (KDockWidget*) areaDock, KDockWidget::DockCenter);
imagesDock->manualDock( (KDockWidget*) mapsDock, KDockWidget::DockCenter);
- connect( mainDock->manager(), TQT_SIGNAL(change()), this, TQT_SLOT(dockingStateChanged()));
+ connect( mainDock->manager(), TQ_SIGNAL(change()), this, TQ_SLOT(dockingStateChanged()));
}
else
{
@@ -137,25 +137,25 @@ KImageMapEditor::KImageMapEditor(TQWidget *parentWidget, const char *,
}
- connect( areaListView->listView, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()));
- connect( areaListView->listView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), this, TQT_SLOT(showTagEditor(TQListViewItem*)));
- connect( areaListView->listView, TQT_SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint &,int)), this,
- TQT_SLOT(slotShowPopupMenu(TQListViewItem*,const TQPoint &)));
+ connect( areaListView->listView, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
+ connect( areaListView->listView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), this, TQ_SLOT(showTagEditor(TQListViewItem*)));
+ connect( areaListView->listView, TQ_SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint &,int)), this,
+ TQ_SLOT(slotShowPopupMenu(TQListViewItem*,const TQPoint &)));
- connect( mapsListView, TQT_SIGNAL( mapSelected(const TQString &)),
- this, TQT_SLOT( setMap(const TQString &)));
+ connect( mapsListView, TQ_SIGNAL( mapSelected(const TQString &)),
+ this, TQ_SLOT( setMap(const TQString &)));
- connect( mapsListView, TQT_SIGNAL( mapRenamed(const TQString &)),
- this, TQT_SLOT( setMapName(const TQString &)));
+ connect( mapsListView, TQ_SIGNAL( mapRenamed(const TQString &)),
+ this, TQ_SLOT( setMapName(const TQString &)));
- connect( mapsListView->listView(), TQT_SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint &,int)), this,
- TQT_SLOT(slotShowMapPopupMenu(TQListViewItem*,const TQPoint &)));
+ connect( mapsListView->listView(), TQ_SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint &,int)), this,
+ TQ_SLOT(slotShowMapPopupMenu(TQListViewItem*,const TQPoint &)));
- connect( imagesListView, TQT_SIGNAL( imageSelected(const KURL &)),
- this, TQT_SLOT( setPicture(const KURL &)));
+ connect( imagesListView, TQ_SIGNAL( imageSelected(const KURL &)),
+ this, TQ_SLOT( setPicture(const KURL &)));
- connect( imagesListView, TQT_SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint &,int)), this,
- TQT_SLOT(slotShowImagePopupMenu(TQListViewItem*,const TQPoint &)));
+ connect( imagesListView, TQ_SIGNAL(rightButtonPressed(TQListViewItem*,const TQPoint &,int)), this,
+ TQ_SLOT(slotShowImagePopupMenu(TQListViewItem*,const TQPoint &)));
// Shows the text:
// "Drop an image or html file"
@@ -431,46 +431,46 @@ void KImageMapEditor::saveLastURL(TDEConfig* config) {
void KImageMapEditor::setupActions()
{
// File Open
- TDEAction *temp=KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
+ TDEAction *temp=KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection());
TQMimeSourceFactory::defaultFactory()->setPixmap( "openimage", SmallIcon("document-open") );
temp->setWhatsThis(i18n("<h3>Open File</h3>Click this to <em>open</em> a new picture or HTML file."));
temp->setToolTip(i18n("Open new picture or HTML file"));
// File Open Recent
- recentFilesAction = KStdAction::openRecent(this, TQT_SLOT(openURL(const KURL&)),
+ recentFilesAction = KStdAction::openRecent(this, TQ_SLOT(openURL(const KURL&)),
actionCollection());
// File Save
- temp =KStdAction::save(this, TQT_SLOT(fileSave()), actionCollection());
+ temp =KStdAction::save(this, TQ_SLOT(fileSave()), actionCollection());
TQMimeSourceFactory::defaultFactory()->setPixmap( "saveimage", SmallIcon("document-save") );
temp->setWhatsThis(i18n("<h3>Save File</h3>Click this to <em>save</em> the changes to the HTML file."));
temp->setToolTip(i18n("Save HTML file"));
// File Save As
- (void)KStdAction::saveAs(this, TQT_SLOT(fileSaveAs()), actionCollection());
+ (void)KStdAction::saveAs(this, TQ_SLOT(fileSaveAs()), actionCollection());
// File Close
- temp=KStdAction::close(this, TQT_SLOT(fileClose()), actionCollection());
+ temp=KStdAction::close(this, TQ_SLOT(fileClose()), actionCollection());
TQMimeSourceFactory::defaultFactory()->setPixmap( "closeimage", SmallIcon("window-close") );
temp->setWhatsThis(i18n("<h3>Close File</h3>Click this to <em>close</em> the currently open HTML file."));
temp->setToolTip(i18n("Close HTML file"));
// Edit Copy
- copyAction=KStdAction::copy(this, TQT_SLOT(slotCopy()), actionCollection());
+ copyAction=KStdAction::copy(this, TQ_SLOT(slotCopy()), actionCollection());
TQMimeSourceFactory::defaultFactory()->setPixmap( "editcopyimage", SmallIcon("edit-copy") );
copyAction->setWhatsThis(i18n("<h3>Copy</h3>"
"Click this to <em>copy</em> the selected area."));
copyAction->setEnabled(false);
// Edit Cut
- cutAction=KStdAction::cut(this, TQT_SLOT(slotCut()), actionCollection());
+ cutAction=KStdAction::cut(this, TQ_SLOT(slotCut()), actionCollection());
TQMimeSourceFactory::defaultFactory()->setPixmap( "editcutimage", SmallIcon("edit-cut") );
cutAction->setWhatsThis(i18n("<h3>Cut</h3>"
"Click this to <em>cut</em> the selected area."));
cutAction->setEnabled(false);
// Edit Paste
- pasteAction=KStdAction::paste(this, TQT_SLOT(slotPaste()), actionCollection());
+ pasteAction=KStdAction::paste(this, TQ_SLOT(slotPaste()), actionCollection());
TQMimeSourceFactory::defaultFactory()->setPixmap( "editpasteimage", SmallIcon("edit-paste") );
pasteAction->setWhatsThis(i18n("<h3>Paste</h3>"
"Click this to <em>paste</em> the copied area."));
@@ -479,7 +479,7 @@ void KImageMapEditor::setupActions()
// Edit Delete
deleteAction=new TDEAction(i18n("&Delete"), "edit-delete",
- Key_Delete,this,TQT_SLOT (slotDelete()),actionCollection(), "edit_delete");
+ Key_Delete,this,TQ_SLOT (slotDelete()),actionCollection(), "edit_delete");
TQMimeSourceFactory::defaultFactory()->setPixmap( "editdeleteimage", SmallIcon("edit-delete") );
deleteAction->setWhatsThis(i18n("<h3>Delete</h3>"
"Click this to <em>delete</em> the selected area."));
@@ -489,17 +489,17 @@ void KImageMapEditor::setupActions()
_commandHistory = new KCommandHistory( actionCollection(), true);
// Edit Properties
- areaPropertiesAction= new TDEAction(i18n("Pr&operties"),0,this,TQT_SLOT(showTagEditor()),
+ areaPropertiesAction= new TDEAction(i18n("Pr&operties"),0,this,TQ_SLOT(showTagEditor()),
actionCollection(), "edit_properties");
areaPropertiesAction->setEnabled(false);
// View Zoom In
- zoomInAction=KStdAction::zoomIn(this, TQT_SLOT(slotZoomIn()), actionCollection());
+ zoomInAction=KStdAction::zoomIn(this, TQ_SLOT(slotZoomIn()), actionCollection());
// View Zoom Out
- zoomOutAction=KStdAction::zoomOut(this, TQT_SLOT(slotZoomOut()), actionCollection());
+ zoomOutAction=KStdAction::zoomOut(this, TQ_SLOT(slotZoomOut()), actionCollection());
// View Zoom
- zoomAction=new TDESelectAction(i18n("Zoom"), 0,this,TQT_SLOT (slotZoom()),
+ zoomAction=new TDESelectAction(i18n("Zoom"), 0,this,TQ_SLOT (slotZoom()),
actionCollection(), "view_zoom");
zoomAction->setWhatsThis(i18n("<h3>Zoom</h3>"
"Choose the desired zoom level."));
@@ -517,56 +517,56 @@ void KImageMapEditor::setupActions()
zoomAction->setCurrentItem(2);
- highlightAreasAction = new TDEToggleAction(i18n("Highlight Areas"),0, this, TQT_SLOT (slotHightlightAreas()),
+ highlightAreasAction = new TDEToggleAction(i18n("Highlight Areas"),0, this, TQ_SLOT (slotHightlightAreas()),
actionCollection(), "view_highlightareas");
- showAltAction = new TDEToggleAction(i18n("Show Alt Tag"),0, this, TQT_SLOT (slotShowAltTag()),
+ showAltAction = new TDEToggleAction(i18n("Show Alt Tag"),0, this, TQ_SLOT (slotShowAltTag()),
actionCollection(), "view_showalt");
#if KDE_IS_VERSION(3,2,90)
showAltAction->setCheckedState(i18n("Hide Alt Tag"));
#endif
- mapNameAction= new TDEAction(i18n("Map &Name..."),0,this,TQT_SLOT(mapEditName()),
+ mapNameAction= new TDEAction(i18n("Map &Name..."),0,this,TQ_SLOT(mapEditName()),
actionCollection(), "map_name");
- mapNewAction = new TDEAction(i18n("Ne&w Map..."),0,this,TQT_SLOT(mapNew()),
+ mapNewAction = new TDEAction(i18n("Ne&w Map..."),0,this,TQ_SLOT(mapNew()),
actionCollection(), "map_new");
mapNewAction->setToolTip(i18n("Create a new map"));
- mapDeleteAction = new TDEAction(i18n("D&elete Map"),0,this,TQT_SLOT(mapDelete()),
+ mapDeleteAction = new TDEAction(i18n("D&elete Map"),0,this,TQ_SLOT(mapDelete()),
actionCollection(), "map_delete");
mapDeleteAction->setToolTip(i18n("Delete the current active map"));
- mapDefaultAreaAction = new TDEAction(i18n("Edit &Default Area..."),0,this,TQT_SLOT(mapDefaultArea()),
+ mapDefaultAreaAction = new TDEAction(i18n("Edit &Default Area..."),0,this,TQ_SLOT(mapDefaultArea()),
actionCollection(), "map_defaultarea");
mapDefaultAreaAction->setToolTip(i18n("Edit the default area of the current active map"));
- temp = new TDEAction(i18n("&Preview"),0,this,TQT_SLOT(mapPreview()),
+ temp = new TDEAction(i18n("&Preview"),0,this,TQ_SLOT(mapPreview()),
actionCollection(), "map_preview");
temp->setToolTip(i18n("Show a preview"));
// IMAGE
i18n("&Image");
- imageAddAction = new TDEAction(i18n("Add Image..."),0,this,TQT_SLOT(imageAdd()),
+ imageAddAction = new TDEAction(i18n("Add Image..."),0,this,TQ_SLOT(imageAdd()),
actionCollection(), "image_add");
imageAddAction->setToolTip(i18n("Add a new image"));
- imageRemoveAction = new TDEAction(i18n("Remove Image"),0,this,TQT_SLOT(imageRemove()),
+ imageRemoveAction = new TDEAction(i18n("Remove Image"),0,this,TQ_SLOT(imageRemove()),
actionCollection(), "image_remove");
imageRemoveAction->setToolTip(i18n("Remove the current visible image"));
- imageUsemapAction = new TDEAction(i18n("Edit Usemap..."),0,this,TQT_SLOT(imageUsemap()),
+ imageUsemapAction = new TDEAction(i18n("Edit Usemap..."),0,this,TQ_SLOT(imageUsemap()),
actionCollection(), "image_usemap");
imageUsemapAction->setToolTip(i18n("Edit the usemap tag of the current visible image"));
- temp= new TDEAction(i18n("Show &HTML"),0,this,TQT_SLOT(mapShowHTML()),
+ temp= new TDEAction(i18n("Show &HTML"),0,this,TQ_SLOT(mapShowHTML()),
actionCollection(), "map_showhtml");
// Selection Tool
arrowAction=new TDERadioAction(i18n("&Selection"), "arrow",
- 0,this,TQT_SLOT (slotDrawArrow()),
+ 0,this,TQ_SLOT (slotDrawArrow()),
actionCollection(), "tool_arrow");
TQMimeSourceFactory::defaultFactory()->setPixmap( "arrowimage", SmallIcon("arrow") );
arrowAction->setWhatsThis(i18n("<h3>Selection</h3>"
@@ -576,7 +576,7 @@ void KImageMapEditor::setupActions()
// Circle
circleAction=new TDERadioAction(i18n("&Circle"), "circle",
- 0,this,TQT_SLOT (slotDrawCircle()),
+ 0,this,TQ_SLOT (slotDrawCircle()),
actionCollection(), "tool_circle");
TQMimeSourceFactory::defaultFactory()->setPixmap( "circleimage", SmallIcon("drawcircle") );
circleAction->setWhatsThis(i18n("<h3>Circle</h3>"
@@ -585,7 +585,7 @@ void KImageMapEditor::setupActions()
// Rectangle
rectangleAction=new TDERadioAction(i18n("&Rectangle"), "rectangle",
- 0,this,TQT_SLOT (slotDrawRectangle()),
+ 0,this,TQ_SLOT (slotDrawRectangle()),
actionCollection(), "tool_rectangle");
TQMimeSourceFactory::defaultFactory()->setPixmap( "rectangleimage", SmallIcon("drawrectangle") );
rectangleAction->setWhatsThis(i18n("<h3>Rectangle</h3>"
@@ -594,7 +594,7 @@ void KImageMapEditor::setupActions()
// Polygon
polygonAction=new TDERadioAction(i18n("&Polygon"), "polygon",
- 0,this,TQT_SLOT (slotDrawPolygon()),
+ 0,this,TQ_SLOT (slotDrawPolygon()),
actionCollection(), "tool_polygon");
TQMimeSourceFactory::defaultFactory()->setPixmap( "polygonimage", SmallIcon("drawpolygon") );
polygonAction->setWhatsThis(i18n("<h3>Polygon</h3>"
@@ -603,7 +603,7 @@ void KImageMapEditor::setupActions()
// Freehand
freehandAction=new TDERadioAction(i18n("&Freehand Polygon"), "freehand",
- 0,this,TQT_SLOT (slotDrawFreehand()),
+ 0,this,TQ_SLOT (slotDrawFreehand()),
actionCollection(), "tool_freehand");
TQMimeSourceFactory::defaultFactory()->setPixmap( "freehandimage", SmallIcon("freehand") );
freehandAction->setWhatsThis(i18n("<h3>Freehandpolygon</h3>"
@@ -612,7 +612,7 @@ void KImageMapEditor::setupActions()
// Add Point
addPointAction=new TDERadioAction(i18n("&Add Point"), "addpoint",
- 0,this,TQT_SLOT (slotDrawAddPoint()),
+ 0,this,TQ_SLOT (slotDrawAddPoint()),
actionCollection(), "tool_addpoint");
TQMimeSourceFactory::defaultFactory()->setPixmap( "addpointimage", SmallIcon("addpoint") );
addPointAction->setWhatsThis(i18n("<h3>Add Point</h3>"
@@ -621,7 +621,7 @@ void KImageMapEditor::setupActions()
// Remove Point
removePointAction=new TDERadioAction(i18n("&Remove Point"), "removepoint",
- 0,this,TQT_SLOT (slotDrawRemovePoint()),
+ 0,this,TQ_SLOT (slotDrawRemovePoint()),
actionCollection(), "tool_removepoint");
TQMimeSourceFactory::defaultFactory()->setPixmap( "removepointimage", SmallIcon("removepoint") );
removePointAction->setWhatsThis(i18n("<h3>Remove Point</h3>"
@@ -631,31 +631,31 @@ void KImageMapEditor::setupActions()
#if TDE_VERSION < 300
TDEAction *cancelAction =
#endif
- new TDEAction(i18n("Cancel Drawing"), Key_Escape, this, TQT_SLOT( slotCancelDrawing() ),
+ new TDEAction(i18n("Cancel Drawing"), Key_Escape, this, TQ_SLOT( slotCancelDrawing() ),
actionCollection(), "canceldrawing" );
- moveLeftAction = new TDEAction(i18n("Move Left"), Key_Left, this, TQT_SLOT( slotMoveLeft() ),
+ moveLeftAction = new TDEAction(i18n("Move Left"), Key_Left, this, TQ_SLOT( slotMoveLeft() ),
actionCollection() , "moveleft" );
- moveRightAction = new TDEAction(i18n("Move Right"), Key_Right, this, TQT_SLOT( slotMoveRight() ),
+ moveRightAction = new TDEAction(i18n("Move Right"), Key_Right, this, TQ_SLOT( slotMoveRight() ),
actionCollection() , "moveright" );
- moveUpAction = new TDEAction(i18n("Move Up"), Key_Up, this, TQT_SLOT( slotMoveUp() ),
+ moveUpAction = new TDEAction(i18n("Move Up"), Key_Up, this, TQ_SLOT( slotMoveUp() ),
actionCollection() , "moveup" );
- moveDownAction = new TDEAction(i18n("Move Down"), Key_Down, this, TQT_SLOT( slotMoveDown() ),
+ moveDownAction = new TDEAction(i18n("Move Down"), Key_Down, this, TQ_SLOT( slotMoveDown() ),
actionCollection() , "movedown" );
- increaseWidthAction = new TDEAction(i18n("Increase Width"), Key_Right + SHIFT, this, TQT_SLOT( slotIncreaseWidth() ),
+ increaseWidthAction = new TDEAction(i18n("Increase Width"), Key_Right + SHIFT, this, TQ_SLOT( slotIncreaseWidth() ),
actionCollection() , "increasewidth" );
- decreaseWidthAction = new TDEAction(i18n("Decrease Width"), Key_Left + SHIFT, this, TQT_SLOT( slotDecreaseWidth() ),
+ decreaseWidthAction = new TDEAction(i18n("Decrease Width"), Key_Left + SHIFT, this, TQ_SLOT( slotDecreaseWidth() ),
actionCollection() , "decreasewidth" );
- increaseHeightAction = new TDEAction(i18n("Increase Height"), Key_Up + SHIFT, this, TQT_SLOT( slotIncreaseHeight() ),
+ increaseHeightAction = new TDEAction(i18n("Increase Height"), Key_Up + SHIFT, this, TQ_SLOT( slotIncreaseHeight() ),
actionCollection() , "increaseheight" );
- decreaseHeightAction = new TDEAction(i18n("Decrease Height"), Key_Down + SHIFT, this, TQT_SLOT( slotDecreaseHeight() ),
+ decreaseHeightAction = new TDEAction(i18n("Decrease Height"), Key_Down + SHIFT, this, TQ_SLOT( slotDecreaseHeight() ),
actionCollection() , "decreaseheight" );
#if TDE_VERSION < 300
accel = new TDEAccel(widget());
@@ -670,38 +670,38 @@ void KImageMapEditor::setupActions()
decreaseHeightAction->plugAccel(accel, true);
#endif
- toFrontAction = new TDEAction(i18n("Bring to Front"), 0 , this, TQT_SLOT( slotToFront() ),
+ toFrontAction = new TDEAction(i18n("Bring to Front"), 0 , this, TQ_SLOT( slotToFront() ),
actionCollection() , "tofront" );
- toBackAction = new TDEAction(i18n("Send to Back"), 0 , this, TQT_SLOT( slotToBack() ),
+ toBackAction = new TDEAction(i18n("Send to Back"), 0 , this, TQ_SLOT( slotToBack() ),
actionCollection() , "toback" );
- forwardOneAction = new TDEAction(i18n("Bring Forward One"), "raise" ,0, this, TQT_SLOT( slotForwardOne() ),
+ forwardOneAction = new TDEAction(i18n("Bring Forward One"), "raise" ,0, this, TQ_SLOT( slotForwardOne() ),
actionCollection() , "forwardone" );
- backOneAction = new TDEAction(i18n("Send Back One"), "lower" ,0, this, TQT_SLOT( slotBackOne() ),
+ backOneAction = new TDEAction(i18n("Send Back One"), "lower" ,0, this, TQ_SLOT( slotBackOne() ),
actionCollection() , "backone" );
forwardOneAction->plug(areaListView->upBtn);
backOneAction->plug(areaListView->downBtn);
- connect( areaListView->upBtn, TQT_SIGNAL(pressed()), forwardOneAction, TQT_SLOT(activate()));
- connect( areaListView->downBtn, TQT_SIGNAL(pressed()), backOneAction, TQT_SLOT(activate()));
+ connect( areaListView->upBtn, TQ_SIGNAL(pressed()), forwardOneAction, TQ_SLOT(activate()));
+ connect( areaListView->downBtn, TQ_SIGNAL(pressed()), backOneAction, TQ_SLOT(activate()));
new TDEAction( i18n("Configure KImageMapEditor..."), "configure", 0,
- this, TQT_SLOT(slotShowPreferences()),
+ this, TQ_SLOT(slotShowPreferences()),
actionCollection(), "configure_kimagemapeditor" );
if (areaDock) {
configureShowAreaListAction = new TDEToggleAction( i18n("Show Area List"), 0L, 0,
- this, TQT_SLOT(configureShowAreaList()),
+ this, TQ_SLOT(configureShowAreaList()),
actionCollection(), "configure_show_arealist" );
configureShowMapListAction = new TDEToggleAction( i18n("Show Map List"), 0L, 0,
- this, TQT_SLOT(configureShowMapList()),
+ this, TQ_SLOT(configureShowMapList()),
actionCollection(), "configure_show_maplist" );
configureShowImageListAction = new TDEToggleAction( i18n("Show Image List"), 0L, 0,
- this, TQT_SLOT(configureShowImageList()),
+ this, TQ_SLOT(configureShowImageList()),
actionCollection(), "configure_show_imagelist" );
#if KDE_IS_VERSION(3,2,90)
configureShowAreaListAction->setCheckedState(i18n("Hide Area List"));
@@ -725,7 +725,7 @@ void KImageMapEditor::setupStatusBar()
void KImageMapEditor::slotShowPreferences()
{
PreferencesDialog *dialog = new PreferencesDialog(widget(),config());
- connect(dialog, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(slotConfigChanged()));
+ connect(dialog, TQ_SIGNAL(applyClicked()), this, TQ_SLOT(slotConfigChanged()));
dialog->exec();
delete dialog;
}
@@ -1327,7 +1327,7 @@ int KImageMapEditor::showTagEditor(Area *a) {
drawZone->repaintArea(*a);
AreaDialog *dialog= new AreaDialog(this,a);
- connect (dialog, TQT_SIGNAL(areaChanged(Area*)), this, TQT_SLOT(slotAreaChanged(Area*)));
+ connect (dialog, TQ_SIGNAL(areaChanged(Area*)), this, TQ_SLOT(slotAreaChanged(Area*)));
int result = dialog->exec();
@@ -1529,7 +1529,7 @@ void KImageMapEditor::mapEditName()
void KImageMapEditor::mapShowHTML()
{
- KDialogBase *dialog= new KDialogBase(widget(),TQString(),true,i18n("HTML Code of Map"),KDialogBase::Ok);
+ KDialogBase *dialog= new KDialogBase(widget(), "", true, i18n("HTML Code of Map"), KDialogBase::Ok);
TQMultiLineEdit *edit = new TQMultiLineEdit(dialog);
edit->setText(getHtmlCode());
diff --git a/kimagemapeditor/kimagemapeditor.desktop b/kimagemapeditor/kimagemapeditor.desktop
index bef5e0bc..118d5127 100644
--- a/kimagemapeditor/kimagemapeditor.desktop
+++ b/kimagemapeditor/kimagemapeditor.desktop
@@ -1,56 +1,12 @@
[Desktop Entry]
+Name=KImageMapEditor
+
+GenericName=HTML Image Map Editor
+
Type=Application
MimeType=text/html;
Exec=kimagemapeditor -caption "%c" %i %m
Icon=kimagemapeditor
Terminal=false
X-DocPath=kimagemapeditor/index.html
-Name=KImageMapEditor
-Name[ne]=केडीई छवि मानचित्र सम्पादक
-Name[pt_BR]=KEditor de Mapeamento de Imagem
-Name[sk]=KImage editor mapy
-Name[sv]=Kimagemapeditor
-Name[ta]=Kவடிவம் வரைப்படம் திருத்தி
-Name[tg]=KМуҳаррири тасвири ҳарита
-Name[tr]=K Resim Haritası Düzenleyicisi
-GenericName=HTML Image Map Editor
-GenericName[bg]=Редактор на маркирания на изображения за HTML
-GenericName[ca]=Un editor de mapes d'imatge HTML
-GenericName[cs]=Editor HTML map
-GenericName[da]=HTML editor af kortbilleder
-GenericName[de]=Editor für HTML-Bildkarten (Imagemaps)
-GenericName[el]=HTML επεξεργαστής εικόνων
-GenericName[es]=Editor de mapas de imágenes HTML
-GenericName[et]=Hüperpildiredaktor
-GenericName[eu]=HTML irudi-mapa editorea
-GenericName[fa]=ویرایشگر نگاشت تصویر زنگام
-GenericName[fi]=HTML-kuvaeditori
-GenericName[fr]=Éditeur d'hyperimages HTML
-GenericName[gl]=Editor de mapas de imaxes HTML
-GenericName[hu]=HTML-térképszerkesztő
-GenericName[is]=HTML myndakortsritill
-GenericName[it]=Editor per le mappe di immagini HTML
-GenericName[ja]=HTML イメージマップエディタ
-GenericName[ka]=HTML გამოსახულების რუქის რედაქტორი
-GenericName[lt]=HTML paveikslėlių žemėlapių rengyklė
-GenericName[ms]=Penyunting Peta Imej HTML
-GenericName[nds]=Editor för HTML-Bildkoorten
-GenericName[ne]=एचटीएमएल छवि मानचित्र सम्पादक
-GenericName[nl]=HTML imagemap editor
-GenericName[pa]=HTML ਚਿੱਤਰ ਨਕਸ਼ਾ ਸੰਪਾਦਕ
-GenericName[pl]=Edytor map obrazków HTML
-GenericName[pt]=Editor de Mapas de Imagem HTML
-GenericName[pt_BR]=Editor de Mapeamento de Imagem HTML
-GenericName[sk]=Editor HTML mapy obrázkov
-GenericName[sl]=Urejevalnik slikovnih zemljevidov v HTML
-GenericName[sr]=Уређивач HTML сликовне мапе
-GenericName[sr@Latn]=Uređivač HTML slikovne mape
-GenericName[sv]=Redigering av HTML-bildkartor
-GenericName[ta]=HTML வடிவம் வரைப்படம் திருத்தி
-GenericName[tg]=Муҳаррири тасвири ҳаритаи HTML
-GenericName[tr]=HTML Resim Haritası Düzenleyicisi
-GenericName[uk]=Редактор карт зображень HTML
-GenericName[zh_CN]=HTML 图像映射编辑器
-GenericName[zh_HK]=HTML 影像地圖編輯器
-GenericName[zh_TW]=HTML 影像地圖編輯器
Categories=Qt;TDE;Development;WebDevelopment;
diff --git a/kimagemapeditor/kimagemapeditor.h b/kimagemapeditor/kimagemapeditor.h
index d500c099..615f0498 100644
--- a/kimagemapeditor/kimagemapeditor.h
+++ b/kimagemapeditor/kimagemapeditor.h
@@ -129,7 +129,7 @@ class KDockMainWindow;
#define STATUS_SELECTION 1001
class KImageMapEditor : public KParts::ReadWritePart {
- Q_OBJECT
+ TQ_OBJECT
public :
enum ToolType { Selection, Rectangle, Circle, Polygon, Freehand, AddPoint, RemovePoint };
diff --git a/kimagemapeditor/kimagemapeditorpart.desktop b/kimagemapeditor/kimagemapeditorpart.desktop
index 2eb35bab..bc3adf99 100644
--- a/kimagemapeditor/kimagemapeditorpart.desktop
+++ b/kimagemapeditor/kimagemapeditorpart.desktop
@@ -1,54 +1,10 @@
[Desktop Entry]
+Name=KImageMapEditor
+
+Comment=An HTML imagemap editor
+
Type=Service
MimeType=text/html
Icon=kimagemapeditor
X-TDE-ServiceTypes=KParts/ReadWritePart
X-TDE-Library=libkimagemapeditor
-Comment=An HTML imagemap editor
-Comment[bg]=Редактор на маркирания на изображения за HTML
-Comment[ca]=Un editor de mapes d'imatge HTML
-Comment[cs]=Editor HTML map
-Comment[da]=En HTML-editor af kortbilleder
-Comment[de]=Ein Editor für HTML-Bildkarten (Imagemaps)
-Comment[el]=HTML επεξεργαστής εικόνων
-Comment[es]=Un editor de mapas de imágenes HTML
-Comment[et]=Hüperpildiredaktor
-Comment[eu]=HTML irudi-mapa editore bat
-Comment[fa]=یک ویرایشگر نگاشت تصویر زنگام
-Comment[fi]=HTML-imagemap -editori
-Comment[fr]=Éditeur d'hyperimages HTML
-Comment[gl]=Un editor de mapas de imaxes HTML
-Comment[hu]=HTML-térképszerkesztő
-Comment[is]=HTML myndakortsritill
-Comment[it]=Un editor per le mappe di immagini HTML
-Comment[ja]=HTML イメージマップエディタ
-Comment[ka]=HTML გამოსახულების რუქის რედაქტორი
-Comment[lt]=HTML paveikslėlių žemėlapių rengyklė
-Comment[ms]=Penyunting Peta Imej HTML
-Comment[nds]=En Editor för HTML-Bildkoorten
-Comment[ne]=एउटा एचटीएमएल छवि मानचित्र सम्पादकस
-Comment[nl]=Een hulpmiddel om HTML imagemaps te maken
-Comment[pl]=Edytor map obrazków HTML
-Comment[pt]=Editor de Mapas de Imagem HTML
-Comment[pt_BR]=Um editor de mapeamento de imagem HTML
-Comment[ru]=Редактор HTML imagemap
-Comment[sk]=Editor HTML mapy obrázkov
-Comment[sl]=Urejevalnik slikovnih zemljevidov v HTML
-Comment[sr]=Уређивач HTML сликовне мапе
-Comment[sr@Latn]=Uređivač HTML slikovne mape
-Comment[sv]=En editor för HTML-bildkartor
-Comment[ta]=An HTML வடிவம் வரைப்படம் திருத்தி
-Comment[tg]=Муҳаррири тасвири ҳаритаи HTML
-Comment[tr]=Bir HTML resim_haritası düzenleyicisi
-Comment[uk]=Редактор imagemap HTML
-Comment[zh_CN]=HTML 图像映射编辑器
-Comment[zh_HK]=一個 HTML 影像地圖的編輯器
-Comment[zh_TW]=一個 HTML 影像地圖的編輯器
-Name=KImageMapEditor
-Name[ne]=केडीई छवि मानचित्र सम्पादक
-Name[pt_BR]=KEditor de Mapeamento de Imagem
-Name[sk]=KImage editor mapy
-Name[sv]=Kimagemapeditor
-Name[ta]=Kவடிவம் வரைப்படம் திருத்தி
-Name[tg]=KМуҳаррири тасвири ҳарита
-Name[tr]=K Resim Haritası Düzenleyicisi
diff --git a/kimagemapeditor/kimedialogs.cpp b/kimagemapeditor/kimedialogs.cpp
index 2b7b92bb..fe389c1a 100644
--- a/kimagemapeditor/kimedialogs.cpp
+++ b/kimagemapeditor/kimedialogs.cpp
@@ -76,7 +76,7 @@ RectCoordsEdit::RectCoordsEdit(TQWidget *parent, Area* a)
topXSpin->setMinValue(0);
topXSpin->setValue(a->rect().left());
layout->addWidget(topXSpin,0,1);
- connect( topXSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( topXSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
TQLabel *lbl= new TQLabel(i18n("Top &X:"),this);
lbl->setBuddy(topXSpin);
@@ -87,7 +87,7 @@ RectCoordsEdit::RectCoordsEdit(TQWidget *parent, Area* a)
topYSpin->setMinValue(0);
topYSpin->setValue(a->rect().top());
layout->addWidget(topYSpin,1,1);
- connect( topYSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( topYSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
lbl= new TQLabel(i18n("Top &Y:"),this);
lbl->setBuddy(topYSpin);
@@ -98,7 +98,7 @@ RectCoordsEdit::RectCoordsEdit(TQWidget *parent, Area* a)
widthSpin->setMinValue(0);
widthSpin->setValue(a->rect().width());
layout->addWidget(widthSpin,2,1);
- connect( widthSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( widthSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
lbl= new TQLabel(i18n("&Width:"),this);
lbl->setBuddy(widthSpin);
@@ -109,7 +109,7 @@ RectCoordsEdit::RectCoordsEdit(TQWidget *parent, Area* a)
heightSpin->setMinValue(0);
heightSpin->setValue(a->rect().height());
layout->addWidget(heightSpin,3,1);
- connect( heightSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( heightSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
lbl= new TQLabel(i18n("Hei&ght:"),this);
lbl->setBuddy(heightSpin);
@@ -137,7 +137,7 @@ CircleCoordsEdit::CircleCoordsEdit(TQWidget *parent, Area* a)
centerXSpin->setMinValue(0);
centerXSpin->setValue(a->rect().center().x());
layout->addWidget(centerXSpin,0,1);
- connect( centerXSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( centerXSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
TQLabel *lbl= new TQLabel(i18n("Center &X:"),this);
lbl->setBuddy(centerXSpin);
@@ -148,7 +148,7 @@ CircleCoordsEdit::CircleCoordsEdit(TQWidget *parent, Area* a)
centerYSpin->setMinValue(0);
centerYSpin->setValue(a->rect().center().y());
layout->addWidget(centerYSpin,1,1);
- connect( centerYSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( centerYSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
lbl= new TQLabel(i18n("Center &Y:"),this);
@@ -160,7 +160,7 @@ CircleCoordsEdit::CircleCoordsEdit(TQWidget *parent, Area* a)
radiusSpin->setMinValue(0);
radiusSpin->setValue(a->rect().width()/2);
layout->addWidget(radiusSpin,2,1);
- connect( radiusSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( radiusSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
lbl= new TQLabel(i18n("&Radius:"),this);
@@ -199,7 +199,7 @@ PolyCoordsEdit::PolyCoordsEdit(TQWidget *parent, Area* a)
coordsTable->setText(i,1, TQString::number(area->coords()->point(i).y()) );
}
- connect( coordsTable, TQT_SIGNAL(currentChanged(int,int)), this, TQT_SLOT(slotHighlightPoint(int)));
+ connect( coordsTable, TQ_SIGNAL(currentChanged(int,int)), this, TQ_SLOT(slotHighlightPoint(int)));
// coordsTable->setMinimumHeight(50);
// coordsTable->setMaximumHeight(400);
@@ -209,9 +209,9 @@ PolyCoordsEdit::PolyCoordsEdit(TQWidget *parent, Area* a)
layout->setStretchFactor(coordsTable,-1);
TQHBox *hbox= new TQHBox(this);
TQPushButton *addBtn=new TQPushButton(i18n("Add"),hbox);
- connect( addBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotAddPoint()));
+ connect( addBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotAddPoint()));
TQPushButton *removeBtn=new TQPushButton(i18n("Remove"),hbox);
- connect( removeBtn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotRemovePoint()));
+ connect( removeBtn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotRemovePoint()));
layout->addWidget(hbox);
slotHighlightPoint(1);
@@ -284,7 +284,7 @@ SelectionCoordsEdit::SelectionCoordsEdit(TQWidget *parent, Area* a)
topXSpin->setMinValue(0);
topXSpin->setValue(a->rect().left());
layout->addWidget(topXSpin,0,1);
- connect( topXSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( topXSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
TQLabel *lbl= new TQLabel(i18n("Top &X"),this);
lbl->setBuddy(topXSpin);
@@ -295,7 +295,7 @@ SelectionCoordsEdit::SelectionCoordsEdit(TQWidget *parent, Area* a)
topYSpin->setMinValue(0);
topYSpin->setValue(a->rect().top());
layout->addWidget(topYSpin,1,1);
- connect( topYSpin, TQT_SIGNAL(valueChanged(const TQString &)), this, TQT_SLOT(slotTriggerUpdate()));
+ connect( topYSpin, TQ_SIGNAL(valueChanged(const TQString &)), this, TQ_SLOT(slotTriggerUpdate()));
lbl= new TQLabel(i18n("Top &Y"),this);
lbl->setBuddy(topYSpin);
@@ -329,7 +329,7 @@ TQWidget* AreaDialog::createGeneralPage()
hrefEdit = new TQLineEdit(area->attribute("href"),hbox);
TQPushButton *btn = new TQPushButton("",hbox);
btn->setPixmap(SmallIcon("document-open"));
- connect( btn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotChooseHref()));
+ connect( btn, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotChooseHref()));
hbox->setMinimumHeight(hbox->height());
layout->addWidget(hbox,0,2);
@@ -363,7 +363,7 @@ TQWidget* AreaDialog::createCoordsPage()
coordsEdit = createCoordsEdit(page,area);
layout->addWidget(coordsEdit);
- connect( coordsEdit, TQT_SIGNAL(update()), this, TQT_SLOT(slotUpdateArea()));
+ connect( coordsEdit, TQ_SIGNAL(update()), this, TQ_SLOT(slotUpdateArea()));
return page;
}
@@ -395,9 +395,9 @@ TQWidget* AreaDialog::createButtonBar()
TQPushButton *applyBtn = new KPushButton(KStdGuiItem::apply(),box);
TQPushButton *cancelBtn = new KPushButton(KStdGuiItem::cancel(),box);
- connect(okBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOk()));
- connect(applyBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotApply()));
- connect(cancelBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCancel()));
+ connect(okBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOk()));
+ connect(applyBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotApply()));
+ connect(cancelBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCancel()));
box->setSpacing(5);
box->setStretchFactor(spacer,10);
@@ -635,7 +635,7 @@ ImageMapChooseDialog::ImageMapChooseDialog(TQWidget* parent,TQPtrList<MapTag> *_
for (MapTag *tag = maps->first(); tag!=0L; tag=maps->next()) {
mapListBox->insertItem(tag->name);
}
- connect (mapListBox, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotMapChanged(int)));
+ connect (mapListBox, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotMapChanged(int)));
}
initImageListTable(page);
@@ -696,7 +696,7 @@ void ImageMapChooseDialog::initImageListTable(TQWidget* parent) {
imageListTable->setText(row,1,usemap);
row++;
}
- connect (imageListTable, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotImageChanged()));
+ connect (imageListTable, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotImageChanged()));
imageListTable->selectRow(0);
slotImageChanged();
@@ -855,7 +855,7 @@ HTMLPreviewDialog::HTMLPreviewDialog(TQWidget* parent, KURL url, const TQString
// dialog->adjustSize();
TQLabel* lbl = new TQLabel(page,"urllabel");
- connect( htmlPart, TQT_SIGNAL( onURL(const TQString&)), lbl, TQT_SLOT( setText(const TQString&)));
+ connect( htmlPart, TQ_SIGNAL( onURL(const TQString&)), lbl, TQ_SLOT( setText(const TQString&)));
}
HTMLPreviewDialog::~HTMLPreviewDialog() {
diff --git a/kimagemapeditor/kimedialogs.h b/kimagemapeditor/kimedialogs.h
index aa8cdebe..03bccbf0 100644
--- a/kimagemapeditor/kimedialogs.h
+++ b/kimagemapeditor/kimedialogs.h
@@ -32,7 +32,7 @@ class TQSpinBox;
class CoordsEdit : public TQWidget {
-Q_OBJECT
+TQ_OBJECT
public :
CoordsEdit(TQWidget *parent, Area* a);
@@ -70,7 +70,7 @@ class CircleCoordsEdit : public CoordsEdit {
class TQTable;
class PolyCoordsEdit : public CoordsEdit {
- Q_OBJECT
+ TQ_OBJECT
public:
PolyCoordsEdit(TQWidget *parent, Area* a);
@@ -86,7 +86,7 @@ class PolyCoordsEdit : public CoordsEdit {
};
class SelectionCoordsEdit : public CoordsEdit {
- Q_OBJECT
+ TQ_OBJECT
public:
SelectionCoordsEdit(TQWidget *parent, Area* a);
@@ -102,7 +102,7 @@ class TQCheckBox;
class TQGridLayout;
class AreaDialog : public KDialog {
- Q_OBJECT
+ TQ_OBJECT
private:
Area *area;
@@ -152,7 +152,7 @@ class TQLabel;
class ImageMapChooseDialog : public KDialogBase {
- Q_OBJECT
+ TQ_OBJECT
private:
TQTable *imageListTable;
@@ -178,7 +178,7 @@ class ImageMapChooseDialog : public KDialogBase {
class TDEConfig;
class PreferencesDialog : public KDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
PreferencesDialog(TQWidget *parent,TDEConfig*);
diff --git a/kimagemapeditor/kimeshell.cpp b/kimagemapeditor/kimeshell.cpp
index 0cbcd542..2c69ab22 100644
--- a/kimagemapeditor/kimeshell.cpp
+++ b/kimagemapeditor/kimeshell.cpp
@@ -54,7 +54,7 @@ KimeShell::KimeShell(const char *name )
mainDock->setEnableDocking(KDockWidget::DockNone);
setView( mainDock); // central widget in a KDE mainwindow
setMainDockWidget( mainDock); // master dockwidget
- m_part = new KImageMapEditor( w, "kimagemapeditor", TQT_TQOBJECT(this), "kimagemapeditor");
+ m_part = new KImageMapEditor( w, "kimagemapeditor", this, "kimagemapeditor");
// setCentralWidget( part->widget() );
@@ -73,11 +73,11 @@ KimeShell::KimeShell(const char *name )
if (!initialGeometrySet())
resize( TQSize(725, 525).expandedTo(minimumSizeHint()));
- connect( m_part, TQT_SIGNAL(setStatusBarText(const TQString &)),
- this, TQT_SLOT(slotSetStatusBarText ( const TQString & )));
+ connect( m_part, TQ_SIGNAL(setStatusBarText(const TQString &)),
+ this, TQ_SLOT(slotSetStatusBarText ( const TQString & )));
- connect( m_part, TQT_SIGNAL(setWindowCaption(const TQString &)),
- this, TQT_SLOT(setCaption( const TQString &)));
+ connect( m_part, TQ_SIGNAL(setWindowCaption(const TQString &)),
+ this, TQ_SLOT(setCaption( const TQString &)));
setAutoSaveSettings( "General Options" );
@@ -91,7 +91,7 @@ KimeShell::~KimeShell()
bool KimeShell::queryClose()
{
if (_stdout) {
- std::cout << m_part->getHtmlCode() << std::endl;
+ std::cout << m_part->getHtmlCode().local8Bit() << std::endl;
}
return m_part->queryClose();
@@ -109,16 +109,16 @@ bool KimeShell::queryExit()
void KimeShell::setupActions()
{
- (void)KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(fileNew()), actionCollection());
+ (void)KStdAction::openNew(this, TQ_SLOT(fileNew()), actionCollection());
// File Quit
- (void)KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()),actionCollection());
+ (void)KStdAction::quit(this, TQ_SLOT(close()),actionCollection());
- (void)KStdAction::showToolbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowToolbar()), actionCollection());
- (void)KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection());
- (void)KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection());
- (void)KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowStatusbar()), actionCollection());
+ (void)KStdAction::showToolbar(this, TQ_SLOT(optionsShowToolbar()), actionCollection());
+ (void)KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()), actionCollection());
+ (void)KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()), actionCollection());
+ (void)KStdAction::showStatusbar(this, TQ_SLOT(optionsShowStatusbar()), actionCollection());
}
@@ -245,33 +245,33 @@ void KimeShell::optionsConfigureKeys() {
}
void KimeShell::optionsConfigureToolbars()
-{
+{
#if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
# else
saveMainWindowSettings(TDEGlobal::config() );
# endif
-#else
+#else
saveMainWindowSettings(TDEGlobal::config() );
#endif
// use the standard toolbar editor
KEditToolbar dlg(factory());
- connect(&dlg, TQT_SIGNAL(newToolbarConfig()),
- this, TQT_SLOT(applyNewToolbarConfig()));
+ connect(&dlg, TQ_SIGNAL(newToolbarConfig()),
+ this, TQ_SLOT(applyNewToolbarConfig()));
dlg.exec();
}
void KimeShell::applyNewToolbarConfig()
-{
+{
#if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
# else
applyMainWindowSettings(TDEGlobal::config());
# endif
-#else
+#else
applyMainWindowSettings(TDEGlobal::config());
#endif
}
diff --git a/kimagemapeditor/kimeshell.h b/kimagemapeditor/kimeshell.h
index 154edb59..1d86138a 100644
--- a/kimagemapeditor/kimeshell.h
+++ b/kimagemapeditor/kimeshell.h
@@ -24,7 +24,7 @@ class KImageMapEditor;
class KimeShell : public KParts::DockMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kimagemapeditor/mapslistview.cpp b/kimagemapeditor/mapslistview.cpp
index 84a77bc2..38884cf6 100644
--- a/kimagemapeditor/mapslistview.cpp
+++ b/kimagemapeditor/mapslistview.cpp
@@ -31,11 +31,11 @@ MapsListView::MapsListView(TQWidget *parent, const char *name)
_listView->setSelectionMode(TQListView::Single);
_listView->setItemsRenameable(true);
- connect( _listView, TQT_SIGNAL( selectionChanged(TQListViewItem*)),
- this, TQT_SLOT( slotSelectionChanged(TQListViewItem*)));
+ connect( _listView, TQ_SIGNAL( selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT( slotSelectionChanged(TQListViewItem*)));
- connect( _listView, TQT_SIGNAL( itemRenamed(TQListViewItem*)),
- this, TQT_SLOT( slotItemRenamed(TQListViewItem*)));
+ connect( _listView, TQ_SIGNAL( itemRenamed(TQListViewItem*)),
+ this, TQ_SLOT( slotItemRenamed(TQListViewItem*)));
}
diff --git a/kimagemapeditor/mapslistview.h b/kimagemapeditor/mapslistview.h
index 858071ec..d3cea955 100644
--- a/kimagemapeditor/mapslistview.h
+++ b/kimagemapeditor/mapslistview.h
@@ -30,7 +30,7 @@ class TDEListView;
**/
class MapsListView : public TQVBox
{
-Q_OBJECT
+TQ_OBJECT
public:
MapsListView(TQWidget *parent, const char *name);
diff --git a/kimagemapeditor/pics/CMakeLists.txt b/kimagemapeditor/pics/CMakeLists.txt
new file mode 100644
index 00000000..ab7482a7
--- /dev/null
+++ b/kimagemapeditor/pics/CMakeLists.txt
@@ -0,0 +1,16 @@
+##### icons
+
+
+tde_install_icons(
+ addpoint arrow circle circle2 freehand lower
+ polygon raise rectangle removepoint
+ DESTINATION ${DATA_INSTALL_DIR}/kimagemapeditor/icons
+)
+
+tde_install_icons( kimagemapeditor )
+
+install(
+ FILES addpointcursor.png freehandcursor.png
+ polygoncursor.png removepointcursor.png
+ DESTINATION ${DATA_INSTALL_DIR}/kimagemapeditor
+)
diff --git a/kimagemapeditor/qextfileinfo.cpp b/kimagemapeditor/qextfileinfo.cpp
index 031a34ab..8bb304b2 100644
--- a/kimagemapeditor/qextfileinfo.cpp
+++ b/kimagemapeditor/qextfileinfo.cpp
@@ -220,10 +220,10 @@ KURL::List QExtFileInfo::allFilesInternal(const KURL& startURL, const TQString&
bJobOK = true;
TDEIO::ListJob *job = TDEIO::listRecursive(startURL, false, true);
- connect(job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList&)),
- this, TQT_SLOT(slotNewEntries(TDEIO::Job *, const TDEIO::UDSEntryList&)));
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect(job, TQ_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList&)),
+ this, TQ_SLOT(slotNewEntries(TDEIO::Job *, const TDEIO::UDSEntryList&)));
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
// kdDebug(24000) << "Now listing: " << startURL.url() << endl;
enter_loop();
@@ -247,11 +247,11 @@ bool QExtFileInfo::internalExists(const KURL& url)
TDEIO::StatJob * job = TDEIO::stat( url, false);
job->setDetails(0);
job->setSide(false); //check the url for writing
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
//To avoid lock-ups, start a timer.
- TQTimer::singleShot(10*1000, this,TQT_SLOT(slotTimeout()));
+ TQTimer::singleShot(10*1000, this,TQ_SLOT(slotTimeout()));
// kdDebug(24000)<<"QExtFileInfo::internalExists:before enter_loop"<<endl;
enter_loop();
// kdDebug(24000)<<"QExtFileInfo::internalExists:after enter_loop"<<endl;
@@ -266,8 +266,8 @@ bool QExtFileInfo::internalCopy(const KURL& src, const KURL& target, int permiss
TDEIO::Scheduler::checkSlaveOnHold(true);
TDEIO::Job * job = TDEIO::file_copy( src, target, permissions, overwrite, resume );
job->setWindow (window);
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
enter_loop();
return bJobOK;
@@ -280,7 +280,7 @@ void tqt_leave_modal( TQWidget *widget );
void QExtFileInfo::enter_loop()
{
TQWidget dummy(0,0,WType_Dialog | WShowModal);
- dummy.setFocusPolicy( TQ_NoFocus );
+ dummy.setFocusPolicy( TQWidget::NoFocus );
tqt_enter_modal(&dummy);
// kdDebug(24000)<<"QExtFileInfo::enter_loop:before tqApp->enter_loop()"<<endl;
tqApp->enter_loop();
diff --git a/kimagemapeditor/qextfileinfo.h b/kimagemapeditor/qextfileinfo.h
index 86dd2923..7c838951 100644
--- a/kimagemapeditor/qextfileinfo.h
+++ b/kimagemapeditor/qextfileinfo.h
@@ -23,7 +23,7 @@
class QExtFileInfo:public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
QExtFileInfo() {};
diff --git a/klinkstatus/CMakeLists.txt b/klinkstatus/CMakeLists.txt
new file mode 100644
index 00000000..08aee1f1
--- /dev/null
+++ b/klinkstatus/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory( data )
+add_subdirectory( src )
diff --git a/klinkstatus/data/CMakeLists.txt b/klinkstatus/data/CMakeLists.txt
new file mode 100644
index 00000000..4a0967ef
--- /dev/null
+++ b/klinkstatus/data/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory( icons )
+add_subdirectory( styles )
diff --git a/klinkstatus/data/icons/16x16/CMakeLists.txt b/klinkstatus/data/icons/16x16/CMakeLists.txt
new file mode 100644
index 00000000..f83c3ba4
--- /dev/null
+++ b/klinkstatus/data/icons/16x16/CMakeLists.txt
@@ -0,0 +1,8 @@
+##### icons
+
+install(
+ FILES 304.png
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatuspart/pics
+)
+
+tde_install_icons()
diff --git a/klinkstatus/data/icons/16x16/cr16-action-bug.png b/klinkstatus/data/icons/16x16/cr16-action-bug.png
deleted file mode 100644
index 766bb8cf..00000000
--- a/klinkstatus/data/icons/16x16/cr16-action-bug.png
+++ /dev/null
Binary files differ
diff --git a/klinkstatus/data/icons/22x22/Makefile.am b/klinkstatus/data/icons/22x22/Makefile.am
deleted file mode 100644
index bdcbfad2..00000000
--- a/klinkstatus/data/icons/22x22/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-klinkstatusicondir = $(kde_datadir)/klinkstatuspart/pics
diff --git a/klinkstatus/data/icons/32x32/Makefile.am b/klinkstatus/data/icons/32x32/Makefile.am
deleted file mode 100644
index 5d234f12..00000000
--- a/klinkstatus/data/icons/32x32/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-klinkstatusicondir = $(kde_datadir)/klinkstatuspart/pics
-
diff --git a/klinkstatus/data/icons/CMakeLists.txt b/klinkstatus/data/icons/CMakeLists.txt
new file mode 100644
index 00000000..33315642
--- /dev/null
+++ b/klinkstatus/data/icons/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_subdirectory( 16x16 )
+
+
+##### icons
+
+tde_install_icons( klinkstatus )
diff --git a/klinkstatus/data/icons/Makefile.am b/klinkstatus/data/icons/Makefile.am
index 14f1949a..f9317118 100644
--- a/klinkstatus/data/icons/Makefile.am
+++ b/klinkstatus/data/icons/Makefile.am
@@ -1,2 +1,2 @@
-SUBDIRS = 32x32 22x22 16x16
+SUBDIRS = 16x16
KDE_ICON = klinkstatus
diff --git a/klinkstatus/data/styles/CMakeLists.txt b/klinkstatus/data/styles/CMakeLists.txt
new file mode 100644
index 00000000..7370d82e
--- /dev/null
+++ b/klinkstatus/data/styles/CMakeLists.txt
@@ -0,0 +1,4 @@
+install(
+ FILES results_stylesheet.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatus/styles
+)
diff --git a/klinkstatus/klinkstatus.tdevelop b/klinkstatus/klinkstatus.tdevelop
index fe98acbc..dfa6da01 100644
--- a/klinkstatus/klinkstatus.tdevelop
+++ b/klinkstatus/klinkstatus.tdevelop
@@ -47,7 +47,7 @@
<ccompiler>tdevgccoptions</ccompiler>
<cxxcompiler>tdevgppoptions</cxxcompiler>
<f77compiler>tdevg77options</f77compiler>
- <cxxflags>-DKDE_NO_COMPAT -DTQT_NO_COMPAT -DQT_FATAL_ASSERT</cxxflags>
+ <cxxflags>-DKDE_NO_COMPAT -DQT_FATAL_ASSERT</cxxflags>
<topsourcedir>..</topsourcedir>
<cppflags/>
<ldflags/>
diff --git a/klinkstatus/src/CMakeL10n.txt b/klinkstatus/src/CMakeL10n.txt
index 15d6cad7..3e197d38 100644
--- a/klinkstatus/src/CMakeL10n.txt
+++ b/klinkstatus/src/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "klinkstatus" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/klinkstatus-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/klinkstatus/src/CMakeLists.txt b/klinkstatus/src/CMakeLists.txt
new file mode 100644
index 00000000..8b657494
--- /dev/null
+++ b/klinkstatus/src/CMakeLists.txt
@@ -0,0 +1,94 @@
+add_subdirectory( cfg )
+add_subdirectory( engine )
+add_subdirectory( parser )
+add_subdirectory( utils )
+add_subdirectory( ui )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/klinkstatus/src/ui
+ ${CMAKE_BINARY_DIR}/klinkstatus/src/ui/settings
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libklinkstatuspart (kpart)
+
+tde_add_kpart( libklinkstatuspart AUTOMOC
+
+ SOURCES
+ klinkstatus_part.cpp
+ global.cpp
+ actionmanager.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ settings-static
+ ui-static
+ engine-static
+ klinkstatus-parser-static
+ utils-static
+
+ DEPENDENCIES
+ ui-static
+ settings-static
+ engine-static
+ klinkstatus-parser-static
+ utils-static
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### klinkstatus (executable)
+
+tde_add_executable( klinkstatus AUTOMOC
+
+ SOURCES
+ klinkstatus.cpp
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeparts-shared
+ klinkstatus-parser-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES klinkstatus_shell.rc
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatus
+)
+
+tde_create_translated_desktop(
+ SOURCE klinkstatus.desktop
+ PO_DIR klinkstatus-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE klinkstatus_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR klinkstatus-desktops
+)
+
+install(
+ FILES klinkstatus_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatuspart
+)
diff --git a/klinkstatus/src/actionmanager.cpp b/klinkstatus/src/actionmanager.cpp
index 6c8ef1a6..26a969df 100644
--- a/klinkstatus/src/actionmanager.cpp
+++ b/klinkstatus/src/actionmanager.cpp
@@ -89,34 +89,34 @@ void ActionManager::initPart(KLinkStatusPart* part)
new TDEAction(i18n("New Link Check"), "document-new",
0,
- d->part, TQT_SLOT(slotNewLinkCheck()),
- TQT_TQOBJECT(d->actionCollection), "new_link_check");
+ d->part, TQ_SLOT(slotNewLinkCheck()),
+ d->actionCollection, "new_link_check");
new TDEAction(i18n("Open URL..."), "document-open",
0,
- d->part, TQT_SLOT(slotOpenLink()),
- TQT_TQOBJECT(d->actionCollection), "open_link");
+ d->part, TQ_SLOT(slotOpenLink()),
+ d->actionCollection, "open_link");
action = new TDEAction(i18n("Close Tab"), "window-close",
0,
- d->part, TQT_SLOT(slotClose()),
- TQT_TQOBJECT(d->actionCollection), "close_tab");
+ d->part, TQ_SLOT(slotClose()),
+ d->actionCollection, "close_tab");
action->setEnabled(false);
// *************** Settings menu *********************
(void) new TDEAction(i18n("Configure KLinkStatus..."), "configure",
- 0, d->part, TQT_SLOT(slotConfigureKLinkStatus()),
- TQT_TQOBJECT(d->actionCollection), "configure_klinkstatus");
+ 0, d->part, TQ_SLOT(slotConfigureKLinkStatus()),
+ d->actionCollection, "configure_klinkstatus");
// *************** Help menu *********************
(void) new TDEAction(i18n("About KLinkStatus"), "klinkstatus",
- 0, d->part, TQT_SLOT(slotAbout()),
- TQT_TQOBJECT(d->actionCollection), "about_klinkstatus");
+ 0, d->part, TQ_SLOT(slotAbout()),
+ d->actionCollection, "about_klinkstatus");
(void) new TDEAction(i18n("&Report Bug..."), 0, 0, d->part,
- TQT_SLOT(slotReportBug()), TQT_TQOBJECT(d->actionCollection), "report_bug");
+ TQ_SLOT(slotReportBug()), d->actionCollection, "report_bug");
// *************** View menu *********************
}
@@ -133,8 +133,8 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
// *************** File menu *********************
TDEAction* action = new TDEAction(i18n("E&xport Results as HTML..."), "document-save", 0,
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotExportAsHTML()),
- TQT_TQOBJECT(d->actionCollection), "file_export_html");
+ d->tabWidgetSession, TQ_SLOT(slotExportAsHTML()),
+ d->actionCollection, "file_export_html");
action->setEnabled(false);
// *************** View menu *********************
@@ -142,39 +142,39 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
// this action must be in the tabwidget because the slot can't be connected to a particular sessionWidget
TDEToggleAction* toggle_action = new TDEToggleAction(i18n("&Follow last Link checked"),
"make_tdevelop", "Ctrl+f",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotFollowLastLinkChecked()),
- TQT_TQOBJECT(d->actionCollection), "follow_last_link_checked");
+ d->tabWidgetSession, TQ_SLOT(slotFollowLastLinkChecked()),
+ d->actionCollection, "follow_last_link_checked");
toggle_action->setChecked(KLSConfig::followLastLinkChecked());
// this action must be in the tabwidget because the slot can't be connected to a particular sessionWidget
toggle_action = new TDEToggleAction(i18n("&Hide Search Panel"), "go-bottom", "Ctrl+h",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotHideSearchPanel()),
- TQT_TQOBJECT(d->actionCollection), "hide_search_bar");
+ d->tabWidgetSession, TQ_SLOT(slotHideSearchPanel()),
+ d->actionCollection, "hide_search_bar");
KGuiItem item(i18n("&Show Search Panel"), "go-top", "Show Search Panel");
toggle_action->setCheckedState(item);
new TDEAction(i18n("&Reset Search Options"), "reload", "F5",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotResetSearchOptions()),
- TQT_TQOBJECT(d->actionCollection), "reset_search_bar");
+ d->tabWidgetSession, TQ_SLOT(slotResetSearchOptions()),
+ d->actionCollection, "reset_search_bar");
// *************** Search menu *********************
toggle_action = new TDEToggleAction(i18n("&Start Search"),
"media-playback-start", "Ctrl+s",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotStartSearch()),
- TQT_TQOBJECT(d->actionCollection), "start_search");
+ d->tabWidgetSession, TQ_SLOT(slotStartSearch()),
+ d->actionCollection, "start_search");
toggle_action->setEnabled(false);
toggle_action = new TDEToggleAction(i18n("&Pause Search"),
"media-playback-pause", "Ctrl+p",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotPauseSearch()),
- TQT_TQOBJECT(d->actionCollection), "pause_search");
+ d->tabWidgetSession, TQ_SLOT(slotPauseSearch()),
+ d->actionCollection, "pause_search");
toggle_action->setEnabled(false);
action = new TDEAction(i18n("St&op Search"),
"media-playback-stop", "Ctrl+c",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotStopSearch()),
- TQT_TQOBJECT(d->actionCollection), "stop_search");
+ d->tabWidgetSession, TQ_SLOT(slotStopSearch()),
+ d->actionCollection, "stop_search");
action->setEnabled(false);
}
diff --git a/klinkstatus/src/actionmanager.h b/klinkstatus/src/actionmanager.h
index 15584b0c..66303d57 100644
--- a/klinkstatus/src/actionmanager.h
+++ b/klinkstatus/src/actionmanager.h
@@ -36,7 +36,7 @@ class TabWidgetSession;
*/
class ActionManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
ActionManager(TQObject* parent=0, const char* name=0);
diff --git a/klinkstatus/src/cfg/CMakeLists.txt b/klinkstatus/src/cfg/CMakeLists.txt
new file mode 100644
index 00000000..f5f9a1f3
--- /dev/null
+++ b/klinkstatus/src/cfg/CMakeLists.txt
@@ -0,0 +1,35 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### cfg (static)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_library( cfg STATIC_PIC AUTOMOC
+
+ SOURCES
+ klsconfig.kcfgc
+ dummy.cpp
+)
+
+
+##### other data
+
+install(
+ FILES klinkstatus.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
diff --git a/klinkstatus/src/cfg/Makefile.am b/klinkstatus/src/cfg/Makefile.am
index 2e74b2ad..02107718 100644
--- a/klinkstatus/src/cfg/Makefile.am
+++ b/klinkstatus/src/cfg/Makefile.am
@@ -2,5 +2,9 @@ kde_kcfg_DATA = klinkstatus.kcfg
METASOURCES = AUTO
libcfg_la_LDFLAGS = $(all_libraries)
noinst_LTLIBRARIES = libcfg.la
+CLEANFILES = dummy.cpp
libcfg_la_SOURCES = dummy.cpp klsconfig.kcfgc
-AM_CPPFLAGS=$(all_includes) \ No newline at end of file
+AM_CPPFLAGS=$(all_includes)
+
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/klinkstatus/src/cfg/dummy.cpp b/klinkstatus/src/cfg/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/klinkstatus/src/cfg/dummy.cpp
+++ /dev/null
diff --git a/klinkstatus/src/engine/CMakeLists.txt b/klinkstatus/src/engine/CMakeLists.txt
new file mode 100644
index 00000000..21cd32ae
--- /dev/null
+++ b/klinkstatus/src/engine/CMakeLists.txt
@@ -0,0 +1,30 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/src/ui
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### engine (static)
+
+tde_add_library( engine STATIC_PIC AUTOMOC
+
+ SOURCES
+ linkchecker.cpp
+ linkstatus.cpp
+ searchmanager.cpp
+ linkfilter.cpp
+ LINK
+ tdehtml-shared
+)
diff --git a/klinkstatus/src/engine/linkchecker.cpp b/klinkstatus/src/engine/linkchecker.cpp
index 134b9582..1f36c485 100644
--- a/klinkstatus/src/engine/linkchecker.cpp
+++ b/klinkstatus/src/engine/linkchecker.cpp
@@ -97,16 +97,16 @@ void LinkChecker::check()
t_job_->addMetaData("SendUserAgent", "false");
- TQObject::connect(t_job_, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
- this, TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
- TQObject::connect(t_job_, TQT_SIGNAL(mimetype(TDEIO::Job *, const TQString &)),
- this, TQT_SLOT(slotMimetype(TDEIO::Job *, const TQString &)));
- TQObject::connect(t_job_, TQT_SIGNAL(result(TDEIO::Job *)),
- this, TQT_SLOT(slotResult(TDEIO::Job *)));
- TQObject::connect(t_job_, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
- this, TQT_SLOT(slotRedirection(TDEIO::Job *, const KURL &)));
+ TQObject::connect(t_job_, TQ_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
+ this, TQ_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
+ TQObject::connect(t_job_, TQ_SIGNAL(mimetype(TDEIO::Job *, const TQString &)),
+ this, TQ_SLOT(slotMimetype(TDEIO::Job *, const TQString &)));
+ TQObject::connect(t_job_, TQ_SIGNAL(result(TDEIO::Job *)),
+ this, TQ_SLOT(slotResult(TDEIO::Job *)));
+ TQObject::connect(t_job_, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
+ this, TQ_SLOT(slotRedirection(TDEIO::Job *, const KURL &)));
- TQTimer::singleShot( time_out_ * 1000, this, TQT_SLOT(slotTimeOut()) );
+ TQTimer::singleShot( time_out_ * 1000, this, TQ_SLOT(slotTimeOut()) );
t_job_->setInteractive(false);
}
@@ -277,7 +277,7 @@ void LinkChecker::slotData(TDEIO::Job* /*job*/, const TQByteArray& data)
TQTextCodec* codec = 0;
if(has_defined_charset_)
- codec = TQTextCodec::codecForName(document_charset_);
+ codec = TQTextCodec::codecForName(document_charset_.latin1());
if(!codec)
codec = TQTextCodec::codecForName("iso8859-1"); // default
diff --git a/klinkstatus/src/engine/linkchecker.h b/klinkstatus/src/engine/linkchecker.h
index a29d6445..050eaf87 100644
--- a/klinkstatus/src/engine/linkchecker.h
+++ b/klinkstatus/src/engine/linkchecker.h
@@ -39,7 +39,7 @@ using namespace std;
*/
class LinkChecker : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
LinkChecker(LinkStatus* linkstatus, int time_out = 50,
diff --git a/klinkstatus/src/engine/searchmanager.cpp b/klinkstatus/src/engine/searchmanager.cpp
index 45fdc24b..e05087d1 100644
--- a/klinkstatus/src/engine/searchmanager.cpp
+++ b/klinkstatus/src/engine/searchmanager.cpp
@@ -191,11 +191,11 @@ void SearchManager::checkRoot()
LinkChecker* checker = new LinkChecker(&root_, time_out_, this, "link_checker");
checker->setSearchManager(this);
- connect(checker, TQT_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
+ connect(checker, TQ_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
/*
- connect(checker, TQT_SIGNAL(jobFinnished(LinkChecker *)),
- this, TQT_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
+ connect(checker, TQ_SIGNAL(jobFinnished(LinkChecker *)),
+ this, TQ_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
*/
checker->check();
}
@@ -524,11 +524,11 @@ void SearchManager::checkLinksSimultaneously(vector<LinkStatus*> const& links)
LinkChecker* checker = new LinkChecker(ls, time_out_, this, "link_checker");
checker->setSearchManager(this);
- connect(checker, TQT_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
+ connect(checker, TQ_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
/*
- connect(checker, TQT_SIGNAL(jobFinnished(LinkChecker *)),
- this, TQT_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
+ connect(checker, TQ_SIGNAL(jobFinnished(LinkChecker *)),
+ this, TQ_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
*/
checker->check();
}
diff --git a/klinkstatus/src/engine/searchmanager.h b/klinkstatus/src/engine/searchmanager.h
index c60281c7..943c94ed 100644
--- a/klinkstatus/src/engine/searchmanager.h
+++ b/klinkstatus/src/engine/searchmanager.h
@@ -43,7 +43,7 @@ typedef TQMap<TQString, TDEHTMLPart*> TDEHTMLPartMap;
class SearchManager: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/klinkstatus/src/global.cpp b/klinkstatus/src/global.cpp
index 4fa6d88f..6a24578f 100644
--- a/klinkstatus/src/global.cpp
+++ b/klinkstatus/src/global.cpp
@@ -111,7 +111,7 @@ TQCString Global::quantaDCOPAppId()
{
ps_list[i] = ps_list[i].stripWhiteSpace ();
if(self()->dcop_client_->isApplicationRegistered("quanta-" + ps_list[i].local8Bit()))
- app_id = "quanta-" + ps_list[i];
+ app_id = "quanta-" + ps_list[i].utf8();
}
}
@@ -149,12 +149,12 @@ void Global::execCommand(TQString const& command)
self()->process_PS_ = new TDEProcess();
*(self()->process_PS_) << TQStringList::split(" ",command);
- connect( self()->process_PS_, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
- self(), TQT_SLOT(slotGetScriptOutput(TDEProcess*,char*,int)));
- connect( self()->process_PS_, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
- self(), TQT_SLOT(slotGetScriptError(TDEProcess*,char*,int)));
- connect( self()->process_PS_, TQT_SIGNAL(processExited(TDEProcess*)),
- self(), TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect( self()->process_PS_, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ self(), TQ_SLOT(slotGetScriptOutput(TDEProcess*,char*,int)));
+ connect( self()->process_PS_, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ self(), TQ_SLOT(slotGetScriptError(TDEProcess*,char*,int)));
+ connect( self()->process_PS_, TQ_SIGNAL(processExited(TDEProcess*)),
+ self(), TQ_SLOT(slotProcessExited(TDEProcess*)));
//if TDEProcess fails I think a message box is needed... I will fix it
if (!self()->process_PS_->start(TDEProcess::NotifyOnExit,TDEProcess::All))
@@ -164,8 +164,8 @@ void Global::execCommand(TQString const& command)
{
//To avoid lock-ups, start a timer.
TQTimer* timer = new TQTimer(self());
- connect(timer, TQT_SIGNAL(timeout()),
- self(), TQT_SLOT(slotProcessTimeout()));
+ connect(timer, TQ_SIGNAL(timeout()),
+ self(), TQ_SLOT(slotProcessTimeout()));
timer->start(120*1000, true);
self()->loop_started_ = true;
kapp->enter_loop();
diff --git a/klinkstatus/src/global.h b/klinkstatus/src/global.h
index a91d3b6d..86b3cbd1 100644
--- a/klinkstatus/src/global.h
+++ b/klinkstatus/src/global.h
@@ -24,7 +24,7 @@ class TDEProcess;
*/
class Global : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
static Global* self();
diff --git a/klinkstatus/src/klinkstatus.cpp b/klinkstatus/src/klinkstatus.cpp
index f4154f3c..7a125bb5 100644
--- a/klinkstatus/src/klinkstatus.cpp
+++ b/klinkstatus/src/klinkstatus.cpp
@@ -54,7 +54,7 @@ KLinkStatus::KLinkStatus()
{
// now that the Part is loaded, we cast it to a Part to get
// our hands on it
- m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(TQT_TQOBJECT(this),
+ m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(this,
"klinkstatus_part", "KParts::ReadOnlyPart" ));
if (m_part)
@@ -97,7 +97,7 @@ void KLinkStatus::load(const KURL& url)
void KLinkStatus::setupActions()
{
- // KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection());
+ // KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection());
// The above causes a segfault when using File->Quit.
// Here's Waldo's explanation:
/* I had a look. The problem is due to the SessionWidget destructor calling
@@ -113,13 +113,13 @@ void KLinkStatus::setupActions()
administration.
The easiest solution is to call close() on the mainwindow instead of
TDEApplication::quit()*/
- KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection());
+ KStdAction::quit(this, TQ_SLOT(close()), actionCollection());
- //m_toolbarAction = KStdAction::showToolbar(this, TQT_SLOT(optionsShowToolbar()), actionCollection());
- //m_statusbarAction = KStdAction::showStatusbar(this, TQT_SLOT(optionsShowStatusbar()), actionCollection());
+ //m_toolbarAction = KStdAction::showToolbar(this, TQ_SLOT(optionsShowToolbar()), actionCollection());
+ //m_statusbarAction = KStdAction::showStatusbar(this, TQ_SLOT(optionsShowStatusbar()), actionCollection());
- KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection());
- KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()), actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()), actionCollection());
}
void KLinkStatus::setupPartActions()
@@ -199,8 +199,8 @@ void KLinkStatus::optionsConfigureToolbars()
// use the standard toolbar editor
KEditToolbar dlg(factory());
- connect(&dlg, TQT_SIGNAL(newToolbarConfig()),
- this, TQT_SLOT(applyNewToolbarConfig()));
+ connect(&dlg, TQ_SIGNAL(newToolbarConfig()),
+ this, TQ_SLOT(applyNewToolbarConfig()));
dlg.exec();
}
diff --git a/klinkstatus/src/klinkstatus.desktop b/klinkstatus/src/klinkstatus.desktop
index bc5a910a..0755d346 100644
--- a/klinkstatus/src/klinkstatus.desktop
+++ b/klinkstatus/src/klinkstatus.desktop
@@ -1,54 +1,11 @@
[Desktop Entry]
Name=KLinkStatus
-Name[ne]=केडीई लिङ्क स्थिति
-Name[sk]=KLink status
-Name[sv]=Klinkstatus
-Name[ta]=Kதொகுதி நிலைமை
-Name[tr]=K Köprü Durumu
+
+GenericName=Link Checker
+
+Type=Application
Exec=klinkstatus %i %m -caption "%c"
Icon=klinkstatus
-Type=Application
-X-DocPath=klinkstatus/index.html
Terminal=false
-GenericName=Link Checker
-GenericName[bg]=Проверка на препратки
-GenericName[ca]=Comprovador d'enllaços
-GenericName[cs]=Kontrola odkazů
-GenericName[da]=Link-tjekker
-GenericName[de]=Überprüfungswerkzeug für Verknüpfungen
-GenericName[el]=Ελεγκτής σύνδεσης
-GenericName[es]=Comprobador de enlaces
-GenericName[et]=Viidakontrollija
-GenericName[eu]=Esteka egiaztatzailea
-GenericName[fa]=بررسی‌کنندۀ پیوند
-GenericName[fi]=Linkkien tarkistaja
-GenericName[fr]=Vérificateur de liens
-GenericName[gl]=Verificador de ligazóns
-GenericName[hu]=Linkellenőrző
-GenericName[is]=Yfirfer tengla
-GenericName[it]=Controllo dei collegamenti
-GenericName[ja]=リンクチェッカー
-GenericName[ka]=ბმულების შემმოწმებელი
-GenericName[lt]=Nuorody tikrintuvė
-GenericName[ms]=Pemeriksa Pautan
-GenericName[nds]=Linkprööv
-GenericName[ne]=लिङ्क परीक्षक
-GenericName[nl]=Linkchecker
-GenericName[pl]=Program sprawdzający odnośniki
-GenericName[pt]=Verificação de Ligações
-GenericName[pt_BR]=Verificador de Links
-GenericName[ru]=Проверка ссылок
-GenericName[sk]=Kontrole spojenia
-GenericName[sl]=Preverjalnik povezav
-GenericName[sr]=Провера везе
-GenericName[sr@Latn]=Provera veze
-GenericName[sv]=Länkkontroll
-GenericName[ta]=இணைப்பு சரிபார்ப்பான்
-GenericName[tg]=Тафтиши истинод
-GenericName[tr]=Bağlantı Kontrolcüsü
-GenericName[uk]=Перевірка посилань
-GenericName[zh_CN]=链接检查器
-GenericName[zh_HK]=連結檢查程式
-GenericName[zh_TW]=連結檢查程式
+X-DocPath=klinkstatus/index.html
Categories=Qt;TDE;Development;WebDevelopment;
-
diff --git a/klinkstatus/src/klinkstatus.h b/klinkstatus/src/klinkstatus.h
index 1d2e3bdf..1c471234 100644
--- a/klinkstatus/src/klinkstatus.h
+++ b/klinkstatus/src/klinkstatus.h
@@ -22,7 +22,7 @@
#define _KLINKSTATUS_H_
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
#endif
#include <tdeapplication.h>
@@ -40,7 +40,7 @@ class TDEToggleAction;
*/
class KLinkStatus : public KParts::MainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
KLinkStatus();
diff --git a/klinkstatus/src/klinkstatus_part.cpp b/klinkstatus/src/klinkstatus_part.cpp
index bf8e1db7..6b379387 100644
--- a/klinkstatus/src/klinkstatus_part.cpp
+++ b/klinkstatus/src/klinkstatus_part.cpp
@@ -153,7 +153,7 @@ void KLinkStatusPart::slotConfigureKLinkStatus()
dialog->addPage(new ConfigIdentificationDialog(0), i18n("Identification"),
"agent", i18n("Configure the way KLinkstatus reports itself"));
dialog->show();
- connect(dialog, TQT_SIGNAL(settingsChanged()), tabwidget_, TQT_SLOT(slotLoadSettings()));
+ connect(dialog, TQ_SIGNAL(settingsChanged()), tabwidget_, TQ_SLOT(slotLoadSettings()));
}
void KLinkStatusPart::slotAbout()
diff --git a/klinkstatus/src/klinkstatus_part.desktop b/klinkstatus/src/klinkstatus_part.desktop
index 70e14bb5..e48ea474 100644
--- a/klinkstatus/src/klinkstatus_part.desktop
+++ b/klinkstatus/src/klinkstatus_part.desktop
@@ -1,17 +1,8 @@
[Desktop Entry]
Name=KLinkStatusPart
-Name[de]=KLinkStatus-Komponente
-Name[fr]=Composant de KLinkStatus
-Name[nds]=KLinkStatus-Komponent
-Name[ne]=केडीई लिङ्क वस्तुस्थिति भाग
-Name[pt_BR]=Componente do KLinkStatus
-Name[ru]=Компонент KLinkStatus
-Name[sk]=KLink status Part
-Name[sv]=Klinkstatus-delprogram
-Name[ta]=Kதொகுதி நிலைமை பகுதி
-Name[tg]=Қисми KLinkStatus
+
+Type=Service
Icon=klinkstatus
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
X-TDE-Library=libklinkstatuspart
-Type=Service
diff --git a/klinkstatus/src/klinkstatus_part.h b/klinkstatus/src/klinkstatus_part.h
index 3d8a498e..de91318a 100644
--- a/klinkstatus/src/klinkstatus_part.h
+++ b/klinkstatus/src/klinkstatus_part.h
@@ -36,7 +36,7 @@ class TDEAction;
class KLinkStatusPart: public KParts::ReadOnlyPart
{
- Q_OBJECT
+ TQ_OBJECT
public:
KLinkStatusPart(TQWidget *parentWidget, const char *widgetName,
diff --git a/klinkstatus/src/parser/CMakeLists.txt b/klinkstatus/src/parser/CMakeLists.txt
new file mode 100644
index 00000000..3a31b799
--- /dev/null
+++ b/klinkstatus/src/parser/CMakeLists.txt
@@ -0,0 +1,28 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### parser (static)
+
+tde_add_library( klinkstatus-parser STATIC_PIC AUTOMOC
+
+ SOURCES
+ htmlparser.cpp
+ http.cpp
+ mstring.cpp
+ node.cpp
+ url.cpp
+)
diff --git a/klinkstatus/src/ui/CMakeLists.txt b/klinkstatus/src/ui/CMakeLists.txt
new file mode 100644
index 00000000..316b729b
--- /dev/null
+++ b/klinkstatus/src/ui/CMakeLists.txt
@@ -0,0 +1,35 @@
+add_subdirectory( settings )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/src
+ ${CMAKE_BINARY_DIR}/klinkstatus/src/cfg
+ ${CMAKE_BINARY_DIR}/klinkstatus/src
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### ui (static)
+
+tde_add_library( ui STATIC_PIC AUTOMOC
+
+ SOURCES
+ sessionwidgetbase.ui
+ sessionwidget.cpp tabwidgetsession.cpp
+ klshistorycombo.cpp resultview.cpp
+ treeview.cpp resultssearchbar.cpp
+ documentrootdialog.cpp
+ LINK
+ cfg-static
+)
diff --git a/klinkstatus/src/ui/documentrootdialog.cpp b/klinkstatus/src/ui/documentrootdialog.cpp
index 888526a3..1ae0c449 100644
--- a/klinkstatus/src/ui/documentrootdialog.cpp
+++ b/klinkstatus/src/ui/documentrootdialog.cpp
@@ -53,12 +53,12 @@ DocumentRootDialog::DocumentRootDialog(TQWidget *parent, TQString const& url)
m_urlRequester->setMode(KFile::Directory);
// enableButtonOK(false);
- connect(m_urlRequester, TQT_SIGNAL(textChanged (const TQString &)),
- this, TQT_SLOT(slotTextChanged (const TQString &)));
- connect(m_urlRequester, TQT_SIGNAL(returnPressed (const TQString &)),
- this, TQT_SLOT(slotReturnPressed (const TQString &)));
- connect(m_urlRequester, TQT_SIGNAL(urlSelected (const TQString &)),
- this, TQT_SLOT(slotTextChanged (const TQString &)));
+ connect(m_urlRequester, TQ_SIGNAL(textChanged (const TQString &)),
+ this, TQ_SLOT(slotTextChanged (const TQString &)));
+ connect(m_urlRequester, TQ_SIGNAL(returnPressed (const TQString &)),
+ this, TQ_SLOT(slotReturnPressed (const TQString &)));
+ connect(m_urlRequester, TQ_SIGNAL(urlSelected (const TQString &)),
+ this, TQ_SLOT(slotTextChanged (const TQString &)));
}
DocumentRootDialog::~DocumentRootDialog()
diff --git a/klinkstatus/src/ui/documentrootdialog.h b/klinkstatus/src/ui/documentrootdialog.h
index 0e7ef47d..cbbb6215 100644
--- a/klinkstatus/src/ui/documentrootdialog.h
+++ b/klinkstatus/src/ui/documentrootdialog.h
@@ -29,7 +29,7 @@ class KURLRequester;
*/
class DocumentRootDialog : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
DocumentRootDialog(TQWidget *parent, TQString const& url);
diff --git a/klinkstatus/src/ui/klshistorycombo.cpp b/klinkstatus/src/ui/klshistorycombo.cpp
index 52d884c8..21de0de3 100644
--- a/klinkstatus/src/ui/klshistorycombo.cpp
+++ b/klinkstatus/src/ui/klshistorycombo.cpp
@@ -32,8 +32,8 @@ KLSHistoryCombo::KLSHistoryCombo(TQWidget *parent, const char *name)
setDuplicatesEnabled(false);
setAutoCompletion(false);
- connect(this, TQT_SIGNAL(activated(const TQString& )),
- this, TQT_SLOT(addToHistory(const TQString& )));
+ connect(this, TQ_SIGNAL(activated(const TQString& )),
+ this, TQ_SLOT(addToHistory(const TQString& )));
}
KLSHistoryCombo::~KLSHistoryCombo()
@@ -79,12 +79,12 @@ bool KLSHistoryCombo::eventFilter( TQObject *o, TQEvent *ev )
// Handle Ctrl+Del/Backspace etc better than the TQt widget, which always
// jumps to the next whitespace.
TQLineEdit *edit = lineEdit();
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(edit) )
+ if ( o == edit )
{
int type = ev->type();
if ( type == TQEvent::KeyPress )
{
- TQKeyEvent *e = TQT_TQKEYEVENT( ev );
+ TQKeyEvent *e = static_cast<TQKeyEvent*>( ev );
if ( e->key() == Key_Return || e->key() == Key_Enter )
{
diff --git a/klinkstatus/src/ui/klshistorycombo.h b/klinkstatus/src/ui/klshistorycombo.h
index 2b153b82..ba7fb5d3 100644
--- a/klinkstatus/src/ui/klshistorycombo.h
+++ b/klinkstatus/src/ui/klshistorycombo.h
@@ -21,7 +21,7 @@ Based on KonqCombo
*/
class KLSHistoryCombo : public KHistoryCombo
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/klinkstatus/src/ui/resultssearchbar.cpp b/klinkstatus/src/ui/resultssearchbar.cpp
index 3b6e6603..adea6013 100644
--- a/klinkstatus/src/ui/resultssearchbar.cpp
+++ b/klinkstatus/src/ui/resultssearchbar.cpp
@@ -73,8 +73,8 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name)
d->layout->addWidget(searchLabel);
d->searchLine = new KLineEdit(this, "searchline");
- connect(d->searchLine, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotSearchStringChanged(const TQString &)));
+ connect(d->searchLine, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotSearchStringChanged(const TQString &)));
searchLabel->setBuddy(d->searchLine);
d->layout->addWidget(d->searchLine);
@@ -101,13 +101,13 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name)
TQToolTip::add( d->searchLine, i18n("Enter the terms to filter the result link list"));
TQToolTip::add( d->searchCombo, i18n("Choose what kind of link status to show in result list"));
- connect(clearButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT(slotClearSearch()) );
+ connect(clearButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT(slotClearSearch()) );
- connect(d->searchCombo, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotSearchComboChanged(int)));
+ connect(d->searchCombo, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotSearchComboChanged(int)));
- connect(&(d->timer), TQT_SIGNAL(timeout()), this, TQT_SLOT(slotActivateSearch()));
+ connect(&(d->timer), TQ_SIGNAL(timeout()), this, TQ_SLOT(slotActivateSearch()));
}
ResultsSearchBar::~ResultsSearchBar()
diff --git a/klinkstatus/src/ui/resultssearchbar.h b/klinkstatus/src/ui/resultssearchbar.h
index 1c5854c9..a9edceee 100644
--- a/klinkstatus/src/ui/resultssearchbar.h
+++ b/klinkstatus/src/ui/resultssearchbar.h
@@ -32,7 +32,7 @@
*/
class ResultsSearchBar : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResultsSearchBar(TQWidget *parent = 0, const char *name = 0);
diff --git a/klinkstatus/src/ui/sessionwidget.cpp b/klinkstatus/src/ui/sessionwidget.cpp
index a3dc0e25..b1072add 100644
--- a/klinkstatus/src/ui/sessionwidget.cpp
+++ b/klinkstatus/src/ui/sessionwidget.cpp
@@ -81,13 +81,13 @@ SessionWidget::SessionWidget(int max_simultaneous_connections, int time_out,
init();
slotLoadSettings();
- connect(combobox_url, TQT_SIGNAL( textChanged ( const TQString & ) ),
- this, TQT_SLOT( slotEnableCheckButton( const TQString & ) ) );
+ connect(combobox_url, TQ_SIGNAL( textChanged ( const TQString & ) ),
+ this, TQ_SLOT( slotEnableCheckButton( const TQString & ) ) );
- connect(tree_view, TQT_SIGNAL( clicked ( TQListViewItem * ) ),
- this, TQT_SLOT( showBottomStatusLabel( TQListViewItem * ) ) );
+ connect(tree_view, TQ_SIGNAL( clicked ( TQListViewItem * ) ),
+ this, TQ_SLOT( showBottomStatusLabel( TQListViewItem * ) ) );
- connect(&bottom_status_timer_, TQT_SIGNAL(timeout()), this, TQT_SLOT(clearBottomStatusLabel()) );
+ connect(&bottom_status_timer_, TQ_SIGNAL(timeout()), this, TQ_SLOT(clearBottomStatusLabel()) );
}
SessionWidget::~SessionWidget()
@@ -107,14 +107,14 @@ void SessionWidget::init()
pushbutton_url->setIconSet(TDEGlobal::iconLoader()->loadIconSet("document-open", TDEIcon::Small));
TQPixmap pixMap = TDEGlobal::iconLoader()->loadIcon("document-open", TDEIcon::Small);
pushbutton_url->setFixedSize(pixMap.width() + 8, pixMap.height() + 8);
- connect(pushbutton_url, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChooseUrlDialog()));
+ connect(pushbutton_url, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChooseUrlDialog()));
resultsSearchBar->hide();
start_search_action_ = static_cast<TDEToggleAction*> (action_manager_->action("start_search"));
- connect(resultsSearchBar, TQT_SIGNAL(signalSearch(LinkMatcher)),
- this, TQT_SLOT(slotApplyFilter(LinkMatcher)));
+ connect(resultsSearchBar, TQ_SIGNAL(signalSearch(LinkMatcher)),
+ this, TQ_SLOT(slotApplyFilter(LinkMatcher)));
}
void SessionWidget::slotLoadSettings(bool modify_current_widget_settings)
@@ -151,23 +151,23 @@ void SessionWidget::newSearchManager()
search_manager_ = new SearchManager(KLSConfig::maxConnectionsNumber(),
KLSConfig::timeOut(),
- TQT_TQOBJECT(this), "search_manager");
+ this, "search_manager");
Q_ASSERT(search_manager_);
- connect(search_manager_, TQT_SIGNAL(signalRootChecked(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
- connect(search_manager_, TQT_SIGNAL(signalLinkChecked(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
- connect(search_manager_, TQT_SIGNAL(signalSearchFinished()),
- this, TQT_SLOT(slotSearchFinished()));
- connect(search_manager_, TQT_SIGNAL(signalSearchPaused()),
- this, TQT_SLOT(slotSearchPaused()));
- connect(search_manager_, TQT_SIGNAL(signalAddingLevelTotalSteps(uint)),
- this, TQT_SLOT(slotAddingLevelTotalSteps(uint)));
- connect(search_manager_, TQT_SIGNAL(signalAddingLevelProgress()),
- this, TQT_SLOT(slotAddingLevelProgress()));
- connect(search_manager_, TQT_SIGNAL(signalLinksToCheckTotalSteps(uint)),
- this, TQT_SLOT(slotLinksToCheckTotalSteps(uint)));
+ connect(search_manager_, TQ_SIGNAL(signalRootChecked(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
+ connect(search_manager_, TQ_SIGNAL(signalLinkChecked(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
+ connect(search_manager_, TQ_SIGNAL(signalSearchFinished()),
+ this, TQ_SLOT(slotSearchFinished()));
+ connect(search_manager_, TQ_SIGNAL(signalSearchPaused()),
+ this, TQ_SLOT(slotSearchPaused()));
+ connect(search_manager_, TQ_SIGNAL(signalAddingLevelTotalSteps(uint)),
+ this, TQ_SLOT(slotAddingLevelTotalSteps(uint)));
+ connect(search_manager_, TQ_SIGNAL(signalAddingLevelProgress()),
+ this, TQ_SLOT(slotAddingLevelProgress()));
+ connect(search_manager_, TQ_SIGNAL(signalLinksToCheckTotalSteps(uint)),
+ this, TQ_SLOT(slotLinksToCheckTotalSteps(uint)));
}
void SessionWidget::setColumns(TQStringList const& colunas)
diff --git a/klinkstatus/src/ui/sessionwidget.h b/klinkstatus/src/ui/sessionwidget.h
index 057b2c6c..fece4492 100644
--- a/klinkstatus/src/ui/sessionwidget.h
+++ b/klinkstatus/src/ui/sessionwidget.h
@@ -44,7 +44,7 @@ using namespace std;
class SessionWidget: public SessionWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/klinkstatus/src/ui/sessionwidgetbase.ui b/klinkstatus/src/ui/sessionwidgetbase.ui
index 53cdd510..c5c2acaf 100644
--- a/klinkstatus/src/ui/sessionwidgetbase.ui
+++ b/klinkstatus/src/ui/sessionwidgetbase.ui
@@ -585,18 +585,18 @@
<tabstop>checkbox_subdirs_only</tabstop>
<tabstop>checkbox_external_links</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot specifier="pure virtual">slotCheck()</slot>
<slot specifier="pure virtual">slotCancel()</slot>
<slot specifier="pure virtual">slotClearComboUrl()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klshistorycombo.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>resultssearchbar.h</includehint>
- <includehint>treeview.h</includehint>
- <includehint>kprogress.h</includehint>
- <includehint>ksqueezedtextlabel.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klshistorycombo.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">resultssearchbar.h</include>
+ <include location="global" impldecl="in implementation">treeview.h</include>
+ <include location="global" impldecl="in implementation">kprogress.h</include>
+ <include location="global" impldecl="in implementation">ksqueezedtextlabel.h</include>
+</includes>
</UI>
diff --git a/klinkstatus/src/ui/settings/CMakeLists.txt b/klinkstatus/src/ui/settings/CMakeLists.txt
new file mode 100644
index 00000000..932c0cdd
--- /dev/null
+++ b/klinkstatus/src/ui/settings/CMakeLists.txt
@@ -0,0 +1,35 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/klinkstatus/src/cfg
+ ${CMAKE_BINARY_DIR}/klinkstatus/src
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### settings (static)
+
+tde_add_library( settings STATIC_PIC AUTOMOC
+
+ SOURCES
+ ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
+ configsearchdialog.ui
+ configresultsdialog.ui
+ configidentificationdialogui.ui
+ configidentificationdialog.cpp
+
+ DEPENDENCIES
+ cfg-static
+)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
diff --git a/klinkstatus/src/ui/settings/Makefile.am b/klinkstatus/src/ui/settings/Makefile.am
index 777e9e5c..07fcba6c 100644
--- a/klinkstatus/src/ui/settings/Makefile.am
+++ b/klinkstatus/src/ui/settings/Makefile.am
@@ -2,6 +2,10 @@ INCLUDES = -I$(top_builddir)/klinkstatus/src/cfg -I$(top_builddir)/klinkstatus/s
METASOURCES = AUTO
libsettings_la_LDFLAGS = $(all_libraries)
noinst_LTLIBRARIES = libsettings.la
+CLEANFILES = dummy.cpp
libsettings_la_SOURCES = configsearchdialog.ui dummy.cpp configresultsdialog.ui \
configidentificationdialog.cpp configidentificationdialogui.ui
noinst_HEADERS = configidentificationdialog.h
+
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/klinkstatus/src/ui/settings/configidentificationdialog.cpp b/klinkstatus/src/ui/settings/configidentificationdialog.cpp
index 31906ace..b7d7800f 100644
--- a/klinkstatus/src/ui/settings/configidentificationdialog.cpp
+++ b/klinkstatus/src/ui/settings/configidentificationdialog.cpp
@@ -37,7 +37,7 @@ ConfigIdentificationDialog::ConfigIdentificationDialog(TQWidget *parent, const c
slotDefaultUA();
}
- connect(buttonDefault, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDefaultUA()));
+ connect(buttonDefault, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDefaultUA()));
}
diff --git a/klinkstatus/src/ui/settings/configidentificationdialog.h b/klinkstatus/src/ui/settings/configidentificationdialog.h
index b9a40fd3..307187b4 100644
--- a/klinkstatus/src/ui/settings/configidentificationdialog.h
+++ b/klinkstatus/src/ui/settings/configidentificationdialog.h
@@ -28,7 +28,7 @@
*/
class ConfigIdentificationDialog : public ConfigIdentificationDialogUi
{
-Q_OBJECT
+TQ_OBJECT
public:
ConfigIdentificationDialog(TQWidget *parent = 0, const char *name = 0);
diff --git a/klinkstatus/src/ui/settings/configidentificationdialogui.ui b/klinkstatus/src/ui/settings/configidentificationdialogui.ui
index 87b73fbf..8b30ed58 100644
--- a/klinkstatus/src/ui/settings/configidentificationdialogui.ui
+++ b/klinkstatus/src/ui/settings/configidentificationdialogui.ui
@@ -127,8 +127,8 @@
<tabstop>buttonDefault</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/klinkstatus/src/ui/settings/configsearchdialog.ui b/klinkstatus/src/ui/settings/configsearchdialog.ui
index 72c420ca..097c08fc 100644
--- a/klinkstatus/src/ui/settings/configsearchdialog.ui
+++ b/klinkstatus/src/ui/settings/configsearchdialog.ui
@@ -344,10 +344,7 @@
<tabstop>kcfg_RememberCheckSettings</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+</includes>
</UI>
diff --git a/klinkstatus/src/ui/settings/dummy.cpp b/klinkstatus/src/ui/settings/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/klinkstatus/src/ui/settings/dummy.cpp
+++ /dev/null
diff --git a/klinkstatus/src/ui/tablelinkstatus.cpp b/klinkstatus/src/ui/tablelinkstatus.cpp
index 4a886e1d..28ac2aa0 100644
--- a/klinkstatus/src/ui/tablelinkstatus.cpp
+++ b/klinkstatus/src/ui/tablelinkstatus.cpp
@@ -67,8 +67,8 @@ TableLinkstatus::TableLinkstatus(TQWidget * parent, const char * name,
sub_menu_ = new TQPopupMenu(this, "sub_menu_referrers");
- connect(this, TQT_SIGNAL( contextMenuRequested ( int, int, const TQPoint& )),
- this, TQT_SLOT( slotPopupContextMenu( int, int, const TQPoint&)) );
+ connect(this, TQ_SIGNAL( contextMenuRequested ( int, int, const TQPoint& )),
+ this, TQ_SLOT( slotPopupContextMenu( int, int, const TQPoint&)) );
}
TableLinkstatus::~TableLinkstatus()
@@ -274,14 +274,14 @@ void TableLinkstatus::loadContextTableMenu(TQValueVector<KURL> const& referrers,
if(!is_root)
{
- sub_menu_->insertItem(i18n("All"), this, TQT_SLOT(slotEditReferrersWithQuanta()));
+ sub_menu_->insertItem(i18n("All"), this, TQ_SLOT(slotEditReferrersWithQuanta()));
sub_menu_->insertSeparator();
for(uint i = 0; i != referrers.size(); ++i)
{
sub_menu_->insertItem(referrers[i].prettyURL());
}
- connect(sub_menu_, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEditReferrerWithQuanta(int)));
+ connect(sub_menu_, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEditReferrerWithQuanta(int)));
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Edit Referrer with Quanta"),
sub_menu_);
@@ -293,21 +293,21 @@ void TableLinkstatus::loadContextTableMenu(TQValueVector<KURL> const& referrers,
}
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Open URL"),
- this, TQT_SLOT(slotViewUrlInBrowser()));
+ this, TQ_SLOT(slotViewUrlInBrowser()));
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Open Referrer URL"),
- this, TQT_SLOT(slotViewParentUrlInBrowser()));
+ this, TQ_SLOT(slotViewParentUrlInBrowser()));
context_table_menu_.insertSeparator();
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy URL"),
- this, TQT_SLOT(slotCopyUrlToClipboard()));
+ this, TQ_SLOT(slotCopyUrlToClipboard()));
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy Referrer URL"),
- this, TQT_SLOT(slotCopyParentUrlToClipboard()));
+ this, TQ_SLOT(slotCopyParentUrlToClipboard()));
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy Cell Text"),
- this, TQT_SLOT(slotCopyCellTextToClipboard()));
+ this, TQ_SLOT(slotCopyCellTextToClipboard()));
}
void TableLinkstatus::slotCopyUrlToClipboard() const
diff --git a/klinkstatus/src/ui/tablelinkstatus.h b/klinkstatus/src/ui/tablelinkstatus.h
index ba7d9731..0d01da82 100644
--- a/klinkstatus/src/ui/tablelinkstatus.h
+++ b/klinkstatus/src/ui/tablelinkstatus.h
@@ -45,7 +45,7 @@ class TableItem;
class TableLinkstatus: public TQTable, public ResultView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/klinkstatus/src/ui/tabwidgetsession.cpp b/klinkstatus/src/ui/tabwidgetsession.cpp
index 015ce4cf..e2f6a54f 100644
--- a/klinkstatus/src/ui/tabwidgetsession.cpp
+++ b/klinkstatus/src/ui/tabwidgetsession.cpp
@@ -45,7 +45,7 @@
TabWidgetSession::TabWidgetSession(TQWidget* parent, const char* name, WFlags f)
: KTabWidget(parent, name, f) // tabs_ is initialized with size 17
{
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
setMargin(0);
setTabReorderingEnabled(true);
setHoverCloseButton(true);
@@ -55,7 +55,7 @@ TabWidgetSession::TabWidgetSession(TQWidget* parent, const char* name, WFlags f)
TQToolButton* tabs_new = new TQToolButton(this);
tabs_new->setAccel(TQKeySequence("Ctrl+N"));
- connect(tabs_new, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewSession()));
+ connect(tabs_new, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewSession()));
tabs_new->setIconSet(SmallIconSet("tab_new_raised"));
tabs_new->adjustSize();
TQToolTip::add(tabs_new, i18n("Open new tab"));
@@ -63,13 +63,13 @@ TabWidgetSession::TabWidgetSession(TQWidget* parent, const char* name, WFlags f)
tabs_close_ = new TQToolButton(this);
tabs_close_->setAccel(TQKeySequence("Ctrl+W"));
- connect(tabs_close_, TQT_SIGNAL(clicked()), this, TQT_SLOT(closeSession()));
+ connect(tabs_close_, TQ_SIGNAL(clicked()), this, TQ_SLOT(closeSession()));
tabs_close_->setIconSet(SmallIconSet("tab_remove"));
tabs_close_->adjustSize();
TQToolTip::add(tabs_close_, i18n("Close the current tab"));
setCornerWidget(tabs_close_, TopRight);
- connect(this, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotCurrentChanged(TQWidget*)));
+ connect(this, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(slotCurrentChanged(TQWidget*)));
}
TabWidgetSession::~TabWidgetSession()
@@ -117,8 +117,8 @@ SessionWidget* TabWidgetSession::newSession()
{
// TODO: settings: number of connections, timeout
SessionWidget* session_widget = newSessionWidget();
- connect(session_widget, TQT_SIGNAL(signalUpdateTabLabel(const LinkStatus *, SessionWidget*)),
- this, TQT_SLOT(updateTabLabel(const LinkStatus *, SessionWidget*)));
+ connect(session_widget, TQ_SIGNAL(signalUpdateTabLabel(const LinkStatus *, SessionWidget*)),
+ this, TQ_SLOT(updateTabLabel(const LinkStatus *, SessionWidget*)));
insertTab(session_widget, i18n("Session") + i18n(TQString::number(count() + 1).ascii()));
@@ -149,7 +149,7 @@ void TabWidgetSession::closeSession()
SessionWidget* TabWidgetSession::newSessionWidget()
{
SessionWidget* session_widget = new SessionWidget(KLSConfig::maxConnectionsNumber(),
- KLSConfig::timeOut(), this, TQString("session_widget-" + count()));
+ KLSConfig::timeOut(), this, TQString("session_widget-" + count()).utf8());
TQStringList columns;
diff --git a/klinkstatus/src/ui/tabwidgetsession.h b/klinkstatus/src/ui/tabwidgetsession.h
index 22675a38..a58e413f 100644
--- a/klinkstatus/src/ui/tabwidgetsession.h
+++ b/klinkstatus/src/ui/tabwidgetsession.h
@@ -37,7 +37,7 @@ This class handles the creation and destruction of sessions, i.e, severals insta
*/
class TabWidgetSession : public KTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/klinkstatus/src/ui/treeview.cpp b/klinkstatus/src/ui/treeview.cpp
index c14a0824..c0cebe68 100644
--- a/klinkstatus/src/ui/treeview.cpp
+++ b/klinkstatus/src/ui/treeview.cpp
@@ -54,8 +54,8 @@ TreeView::TreeView(TQWidget *parent, const char *name)
sub_menu_ = new TQPopupMenu(this, "sub_menu_referrers");
- connect(this, TQT_SIGNAL( rightButtonClicked ( TQListViewItem *, const TQPoint &, int )),
- this, TQT_SLOT( slotPopupContextMenu( TQListViewItem *, const TQPoint &, int )) );
+ connect(this, TQ_SIGNAL( rightButtonClicked ( TQListViewItem *, const TQPoint &, int )),
+ this, TQ_SLOT( slotPopupContextMenu( TQListViewItem *, const TQPoint &, int )) );
}
@@ -72,7 +72,7 @@ void TreeView::setColumns(TQStringList const& columns)
// resetColumns is called automatically
for(uint i = 0; i != columns.size(); ++i)
{
- addColumn(i18n(columns[i]));
+ addColumn(i18n(columns[i].utf8()));
setColumnWidthMode(i, TQListView::Manual);
}
@@ -345,14 +345,14 @@ void TreeView::loadContextTableMenu(TQValueVector<KURL> const& referrers, bool i
if(!is_root)
{
- sub_menu_->insertItem(i18n("All"), this, TQT_SLOT(slotEditReferrersWithQuanta()));
+ sub_menu_->insertItem(i18n("All"), this, TQ_SLOT(slotEditReferrersWithQuanta()));
sub_menu_->insertSeparator();
for(uint i = 0; i != referrers.size(); ++i)
{
sub_menu_->insertItem(referrers[i].prettyURL());
}
- connect(sub_menu_, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEditReferrerWithQuanta(int)));
+ connect(sub_menu_, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEditReferrerWithQuanta(int)));
context_table_menu_.insertItem(SmallIconSet("edit"), i18n("Edit Referrer with Quanta"),
sub_menu_);
@@ -365,21 +365,21 @@ void TreeView::loadContextTableMenu(TQValueVector<KURL> const& referrers, bool i
}
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Open URL"),
- this, TQT_SLOT(slotViewUrlInBrowser()));
+ this, TQ_SLOT(slotViewUrlInBrowser()));
context_table_menu_.insertItem(/*SmallIconSet("document-open"), */i18n("Open Referrer URL"),
- this, TQT_SLOT(slotViewParentUrlInBrowser()));
+ this, TQ_SLOT(slotViewParentUrlInBrowser()));
context_table_menu_.insertSeparator();
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy URL"),
- this, TQT_SLOT(slotCopyUrlToClipboard()));
+ this, TQ_SLOT(slotCopyUrlToClipboard()));
context_table_menu_.insertItem(/*SmallIconSet("edit-copy"), */i18n("Copy Referrer URL"),
- this, TQT_SLOT(slotCopyParentUrlToClipboard()));
+ this, TQ_SLOT(slotCopyParentUrlToClipboard()));
context_table_menu_.insertItem(/*SmallIconSet("edit-copy"), */i18n("Copy Cell Text"),
- this, TQT_SLOT(slotCopyCellTextToClipboard()));
+ this, TQ_SLOT(slotCopyCellTextToClipboard()));
}
TreeViewItem* TreeView::myItem(TQListViewItem* item) const
diff --git a/klinkstatus/src/ui/treeview.h b/klinkstatus/src/ui/treeview.h
index 3ce26039..b3d6b9ee 100644
--- a/klinkstatus/src/ui/treeview.h
+++ b/klinkstatus/src/ui/treeview.h
@@ -28,7 +28,7 @@ that a TQTable view isn't needed at all so some day I will clean this up.
*/
class TreeView : public TDEListView, public ResultView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/klinkstatus/src/utils/CMakeLists.txt b/klinkstatus/src/utils/CMakeLists.txt
new file mode 100644
index 00000000..53a5fc3d
--- /dev/null
+++ b/klinkstatus/src/utils/CMakeLists.txt
@@ -0,0 +1,32 @@
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### utils (static)
+
+tde_add_library( utils STATIC_PIC AUTOMOC
+
+ SOURCES
+ utils.cpp
+ xsl.cpp
+ LINK
+ ${LIBXSLT_LIBRARIES}
+)
diff --git a/klinkstatus/src/utils/xsl.cpp b/klinkstatus/src/utils/xsl.cpp
index 12ab5cee..69366c5f 100644
--- a/klinkstatus/src/utils/xsl.cpp
+++ b/klinkstatus/src/utils/xsl.cpp
@@ -432,6 +432,3 @@ unsigned int XSLT::flags() const
}
#include "xsl.moc"
-
-// vim: set noet ts=4 sts=4 sw=4:
-
diff --git a/klinkstatus/src/utils/xsl.h b/klinkstatus/src/utils/xsl.h
index 4e6d8476..e579968b 100644
--- a/klinkstatus/src/utils/xsl.h
+++ b/klinkstatus/src/utils/xsl.h
@@ -34,7 +34,7 @@ class XSLTPrivate;
*/
class XSLT : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( Flags flags READ flagsProperty WRITE setFlagsProperty )
diff --git a/kommander/CMakeL10n.txt b/kommander/CMakeL10n.txt
index 0efe7f6a..008a8578 100644
--- a/kommander/CMakeL10n.txt
+++ b/kommander/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kommander" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kommander-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kommander/CMakeLists.txt b/kommander/CMakeLists.txt
new file mode 100644
index 00000000..711033df
--- /dev/null
+++ b/kommander/CMakeLists.txt
@@ -0,0 +1,21 @@
+add_subdirectory( icons )
+add_subdirectory( pluginmanager )
+add_subdirectory( plugin )
+add_subdirectory( factory )
+add_subdirectory( widget )
+add_subdirectory( widgets )
+add_subdirectory( editor )
+add_subdirectory( executor )
+add_subdirectory( part )
+add_subdirectory( working )
+add_subdirectory( examples )
+add_subdirectory( kmdrtools )
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE x-kommander.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR kommander-desktops
+)
diff --git a/kommander/Kommander-TODO.kno b/kommander/Kommander-TODO.kno
index 4207a210..27ec95f3 100644
--- a/kommander/Kommander-TODO.kno
+++ b/kommander/Kommander-TODO.kno
@@ -72,8 +72,8 @@
\NewEntry 1 Other
<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Sans Serif">
<p><span style="font-weight:600">Other GUI-related issues</span></p>
-<ul type="disc"><li>cleanup Q_SLOTS/Q_SIGNALS/connections interface</li>
-<li>find out why Q_SLOTS are shown only for current tab<br /></li></ul>
+<ul type="disc"><li>cleanup slots/signals/connections interface</li>
+<li>find out why slots are shown only for current tab<br /></li></ul>
<p><span style="font-weight:600">KDE4 ideas:<br /></span></p>
<ul type="disc"><li>create a KDevelop plugin for the editor</li>
<li>use KFormDesigner or the new Qt Designer</li></ul>
@@ -160,8 +160,8 @@
\NewEntry 1 Signals
<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Georgia">
-<p><span style="font-weight:600">New Q_SIGNALS for existing widgets</span></p>
-<ul type="disc"><li>add Q_SIGNALS for D&amp;D<br /><span style="font-style:italic">Requires dragContent and dragType, perhaps dragSource to be set.</span></li>
+<p><span style="font-weight:600">New signals for existing widgets</span></p>
+<ul type="disc"><li>add signals for D&amp;D<br /><span style="font-style:italic">Requires dragContent and dragType, perhaps dragSource to be set.</span></li>
<li></li></ul>
</body></html>
@@ -218,7 +218,7 @@
\NewEntry 1 Done
<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Sans Serif">
-<p>New widgets include the DatePicker, Popup Menu and Toolbox. New functions inlcude widget creation, hooking and unhooking Q_SIGNALS and Q_SLOTS and full slot access as well as passing and returning parameters in scripts. WooHoo! Take that do list!<br /></p>
+<p>New widgets include the DatePicker, Popup Menu and Toolbox. New functions inlcude widget creation, hooking and unhooking signals and slots and full slot access as well as passing and returning parameters in scripts. WooHoo! Take that do list!<br /></p>
<ul type="disc"><li>fixed dcop functions</li>
<li>added indexed array functions</li>
<li>made color slot work in TextEdit</li>
diff --git a/kommander/editor/CMakeLists.txt b/kommander/editor/CMakeLists.txt
new file mode 100644
index 00000000..098bc825
--- /dev/null
+++ b/kommander/editor/CMakeLists.txt
@@ -0,0 +1,88 @@
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/widgets
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_definitions( -DKOMMANDER -DTQT_NO_SQL -DDESIGNER )
+
+
+##### kmdr-editor (executable)
+
+tde_add_executable( kmdr-editor AUTOMOC
+
+ SOURCES
+ actioneditor.ui assoctexteditor.ui
+ connectioneditor.ui createtemplate.ui
+ formsettings.ui iconvieweditor.ui
+ listboxeditor.ui listeditor.ui
+ listvieweditor.ui multilineeditor.ui
+ newform.ui paletteeditor.ui
+ paletteeditoradvanced.ui pixmapfunction.ui
+ preferences.ui previewwidget.ui
+ tableeditor.ui wizardeditor.ui
+ choosewidget.ui functions.ui
+ actiondnd.cpp actioneditorimpl.cpp
+ assoctexteditorimpl.cpp actionlistview.cpp
+ asciivalidator.cpp assistproc.cpp
+ command.cpp connectioneditorimpl.cpp
+ defs.cpp filechooser.cpp
+ formfile.cpp formsettingsimpl.cpp
+ formwindow.cpp hierarchyview.cpp
+ iconvieweditorimpl.cpp layout.cpp
+ listboxeditorimpl.cpp listvieweditorimpl.cpp
+ main.cpp mainwindow.cpp
+ mainwindowactions.cpp metadatabase.cpp
+ multilineeditorimpl.cpp newformimpl.cpp
+ orderindicator.cpp paletteeditoradvancedimpl.cpp
+ paletteeditorimpl.cpp parser.cpp
+ pixmapchooser.cpp previewframe.cpp
+ previewwidgetimpl.cpp propertyeditor.cpp
+ qcompletionedit.cpp resource.cpp
+ sizehandle.cpp styledbutton.cpp
+ tableeditorimpl.cpp widgetdatabase.cpp
+ widgetfactory.cpp wizardeditorimpl.cpp
+ workspace.cpp choosewidgetimpl.cpp
+ functionsimpl.cpp messagelog.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ tdetexteditor-shared
+ kommanderwidget-shared
+ kommanderwidgets-shared
+ kommanderplugin-shared
+ kommanderfactory-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kommander.xml kommander-new.xml
+ DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax
+)
+
+tde_create_translated_desktop(
+ SOURCE kmdr-editor.desktop
+ PO_DIR kommander-desktops
+)
diff --git a/kommander/editor/actiondnd.cpp b/kommander/editor/actiondnd.cpp
index d07bfebf..bc3b2a21 100644
--- a/kommander/editor/actiondnd.cpp
+++ b/kommander/editor/actiondnd.cpp
@@ -47,7 +47,7 @@ bool QDesignerAction::addTo( TQWidget *w )
if ( !widgetToInsert )
return TQAction::addTo( w );
- if ( w->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQPopupMenu" ) )
return false;
widgetToInsert->reparent( w, TQPoint( 0, 0 ), false );
@@ -68,23 +68,23 @@ void QDesignerAction::remove()
{
if ( !widgetToInsert )
return;
- MainWindow::self->formWindow()->selectWidget( TQT_TQOBJECT(widgetToInsert), false );
+ MainWindow::self->formWindow()->selectWidget( widgetToInsert, false );
widgetToInsert->reparent( 0, TQPoint( 0, 0 ), false );
}
-QDesignerToolBarSeparator::QDesignerToolBarSeparator(Qt::Orientation o , TQToolBar *parent,
+QDesignerToolBarSeparator::QDesignerToolBarSeparator(TQt::Orientation o , TQToolBar *parent,
const char* name )
: TQWidget( parent, name )
{
- connect( parent, TQT_SIGNAL(orientationChanged(Qt::Orientation)),
- this, TQT_SLOT(setOrientation(Qt::Orientation)) );
+ connect( parent, TQ_SIGNAL(orientationChanged(TQt::Orientation)),
+ this, TQ_SLOT(setOrientation(TQt::Orientation)) );
setOrientation( o );
setBackgroundMode( parent->backgroundMode() );
setBackgroundOrigin( ParentOrigin );
setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
}
-void QDesignerToolBarSeparator::setOrientation( Qt::Orientation o )
+void QDesignerToolBarSeparator::setOrientation( TQt::Orientation o )
{
orient = o;
}
@@ -98,7 +98,7 @@ TQSize QDesignerToolBarSeparator::sizeHint() const
{
int extent = style().pixelMetric( TQStyle::PM_DockWindowSeparatorExtent,
this );
- if ( orient ==Qt::Horizontal )
+ if ( orient ==TQt::Horizontal )
return TQSize( extent, 0 );
else
return TQSize( 0, extent );
@@ -109,10 +109,10 @@ void QDesignerToolBarSeparator::paintEvent( TQPaintEvent * )
TQPainter p( this );
TQStyle::SFlags flags = TQStyle::Style_Default;
- if ( orientation() ==Qt::Horizontal )
+ if ( orientation() ==TQt::Horizontal )
flags |= TQStyle::Style_Horizontal;
- style().tqdrawPrimitive( TQStyle::PE_DockWindowSeparator, &p, rect(),
+ style().drawPrimitive( TQStyle::PE_DockWindowSeparator, &p, rect(),
colorGroup(), flags );
}
@@ -125,11 +125,11 @@ QSeparatorAction::QSeparatorAction( TQObject *parent )
bool QSeparatorAction::addTo( TQWidget *w )
{
- if ( w->inherits( TQTOOLBAR_OBJECT_NAME_STRING ) ) {
+ if ( w->inherits( "TQToolBar" ) ) {
TQToolBar *tb = (TQToolBar*)w;
wid = new QDesignerToolBarSeparator( tb->orientation(), tb );
return true;
- } else if ( w->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ) ) {
+ } else if ( w->inherits( "TQPopupMenu" ) ) {
idx = ( (TQPopupMenu*)w )->count();
( (TQPopupMenu*)w )->insertSeparator( idx );
return true;
@@ -139,10 +139,10 @@ bool QSeparatorAction::addTo( TQWidget *w )
bool QSeparatorAction::removeFrom( TQWidget *w )
{
- if ( w->inherits( TQTOOLBAR_OBJECT_NAME_STRING ) ) {
+ if ( w->inherits( "TQToolBar" ) ) {
delete wid;
return true;
- } else if ( w->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ) ) {
+ } else if ( w->inherits( "TQPopupMenu" ) ) {
( (TQPopupMenu*)w )->removeItemAt( idx );
return true;
}
@@ -163,7 +163,7 @@ QDesignerToolBar::QDesignerToolBar( TQMainWindow *mw )
insertAnchor = 0;
afterAnchor = true;
setAcceptDrops( true );
- MetaDataBase::addEntry( TQT_TQOBJECT(this) );
+ MetaDataBase::addEntry( this );
lastIndicatorPos = TQPoint( -1, -1 );
indicator = new QDesignerIndicatorWidget( this );
indicator->hide();
@@ -181,7 +181,7 @@ QDesignerToolBar::QDesignerToolBar( TQMainWindow *mw, Dock dock )
setAcceptDrops( true );
indicator = new QDesignerIndicatorWidget( this );
indicator->hide();
- MetaDataBase::addEntry( TQT_TQOBJECT(this) );
+ MetaDataBase::addEntry( this );
installEventFilter( this );
widgetInserting = false;
findFormWindow();
@@ -201,8 +201,8 @@ void QDesignerToolBar::findFormWindow()
void QDesignerToolBar::addAction( TQAction *a )
{
actionList.append( a );
- connect( a, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( actionRemoved() ) );
- if ( a->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ) {
+ connect( a, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( actionRemoved() ) );
+ if ( a->inherits( "TQActionGroup" ) ) {
( (QDesignerActionGroup*)a )->widget()->installEventFilter( this );
actionMap.insert( ( (QDesignerActionGroup*)a )->widget(), a );
} else if ( a->inherits( "QSeparatorAction" ) ) {
@@ -222,16 +222,16 @@ static void fixObject( TQObject *&o )
bool QDesignerToolBar::eventFilter( TQObject *o, TQEvent *e )
{
- if ( !o || !e || o->inherits( TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING ) || o->inherits( "TQDockWindowTitleBar" ) )
+ if ( !o || !e || o->inherits( "TQDockWindowHandle" ) || o->inherits( "TQDockWindowTitleBar" ) )
return TQToolBar::eventFilter( o, e );
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) && e->type() == TQEvent::MouseButtonPress &&
- ( ( TQMouseEvent*)e )->button() == Qt::LeftButton ) {
+ if ( o == this && e->type() == TQEvent::MouseButtonPress &&
+ ( ( TQMouseEvent*)e )->button() == TQt::LeftButton ) {
mousePressEvent( (TQMouseEvent*)e );
return true;
}
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) )
+ if ( o == this )
return TQToolBar::eventFilter( o, e );
if ( e->type() == TQEvent::MouseButtonPress ) {
@@ -304,7 +304,7 @@ void QDesignerToolBar::contextMenuEvent( TQContextMenuEvent *e )
void QDesignerToolBar::mousePressEvent( TQMouseEvent *e )
{
widgetInserting = false;
- if ( e->button() == Qt::LeftButton &&
+ if ( e->button() == TQt::LeftButton &&
MainWindow::self->currentTool() != POINTER_TOOL &&
MainWindow::self->currentTool() != ORDER_TOOL ) {
@@ -391,10 +391,10 @@ void QDesignerToolBar::buttonMousePressEvent( TQMouseEvent *e, TQObject * )
{
widgetInserting = false;
- if ( e->button() == Qt::MidButton )
+ if ( e->button() == TQt::MidButton )
return;
- if ( e->button() == Qt::LeftButton &&
+ if ( e->button() == TQt::LeftButton &&
MainWindow::self->currentTool() != POINTER_TOOL &&
MainWindow::self->currentTool() != ORDER_TOOL ) {
@@ -430,7 +430,7 @@ void QDesignerToolBar::removeWidget( TQWidget *w )
void QDesignerToolBar::buttonMouseMoveEvent( TQMouseEvent *e, TQObject *o )
{
- if ( widgetInserting || ( e->state() & Qt::LeftButton ) == 0 )
+ if ( widgetInserting || ( e->state() & TQt::LeftButton ) == 0 )
return;
if ( TQABS( TQPoint( dragStartPos - e->pos() ).manhattanLength() ) < TQApplication::startDragDistance() )
return;
@@ -450,15 +450,15 @@ void QDesignerToolBar::buttonMouseMoveEvent( TQMouseEvent *e, TQObject *o )
TQApplication::sendPostedEvents();
adjustSize();
- TQString type = a->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? TQString( "application/x-designer-actiongroup" ) :
+ TQString type = a->inherits( "TQActionGroup" ) ? TQString( "application/x-designer-actiongroup" ) :
a->inherits( "QSeparatorAction" ) ? TQString( "application/x-designer-separator" ) : TQString( "application/x-designer-actions" );
- TQStoredDrag *drag = new TQStoredDrag( type, this );
+ TQStoredDrag *drag = new TQStoredDrag( type.utf8(), this );
TQString s = TQString::number( (long)a ); // #### huha, that is evil
drag->setEncodedData( TQCString( s.latin1() ) );
drag->setPixmap( a->iconSet().pixmap() );
if ( a->inherits( "QDesignerAction" ) ) {
if ( formWindow->widgets()->find( ( (QDesignerAction*)a )->widget() ) )
- formWindow->selectWidget( TQT_TQOBJECT(( (QDesignerAction*)a )->widget()), false );
+ formWindow->selectWidget( ( (QDesignerAction*)a )->widget(), false );
}
if ( !drag->drag() ) {
AddActionToToolBarCommand *cmd = new AddActionToToolBarCommand( i18n("Add Action '%1' to Toolbar '%2'" ).
@@ -560,7 +560,7 @@ void QDesignerToolBar::reInsert()
clear();
for ( a = actionList.first(); a; a = actionList.next() ) {
a->addTo( this );
- if ( a->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( a->inherits( "TQActionGroup" ) ) {
actionMap.insert( ( (QDesignerActionGroup*)a )->widget(), a );
if ( ( (QDesignerActionGroup*)a )->widget() )
( (QDesignerActionGroup*)a )->widget()->installEventFilter( this );
@@ -583,7 +583,7 @@ void QDesignerToolBar::actionRemoved()
TQPoint QDesignerToolBar::calcIndicatorPos( const TQPoint &pos )
{
- if ( orientation() ==Qt::Horizontal ) {
+ if ( orientation() ==TQt::Horizontal ) {
TQPoint pnt( width() - 2, 0 );
insertAnchor = 0;
afterAnchor = true;
@@ -637,7 +637,7 @@ void QDesignerToolBar::drawIndicator( const TQPoint &pos )
if ( lastIndicatorPos == pos )
return;
bool wasVsisible = indicator->isVisible();
- if ( orientation() ==Qt::Horizontal ) {
+ if ( orientation() ==TQt::Horizontal ) {
indicator->resize( 3, height() );
if ( pos != TQPoint( -1, -1 ) )
indicator->move( pos.x() - 1, 0 );
@@ -691,7 +691,7 @@ void QDesignerToolBar::installEventFilters( TQWidget *w )
{
if ( !w )
return;
- TQObjectList *l = w->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList *l = w->queryList( "TQWidget" );
for ( TQObject *o = l->first(); o; o = l->next() )
o->installEventFilter( this );
delete l;
@@ -704,7 +704,7 @@ QDesignerMenuBar::QDesignerMenuBar( TQWidget *mw )
{
show();
setAcceptDrops( true );
- MetaDataBase::addEntry( TQT_TQOBJECT(this) );
+ MetaDataBase::addEntry( this );
itemNum = 0;
mousePressed = false;
lastIndicatorPos = TQPoint( -1, -1 );
@@ -769,7 +769,7 @@ void QDesignerMenuBar::mousePressEvent( TQMouseEvent *e )
lastIndicatorPos = TQPoint( -1, -1 );
insertAt = -1;
mousePressed = true;
- if ( e->button() == Qt::MidButton || e->button() == Qt::RightButton )
+ if ( e->button() == TQt::MidButton || e->button() == TQt::RightButton )
return;
dragStartPos = e->pos();
@@ -778,7 +778,7 @@ void QDesignerMenuBar::mousePressEvent( TQMouseEvent *e )
void QDesignerMenuBar::mouseMoveEvent( TQMouseEvent *e )
{
- if ( !mousePressed || e->state() == Qt::NoButton ) {
+ if ( !mousePressed || e->state() == TQt::NoButton ) {
TQMenuBar::mouseMoveEvent( e );
return;
}
@@ -847,12 +847,12 @@ void QDesignerMenuBar::dragMoveEvent( TQDragMoveEvent *e )
e->provides( "application/x-designer-actiongroup" ) ||
e->provides( "application/x-designer-separator" ) ) {
int item = itemAtPos( e->pos() );
- bool uieffect = TQApplication::isEffectEnabled( Qt::UI_AnimateMenu );
- TQApplication::setEffectEnabled( Qt::UI_AnimateMenu, false );
+ bool uieffect = TQApplication::isEffectEnabled( TQt::UI_AnimateMenu );
+ TQApplication::setEffectEnabled( TQt::UI_AnimateMenu, false );
if ( !tqApp->activePopupWidget() )
actItem = -1;
activateItemAt( item );
- TQApplication::setEffectEnabled( Qt::UI_AnimateMenu, uieffect );
+ TQApplication::setEffectEnabled( TQt::UI_AnimateMenu, uieffect );
if ( item == -1 )
hidePopups();
} else {
@@ -977,7 +977,7 @@ void QDesignerPopupMenu::contextMenuEvent( TQContextMenuEvent *e )
{
#if defined( TQ_WS_MAC ) //the mac needs us to use context menu rather than right click
e->accept();
- TQMouseEvent me( TQEvent::MouseButtonPress, e->pos(), e->globalPos(), Qt::RightButton, Qt::RightButton );
+ TQMouseEvent me( TQEvent::MouseButtonPress, e->pos(), e->globalPos(), TQt::RightButton, TQt::RightButton );
mousePressEvent(&me);
#else
Q_UNUSED( e );
@@ -986,10 +986,10 @@ void QDesignerPopupMenu::contextMenuEvent( TQContextMenuEvent *e )
void QDesignerPopupMenu::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::MidButton )
+ if ( e->button() == TQt::MidButton )
return;
- if ( e->button() == Qt::RightButton ) {
+ if ( e->button() == TQt::RightButton ) {
// A popup for a popup, we only need one, so make sure that
// we don't create multiple. The timer keeps the event loop sane.
popupPos = e->globalPos();
@@ -998,7 +998,7 @@ void QDesignerPopupMenu::mousePressEvent( TQMouseEvent *e )
popupMenu->close();
}
e->accept();
- TQTimer::singleShot( 0, this, TQT_SLOT(createPopupMenu()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(createPopupMenu()) );
return;
}
mousePressed = true;
@@ -1054,7 +1054,7 @@ void QDesignerPopupMenu::createPopupMenu()
void QDesignerPopupMenu::mouseMoveEvent( TQMouseEvent *e )
{
- if ( !mousePressed || e->state() == Qt::NoButton ) {
+ if ( !mousePressed || e->state() == TQt::NoButton ) {
TQPopupMenu::mouseMoveEvent( e );
return;
}
@@ -1074,9 +1074,9 @@ void QDesignerPopupMenu::mouseMoveEvent( TQMouseEvent *e )
formWindow->commandHistory()->addCommand( cmd );
cmd->execute();
- TQString type = a->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? TQString( "application/x-designer-actiongroup" ) :
+ TQString type = a->inherits( "TQActionGroup" ) ? TQString( "application/x-designer-actiongroup" ) :
a->inherits( "QSeparatorAction" ) ? TQString( "application/x-designer-separator" ) : TQString( "application/x-designer-actions" );
- TQStoredDrag *drag = new TQStoredDrag( type, this );
+ TQStoredDrag *drag = new TQStoredDrag( type.utf8(), this );
TQString s = TQString::number( (long)a ); // #### huha, that is evil
drag->setEncodedData( TQCString( s.latin1() ) );
drag->setPixmap( a->iconSet().pixmap() );
@@ -1217,7 +1217,7 @@ TQPoint QDesignerPopupMenu::calcIndicatorPos( const TQPoint &pos )
void QDesignerPopupMenu::addAction( TQAction *a )
{
actionList.append( a );
- connect( a, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( actionRemoved() ) );
+ connect( a, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( actionRemoved() ) );
}
void QDesignerPopupMenu::actionRemoved()
diff --git a/kommander/editor/actiondnd.h b/kommander/editor/actiondnd.h
index b71d2c2c..2f4649a5 100644
--- a/kommander/editor/actiondnd.h
+++ b/kommander/editor/actiondnd.h
@@ -36,12 +36,12 @@ class FormWindow;
class QDesignerActionGroup : public TQActionGroup
{
- Q_OBJECT
+ TQ_OBJECT
public:
QDesignerActionGroup( TQObject *parent )
- : TQActionGroup( !parent || parent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? parent : 0 ), wid( 0 ), idx( -1 ) {}
+ : TQActionGroup( !parent || parent->inherits( "TQActionGroup" ) ? parent : 0 ), wid( 0 ), idx( -1 ) {}
TQWidget *widget() const { return wid; }
TQWidget *widget( TQAction *a ) const { return *widgets.find( a ); }
@@ -67,14 +67,14 @@ private:
class QDesignerAction : public TQAction
{
- Q_OBJECT
+ TQ_OBJECT
public:
QDesignerAction( TQObject *parent )
- : TQAction( !parent || parent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( 0 ) {}
+ : TQAction( !parent || parent->inherits( "TQActionGroup" ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( 0 ) {}
QDesignerAction( TQWidget *w, TQObject *parent )
- : TQAction( !parent || parent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( w ) {}
+ : TQAction( !parent || parent->inherits( "TQActionGroup" ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( w ) {}
TQWidget *widget() const { return wid; }
int index() const { return idx; }
@@ -102,7 +102,7 @@ private:
class QDesignerToolBarSeparator : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -122,7 +122,7 @@ private:
class QSeparatorAction : public TQAction
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -141,7 +141,7 @@ private:
class QDesignerToolBar : public TQToolBar
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -200,7 +200,7 @@ private:
class QDesignerMenuBar : public TQMenuBar
{
- Q_OBJECT
+ TQ_OBJECT
friend class QDesignerPopupMenu;
@@ -249,7 +249,7 @@ private:
class QDesignerPopupMenu : public TQPopupMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -298,7 +298,7 @@ private:
class QDesignerIndicatorWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/actioneditorimpl.cpp b/kommander/editor/actioneditorimpl.cpp
index 8dea07ad..3b5df0e8 100644
--- a/kommander/editor/actioneditorimpl.cpp
+++ b/kommander/editor/actioneditorimpl.cpp
@@ -44,17 +44,17 @@ ActionEditor::ActionEditor( TQWidget* parent, const char* name, WFlags fl )
buttonConnect->setEnabled( false );
TQPopupMenu *popup = new TQPopupMenu( this );
- popup->insertItem( i18n("New &Action" ), this, TQT_SLOT( newAction() ) );
- popup->insertItem( i18n("New Action &Group" ), this, TQT_SLOT( newActionGroup() ) );
- popup->insertItem( i18n("New &Dropdown Action Group" ), this, TQT_SLOT( newDropDownActionGroup() ) );
+ popup->insertItem( i18n("New &Action" ), this, TQ_SLOT( newAction() ) );
+ popup->insertItem( i18n("New Action &Group" ), this, TQ_SLOT( newActionGroup() ) );
+ popup->insertItem( i18n("New &Dropdown Action Group" ), this, TQ_SLOT( newDropDownActionGroup() ) );
buttonNewAction->setPopup( popup );
buttonNewAction->setPopupDelay( 0 );
- connect( listActions, TQT_SIGNAL( insertAction() ), this, TQT_SLOT( newAction() ) );
- connect( listActions, TQT_SIGNAL( insertActionGroup() ), this, TQT_SLOT( newActionGroup() ) );
- connect( listActions, TQT_SIGNAL( insertDropDownActionGroup() ), this, TQT_SLOT( newDropDownActionGroup() ) );
- connect( listActions, TQT_SIGNAL( deleteAction() ), this, TQT_SLOT( deleteAction() ) );
- connect( listActions, TQT_SIGNAL( connectAction() ), this, TQT_SLOT( connectionsClicked() ) );
+ connect( listActions, TQ_SIGNAL( insertAction() ), this, TQ_SLOT( newAction() ) );
+ connect( listActions, TQ_SIGNAL( insertActionGroup() ), this, TQ_SLOT( newActionGroup() ) );
+ connect( listActions, TQ_SIGNAL( insertDropDownActionGroup() ), this, TQ_SLOT( newDropDownActionGroup() ) );
+ connect( listActions, TQ_SIGNAL( deleteAction() ), this, TQ_SLOT( deleteAction() ) );
+ connect( listActions, TQ_SIGNAL( connectAction() ), this, TQ_SLOT( connectionsClicked() ) );
}
void ActionEditor::closeEvent( TQCloseEvent *e )
@@ -86,10 +86,10 @@ void ActionEditor::deleteAction()
formWindow->actionList().removeRef( currentAction );
delete currentAction;
TQValueList<MetaDataBase::Connection> conns =
- MetaDataBase::connections( TQT_TQOBJECT(formWindow), currentAction );
+ MetaDataBase::connections( formWindow, currentAction );
for ( TQValueList<MetaDataBase::Connection>::Iterator it2 = conns.begin();
it2 != conns.end(); ++it2 )
- MetaDataBase::removeConnection( TQT_TQOBJECT(formWindow), (*it2).sender, (*it2).signal,
+ MetaDataBase::removeConnection( formWindow, (*it2).sender, (*it2).signal,
(*it2).receiver, (*it2).slot );
delete it.current();
break;
@@ -97,10 +97,10 @@ void ActionEditor::deleteAction()
formWindow->actionList().removeRef( currentAction );
delete currentAction;
TQValueList<MetaDataBase::Connection> conns =
- MetaDataBase::connections( TQT_TQOBJECT(formWindow), currentAction );
+ MetaDataBase::connections( formWindow, currentAction );
for ( TQValueList<MetaDataBase::Connection>::Iterator it2 = conns.begin();
it2 != conns.end(); ++it2 )
- MetaDataBase::removeConnection( TQT_TQOBJECT(formWindow), (*it2).sender, (*it2).signal,
+ MetaDataBase::removeConnection( formWindow, (*it2).sender, (*it2).signal,
(*it2).receiver, (*it2).slot );
delete it.current();
break;
@@ -109,7 +109,7 @@ void ActionEditor::deleteAction()
}
if ( formWindow )
- formWindow->setActiveObject( TQT_TQOBJECT(formWindow->mainContainer()) );
+ formWindow->setActiveObject( formWindow->mainContainer() );
}
void ActionEditor::newAction()
@@ -117,7 +117,7 @@ void ActionEditor::newAction()
ActionItem *actionParent = (ActionItem*)listActions->selectedItem();
if ( actionParent ) {
if ( !actionParent->actionGroup() ||
- !actionParent->actionGroup()->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) )
+ !actionParent->actionGroup()->inherits( "TQActionGroup" ) )
actionParent = (ActionItem*)actionParent->parent();
}
@@ -130,7 +130,7 @@ void ActionEditor::newAction()
TQString n = "Action";
formWindow->unify( i->action(), n, true );
i->setText( 0, n );
- i->action()->setName( n );
+ i->action()->setName( n.utf8() );
i->action()->setText( i->action()->name() );
if ( actionParent && actionParent->actionGroup() &&
actionParent->actionGroup()->usesDropDown() ) {
@@ -149,7 +149,7 @@ void ActionEditor::newActionGroup()
ActionItem *actionParent = (ActionItem*)listActions->selectedItem();
if ( actionParent ) {
if ( !actionParent->actionGroup() ||
- !actionParent->actionGroup()->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) )
+ !actionParent->actionGroup()->inherits( "TQActionGroup" ) )
actionParent = (ActionItem*)actionParent->parent();
}
@@ -164,7 +164,7 @@ void ActionEditor::newActionGroup()
TQString n = "ActionGroup";
formWindow->unify( i->action(), n, true );
i->setText( 0, n );
- i->actionGroup()->setName( n );
+ i->actionGroup()->setName( n.utf8() );
i->actionGroup()->setText( i->actionGroup()->name() );
MetaDataBase::setPropertyChanged( i->actionGroup(), "text", true );
MetaDataBase::setPropertyChanged( i->actionGroup(), "name", true );
@@ -186,18 +186,18 @@ void ActionEditor::setFormWindow( FormWindow *fw )
formWindow = fw;
if ( !formWindow ||
!formWindow->mainContainer() ||
- !formWindow->mainContainer()->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) {
+ !formWindow->mainContainer()->inherits( "TQMainWindow" ) ) {
setEnabled( false );
} else {
setEnabled( true );
for ( TQAction *a = formWindow->actionList().first(); a; a = formWindow->actionList().next() ) {
ActionItem *i = 0;
- if ( a->parent() && a->parent()->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( a->parent() && a->parent()->inherits( "TQAction" ) )
continue;
i = new ActionItem( listActions, a );
i->setText( 0, a->name() );
i->setPixmap( 0, a->iconSet().pixmap() );
- if ( a->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( a->inherits( "TQActionGroup" ) ) {
insertChildActions( i );
}
}
@@ -219,14 +219,14 @@ void ActionEditor::insertChildActions( ActionItem *i )
while ( it.current() ) {
TQObject *o = it.current();
++it;
- if ( !o->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !o->inherits( "TQAction" ) )
continue;
TQAction *a = (TQAction*)o;
ActionItem *i2 = new ActionItem( (TQListViewItem*)i, a );
i->setOpen( true );
i2->setText( 0, a->name() );
i2->setPixmap( 0, a->iconSet().pixmap() );
- if ( a->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) )
+ if ( a->inherits( "TQActionGroup" ) )
insertChildActions( i2 );
}
}
@@ -257,7 +257,7 @@ void ActionEditor::updateActionIcon( TQAction *a )
void ActionEditor::connectionsClicked()
{
- ConnectionEditor editor( formWindow->mainWindow(), TQT_TQOBJECT(currentAction), TQT_TQOBJECT(formWindow), formWindow );
+ ConnectionEditor editor( formWindow->mainWindow(), currentAction, formWindow, formWindow );
editor.exec();
}
#include "actioneditorimpl.moc"
diff --git a/kommander/editor/actioneditorimpl.h b/kommander/editor/actioneditorimpl.h
index ff6f001d..38b543f4 100644
--- a/kommander/editor/actioneditorimpl.h
+++ b/kommander/editor/actioneditorimpl.h
@@ -31,7 +31,7 @@ class ActionItem;
class ActionEditor : public ActionEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/actionlistview.cpp b/kommander/editor/actionlistview.cpp
index 80d4d94c..ab7517f7 100644
--- a/kommander/editor/actionlistview.cpp
+++ b/kommander/editor/actionlistview.cpp
@@ -30,14 +30,14 @@ ActionListView::ActionListView( TQWidget *parent, const char *name )
header()->setStretchEnabled( true );
setRootIsDecorated( true );
setSorting( -1 );
- connect( this, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( rmbMenu( TQListViewItem *, const TQPoint & ) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( rmbMenu( TQListViewItem *, const TQPoint & ) ) );
}
ActionItem::ActionItem( TQListView *lv, TQAction *ac )
: TQListViewItem( lv ), a( 0 ), g( 0 )
{
- if ( ac->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) )
+ if ( ac->inherits( "TQActionGroup" ) )
g = (QDesignerActionGroup*)ac;
else
a = (QDesignerAction*)ac;
@@ -47,7 +47,7 @@ ActionItem::ActionItem( TQListView *lv, TQAction *ac )
ActionItem::ActionItem( TQListViewItem *i, TQAction *ac )
: TQListViewItem( i ), a( 0 ), g( 0 )
{
- if ( ac->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) )
+ if ( ac->inherits( "TQActionGroup" ) )
g = (QDesignerActionGroup*)ac;
else
a = (QDesignerAction*)ac;
diff --git a/kommander/editor/actionlistview.h b/kommander/editor/actionlistview.h
index c65e6658..fa13b2d2 100644
--- a/kommander/editor/actionlistview.h
+++ b/kommander/editor/actionlistview.h
@@ -52,7 +52,7 @@ private:
class ActionListView : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/asciivalidator.h b/kommander/editor/asciivalidator.h
index 676208eb..2faac155 100644
--- a/kommander/editor/asciivalidator.h
+++ b/kommander/editor/asciivalidator.h
@@ -27,7 +27,7 @@
class AsciiValidator: public TQValidator
{
- Q_OBJECT
+ TQ_OBJECT
public:
AsciiValidator( TQObject * parent, const char *name = 0 );
diff --git a/kommander/editor/assistproc.cpp b/kommander/editor/assistproc.cpp
index 8fbf61f3..580b2b2d 100644
--- a/kommander/editor/assistproc.cpp
+++ b/kommander/editor/assistproc.cpp
@@ -23,14 +23,14 @@ AssistProc::AssistProc( TQObject *parent, const char *name, const TQString &path
: TQProcess( parent, name )
{
assistantPath = path;
- connect( this, TQT_SIGNAL(readyReadStdout()), this, TQT_SLOT(processOutput()) );
- connect( this, TQT_SIGNAL(readyReadStderr()), this, TQT_SLOT(processErrOutput()) );
+ connect( this, TQ_SIGNAL(readyReadStdout()), this, TQ_SLOT(processOutput()) );
+ connect( this, TQ_SIGNAL(readyReadStderr()), this, TQ_SLOT(processErrOutput()) );
}
AssistProc::~AssistProc()
{
tryTerminate();
- TQTimer::singleShot( 5000, this, TQT_SLOT(kill())); // If busy, kill in 5 sec...
+ TQTimer::singleShot( 5000, this, TQ_SLOT(kill())); // If busy, kill in 5 sec...
}
bool AssistProc::run( const TQString &path )
diff --git a/kommander/editor/assistproc.h b/kommander/editor/assistproc.h
index 8e579bda..c7097787 100644
--- a/kommander/editor/assistproc.h
+++ b/kommander/editor/assistproc.h
@@ -27,7 +27,7 @@
class AssistProc : public TQProcess
{
- Q_OBJECT
+ TQ_OBJECT
public:
AssistProc( TQObject *parent=0, const char * name = 0, const TQString &path = TQString() );
diff --git a/kommander/editor/assoctexteditor.ui b/kommander/editor/assoctexteditor.ui
index 558964c1..a43e524b 100644
--- a/kommander/editor/assoctexteditor.ui
+++ b/kommander/editor/assoctexteditor.ui
@@ -215,8 +215,11 @@
<slot>AssocTextEditorBase_destroyed(TQObject*)</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>AssocTextEditorBase_destroyed(TQObject*)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/assoctexteditorimpl.cpp b/kommander/editor/assoctexteditorimpl.cpp
index 1c1b7bbe..93e33b17 100644
--- a/kommander/editor/assoctexteditorimpl.cpp
+++ b/kommander/editor/assoctexteditorimpl.cpp
@@ -89,7 +89,7 @@ AssocTextEditor::AssocTextEditor(TQWidget *a_widget, FormWindow* a_form,
break;
}
- doc = KTextEditor::createDocument ("libkatepart", TQT_TQOBJECT(a_parent), "KTextEditor::Document");
+ doc = KTextEditor::createDocument ("libkatepart", a_parent, "KTextEditor::Document");
TQGridLayout *layout = new TQGridLayout(editorFrame, 1, 1);
view = doc->createView(editorFrame);
layout->addWidget(view, 1,1);
@@ -138,7 +138,7 @@ AssocTextEditor::AssocTextEditor(TQWidget *a_widget, FormWindow* a_form,
readOnlyAction = view->actionCollection()->action("tools_toggle_write_lock");
popup->insertSeparator();
highlightPopup = new TDEPopupMenu(popup);
- connect(highlightPopup, TQT_SIGNAL(activated(int)), TQT_SLOT(slotHighlightingChanged(int)));
+ connect(highlightPopup, TQ_SIGNAL(activated(int)), TQ_SLOT(slotHighlightingChanged(int)));
popup->insertItem(i18n("&Highlighting"), highlightPopup);
@@ -151,13 +151,13 @@ AssocTextEditor::AssocTextEditor(TQWidget *a_widget, FormWindow* a_form,
readOnlyAction->activate();
setWidget(a_widget);
- connect(doc, TQT_SIGNAL(textChanged()), TQT_SLOT(textEditChanged()));
- connect(widgetsComboBox, TQT_SIGNAL(activated(int)), TQT_SLOT(widgetChanged(int)));
- connect(stateComboBox, TQT_SIGNAL(activated(int)), TQT_SLOT(stateChanged(int)));
- connect(filePushButton, TQT_SIGNAL(clicked()), TQT_SLOT(insertFile()));
- connect(functionButton, TQT_SIGNAL(clicked()), TQT_SLOT(insertFunction()));
- connect(widgetComboBox, TQT_SIGNAL(activated(int)), TQT_SLOT(insertWidgetName(int)));
- connect(treeWidgetButton, TQT_SIGNAL(clicked()), TQT_SLOT(selectWidget()));
+ connect(doc, TQ_SIGNAL(textChanged()), TQ_SLOT(textEditChanged()));
+ connect(widgetsComboBox, TQ_SIGNAL(activated(int)), TQ_SLOT(widgetChanged(int)));
+ connect(stateComboBox, TQ_SIGNAL(activated(int)), TQ_SLOT(stateChanged(int)));
+ connect(filePushButton, TQ_SIGNAL(clicked()), TQ_SLOT(insertFile()));
+ connect(functionButton, TQ_SIGNAL(clicked()), TQ_SLOT(insertFunction()));
+ connect(widgetComboBox, TQ_SIGNAL(activated(int)), TQ_SLOT(insertWidgetName(int)));
+ connect(treeWidgetButton, TQ_SIGNAL(clicked()), TQ_SLOT(selectWidget()));
view->setFocus();
}
@@ -270,21 +270,21 @@ void AssocTextEditor::save() const
{
TQString text = i18n("Set the \'text association\' of \'%1\'").arg(m_widget->name());
SetPropertyCommand *cmd = new SetPropertyCommand(text, m_formWindow,
- TQT_TQOBJECT(m_widget), m_propertyEditor, "associations", atw->associatedText(),
+ m_widget, m_propertyEditor, "associations", atw->associatedText(),
associatedText(), TQString(), TQString(), false);
cmd->execute();
m_formWindow->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(m_widget), "associations", true);
+ MetaDataBase::setPropertyChanged(m_widget, "associations", true);
}
if (atw->populationText() != populationText())
{
TQString text = i18n("Set the \'population text\' of \'%1\'").arg(m_widget->name());
- SetPropertyCommand *cmd = new SetPropertyCommand(text, m_formWindow, TQT_TQOBJECT(m_widget),
+ SetPropertyCommand *cmd = new SetPropertyCommand(text, m_formWindow, m_widget,
m_propertyEditor, "populationText", atw->populationText(),
populationText(), TQString(), TQString(), false);
cmd->execute();
m_formWindow->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(m_widget), "populationText", true);
+ MetaDataBase::setPropertyChanged(m_widget, "populationText", true);
}
}
@@ -305,7 +305,7 @@ TQString AssocTextEditor::populationText() const
TQStringList AssocTextEditor::buildWidgetList()
{
TQStringList widgetList;
- TQObject* thisObject = TQT_TQOBJECT(m_formWindow->mainContainer());
+ TQObject* thisObject = m_formWindow->mainContainer();
TQObjectList *objectList = thisObject->queryList();
objectList->prepend(thisObject);
diff --git a/kommander/editor/assoctexteditorimpl.h b/kommander/editor/assoctexteditorimpl.h
index 2a63942e..2b12f766 100644
--- a/kommander/editor/assoctexteditorimpl.h
+++ b/kommander/editor/assoctexteditorimpl.h
@@ -48,7 +48,7 @@ class TDEPopupMenu;
class AssocTextEditor : public AssocTextEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
AssocTextEditor(TQWidget*, FormWindow*, PropertyEditor*, KParts::PartManager *partManager, TQWidget*, const char* = 0, bool = true);
diff --git a/kommander/editor/choosewidget.ui b/kommander/editor/choosewidget.ui
index 60b4ff69..210703ee 100644
--- a/kommander/editor/choosewidget.ui
+++ b/kommander/editor/choosewidget.ui
@@ -54,9 +54,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -71,9 +68,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -144,7 +138,7 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/choosewidgetimpl.cpp b/kommander/editor/choosewidgetimpl.cpp
index 62f545a0..f399b8b5 100644
--- a/kommander/editor/choosewidgetimpl.cpp
+++ b/kommander/editor/choosewidgetimpl.cpp
@@ -32,8 +32,8 @@
ChooseWidget::ChooseWidget(TQWidget* a_parent, const char* a_name, bool a_modal)
: ChooseWidgetBase(a_parent, a_name, a_modal)
{
- connect( nameEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(textChanged(const TQString&)) );
- connect( widgetView, TQT_SIGNAL(executed(TQListViewItem*)), TQT_SLOT(selectedItem(TQListViewItem*)));
+ connect( nameEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(textChanged(const TQString&)) );
+ connect( widgetView, TQ_SIGNAL(executed(TQListViewItem*)), TQ_SLOT(selectedItem(TQListViewItem*)));
widgetView->setFullWidth(true);
widgetView->addColumn(i18n("Widgets"));
widgetView->setRootIsDecorated(true);
diff --git a/kommander/editor/choosewidgetimpl.h b/kommander/editor/choosewidgetimpl.h
index 5fd8a2b8..e3655e2b 100644
--- a/kommander/editor/choosewidgetimpl.h
+++ b/kommander/editor/choosewidgetimpl.h
@@ -21,7 +21,7 @@
class ChooseWidget : public ChooseWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ChooseWidget(TQWidget*, const char* = 0, bool=true);
diff --git a/kommander/editor/command.cpp b/kommander/editor/command.cpp
index 63343b35..8d15c885 100644
--- a/kommander/editor/command.cpp
+++ b/kommander/editor/command.cpp
@@ -235,7 +235,7 @@ void ResizeCommand::execute()
{
widget->setGeometry( newRect );
formWindow()->updateSelection( widget );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(widget) );
+ formWindow()->emitUpdateProperties( widget );
if ( WidgetFactory::layoutType( widget ) != WidgetFactory::NoLayout )
formWindow()->updateChildSelections( widget );
}
@@ -244,7 +244,7 @@ void ResizeCommand::unexecute()
{
widget->setGeometry( oldRect );
formWindow()->updateSelection( widget );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(widget) );
+ formWindow()->emitUpdateProperties( widget );
if ( WidgetFactory::layoutType( widget ) != WidgetFactory::NoLayout )
formWindow()->updateChildSelections( widget );
}
@@ -271,14 +271,14 @@ void InsertCommand::execute()
widget->show();
formWindow()->widgets()->insert( widget, widget );
formWindow()->clearSelection( false );
- formWindow()->selectWidget( TQT_TQOBJECT(widget) );
+ formWindow()->selectWidget( widget );
formWindow()->mainWindow()->objectHierarchy()->widgetInserted( widget );
}
void InsertCommand::unexecute()
{
widget->hide();
- formWindow()->selectWidget( TQT_TQOBJECT(widget), false );
+ formWindow()->selectWidget( widget, false );
formWindow()->widgets()->remove( widget );
formWindow()->mainWindow()->objectHierarchy()->widgetRemoved( widget );
}
@@ -318,7 +318,7 @@ void MoveCommand::execute()
w->reparent( newParent, pos, true );
formWindow()->raiseSelection( w );
formWindow()->raiseChildSelections( w );
- formWindow()->widgetChanged( TQT_TQOBJECT(w) );
+ formWindow()->widgetChanged( w );
formWindow()->mainWindow()->objectHierarchy()->widgetRemoved( w );
formWindow()->mainWindow()->objectHierarchy()->widgetInserted( w );
}
@@ -326,7 +326,7 @@ void MoveCommand::execute()
}
formWindow()->updateSelection( w );
formWindow()->updateChildSelections( w );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(w) );
+ formWindow()->emitUpdateProperties( w );
}
}
@@ -339,7 +339,7 @@ void MoveCommand::unexecute()
w->reparent( oldParent, pos, true );
formWindow()->raiseSelection( w );
formWindow()->raiseChildSelections( w );
- formWindow()->widgetChanged( TQT_TQOBJECT(w) );
+ formWindow()->widgetChanged( w );
formWindow()->mainWindow()->objectHierarchy()->widgetRemoved( w );
formWindow()->mainWindow()->objectHierarchy()->widgetInserted( w );
}
@@ -347,7 +347,7 @@ void MoveCommand::unexecute()
}
formWindow()->updateSelection( w );
formWindow()->updateChildSelections( w );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(w) );
+ formWindow()->emitUpdateProperties( w );
}
}
@@ -368,14 +368,14 @@ void DeleteCommand::execute()
w->hide();
TQString s = w->name();
s.prepend( "qt_dead_widget_" );
- w->setName( s );
- formWindow()->selectWidget( TQT_TQOBJECT(w), false );
+ w->setName( s.utf8() );
+ formWindow()->selectWidget( w, false );
formWindow()->widgets()->remove( w );
- TQValueList<MetaDataBase::Connection> conns = MetaDataBase::connections( TQT_TQOBJECT(formWindow()), TQT_TQOBJECT(w) );
+ TQValueList<MetaDataBase::Connection> conns = MetaDataBase::connections( formWindow(), w );
connections.insert( w, conns );
TQValueList<MetaDataBase::Connection>::Iterator it = conns.begin();
for ( ; it != conns.end(); ++it ) {
- MetaDataBase::removeConnection( TQT_TQOBJECT(formWindow()), (*it).sender,
+ MetaDataBase::removeConnection( formWindow(), (*it).sender,
(*it).signal, (*it).receiver, (*it).slot );
}
}
@@ -393,13 +393,13 @@ void DeleteCommand::unexecute()
w->show();
TQString s = w->name();
s.remove( 0, TQString( "qt_dead_widget_" ).length() );
- w->setName( s );
+ w->setName( s.utf8() );
formWindow()->widgets()->insert( w, w );
- formWindow()->selectWidget( TQT_TQOBJECT(w) );
+ formWindow()->selectWidget( w );
TQValueList<MetaDataBase::Connection> conns = *connections.find( w );
TQValueList<MetaDataBase::Connection>::Iterator it = conns.begin();
for ( ; it != conns.end(); ++it ) {
- MetaDataBase::addConnection( TQT_TQOBJECT(formWindow()), (*it).sender,
+ MetaDataBase::addConnection( formWindow(), (*it).sender,
(*it).signal, (*it).receiver, (*it).slot );
}
}
@@ -430,7 +430,7 @@ void SetPropertyCommand::execute()
if ( isResetCommand ) {
MetaDataBase::setPropertyChanged( widget, propName, false );
if ( WidgetFactory::resetProperty( widget, propName ) ) {
- if ( !formWindow()->isWidgetSelected( widget ) && TQT_BASE_OBJECT(widget) != TQT_BASE_OBJECT(formWindow()) )
+ if ( !formWindow()->isWidgetSelected( widget ) && widget != formWindow() )
formWindow()->selectWidget( widget );
if ( editor->widget() != widget )
editor->setWidget( widget, formWindow() );
@@ -438,7 +438,7 @@ void SetPropertyCommand::execute()
PropertyItem *i = (PropertyItem*)editor->propertyList()->currentItem();
if ( !i )
return;
- i->setValue( widget->property( propName ) );
+ i->setValue( widget->property( propName.latin1() ) );
i->setChanged( false );
editor->refetchData();
editor->emitWidgetChanged();
@@ -461,7 +461,7 @@ bool SetPropertyCommand::canMerge( Command *c )
{
SetPropertyCommand *cmd = (SetPropertyCommand*)c;
const TQMetaProperty *p =
- widget->metaObject()->property( widget->metaObject()->findProperty( propName, true ), true );
+ widget->metaObject()->property( widget->metaObject()->findProperty( propName.latin1(), true ), true );
if ( !p ) {
if ( propName == "toolTip" || propName == "whatsThis" )
return true;
@@ -532,19 +532,19 @@ void SetPropertyCommand::setProperty( const TQVariant &v, const TQString &curren
editor->propertyList()->setCurrentProperty( propName );
const TQMetaProperty *p =
- widget->metaObject()->property( widget->metaObject()->findProperty( propName, true ), true );
+ widget->metaObject()->property( widget->metaObject()->findProperty( propName.latin1(), true ), true );
if ( !p ) {
if ( propName == "hAlign" ) {
p = widget->metaObject()->property( widget->metaObject()->findProperty( "alignment", true ), true );
int align = widget->property( "alignment" ).toInt();
align &= ~( AlignHorizontal_Mask );
- align |= p->keyToValue( currentItemText );
+ align |= p->keyToValue( currentItemText.utf8() );
widget->setProperty( "alignment", TQVariant( align ) );
} else if ( propName == "vAlign" ) {
p = widget->metaObject()->property( widget->metaObject()->findProperty( "alignment", true ), true );
int align = widget->property( "alignment" ).toInt();
align &= ~( AlignVertical_Mask );
- align |= p->keyToValue( currentItemText );
+ align |= p->keyToValue( currentItemText.utf8() );
widget->setProperty( "alignment", TQVariant( align ) );
} else if ( propName == "wordwrap" ) {
int align = widget->property( "alignment" ).toInt();
@@ -553,9 +553,9 @@ void SetPropertyCommand::setProperty( const TQVariant &v, const TQString &curren
align |= WordBreak;
widget->setProperty( "alignment", TQVariant( align ) );
} else if ( propName == "layoutSpacing" ) {
- MetaDataBase::setSpacing( TQT_TQOBJECT(WidgetFactory::containerOfWidget( TQT_TQWIDGET(editor->widget()) )), v.toInt() );
+ MetaDataBase::setSpacing( WidgetFactory::containerOfWidget( static_cast<TQWidget*>( editor->widget() ) ), v.toInt() );
} else if ( propName == "layoutMargin" ) {
- MetaDataBase::setMargin( TQT_TQOBJECT(WidgetFactory::containerOfWidget( TQT_TQWIDGET(editor->widget()) )), v.toInt() );
+ MetaDataBase::setMargin( WidgetFactory::containerOfWidget( static_cast<TQWidget*>( editor->widget() ) ), v.toInt() );
} else if ( propName == "toolTip" || propName == "whatsThis" || propName == "database" || propName == "frameworkCode" ) {
MetaDataBase::setFakeProperty( editor->widget(), propName, v );
} else if ( editor->widget()->inherits( "CustomWidget" ) ) {
@@ -577,19 +577,19 @@ void SetPropertyCommand::setProperty( const TQVariant &v, const TQString &curren
if ( p->isSetType() ) {
;
} else if ( p->isEnumType() ) {
- widget->setProperty( propName, p->keyToValue( currentItemText ) );
+ widget->setProperty( propName.latin1(), p->keyToValue( currentItemText.utf8() ) );
} else {
TQVariant ov;
if ( propName == "name" || propName == "itemName" )
- ov = widget->property( propName );
+ ov = widget->property( propName.latin1() );
int oldSerNum = -1;
if ( v.type() == TQVariant::Pixmap )
oldSerNum = v.toPixmap().serialNumber();
- widget->setProperty( propName, v );
- if ( oldSerNum != -1 && oldSerNum != widget->property( propName ).toPixmap().serialNumber() )
- MetaDataBase::setPixmapKey( TQT_TQOBJECT(formWindow()),
- widget->property( propName ).toPixmap().serialNumber(),
- MetaDataBase::pixmapKey( TQT_TQOBJECT(formWindow()), oldSerNum ) );
+ widget->setProperty( propName.latin1(), v );
+ if ( oldSerNum != -1 && oldSerNum != widget->property( propName.latin1() ).toPixmap().serialNumber() )
+ MetaDataBase::setPixmapKey( formWindow(),
+ widget->property( propName.latin1() ).toPixmap().serialNumber(),
+ MetaDataBase::pixmapKey( formWindow(), oldSerNum ) );
if ( propName == "cursor" )
MetaDataBase::setCursor( (TQWidget*)widget, v.toCursor() );
if ( propName == "name" && widget->isWidgetType() ) {
@@ -597,14 +597,14 @@ void SetPropertyCommand::setProperty( const TQVariant &v, const TQString &curren
if ( formWindow()->isMainContainer( widget ) )
formWindow()->setName( v.toCString() );
}
- if ( propName == "name" && widget->inherits( TQACTION_OBJECT_NAME_STRING ) &&
+ if ( propName == "name" && widget->inherits( "TQAction" ) &&
formWindow()->mainContainer() &&
- formWindow()->mainContainer()->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) {
+ formWindow()->mainContainer()->inherits( "TQMainWindow" ) ) {
formWindow()->mainWindow()->actioneditor()->updateActionName( (TQAction*)widget );
}
- if ( propName == "iconSet" && widget->inherits( TQACTION_OBJECT_NAME_STRING ) &&
+ if ( propName == "iconSet" && widget->inherits( "TQAction" ) &&
formWindow()->mainContainer() &&
- formWindow()->mainContainer()->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) {
+ formWindow()->mainContainer()->inherits( "TQMainWindow" ) ) {
formWindow()->mainWindow()->actioneditor()->updateActionIcon( (TQAction*)widget );
}
if ( propName == "caption" ) {
@@ -747,13 +747,13 @@ BreakLayoutCommand::BreakLayoutCommand( const TQString &n, FormWindow *fw,
: Command( n, fw ), lb( layoutBase ), widgets( wl )
{
WidgetFactory::LayoutType lay = WidgetFactory::layoutType( layoutBase );
- spacing = MetaDataBase::spacing( TQT_TQOBJECT(layoutBase) );
- margin = MetaDataBase::margin( TQT_TQOBJECT(layoutBase) );
+ spacing = MetaDataBase::spacing( layoutBase );
+ margin = MetaDataBase::margin( layoutBase );
layout = 0;
if ( lay == WidgetFactory::HBox )
- layout = new HorizontalLayout( wl, layoutBase, fw, layoutBase, false, layoutBase->inherits( TQSPLITTER_OBJECT_NAME_STRING ) );
+ layout = new HorizontalLayout( wl, layoutBase, fw, layoutBase, false, layoutBase->inherits( "TQSplitter" ) );
else if ( lay == WidgetFactory::VBox )
- layout = new VerticalLayout( wl, layoutBase, fw, layoutBase, false, layoutBase->inherits( TQSPLITTER_OBJECT_NAME_STRING ) );
+ layout = new VerticalLayout( wl, layoutBase, fw, layoutBase, false, layoutBase->inherits( "TQSplitter" ) );
else if ( lay == WidgetFactory::Grid )
layout = new GridLayout( wl, layoutBase, fw, layoutBase, TQSize( TQMAX( 5, fw->grid().x()), TQMAX( 5, fw->grid().y()) ), false );
}
@@ -776,8 +776,8 @@ void BreakLayoutCommand::unexecute()
formWindow()->clearSelection( false );
layout->doLayout();
formWindow()->mainWindow()->objectHierarchy()->rebuild();
- MetaDataBase::setSpacing( TQT_TQOBJECT(WidgetFactory::containerOfWidget( lb )), spacing );
- MetaDataBase::setMargin( TQT_TQOBJECT(WidgetFactory::containerOfWidget( lb )), margin );
+ MetaDataBase::setSpacing( WidgetFactory::containerOfWidget( lb ), spacing );
+ MetaDataBase::setMargin( WidgetFactory::containerOfWidget( lb ), margin );
}
// ------------------------------------------------------------
@@ -809,7 +809,7 @@ AddTabPageCommand::AddTabPageCommand( const TQString &n, FormWindow *fw,
tabPage = new QDesignerWidget( formWindow(), tabWidget, "tab" );
tabPage->hide();
index = -1;
- MetaDataBase::addEntry( TQT_TQOBJECT(tabPage) );
+ MetaDataBase::addEntry( tabPage );
}
void AddTabPageCommand::execute()
@@ -818,7 +818,7 @@ void AddTabPageCommand::execute()
index = ( (QDesignerTabWidget*)tabWidget )->count();
tabWidget->insertTab( tabPage, tabLabel, index );
tabWidget->showPage( tabPage );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( tabWidget );
}
@@ -826,7 +826,7 @@ void AddTabPageCommand::unexecute()
{
tabWidget->removePage( tabPage );
tabPage->hide();
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( tabWidget );
}
@@ -840,7 +840,7 @@ AddToolBoxPageCommand::AddToolBoxPageCommand( const TQString &n, FormWindow *fw,
page = new QDesignerWidget( formWindow(), toolBox, "tab" );
page->hide();
index = -1;
- MetaDataBase::addEntry( TQT_TQOBJECT(page) );
+ MetaDataBase::addEntry( page );
}
void AddToolBoxPageCommand::execute()
@@ -849,7 +849,7 @@ void AddToolBoxPageCommand::execute()
index = ( (EditorToolBox*)toolBox)->count();
toolBox->insertItem(index, page, label);
toolBox->setCurrentItem( page );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( toolBox );
}
@@ -857,7 +857,7 @@ void AddToolBoxPageCommand::unexecute()
{
toolBox->removeItem( page );
page->hide();
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( toolBox );
}
@@ -876,7 +876,7 @@ void MoveTabPageCommand::execute()
((QDesignerTabWidget*)tabWidget )->removePage( tabPage );
((QDesignerTabWidget*)tabWidget )->insertTab( tabPage, tabLabel, newIndex );
((QDesignerTabWidget*)tabWidget )->showPage( tabPage );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( tabWidget );
}
@@ -885,7 +885,7 @@ void MoveTabPageCommand::unexecute()
((QDesignerTabWidget*)tabWidget )->removePage( tabPage );
((QDesignerTabWidget*)tabWidget )->insertTab( tabPage, tabLabel, oldIndex );
((QDesignerTabWidget*)tabWidget )->showPage( tabPage );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( tabWidget );
}
@@ -903,7 +903,7 @@ void DeleteTabPageCommand::execute()
{
tabWidget->removePage( tabPage );
tabPage->hide();
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( tabWidget );
}
@@ -911,7 +911,7 @@ void DeleteTabPageCommand::unexecute()
{
tabWidget->insertTab( tabPage, tabLabel, index );
tabWidget->showPage( tabPage );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( tabWidget );
}
@@ -929,7 +929,7 @@ void DeleteToolBoxPageCommand::execute()
{
toolBox->removeItem( page );
page->hide();
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( toolBox );
}
@@ -937,7 +937,7 @@ void DeleteToolBoxPageCommand::unexecute()
{
toolBox->insertItem(index, page, label);
toolBox->setCurrentItem( page );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->tabsChanged( toolBox );
}
@@ -951,7 +951,7 @@ AddWizardPageCommand::AddWizardPageCommand( const TQString &n, FormWindow *fw,
page->hide();
index = i;
show = s;
- MetaDataBase::addEntry( TQT_TQOBJECT(page) );
+ MetaDataBase::addEntry( page );
}
void AddWizardPageCommand::execute()
@@ -961,7 +961,7 @@ void AddWizardPageCommand::execute()
wizard->insertPage( page, pageLabel, index );
if ( show )
( (QDesignerWizard*)wizard )->setCurrentPage( ( (QDesignerWizard*)wizard )->pageNum( page ) );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->pagesChanged( wizard );
}
@@ -969,7 +969,7 @@ void AddWizardPageCommand::unexecute()
{
wizard->removePage( page );
page->hide();
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->pagesChanged( wizard );
}
@@ -988,7 +988,7 @@ void DeleteWizardPageCommand::execute()
pageLabel = wizard->title( page );
wizard->removePage( page );
page->hide();
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->pagesChanged( wizard );
}
@@ -997,7 +997,7 @@ void DeleteWizardPageCommand::unexecute()
wizard->insertPage( page, pageLabel, index );
if ( show )
( (QDesignerWizard*)wizard )->setCurrentPage( ( (QDesignerWizard*)wizard )->pageNum( page ) );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->pagesChanged( wizard );
}
@@ -1017,7 +1017,7 @@ void RenameWizardPageCommand::execute()
wizard->setTitle( page, label );
label = oldLabel;
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
}
void RenameWizardPageCommand::unexecute()
@@ -1042,7 +1042,7 @@ void SwapWizardPagesCommand::execute()
wizard->removePage( page2 );
wizard->insertPage( page1, page1Label, index2 );
wizard->insertPage( page2, page2Label, index1 );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(formWindow()->currentWidget()) );
+ formWindow()->emitUpdateProperties( formWindow()->currentWidget() );
formWindow()->mainWindow()->objectHierarchy()->pagesChanged( wizard );
}
@@ -1061,7 +1061,7 @@ AddConnectionCommand::AddConnectionCommand( const TQString &name, FormWindow *fw
void AddConnectionCommand::execute()
{
- MetaDataBase::addConnection( TQT_TQOBJECT(formWindow()), connection.sender,
+ MetaDataBase::addConnection( formWindow(), connection.sender,
connection.signal, connection.receiver, connection.slot );
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
@@ -1074,7 +1074,7 @@ void AddConnectionCommand::execute()
void AddConnectionCommand::unexecute()
{
- MetaDataBase::removeConnection( TQT_TQOBJECT(formWindow()), connection.sender,
+ MetaDataBase::removeConnection( formWindow(), connection.sender,
connection.signal, connection.receiver, connection.slot );
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
@@ -1095,7 +1095,7 @@ RemoveConnectionCommand::RemoveConnectionCommand( const TQString &name, FormWind
void RemoveConnectionCommand::execute()
{
- MetaDataBase::removeConnection( TQT_TQOBJECT(formWindow()), connection.sender,
+ MetaDataBase::removeConnection( formWindow(), connection.sender,
connection.signal, connection.receiver, connection.slot );
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
@@ -1108,7 +1108,7 @@ void RemoveConnectionCommand::execute()
void RemoveConnectionCommand::unexecute()
{
- MetaDataBase::addConnection( TQT_TQOBJECT(formWindow()), connection.sender,
+ MetaDataBase::addConnection( formWindow(), connection.sender,
connection.signal, connection.receiver, connection.slot );
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
@@ -1131,7 +1131,7 @@ AddSlotCommand::AddSlotCommand( const TQString &name, FormWindow *fw, const TQCS
void AddSlotCommand::execute()
{
- MetaDataBase::addSlot( TQT_TQOBJECT(formWindow()), slot, specifier, access, language, returnType );
+ MetaDataBase::addSlot( formWindow(), slot, specifier, access, language, returnType );
#ifndef KOMMANDER
formWindow()->mainWindow()->slotsChanged();
#endif
@@ -1141,7 +1141,7 @@ void AddSlotCommand::execute()
void AddSlotCommand::unexecute()
{
- MetaDataBase::removeSlot( TQT_TQOBJECT(formWindow()), slot, specifier, access, language, returnType );
+ MetaDataBase::removeSlot( formWindow(), slot, specifier, access, language, returnType );
#ifndef KOMMANDER
formWindow()->mainWindow()->slotsChanged();
#endif
@@ -1160,7 +1160,7 @@ RemoveSlotCommand::RemoveSlotCommand( const TQString &name, FormWindow *fw, cons
void RemoveSlotCommand::execute()
{
- MetaDataBase::removeSlot( TQT_TQOBJECT(formWindow()), slot, specifier, access, language, returnType );
+ MetaDataBase::removeSlot( formWindow(), slot, specifier, access, language, returnType );
#ifndef KOMMANDER
formWindow()->mainWindow()->slotsChanged();
#endif
@@ -1170,7 +1170,7 @@ void RemoveSlotCommand::execute()
void RemoveSlotCommand::unexecute()
{
- MetaDataBase::addSlot( TQT_TQOBJECT(formWindow()), slot, specifier, access, language, returnType );
+ MetaDataBase::addSlot( formWindow(), slot, specifier, access, language, returnType );
#ifndef KOMMANDER
formWindow()->mainWindow()->slotsChanged();
#endif
@@ -1238,7 +1238,7 @@ void PasteCommand::execute()
{
for ( TQWidget *w = widgets.first(); w; w = widgets.next() ) {
w->show();
- formWindow()->selectWidget( TQT_TQOBJECT(w) );
+ formWindow()->selectWidget( w );
formWindow()->widgets()->insert( w, w );
formWindow()->mainWindow()->objectHierarchy()->widgetInserted( w );
}
@@ -1248,7 +1248,7 @@ void PasteCommand::unexecute()
{
for ( TQWidget *w = widgets.first(); w; w = widgets.next() ) {
w->hide();
- formWindow()->selectWidget( TQT_TQOBJECT(w), false );
+ formWindow()->selectWidget( w, false );
formWindow()->widgets()->remove( w );
formWindow()->mainWindow()->objectHierarchy()->widgetRemoved( w );
}
@@ -1490,21 +1490,21 @@ PopulateMultiLineEditCommand::PopulateMultiLineEditCommand( const TQString &n, F
: Command( n, fw ), newText( txt ), mlined( mle )
{
oldText = mlined->text();
- wasChanged = MetaDataBase::isPropertyChanged( TQT_TQOBJECT(mlined), "text" );
+ wasChanged = MetaDataBase::isPropertyChanged( mlined, "text" );
}
void PopulateMultiLineEditCommand::execute()
{
mlined->setText( newText );
- MetaDataBase::setPropertyChanged( TQT_TQOBJECT(mlined), "text", true );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(mlined) );
+ MetaDataBase::setPropertyChanged( mlined, "text", true );
+ formWindow()->emitUpdateProperties( mlined );
}
void PopulateMultiLineEditCommand::unexecute()
{
mlined->setText( oldText );
- MetaDataBase::setPropertyChanged( TQT_TQOBJECT(mlined), "text", wasChanged );
- formWindow()->emitUpdateProperties( TQT_TQOBJECT(mlined) );
+ MetaDataBase::setPropertyChanged( mlined, "text", wasChanged );
+ formWindow()->emitUpdateProperties( mlined );
}
// ------------------------------------------------------------
@@ -1516,7 +1516,7 @@ PopulateTableCommand::PopulateTableCommand( const TQString &n, FormWindow *fw, T
{
#ifndef TQT_NO_TABLE
int i = 0;
- TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( TQT_TQOBJECT(table));
+ TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( table);
for ( i = 0; i < table->horizontalHeader()->count(); ++i ) {
PopulateTableCommand::Column col;
col.text = table->horizontalHeader()->label( i );
@@ -1546,7 +1546,7 @@ void PopulateTableCommand::execute()
if ( !(*cit).field.isEmpty() )
columnFields.insert( (*cit).text, (*cit).field );
}
- MetaDataBase::setColumnFields( TQT_TQOBJECT(table), columnFields );
+ MetaDataBase::setColumnFields( table, columnFields );
table->setNumRows( newRows.count() );
i = 0;
for ( TQValueList<Row>::Iterator rit = newRows.begin(); rit != newRows.end(); ++rit, ++i )
@@ -1565,7 +1565,7 @@ void PopulateTableCommand::unexecute()
if ( !(*cit).field.isEmpty() )
columnFields.insert( (*cit).text, (*cit).field );
}
- MetaDataBase::setColumnFields( TQT_TQOBJECT(table), columnFields );
+ MetaDataBase::setColumnFields( table, columnFields );
table->setNumRows( oldRows.count() );
i = 0;
for ( TQValueList<Row>::Iterator rit = oldRows.begin(); rit != oldRows.end(); ++rit, ++i )
@@ -1589,7 +1589,7 @@ void AddActionToToolBarCommand::execute()
TQString s = ( (QDesignerAction*)action )->widget()->name();
if ( s.startsWith( "qt_dead_widget_" ) ) {
s.remove( 0, TQString( "qt_dead_widget_" ).length() );
- ( (QDesignerAction*)action )->widget()->setName( s );
+ ( (QDesignerAction*)action )->widget()->setName( s.utf8() );
}
}
@@ -1605,13 +1605,13 @@ void AddActionToToolBarCommand::execute()
toolBar->insertAction( ( (QSeparatorAction*)action )->widget(), action );
( (QSeparatorAction*)action )->widget()->installEventFilter( toolBar );
}
- if ( !action->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) || ( (TQActionGroup*)action )->usesDropDown()) {
+ if ( !action->inherits( "TQActionGroup" ) || ( (TQActionGroup*)action )->usesDropDown()) {
if ( index == -1 )
toolBar->appendAction( action );
else
toolBar->insertAction( index, action );
toolBar->reInsert();
- TQObject::connect( action, TQT_SIGNAL( destroyed() ), toolBar, TQT_SLOT( actionRemoved() ) );
+ TQObject::connect( action, TQ_SIGNAL( destroyed() ), toolBar, TQ_SLOT( actionRemoved() ) );
} else {
TQObjectList clo = action->childrenListObject();
if (!clo.isEmpty()) {
@@ -1620,7 +1620,7 @@ void AddActionToToolBarCommand::execute()
while ( it.current() ) {
TQObject *o = it.current();
++it;
- if ( !o->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !o->inherits( "TQAction" ) )
continue;
// ### fix it for nested actiongroups
if ( o->inherits( "QDesignerAction" ) ) {
@@ -1635,7 +1635,7 @@ void AddActionToToolBarCommand::execute()
}
}
toolBar->reInsert();
- TQObject::connect( action, TQT_SIGNAL( destroyed() ), toolBar, TQT_SLOT( actionRemoved() ) );
+ TQObject::connect( action, TQ_SIGNAL( destroyed() ), toolBar, TQ_SLOT( actionRemoved() ) );
}
}
@@ -1644,13 +1644,13 @@ void AddActionToToolBarCommand::unexecute()
if ( action->inherits( "QDesignerAction" ) ) {
TQString s = ( (QDesignerAction*)action )->widget()->name();
s.prepend( "qt_dead_widget_" );
- ( (QDesignerAction*)action )->widget()->setName( s );
+ ( (QDesignerAction*)action )->widget()->setName( s.utf8() );
}
toolBar->removeAction( action );
action->removeFrom( toolBar );
- TQObject::disconnect( action, TQT_SIGNAL( destroyed() ), toolBar, TQT_SLOT( actionRemoved() ) );
- if ( !action->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) || ( (TQActionGroup*)action )->usesDropDown()) {
+ TQObject::disconnect( action, TQ_SIGNAL( destroyed() ), toolBar, TQ_SLOT( actionRemoved() ) );
+ if ( !action->inherits( "TQActionGroup" ) || ( (TQActionGroup*)action )->usesDropDown()) {
action->removeEventFilter( toolBar );
} else {
TQObjectList clo = action->childrenListObject();
@@ -1659,7 +1659,7 @@ void AddActionToToolBarCommand::unexecute()
while ( it.current() ) {
TQObject *o = it.current();
++it;
- if ( !o->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !o->inherits( "TQAction" ) )
continue;
if ( o->inherits( "QDesignerAction" ) ) {
o->removeEventFilter( toolBar );
@@ -1680,7 +1680,7 @@ AddActionToPopupCommand::AddActionToPopupCommand( const TQString &n, FormWindow
void AddActionToPopupCommand::execute()
{
- if ( action->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( action->inherits( "TQActionGroup" ) ) {
if ( ( (TQActionGroup*)action )->usesDropDown() ) {
action->addTo( popup );
popup->insertAction( index, action );
@@ -1693,7 +1693,7 @@ void AddActionToPopupCommand::execute()
while ( it.current() ) {
TQObject *o = it.current();
++it;
- if ( !o->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !o->inherits( "TQAction" ) )
continue;
QDesignerAction *ac = (QDesignerAction*)o;
popup->insertAction( index + (i++), ac );
@@ -1701,13 +1701,13 @@ void AddActionToPopupCommand::execute()
}
}
popup->reInsert();
- TQObject::connect( action, TQT_SIGNAL( destroyed() ), popup, TQT_SLOT( actionRemoved() ) );
+ TQObject::connect( action, TQ_SIGNAL( destroyed() ), popup, TQ_SLOT( actionRemoved() ) );
} else {
if ( !action->inherits( "QDesignerAction" ) || ( (QDesignerAction*)action )->supportsMenu() ) {
action->addTo( popup );
popup->insertAction( index, action );
popup->reInsert();
- TQObject::connect( action, TQT_SIGNAL( destroyed() ), popup, TQT_SLOT( actionRemoved() ) );
+ TQObject::connect( action, TQ_SIGNAL( destroyed() ), popup, TQ_SLOT( actionRemoved() ) );
}
}
}
@@ -1716,8 +1716,8 @@ void AddActionToPopupCommand::unexecute()
{
action->removeFrom( popup );
popup->removeAction( action );
- TQObject::disconnect( action, TQT_SIGNAL( destroyed() ), popup, TQT_SLOT( actionRemoved() ) );
- if ( !action->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) || ( (TQActionGroup*)action )->usesDropDown()) {
+ TQObject::disconnect( action, TQ_SIGNAL( destroyed() ), popup, TQ_SLOT( actionRemoved() ) );
+ if ( !action->inherits( "TQActionGroup" ) || ( (TQActionGroup*)action )->usesDropDown()) {
action->removeEventFilter( popup );
} else {
TQObjectList clo = action->childrenListObject();
@@ -1726,7 +1726,7 @@ void AddActionToPopupCommand::unexecute()
while ( it.current() ) {
TQObject *o = it.current();
++it;
- if ( !o->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !o->inherits( "TQAction" ) )
continue;
if ( o->inherits( "QDesignerAction" ) ) {
o->removeEventFilter( popup );
@@ -1749,10 +1749,10 @@ void AddMenuCommand::execute()
if ( !popup ) {
TQString n = "PopupMenu";
popup = new QDesignerPopupMenu( mainWindow );
- formWindow()->unify( TQT_TQOBJECT(popup), n, true );
- popup->setName( n );
+ formWindow()->unify( popup, n, true );
+ popup->setName( n.utf8() );
}
- if ( !mainWindow->child( 0, TQMENUBAR_OBJECT_NAME_STRING ) ) {
+ if ( !mainWindow->child( 0, "TQMenuBar" ) ) {
menuBar = new QDesignerMenuBar( (TQWidget*)mainWindow );
menuBar->setName( "menubar" );
} else {
@@ -1762,7 +1762,7 @@ void AddMenuCommand::execute()
id = mainWindow->menuBar()->insertItem( name, popup );
else
id = mainWindow->menuBar()->insertItem( name, popup, id, index );
- formWindow()->killAccels( TQT_TQOBJECT(formWindow()) );
+ formWindow()->killAccels( formWindow() );
}
void AddMenuCommand::unexecute()
@@ -1770,7 +1770,7 @@ void AddMenuCommand::unexecute()
if ( !popup || !menuBar )
return;
menuBar->removeItem( id );
- formWindow()->killAccels( TQT_TQOBJECT(formWindow()) );
+ formWindow()->killAccels( formWindow() );
}
// ------------------------------------------------------------
@@ -1784,13 +1784,13 @@ RenameMenuCommand::RenameMenuCommand( const TQString &n, FormWindow *fw, QDesign
void RenameMenuCommand::execute()
{
menuBar->changeItem( id, newName );
- formWindow()->killAccels( TQT_TQOBJECT(formWindow()) );
+ formWindow()->killAccels( formWindow() );
}
void RenameMenuCommand::unexecute()
{
menuBar->changeItem( id, oldName );
- formWindow()->killAccels( TQT_TQOBJECT(formWindow()) );
+ formWindow()->killAccels( formWindow() );
}
// ------------------------------------------------------------
@@ -1805,14 +1805,14 @@ void MoveMenuCommand::execute()
{
menuBar->removeItem( menuBar->idAt( fromIdx ) );
menuBar->insertItem( text, popup, -1, toIdx );
- formWindow()->killAccels( TQT_TQOBJECT(formWindow()) );
+ formWindow()->killAccels( formWindow() );
}
void MoveMenuCommand::unexecute()
{
menuBar->removeItem( menuBar->idAt( toIdx ) );
menuBar->insertItem( text, popup, -1, fromIdx );
- formWindow()->killAccels( TQT_TQOBJECT(formWindow()) );
+ formWindow()->killAccels( formWindow() );
}
// ------------------------------------------------------------
@@ -1827,8 +1827,8 @@ void AddToolBarCommand::execute()
if ( !toolBar ) {
toolBar = new QDesignerToolBar( mainWindow );
TQString n = "Toolbar";
- formWindow()->unify( TQT_TQOBJECT(toolBar), n, true );
- toolBar->setName( n );
+ formWindow()->unify( toolBar, n, true );
+ toolBar->setName( n.utf8() );
mainWindow->addToolBar( toolBar, n );
} else {
toolBar->show();
diff --git a/kommander/editor/command.h b/kommander/editor/command.h
index 0e9390be..c093b0af 100644
--- a/kommander/editor/command.h
+++ b/kommander/editor/command.h
@@ -122,7 +122,7 @@ private:
class CommandHistory : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/connectioneditor.ui b/kommander/editor/connectioneditor.ui
index 2f1683aa..0ff745f8 100644
--- a/kommander/editor/connectioneditor.ui
+++ b/kommander/editor/connectioneditor.ui
@@ -216,9 +216,6 @@
<property name="text">
<string>&amp;Disconnect</string>
</property>
- <property name="accel">
- <string>Alt+D</string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -253,9 +250,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string>Alt+O</string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -273,9 +267,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -345,9 +336,6 @@
<property name="text">
<string>Co&amp;nnect</string>
</property>
- <property name="accel">
- <string>Alt+N</string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -390,7 +378,7 @@
<tabstop>okButton</tabstop>
<tabstop>cancelButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
<slot>addSlotClicked()</slot>
@@ -402,17 +390,11 @@
<slot access="protected">signalChanged()</slot>
<slot access="protected">Q_SLOTSChanged()</slot>
<slot access="protected">cancelClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/connectioneditorimpl.cpp b/kommander/editor/connectioneditorimpl.cpp
index 2ca7934d..e9ae6738 100644
--- a/kommander/editor/connectioneditorimpl.cpp
+++ b/kommander/editor/connectioneditorimpl.cpp
@@ -92,10 +92,10 @@ static const char *const ignore_signals[] = {
ConnectionEditor::ConnectionEditor(TQWidget* parent, TQObject* sndr, TQObject* rcvr, FormWindow* fw)
: ConnectionEditorBase(parent, 0, true), m_formWindow(fw)
{
- if (!rcvr || TQT_BASE_OBJECT(rcvr) == TQT_BASE_OBJECT(m_formWindow))
- rcvr = TQT_TQOBJECT(m_formWindow->mainContainer());
- if (!sndr || TQT_BASE_OBJECT(sndr) == TQT_BASE_OBJECT(m_formWindow))
- sndr = TQT_TQOBJECT(m_formWindow->mainContainer());
+ if (!rcvr || rcvr == m_formWindow)
+ rcvr = m_formWindow->mainContainer();
+ if (!sndr || sndr == m_formWindow)
+ sndr = m_formWindow->mainContainer();
m_sender = sndr;
m_receiver = rcvr;
@@ -105,10 +105,10 @@ ConnectionEditor::ConnectionEditor(TQWidget* parent, TQObject* sndr, TQObject* r
for (TQPtrDictIterator<TQWidget> it(*m_formWindow->widgets()); it.current(); ++it)
{
if (it.current()->isVisibleTo(this) &&
- !it.current()->inherits(TQLAYOUTWIDGET_OBJECT_NAME_STRING) &&
+ !it.current()->inherits("TQLayoutWidget") &&
!it.current()->inherits("Spacer") &&
qstrcmp(it.current()->name(), "central widget") &&
- !m_formWindow->isMainContainer(TQT_TQOBJECT(it.current())) &&
+ !m_formWindow->isMainContainer(it.current()) &&
!lst.contains(it.current()->name()))
lst << it.current()->name();
}
@@ -128,16 +128,16 @@ ConnectionEditor::ConnectionEditor(TQWidget* parent, TQObject* sndr, TQObject* r
updateDisconnectButton();
// Connections
- connect(comboSender, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(senderChanged(const TQString&)));
- connect(comboReceiver, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(receiverChanged(const TQString&)));
- connect(signalBox, TQT_SIGNAL(selectionChanged()), TQT_SLOT(updateConnectButton()));
- connect(slotBox, TQT_SIGNAL(selectionChanged()), TQT_SLOT(updateConnectButton()));
- connect(connectButton, TQT_SIGNAL(clicked()), TQT_SLOT(connectClicked()));
- connect(disconnectButton, TQT_SIGNAL(clicked()), TQT_SLOT(disconnectClicked()));
- connect(okButton, TQT_SIGNAL(clicked()), TQT_SLOT(okClicked()));
- connect(cancelButton, TQT_SIGNAL(clicked()), TQT_SLOT(cancelClicked()));
- connect(signalBox, TQT_SIGNAL(doubleClicked(TQListBoxItem*)), TQT_SLOT(connectClicked()));
- connect(slotBox, TQT_SIGNAL(doubleClicked(TQListBoxItem*)), TQT_SLOT(connectClicked()));
+ connect(comboSender, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(senderChanged(const TQString&)));
+ connect(comboReceiver, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(receiverChanged(const TQString&)));
+ connect(signalBox, TQ_SIGNAL(selectionChanged()), TQ_SLOT(updateConnectButton()));
+ connect(slotBox, TQ_SIGNAL(selectionChanged()), TQ_SLOT(updateConnectButton()));
+ connect(connectButton, TQ_SIGNAL(clicked()), TQ_SLOT(connectClicked()));
+ connect(disconnectButton, TQ_SIGNAL(clicked()), TQ_SLOT(disconnectClicked()));
+ connect(okButton, TQ_SIGNAL(clicked()), TQ_SLOT(okClicked()));
+ connect(cancelButton, TQ_SIGNAL(clicked()), TQ_SLOT(cancelClicked()));
+ connect(signalBox, TQ_SIGNAL(doubleClicked(TQListBoxItem*)), TQ_SLOT(connectClicked()));
+ connect(slotBox, TQ_SIGNAL(doubleClicked(TQListBoxItem*)), TQ_SLOT(connectClicked()));
}
ConnectionEditor::~ConnectionEditor()
@@ -154,19 +154,19 @@ bool ConnectionEditor::isSignalIgnored(const char *signal) const
bool ConnectionEditor::isSlotIgnored(const TQMetaData* md)
{
- if (md->tqt_mo_access != TQMetaData::Public && (md->tqt_mo_access != TQMetaData::Protected ||
- !m_formWindow->isMainContainer(TQT_TQOBJECT(m_receiver))))
+ if (md->access != TQMetaData::Public && (md->access != TQMetaData::Protected ||
+ !m_formWindow->isMainContainer(m_receiver)))
return true;
for (int i = 0; ignore_slots[i]; i++)
- if (!qstrcmp(md->tqt_mo_ci_name, ignore_slots[i]))
+ if (!qstrcmp(md->name, ignore_slots[i]))
return true;
- if (!m_formWindow->isMainContainer(TQT_TQOBJECT(m_receiver)) && !qstrcmp(md->tqt_mo_ci_name, "close()"))
+ if (!m_formWindow->isMainContainer(m_receiver) && !qstrcmp(md->name, "close()"))
return true;
- if (!qstrcmp(md->tqt_mo_ci_name, "setFocus()") && m_receiver->isWidgetType() &&
- ((TQWidget*)m_receiver)->focusPolicy() == TQ_NoFocus)
+ if (!qstrcmp(md->name, "setFocus()") && m_receiver->isWidgetType() &&
+ ((TQWidget*)m_receiver)->focusPolicy() == TQWidget::NoFocus)
return true;
for (int i = 0; i<comboSender->count(); i++)
- if (checkConnectArgs(MetaDataBase::normalizeSlot(signalBox->text(i)).latin1(), m_receiver, md->tqt_mo_ci_name))
+ if (checkConnectArgs(MetaDataBase::normalizeSlot(signalBox->text(i)).latin1(), m_receiver, md->name))
return false;
return true;
}
@@ -175,11 +175,11 @@ TQObject* ConnectionEditor::objectByName(const TQString& s) const
{
for (TQPtrDictIterator <TQWidget> it(*m_formWindow->widgets()); it.current(); ++it)
if (TQString(it.current()->name()) == s)
- return TQT_TQOBJECT(it.current());
+ return it.current();
for (TQPtrListIterator<TQAction> it(m_formWindow->actionList()); it.current(); ++it)
if (TQString(it.current()->name()) == s)
- return TQT_TQOBJECT(it.current());
+ return it.current();
return 0;
}
@@ -194,8 +194,8 @@ void ConnectionEditor::connectClicked()
return;
MetaDataBase::Connection conn;
conn.sender = m_sender;
- conn.signal = signalBox->currentText();
- conn.slot = slotBox->currentText();
+ conn.signal = signalBox->currentText().utf8();
+ conn.slot = slotBox->currentText().utf8();
conn.receiver = m_receiver;
TDEListViewItem *i = new TDEListViewItem(connectionView, m_sender->name(), conn.signal, m_receiver->name(),
conn.slot);
@@ -279,8 +279,8 @@ void ConnectionEditor::senderChanged(const TQString& s)
for (TQStrListIterator it(p_sigs); it.current(); ++it)
if (!isSignalIgnored(it.current()) && !signalBox->findItem(it.current(), TQt::ExactMatch))
signalBox->insertItem(it.current());
- if (TQT_BASE_OBJECT(m_sender) == TQT_BASE_OBJECT(m_formWindow->mainContainer()))
- signalBox->insertStringList(MetaDataBase::signalList(TQT_TQOBJECT(m_formWindow)));
+ if (m_sender == m_formWindow->mainContainer())
+ signalBox->insertStringList(MetaDataBase::signalList(m_formWindow));
signalBox->sort();
signalBox->setCurrentItem(signalBox->firstItem());
// Update slots - some may (not) have their signal equivalents now.
@@ -298,8 +298,8 @@ void ConnectionEditor::receiverChanged(const TQString& s)
for (int i = 0; i < n; ++i)
{
const TQMetaData* md = m_receiver->metaObject()->slot(i, true);
- if (!isSlotIgnored(md) && !slotBox->findItem(md->tqt_mo_ci_name, TQt::ExactMatch))
- slotBox->insertItem(md->tqt_mo_ci_name);
+ if (!isSlotIgnored(md) && !slotBox->findItem(md->name, TQt::ExactMatch))
+ slotBox->insertItem(md->name);
}
slotBox->sort();
slotBox->setCurrentItem(slotBox->firstItem());
@@ -336,14 +336,14 @@ void ConnectionEditor::fillConnectionsList()
{
connectionView->clear();
m_connections.clear();
- m_oldConnections = MetaDataBase::connections(TQT_TQOBJECT(m_formWindow));
+ m_oldConnections = MetaDataBase::connections(m_formWindow);
if (!m_oldConnections.isEmpty())
{
TQValueList <MetaDataBase::Connection>::Iterator it = m_oldConnections.begin();
for (; it != m_oldConnections.end(); ++it)
{
- if (m_formWindow->isMainContainer(TQT_TQOBJECT((*it).receiver)) &&
- !MetaDataBase::hasSlot(TQT_TQOBJECT(m_formWindow), MetaDataBase::normalizeSlot((*it).slot).latin1()))
+ if (m_formWindow->isMainContainer((*it).receiver) &&
+ !MetaDataBase::hasSlot(m_formWindow, MetaDataBase::normalizeSlot((*it).slot).latin1()))
continue;
MetaDataBase::Connection conn = *it;
TDEListViewItem *i = new TDEListViewItem(connectionView, conn.sender->name(), conn.signal,
diff --git a/kommander/editor/connectioneditorimpl.h b/kommander/editor/connectioneditorimpl.h
index f130e590..8ac3fdd3 100644
--- a/kommander/editor/connectioneditorimpl.h
+++ b/kommander/editor/connectioneditorimpl.h
@@ -31,7 +31,7 @@ class FormWindow;
class ConnectionEditor : public ConnectionEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ConnectionEditor(TQWidget* parent, TQObject* sender, TQObject* receiver, FormWindow* fw);
diff --git a/kommander/editor/filechooser.cpp b/kommander/editor/filechooser.cpp
index ac0aad5a..347eacf5 100644
--- a/kommander/editor/filechooser.cpp
+++ b/kommander/editor/filechooser.cpp
@@ -13,15 +13,15 @@ FileChooser::FileChooser( TQWidget *parent, const char *name )
lineEdit = new TQLineEdit( this, "filechooser_lineedit" );
layout->addWidget( lineEdit );
- connect( lineEdit, TQT_SIGNAL( textChanged( const TQString & ) ),
- this, TQT_SIGNAL( fileNameChanged( const TQString & ) ) );
+ connect( lineEdit, TQ_SIGNAL( textChanged( const TQString & ) ),
+ this, TQ_SIGNAL( fileNameChanged( const TQString & ) ) );
button = new TQPushButton( "...", this, "filechooser_button" );
button->setFixedWidth( button->fontMetrics().width( " ... " ) );
layout->addWidget( button );
- connect( button, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( chooseFile() ) );
+ connect( button, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( chooseFile() ) );
setFocusProxy( lineEdit );
}
diff --git a/kommander/editor/filechooser.h b/kommander/editor/filechooser.h
index e87ee91e..f3384d15 100644
--- a/kommander/editor/filechooser.h
+++ b/kommander/editor/filechooser.h
@@ -8,7 +8,7 @@ class TQPushButton;
class FileChooser : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_ENUMS( Mode )
diff --git a/kommander/editor/formfile.cpp b/kommander/editor/formfile.cpp
index c82e961d..874918d3 100644
--- a/kommander/editor/formfile.cpp
+++ b/kommander/editor/formfile.cpp
@@ -45,15 +45,15 @@
FormFile::FormFile(const TQString &fn, bool temp)
: filename(fn), fileNameTemp(temp), fw(0)
{
- TQTimer::singleShot(0, this, TQT_SLOT(init()));
+ TQTimer::singleShot(0, this, TQ_SLOT(init()));
}
void FormFile::init()
{
- connect(this, TQT_SIGNAL(addedFormFile(FormFile *)), MainWindow::self->workspace(),
- TQT_SLOT(formFileAdded(FormFile*)));
- connect(this, TQT_SIGNAL(removedFormFile(FormFile *)), MainWindow::self->workspace(),
- TQT_SLOT(formFileRemoved(FormFile*)));
+ connect(this, TQ_SIGNAL(addedFormFile(FormFile *)), MainWindow::self->workspace(),
+ TQ_SLOT(formFileAdded(FormFile*)));
+ connect(this, TQ_SIGNAL(removedFormFile(FormFile *)), MainWindow::self->workspace(),
+ TQ_SLOT(formFileRemoved(FormFile*)));
emit addedFormFile(this);
}
diff --git a/kommander/editor/formfile.h b/kommander/editor/formfile.h
index 35839427..51377e04 100644
--- a/kommander/editor/formfile.h
+++ b/kommander/editor/formfile.h
@@ -28,7 +28,7 @@ class FormWindow;
class FormFile : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/formsettings.ui b/kommander/editor/formsettings.ui
index e6f7fc15..410d80b7 100644
--- a/kommander/editor/formsettings.ui
+++ b/kommander/editor/formsettings.ui
@@ -326,13 +326,12 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>okClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/formsettingsimpl.cpp b/kommander/editor/formsettingsimpl.cpp
index ddfa8345..b65a9718 100644
--- a/kommander/editor/formsettingsimpl.cpp
+++ b/kommander/editor/formsettingsimpl.cpp
@@ -30,7 +30,7 @@
FormSettings::FormSettings( TQWidget *parent, FormWindow *fw )
: FormSettingsBase( parent, 0, true ), formwindow( fw )
{
- MetaDataBase::MetaInfo info = MetaDataBase::metaInfo(TQT_TQOBJECT(fw));
+ MetaDataBase::MetaInfo info = MetaDataBase::metaInfo(fw);
editAuthor->setText(info.author);
editVersion->setText(info.version);
editLicense->setText(info.license);
@@ -46,7 +46,7 @@ void FormSettings::okClicked()
info.version = editVersion->text();
info.license = editLicense->text();
info.comment = editComment->text();
- MetaDataBase::setMetaInfo(TQT_TQOBJECT(formwindow), info);
+ MetaDataBase::setMetaInfo(formwindow, info);
formwindow->commandHistory()->setModified(true);
formwindow->setLayoutDefaultSpacing(spinSpacing->value());
diff --git a/kommander/editor/formsettingsimpl.h b/kommander/editor/formsettingsimpl.h
index 1e1075d0..909999bb 100644
--- a/kommander/editor/formsettingsimpl.h
+++ b/kommander/editor/formsettingsimpl.h
@@ -27,7 +27,7 @@ class FormWindow;
class FormSettings : public FormSettingsBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/formwindow.cpp b/kommander/editor/formwindow.cpp
index 70796291..81489695 100644
--- a/kommander/editor/formwindow.cpp
+++ b/kommander/editor/formwindow.cpp
@@ -129,7 +129,7 @@ FormWindow::FormWindow(FormFile *f, TQWidget *parent, const char *name)
void FormWindow::init()
{
- MetaDataBase::addEntry(TQT_TQOBJECT(this));
+ MetaDataBase::addEntry(this);
ff->setFormWindow(this);
propertyWidget = 0;
toolFixed = false;
@@ -140,34 +140,34 @@ void FormWindow::init()
unclippedPainter = 0;
widgetPressed = false;
drawRubber = false;
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
sizePreviewLabel = 0;
checkSelectionsTimer = new TQTimer(this, "checkSelectionsTimer");
- connect(checkSelectionsTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(invalidCheckedSelections()));
+ connect(checkSelectionsTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(invalidCheckedSelections()));
updatePropertiesTimer = new TQTimer(this);
- connect(updatePropertiesTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(updatePropertiesTimerDone()));
+ connect(updatePropertiesTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(updatePropertiesTimerDone()));
showPropertiesTimer = new TQTimer(this);
- connect(showPropertiesTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(showPropertiesTimerDone()));
+ connect(showPropertiesTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(showPropertiesTimerDone()));
selectionChangedTimer = new TQTimer(this);
- connect(selectionChangedTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(selectionChangedTimerDone()));
+ connect(selectionChangedTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(selectionChangedTimerDone()));
insertParent = 0;
- connect(&commands, TQT_SIGNAL(undoRedoChanged(bool, bool, const TQString &, const TQString &)),
- this, TQT_SIGNAL(undoRedoChanged(bool, bool, const TQString &, const TQString &)));
+ connect(&commands, TQ_SIGNAL(undoRedoChanged(bool, bool, const TQString &, const TQString &)),
+ this, TQ_SIGNAL(undoRedoChanged(bool, bool, const TQString &, const TQString &)));
propShowBlocked = false;
setIcon(PixmapChooser::loadPixmap("form.xpm", PixmapChooser::Mini));
- connect(&commands, TQT_SIGNAL(modificationChanged(bool)),
- this, TQT_SLOT(modificationChanged(bool)));
+ connect(&commands, TQ_SIGNAL(modificationChanged(bool)),
+ this, TQ_SLOT(modificationChanged(bool)));
buffer = 0;
- TQWidget *w = WidgetFactory::create(WidgetDatabase::idFromClassName(TQFRAME_OBJECT_NAME_STRING), this);
+ TQWidget *w = WidgetFactory::create(WidgetDatabase::idFromClassName("TQFrame"), this);
setMainContainer(w);
- propertyWidget = TQT_TQOBJECT(w);
+ propertyWidget = w;
targetContainer = 0;
hadOwnPalette = false;
@@ -178,7 +178,7 @@ void FormWindow::init()
void FormWindow::setMainWindow(MainWindow *w)
{
mainwindow = w;
- MetaDataBase::addEntry(TQT_TQOBJECT(this));
+ MetaDataBase::addEntry(this);
initSlots();
}
@@ -190,7 +190,7 @@ FormWindow::~FormWindow()
{
if (MainWindow::self->objectHierarchy()->formWindow() == this)
MainWindow::self->objectHierarchy()->setFormWindow(0, 0);
- MetaDataBase::clear(TQT_TQOBJECT(this));
+ MetaDataBase::clear(this);
if (ff)
ff->setFormWindow(0);
}
@@ -295,15 +295,15 @@ void FormWindow::insertWidget()
return;
bool useSizeHint = !oldRectValid || (currRect.width() < 2 && currRect.height() < 2);
- Qt::Orientation orient =Qt::Horizontal;
+ TQt::Orientation orient =TQt::Horizontal;
TQString n = WidgetDatabase::className(currTool);
- if (useSizeHint && (n == "Spacer" || n == TQSLIDER_OBJECT_NAME_STRING || n == "Line" || n == TQSCROLLBAR_OBJECT_NAME_STRING)) {
+ if (useSizeHint && (n == "Spacer" || n == "TQSlider" || n == "Line" || n == "TQScrollBar")) {
TQPopupMenu m(mainWindow());
m.insertItem(i18n("&Horizontal"));
int ver = m.insertItem(i18n("&Vertical"));
int r = m.exec(TQCursor::pos());
if (r == ver)
- orient =Qt::Vertical;
+ orient =TQt::Vertical;
}
TQWidget *w = WidgetFactory::create(currTool, insertParent, 0, true, &currRect, orient);
@@ -312,7 +312,7 @@ void FormWindow::insertWidget()
if (!savePixmapInline() && currTool == WidgetDatabase::idFromClassName("PixmapLabel"))
((TQLabel*)w)->setPixmap(PixmapChooser::loadPixmap("image.xpm"));
- int id = WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w)));
+ int id = WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w));
if (WidgetDatabase::isCustomWidget(id)) {
TQWhatsThis::add(w, i18n("<b>A %1 (custom widget)</b> "
"<p>Click <b>Edit Custom Widgets...</b> in the <b>Tools|Custom</b> "
@@ -332,8 +332,8 @@ void FormWindow::insertWidget()
}
TQString s = w->name();
- unify(TQT_TQOBJECT(w), s, true);
- w->setName(s);
+ unify(w, s, true);
+ w->setName(s.utf8());
insertWidget(w);
TQRect r(currRect);
if (!oldRectValid || (currRect.width() < 2 && currRect.height() < 2))
@@ -357,12 +357,12 @@ void FormWindow::insertWidget()
const TQObjectList l = insertParent->childrenListObject();
TQObjectListIt it(l);
TQWidgetList lst;
- if (WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w)))))
+ if (WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w))))
for (; it.current();) {
TQObject *o = it.current();
++it;
if (o->isWidgetType() && ((TQWidget*)o)->isVisibleTo(this) &&
- insertedWidgets.find((TQWidget*)o) && TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(w))
+ insertedWidgets.find((TQWidget*)o) && o != w)
{
TQRect r2(((TQWidget*)o)->pos(), ((TQWidget*)o)->size());
if (r.contains(r2))
@@ -414,12 +414,12 @@ void FormWindow::insertWidget(TQWidget *w, bool checkName)
{
if (checkName) {
TQString s = w->name();
- unify(TQT_TQOBJECT(w), s, true);
- w->setName(s);
+ unify(w, s, true);
+ w->setName(s.utf8());
}
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
- int id = WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w)));
+ MetaDataBase::addEntry(w);
+ int id = WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w));
if (WidgetDatabase::isCustomWidget(id))
{
TQWhatsThis::add(w, i18n("<b>A %1 (custom widget)</b> "
@@ -446,7 +446,7 @@ void FormWindow::insertWidget(TQWidget *w, bool checkName)
void FormWindow::removeWidget(TQWidget *w)
{
- MetaDataBase::removeEntry(TQT_TQOBJECT(w));
+ MetaDataBase::removeEntry(w);
widgets()->take(w);
}
@@ -454,16 +454,16 @@ void FormWindow::handleContextMenu(TQContextMenuEvent *e, TQWidget *w)
{
switch (currTool) {
case POINTER_TOOL:
- if (!isMainContainer(TQT_TQOBJECT(w)) && qstrcmp(w->name(), "central widget"))
+ if (!isMainContainer(w) && qstrcmp(w->name(), "central widget"))
{ // press on a child widget
raiseChildSelections(w); // raise selections and select widget
- selectWidget(TQT_TQOBJECT(w));
+ selectWidget(w);
// if widget is laid out, find the first non-laid out super-widget
TQWidget *realWidget = w; // but store the original one
while (w->parentWidget() && (WidgetFactory::layoutType(w->parentWidget()) !=
WidgetFactory::NoLayout || !insertedWidgets.find(w)))
w = w->parentWidget();
- if (mainContainer()->inherits(TQMAINWINDOW_OBJECT_NAME_STRING) &&
+ if (mainContainer()->inherits("TQMainWindow") &&
((TQMainWindow*)mainContainer())->centralWidget() == realWidget)
{
e->accept();
@@ -500,7 +500,7 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
switch (currTool) {
case POINTER_TOOL:
- if (!isMainContainer(TQT_TQOBJECT(w)) && qstrcmp(w->name(), "central widget") != 0)
+ if (!isMainContainer(w) && qstrcmp(w->name(), "central widget") != 0)
{ // press on a child widget
// if the clicked widget is not in a layout, raise it
if (!w->parentWidget() || WidgetFactory::layoutType(w->parentWidget()) == WidgetFactory::NoLayout)
@@ -513,7 +513,7 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
break;
}
- bool sel = isWidgetSelected(TQT_TQOBJECT(w));
+ bool sel = isWidgetSelected(w);
if (!((e->state() & ControlButton) || (e->state() & ShiftButton)))
{ // control not pressed...
if (!sel) // ...and widget no selectted: unselect all
@@ -524,14 +524,14 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
// unselect its childs
if (WidgetFactory::layoutType(w) != WidgetFactory::NoLayout)
{
- TQObjectList *l = w->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = w->queryList("TQWidget");
setPropertyShowingBlocked(true);
for (TQObject *o = l->first(); o; o = l->next())
{
if (!o->isWidgetType())
continue;
if (insertedWidgets.find((TQWidget*)o))
- selectWidget(TQT_TQOBJECT(o), false);
+ selectWidget(o, false);
}
setPropertyShowingBlocked(false);
delete l;
@@ -540,14 +540,14 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
tqApp->processEvents();
}
if (((e->state() & ControlButton) || (e->state() & ShiftButton)) &&
- sel && e->button() == Qt::LeftButton)
+ sel && e->button() == TQt::LeftButton)
{ // control pressed and selected, unselect widget
- selectWidget(TQT_TQOBJECT(w), false);
+ selectWidget(w, false);
break;
}
raiseChildSelections(w); // raise selections and select widget
- selectWidget(TQT_TQOBJECT(w));
+ selectWidget(w);
// if widget is laid out, find the first non-laid out super-widget
while (w->parentWidget() &&
@@ -555,7 +555,7 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
|| !insertedWidgets.find(w)))
w = w->parentWidget();
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
{ // left button: store original geometry and more as the widget might start moving
widgetPressed = true;
widgetGeom = TQRect(w->pos(), w->size());
@@ -563,8 +563,8 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
origPressPos = oldPressPos;
checkedSelectionsForMove = false;
moving.clear();
- if (w->parentWidget() && !isMainContainer(TQT_TQOBJECT(w->parentWidget())) &&
- !isCentralWidget(TQT_TQOBJECT(w->parentWidget())))
+ if (w->parentWidget() && !isMainContainer(w->parentWidget()) &&
+ !isCentralWidget(w->parentWidget()))
{
targetContainer = w->parentWidget();
hadOwnPalette = w->parentWidget()->ownPalette();
@@ -574,14 +574,14 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
}
else
{ // press was on the formwindow
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
{ // left button: start rubber selection and show formwindow properties
drawRubber = true;
if (!((e->state() & ControlButton) || (e->state() & ShiftButton)))
{
clearSelection(false);
TQObject *opw = propertyWidget;
- propertyWidget = TQT_TQOBJECT(mainContainer());
+ propertyWidget = mainContainer();
if (opw->isWidgetType())
repaintSelection((TQWidget*)opw);
}
@@ -591,19 +591,19 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
}
break;
case CONNECT_TOOL:
- if (e->button() != Qt::LeftButton)
+ if (e->button() != TQt::LeftButton)
break;
saveBackground();
mainWindow()->statusBar()->message(i18n("Connect '%1' with...").arg(w->name()));
connectStartPos = mapFromGlobal(e->globalPos());
currentConnectPos = mapFromGlobal(e->globalPos());
- connectSender = TQT_TQOBJECT(designerWidget(TQT_TQOBJECT(w)));
- connectReceiver = connectableObject(TQT_TQOBJECT(designerWidget(TQT_TQOBJECT(w))), connectReceiver);
+ connectSender = designerWidget(w);
+ connectReceiver = connectableObject(designerWidget(w), connectReceiver);
beginUnclippedPainter(false);
drawConnectLine();
break;
case ORDER_TOOL:
- if (!isMainContainer(TQT_TQOBJECT(w)))
+ if (!isMainContainer(w))
{ // press on a child widget
orderedWidgets.removeRef(w);
orderedWidgets.append(w);
@@ -625,18 +625,18 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w)
}
break;
default: // any insert widget tool
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
{
insertParent = WidgetFactory::containerOfWidget(mainContainer());
// default parent for new widget is the formwindow
- if (!isMainContainer(TQT_TQOBJECT(w)))
+ if (!isMainContainer(w))
{ // press was not on formwindow, check if we can find another parent
TQWidget *wid = w;
for (;;)
{
- int id = WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(wid)));
+ int id = WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(wid));
if ((WidgetDatabase::isContainer(id) || wid == mainContainer()) &&
- !wid->inherits(TQLAYOUTWIDGET_OBJECT_NAME_STRING) && !wid->inherits(TQSPLITTER_OBJECT_NAME_STRING))
+ !wid->inherits("TQLayoutWidget") && !wid->inherits("TQSplitter"))
{
insertParent = WidgetFactory::containerOfWidget(wid); // found another parent, store it
break;
@@ -659,7 +659,7 @@ void FormWindow::handleMouseDblClick(TQMouseEvent *, TQWidget *w)
{
switch (currTool) {
case ORDER_TOOL:
- if (!isMainContainer(TQT_TQOBJECT(w)))
+ if (!isMainContainer(w))
{ // press on a child widget
orderedWidgets.clear();
orderedWidgets.append(w);
@@ -685,7 +685,7 @@ void FormWindow::handleMouseDblClick(TQMouseEvent *, TQWidget *w)
void FormWindow::handleMouseMove(TQMouseEvent *e, TQWidget *w)
{
- if ((e->state() & Qt::LeftButton) != Qt::LeftButton)
+ if ((e->state() & TQt::LeftButton) != TQt::LeftButton)
return;
TQWidget *newReceiver = (TQWidget*)connectReceiver, *oldReceiver = (TQWidget*)connectReceiver, *wid;
@@ -724,10 +724,10 @@ void FormWindow::handleMouseMove(TQMouseEvent *e, TQWidget *w)
{ // if we actually have to move
if (!checkedSelectionsForMove)
{ // if not checked yet, check if the correct widget are selected...
- if (!isWidgetSelected(TQT_TQOBJECT(w)))
+ if (!isWidgetSelected(w))
{ // and unselect others. Only siblings can be moved at the same time
setPropertyShowingBlocked(true);
- selectWidget(TQT_TQOBJECT(w));
+ selectWidget(w);
setPropertyShowingBlocked(false);
}
checkSelectionsForMove(w);
@@ -736,7 +736,7 @@ void FormWindow::handleMouseMove(TQMouseEvent *e, TQWidget *w)
// highlight the possible new parent container
TQMapConstIterator<ulong, TQPoint> it = moving.begin();
TQWidget* wa = containerAt(e->globalPos(), ((TQWidget*)it.key()));
- if (wa && !isMainContainer(TQT_TQOBJECT(wa)) && !isCentralWidget(TQT_TQOBJECT(wa)))
+ if (wa && !isMainContainer(wa) && !isCentralWidget(wa))
{
wa = WidgetFactory::containerOfWidget(wa);
// ok, looks like we moved onto a container
@@ -792,17 +792,17 @@ void FormWindow::handleMouseMove(TQMouseEvent *e, TQWidget *w)
restoreConnectionLine();
wid = tqApp->widgetAt(e->globalPos(), true);
if (wid)
- wid = designerWidget(TQT_TQOBJECT(wid));
- if (wid && (isMainContainer(TQT_TQOBJECT(wid)) || insertedWidgets.find(wid)) && wid->isVisibleTo(this))
+ wid = designerWidget(wid);
+ if (wid && (isMainContainer(wid) || insertedWidgets.find(wid)) && wid->isVisibleTo(this))
newReceiver = wid;
- if (newReceiver && (newReceiver->inherits(TQLAYOUTWIDGET_OBJECT_NAME_STRING)
+ if (newReceiver && (newReceiver->inherits("TQLayoutWidget")
|| newReceiver->inherits("Spacer")))
newReceiver = (TQWidget*)connectReceiver;
- drawRecRect = TQT_BASE_OBJECT(newReceiver) != TQT_BASE_OBJECT(connectReceiver);
+ drawRecRect = newReceiver != connectReceiver;
currentConnectPos = mapFromGlobal(e->globalPos());
- if (newReceiver && (isMainContainer(TQT_TQOBJECT(newReceiver))
- || insertedWidgets.find(newReceiver)) && !isCentralWidget(TQT_TQOBJECT(newReceiver)))
- connectReceiver = connectableObject(TQT_TQOBJECT(newReceiver), TQT_TQOBJECT(connectReceiver));
+ if (newReceiver && (isMainContainer(newReceiver)
+ || insertedWidgets.find(newReceiver)) && !isCentralWidget(newReceiver))
+ connectReceiver = connectableObject(newReceiver, connectReceiver);
mainWindow()->statusBar()->message(i18n("Connect '%1' to '%2'").arg(connectSender->name()).
arg(connectReceiver->name()));
tqApp->processEvents();
@@ -822,7 +822,7 @@ void FormWindow::handleMouseMove(TQMouseEvent *e, TQWidget *w)
void FormWindow::handleMouseRelease(TQMouseEvent * e, TQWidget * w)
{
- if (e->button() != Qt::LeftButton)
+ if (e->button() != TQt::LeftButton)
return;
switch (currTool)
@@ -881,15 +881,15 @@ void FormWindow::handleMouseRelease(TQMouseEvent * e, TQWidget * w)
for (TQMap < ulong, TQPoint >::Iterator it = moving.begin(); it != moving.end(); ++it)
{
TQWidget *i = (TQWidget *) it.key();
- if (!emitSelChanged && i->inherits(TQBUTTON_OBJECT_NAME_STRING))
+ if (!emitSelChanged && i->inherits("TQButton"))
{
- if (i->parentWidget() && i->parentWidget()->inherits(TQBUTTONGROUP_OBJECT_NAME_STRING) ||
- wa->inherits(TQBUTTONGROUP_OBJECT_NAME_STRING))
+ if (i->parentWidget() && i->parentWidget()->inherits("TQButtonGroup") ||
+ wa->inherits("TQButtonGroup"))
emitSelChanged = true;
- if (!wa->inherits(TQBUTTONGROUP_OBJECT_NAME_STRING))
+ if (!wa->inherits("TQButtonGroup"))
{
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(i), "buttonGroupId", false);
- if (i->parentWidget() && i->parentWidget()->inherits(TQBUTTONGROUP_OBJECT_NAME_STRING))
+ MetaDataBase::setPropertyChanged(i, "buttonGroupId", false);
+ if (i->parentWidget() && i->parentWidget()->inherits("TQButtonGroup"))
((TQButtonGroup *) i->parentWidget())->remove((TQButton *) i);
}
}
@@ -897,13 +897,13 @@ void FormWindow::handleMouseRelease(TQMouseEvent * e, TQWidget * w)
i->reparent(wa, pos, true);
raiseSelection(i);
raiseChildSelections(i);
- widgetChanged(TQT_TQOBJECT(i));
+ widgetChanged(i);
mainWindow()->objectHierarchy()->widgetRemoved(i);
mainWindow()->objectHierarchy()->widgetInserted(i);
}
if (emitSelChanged)
{
- emit showProperties(TQT_TQOBJECT(wa));
+ emit showProperties(wa);
emit showProperties(propertyWidget);
}
newParent = wa;
@@ -1061,10 +1061,10 @@ void FormWindow::handleKeyPress(TQKeyEvent * e, TQWidget * w)
}
if (!e->isAccepted())
{
- TQObjectList *l = queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = queryList("TQWidget");
if (!l)
return;
- if (l->find(TQT_TQOBJECT(w)) != -1)
+ if (l->find(w) != -1)
e->accept();
delete l;
}
@@ -1086,21 +1086,21 @@ void FormWindow::selectWidget(TQObject * o, bool select)
TQWidget *w = (TQWidget *) o;
- if (isMainContainer(TQT_TQOBJECT(w)))
+ if (isMainContainer(w))
{
TQObject *opw = propertyWidget;
- propertyWidget = TQT_TQOBJECT(mainContainer());
+ propertyWidget = mainContainer();
if (opw->isWidgetType())
repaintSelection((TQWidget *) opw);
emitShowProperties(propertyWidget);
return;
}
- if (mainContainer()->inherits(TQMAINWINDOW_OBJECT_NAME_STRING) &&
+ if (mainContainer()->inherits("TQMainWindow") &&
w == ((TQMainWindow *) mainContainer())->centralWidget())
{
TQObject *opw = propertyWidget;
- propertyWidget = TQT_TQOBJECT(mainContainer());
+ propertyWidget = mainContainer();
if (opw->isWidgetType())
repaintSelection((TQWidget *) opw);
emitShowProperties(propertyWidget);
@@ -1113,7 +1113,7 @@ void FormWindow::selectWidget(TQObject * o, bool select)
if (select)
{
TQObject *opw = propertyWidget;
- propertyWidget = TQT_TQOBJECT(w);
+ propertyWidget = w;
if (opw->isWidgetType())
repaintSelection((TQWidget *) opw);
if (!isPropertyShowingBlocked())
@@ -1148,9 +1148,9 @@ void FormWindow::selectWidget(TQObject * o, bool select)
s->setWidget(0);
TQObject *opw = propertyWidget;
if (!usedSelections.isEmpty())
- propertyWidget = TQT_TQOBJECT(TQPtrDictIterator < WidgetSelection > (usedSelections).current()->widget());
+ propertyWidget = TQPtrDictIterator < WidgetSelection > (usedSelections).current()->widget();
else
- propertyWidget = TQT_TQOBJECT(mainContainer());
+ propertyWidget = mainContainer();
if (opw->isWidgetType())
repaintSelection((TQWidget *) opw);
if (!isPropertyShowingBlocked())
@@ -1170,7 +1170,7 @@ void FormWindow::updateSelection(TQWidget * w)
{
WidgetSelection *s = usedSelections.find(w);
if (!w->isVisibleTo(this))
- selectWidget(TQT_TQOBJECT(w), false);
+ selectWidget(w, false);
else if (s)
s->updateGeometry();
}
@@ -1199,7 +1199,7 @@ void FormWindow::clearSelection(bool changePropertyDisplay)
if (changePropertyDisplay)
{
TQObject *opw = propertyWidget;
- propertyWidget = TQT_TQOBJECT(mainContainer());
+ propertyWidget = mainContainer();
if (opw->isWidgetType())
repaintSelection((TQWidget *) opw);
emitShowProperties(propertyWidget);
@@ -1281,7 +1281,7 @@ void FormWindow::endRectDraw()
void FormWindow::selectWidgets()
{
- TQObjectList *l = mainContainer()->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = mainContainer()->queryList("TQWidget");
if (l)
{
for (TQObject * o = l->first(); o; o = l->next())
@@ -1292,7 +1292,7 @@ void FormWindow::selectWidgets()
p = mapFromGlobal(p);
TQRect r(p, ((TQWidget *) o)->size());
if (r.intersects(currRect) && !r.contains(currRect))
- selectWidget(TQT_TQOBJECT(o));
+ selectWidget(o);
}
}
delete l;
@@ -1340,7 +1340,7 @@ void FormWindow::redo()
void FormWindow::raiseChildSelections(TQWidget * w)
{
- TQObjectList *l = w->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = w->queryList("TQWidget");
if (!l || !l->first())
{
delete l;
@@ -1350,7 +1350,7 @@ void FormWindow::raiseChildSelections(TQWidget * w)
TQPtrDictIterator < WidgetSelection > it(usedSelections);
for (; it.current(); ++it)
{
- if (l->findRef(TQT_TQOBJECT(it.current()->widget())) != -1)
+ if (l->findRef(it.current()->widget()) != -1)
it.current()->show();
}
delete l;
@@ -1358,7 +1358,7 @@ void FormWindow::raiseChildSelections(TQWidget * w)
void FormWindow::updateChildSelections(TQWidget * w)
{
- TQObjectList *l = w->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = w->queryList("TQWidget");
if (l)
{
for (TQObject * o = l->first(); o; o = l->next())
@@ -1374,7 +1374,7 @@ void FormWindow::checkSelectionsForMove(TQWidget * w)
{
checkedSelectionsForMove = true;
- TQObjectList *l = w->parentWidget()->queryList(TQWIDGET_OBJECT_NAME_STRING, 0, false, false);
+ TQObjectList *l = w->parentWidget()->queryList("TQWidget", 0, false, false);
moving.clear();
if (l)
{
@@ -1385,7 +1385,7 @@ void FormWindow::checkSelectionsForMove(TQWidget * w)
if (it.current()->widget() == mainContainer())
continue;
++it;
- if (l->find(TQT_TQOBJECT(sel->widget())) == -1)
+ if (l->find(sel->widget()) == -1)
{
if (WidgetFactory::layoutType(w) == WidgetFactory::NoLayout)
sel->setWidget(0);
@@ -1411,7 +1411,7 @@ void FormWindow::deleteWidgets()
for (; it.current(); ++it)
{
TQWidget *tb = 0;
- if (!(tb = mainWindow()->isAToolBarChild(TQT_TQOBJECT(it.current()->widget()))))
+ if (!(tb = mainWindow()->isAToolBarChild(it.current()->widget())))
widgets.append(it.current()->widget());
else
((QDesignerToolBar *) tb)->removeWidget(it.current()->widget());
@@ -1500,7 +1500,7 @@ void FormWindow::invalidCheckedSelections()
void FormWindow::checkPreviewGeometry(TQRect & r)
{
- if (TQT_TQRECT_OBJECT(rect()).contains(r))
+ if (rect().contains(r))
return;
if (r.left() < rect().left())
r.moveTopLeft(TQPoint(0, r.top()));
@@ -1527,7 +1527,7 @@ void FormWindow::focusOutEvent(TQFocusEvent *)
if (propertyWidget && !isMainContainer(propertyWidget) && !isWidgetSelected(propertyWidget))
{
TQObject *opw = propertyWidget;
- propertyWidget = TQT_TQOBJECT(mainContainer());
+ propertyWidget = mainContainer();
if (opw->isWidgetType())
repaintSelection((TQWidget *) opw);
}
@@ -1552,7 +1552,7 @@ TQWidget *FormWindow::designerWidget(TQObject * o) const
if (!o || !o->isWidgetType())
return 0;
TQWidget *w = (TQWidget *) o;
- while (w && !isMainContainer(TQT_TQOBJECT(w)) && !insertedWidgets[(void *) w] || isCentralWidget(TQT_TQOBJECT(w)))
+ while (w && !isMainContainer(w) && !insertedWidgets[(void *) w] || isCentralWidget(w))
w = (TQWidget *) w->parent();
return w;
}
@@ -1652,7 +1652,7 @@ void FormWindow::currentToolChanged()
{
case POINTER_TOOL:
if (propertyWidget && !isMainContainer(propertyWidget) && !isWidgetSelected(propertyWidget))
- emitShowProperties(TQT_TQOBJECT(mainContainer()));
+ emitShowProperties(mainContainer());
restoreCursors(this, this);
break;
case ORDER_TOOL:
@@ -1662,7 +1662,7 @@ void FormWindow::currentToolChanged()
orderedWidgets.clear();
showOrderIndicators();
if (mainWindow()->formWindow() == this)
- emitShowProperties(TQT_TQOBJECT(mainContainer()));
+ emitShowProperties(mainContainer());
setCursorToAll(ArrowCursor, this);
}
break;
@@ -1670,14 +1670,14 @@ void FormWindow::currentToolChanged()
mainWindow()->statusBar()->message(i18n("Drag a line to create a connection..."));
setCursorToAll(CrossCursor, this);
if (mainWindow()->formWindow() == this)
- emitShowProperties(TQT_TQOBJECT(mainContainer()));
+ emitShowProperties(mainContainer());
break;
default:
mainWindow()->statusBar()->message(i18n("Click on the form to insert a %1...").
arg(WidgetDatabase::toolTip(currTool).lower()));
setCursorToAll(CrossCursor, this);
if (mainWindow()->formWindow() == this)
- emitShowProperties(TQT_TQOBJECT(mainContainer()));
+ emitShowProperties(mainContainer());
break;
}
}
@@ -1686,7 +1686,7 @@ void FormWindow::showOrderIndicators()
{
hideOrderIndicators();
orderIndicators.setAutoDelete(true);
- TQObjectList *l = mainContainer()->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = mainContainer()->queryList("TQWidget");
stackedWidgets = MetaDataBase::tabOrder(this);
if (l)
{
@@ -1695,7 +1695,7 @@ void FormWindow::showOrderIndicators()
{
TQWidget *w = (TQWidget *) o;
if (w->isVisibleTo(w->parentWidget()) &&
- insertedWidgets[(void *) w] && w->focusPolicy() != TQ_NoFocus)
+ insertedWidgets[(void *) w] && w->focusPolicy() != TQWidget::NoFocus)
{
OrderIndicator *ind = new OrderIndicator(order++, w, this);
orderIndicators.append(ind);
@@ -1743,7 +1743,7 @@ bool FormWindow::checkCustomWidgets()
{
if (it.current()->isA("CustomWidget"))
{
- TQString className = WidgetFactory::classNameOf(TQT_TQOBJECT(it.current()));
+ TQString className = WidgetFactory::classNameOf(it.current());
if (!MetaDataBase::hasCustomWidget(className))
missingCustomWidgets << className;
}
@@ -1811,7 +1811,7 @@ static void find_accel(const TQString & txt, TQMap < TQChar, TQWidgetList > &acc
void FormWindow::checkAccels()
{
TQMap < TQChar, TQWidgetList > accels;
- TQObjectList *l = mainContainer()->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = mainContainer()->queryList("TQWidget");
if (l)
{
for (TQObject * o = l->first(); o; o = l->next())
@@ -1849,7 +1849,7 @@ void FormWindow::checkAccels()
{
clearSelection(false);
for (wid = (*it).first(); wid; wid = (*it).next())
- selectWidget(TQT_TQOBJECT(wid), true);
+ selectWidget(wid, true);
}
return;
}
@@ -1883,14 +1883,14 @@ void FormWindow::selectAll()
{
checkedSelectionsForMove = false;
blockSignals(true);
- TQObjectList *l = mainContainer()->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = mainContainer()->queryList("TQWidget");
if (l)
{
for (TQObject * o = l->first(); o; o = l->next())
{
if (((TQWidget *) o)->isVisibleTo(this) && insertedWidgets[(void *) o])
{
- selectWidget(TQT_TQOBJECT(o));
+ selectWidget(o);
}
}
delete l;
@@ -2036,12 +2036,12 @@ void FormWindow::breakLayout(TQWidget * w)
if (!w || w == this)
break;
if (WidgetFactory::layoutType(w) != WidgetFactory::NoLayout &&
- WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w)))))
+ WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w))))
{
Command *cmd = breakLayoutCommand(w);
if (cmd)
commands.insert(0, cmd);
- if (!w->inherits(TQLAYOUTWIDGET_OBJECT_NAME_STRING) && !w->inherits(TQSPLITTER_OBJECT_NAME_STRING))
+ if (!w->inherits("TQLayoutWidget") && !w->inherits("TQSplitter"))
break;
}
w = w->parentWidget();
@@ -2066,7 +2066,7 @@ BreakLayoutCommand *FormWindow::breakLayoutCommand(TQWidget * w)
for (TQObject * o = l.first(); o; o = l.next())
{
if (o->isWidgetType() &&
- !mainWindow()->isAToolBarChild(TQT_TQOBJECT(o)) &&
+ !mainWindow()->isAToolBarChild(o) &&
((TQWidget *) o)->isVisibleTo(this) && insertedWidgets.find((TQWidget *) o))
widgets.append((TQWidget *) o);
}
@@ -2093,7 +2093,7 @@ bool FormWindow::hasInsertedChildren(TQWidget *w) const
w = WidgetFactory::containerOfWidget(w);
if (!w)
return false;
- TQObjectList *l = w->queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = w->queryList("TQWidget");
if (!l || !l->first())
{
delete l;
@@ -2116,7 +2116,7 @@ bool FormWindow::allowMove(TQWidget *w)
w = w->parentWidget();
while (w)
{
- if ((isMainContainer(TQT_TQOBJECT(w)) || insertedWidgets.find(w)) && WidgetFactory::layoutType(w) ==
+ if ((isMainContainer(w) || insertedWidgets.find(w)) && WidgetFactory::layoutType(w) ==
WidgetFactory::NoLayout)
return true;
w = w->parentWidget();
@@ -2274,7 +2274,7 @@ bool FormWindow::unify(TQObject *w, TQString &s, bool changeIt)
int num = 1;
TQPtrDictIterator<TQWidget> it(insertedWidgets);
for (; it.current();)
- if (TQT_BASE_OBJECT(it.current()) != TQT_BASE_OBJECT(w) && !qstrcmp(it.current()->name(), s.latin1()))
+ if (it.current() != w && !qstrcmp(it.current()->name(), s.latin1()))
{
found = true;
if (!changeIt)
@@ -2291,7 +2291,7 @@ bool FormWindow::unify(TQObject *w, TQString &s, bool changeIt)
TQAction *a = 0;
for (a = actions.first(); a; a = actions.next())
{
- TQObjectList *l = a->queryList(TQACTION_OBJECT_NAME_STRING);
+ TQObjectList *l = a->queryList("TQAction");
al.append(a);
for (TQObject *ao = l->first(); ao; ao = l->next())
al.append((TQAction*)ao);
@@ -2310,11 +2310,11 @@ bool FormWindow::unify(TQObject *w, TQString &s, bool changeIt)
}
}
- if (mainContainer()->inherits(TQMAINWINDOW_OBJECT_NAME_STRING))
+ if (mainContainer()->inherits("TQMainWindow"))
{
if (!found)
{
- TQObjectList *l = mainContainer()->queryList(TQDOCKWINDOW_OBJECT_NAME_STRING, 0, true);
+ TQObjectList *l = mainContainer()->queryList("TQDockWindow", 0, true);
for (TQObject *o = l->first(); o; o = l->next())
if (o != w && !qstrcmp(o->name(), s.latin1()))
{
@@ -2351,7 +2351,7 @@ bool FormWindow::isCustomWidgetUsed(MetaDataBase::CustomWidget *w)
{
TQPtrDictIterator<TQWidget> it(insertedWidgets);
for (; it.current(); ++it)
- if (it.current()->isA("CustomWidget") && !qstrcmp(WidgetFactory::classNameOf(TQT_TQOBJECT(it.current())),
+ if (it.current()->isA("CustomWidget") && !qstrcmp(WidgetFactory::classNameOf(it.current()),
w->className.utf8()))
return true;
return false;
@@ -2361,7 +2361,7 @@ bool FormWindow::isDatabaseWidgetUsed() const
{
#ifndef TQT_NO_SQL
TQStringList dbClasses;
- dbClasses << TQDATATABLE_OBJECT_NAME_STRING; // add more here
+ dbClasses << "TQDataTable"; // add more here
TQPtrDictIterator<TQWidget> it(insertedWidgets);
for (; it.current(); ++it)
{
@@ -2388,7 +2388,7 @@ bool FormWindow::isDatabaseAware() const
void FormWindow::visibilityChanged()
{
if (currTool != ORDER_TOOL)
- emitUpdateProperties(TQT_TQOBJECT(currentWidget()));
+ emitUpdateProperties(currentWidget());
else
{
updateOrderIndicators();
@@ -2407,7 +2407,7 @@ TQPoint FormWindow::mapToForm(const TQWidget* w, const TQPoint& pos) const
{
TQPoint p = pos;
const TQWidget* i = w;
- while (i && !i->isTopLevel() && !isMainContainer(TQT_TQOBJECT(const_cast<TQWidget*>(i))))
+ while (i && !i->isTopLevel() && !isMainContainer(const_cast<TQWidget*>(i)))
{
p = i->mapToParent(p);
i = i->parentWidget();
@@ -2444,30 +2444,30 @@ TQWidget *FormWindow::containerAt(const TQPoint &pos, TQWidget *notParentOf)
TQWidget *container = 0;
int depth = -1;
TQWidgetList selected = selectedWidgets();
- if (TQT_TQRECT_OBJECT(rect()).contains(mapFromGlobal(pos)))
+ if (rect().contains(mapFromGlobal(pos)))
{
container = mainContainer();
depth = widgetDepth(container);
}
for (; it.current(); ++it) {
- if (it.current()->inherits(TQLAYOUTWIDGET_OBJECT_NAME_STRING))
+ if (it.current()->inherits("TQLayoutWidget"))
continue;
- if (it.current()->inherits(TQSPLITTER_OBJECT_NAME_STRING))
+ if (it.current()->inherits("TQSplitter"))
continue;
if (!it.current()->isVisibleTo(this))
continue;
if (selected.find(it.current()) != -1)
continue;
if (!WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(
- WidgetFactory::classNameOf(TQT_TQOBJECT(it.current())))) && it.current() != mainContainer())
+ WidgetFactory::classNameOf(it.current()))) && it.current() != mainContainer())
continue;
// the rectangles of all ancestors of the container must contain the insert position
TQWidget *w = it.current();
while (w && !w->isTopLevel())
{
- if (!TQT_TQRECT_OBJECT(w->rect()).contains((w->mapFromGlobal(pos))))
+ if (!w->rect().contains((w->mapFromGlobal(pos))))
break;
w = w->parentWidget();
}
@@ -2475,8 +2475,8 @@ TQWidget *FormWindow::containerAt(const TQPoint &pos, TQWidget *notParentOf)
int wd = widgetDepth(it.current());
if (wd == depth && container && (it.current()->parentWidget()->
- childrenListObject()).find(TQT_TQOBJECT(it.current())) >
- (container->parentWidget()->childrenListObject()).find(TQT_TQOBJECT(container)))
+ childrenListObject()).find(it.current()) >
+ (container->parentWidget()->childrenListObject()).find(container))
wd++;
if (wd > depth && !isChildOf(it.current(), notParentOf)) {
depth = wd;
@@ -2489,7 +2489,7 @@ TQWidget *FormWindow::containerAt(const TQPoint &pos, TQWidget *notParentOf)
bool FormWindow::isMainContainer(TQObject *w) const
{
- return w && w->isWidgetType() && (TQT_BASE_OBJECT(w) == this || TQT_BASE_OBJECT(w) == TQT_BASE_OBJECT(mainContainer()));
+ return w && w->isWidgetType() && (w == this || w == mainContainer());
}
void FormWindow::setMainContainer(TQWidget *w)
@@ -2497,7 +2497,7 @@ void FormWindow::setMainContainer(TQWidget *w)
bool resetPropertyWidget = isMainContainer(propertyWidget);
if (mContainer)
insertedWidgets.remove(mContainer);
- if (TQT_BASE_OBJECT(propertyWidget) == TQT_BASE_OBJECT(mContainer))
+ if (propertyWidget == mContainer)
propertyWidget = 0;
delete mContainer;
mContainer = w;
@@ -2508,7 +2508,7 @@ void FormWindow::setMainContainer(TQWidget *w)
if (resetPropertyWidget)
{
TQObject *opw = propertyWidget;
- propertyWidget = TQT_TQOBJECT(mContainer);
+ propertyWidget = mContainer;
if (opw && opw->isWidgetType())
repaintSelection((TQWidget*)opw);
}
@@ -2546,7 +2546,7 @@ TQAction *FormWindow::findAction(const TQString &name)
{
if (TQString(a->name()) == name)
return a;
- TQAction *ac = (TQAction*)a->child(name.latin1(), TQACTION_OBJECT_NAME_STRING);
+ TQAction *ac = (TQAction*)a->child(name.latin1(), "TQAction");
if (ac)
return ac;
}
@@ -2555,7 +2555,7 @@ TQAction *FormWindow::findAction(const TQString &name)
void FormWindow::killAccels(TQObject *top)
{
- TQObjectList *l = top->queryList(TQACCEL_OBJECT_NAME_STRING);
+ TQObjectList *l = top->queryList("TQAccel");
if (!l)
return;
for (TQObject *o = l->first(); o; o = l->next())
@@ -2565,9 +2565,9 @@ void FormWindow::killAccels(TQObject *top)
bool FormWindow::isCentralWidget(TQObject *w) const
{
- if (!mainContainer()->inherits(TQMAINWINDOW_OBJECT_NAME_STRING))
+ if (!mainContainer()->inherits("TQMainWindow"))
return false;
- return TQT_BASE_OBJECT(w) == TQT_BASE_OBJECT(((TQMainWindow*)mainContainer())->centralWidget());
+ return w == ((TQMainWindow*)mainContainer())->centralWidget();
}
TQObject *FormWindow::connectableObject(TQObject *w, TQObject *)
@@ -2604,6 +2604,6 @@ void FormWindow::setFormFile(FormFile *f)
{
ff = f;
if (ff)
- connect(this, TQT_SIGNAL(modificationChanged(bool, const TQString&)), ff, TQT_SLOT(formWindowChangedSomehow()));
+ connect(this, TQ_SIGNAL(modificationChanged(bool, const TQString&)), ff, TQ_SLOT(formWindowChangedSomehow()));
}
#include "formwindow.moc"
diff --git a/kommander/editor/formwindow.h b/kommander/editor/formwindow.h
index cb9a5c1c..8f834b15 100644
--- a/kommander/editor/formwindow.h
+++ b/kommander/editor/formwindow.h
@@ -57,7 +57,7 @@ class OrderIndicator;
class FormWindow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( TQString fileName READ fileName WRITE setFileName )
diff --git a/kommander/editor/functions.ui b/kommander/editor/functions.ui
index 005d2261..707e9921 100644
--- a/kommander/editor/functions.ui
+++ b/kommander/editor/functions.ui
@@ -544,9 +544,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -561,9 +558,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -696,27 +690,13 @@
<tabstop>buttonCancel</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>ktextedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">ktextedit.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/functionsimpl.cpp b/kommander/editor/functionsimpl.cpp
index 37ae23ab..88521a97 100644
--- a/kommander/editor/functionsimpl.cpp
+++ b/kommander/editor/functionsimpl.cpp
@@ -49,11 +49,11 @@ FunctionsDialog::FunctionsDialog(TQWidget* a_parent, const TQDict<TQWidget>& a_w
copyButton->setPixmap(TDEGlobal::iconLoader()->loadIcon("1downarrow", TDEIcon::Toolbar));
groupComboBox->insertStringList(SpecialInformation::groups());
- connect(groupComboBox, TQT_SIGNAL(activated(int)), TQT_SLOT(groupChanged(int)));
- connect(widgetComboBox, TQT_SIGNAL(activated(int)), TQT_SLOT(groupChanged(int)));
- connect(functionListBox, TQT_SIGNAL(highlighted(int)), TQT_SLOT(functionChanged(int)));
- connect(copyButton, TQT_SIGNAL(clicked()), TQT_SLOT(copyText()));
- connect(clearButton, TQT_SIGNAL(clicked()), insertedText, TQT_SLOT(clear()));
+ connect(groupComboBox, TQ_SIGNAL(activated(int)), TQ_SLOT(groupChanged(int)));
+ connect(widgetComboBox, TQ_SIGNAL(activated(int)), TQ_SLOT(groupChanged(int)));
+ connect(functionListBox, TQ_SIGNAL(highlighted(int)), TQ_SLOT(functionChanged(int)));
+ connect(copyButton, TQ_SIGNAL(clicked()), TQ_SLOT(copyText()));
+ connect(clearButton, TQ_SIGNAL(clicked()), insertedText, TQ_SLOT(clear()));
// build widget name list
for (TQDictIterator<TQWidget> It(m_widgetList); It.current(); ++It)
@@ -279,7 +279,7 @@ void FunctionsDialog::showParameters()
combos[i]->setShown(false);
edits[i]->setShown(i < argsCount);
edits[i]->clear();
- if (type == TQSTRING_OBJECT_NAME_STRING)
+ if (type == "TQString")
{
quotes[i]->setShown(i < argsCount);
}
@@ -336,7 +336,7 @@ void FunctionsDialog::showParameters()
combos[i]->setShown(false);
edits[i]->setShown(i < argsCount);
edits[i]->clear();
- if (m_function.argumentType(i) == TQSTRING_OBJECT_NAME_STRING)
+ if (m_function.argumentType(i) == "TQString")
{
quotes[i]->setShown(i < argsCount);
}
@@ -362,8 +362,8 @@ TQString FunctionsDialog::params()
TQString s = edits[i]->text();
if (!s.isEmpty() || i < m_function.minArg())
{
- if (quotes[i]->isChecked() && ( (!slotsShown && m_function.argumentType(i) == TQSTRING_OBJECT_NAME_STRING)
- || (slotsShown && labels[i]->text().startsWith(TQSTRING_OBJECT_NAME_STRING)) ) )
+ if (quotes[i]->isChecked() && ( (!slotsShown && m_function.argumentType(i) == "TQString")
+ || (slotsShown && labels[i]->text().startsWith("TQString")) ) )
s = '"' + s + '"';
pars.append(s);
}
diff --git a/kommander/editor/functionsimpl.h b/kommander/editor/functionsimpl.h
index 525a5081..e59ec6c2 100644
--- a/kommander/editor/functionsimpl.h
+++ b/kommander/editor/functionsimpl.h
@@ -25,7 +25,7 @@
class FunctionsDialog : public FunctionsDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
FunctionsDialog(TQWidget*, const TQDict<TQWidget>&, bool m_useInternalParser, char* = 0, bool = true);
diff --git a/kommander/editor/hierarchyview.cpp b/kommander/editor/hierarchyview.cpp
index df8beeb5..b6113d37 100644
--- a/kommander/editor/hierarchyview.cpp
+++ b/kommander/editor/hierarchyview.cpp
@@ -193,18 +193,18 @@ HierarchyList::HierarchyList( TQWidget *parent, FormWindow *fw, bool doConnects
p.setColor( TQColorGroup::Base, TQColor( *backColor2 ) );
(void)*selectedBack; // hack
setPalette( p );
- disconnect( header(), TQT_SIGNAL( sectionClicked( int ) ),
- this, TQT_SLOT( changeSortColumn( int ) ) );
+ disconnect( header(), TQ_SIGNAL( sectionClicked( int ) ),
+ this, TQ_SLOT( changeSortColumn( int ) ) );
setSorting( -1 );
setHScrollBarMode( AlwaysOff );
setVScrollBarMode( AlwaysOn );
if ( doConnects ) {
- connect( this, TQT_SIGNAL( clicked( TQListViewItem * ) ),
- this, TQT_SLOT( objectClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( returnPressed( TQListViewItem * ) ),
- this, TQT_SLOT( objectClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint&, int ) ),
- this, TQT_SLOT( showRMBMenu( TQListViewItem *, const TQPoint & ) ) );
+ connect( this, TQ_SIGNAL( clicked( TQListViewItem * ) ),
+ this, TQ_SLOT( objectClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( returnPressed( TQListViewItem * ) ),
+ this, TQ_SLOT( objectClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint&, int ) ),
+ this, TQ_SLOT( showRMBMenu( TQListViewItem *, const TQPoint & ) ) );
}
deselect = true;
setColumnWidthMode( 1, Manual );
@@ -250,21 +250,21 @@ void HierarchyList::objectClicked( TQListViewItem *i )
if ( formWindow == w ) {
if ( deselect )
formWindow->clearSelection( false );
- formWindow->emitShowProperties( TQT_TQOBJECT(formWindow) );
+ formWindow->emitShowProperties( formWindow );
return;
}
if ( !formWindow->widgets()->find( w ) ) {
- if ( w->parent() && w->parent()->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) &&
+ if ( w->parent() && w->parent()->inherits( "TQWidgetStack" ) &&
w->parent()->parent() &&
- ( w->parent()->parent()->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) ||
- w->parent()->parent()->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) ) {
- if ( w->parent()->parent()->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ ( w->parent()->parent()->inherits( "TQTabWidget" ) ||
+ w->parent()->parent()->inherits( "TQWizard" ) ) ) {
+ if ( w->parent()->parent()->inherits( "TQTabWidget" ) )
( (TQTabWidget*)w->parent()->parent() )->showPage( w );
else
( (QDesignerWizard*)w->parent()->parent() )->setCurrentPage( ( (QDesignerWizard*)w->parent()->parent() )->pageNum( w ) );
w = (TQWidget*)w->parent()->parent();
- formWindow->emitUpdateProperties( TQT_TQOBJECT(formWindow->currentWidget()) );
+ formWindow->emitUpdateProperties( formWindow->currentWidget() );
} else {
return;
}
@@ -273,7 +273,7 @@ void HierarchyList::objectClicked( TQListViewItem *i )
if ( deselect )
formWindow->clearSelection( false );
if ( w->isVisibleTo( formWindow ) )
- formWindow->selectWidget( TQT_TQOBJECT(w), true );
+ formWindow->selectWidget( w, true );
}
TQWidget *HierarchyList::findWidget( TQListViewItem *i )
@@ -345,7 +345,7 @@ void HierarchyList::setup()
}
#endif
if ( w )
- insertObject( TQT_TQOBJECT(w), 0 );
+ insertObject( w, 0 );
}
void HierarchyList::setOpen( TQListViewItem *i, bool b )
@@ -356,8 +356,8 @@ void HierarchyList::setOpen( TQListViewItem *i, bool b )
void HierarchyList::insertObject( TQObject *o, TQListViewItem *parent )
{
bool fakeMainWindow = false;
- if ( o && o->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) {
- TQObject *cw = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
+ if ( o && o->inherits( "TQMainWindow" ) ) {
+ TQObject *cw = ( (TQMainWindow*)o )->centralWidget();
if ( cw ) {
o = cw;
fakeMainWindow = true;
@@ -365,7 +365,7 @@ void HierarchyList::insertObject( TQObject *o, TQListViewItem *parent )
}
TQListViewItem *item = 0;
TQString className = WidgetFactory::classNameOf( o );
- if ( o->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) ) {
+ if ( o->inherits( "TQLayoutWidget" ) ) {
switch ( WidgetFactory::layoutType( (TQWidget*)o ) ) {
case WidgetFactory::HBox:
className = "HBox";
@@ -387,23 +387,23 @@ void HierarchyList::insertObject( TQObject *o, TQListViewItem *parent )
#endif
TQString name = o->name();
- if ( o->parent() && o->parent()->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) &&
+ if ( o->parent() && o->parent()->inherits( "TQWidgetStack" ) &&
o->parent()->parent() ) {
- if ( o->parent()->parent()->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ if ( o->parent()->parent()->inherits( "TQTabWidget" ) )
name = ( (TQTabWidget*)o->parent()->parent() )->tabLabel( (TQWidget*)o );
- else if ( o->parent()->parent()->inherits( TQWIZARD_OBJECT_NAME_STRING ) )
+ else if ( o->parent()->parent()->inherits( "TQWizard" ) )
name = ( (TQWizard*)o->parent()->parent() )->title( (TQWidget*)o );
}
TQToolBox *tb;
if ( o->parent() && o->parent()->parent() &&
- (tb = ::tqqt_cast<TQToolBox*>(o->parent()->parent()->parent())) )
+ (tb = ::tqt_cast<TQToolBox*>(o->parent()->parent()->parent())) )
name = tb->itemLabel( tb->indexOf((TQWidget*)o) );
if ( fakeMainWindow ) {
name = o->parent()->name();
- className = TQMAINWINDOW_OBJECT_NAME_STRING;
+ className = "TQMainWindow";
}
if ( !parent )
@@ -412,7 +412,7 @@ void HierarchyList::insertObject( TQObject *o, TQListViewItem *parent )
item = new HierarchyItem( HierarchyItem::Widget, parent, name, className, dbInfo );
if ( !parent )
item->setPixmap( 0, PixmapChooser::loadPixmap( "form.xpm", PixmapChooser::Mini ) );
- else if ( o->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING) )
+ else if ( o->inherits( "TQLayoutWidget") )
item->setPixmap( 0, PixmapChooser::loadPixmap( "layout.xpm", PixmapChooser::Small ) );
else
item->setPixmap( 0, WidgetDatabase::iconSet( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( o ) ) ).
@@ -429,16 +429,16 @@ void HierarchyList::insertObject( TQObject *o, TQListViewItem *parent )
continue;
if ( !formWindow->widgets()->find( (TQWidget*)it.current() ) ) {
if ( it.current()->parent() &&
- ( it.current()->parent()->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) ||
- it.current()->parent()->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) &&
- it.current()->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) ) {
+ ( it.current()->parent()->inherits( "TQTabWidget" ) ||
+ it.current()->parent()->inherits( "TQWizard" ) ) &&
+ it.current()->inherits( "TQWidgetStack" ) ) {
TQObject *obj = it.current();
- TQObjectList *l2 = obj->queryList( TQWIDGET_OBJECT_NAME_STRING, 0, true, false );
+ TQObjectList *l2 = obj->queryList( "TQWidget", 0, true, false );
QDesignerTabWidget *tw = 0;
QDesignerWizard *dw = 0;
- if ( it.current()->parent()->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ if ( it.current()->parent()->inherits( "TQTabWidget" ) )
tw = (QDesignerTabWidget*)it.current()->parent();
- if ( it.current()->parent()->inherits( TQWIZARD_OBJECT_NAME_STRING ) )
+ if ( it.current()->parent()->inherits( "TQWizard" ) )
dw = (QDesignerWizard*)it.current()->parent();
TQWidgetStack *stack = (TQWidgetStack*)obj;
for ( obj = l2->last(); obj; obj = l2->prev() ) {
@@ -449,12 +449,12 @@ void HierarchyList::insertObject( TQObject *o, TQListViewItem *parent )
insertObject( obj, item );
}
delete l2;
- } else if ( ::tqqt_cast<TQToolBox*>(it.current()->parent()) ) {
- if ( !::tqqt_cast<TQScrollView*>(it.current()) )
+ } else if ( ::tqt_cast<TQToolBox*>(it.current()->parent()) ) {
+ if ( !::tqt_cast<TQScrollView*>(it.current()) )
continue;
TQToolBox *tb = (TQToolBox*)it.current()->parent();
for ( int i = tb->count() - 1; i >= 0; --i )
- insertObject( TQT_TQOBJECT(tb->item( i )), item );
+ insertObject( tb->item( i ), item );
}
continue;
}
@@ -495,15 +495,15 @@ void HierarchyList::showRMBMenu( TQListViewItem *i, const TQPoint & p )
return;
if ( w->isVisibleTo( formWindow ) ) {
- if ( !w->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) && !w->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) {
+ if ( !w->inherits( "TQTabWidget" ) && !w->inherits( "TQWizard" ) ) {
if ( !normalMenu )
normalMenu = formWindow->mainWindow()->setupNormalHierarchyMenu( this );
normalMenu->popup( p );
} else {
if ( !tabWidgetMenu )
tabWidgetMenu =
- formWindow->mainWindow()->setupTabWidgetHierarchyMenu( this, TQT_SLOT( addTabPage() ),
- TQT_SLOT( removeTabPage() ) );
+ formWindow->mainWindow()->setupTabWidgetHierarchyMenu( this, TQ_SLOT( addTabPage() ),
+ TQ_SLOT( removeTabPage() ) );
tabWidgetMenu->popup( p );
}
}
@@ -514,13 +514,13 @@ void HierarchyList::addTabPage()
TQWidget *w = current();
if ( !w )
return;
- if ( w->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) ) {
+ if ( w->inherits( "TQTabWidget" ) ) {
TQTabWidget *tw = (TQTabWidget*)w;
AddTabPageCommand *cmd = new AddTabPageCommand( i18n("Add Page to %1" ).arg( tw->name() ), formWindow,
tw, "Tab" );
formWindow->commandHistory()->addCommand( cmd );
cmd->execute();
- } else if ( w->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) {
+ } else if ( w->inherits( "TQWizard" ) ) {
TQWizard *wiz = (TQWizard*)formWindow->mainContainer();
AddWizardPageCommand *cmd = new AddWizardPageCommand( i18n("Add Page to %1" ).arg( wiz->name() ), formWindow,
wiz, "Page" );
@@ -534,7 +534,7 @@ void HierarchyList::removeTabPage()
TQWidget *w = current();
if ( !w )
return;
- if ( w->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) ) {
+ if ( w->inherits( "TQTabWidget" ) ) {
TQTabWidget *tw = (TQTabWidget*)w;
if ( tw->currentPage() ) {
QDesignerTabWidget *dtw = (QDesignerTabWidget*)tw;
@@ -544,7 +544,7 @@ void HierarchyList::removeTabPage()
formWindow->commandHistory()->addCommand( cmd );
cmd->execute();
}
- } else if ( w->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) {
+ } else if ( w->inherits( "TQWizard" ) ) {
TQWizard *wiz = (TQWizard*)formWindow->mainContainer();
if ( wiz->currentPage() ) {
QDesignerWizard *dw = (QDesignerWizard*)wiz;
@@ -677,7 +677,7 @@ void HierarchyView::widgetsRemoved( const TQWidgetList & )
void HierarchyView::namePropertyChanged( TQWidget *w, const TQVariant & )
{
TQWidget *w2 = w;
- if ( w->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQMainWindow" ) )
w2 = ( (TQMainWindow*)w )->centralWidget();
listview->changeNameOf( w2, w->name() );
}
diff --git a/kommander/editor/hierarchyview.h b/kommander/editor/hierarchyview.h
index 78fbe292..1ae2b866 100644
--- a/kommander/editor/hierarchyview.h
+++ b/kommander/editor/hierarchyview.h
@@ -79,7 +79,7 @@ private:
class HierarchyList:public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
HierarchyList(TQWidget * parent, FormWindow * fw, bool doConnects = TRUE);
@@ -123,7 +123,7 @@ protected:
class HierarchyView : public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/iconvieweditorimpl.cpp b/kommander/editor/iconvieweditorimpl.cpp
index 2fe8eed4..97c7514a 100644
--- a/kommander/editor/iconvieweditorimpl.cpp
+++ b/kommander/editor/iconvieweditorimpl.cpp
@@ -34,7 +34,7 @@
IconViewEditor::IconViewEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: IconViewEditorBase( parent, 0, true ), formwindow( fw )
{
- connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( buttonHelp, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
iconview = (TQIconView*)editWidget;
itemText->setText( "" );
diff --git a/kommander/editor/iconvieweditorimpl.h b/kommander/editor/iconvieweditorimpl.h
index b25c59cc..d1fc8ec9 100644
--- a/kommander/editor/iconvieweditorimpl.h
+++ b/kommander/editor/iconvieweditorimpl.h
@@ -27,7 +27,7 @@ class FormWindow;
class IconViewEditor : public IconViewEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/kmdr-editor.desktop b/kommander/editor/kmdr-editor.desktop
index 00362dfa..4ca38a13 100644
--- a/kommander/editor/kmdr-editor.desktop
+++ b/kommander/editor/kmdr-editor.desktop
@@ -1,129 +1,13 @@
[Desktop Entry]
-GenericName=Dynamic Dialog Editor
-GenericName[bg]=Редактор за диалогови прозорци
-GenericName[ca]=Editor de diàlegs dinàmics
-GenericName[cs]=Editor dynamických dialogů
-GenericName[da]=Dynamisk dialog-editor
-GenericName[de]=Editor für dynamische Dialoge
-GenericName[el]=Επεξεργαστής δυναμικών διαλόγων
-GenericName[en_GB]=Dynamic Dialogue Editor
-GenericName[es]=Editor de cuadros de diálogo dinámicos
-GenericName[et]=Dünaamiliste dialoogide redaktor
-GenericName[eu]=Elkarrizketa editore dinamikoa
-GenericName[fa]=ویرایشگر محاورۀ پویا
-GenericName[fi]=Dynaamisten dialogien editori
-GenericName[fr]=Éditeur dynamique de boîtes de dialogue
-GenericName[gl]=Editor de diálogos dinámicos
-GenericName[hi]=गतिशील संवाद संपादक
-GenericName[hu]=Párbeszédablak-szerkesztő
-GenericName[is]=Dynamic Dialog ritillinn
-GenericName[it]=Editor per le maschere dinamiche
-GenericName[ja]=動的ダイアログエディタ
-GenericName[ka]=დინამიურ დიალოგთა რედაქტორი
-GenericName[lt]=Dinaminė dialogų rengyklė
-GenericName[ms]=Penyunting Dialog Dinamik
-GenericName[nds]=Editor för dünaamsch Dialogen
-GenericName[ne]=गतिशील संवाद सम्पादक
-GenericName[nl]=Dynamische dialoog-editor
-GenericName[pl]=Edytor do dynamicznych okien dialogowych
-GenericName[pt]=Editor de Diálogos Dinâmicos
-GenericName[pt_BR]=Editor de Diálogo Dinâmico
-GenericName[ru]=Редактор диалогов
-GenericName[sk]=Dynamický editor dialógov
-GenericName[sl]=Urejevalnik dinamičnih pogovornih oken
-GenericName[sr]=Уређивач динамичких дијалога
-GenericName[sr@Latn]=Uređivač dinamičkih dijaloga
-GenericName[sv]=Editor för dynamiska dialogrutor
-GenericName[ta]=நிகழும் உரையாடல் திருத்தி
-GenericName[tg]=Муҳаррири диалоги динамика
-GenericName[tr]=Dinamik Diyalog Düzenleyicisi
-GenericName[uk]=Динамічний редактор вікон
-GenericName[zh_CN]=动态对话框编辑器
-GenericName[zh_HK]=動態對話盒編輯器
-GenericName[zh_TW]=動態對話盒編輯器
Name=Kommander Editor
-Name[br]=Aozer Kommander
-Name[ca]=Editor Kommander
-Name[cs]=Editor Kommanderu
-Name[da]=Kommander-editor
-Name[de]=Kommander-Editor
-Name[el]=Επεξεργαστής Kommander
-Name[et]=Redaktor Kommander
-Name[eu]=Kommander editorea
-Name[fa]=ویرایشگر Kommander
-Name[fi]=Komentoeditori
-Name[fr]=Éditeur Kommander
-Name[ga]=Eagarthóir Kommander
-Name[hi]=कमांडर संपादक
-Name[hu]=Kommander
-Name[is]=Kommander ritillinn
-Name[it]=Editor Kommander
-Name[ja]=Kommander エディタ
-Name[lt]=Kommander rengyklė
-Name[ms]=Penyunting Kommander
-Name[nds]=Kommander-Editor
-Name[ne]=आदेश सम्पादक
-Name[pa]=Kommander ਸੰਪਾਦਕ
-Name[pl]=Edytor Kommander
-Name[pt]=Editor do Kommander
-Name[pt_BR]=Editor Kommander
-Name[ru]=Редактор Kommander
-Name[sl]=Urejevalnik Kommander
-Name[sr]=Kommander уређивач
-Name[sr@Latn]=Kommander uređivač
-Name[sv]=Kommander editor
-Name[ta]=Kகட்டளைத் திருத்தி
-Name[tg]=Муҳаррири Kommander
-Name[tr]=Kommander Düzenleyici
-Name[uk]=Редактор Kommander
-Name[zh_CN]=Kommander 编辑器
-Name[zh_HK]=Kommander 編輯器
-Name[zh_TW]=Kommander 編輯器
+
+GenericName=Dynamic Dialog Editor
+
+Comment=Dynamic Dialog Editor
+
+Type=Application
Exec=kmdr-editor %F
Icon=kommander
-Type=Application
-Comment=Dynamic Dialog Editor
-Comment[bg]=Редактор за диалогови прозорци
-Comment[ca]=Editor de diàlegs dinàmics
-Comment[cs]=Editor dynamických dialogů
-Comment[da]=Dynamisk dialog-editor
-Comment[de]=Editor für dynamische Dialoge
-Comment[el]=Επεξεργαστής δυναμικών διαλόγων
-Comment[en_GB]=Dynamic Dialogue Editor
-Comment[es]=Editor de cuadros de diálogo dinámicos
-Comment[et]=Dünaamiliste dialoogide redaktor
-Comment[eu]=Elkarrizketa editore dinamikoa
-Comment[fa]=ویرایشگر محاورۀ پویا
-Comment[fi]=Dynaamisten dialogien editori
-Comment[fr]=Éditeur dynamique de boîtes de dialogue
-Comment[gl]=Editor de diálogos dinámicos
-Comment[hi]=गतिशील संवाद संपादक
-Comment[hu]=Párbeszédablak-szerkesztő
-Comment[is]=Dynamic Dialog ritillinn
-Comment[it]=Editor per le maschere dinamiche
-Comment[ja]=動的ダイアログエディタ
-Comment[ka]=დინამიურ დიალოგთა რედაქტორი
-Comment[lt]=Dinaminė dialogų rengyklė
-Comment[ms]=Penyunting Dialog Dinamik
-Comment[nds]=Editor för dünaamsch Dialogen
-Comment[ne]=गतिशील संवाद सम्पादक
-Comment[nl]=Dynamische dialoog-editor
-Comment[pl]=Edytor do dynamicznych okien dialogowych
-Comment[pt]=Editor de diálogos dinâmicos
-Comment[pt_BR]=Editor de Diálogo Dinâmico
-Comment[ru]=Динамический редактор диалогов
-Comment[sk]=Dynamický editor dialógov
-Comment[sl]=Urejevalnik dinamičnih pogovornih oken
-Comment[sr]=Уређивач динамичких дијалога
-Comment[sr@Latn]=Uređivač dinamičkih dijaloga
-Comment[sv]=Editor för dynamiska dialogrutor
-Comment[ta]=நிகழும் உரையாடல் திருத்தி
-Comment[tg]=Муҳаррири диалоги динамика
-Comment[tr]=Dinamik Diyalog Düzenleyicisi
-Comment[uk]=Динамічний редактор вікон
-Comment[zh_CN]=动态对话框编辑器
-Comment[zh_HK]=動態對話盒編輯器
-Comment[zh_TW]=動態對話盒編輯器
MimeType=application/x-kommander;
X-DocPath=kommander/index.html
Categories=Qt;TDE;Development;
diff --git a/kommander/editor/layout.cpp b/kommander/editor/layout.cpp
index 8c35f8e6..84e4dabb 100644
--- a/kommander/editor/layout.cpp
+++ b/kommander/editor/layout.cpp
@@ -116,7 +116,7 @@ void Layout::setup()
// we leave here.
if ( !lastList || ( lastList->count() < 2 &&
( !layoutBase ||
- ( !WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf(TQT_TQOBJECT( layoutBase )) ) ) &&
+ ( !WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( layoutBase ) ) ) &&
layoutBase != formWindow->mainContainer() ) )
) ) {
widgets.clear();
@@ -134,8 +134,8 @@ void Layout::setup()
// widgets to get informed if one gets deleted to be able to
// handle that and do not crash in this case
for ( w = widgets.first(); w; w = widgets.next() ) {
- connect( w, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( widgetDestroyed() ) );
+ connect( w, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( widgetDestroyed() ) );
startPoint = TQPoint( TQMIN( startPoint.x(), w->x() ),
TQMIN( startPoint.y(), w->y() ) );
geometries.insert( w, TQRect( w->pos(), w->size() ) );
@@ -159,13 +159,13 @@ bool Layout::prepareLayout( bool &needMove, bool &needReparent )
for ( TQWidget *w = widgets.first(); w; w = widgets.next() )
w->raise();
needMove = !layoutBase;
- needReparent = needMove || layoutBase->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) || layoutBase->inherits( TQSPLITTER_OBJECT_NAME_STRING );
+ needReparent = needMove || layoutBase->inherits( "TQLayoutWidget" ) || layoutBase->inherits( "TQSplitter" );
if ( !layoutBase ) {
if ( !useSplitter )
- layoutBase = WidgetFactory::create( WidgetDatabase::idFromClassName( TQLAYOUTWIDGET_OBJECT_NAME_STRING ),
+ layoutBase = WidgetFactory::create( WidgetDatabase::idFromClassName( "TQLayoutWidget" ),
WidgetFactory::containerOfWidget( parent ) );
else
- layoutBase = WidgetFactory::create( WidgetDatabase::idFromClassName( TQSPLITTER_OBJECT_NAME_STRING ),
+ layoutBase = WidgetFactory::create( WidgetDatabase::idFromClassName( "TQSplitter" ),
WidgetFactory::containerOfWidget( parent ) );
} else {
WidgetFactory::deleteLayout( layoutBase );
@@ -187,11 +187,11 @@ void Layout::finishLayout( bool needMove, TQLayout *layout )
layoutBase->show();
layout->activate();
formWindow->insertWidget( layoutBase );
- formWindow->selectWidget( TQT_TQOBJECT(layoutBase) );
+ formWindow->selectWidget( layoutBase );
TQString n = layoutBase->name();
if ( n.find( "qt_dead_widget_" ) != -1 ) {
n.remove( 0, TQString( "qt_dead_widget_" ).length() );
- layoutBase->setName( n );
+ layoutBase->setName( n.utf8() );
}
}
@@ -206,20 +206,20 @@ void Layout::undoLayout()
it.key()->reparent( WidgetFactory::containerOfWidget( parent ), 0, ( *it ).topLeft(), it.key()->isVisibleTo( formWindow ) );
it.key()->resize( ( *it ).size() );
}
- formWindow->selectWidget( TQT_TQOBJECT(layoutBase), false );
+ formWindow->selectWidget( layoutBase, false );
WidgetFactory::deleteLayout( layoutBase );
- if ( parent != layoutBase && !layoutBase->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) {
+ if ( parent != layoutBase && !layoutBase->inherits( "TQMainWindow" ) ) {
layoutBase->hide();
TQString n = layoutBase->name();
n.prepend( "qt_dead_widget_" );
- layoutBase->setName( n );
+ layoutBase->setName( n.utf8() );
} else {
layoutBase->setGeometry( oldGeometry );
}
if ( widgets.first() )
- formWindow->selectWidget( TQT_TQOBJECT(widgets.first()) );
+ formWindow->selectWidget( widgets.first() );
else
- formWindow->selectWidget( TQT_TQOBJECT(formWindow) );
+ formWindow->selectWidget( formWindow );
}
void Layout::breakLayout()
@@ -231,11 +231,11 @@ void Layout::breakLayout()
rects.insert( w, w->geometry() );
}
WidgetFactory::deleteLayout( layoutBase );
- bool needReparent = qstrcmp( layoutBase->className(), TQLAYOUTWIDGET_OBJECT_NAME_STRING ) == 0 ||
- qstrcmp( layoutBase->className(), TQSPLITTER_OBJECT_NAME_STRING ) == 0 ||
- ( !WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf(TQT_TQOBJECT( layoutBase )) ) ) &&
+ bool needReparent = qstrcmp( layoutBase->className(), "TQLayoutWidget" ) == 0 ||
+ qstrcmp( layoutBase->className(), "TQSplitter" ) == 0 ||
+ ( !WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( layoutBase ) ) ) &&
layoutBase != formWindow->mainContainer() );
- bool needResize = qstrcmp( layoutBase->className(), TQSPLITTER_OBJECT_NAME_STRING ) == 0;
+ bool needResize = qstrcmp( layoutBase->className(), "TQSplitter" ) == 0;
bool add = geometries.isEmpty();
for ( TQWidget *w = widgets.first(); w; w = widgets.next() ) {
if ( needReparent )
@@ -254,14 +254,14 @@ void Layout::breakLayout()
parent = layoutBase->parentWidget();
TQString n = layoutBase->name();
n.prepend( "qt_dead_widget_" );
- layoutBase->setName( n );
+ layoutBase->setName( n.utf8() );
} else {
parent = layoutBase;
}
if ( widgets.first() && widgets.first()->isVisibleTo( formWindow ) )
- formWindow->selectWidget( TQT_TQOBJECT(widgets.first()) );
+ formWindow->selectWidget( widgets.first() );
else
- formWindow->selectWidget( TQT_TQOBJECT(formWindow) );
+ formWindow->selectWidget( formWindow );
}
class HorizontalLayoutList : public TQWidgetList
@@ -306,21 +306,21 @@ void HorizontalLayout::doLayout()
TQHBoxLayout *layout = (TQHBoxLayout*)WidgetFactory::createLayout( layoutBase, 0, WidgetFactory::HBox );
for ( TQWidget *w = widgets.first(); w; w = widgets.next() ) {
- if ( needReparent && TQT_BASE_OBJECT(w->parent()) != TQT_BASE_OBJECT(layoutBase) )
+ if ( needReparent && w->parent() != layoutBase )
w->reparent( layoutBase, 0, TQPoint( 0, 0 ), false );
if ( !useSplitter ) {
if ( qstrcmp( w->className(), "Spacer" ) == 0 )
layout->addWidget( w, 0, ( (Spacer*)w )->alignment() );
else
layout->addWidget( w );
- if ( w->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQLayoutWidget" ) )
( (TQLayoutWidget*)w )->updateSizePolicy();
}
w->show();
}
- if ( layoutBase->inherits( TQSPLITTER_OBJECT_NAME_STRING ) )
- ( (TQSplitter*)layoutBase )->setOrientation( Qt::Horizontal );
+ if ( layoutBase->inherits( "TQSplitter" ) )
+ ( (TQSplitter*)layoutBase )->setOrientation( TQt::Horizontal );
finishLayout( needMove, layout );
}
@@ -370,21 +370,21 @@ void VerticalLayout::doLayout()
TQVBoxLayout *layout = (TQVBoxLayout*)WidgetFactory::createLayout( layoutBase, 0, WidgetFactory::VBox );
for ( TQWidget *w = widgets.first(); w; w = widgets.next() ) {
- if ( needReparent && TQT_BASE_OBJECT(w->parent()) != TQT_BASE_OBJECT(layoutBase) )
+ if ( needReparent && w->parent() != layoutBase )
w->reparent( layoutBase, 0, TQPoint( 0, 0 ), false );
if ( !useSplitter ) {
if ( qstrcmp( w->className(), "Spacer" ) == 0 )
layout->addWidget( w, 0, ( (Spacer*)w )->alignment() );
else
layout->addWidget( w );
- if ( w->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQLayoutWidget" ) )
( (TQLayoutWidget*)w )->updateSizePolicy();
}
w->show();
}
- if ( layoutBase->inherits( TQSPLITTER_OBJECT_NAME_STRING ) )
- ( (TQSplitter*)layoutBase )->setOrientation( Qt::Vertical );
+ if ( layoutBase->inherits( "TQSplitter" ) )
+ ( (TQSplitter*)layoutBase )->setOrientation( TQt::Vertical );
finishLayout( needMove, layout );
}
@@ -742,14 +742,14 @@ void GridLayout::doLayout()
int r, c, rs, cs;
for ( w = widgets.first(); w; w = widgets.next() ) {
if ( grid->locateWidget( w, r, c, rs, cs) ) {
- if ( needReparent && TQT_BASE_OBJECT(w->parent()) != TQT_BASE_OBJECT(layoutBase) )
+ if ( needReparent && w->parent() != layoutBase )
w->reparent( layoutBase, 0, TQPoint( 0, 0 ), false );
if ( rs * cs == 1 ) {
layout->addWidget( w, r, c, w->inherits( "Spacer" ) ? ( (Spacer*)w )->alignment() : 0 );
} else {
layout->addMultiCellWidget( w, r, r+rs-1, c, c+cs-1, w->inherits( "Spacer" ) ? ( (Spacer*)w )->alignment() : 0 );
}
- if ( w->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQLayoutWidget" ) )
( (TQLayoutWidget*)w )->updateSizePolicy();
w->show();
} else {
@@ -803,7 +803,7 @@ void GridLayout::buildGrid()
Spacer::Spacer( TQWidget *parent, const char *name )
: TQWidget( parent, name, WMouseNoMask ),
- orient(Qt::Vertical ), interactive(true), sh( TQSize(20,20) )
+ orient(TQt::Vertical ), interactive(true), sh( TQSize(20,20) )
{
setSizeType( Expanding );
setAutoMask( true );
@@ -814,7 +814,7 @@ void Spacer::paintEvent( TQPaintEvent * )
TQPainter p( this );
p.setPen( TQt::blue );
- if ( orient ==Qt::Horizontal ) {
+ if ( orient ==TQt::Horizontal ) {
const int dist = 3;
const int amplitude = TQMIN( 3, height() / 3 );
const int base = height() / 2;
@@ -853,7 +853,7 @@ void Spacer::resizeEvent( TQResizeEvent* e)
void Spacer::updateMask()
{
TQRegion r( rect() );
- if ( orient ==Qt::Horizontal ) {
+ if ( orient ==TQt::Horizontal ) {
const int amplitude = TQMIN( 3, height() / 3 );
const int base = height() / 2;
r = r.subtract( TQRect(1, 0, width() - 2, base - amplitude ) );
@@ -870,7 +870,7 @@ void Spacer::updateMask()
void Spacer::setSizeType( SizeType t )
{
TQSizePolicy sizeP;
- if ( orient ==Qt::Vertical )
+ if ( orient ==TQt::Vertical )
sizeP = TQSizePolicy( TQSizePolicy::Minimum, (TQSizePolicy::SizeType)t );
else
sizeP = TQSizePolicy( (TQSizePolicy::SizeType)t, TQSizePolicy::Minimum );
@@ -880,14 +880,14 @@ void Spacer::setSizeType( SizeType t )
Spacer::SizeType Spacer::sizeType() const
{
- if ( orient ==Qt::Vertical )
+ if ( orient ==TQt::Vertical )
return (SizeType)sizePolicy().verData();
return (SizeType)sizePolicy().horData();
}
int Spacer::alignment() const
{
- if ( orient ==Qt::Vertical )
+ if ( orient ==TQt::Vertical )
return AlignHCenter;
return AlignVCenter;
}
@@ -901,7 +901,7 @@ TQSize Spacer::sizeHint() const
{
TQSize s = sh.expandedTo( TQSize(0,0) );
if ( sizeType() == Expanding )
- if ( orient ==Qt::Horizontal )
+ if ( orient ==TQt::Horizontal )
s.rheight() = 0;
else
s.rwidth() = 0;
@@ -917,12 +917,12 @@ void Spacer::setSizeHint( const TQSize &s )
updateGeometry();
}
-Qt::Orientation Spacer::orientation() const
+TQt::Orientation Spacer::orientation() const
{
return orient;
}
-void Spacer::setOrientation( Qt::Orientation o )
+void Spacer::setOrientation( TQt::Orientation o )
{
if ( orient == o )
return;
diff --git a/kommander/editor/layout.h b/kommander/editor/layout.h
index ee266127..a630b601 100644
--- a/kommander/editor/layout.h
+++ b/kommander/editor/layout.h
@@ -33,7 +33,7 @@ class TQPaintEvent;
class Layout : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -111,7 +111,7 @@ protected:
class Spacer : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_OVERRIDE( TQCString name )
@@ -156,7 +156,7 @@ protected:
class QDesignerGridLayout : public TQGridLayout
{
- Q_OBJECT
+ TQ_OBJECT
public:
QDesignerGridLayout( TQWidget *parent ) : TQGridLayout( parent ){};
diff --git a/kommander/editor/listboxeditorimpl.cpp b/kommander/editor/listboxeditorimpl.cpp
index 047bc4f8..32c94d95 100644
--- a/kommander/editor/listboxeditorimpl.cpp
+++ b/kommander/editor/listboxeditorimpl.cpp
@@ -35,7 +35,7 @@
ListBoxEditor::ListBoxEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: ListBoxEditorBase( parent, 0, true ), formwindow( fw )
{
- connect( helpButton, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( helpButton, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
listbox = (TQListBox*)editWidget;
itemText->setText( "" );
diff --git a/kommander/editor/listboxeditorimpl.h b/kommander/editor/listboxeditorimpl.h
index ec2376c0..677165ad 100644
--- a/kommander/editor/listboxeditorimpl.h
+++ b/kommander/editor/listboxeditorimpl.h
@@ -28,7 +28,7 @@ class FormWindow;
class ListBoxEditor : public ListBoxEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/listeditor.ui b/kommander/editor/listeditor.ui
index fd37c1f8..636cfb86 100644
--- a/kommander/editor/listeditor.ui
+++ b/kommander/editor/listeditor.ui
@@ -133,7 +133,7 @@
<forwards>
<forward>class TQStringList;</forward>
</forwards>
-<Q_SLOTS>
+<slots>
<slot>init()</slot>
<slot>setList( const TQStringList &amp; l )</slot>
<slot>addItem()</slot>
@@ -141,7 +141,7 @@
<slot>removeItems()</slot>
<slot returnType="TQStringList">items()</slot>
<slot>renameItem()</slot>
-</Q_SLOTS>
+</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kommander/editor/listvieweditorimpl.cpp b/kommander/editor/listvieweditorimpl.cpp
index 83422997..8021d242 100644
--- a/kommander/editor/listvieweditorimpl.cpp
+++ b/kommander/editor/listvieweditorimpl.cpp
@@ -40,7 +40,7 @@
ListViewEditor::ListViewEditor( TQWidget *parent, TQListView *lv, FormWindow *fw )
: ListViewEditorBase( parent, 0, true ), listview( lv ), formwindow( fw )
{
- connect( helpButton, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( helpButton, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
itemText->setEnabled( false );
itemChoosePixmap->setEnabled( false );
itemDeletePixmap->setEnabled( false );
diff --git a/kommander/editor/listvieweditorimpl.h b/kommander/editor/listvieweditorimpl.h
index 15aecaf8..a64e7883 100644
--- a/kommander/editor/listvieweditorimpl.h
+++ b/kommander/editor/listvieweditorimpl.h
@@ -31,7 +31,7 @@ class FormWindow;
class ListViewEditor : public ListViewEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/mainwindow.cpp b/kommander/editor/mainwindow.cpp
index 0abb7de2..fd5059ec 100644
--- a/kommander/editor/mainwindow.cpp
+++ b/kommander/editor/mainwindow.cpp
@@ -18,6 +18,14 @@
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef TQTDOCDIR
+#define TQTDOCDIR "/usr/share/tqt3/doc/html"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
@@ -118,10 +126,10 @@ static TQString textNoAccel(const TQString& text)
MainWindow::MainWindow(bool asClient)
: KParts::DockMainWindow(0, "mainwindow", WType_TopLevel | WDestructiveClose | WGroupLeader),
grd(10, 10), sGrid(true), snGrid(true), restoreConfig(true), splashScreen(true),
- docPath("$TQTDIR/doc/html"), client(asClient), databaseAutoEdit(false), previewing(false)
+ docPath(TQTDOCDIR), client(asClient), databaseAutoEdit(false), previewing(false)
{
m_partManager = new KParts::PartManager(this);
- //connect(m_partManager, TQT_SIGNAL(activePartChanged(KParts::Part * )), this, TQT_SLOT(slotActivePartChanged(KParts::Part * )));
+ //connect(m_partManager, TQ_SIGNAL(activePartChanged(KParts::Part * )), this, TQ_SLOT(slotActivePartChanged(KParts::Part * )));
init_colors();
inDebugMode = true; //debugging kommander
@@ -169,7 +177,7 @@ MainWindow::MainWindow(bool asClient)
as -= TQSize(30, 30);
resize(TQSize(1200, 1000).boundedTo(as));
- connect(kapp->clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(clipboardChanged()));
+ connect(kapp->clipboard(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(clipboardChanged()));
clipboardChanged();
layoutChilds = false;
layoutSelected = false;
@@ -179,24 +187,24 @@ MainWindow::MainWindow(bool asClient)
readConfig();
// hack to make WidgetFactory happy (so it knows TQWidget and TQDialog for resetting properties)
- TQWidget *w = WidgetFactory::create(WidgetDatabase::idFromClassName(TQWIDGET_OBJECT_NAME_STRING), this, 0, false);
+ TQWidget *w = WidgetFactory::create(WidgetDatabase::idFromClassName("TQWidget"), this, 0, false);
delete w;
w = WidgetFactory::create(WidgetDatabase::idFromClassName("Dialog"), this, 0, false);
delete w;
- w = WidgetFactory::create(WidgetDatabase::idFromClassName(TQLABEL_OBJECT_NAME_STRING), this, 0, false);
+ w = WidgetFactory::create(WidgetDatabase::idFromClassName("TQLabel"), this, 0, false);
delete w;
- w = WidgetFactory::create(WidgetDatabase::idFromClassName(TQTABWIDGET_OBJECT_NAME_STRING), this, 0, false);
+ w = WidgetFactory::create(WidgetDatabase::idFromClassName("TQTabWidget"), this, 0, false);
delete w;
- w = WidgetFactory::create(WidgetDatabase::idFromClassName(TQFRAME_OBJECT_NAME_STRING), this, 0, false);
+ w = WidgetFactory::create(WidgetDatabase::idFromClassName("TQFrame"), this, 0, false);
delete w;
- assistant = new AssistProc(TQT_TQOBJECT(this), "Internal Assistant", assistantPath());
+ assistant = new AssistProc(this, "Internal Assistant", assistantPath());
statusBar()->setSizeGripEnabled(true);
SpecialInformation::registerSpecials();
backupTimer = new TQTimer(this);
- connect(backupTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCreateBackups()));
+ connect(backupTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotCreateBackups()));
backupTimer->start(1000*60*5); //fire it every five minutes
//createGUI(0);
@@ -227,8 +235,8 @@ void MainWindow::setupMDI()
PixmapChooser::NoSize));
qworkspace->setPaletteBackgroundColor(TQColor(238, 238, 238));
qworkspace->setScrollBarsEnabled(true);
- connect(qworkspace, TQT_SIGNAL(windowActivated(TQWidget *)),
- this, TQT_SLOT(activeWindowChanged(TQWidget *)));
+ connect(qworkspace, TQ_SIGNAL(windowActivated(TQWidget *)),
+ this, TQ_SLOT(activeWindowChanged(TQWidget *)));
lastActiveFormWindow = 0;
qworkspace->setAcceptDrops(true);
}
@@ -286,7 +294,7 @@ void MainWindow::setupWorkspace()
QCompletionEdit *edit = new QCompletionEdit(vbox);
TQToolTip::add(edit, i18n("Start typing the buffer you want to switch to here (ALT+B)"));
TQAccel *a = new TQAccel(this);
- a->connectItem(a->insertItem(ALT + Key_B), edit, TQT_SLOT(setFocus()));
+ a->connectItem(a->insertItem(ALT + Key_B), edit, TQ_SLOT(setFocus()));
wspace = new Workspace(vbox, this);
wspace->setBufferEdit(edit);
dw->setWidget(vbox);
@@ -417,7 +425,7 @@ void MainWindow::runForm()
while ((editor = it.current()) != 0L)
{
++it;
- static_cast<AssocTextEditor*>(TQT_TQWIDGET(editor))->save();
+ static_cast<AssocTextEditor*>(editor)->save();
}
delete editors;
@@ -452,75 +460,11 @@ void MainWindow::runForm()
TDEProcess* process = new TDEProcess;
process->setUseShell(true);
(*process) << "kmdr-executor" << TQString("\"%1\"").arg(form->formFile()->fileName());
- connect(process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), messageLog,
- TQT_SLOT(receivedStdout(TDEProcess*, char*, int)));
- connect(process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), messageLog,
- TQT_SLOT(receivedStderr(TDEProcess*, char*, int)));
- connect(process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(closeRunningForm(TDEProcess*)));
- messageLog->clear(MessageLog::All);
- previewing = process->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput);
- }
-}
-
-
-void MainWindow::runForm4()
-{
- if (previewing)
- {
- KMessageBox::information(this, i18n("There is a dialog already running."), i18n("Run"));
- return;
- }
- FormWindow* form = activeForm();
- if (!form || !form->formFile())
- return;
-
- TQObjectList *editors = queryList("AssocTextEditor");
- TQObjectListIt it(*editors);
- TQObject *editor;
-
- while ((editor = it.current()) != 0L)
- {
- ++it;
- static_cast<AssocTextEditor*>(TQT_TQWIDGET(editor))->save();
- }
- delete editors;
-
- if (form->formFile()->hasTempFileName())
- {
- if (!form->formFile()->saveAs())
- return;
- }
-
- m_fileName = form->formFile()->fileName();
- m_backupName = m_fileName + ".running";
- m_modified = form->formFile()->isModified();
-
- bool readOnlyFile = !TQFileInfo(m_fileName).isWritable();
- struct stat statbuf;
- ::stat(m_fileName.local8Bit(), &statbuf);
- if (!readOnlyFile && !TDEIO::NetAccess::file_copy(KURL::fromPathOrURL(m_fileName), KURL::fromPathOrURL(m_backupName), statbuf.st_mode, true))
- {
- KMessageBox::error(this, i18n("<qt>Cannot create temporary file <i>%1</i>.</qt>").arg(m_backupName));
- return;
- }
- form->formFile()->setFileName(m_fileName);
- if (!readOnlyFile || m_modified)
- form->formFile()->setModified(true);
- if (form->formFile()->save(false))
- {
- if (!readOnlyFile && !TDEIO::NetAccess::file_copy(KURL::fromPathOrURL(m_fileName), KURL::fromPathOrURL(m_fileName + ".backup"), statbuf.st_mode, true))
- {
- KMessageBox::error(this, i18n("<qt>Cannot create backup file <i>%1</i>.</qt>").arg(m_fileName + ".backup"));
- }
- ::chmod(m_fileName.local8Bit(), S_IRWXU);
- TDEProcess* process = new TDEProcess;
- process->setUseShell(true);
- (*process) << "kommander" << TQString("\"%1\"").arg(form->formFile()->fileName());
- connect(process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), messageLog,
- TQT_SLOT(receivedStdout(TDEProcess*, char*, int)));
- connect(process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), messageLog,
- TQT_SLOT(receivedStderr(TDEProcess*, char*, int)));
- connect(process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(closeRunningForm(TDEProcess*)));
+ connect(process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), messageLog,
+ TQ_SLOT(receivedStdout(TDEProcess*, char*, int)));
+ connect(process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), messageLog,
+ TQ_SLOT(receivedStderr(TDEProcess*, char*, int)));
+ connect(process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(closeRunningForm(TDEProcess*)));
messageLog->clear(MessageLog::All);
previewing = process->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput);
}
@@ -554,9 +498,9 @@ void MainWindow::showProperties(TQObject *o)
}
TQWidget *w = (TQWidget*)o;
setupHierarchyView();
- FormWindow *fw = (FormWindow*)isAFormWindowChild(TQT_TQOBJECT(w));
+ FormWindow *fw = (FormWindow*)isAFormWindowChild(w);
if (fw) {
- propertyEditor->setWidget(TQT_TQOBJECT(w), fw);
+ propertyEditor->setWidget(w, fw);
hierarchyView->setFormWindow(fw, w);
} else {
propertyEditor->setWidget(0, 0);
@@ -617,7 +561,7 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
}
break;
case TQEvent::MouseButtonPress:
- if (((TQMouseEvent*)e)->button() == Qt::MidButton && dynamic_cast<KommanderWidget *>(o))
+ if (((TQMouseEvent*)e)->button() == TQt::MidButton && dynamic_cast<KommanderWidget *>(o))
{
AssocTextEditor *editor = new AssocTextEditor((TQWidget*)o, formWindow(), propertyEditor, m_partManager,
this, "AssocTextEditor", false); //deletes itself!
@@ -630,28 +574,28 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
break;
if (o && currentTool() == POINTER_TOOL && (o->inherits("QDesignerMenuBar") ||
o->inherits("QDesignerToolBar") ||
- (o->inherits(TQCOMBOBOX_OBJECT_NAME_STRING) || o->inherits(TQTOOLBUTTON_OBJECT_NAME_STRING) || o->inherits("QDesignerToolBarSeparator")) &&
+ (o->inherits("TQComboBox") || o->inherits("TQToolButton") || o->inherits("QDesignerToolBarSeparator")) &&
o->parent() && o->parent()->inherits("QDesignerToolBar"))) {
TQWidget *w = (TQWidget*)o;
- if (w->inherits(TQTOOLBUTTON_OBJECT_NAME_STRING) || w->inherits(TQCOMBOBOX_OBJECT_NAME_STRING) || w->inherits("QDesignerToolBarSeparator"))
+ if (w->inherits("TQToolButton") || w->inherits("TQComboBox") || w->inherits("QDesignerToolBarSeparator"))
w = w->parentWidget();
TQWidget *pw = w->parentWidget();
while (pw) {
if (pw->inherits("FormWindow")) {
- ((FormWindow*)pw)->emitShowProperties(TQT_TQOBJECT(w));
+ ((FormWindow*)pw)->emitShowProperties(w);
if (!o->inherits("QDesignerToolBar"))
- return !o->inherits(TQTOOLBUTTON_OBJECT_NAME_STRING) && !o->inherits(TQMENUBAR_OBJECT_NAME_STRING) &&
- !o->inherits(TQCOMBOBOX_OBJECT_NAME_STRING) && !o->inherits("QDesignerToolBarSeparator");
+ return !o->inherits("TQToolButton") && !o->inherits("TQMenuBar") &&
+ !o->inherits("TQComboBox") && !o->inherits("QDesignerToolBarSeparator");
}
pw = pw->parentWidget();
}
}
- if (o && (o->inherits("QDesignerToolBar") || o->inherits(TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING))
+ if (o && (o->inherits("QDesignerToolBar") || o->inherits("TQDockWindowHandle"))
&& e->type() == TQEvent::ContextMenu)
break;
if (isAToolBarChild(o) && currentTool() != CONNECT_TOOL)
break;
- if (o && o->inherits(TQSIZEGRIP_OBJECT_NAME_STRING))
+ if (o && o->inherits("TQSizeGrip"))
break;
if (!(w = isAFormWindowChild(o)) || o->inherits("SizeHandle") || o->inherits("OrderIndicator"))
break;
@@ -669,7 +613,7 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
}
lastPressWidget = (TQWidget*)o;
if (passiveInteractor)
- TQTimer::singleShot(0, formWindow(), TQT_SLOT(visibilityChanged()));
+ TQTimer::singleShot(0, formWindow(), TQ_SLOT(visibilityChanged()));
if (currentTool() == CONNECT_TOOL)
return true;
return !passiveInteractor;
@@ -677,7 +621,7 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
lastPressWidget = 0;
if (isAToolBarChild(o) && currentTool() != CONNECT_TOOL)
break;
- if (o && o->inherits(TQSIZEGRIP_OBJECT_NAME_STRING))
+ if (o && o->inherits("TQSizeGrip"))
break;
if (!(w = isAFormWindowChild(o)) || o->inherits("SizeHandle") || o->inherits("OrderIndicator"))
break;
@@ -685,7 +629,7 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
((FormWindow*)w)->handleMouseRelease((TQMouseEvent*)e, ((FormWindow*)w)->designerWidget(o));
if (passiveInteractor) {
selectionChanged();
- TQTimer::singleShot(0, formWindow(), TQT_SLOT(visibilityChanged()));
+ TQTimer::singleShot(0, formWindow(), TQ_SLOT(visibilityChanged()));
}
return !passiveInteractor;
case TQEvent::MouseMove:
@@ -694,10 +638,10 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
w = isAFormWindowChild(o);
if (lastPressWidget != (TQWidget*)o && w &&
!o->inherits("SizeHandle") && !o->inherits("OrderIndicator") &&
- !o->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) && !o->inherits(TQMENUBAR_OBJECT_NAME_STRING) &&
- !o->inherits(TQSIZEGRIP_OBJECT_NAME_STRING))
+ !o->inherits("TQPopupMenu") && !o->inherits("TQMenuBar") &&
+ !o->inherits("TQSizeGrip"))
return true;
- if (o && o->inherits(TQSIZEGRIP_OBJECT_NAME_STRING))
+ if (o && o->inherits("TQSizeGrip"))
break;
if (lastPressWidget != (TQWidget*)o ||
(!w || o->inherits("SizeHandle") || o->inherits("OrderIndicator")))
@@ -718,8 +662,8 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
break;
case TQEvent::MouseButtonDblClick:
if (!(w = isAFormWindowChild(o)) || o->inherits("SizeHandle") || o->inherits("OrderIndicator")) {
- if (o && o->inherits(TQTOOLBUTTON_OBJECT_NAME_STRING) && ((TQToolButton*)o)->isOn() &&
- o->parent() && o->parent()->inherits(TQTOOLBAR_OBJECT_NAME_STRING) && formWindow())
+ if (o && o->inherits("TQToolButton") && ((TQToolButton*)o)->isOn() &&
+ o->parent() && o->parent()->inherits("TQToolBar") && formWindow())
formWindow()->setToolFixed();
break;
}
@@ -740,8 +684,8 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
case TQEvent::Hide:
if (!(w = isAFormWindowChild(o)) || o->inherits("SizeHandle") || o->inherits("OrderIndicator"))
break;
- if (((FormWindow*)w)->isWidgetSelected(TQT_TQOBJECT(o)))
- ((FormWindow*)w)->selectWidget(TQT_TQOBJECT(o), false);
+ if (((FormWindow*)w)->isWidgetSelected(o))
+ ((FormWindow*)w)->selectWidget(o, false);
break;
case TQEvent::Enter:
case TQEvent::Leave:
@@ -761,25 +705,25 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
case TQEvent::Close:
break;
case TQEvent::DragEnter:
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(qWorkspace()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(workspace()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(workspace()->viewport())) {
+ if (o == qWorkspace() || o == workspace() || o == workspace()->viewport()) {
workspace()->contentsDragEnterEvent((TQDragEnterEvent*)e);
return true;
}
break;
case TQEvent::DragMove:
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(qWorkspace()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(workspace()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(workspace()->viewport())) {
+ if (o == qWorkspace() || o == workspace() || o == workspace()->viewport()) {
workspace()->contentsDragMoveEvent((TQDragMoveEvent*)e);
return true;
}
break;
case TQEvent::Drop:
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(qWorkspace()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(workspace()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(workspace()->viewport())) {
+ if (o == qWorkspace() || o == workspace() || o == workspace()->viewport()) {
workspace()->contentsDropEvent((TQDropEvent*)e);
return true;
}
break;
case TQEvent::Show:
- if (TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(this))
+ if (o != this)
break;
if (((TQShowEvent*)e)->spontaneous())
break;
@@ -808,7 +752,7 @@ bool MainWindow::eventFilter(TQObject *o, TQEvent *e)
TQWidget *MainWindow::isAFormWindowChild(TQObject *o) const
{
- if (o->parent() && o->parent()->inherits(TQWIZARD_OBJECT_NAME_STRING) && !o->inherits(TQPUSHBUTTON_OBJECT_NAME_STRING))
+ if (o->parent() && o->parent()->inherits("TQWizard") && !o->inherits("TQPushButton"))
return 0;
while (o) {
if (o->inherits("FormWindow"))
@@ -859,16 +803,16 @@ void MainWindow::insertFormWindow(FormWindow *fw)
"<p>You can have several forms open, and all open forms are listed "
"in the <b>Form List</b>."));
- connect(fw, TQT_SIGNAL(showProperties(TQObject *)),
- this, TQT_SLOT(showProperties(TQObject *)));
- connect(fw, TQT_SIGNAL(updateProperties(TQObject *)),
- this, TQT_SLOT(updateProperties(TQObject *)));
- connect(this, TQT_SIGNAL(currentToolChanged()),
- fw, TQT_SLOT(currentToolChanged()));
- connect(fw, TQT_SIGNAL(selectionChanged()),
- this, TQT_SLOT(selectionChanged()));
- connect(fw, TQT_SIGNAL(undoRedoChanged(bool, bool, const TQString &, const TQString &)),
- this, TQT_SLOT(updateUndoRedo(bool, bool, const TQString &, const TQString &)));
+ connect(fw, TQ_SIGNAL(showProperties(TQObject *)),
+ this, TQ_SLOT(showProperties(TQObject *)));
+ connect(fw, TQ_SIGNAL(updateProperties(TQObject *)),
+ this, TQ_SLOT(updateProperties(TQObject *)));
+ connect(this, TQ_SIGNAL(currentToolChanged()),
+ fw, TQ_SLOT(currentToolChanged()));
+ connect(fw, TQ_SIGNAL(selectionChanged()),
+ this, TQ_SLOT(selectionChanged()));
+ connect(fw, TQ_SIGNAL(undoRedoChanged(bool, bool, const TQString &, const TQString &)),
+ this, TQ_SLOT(updateUndoRedo(bool, bool, const TQString &, const TQString &)));
fw->show();
fw->currentToolChanged();
@@ -877,7 +821,7 @@ void MainWindow::insertFormWindow(FormWindow *fw)
fw->mainContainer()->setCaption(fw->caption());
WidgetFactory::saveDefaultProperties(fw->mainContainer(),
WidgetDatabase::
- idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(fw->mainContainer()))));
+ idFromClassName(WidgetFactory::classNameOf(fw->mainContainer())));
activeWindowChanged(fw);
emit formWindowsChanged();
}
@@ -1013,18 +957,18 @@ void MainWindow::popupWidgetMenu(const TQPoint &gp, FormWindow * /*fw*/, TQWidge
void MainWindow::setupRMBProperties(TQValueList<int> &ids, TQMap<TQString, int> &props, TQWidget *w)
{
const TQMetaProperty* text = w->metaObject()->property(w->metaObject()->findProperty("text", true), true);
- if (text && qstrcmp(text->type(), TQSTRING_OBJECT_NAME_STRING) != 0)
+ if (text && qstrcmp(text->type(), "TQString") != 0)
text = 0;
const TQMetaProperty* title = w->metaObject()->property(w->metaObject()->findProperty("title", true), true);
- if (title && qstrcmp(title->type(), TQSTRING_OBJECT_NAME_STRING) != 0)
+ if (title && qstrcmp(title->type(), "TQString") != 0)
title = 0;
const TQMetaProperty* pagetitle =
w->metaObject()->property(w->metaObject()->findProperty("pageTitle", true), true);
- if (pagetitle && qstrcmp(pagetitle->type(), TQSTRING_OBJECT_NAME_STRING) != 0)
+ if (pagetitle && qstrcmp(pagetitle->type(), "TQString") != 0)
pagetitle = 0;
const TQMetaProperty* pixmap =
w->metaObject()->property(w->metaObject()->findProperty("pixmap", true), true);
- if (pixmap && qstrcmp(pixmap->type(), TQPIXMAP_OBJECT_NAME_STRING) != 0)
+ if (pixmap && qstrcmp(pixmap->type(), "TQPixmap") != 0)
pixmap = 0;
if (text && text->designable(w) ||
@@ -1038,7 +982,7 @@ void MainWindow::setupRMBProperties(TQValueList<int> &ids, TQMap<TQString, int>
ids << (id = rmbWidgets->insertItem(i18n("Choose Pixmap..."), -1, 0));
props.insert("pixmap", id);
}
- if (text && text->designable(w) && !w->inherits(TQTEXTEDIT_OBJECT_NAME_STRING)) {
+ if (text && text->designable(w) && !w->inherits("TQTextEdit")) {
ids << (id = rmbWidgets->insertItem(i18n("Edit Text..."), -1, 0));
props.insert("text", id);
}
@@ -1068,7 +1012,7 @@ void MainWindow::setupRMBSpecialCommands(TQValueList<int> &ids, TQMap<TQString,
commands.insert("assoc", id);
}
- if (w->inherits(TQTABWIDGET_OBJECT_NAME_STRING)) {
+ if (w->inherits("TQTabWidget")) {
if (ids.isEmpty())
ids << rmbWidgets->insertSeparator(0);
if (((QDesignerTabWidget*)w)->count() > 1) {
@@ -1078,7 +1022,7 @@ void MainWindow::setupRMBSpecialCommands(TQValueList<int> &ids, TQMap<TQString,
ids << (id = rmbWidgets->insertItem(i18n("Add Page"), -1, 0));
commands.insert("add", id);
}
- if (w->inherits(TQTOOLBOX_OBJECT_NAME_STRING)) {
+ if (w->inherits("TQToolBox")) {
if (ids.isEmpty())
ids << rmbWidgets->insertSeparator(0);
if (((TQToolBox*)w)->count() > 1) {
@@ -1088,7 +1032,7 @@ void MainWindow::setupRMBSpecialCommands(TQValueList<int> &ids, TQMap<TQString,
ids << (id = rmbWidgets->insertItem(i18n("Add Page"), -1, 0));
commands.insert("add", id);
}
- if (WidgetFactory::hasSpecialEditor(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w)))))
+ if (WidgetFactory::hasSpecialEditor(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w))))
{
if (ids.isEmpty())
ids << rmbWidgets->insertSeparator(0);
@@ -1113,7 +1057,7 @@ void MainWindow::setupRMBSpecialCommands(TQValueList<int> &ids, TQMap<TQString,
commands.insert("assoc", id);
}
- if (fw->mainContainer()->inherits(TQWIZARD_OBJECT_NAME_STRING)) {
+ if (fw->mainContainer()->inherits("TQWizard")) {
if (ids.isEmpty())
ids << rmbFormWindow->insertSeparator(0);
@@ -1131,7 +1075,7 @@ void MainWindow::setupRMBSpecialCommands(TQValueList<int> &ids, TQMap<TQString,
ids << (id = rmbFormWindow->insertItem(i18n("Edit Pages..."), -1, 0));
commands.insert("edit", id);
- } else if (fw->mainContainer()->inherits(TQMAINWINDOW_OBJECT_NAME_STRING)) {
+ } else if (fw->mainContainer()->inherits("TQMainWindow")) {
if (ids.isEmpty())
ids << rmbFormWindow->insertSeparator(0);
ids << (id = rmbFormWindow->insertItem(i18n("Add Menu Item"), -1, 0));
@@ -1146,7 +1090,7 @@ void MainWindow::handleRMBProperties(int id, TQMap<TQString, int> &props, TQWidg
if (id == props[ "text" ]) {
bool ok = false;
TQString text;
- if (w->inherits(TQTEXTVIEW_OBJECT_NAME_STRING) || w->inherits(TQLABEL_OBJECT_NAME_STRING)) {
+ if (w->inherits("TQTextView") || w->inherits("TQLabel")) {
text = TextEditor::getText(this, w->property("text").toString());
ok = !text.isEmpty();
} else {
@@ -1154,48 +1098,48 @@ void MainWindow::handleRMBProperties(int id, TQMap<TQString, int> &props, TQWidg
}
if (ok) {
TQString pn(i18n("Set the 'text' of '%1'").arg(w->name()));
- SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), TQT_TQOBJECT(w), propertyEditor,
+ SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), w, propertyEditor,
"text", w->property("text"),
text, TQString(), TQString());
cmd->execute();
formWindow()->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(w), "text", true);
+ MetaDataBase::setPropertyChanged(w, "text", true);
}
} else if (id == props[ "title" ]) {
bool ok = false;
TQString title = KInputDialog::getText(i18n("Title"), i18n("New title:"), w->property("title").toString(), &ok, this);
if (ok) {
TQString pn(i18n("Set the 'title' of '%1'").arg(w->name()));
- SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), TQT_TQOBJECT(w), propertyEditor,
+ SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), w, propertyEditor,
"title", w->property("title"),
title, TQString(), TQString());
cmd->execute();
formWindow()->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(w), "title", true);
+ MetaDataBase::setPropertyChanged(w, "title", true);
}
} else if (id == props[ "pagetitle" ]) {
bool ok = false;
TQString text = KInputDialog::getText(i18n("Page Title"), i18n("New page title:"), w->property("pageTitle").toString(), &ok, this);
if (ok) {
TQString pn(i18n("Set the 'pageTitle' of '%1'").arg(w->name()));
- SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), TQT_TQOBJECT(w), propertyEditor,
+ SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), w, propertyEditor,
"pageTitle", w->property("pageTitle"),
text, TQString(), TQString());
cmd->execute();
formWindow()->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(w), "pageTitle", true);
+ MetaDataBase::setPropertyChanged(w, "pageTitle", true);
}
} else if (id == props[ "pixmap" ]) {
TQPixmap oldPix = TQVariant(w->property("pixmap")).toPixmap();
TQPixmap pix = qChoosePixmap(this, formWindow(), oldPix);
if (!pix.isNull()) {
TQString pn(i18n("Set the 'pixmap' of '%1'").arg(w->name()));
- SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), TQT_TQOBJECT(w), propertyEditor,
+ SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), w, propertyEditor,
"pixmap", w->property("pixmap"),
pix, TQString(), TQString());
cmd->execute();
formWindow()->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(w), "pixmap", true);
+ MetaDataBase::setPropertyChanged(w, "pixmap", true);
}
}
}
@@ -1211,7 +1155,7 @@ void MainWindow::handleRMBSpecialCommands(int id, TQMap<TQString, int> &commands
editor->show();
}
- if (w->inherits(TQTABWIDGET_OBJECT_NAME_STRING)) {
+ if (w->inherits("TQTabWidget")) {
TQTabWidget *tw = (TQTabWidget*)w;
if (id == commands[ "add" ]) {
AddTabPageCommand *cmd = new AddTabPageCommand(i18n("Add Page to %1").arg(tw->name()), formWindow(),
@@ -1229,7 +1173,7 @@ void MainWindow::handleRMBSpecialCommands(int id, TQMap<TQString, int> &commands
}
}
}
- if (w->inherits(TQTOOLBOX_OBJECT_NAME_STRING)) {
+ if (w->inherits("TQToolBox")) {
TQToolBox *tw = (TQToolBox*)w;
if (id == commands[ "add" ]) {
AddToolBoxPageCommand *cmd = new AddToolBoxPageCommand(i18n("Add Page to %1").arg(tw->name()), formWindow(),
@@ -1247,9 +1191,9 @@ void MainWindow::handleRMBSpecialCommands(int id, TQMap<TQString, int> &commands
}
}
}
- if (WidgetFactory::hasSpecialEditor(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w))))) {
+ if (WidgetFactory::hasSpecialEditor(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w)))) {
if (id == commands[ "edit" ])
- WidgetFactory::editWidget(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w))), this, w, formWindow());
+ WidgetFactory::editWidget(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w)), this, w, formWindow());
}
}
@@ -1264,7 +1208,7 @@ void MainWindow::handleRMBSpecialCommands(int id, TQMap<TQString, int> &commands
}
- if (fw->mainContainer()->inherits(TQWIZARD_OBJECT_NAME_STRING)) {
+ if (fw->mainContainer()->inherits("TQWizard")) {
TQWizard *wiz = (TQWizard*)fw->mainContainer();
if (id == commands[ "add" ]) {
AddWizardPageCommand *cmd = new AddWizardPageCommand(i18n("Add Page to %1").arg(wiz->name()), formWindow(),
@@ -1297,7 +1241,7 @@ void MainWindow::handleRMBSpecialCommands(int id, TQMap<TQString, int> &commands
cmd->execute();
}
}
- } else if (fw->mainContainer()->inherits(TQMAINWINDOW_OBJECT_NAME_STRING)) {
+ } else if (fw->mainContainer()->inherits("TQMainWindow")) {
TQMainWindow *mw = (TQMainWindow*)fw->mainContainer();
if (id == commands[ "add_toolbar" ]) {
AddToolBarCommand *cmd = new AddToolBarCommand(i18n("Add Toolbar to '%1'").arg(formWindow()->name()), formWindow(), mw);
@@ -1374,7 +1318,7 @@ void MainWindow::selectionChanged()
breakLayout = laidout > 0;
} else if (selectedWidgets == 1) {
TQWidget *w = widgets.first();
- bool isContainer = WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w)))) ||
+ bool isContainer = WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w))) ||
w == formWindow()->mainContainer();
actionEditAdjustSize->setEnabled(!w->parentWidget() ||
WidgetFactory::layoutType(w->parentWidget()) == WidgetFactory::NoLayout);
@@ -1384,7 +1328,7 @@ void MainWindow::selectionChanged()
actionEditVLayout->setEnabled(false);
actionEditGridLayout->setEnabled(false);
if (w->parentWidget() && WidgetFactory::layoutType(w->parentWidget()) != WidgetFactory::NoLayout) {
- actionEditBreakLayout->setEnabled(!isAToolBarChild(TQT_TQOBJECT(w)));
+ actionEditBreakLayout->setEnabled(!isAToolBarChild(w));
breakLayout = true;
} else {
actionEditBreakLayout->setEnabled(false);
@@ -1404,14 +1348,14 @@ void MainWindow::selectionChanged()
layoutChilds = true;
}
if (w->parentWidget() && WidgetFactory::layoutType(w->parentWidget()) != WidgetFactory::NoLayout) {
- actionEditBreakLayout->setEnabled(!isAToolBarChild(TQT_TQOBJECT(w)));
+ actionEditBreakLayout->setEnabled(!isAToolBarChild(w));
breakLayout = true;
}
} else {
actionEditHLayout->setEnabled(false);
actionEditVLayout->setEnabled(false);
actionEditGridLayout->setEnabled(false);
- actionEditBreakLayout->setEnabled(!isAToolBarChild(TQT_TQOBJECT(w)));
+ actionEditBreakLayout->setEnabled(!isAToolBarChild(w));
breakLayout = true;
}
}
@@ -1620,9 +1564,9 @@ ActionEditor *MainWindow::actioneditor() const
bool MainWindow::openEditor(TQWidget* w, FormWindow*)
{
- if (WidgetFactory::hasSpecialEditor(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w))))) {
+ if (WidgetFactory::hasSpecialEditor(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w)))) {
statusBar()->message(i18n("Edit %1...").arg(w->className()));
- WidgetFactory::editWidget(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w))), this, w, formWindow());
+ WidgetFactory::editWidget(WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w)), this, w, formWindow());
statusBar()->clear();
return true;
}
@@ -1632,7 +1576,7 @@ bool MainWindow::openEditor(TQWidget* w, FormWindow*)
if (text && text->designable(w)) {
bool ok = false;
TQString text;
- if (w->inherits(TQTEXTVIEW_OBJECT_NAME_STRING) || w->inherits(TQLABEL_OBJECT_NAME_STRING)) {
+ if (w->inherits("TQTextView") || w->inherits("TQLabel")) {
text = TextEditor::getText(this, w->property("text").toString());
ok = !text.isEmpty();
} else {
@@ -1640,12 +1584,12 @@ bool MainWindow::openEditor(TQWidget* w, FormWindow*)
}
if (ok) {
TQString pn(i18n("Set the 'text' of '%2'").arg(w->name()));
- SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), TQT_TQOBJECT(w), propertyEditor,
+ SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), w, propertyEditor,
"text", w->property("text"),
text, TQString(), TQString());
cmd->execute();
formWindow()->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(w), "text", true);
+ MetaDataBase::setPropertyChanged(w, "text", true);
}
return true;
}
@@ -1655,12 +1599,12 @@ bool MainWindow::openEditor(TQWidget* w, FormWindow*)
text = KInputDialog::getText(i18n("Title"), i18n("New title:"), w->property("title").toString(), &ok, this);
if (ok) {
TQString pn(i18n("Set the 'title' of '%2'").arg(w->name()));
- SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), TQT_TQOBJECT(w), propertyEditor,
+ SetPropertyCommand *cmd = new SetPropertyCommand(pn, formWindow(), w, propertyEditor,
"title", w->property("title"),
text, TQString(), TQString());
cmd->execute();
formWindow()->commandHistory()->addCommand(cmd);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(w), "title", true);
+ MetaDataBase::setPropertyChanged(w, "title", true);
}
return true;
}
diff --git a/kommander/editor/mainwindow.h b/kommander/editor/mainwindow.h
index 69f06c5f..1136faa2 100644
--- a/kommander/editor/mainwindow.h
+++ b/kommander/editor/mainwindow.h
@@ -67,7 +67,7 @@ namespace KParts {
class MainWindow : public KParts::DockMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -192,7 +192,6 @@ public slots:
void configureEditor();
void runForm();
- void runForm4();
private slots:
void activeWindowChanged( TQWidget *w );
diff --git a/kommander/editor/mainwindowactions.cpp b/kommander/editor/mainwindowactions.cpp
index 0c9d4643..d10c0c2f 100644
--- a/kommander/editor/mainwindowactions.cpp
+++ b/kommander/editor/mainwindowactions.cpp
@@ -19,10 +19,6 @@
#include "mainwindow.h"
-#ifdef TQT_NO_SQL
-#define TQT_NO_SQL
-#endif // TQT_NO_SQL
-
#include <tqapplication.h>
#include <tqclipboard.h>
#include <tqfileinfo.h>
@@ -96,77 +92,77 @@ int forms = 0;
void MainWindow::setupEditActions()
{
- actionEditUndo = KStdAction::undo(TQT_TQOBJECT(this), TQT_SLOT(editUndo()), actionCollection());
+ actionEditUndo = KStdAction::undo(this, TQ_SLOT(editUndo()), actionCollection());
actionEditUndo->setText(i18n("&Undo: Not Available"));
actionEditUndo->setToolTip(i18n("Undoes the last action"));
actionEditUndo->setWhatsThis(whatsThisFrom("Edit|Undo"));
actionEditUndo->setEnabled(false);
- actionEditRedo = KStdAction::redo(TQT_TQOBJECT(this), TQT_SLOT(editRedo()), actionCollection());
+ actionEditRedo = KStdAction::redo(this, TQ_SLOT(editRedo()), actionCollection());
actionEditRedo->setText(i18n("&Redo: Not Available"));
actionEditRedo->setToolTip(i18n("Redoes the last undone operation"));
actionEditRedo->setWhatsThis(whatsThisFrom("Edit|Redo"));
actionEditRedo->setEnabled(false);
- actionEditCut = KStdAction::cut(TQT_TQOBJECT(this), TQT_SLOT(editCut()), actionCollection());
+ actionEditCut = KStdAction::cut(this, TQ_SLOT(editCut()), actionCollection());
actionEditCut->setToolTip(i18n("Cuts the selected widgets and puts them on the clipboard"));
actionEditCut->setWhatsThis(whatsThisFrom("Edit|Cut"));
actionEditCut->setEnabled(false);
- actionEditCopy = KStdAction::copy(TQT_TQOBJECT(this), TQT_SLOT(editCopy()), actionCollection());
+ actionEditCopy = KStdAction::copy(this, TQ_SLOT(editCopy()), actionCollection());
actionEditCopy->setToolTip(i18n("Copies the selected widgets to the clipboard"));
actionEditCopy->setWhatsThis(whatsThisFrom("Edit|Copy"));
actionEditCopy->setEnabled(false);
- actionEditPaste = KStdAction::paste(TQT_TQOBJECT(this), TQT_SLOT(editPaste()), actionCollection());
+ actionEditPaste = KStdAction::paste(this, TQ_SLOT(editPaste()), actionCollection());
actionEditPaste->setToolTip(i18n("Pastes the clipboard's contents"));
actionEditPaste->setWhatsThis(whatsThisFrom("Edit|Paste"));
actionEditPaste->setEnabled(false);
- actionEditDelete = new TDEAction(i18n("Delete"), Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(editDelete()),
+ actionEditDelete = new TDEAction(i18n("Delete"), Key_Delete, this, TQ_SLOT(editDelete()),
actionCollection(), "edit_delete");
actionEditDelete->setToolTip(i18n("Deletes the selected widgets"));
actionEditDelete->setWhatsThis(whatsThisFrom("Edit|Delete"));
actionEditDelete->setEnabled(false);
- actionEditSelectAll = KStdAction::selectAll(TQT_TQOBJECT(this), TQT_SLOT(editSelectAll()), actionCollection());
+ actionEditSelectAll = KStdAction::selectAll(this, TQ_SLOT(editSelectAll()), actionCollection());
actionEditSelectAll->setToolTip(i18n("Selects all widgets"));
actionEditSelectAll->setWhatsThis(whatsThisFrom("Edit|Select All"));
actionEditRaise = new TDEAction(i18n("Bring to Front"), createIconSet("editraise.xpm"),
- TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(editRaise()), actionCollection(), "edit_raise");
+ TDEShortcut::null(), this, TQ_SLOT(editRaise()), actionCollection(), "edit_raise");
actionEditRaise->setToolTip(i18n("Raises the selected widgets"));
actionEditRaise->setEnabled(false);
actionEditLower = new TDEAction(i18n("Send to Back"), createIconSet("editlower.xpm"),
- TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(editLower()), actionCollection(), "edit_lower");
+ TDEShortcut::null(), this, TQ_SLOT(editLower()), actionCollection(), "edit_lower");
actionEditLower->setToolTip(i18n("Lowers the selected widgets"));
actionEditLower->setWhatsThis(i18n("Lowers the selected widgets"));
actionEditLower->setEnabled(false);
- actionEditFindGlobal = new TDEAction(i18n("Find in Form..."), CTRL + ALT + Key_F, TQT_TQOBJECT(this), TQT_SLOT(editFindGlobal()), actionCollection(), "edit_find_global");
+ actionEditFindGlobal = new TDEAction(i18n("Find in Form..."), CTRL + ALT + Key_F, this, TQ_SLOT(editFindGlobal()), actionCollection(), "edit_find_global");
actionEditFindGlobal->setToolTip(i18n("Search for a text in the whole form."));
actionEditFindGlobal->setWhatsThis(whatsThisFrom("Edit|Find in Form"));
- connect(this, TQT_SIGNAL(hasActiveForm(bool)), actionEditFindGlobal, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveForm(bool)), actionEditFindGlobal, TQ_SLOT(setEnabled(bool)));
- actionEditAccels = new TDEAction(i18n("Check Accelerators"), ALT + Key_R, TQT_TQOBJECT(this), TQT_SLOT(editAccels()),
+ actionEditAccels = new TDEAction(i18n("Check Accelerators"), ALT + Key_R, this, TQ_SLOT(editAccels()),
actionCollection(), "edit_check_accel");
actionEditAccels->setToolTip(i18n("Checks if the accelerators used in the form are unique"));
actionEditAccels->setWhatsThis(whatsThisFrom("Edit|Check Accelerator"));
- connect(this, TQT_SIGNAL(hasActiveForm(bool)), actionEditAccels, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveForm(bool)), actionEditAccels, TQ_SLOT(setEnabled(bool)));
actionEditConnections = new TDEAction(i18n("Connections"), createIconSet("connecttool.xpm"),
- TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(editConnections()), actionCollection(),
+ TDEShortcut::null(), this, TQ_SLOT(editConnections()), actionCollection(),
"edit_connections");
actionEditConnections->setToolTip(i18n("Opens a dialog for editing connections"));
actionEditConnections->setWhatsThis(whatsThisFrom("Edit|Connections"));
- connect(this, TQT_SIGNAL(hasActiveForm(bool)), actionEditConnections, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveForm(bool)), actionEditConnections, TQ_SLOT(setEnabled(bool)));
actionEditFormSettings = new TDEAction(i18n("Form Settings..."), TDEShortcut::null(),
- TQT_TQOBJECT(this), TQT_SLOT(editFormSettings()), actionCollection(), "edit_form");
+ this, TQ_SLOT(editFormSettings()), actionCollection(), "edit_form");
actionEditFormSettings->setToolTip(i18n("Opens a dialog to change the form's settings"));
actionEditFormSettings->setWhatsThis(whatsThisFrom("Edit|Form Settings"));
- connect(this, TQT_SIGNAL(hasActiveForm(bool)), actionEditFormSettings, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveForm(bool)), actionEditFormSettings, TQ_SLOT(setEnabled(bool)));
TDEToolBar *tb = new TDEToolBar(this, "Edit");
tb->setFullSize(false);
@@ -202,50 +198,50 @@ void MainWindow::setupEditActions()
void MainWindow::setupLayoutActions()
{
actionEditAdjustSize = new TDEAction(i18n("Adjust Size"), createIconSet("adjustsize.xpm"),
- CTRL + Key_J, TQT_TQOBJECT(this), TQT_SLOT(editAdjustSize()), actionCollection(), "edit_adjust_size");
+ CTRL + Key_J, this, TQ_SLOT(editAdjustSize()), actionCollection(), "edit_adjust_size");
actionEditAdjustSize->setToolTip(i18n("Adjusts the size of the selected widget"));
actionEditAdjustSize->setWhatsThis(whatsThisFrom("Layout|Adjust Size"));
actionEditAdjustSize->setEnabled(false);
actionEditHLayout = new TDEAction(i18n("Lay Out Horizontally"), createIconSet("edithlayout.xpm"),
- CTRL + Key_H, TQT_TQOBJECT(this), TQT_SLOT(editLayoutHorizontal()), actionCollection(), "edit_layout_h");
+ CTRL + Key_H, this, TQ_SLOT(editLayoutHorizontal()), actionCollection(), "edit_layout_h");
actionEditHLayout->setToolTip(i18n("Lays out the selected widgets horizontally"));
actionEditHLayout->setWhatsThis(whatsThisFrom("Layout|Lay Out Horizontally"));
actionEditHLayout->setEnabled(false);
actionEditVLayout = new TDEAction(i18n("Lay Out Vertically"), createIconSet("editvlayout.xpm"),
- CTRL + Key_L, TQT_TQOBJECT(this), TQT_SLOT(editLayoutVertical()), actionCollection(), "edit_layout_v");
+ CTRL + Key_L, this, TQ_SLOT(editLayoutVertical()), actionCollection(), "edit_layout_v");
actionEditVLayout->setToolTip(i18n("Lays out the selected widgets vertically"));
actionEditVLayout->setWhatsThis(whatsThisFrom("Layout|Lay Out Vertically"));
actionEditVLayout->setEnabled(false);
actionEditGridLayout = new TDEAction(i18n("Lay Out in a Grid"), createIconSet("editgrid.xpm"),
- CTRL + Key_G, TQT_TQOBJECT(this), TQT_SLOT(editLayoutGrid()), actionCollection(), "edit_layout_grid");
+ CTRL + Key_G, this, TQ_SLOT(editLayoutGrid()), actionCollection(), "edit_layout_grid");
actionEditGridLayout->setToolTip(i18n("Lays out the selected widgets in a grid"));
actionEditGridLayout->setWhatsThis(whatsThisFrom("Layout|Lay Out in a Grid"));
actionEditGridLayout->setEnabled(false);
actionEditSplitHorizontal = new TDEAction(i18n("Lay Out Horizontally in Splitter"), createIconSet("editvlayoutsplit.xpm"),
- TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(editLayoutHorizontalSplit()), actionCollection(),
+ TDEShortcut::null(), this, TQ_SLOT(editLayoutHorizontalSplit()), actionCollection(),
"edit_split_h");
actionEditSplitHorizontal->setToolTip(i18n("Lays out the selected widgets horizontally in a splitter"));
actionEditSplitHorizontal->setWhatsThis(whatsThisFrom("Layout|Lay Out Horizontally in Splitter"));
actionEditSplitHorizontal->setEnabled(false);
actionEditSplitVertical = new TDEAction(i18n("Lay Out Vertically in Splitter"), createIconSet("edithlayoutsplit.xpm"),
- TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(editLayoutVerticalSplit()), actionCollection(),
+ TDEShortcut::null(), this, TQ_SLOT(editLayoutVerticalSplit()), actionCollection(),
"edit_split_v");
actionEditSplitVertical->setToolTip(i18n("Lays out the selected widgets vertically in a splitter"));
actionEditSplitVertical->setWhatsThis(whatsThisFrom("Layout|Lay Out Vertically (in Splitter)"));
actionEditSplitVertical->setEnabled(false);
actionEditBreakLayout = new TDEAction(i18n("Break Layout"), createIconSet("editbreaklayout.xpm"),
- CTRL + Key_B, TQT_TQOBJECT(this), TQT_SLOT(editBreakLayout()), actionCollection(), "edit_break_layout");
+ CTRL + Key_B, this, TQ_SLOT(editBreakLayout()), actionCollection(), "edit_break_layout");
actionEditBreakLayout->setToolTip(i18n("Breaks the selected layout"));
actionEditBreakLayout->setWhatsThis(whatsThisFrom("Layout|Break Layout"));
int id = WidgetDatabase::idFromClassName("Spacer");
- TDEToggleAction *a = new TDEToggleAction(i18n("Spacer"), createIconSet("spacer.xpm"), TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(toolSelected()),
+ TDEToggleAction *a = new TDEToggleAction(i18n("Spacer"), createIconSet("spacer.xpm"), TDEShortcut::null(), this, TQ_SLOT(toolSelected()),
actionCollection(), TQString::number(id).latin1());
a->setExclusiveGroup("tool");
a->setText(i18n("Add ") + WidgetDatabase::className(id));
@@ -284,21 +280,21 @@ void MainWindow::setupLayoutActions()
void MainWindow::setupToolActions()
{
actionPointerTool = new TDEToggleAction(i18n("Pointer"), "arrow", Key_F2,
- TQT_TQOBJECT(this), TQT_SLOT(toolSelected()), actionCollection(),
+ this, TQ_SLOT(toolSelected()), actionCollection(),
TQString::number(POINTER_TOOL).latin1());
actionPointerTool->setToolTip(i18n("Selects the pointer tool"));
actionPointerTool->setWhatsThis(whatsThisFrom("Tools|Pointer"));
actionPointerTool->setExclusiveGroup("tool");
actionConnectTool = new TDEToggleAction(i18n("Connect Signal/Slots"), createIconSet("connecttool.xpm"),
- Key_F3, TQT_TQOBJECT(this), TQT_SLOT(toolSelected()), actionCollection(),
+ Key_F3, this, TQ_SLOT(toolSelected()), actionCollection(),
TQString::number(CONNECT_TOOL).latin1());
actionConnectTool->setToolTip(i18n("Selects the connection tool"));
actionConnectTool->setWhatsThis(whatsThisFrom("Tools|Connect Signals and Slots"));
actionConnectTool->setExclusiveGroup("tool");
actionOrderTool = new TDEToggleAction(i18n("Tab Order"), createIconSet("ordertool.xpm"),
- Key_F4, TQT_TQOBJECT(this), TQT_SLOT(toolSelected()), actionCollection(),
+ Key_F4, this, TQ_SLOT(toolSelected()), actionCollection(),
TQString::number(ORDER_TOOL).latin1());
actionOrderTool->setToolTip(i18n("Selects the tab order tool"));
actionOrderTool->setWhatsThis(whatsThisFrom("Tools|Tab Order"));
@@ -348,7 +344,7 @@ void MainWindow::setupToolActions()
if (WidgetDatabase::group(i) != grp)
continue; // only widgets, i.e. not forms and temp stuff
TDEToggleAction *a = new TDEToggleAction(WidgetDatabase::className(i), TDEShortcut::null(),
- TQT_TQOBJECT(this), TQT_SLOT(toolSelected()), actionCollection(), TQString::number(i).latin1());
+ this, TQ_SLOT(toolSelected()), actionCollection(), TQString::number(i).latin1());
a->setExclusiveGroup("tool");
TQString atext = WidgetDatabase::className(i);
if (atext[0] == 'Q')
@@ -394,7 +390,7 @@ void MainWindow::setupToolActions()
continue;
TQString name = fi->baseName();
name = name.replace("_", " ");
- editMenu->insertItem(name, TQT_TQOBJECT(this), TQT_SLOT(editExternalTool(int)), 0, m_editorTools.count());
+ editMenu->insertItem(name, this, TQ_SLOT(editExternalTool(int)), 0, m_editorTools.count());
m_editorTools.append(fi->filePath());
}
}
@@ -414,54 +410,54 @@ void MainWindow::setupFileActions()
fileMenu = new TQPopupMenu(this, "File");
menuBar()->insertItem(i18n("&File"), fileMenu);
- TDEAction *a = KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(fileNew()), actionCollection());
+ TDEAction *a = KStdAction::openNew(this, TQ_SLOT(fileNew()), actionCollection());
a->setToolTip(i18n("Creates a new dialog"));
a->setWhatsThis(whatsThisFrom("File|New"));
a->plug(fileTb);
a->plug(fileMenu);
- a = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(fileOpen()), actionCollection());
+ a = KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection());
a->setToolTip(i18n("Opens an existing dialog"));
a->setWhatsThis(whatsThisFrom("File|Open"));
a->plug(fileTb);
a->plug(fileMenu);
- actionRecent = KStdAction::openRecent(TQT_TQOBJECT(this), TQT_SLOT(fileOpenRecent(const KURL&)), actionCollection());
+ actionRecent = KStdAction::openRecent(this, TQ_SLOT(fileOpenRecent(const KURL&)), actionCollection());
actionRecent->setToolTip(i18n("Opens recently open file"));
actionRecent->plug(fileMenu);
fileMenu->insertSeparator();
- a = KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(fileClose()), actionCollection());
+ a = KStdAction::close(this, TQ_SLOT(fileClose()), actionCollection());
a->setToolTip(i18n("Closes the current dialog"));
a->setWhatsThis(whatsThisFrom("File|Close"));
- connect(this, TQT_SIGNAL(hasActiveWindow(bool)), a, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveWindow(bool)), a, TQ_SLOT(setEnabled(bool)));
a->plug(fileMenu);
fileMenu->insertSeparator();
- a = KStdAction::save(TQT_TQOBJECT(this), TQT_SLOT(fileSave()), actionCollection());
+ a = KStdAction::save(this, TQ_SLOT(fileSave()), actionCollection());
a->setToolTip(i18n("Saves the current dialog"));
a->setWhatsThis(whatsThisFrom("File|Save"));
- connect(this, TQT_SIGNAL(hasActiveWindow(bool)), a, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveWindow(bool)), a, TQ_SLOT(setEnabled(bool)));
a->plug(fileTb);
a->plug(fileMenu);
- a = KStdAction::saveAs(TQT_TQOBJECT(this), TQT_SLOT(fileSaveAs()), actionCollection());
+ a = KStdAction::saveAs(this, TQ_SLOT(fileSaveAs()), actionCollection());
a->setToolTip(i18n("Saves the current dialog with a new filename"));
a->setWhatsThis(whatsThisFrom("File|Save As"));
- connect(this, TQT_SIGNAL(hasActiveWindow(bool)), a, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveWindow(bool)), a, TQ_SLOT(setEnabled(bool)));
a->plug(fileMenu);
- a = new TDEAction(i18n("Save All"), "save_all", TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(fileSaveAll()),
+ a = new TDEAction(i18n("Save All"), "save_all", TDEShortcut::null(), this, TQ_SLOT(fileSaveAll()),
actionCollection(), "file_close_all");
a->setToolTip(i18n("Saves all open dialogs"));
a->setWhatsThis(whatsThisFrom("File|Save All"));
- connect(this, TQT_SIGNAL(hasActiveWindow(bool)), a, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveWindow(bool)), a, TQ_SLOT(setEnabled(bool)));
a->plug(fileMenu);
fileMenu->insertSeparator();
- a = KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(closeAllWindows()), actionCollection());
+ a = KStdAction::quit(kapp, TQ_SLOT(closeAllWindows()), actionCollection());
a->setToolTip(i18n("Quits the application and prompts to save any changed dialogs"));
a->setWhatsThis(whatsThisFrom("File|Exit"));
a->plug(fileMenu);
@@ -474,20 +470,12 @@ void MainWindow::setupRunActions()
menuBar()->insertItem(i18n("&Run"), menu);
TDEAction* a = new TDEAction(i18n("Run Dialog"), "system-run", CTRL + Key_R,
- TQT_TQOBJECT(this), TQT_SLOT(runForm()), actionCollection(), "run");
+ this, TQ_SLOT(runForm()), actionCollection(), "run");
a->setToolTip(i18n("Executes dialog"));
a->setWhatsThis(whatsThisFrom("Run|Run dialog"));
- connect(this, TQT_SIGNAL(hasActiveForm(bool)), a, TQT_SLOT(setEnabled(bool)));
+ connect(this, TQ_SIGNAL(hasActiveForm(bool)), a, TQ_SLOT(setEnabled(bool)));
a->plug(fileTb);
a->plug(menu);
- // add KDE4 executor
-
- TDEAction* b = new TDEAction(i18n("Run Dialog K4"), "launch", CTRL + SHIFT + TQt::Key_R,
- TQT_TQOBJECT(this), TQT_SLOT(runForm4()), actionCollection(), "run4");
- b->setToolTip(i18n("Executes dialog in KDE4"));
- b->setWhatsThis(whatsThisFrom("Run|Run dialog"));
- connect(this, TQT_SIGNAL(hasActiveForm(bool)), b, TQT_SLOT(setEnabled(bool)));
- b->plug(menu);
}
void MainWindow::setupWindowActions()
@@ -497,39 +485,39 @@ void MainWindow::setupWindowActions()
{
windowActionsSetup = true;
- TDEAction* actionWindowTile = new TDEAction(i18n("Tile"), TDEShortcut::null(), TQT_TQOBJECT(qworkspace), TQT_SLOT(tile()),
+ TDEAction* actionWindowTile = new TDEAction(i18n("Tile"), TDEShortcut::null(), qworkspace, TQ_SLOT(tile()),
actionCollection(), "window_tile");
actionWindowTile->setToolTip(i18n("Tiles the windows so that they are all visible"));
actionWindowTile->setWhatsThis(whatsThisFrom("Window|Tile"));
- TDEAction* actionWindowCascade = new TDEAction(i18n("Cascade"), TDEShortcut::null(), TQT_TQOBJECT(qworkspace), TQT_SLOT(cascade()),
+ TDEAction* actionWindowCascade = new TDEAction(i18n("Cascade"), TDEShortcut::null(), qworkspace, TQ_SLOT(cascade()),
actionCollection(), "window_cascade");
actionWindowCascade->setToolTip(i18n("Cascades the windows so that all their title bars are visible"));
actionWindowCascade->setWhatsThis(whatsThisFrom("Window|Cascade"));
- TDEAction* actionWindowClose = new TDEAction(i18n("Cascade"), TDEShortcut::null(), TQT_TQOBJECT(qworkspace), TQT_SLOT(closeActiveWindow()),
+ TDEAction* actionWindowClose = new TDEAction(i18n("Cascade"), TDEShortcut::null(), qworkspace, TQ_SLOT(closeActiveWindow()),
actionCollection(), "window_close");
actionWindowClose->setToolTip(i18n("Closes the active window"));
actionWindowClose->setWhatsThis(whatsThisFrom("Window|Close"));
- TDEAction* actionWindowCloseAll = new TDEAction(i18n("Close All"), TDEShortcut::null(), TQT_TQOBJECT(qworkspace),
- TQT_SLOT(closeAllWindows()), actionCollection(), "window_close_all");
+ TDEAction* actionWindowCloseAll = new TDEAction(i18n("Close All"), TDEShortcut::null(), qworkspace,
+ TQ_SLOT(closeAllWindows()), actionCollection(), "window_close_all");
actionWindowCloseAll->setToolTip(i18n("Closes all form windows"));
actionWindowCloseAll->setWhatsThis(whatsThisFrom("Window|Close All"));
- TDEAction* actionWindowNext = new TDEAction(i18n("Next"), Key_F6, TQT_TQOBJECT(qworkspace),
- TQT_SLOT(activateNextWindow()), actionCollection(), "window_next");
+ TDEAction* actionWindowNext = new TDEAction(i18n("Next"), Key_F6, qworkspace,
+ TQ_SLOT(activateNextWindow()), actionCollection(), "window_next");
actionWindowNext->setToolTip(i18n("Activates the next window"));
actionWindowNext->setWhatsThis(whatsThisFrom("Window|Next"));
- TDEAction* actionWindowPrevious = new TDEAction(i18n("Previous"), CTRL + SHIFT + Key_F6, TQT_TQOBJECT(qworkspace),
- TQT_SLOT(activatePreviousWindow()), actionCollection(), "window_prev");
+ TDEAction* actionWindowPrevious = new TDEAction(i18n("Previous"), CTRL + SHIFT + Key_F6, qworkspace,
+ TQ_SLOT(activatePreviousWindow()), actionCollection(), "window_prev");
actionWindowPrevious->setToolTip(i18n("Activates the previous window"));
actionWindowPrevious->setWhatsThis(whatsThisFrom("Window|Previous"));
windowMenu = new TDEPopupMenu(this, "Window");
menuBar()->insertItem(i18n("&Window"), windowMenu);
- connect(windowMenu, TQT_SIGNAL(aboutToShow()), TQT_TQOBJECT(this), TQT_SLOT(setupWindowActions()));
+ connect(windowMenu, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(setupWindowActions()));
actionWindowClose->plug(windowMenu);
actionWindowCloseAll->plug(windowMenu);
@@ -566,7 +554,7 @@ void MainWindow::setupWindowActions()
else
itemText += w->caption();
- int id = windowMenu->insertItem(itemText, TQT_TQOBJECT(this), TQT_SLOT(windowsMenuActivated(int)));
+ int id = windowMenu->insertItem(itemText, this, TQ_SLOT(windowsMenuActivated(int)));
windowMenu->setItemParameter(id, i);
windowMenu->setItemChecked(id, qworkspace->activeWindow() == windows.at(i));
}
@@ -576,21 +564,21 @@ void MainWindow::setupWindowActions()
void MainWindow::setupSettingsActions()
{
TDEPopupMenu *settings = new TDEPopupMenu(this, "Settings");
- TDEAction* a = KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(editShortcuts()), actionCollection());
+ TDEAction* a = KStdAction::keyBindings(this, TQ_SLOT(editShortcuts()), actionCollection());
a->setToolTip(i18n("Opens a dialog to change shortcuts"));
a->plug(settings);
- a = new TDEAction(i18n("Configure &Plugins..."), TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(editPlugins()),
+ a = new TDEAction(i18n("Configure &Plugins..."), TDEShortcut::null(), this, TQ_SLOT(editPlugins()),
actionCollection(), "configure_plugins");
a->setToolTip(i18n("Opens a dialog to configure plugins"));
a->plug(settings);
- a = new TDEAction(i18n("&Configure Editor..."), TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT(configureEditor()),
+ a = new TDEAction(i18n("&Configure Editor..."), TDEShortcut::null(), this, TQ_SLOT(configureEditor()),
actionCollection(), "configure_editor");
a->setToolTip(i18n("Configure various aspects of this editor."));
a->plug(settings);
- a = KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(editPreferences()), actionCollection());
+ a = KStdAction::preferences(this, TQ_SLOT(editPreferences()), actionCollection());
a->setToolTip(i18n("Opens a dialog to change preferences"));
a->setWhatsThis(whatsThisFrom("Edit|Preferences"));
a->plug(settings);
@@ -785,20 +773,20 @@ void MainWindow::fileCreateTemplate()
for (i = 0; i < WidgetDatabase::count(); ++i)
{
if (WidgetDatabase::isContainer(i) && !WidgetDatabase::isForm(i) &&
- WidgetDatabase::className(i) != TQTABWIDGET_OBJECT_NAME_STRING && WidgetDatabase::widgetGroup(i) != "Temp")
+ WidgetDatabase::className(i) != "TQTabWidget" && WidgetDatabase::widgetGroup(i) != "Temp")
{
dia.listClass->insertItem(WidgetDatabase::className(i));
}
}
dia.editName->setText(i18n("NewTemplate"));
- connect(dia.buttonCreate, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(createNewTemplate()));
+ connect(dia.buttonCreate, TQ_SIGNAL(clicked()), this, TQ_SLOT(createNewTemplate()));
dia.exec();
}
void MainWindow::createNewTemplate()
{
- CreateTemplate *dia = (CreateTemplate *) TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->parent();
+ CreateTemplate *dia = (CreateTemplate *) sender()->parent();
TQString fn = dia->editName->text();
TQString cn = dia->listClass->currentText();
if (fn.isEmpty() || cn.isEmpty())
@@ -895,7 +883,7 @@ void MainWindow::editPaste()
w = l.first();
if (WidgetFactory::layoutType(w) != WidgetFactory::NoLayout ||
(!WidgetDatabase::isContainer(WidgetDatabase::idFromClassName(WidgetFactory::
- classNameOf(TQT_TQOBJECT(w)))) && w != formWindow()->mainContainer()))
+ classNameOf(w))) && w != formWindow()->mainContainer()))
w = formWindow()->mainContainer();
}
@@ -1102,7 +1090,7 @@ void MainWindow::editPreferences()
statusBar()->message(i18n("Edit preferences..."));
Preferences *dia = new Preferences(this, 0, true);
prefDia = dia;
- connect(dia->helpButton, TQT_SIGNAL(clicked()), MainWindow::self, TQT_SLOT(showDialogHelp()));
+ connect(dia->helpButton, TQ_SIGNAL(clicked()), MainWindow::self, TQ_SLOT(showDialogHelp()));
dia->buttonColor->setEditor(StyledButton::ColorEditor);
dia->buttonPixmap->setEditor(StyledButton::PixmapEditor);
dia->checkBoxShowGrid->setChecked(sGrid);
@@ -1123,7 +1111,7 @@ void MainWindow::editPreferences()
dia->checkBoxSplash->setChecked(splashScreen);
dia->editDocPath->setText(docPath);
dia->checkAutoEdit->setChecked(!databaseAutoEdit);
- connect(dia->buttonDocPath, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(chooseDocPath()));
+ connect(dia->buttonDocPath, TQ_SIGNAL(clicked()), this, TQ_SLOT(chooseDocPath()));
if (dia->exec() == TQDialog::Accepted)
{
@@ -1177,8 +1165,8 @@ void MainWindow::editExternalTool(int id)
{
TDEProcess* process = new TDEProcess;
(*process) << "kmdr-executor" << m_editorTools[id];
- connect(process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(editToolExited(TDEProcess*)));
- connect(process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQT_SLOT(editToolOutput(TDEProcess*, char*, int)));
+ connect(process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(editToolExited(TDEProcess*)));
+ connect(process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQ_SLOT(editToolOutput(TDEProcess*, char*, int)));
m_toolOutput = '\0';
process->start(TDEProcess::NotifyOnExit, TDEProcess::Stdout);
}
diff --git a/kommander/editor/messagelog.cpp b/kommander/editor/messagelog.cpp
index e6d13a21..cf8bdd25 100644
--- a/kommander/editor/messagelog.cpp
+++ b/kommander/editor/messagelog.cpp
@@ -31,19 +31,19 @@
MessageLog::MessageLog(TQWidget* parent, const char* name) : TQTabWidget(parent, name)
{
m_popupMenu = new TDEPopupMenu(this);
- m_popupMenu->insertItem(SmallIconSet("edit-copy"), i18n("Copy Current &Line"), this, TQT_SLOT(copyLine()));
- m_popupMenu->insertItem(SmallIconSet("edit-copy"), i18n("&Copy Content"), this, TQT_SLOT(copyContent()));
- m_popupMenu->insertItem(SmallIconSet("document-save-as"), i18n("&Save As..."), this, TQT_SLOT(saveToFile()));
+ m_popupMenu->insertItem(SmallIconSet("edit-copy"), i18n("Copy Current &Line"), this, TQ_SLOT(copyLine()));
+ m_popupMenu->insertItem(SmallIconSet("edit-copy"), i18n("&Copy Content"), this, TQ_SLOT(copyContent()));
+ m_popupMenu->insertItem(SmallIconSet("document-save-as"), i18n("&Save As..."), this, TQ_SLOT(saveToFile()));
m_popupMenu->insertSeparator();
- m_popupMenu->insertItem(SmallIconSet("edit-clear"), i18n("Clear"), this, TQT_SLOT(clearContent()));
+ m_popupMenu->insertItem(SmallIconSet("edit-clear"), i18n("Clear"), this, TQ_SLOT(clearContent()));
for (int i = 0; i < m_listCount; i++)
{
m_lists[i] = new TDEListBox(this);
addTab(m_lists[i], m_listNames[i]);
m_seenEOL[i] = false;
- connect(m_lists[i], TQT_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)),
- this, TQT_SLOT(showMenu(TQListBoxItem*, const TQPoint&)));
+ connect(m_lists[i], TQ_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)),
+ this, TQ_SLOT(showMenu(TQListBoxItem*, const TQPoint&)));
}
}
diff --git a/kommander/editor/messagelog.h b/kommander/editor/messagelog.h
index ea1c2aa0..b1d3e66c 100644
--- a/kommander/editor/messagelog.h
+++ b/kommander/editor/messagelog.h
@@ -28,7 +28,7 @@ class TQListBoxItem;
class MessageLog : public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum InfoType {Stdout, Stderr, All};
diff --git a/kommander/editor/metadatabase.cpp b/kommander/editor/metadatabase.cpp
index c84e1159..5c2d6681 100644
--- a/kommander/editor/metadatabase.cpp
+++ b/kommander/editor/metadatabase.cpp
@@ -280,9 +280,9 @@ int MetaDataBase::spacing( TQObject *o )
if ( !o )
return -1;
setupDataBase();
- if ( o->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
- o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
- MetaDataBaseRecord *r = db->find( TQT_TQOBJECT(o) );
+ if ( o->inherits( "TQMainWindow" ) )
+ o = ( (TQMainWindow*)o )->centralWidget();
+ MetaDataBaseRecord *r = db->find( o );
if ( !r || !o->isWidgetType() ) {
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
@@ -318,8 +318,8 @@ int MetaDataBase::margin( TQObject *o )
if ( !o )
return -1;
setupDataBase();
- if ( o->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
- o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
+ if ( o->inherits( "TQMainWindow" ) )
+ o = ( (TQMainWindow*)o )->centralWidget();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r || !o->isWidgetType() ) {
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
@@ -477,7 +477,7 @@ void MetaDataBase::doConnections( TQObject *o )
slotList.find( conn.slot ) == -1 )
continue;
- TQObject::connect( sender, s, receiver, s2 );
+ TQObject::connect( sender, s.utf8(), receiver, s2.utf8() );
}
}
@@ -652,7 +652,7 @@ bool MetaDataBase::hasSlot( TQObject *o, const TQCString &slot, bool onlyCustom
return true;
if ( o->inherits( "FormWindow" ) ) {
- o = TQT_TQOBJECT(( (FormWindow*)o )->mainContainer());
+ o = ( (FormWindow*)o )->mainContainer();
slotList = o->metaObject()->slotNames( true );
if ( slotList.find( slot ) != -1 )
return true;
@@ -1019,7 +1019,7 @@ bool MetaDataBase::CustomWidget::hasSignal( const TQCString &signal ) const
bool MetaDataBase::CustomWidget::hasSlot( const TQCString &slot ) const
{
TQStrList slotList = TQWidget::staticMetaObject()->slotNames( true );
- if ( slotList.find( normalizeSlot( slot ) ) != -1 )
+ if ( slotList.find( normalizeSlot(slot).utf8() ) != -1 )
return true;
for ( TQValueList<MetaDataBase::Slot>::ConstIterator it = lstSlots.begin(); it != lstSlots.end(); ++it ) {
diff --git a/kommander/editor/multilineeditorimpl.cpp b/kommander/editor/multilineeditorimpl.cpp
index 2dab19a1..158f5d9e 100644
--- a/kommander/editor/multilineeditorimpl.cpp
+++ b/kommander/editor/multilineeditorimpl.cpp
@@ -31,7 +31,7 @@
MultiLineEditor::MultiLineEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: MultiLineEditorBase( parent, 0, true ), formwindow( fw )
{
- connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( buttonHelp, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
mlined = (TQMultiLineEdit*)editWidget;
// #### complete list of properties here
preview->setAlignment( mlined->alignment() );
diff --git a/kommander/editor/multilineeditorimpl.h b/kommander/editor/multilineeditorimpl.h
index 3931cf90..c5c07366 100644
--- a/kommander/editor/multilineeditorimpl.h
+++ b/kommander/editor/multilineeditorimpl.h
@@ -28,7 +28,7 @@ class TQMultiLineEdit;
class MultiLineEditor : public MultiLineEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -46,7 +46,7 @@ private:
class TextEditor : public MultiLineEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/newform.ui b/kommander/editor/newform.ui
index 7b5a0938..4c2d3fa9 100644
--- a/kommander/editor/newform.ui
+++ b/kommander/editor/newform.ui
@@ -202,9 +202,9 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">itemChanged( TQIconViewItem * )</slot>
<slot access="protected">projectChanged( const TQString &amp; )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kommander/editor/newformimpl.cpp b/kommander/editor/newformimpl.cpp
index 7b8e330b..17e37001 100644
--- a/kommander/editor/newformimpl.cpp
+++ b/kommander/editor/newformimpl.cpp
@@ -56,8 +56,8 @@ void FormItem::insert()
TQString n = "Form" + TQString::number(++_forms);
FormWindow *fw = 0;
FormFile *ff = new FormFile(FormFile::createUnnamedFileName(), true);
- fw = new FormWindow(ff, MainWindow::self, MainWindow::self->qWorkspace(), n);
- MetaDataBase::addEntry(TQT_TQOBJECT(fw));
+ fw = new FormWindow(ff, MainWindow::self, MainWindow::self->qWorkspace(), n.utf8());
+ MetaDataBase::addEntry(fw);
TQWidget *w = 0L;
if (fType == Dialog)
{
@@ -72,7 +72,7 @@ void FormItem::insert()
if (w)
{
w->setProperty("useInternalParser", true);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(w), "useInternalParser", true);
+ MetaDataBase::setPropertyChanged(w, "useInternalParser", true);
}
fw->setCaption(n);
fw->resize(600, 480);
@@ -81,7 +81,7 @@ void FormItem::insert()
// the wizard might have changed a lot, lets update everything
MainWindow::self->actioneditor()->setFormWindow(fw);
MainWindow::self->objectHierarchy()->setFormWindow(fw, fw);
- fw->killAccels(TQT_TQOBJECT(fw));
+ fw->killAccels(fw);
fw->setFocus();
}
@@ -107,7 +107,7 @@ static void unifyFormName(FormWindow *fw, TQWorkspace *qworkspace)
int i = 1;
while (lst.findIndex(n) != -1)
n = origName + TQString::number(i++);
- fw->setName(n);
+ fw->setName(n.utf8());
fw->setCaption(n);
}
@@ -138,7 +138,7 @@ void CustomFormItem::insert()
NewForm::NewForm(TQWidget *parent, const TQString &templatePath)
: NewFormBase(parent, 0, true)
{
- connect(helpButton, TQT_SIGNAL(clicked()), MainWindow::self, TQT_SLOT(showDialogHelp()));
+ connect(helpButton, TQ_SIGNAL(clicked()), MainWindow::self, TQ_SLOT(showDialogHelp()));
TQIconViewItem *cur = 0;
FormItem *fi = new FormItem(templateView, i18n("Dialog"));
diff --git a/kommander/editor/newformimpl.h b/kommander/editor/newformimpl.h
index e875a858..ed8e19a0 100644
--- a/kommander/editor/newformimpl.h
+++ b/kommander/editor/newformimpl.h
@@ -60,7 +60,7 @@ private:
class NewForm : public NewFormBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
NewForm( TQWidget *parent, const TQString &templatePath );
diff --git a/kommander/editor/orderindicator.h b/kommander/editor/orderindicator.h
index cb75151b..08281c9c 100644
--- a/kommander/editor/orderindicator.h
+++ b/kommander/editor/orderindicator.h
@@ -27,7 +27,7 @@ class FormWindow;
class OrderIndicator : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/paletteeditor.ui b/kommander/editor/paletteeditor.ui
index cadcb3f5..a77c277b 100644
--- a/kommander/editor/paletteeditor.ui
+++ b/kommander/editor/paletteeditor.ui
@@ -501,18 +501,17 @@
<tabstop>paletteCombo</tabstop>
<tabstop>buttonHelp</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
<slot access="protected">onTune()</slot>
<slot access="protected">onChoose2ndMainColor()</slot>
<slot access="protected">onChooseMainColor()</slot>
<slot access="protected">paletteSelected(int)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>styledbutton.h</includehint>
- <includehint>styledbutton.h</includehint>
- <includehint>previewframe.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">previewframe.h</include>
+ <include location="global" impldecl="in implementation">styledbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/paletteeditoradvanced.ui b/kommander/editor/paletteeditoradvanced.ui
index 78fcb222..02d5e4d2 100644
--- a/kommander/editor/paletteeditoradvanced.ui
+++ b/kommander/editor/paletteeditoradvanced.ui
@@ -743,7 +743,7 @@
<tabstop>buttonEffect</tabstop>
<tabstop>buttonHelp</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
<slot access="protected">onToggleBuildDisabled(bool)</slot>
@@ -756,11 +756,9 @@
<slot access="protected">onToggleBuildInactive(bool)</slot>
<slot access="protected">paletteSelected(int)</slot>
<slot>showHelp()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>styledbutton.h</includehint>
- <includehint>styledbutton.h</includehint>
- <includehint>styledbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">styledbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/paletteeditoradvancedimpl.cpp b/kommander/editor/paletteeditoradvancedimpl.cpp
index e7880b19..eb93c28d 100644
--- a/kommander/editor/paletteeditoradvancedimpl.cpp
+++ b/kommander/editor/paletteeditoradvancedimpl.cpp
@@ -63,7 +63,7 @@ PaletteEditorAdvanced::PaletteEditorAdvanced( FormWindow *fw, TQWidget * parent,
const char * name, bool modal, WFlags f )
: PaletteEditorAdvancedBase( parent, name, modal, f ), formWindow( fw ), selectedPalette(0)
{
- connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( buttonHelp, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
buttonPixmap->setEditor( StyledButton::PixmapEditor );
diff --git a/kommander/editor/paletteeditoradvancedimpl.h b/kommander/editor/paletteeditoradvancedimpl.h
index a4b591cd..65ef641a 100644
--- a/kommander/editor/paletteeditoradvancedimpl.h
+++ b/kommander/editor/paletteeditoradvancedimpl.h
@@ -27,7 +27,7 @@ class FormWindow;
class PaletteEditorAdvanced : public PaletteEditorAdvancedBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
PaletteEditorAdvanced( FormWindow *fw, TQWidget * parent=0, const char * name=0,
diff --git a/kommander/editor/paletteeditorimpl.cpp b/kommander/editor/paletteeditorimpl.cpp
index bf68fe16..dd12de19 100644
--- a/kommander/editor/paletteeditorimpl.cpp
+++ b/kommander/editor/paletteeditorimpl.cpp
@@ -33,7 +33,7 @@
PaletteEditor::PaletteEditor( FormWindow *fw, TQWidget * parent, const char * name, bool modal, WFlags f )
: PaletteEditorBase( parent, name, modal, f ), formWindow( fw )
{
- connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( buttonHelp, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
editPalette = TQApplication::palette();
setPreviewPalette( editPalette );
diff --git a/kommander/editor/paletteeditorimpl.h b/kommander/editor/paletteeditorimpl.h
index 8bc18bce..680c960c 100644
--- a/kommander/editor/paletteeditorimpl.h
+++ b/kommander/editor/paletteeditorimpl.h
@@ -27,7 +27,7 @@ class FormWindow;
class PaletteEditor : public PaletteEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/pics/CMakeLists.txt b/kommander/editor/pics/CMakeLists.txt
new file mode 100644
index 00000000..04f2e9ba
--- /dev/null
+++ b/kommander/editor/pics/CMakeLists.txt
@@ -0,0 +1,4 @@
+install(
+ FILES kommandersplash.png toolbox.png tdefontcombo.png
+ DESTINATION ${DATA_INSTALL_DIR}/kommander/pics
+)
diff --git a/kommander/editor/pixmapchooser.cpp b/kommander/editor/pixmapchooser.cpp
index 224bbe72..71fe357c 100644
--- a/kommander/editor/pixmapchooser.cpp
+++ b/kommander/editor/pixmapchooser.cpp
@@ -966,7 +966,7 @@ TQPixmap qChoosePixmap( TQWidget *parent, FormWindow *fw, const TQPixmap &old, T
TQPixmap pix( fd.selectedFile() );
if ( fn )
*fn = fd.selectedFile();
- MetaDataBase::setPixmapArgument( TQT_TQOBJECT(fw), pix.serialNumber(), fd.selectedFile() );
+ MetaDataBase::setPixmapArgument( fw, pix.serialNumber(), fd.selectedFile() );
return pix;
}
}
@@ -985,13 +985,13 @@ TQPixmap qChoosePixmap( TQWidget *parent, FormWindow *fw, const TQPixmap &old, T
#endif
else {
PixmapFunction dia( parent, 0, true );
- TQObject::connect( dia.helpButton, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ TQObject::connect( dia.helpButton, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
dia.labelFunction->setText( fw->pixmapLoaderFunction() + "(" );
- dia.editArguments->setText( MetaDataBase::pixmapArgument( TQT_TQOBJECT(fw), old.serialNumber() ) );
+ dia.editArguments->setText( MetaDataBase::pixmapArgument( fw, old.serialNumber() ) );
dia.editArguments->setFocus();
if ( dia.exec() == TQDialog::Accepted ) {
TQPixmap pix( PixmapChooser::loadPixmap( "image.xpm" ) );
- MetaDataBase::setPixmapArgument( TQT_TQOBJECT(fw), pix.serialNumber(), dia.editArguments->text() );
+ MetaDataBase::setPixmapArgument( fw, pix.serialNumber(), dia.editArguments->text() );
return pix;
}
}
@@ -1004,7 +1004,7 @@ TQPixmap qChoosePixmap( TQWidget *parent, FormWindow *fw, const TQPixmap &old, T
}
ImageIconProvider::ImageIconProvider( TQWidget *parent, const char *name )
- : TQFileIconProvider( TQT_TQOBJECT(parent), name ), imagepm( PixmapChooser::loadPixmap( "image.xpm", PixmapChooser::Mini ) )
+ : TQFileIconProvider( parent, name ), imagepm( PixmapChooser::loadPixmap( "image.xpm", PixmapChooser::Mini ) )
{
fmts = TQImage::inputFormats();
}
@@ -1016,7 +1016,7 @@ ImageIconProvider::~ImageIconProvider()
const TQPixmap * ImageIconProvider::pixmap( const TQFileInfo &fi )
{
TQString ext = fi.extension().upper();
- if ( fmts.contains( ext ) ) {
+ if ( fmts.contains( ext.utf8() ) ) {
return &imagepm;
} else {
return TQFileIconProvider::pixmap( fi );
diff --git a/kommander/editor/pixmapchooser.h b/kommander/editor/pixmapchooser.h
index 6d8e761a..bfdf476c 100644
--- a/kommander/editor/pixmapchooser.h
+++ b/kommander/editor/pixmapchooser.h
@@ -31,7 +31,7 @@ class FormWindow;
class PixmapView : public TQScrollView,
public TQFilePreview
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -47,7 +47,7 @@ private:
class ImageIconProvider : public TQFileIconProvider
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/previewframe.h b/kommander/editor/previewframe.h
index eda444f5..ad89abe5 100644
--- a/kommander/editor/previewframe.h
+++ b/kommander/editor/previewframe.h
@@ -28,7 +28,7 @@
class PreviewWorkspace : public TQWorkspace
{
- Q_OBJECT
+ TQ_OBJECT
public:
PreviewWorkspace( TQWidget* parent = 0, const char* name = 0 )
@@ -41,7 +41,7 @@ protected:
class PreviewFrame : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/previewwidgetimpl.cpp b/kommander/editor/previewwidgetimpl.cpp
index 98cfd39c..2b08ee3a 100644
--- a/kommander/editor/previewwidgetimpl.cpp
+++ b/kommander/editor/previewwidgetimpl.cpp
@@ -25,13 +25,13 @@ PreviewWidget::PreviewWidget( TQWidget *parent, const char *name )
: PreviewWidgetBase( parent, name )
{
// install event filter on child widgets
- TQObjectList *l = queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = queryList("TQWidget");
TQObjectListIt it(*l);
TQObject * obj;
while ((obj = it.current()) != 0) {
++it;
obj->installEventFilter(this);
- ((TQWidget*)obj)->setFocusPolicy(TQ_NoFocus);
+ ((TQWidget*)obj)->setFocusPolicy(TQWidget::NoFocus);
}
}
diff --git a/kommander/editor/previewwidgetimpl.h b/kommander/editor/previewwidgetimpl.h
index 31e04253..92fbce42 100644
--- a/kommander/editor/previewwidgetimpl.h
+++ b/kommander/editor/previewwidgetimpl.h
@@ -25,7 +25,7 @@
class PreviewWidget : public PreviewWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/propertyeditor.cpp b/kommander/editor/propertyeditor.cpp
index 40b4cafb..4b0c58e4 100644
--- a/kommander/editor/propertyeditor.cpp
+++ b/kommander/editor/propertyeditor.cpp
@@ -282,7 +282,7 @@ void PropertyItem::paintBranches( TQPainter * p, const TQColorGroup & cg,
void PropertyItem::paintFocus( TQPainter *p, const TQColorGroup &cg, const TQRect &r )
{
p->save();
- TQApplication::style().tqdrawPrimitive(TQStyle::PE_Panel, p, r, cg,
+ TQApplication::style().drawPrimitive(TQStyle::PE_Panel, p, r, cg,
TQStyle::Style_Sunken, TQStyleOption(1,1) );
p->restore();
}
@@ -401,8 +401,8 @@ void PropertyItem::createResetButton()
hbox->layout()->setAlignment( TQt::AlignRight );
listview->addChild( hbox );
hbox->hide();
- TQObject::connect( resetButton, TQT_SIGNAL( clicked() ),
- listview, TQT_SLOT( resetProperty() ) );
+ TQObject::connect( resetButton, TQ_SIGNAL( clicked() ),
+ listview, TQ_SLOT( resetProperty() ) );
TQToolTip::add( resetButton, i18n("Reset the property to its default value" ) );
TQWhatsThis::add( resetButton, i18n("Click this button to reset the property to its default value" ) );
updateResetButtonState();
@@ -539,7 +539,7 @@ void PropertyItem::setFocus( TQWidget *w )
{
if ( !tqApp->focusWidget() ||
listview->propertyEditor()->formWindow() &&
- ( !MainWindow::self->isAFormWindowChild( TQT_TQOBJECT(tqApp->focusWidget()) ) &&
+ ( !MainWindow::self->isAFormWindowChild( tqApp->focusWidget() ) &&
!tqApp->focusWidget()->inherits( "Editor" ) ) )
w->setFocus();
}
@@ -582,30 +582,30 @@ TQLineEdit *PropertyTextItem::lined()
if ( asciiOnly ) {
if ( PropertyItem::name() == "name" )
- lin->setValidator( new AsciiValidator( TQT_TQOBJECT(lin), "ascii_validator" ) );
+ lin->setValidator( new AsciiValidator( lin, "ascii_validator" ) );
else
lin->setValidator( new AsciiValidator( TQString("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"
"\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9"
"\xaa\xab\xac\xad\xae\xaf\xb1\xb2\xb3"
"\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc"
- "\xbd\xbe\xbf"), TQT_TQOBJECT(lin), "ascii_validator" ) );
+ "\xbd\xbe\xbf"), lin, "ascii_validator" ) );
} if ( !hasMultiLines ) {
lin->hide();
} else {
button = new TQPushButton( i18n("..."), box );
button->setFixedWidth( 20 );
- connect( button, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( getText() ) );
+ connect( button, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( getText() ) );
lin->setFrame( false );
}
- connect( lin, TQT_SIGNAL( returnPressed() ),
- this, TQT_SLOT( setValue() ) );
- connect( lin, TQT_SIGNAL( textChanged( const TQString & ) ),
- this, TQT_SLOT( setValue() ) );
+ connect( lin, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( setValue() ) );
+ connect( lin, TQ_SIGNAL( textChanged( const TQString & ) ),
+ this, TQ_SLOT( setValue() ) );
if ( PropertyItem::name() == "name" || PropertyItem::name() == "itemName" )
- connect( lin, TQT_SIGNAL( returnPressed() ),
+ connect( lin, TQ_SIGNAL( returnPressed() ),
listview->propertyEditor()->formWindow()->commandHistory(),
- TQT_SLOT( checkCompressedCommand() ) );
+ TQ_SLOT( checkCompressedCommand() ) );
lin->installEventFilter( listview );
return lin;
}
@@ -762,12 +762,12 @@ TQLineEdit *PropertyDoubleItem::lined()
if ( lin )
return lin;
lin = new TQLineEdit( listview->viewport() );
- lin->setValidator( new TQDoubleValidator( TQT_TQOBJECT(lin), "double_validator" ) );
+ lin->setValidator( new TQDoubleValidator( lin, "double_validator" ) );
- connect( lin, TQT_SIGNAL( returnPressed() ),
- this, TQT_SLOT( setValue() ) );
- connect( lin, TQT_SIGNAL( textChanged( const TQString & ) ),
- this, TQT_SLOT( setValue() ) );
+ connect( lin, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( setValue() ) );
+ connect( lin, TQ_SIGNAL( textChanged( const TQString & ) ),
+ this, TQ_SLOT( setValue() ) );
lin->installEventFilter( listview );
return lin;
}
@@ -842,12 +842,12 @@ TQDateEdit *PropertyDateItem::lined()
if ( lin )
return lin;
lin = new TQDateEdit( listview->viewport() );
- TQObjectList *l = lin->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
+ TQObjectList *l = lin->queryList( "TQLineEdit" );
for ( TQObject *o = l->first(); o; o = l->next() )
o->installEventFilter( listview );
delete l;
- connect( lin, TQT_SIGNAL( valueChanged( const TQDate & ) ),
- this, TQT_SLOT( setValue() ) );
+ connect( lin, TQ_SIGNAL( valueChanged( const TQDate & ) ),
+ this, TQ_SLOT( setValue() ) );
return lin;
}
@@ -891,13 +891,13 @@ void PropertyDateItem::setValue( const TQVariant &v )
lined()->setDate( v.toDate() );
lined()->blockSignals( false );
}
- setText( 1, v.toDate().toString( ::Qt::ISODate ) );
+ setText( 1, v.toDate().toString( ::TQt::ISODate ) );
PropertyItem::setValue( v );
}
void PropertyDateItem::setValue()
{
- setText( 1, lined()->date().toString( ::Qt::ISODate ) );
+ setText( 1, lined()->date().toString( ::TQt::ISODate ) );
TQVariant v;
v = lined()->date();
PropertyItem::setValue( v );
@@ -917,9 +917,9 @@ TQTimeEdit *PropertyTimeItem::lined()
if ( lin )
return lin;
lin = new TQTimeEdit( listview->viewport() );
- connect( lin, TQT_SIGNAL( valueChanged( const TQTime & ) ),
- this, TQT_SLOT( setValue() ) );
- TQObjectList *l = lin->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
+ connect( lin, TQ_SIGNAL( valueChanged( const TQTime & ) ),
+ this, TQ_SLOT( setValue() ) );
+ TQObjectList *l = lin->queryList( "TQLineEdit" );
for ( TQObject *o = l->first(); o; o = l->next() )
o->installEventFilter( listview );
delete l;
@@ -966,13 +966,13 @@ void PropertyTimeItem::setValue( const TQVariant &v )
lined()->setTime( v.toTime() );
lined()->blockSignals( false );
}
- setText( 1, v.toTime().toString( ::Qt::ISODate ) );
+ setText( 1, v.toTime().toString( ::TQt::ISODate ) );
PropertyItem::setValue( v );
}
void PropertyTimeItem::setValue()
{
- setText( 1, lined()->time().toString( ::Qt::ISODate ) );
+ setText( 1, lined()->time().toString( ::TQt::ISODate ) );
TQVariant v;
v = lined()->time();
PropertyItem::setValue( v );
@@ -992,9 +992,9 @@ TQDateTimeEdit *PropertyDateTimeItem::lined()
if ( lin )
return lin;
lin = new TQDateTimeEdit( listview->viewport() );
- connect( lin, TQT_SIGNAL( valueChanged( const TQDateTime & ) ),
- this, TQT_SLOT( setValue() ) );
- TQObjectList *l = lin->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
+ connect( lin, TQ_SIGNAL( valueChanged( const TQDateTime & ) ),
+ this, TQ_SLOT( setValue() ) );
+ TQObjectList *l = lin->queryList( "TQLineEdit" );
for ( TQObject *o = l->first(); o; o = l->next() )
o->installEventFilter( listview );
delete l;
@@ -1041,13 +1041,13 @@ void PropertyDateTimeItem::setValue( const TQVariant &v )
lined()->setDateTime( v.toDateTime() );
lined()->blockSignals( false );
}
- setText( 1, v.toDateTime().toString( ::Qt::ISODate ) );
+ setText( 1, v.toDateTime().toString( ::TQt::ISODate ) );
PropertyItem::setValue( v );
}
void PropertyDateTimeItem::setValue()
{
- setText( 1, lined()->dateTime().toString( ::Qt::ISODate ) );
+ setText( 1, lined()->dateTime().toString( ::TQt::ISODate ) );
TQVariant v;
v = lined()->dateTime();
PropertyItem::setValue( v );
@@ -1070,8 +1070,8 @@ TQComboBox *PropertyBoolItem::combo()
comb->hide();
comb->insertItem( i18n("False" ) );
comb->insertItem( i18n("True" ) );
- connect( comb, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( setValue() ) );
+ connect( comb, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( setValue() ) );
comb->installEventFilter( listview );
return comb;
}
@@ -1163,12 +1163,12 @@ TQSpinBox *PropertyIntItem::spinBox()
spinBx = new TQSpinBox( 0, INT_MAX, 1, listview->viewport() );
spinBx->hide();
spinBx->installEventFilter( listview );
- TQObjectList *ol = spinBx->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
+ TQObjectList *ol = spinBx->queryList( "TQLineEdit" );
if ( ol && ol->first() )
ol->first()->installEventFilter( listview );
delete ol;
- connect( spinBx, TQT_SIGNAL( valueChanged( int ) ),
- this, TQT_SLOT( setValue() ) );
+ connect( spinBx, TQ_SIGNAL( valueChanged( int ) ),
+ this, TQ_SLOT( setValue() ) );
return spinBx;
}
@@ -1252,11 +1252,11 @@ TQComboBox *PropertyListItem::combo()
return comb;
comb = new TQComboBox( editable, listview->viewport() );
comb->hide();
- connect( comb, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( setValue() ) );
+ connect( comb, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( setValue() ) );
comb->installEventFilter( listview );
if ( editable ) {
- TQObjectList *ol = comb->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
+ TQObjectList *ol = comb->queryList( "TQLineEdit" );
if ( ol && ol->first() )
ol->first()->installEventFilter( listview );
delete ol;
@@ -1548,8 +1548,8 @@ PropertyPixmapItem::PropertyPixmapItem( PropertyList *l, PropertyItem *after, Pr
box->setLineWidth( 2 );
pixPrev->setFrameStyle( TQFrame::NoFrame );
box->installEventFilter( listview );
- connect( button, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( getPixmap() ) );
+ connect( button, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( getPixmap() ) );
}
PropertyPixmapItem::~PropertyPixmapItem()
{
@@ -1637,8 +1637,8 @@ PropertyColorItem::PropertyColorItem( PropertyList *l, PropertyItem *after, Prop
pal.setDisabled( cg );
colorPrev->setPalette( pal );
box->installEventFilter( listview );
- connect( button, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( getColor() ) );
+ connect( button, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( getColor() ) );
}
void PropertyColorItem::createChildren()
@@ -1758,8 +1758,8 @@ PropertyFontItem::PropertyFontItem( PropertyList *l, PropertyItem *after, Proper
box->installEventFilter( listview );
lined->installEventFilter( listview );
button->installEventFilter( listview );
- connect( button, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( getFont() ) );
+ connect( button, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( getFont() ) );
}
void PropertyFontItem::createChildren()
@@ -2156,8 +2156,8 @@ PropertyPaletteItem::PropertyPaletteItem( PropertyList *l, PropertyItem *after,
box->setLineWidth( 2 );
palettePrev->setFrameStyle( TQFrame::NoFrame );
box->installEventFilter( listview );
- connect( button, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( getPalette() ) );
+ connect( button, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( getPalette() ) );
}
PropertyPaletteItem::~PropertyPaletteItem()
{
@@ -2194,14 +2194,10 @@ void PropertyPaletteItem::getPalette()
return;
bool ok = false;
TQWidget *w = (TQWidget*)listview->propertyEditor()->widget();
- if ( w->inherits( TQSCROLLVIEW_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQScrollView" ) )
w = ( (TQScrollView*)w )->viewport();
TQPalette pal = PaletteEditor::getPalette( &ok, val.toPalette(),
-#if defined(TQT_NON_COMMERCIAL)
- w->backgroundMode(), listview->topLevelWidget(),
-#else
w->backgroundMode(), listview,
-#endif
"choose_palette", listview->propertyEditor()->formWindow() );
if ( !ok )
return;
@@ -2309,8 +2305,8 @@ TQComboBox *PropertyCursorItem::combo()
cur.setMask( cur );
comb->insertItem( cur, i18n("Forbidden"), TQObject::ForbiddenCursor );
- connect( comb, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( setValue() ) );
+ connect( comb, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( setValue() ) );
comb->installEventFilter( listview );
return comb;
}
@@ -2401,16 +2397,16 @@ PropertyList::PropertyList( PropertyEditor *e )
viewport()->installEventFilter( this );
addColumn( i18n("Property" ) );
addColumn( i18n("Value" ) );
- connect( header(), TQT_SIGNAL( sizeChange( int, int, int ) ),
- this, TQT_SLOT( updateEditorSize() ) );
- disconnect( header(), TQT_SIGNAL( sectionClicked( int ) ),
- this, TQT_SLOT( changeSortColumn( int ) ) );
- connect( header(), TQT_SIGNAL( sectionClicked( int ) ),
- this, TQT_SLOT( toggleSort() ) );
- connect( this, TQT_SIGNAL( pressed( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( itemPressed( TQListViewItem *, const TQPoint &, int ) ) );
- connect( this, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
- this, TQT_SLOT( toggleOpen( TQListViewItem * ) ) );
+ connect( header(), TQ_SIGNAL( sizeChange( int, int, int ) ),
+ this, TQ_SLOT( updateEditorSize() ) );
+ disconnect( header(), TQ_SIGNAL( sectionClicked( int ) ),
+ this, TQ_SLOT( changeSortColumn( int ) ) );
+ connect( header(), TQ_SIGNAL( sectionClicked( int ) ),
+ this, TQ_SLOT( toggleSort() ) );
+ connect( this, TQ_SIGNAL( pressed( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( itemPressed( TQListViewItem *, const TQPoint &, int ) ) );
+ connect( this, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ),
+ this, TQ_SLOT( toggleOpen( TQListViewItem * ) ) );
setSorting( -1 );
setHScrollBarMode( AlwaysOff );
setVScrollBarMode( AlwaysOn );
@@ -2500,7 +2496,7 @@ static TQVariant::Type type_to_variant( const TQString &s )
#ifndef TQT_NO_SQL
static bool parent_is_data_aware( TQObject *o )
{
- if ( !o->inherits( TQWIDGET_OBJECT_NAME_STRING ) )
+ if ( !o->inherits( "TQWidget" ) )
return false;
TQWidget *w = (TQWidget*)o;
TQWidget *p = w->parentWidget();
@@ -2529,7 +2525,7 @@ void PropertyList::setupProperties()
TQStringList valueSet;
bool parentHasLayout =
w->isWidgetType() &&
- !editor->formWindow()->isMainContainer( TQT_TQOBJECT((TQWidget*)w) ) && ( (TQWidget*)w )->parentWidget() &&
+ !editor->formWindow()->isMainContainer( (TQWidget*)w ) && ( (TQWidget*)w )->parentWidget() &&
WidgetFactory::layoutType( ( (TQWidget*)w )->parentWidget() ) != WidgetFactory::NoLayout;
for ( TQPtrListIterator<char> it( lst ); it.current(); ++it ) {
const TQMetaProperty* p =
@@ -2559,7 +2555,7 @@ void PropertyList::setupProperties()
}
unique.insert( TQString::fromLatin1( it.current() ), true );
if ( editor->widget()->isWidgetType() &&
- editor->formWindow()->isMainContainer( TQT_TQOBJECT((TQWidget*)editor->widget()) ) ) {
+ editor->formWindow()->isMainContainer( (TQWidget*)editor->widget() ) ) {
if ( qstrcmp( p->name(), "geometry" ) == 0 )
continue;
} else { // hide some toplevel-only stuff
@@ -2575,7 +2571,7 @@ void PropertyList::setupProperties()
continue;
if ( parentHasLayout && qstrcmp( p->name(), "geometry" ) == 0 )
continue;
- if ( w->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) || w->inherits( "Spacer" ) ) {
+ if ( w->inherits( "TQLayoutWidget" ) || w->inherits( "Spacer" ) ) {
if ( qstrcmp( p->name(), "sizePolicy" ) == 0 )
continue;
if ( qstrcmp( p->name(), "minimumHeight" ) == 0 )
@@ -2618,7 +2614,7 @@ void PropertyList::setupProperties()
continue;
}
}
- if ( w->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( w->inherits( "TQActionGroup" ) ) {
if ( qstrcmp( p->name(), "usesDropDown" ) == 0 )
continue;
if ( qstrcmp( p->name(), "toggleAction" ) == 0 )
@@ -2635,7 +2631,7 @@ void PropertyList::setupProperties()
if ( qstrcmp( p->name(), "buttonGroupId" ) == 0 ) { // #### remove this when designable in TQ_PROPERTY can take a function (isInButtonGroup() in this case)
if ( !editor->widget()->isWidgetType() ||
!editor->widget()->parent() ||
- !editor->widget()->parent()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) )
+ !editor->widget()->parent()->inherits( "TQButtonGroup" ) )
continue;
}
@@ -2654,7 +2650,7 @@ void PropertyList::setupProperties()
setPropertyValue( item );
if ( MetaDataBase::isPropertyChanged( editor->widget(), "hAlign" ) )
item->setChanged( true, false );
- if ( !editor->widget()->inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) ) {
+ if ( !editor->widget()->inherits( "TQMultiLineEdit" ) ) {
lst.clear();
lst << p->valueToKey( AlignTop )
<< p->valueToKey( AlignVCenter )
@@ -2665,7 +2661,7 @@ void PropertyList::setupProperties()
if ( MetaDataBase::isPropertyChanged( editor->widget(), "vAlign" ) )
item->setChanged( true, false );
item = new PropertyBoolItem( this, item, 0, "wordwrap" );
- if ( w->inherits( TQGROUPBOX_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQGroupBox" ) )
item->setVisible( false );
setPropertyValue( item );
if ( MetaDataBase::isPropertyChanged( editor->widget(), "wordwrap" ) )
@@ -2702,7 +2698,7 @@ void PropertyList::setupProperties()
}
}
- if ( !w->inherits( TQSPLITTER_OBJECT_NAME_STRING ) && !w->inherits( "QDesignerMenuBar" ) && !w->inherits( "QDesignerToolBar" ) &&
+ if ( !w->inherits( "TQSplitter" ) && !w->inherits( "QDesignerMenuBar" ) && !w->inherits( "QDesignerToolBar" ) &&
w->isWidgetType() && WidgetFactory::layoutType( (TQWidget*)w ) != WidgetFactory::NoLayout ) {
item = new PropertyIntItem( this, item, 0, "layoutSpacing", true );
setPropertyValue( item );
@@ -2713,7 +2709,7 @@ void PropertyList::setupProperties()
}
- if ( !w->inherits( "Spacer" ) && !w->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) && !w->inherits( TQACTION_OBJECT_NAME_STRING ) &&
+ if ( !w->inherits( "Spacer" ) && !w->inherits( "TQLayoutWidget" ) && !w->inherits( "TQAction" ) &&
!w->inherits( "QDesignerMenuBar" ) && !w->inherits( "QDesignerToolBar" ) ) {
item = new PropertyTextItem( this, item, 0, "toolTip", true, false );
setPropertyValue( item );
@@ -2726,15 +2722,15 @@ void PropertyList::setupProperties()
}
#ifndef TQT_NO_SQL
- if ( !editor->widget()->inherits( TQDATATABLE_OBJECT_NAME_STRING ) && !editor->widget()->inherits( TQDATABROWSER_OBJECT_NAME_STRING ) &&
- !editor->widget()->inherits( TQDATAVIEW_OBJECT_NAME_STRING ) && parent_is_data_aware( editor->widget() ) ) {
+ if ( !editor->widget()->inherits( "TQDataTable" ) && !editor->widget()->inherits( "TQDataBrowser" ) &&
+ !editor->widget()->inherits( "TQDataView" ) && parent_is_data_aware( editor->widget() ) ) {
item = new PropertyDatabaseItem( this, item, 0, "database", editor->formWindow()->mainContainer() != w );
setPropertyValue( item );
if ( MetaDataBase::isPropertyChanged( editor->widget(), "database" ) )
item->setChanged( true, false );
}
- if ( editor->widget()->inherits( TQDATATABLE_OBJECT_NAME_STRING ) || editor->widget()->inherits( TQDATABROWSER_OBJECT_NAME_STRING ) || editor->widget()->inherits( TQDATAVIEW_OBJECT_NAME_STRING ) ) {
+ if ( editor->widget()->inherits( "TQDataTable" ) || editor->widget()->inherits( "TQDataBrowser" ) || editor->widget()->inherits( "TQDataView" ) ) {
item = new PropertyDatabaseItem( this, item, 0, "database", false );
setPropertyValue( item );
if ( MetaDataBase::isPropertyChanged( editor->widget(), "database" ) )
@@ -2780,12 +2776,12 @@ bool PropertyList::addPropertyItem( PropertyItem *&item, const TQCString &name,
switch ( t ) {
case TQVariant::String:
item = new PropertyTextItem( this, item, 0, name, true,
- editor->widget()->inherits( TQLABEL_OBJECT_NAME_STRING ) || editor->widget()->inherits( TQTEXTVIEW_OBJECT_NAME_STRING ) );
+ editor->widget()->inherits( "TQLabel" ) || editor->widget()->inherits( "TQTextView" ) );
break;
case TQVariant::CString:
item = new PropertyTextItem( this, item, 0,
name, name == "name" &&
- TQT_BASE_OBJECT(editor->widget()) == TQT_BASE_OBJECT(editor->formWindow()->mainContainer()),
+ editor->widget() == editor->formWindow()->mainContainer(),
false, true );
break;
case TQVariant::Bool:
@@ -2885,7 +2881,7 @@ void PropertyList::valueChanged( PropertyItem *i )
TQString pn( i18n("Set '%1' of '%2'" ).arg( i->name() ).arg( editor->widget()->name() ) );
SetPropertyCommand *cmd = new SetPropertyCommand( pn, editor->formWindow(),
editor->widget(), editor,
- i->name(), WidgetFactory::property( editor->widget(), i->name() ),
+ i->name(), WidgetFactory::property( editor->widget(), i->name().latin1() ),
i->value(), i->currentItem(), i->currentItemFromObject() );
cmd->execute();
editor->formWindow()->commandHistory()->addCommand( cmd, true );
@@ -2921,15 +2917,15 @@ bool PropertyList::eventFilter( TQObject *o, TQEvent *e )
return true;
PropertyItem *i = (PropertyItem*)currentItem();
- if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(this) &&e->type() == TQEvent::KeyPress ) {
+ if ( o != this &&e->type() == TQEvent::KeyPress ) {
TQKeyEvent *ke = (TQKeyEvent*)e;
if ( ( ke->key() == Key_Up || ke->key() == Key_Down ) &&
- ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(viewport()) ) &&
+ ( o != this || o != viewport() ) &&
!( ke->state() & ControlButton ) ) {
TQApplication::sendEvent( this, (TQKeyEvent*)e );
return true;
- } else if ( ( !o->inherits( TQLINEEDIT_OBJECT_NAME_STRING ) ||
- ( o->inherits( TQLINEEDIT_OBJECT_NAME_STRING ) && ( (TQLineEdit*)o )->isReadOnly() ) ) &&
+ } else if ( ( !o->inherits( "TQLineEdit" ) ||
+ ( o->inherits( "TQLineEdit" ) && ( (TQLineEdit*)o )->isReadOnly() ) ) &&
i && i->hasSubItems() ) {
if ( !i->isOpen() &&
( ke->key() == Key_Plus ||
@@ -2939,14 +2935,14 @@ bool PropertyList::eventFilter( TQObject *o, TQEvent *e )
( ke->key() == Key_Minus ||
ke->key() == Key_Left ) )
i->setOpen( false );
- } else if ( ( ke->key() == Key_Return || ke->key() == Key_Enter ) && o->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) {
+ } else if ( ( ke->key() == Key_Return || ke->key() == Key_Enter ) && o->inherits( "TQComboBox" ) ) {
TQKeyEvent ke2( TQEvent::KeyPress, Key_Space, 0, 0 );
TQApplication::sendEvent( o, &ke2 );
return true;
}
- } else if ( e->type() == TQEvent::FocusOut && o->inherits( TQLINEEDIT_OBJECT_NAME_STRING ) && editor->formWindow() ) {
- TQTimer::singleShot( 100, editor->formWindow()->commandHistory(), TQT_SLOT( checkCompressedCommand() ) );
- } else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(viewport()) ) {
+ } else if ( e->type() == TQEvent::FocusOut && o->inherits( "TQLineEdit" ) && editor->formWindow() ) {
+ TQTimer::singleShot( 100, editor->formWindow()->commandHistory(), TQ_SLOT( checkCompressedCommand() ) );
+ } else if ( o == viewport() ) {
TQMouseEvent *me;
PropertyListItem* i;
switch ( e->type() ) {
@@ -2961,7 +2957,7 @@ bool PropertyList::eventFilter( TQObject *o, TQEvent *e )
break;
case TQEvent::MouseMove:
me = (TQMouseEvent*)e;
- if ( me && me->state() & Qt::LeftButton && mousePressed) {
+ if ( me && me->state() & TQt::LeftButton && mousePressed) {
i = (PropertyListItem*) itemAt( me->pos() );
if( i && i == pressItem ) {
@@ -2996,7 +2992,7 @@ bool PropertyList::eventFilter( TQObject *o, TQEvent *e )
default:
break;
}
- } else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(header()) ) {
+ } else if ( o == header() ) {
if ( e->type() == TQEvent::ContextMenu ) {
((TQContextMenuEvent *)e)->accept();
TQPopupMenu menu( 0 );
@@ -3062,7 +3058,7 @@ void PropertyList::setPropertyValue( PropertyItem *i )
{
const TQMetaProperty *p =
editor->widget()->metaObject()->
- property( editor->widget()->metaObject()->findProperty( i->name(), true), true );
+ property( editor->widget()->metaObject()->findProperty( i->name().latin1(), true), true );
if ( !p ) {
if ( i->name() == "hAlign" ) {
int align = editor->widget()->property( "alignment" ).toInt();
@@ -3085,9 +3081,9 @@ void PropertyList::setPropertyValue( PropertyItem *i )
else
i->setValue( TQVariant( false) );
} else if ( i->name() == "layoutSpacing" ) {
- ( (PropertyIntItem*)i )->setValue( MetaDataBase::spacing( TQT_TQOBJECT(WidgetFactory::containerOfWidget( (TQWidget*)editor->widget() )) ) );
+ ( (PropertyIntItem*)i )->setValue( MetaDataBase::spacing( WidgetFactory::containerOfWidget( (TQWidget*)editor->widget() ) ) );
} else if ( i->name() == "layoutMargin" ) {
- ( (PropertyIntItem*)i )->setValue( MetaDataBase::margin( TQT_TQOBJECT(WidgetFactory::containerOfWidget( (TQWidget*)editor->widget() )) ) );
+ ( (PropertyIntItem*)i )->setValue( MetaDataBase::margin( WidgetFactory::containerOfWidget( (TQWidget*)editor->widget() ) ) );
} else if ( i->name() == "toolTip" || i->name() == "whatsThis" || i->name() == "database" || i->name() == "frameworkCode" ) {
i->setValue( MetaDataBase::fakeProperty( editor->widget(), i->name() ) );
} else if ( editor->widget()->inherits( "CustomWidget" ) ) {
@@ -3101,9 +3097,9 @@ void PropertyList::setPropertyValue( PropertyItem *i )
if ( p->isSetType() )
;
else if ( p->isEnumType() )
- ( (PropertyListItem*)i )->setCurrentItem( p->valueToKey( editor->widget()->property( i->name() ).toInt() ) );
+ ( (PropertyListItem*)i )->setCurrentItem( p->valueToKey( editor->widget()->property( i->name().latin1() ).toInt() ) );
else
- i->setValue( editor->widget()->property( i->name() ) );
+ i->setValue( editor->widget()->property( i->name().latin1() ) );
}
void PropertyList::setCurrentProperty( const TQString &n )
@@ -3284,8 +3280,8 @@ EventList::EventList( TQWidget *parent, FormWindow *fw, PropertyEditor *e )
header()->hide();
removeColumn( 1 );
setRootIsDecorated( true );
- connect( this, TQT_SIGNAL( itemRenamed( TQListViewItem *, int, const TQString & ) ),
- this, TQT_SLOT( renamed( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( itemRenamed( TQListViewItem *, int, const TQString & ) ),
+ this, TQ_SLOT( renamed( TQListViewItem * ) ) );
}
void EventList::setup()
diff --git a/kommander/editor/propertyeditor.h b/kommander/editor/propertyeditor.h
index 00718088..a63b8406 100644
--- a/kommander/editor/propertyeditor.h
+++ b/kommander/editor/propertyeditor.h
@@ -127,7 +127,7 @@ private:
class PropertyTextItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -164,7 +164,7 @@ private:
class PropertyBoolItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -189,7 +189,7 @@ private:
class PropertyIntItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -215,7 +215,7 @@ private:
class PropertyDoubleItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -239,7 +239,7 @@ private:
class PropertyListItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -275,7 +275,7 @@ private:
class PropertyFontItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -305,7 +305,7 @@ private:
class PropertyCoordItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -335,7 +335,7 @@ private:
class PropertyColorItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -370,7 +370,7 @@ private:
class PropertyPixmapItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -401,7 +401,7 @@ private:
class PropertySizePolicyItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -428,7 +428,7 @@ private:
class PropertyPaletteItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -457,7 +457,7 @@ private:
class PropertyCursorItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -483,7 +483,7 @@ private:
class PropertyDatabaseItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -510,7 +510,7 @@ private:
class PropertyList : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -566,7 +566,7 @@ private:
class PropertyEditor : public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -616,7 +616,7 @@ private:
class PropertyDateItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -640,7 +640,7 @@ private:
class PropertyTimeItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -664,7 +664,7 @@ private:
class PropertyDateTimeItem : public TQObject,
public PropertyItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/qcompletionedit.cpp b/kommander/editor/qcompletionedit.cpp
index 6a7cb2a9..76c3e00a 100644
--- a/kommander/editor/qcompletionedit.cpp
+++ b/kommander/editor/qcompletionedit.cpp
@@ -19,8 +19,8 @@ QCompletionEdit::QCompletionEdit( TQWidget *parent, const char *name )
listbox->setHScrollBarMode( TQScrollView::AlwaysOn );
listbox->setVScrollBarMode( TQScrollView::AlwaysOn );
listbox->setCornerWidget( new TQSizeGrip( listbox, "completion sizegrip" ) );
- connect( this, TQT_SIGNAL( textChanged( const TQString & ) ),
- this, TQT_SLOT( textDidChange( const TQString & ) ) );
+ connect( this, TQ_SIGNAL( textChanged( const TQString & ) ),
+ this, TQ_SLOT( textDidChange( const TQString & ) ) );
popup->setFocusProxy( listbox );
installEventFilter( this );
}
@@ -90,7 +90,7 @@ void QCompletionEdit::updateListBox()
bool QCompletionEdit::eventFilter( TQObject *o, TQEvent *e )
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(popup) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(listbox) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(listbox->viewport()) ) {
+ if ( o == popup || o == listbox || o == listbox->viewport() ) {
if ( e->type() == TQEvent::KeyPress ) {
TQKeyEvent *ke = (TQKeyEvent*)e;
if ( ke->key() == Key_Enter || ke->key() == Key_Return || ke->key() == Key_Tab ) {
@@ -133,7 +133,7 @@ bool QCompletionEdit::eventFilter( TQObject *o, TQEvent *e )
emit chosen( text() );
return true;
}
- } else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) ) {
+ } else if ( o == this ) {
if ( e->type() == TQEvent::KeyPress ) {
TQKeyEvent *ke = (TQKeyEvent*)e;
if ( ke->key() == Key_Up ||
diff --git a/kommander/editor/qcompletionedit.h b/kommander/editor/qcompletionedit.h
index 6390bd13..b96de3a9 100644
--- a/kommander/editor/qcompletionedit.h
+++ b/kommander/editor/qcompletionedit.h
@@ -9,7 +9,7 @@ class TQVBox;
class QCompletionEdit : public TQLineEdit
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( bool autoAdd READ autoAdd WRITE setAutoAdd )
TQ_PROPERTY( bool caseSensitive READ isCaseSensitive WRITE setCaseSensitive )
diff --git a/kommander/editor/resource.cpp b/kommander/editor/resource.cpp
index e08d25c4..32b70e9d 100644
--- a/kommander/editor/resource.cpp
+++ b/kommander/editor/resource.cpp
@@ -166,7 +166,7 @@ bool Resource::load( FormFile *ff )
TQFile f( ff->absFileName() );
f.open( IO_ReadOnly );
- bool b = load( ff, TQT_TQIODEVICE(&f) );
+ bool b = load( ff, &f );
f.close();
return b;
@@ -195,7 +195,7 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
formwindow->setProject( MainWindow::self->currProject() );
#endif
formwindow->setMainWindow( mainwindow );
- MetaDataBase::addEntry( TQT_TQOBJECT(formwindow) );
+ MetaDataBase::addEntry( formwindow );
#ifndef KOMMANDER
if (!langIface) {
@@ -303,17 +303,8 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
if ( !customWidgets.isNull() )
loadCustomWidgets( customWidgets, this );
-#if defined (TQT_NON_COMMERCIAL)
- bool previewMode = MainWindow::self->isPreviewing();
- TQWidget *w = (TQWidget*)createObject( widget, !previewMode ? (TQWidget*)formwindow : MainWindow::self);
- if ( !w )
- return false;
- if ( previewMode )
- w->reparent( MainWindow::self, TQt::WType_TopLevel, w->pos(), true );
-#else
if ( !createObject( widget, formwindow) )
return false;
-#endif
if ( !forwards.isNull() ) {
for ( TQDomElement n = forwards.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() )
@@ -363,12 +354,12 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
slot.returnType = n.attribute( "returnType", "void" );
if ( slot.returnType.isEmpty() )
slot.returnType = "void";
- slot.slot = n.firstChild().toText().data();
- if ( !MetaDataBase::hasSlot( TQT_TQOBJECT(formwindow), slot.slot, true ) )
- MetaDataBase::addSlot( TQT_TQOBJECT(formwindow), slot.slot, slot.specifier,
+ slot.slot = n.firstChild().toText().data().utf8();
+ if ( !MetaDataBase::hasSlot( formwindow, slot.slot, true ) )
+ MetaDataBase::addSlot( formwindow, slot.slot, slot.specifier,
slot.access, slot.language, slot.returnType );
else
- MetaDataBase::changeSlotAttributes( TQT_TQOBJECT(formwindow), slot.slot,
+ MetaDataBase::changeSlotAttributes( formwindow, slot.slot,
slot.specifier, slot.access,
slot.language, slot.returnType );
}
@@ -386,11 +377,11 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
loadTabOrder( tabOrder );
if ( formwindow ) {
- MetaDataBase::setIncludes( TQT_TQOBJECT(formwindow), metaIncludes );
- MetaDataBase::setForwards( TQT_TQOBJECT(formwindow), metaForwards );
- MetaDataBase::setSignalList( TQT_TQOBJECT(formwindow), metaSignals );
- MetaDataBase::setMetaInfo( TQT_TQOBJECT(formwindow), metaInfo );
- MetaDataBase::setExportMacro( TQT_TQOBJECT(formwindow->mainContainer()), exportMacro );
+ MetaDataBase::setIncludes( formwindow, metaIncludes );
+ MetaDataBase::setForwards( formwindow, metaForwards );
+ MetaDataBase::setSignalList( formwindow, metaSignals );
+ MetaDataBase::setMetaInfo( formwindow, metaInfo );
+ MetaDataBase::setExportMacro( formwindow->mainContainer(), exportMacro );
}
@@ -400,7 +391,7 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
}
if ( formwindow ) {
- formwindow->killAccels( TQT_TQOBJECT(formwindow) );
+ formwindow->killAccels( formwindow );
if ( formwindow->layout() )
formwindow->layout()->activate();
if ( hadGeometry )
@@ -422,7 +413,7 @@ bool Resource::save( const TQString& filename, bool formCodeOnly )
TQFile f( filename );
if ( !f.open( IO_WriteOnly | IO_Translate ) )
return false;
- bool b = save( TQT_TQIODEVICE(&f) );
+ bool b = save( &f );
f.close();
return b;
}
@@ -439,18 +430,18 @@ bool Resource::save( TQIODevice* dev )
ts << formwindow->mainContainer()->property("shebang").toString() << endl;
ts << "<!DOCTYPE UI><UI version=\"3.0\" stdsetdef=\"1\">" << endl;
saveMetaInfoBefore( ts, 0 );
- saveObject( TQT_TQOBJECT(formwindow->mainContainer()), 0, ts, 0 );
- if ( formwindow->mainContainer()->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) {
+ saveObject( formwindow->mainContainer(), 0, ts, 0 );
+ if ( formwindow->mainContainer()->inherits( "TQMainWindow" ) ) {
saveMenuBar( (TQMainWindow*)formwindow->mainContainer(), ts, 0 );
saveToolBars( (TQMainWindow*)formwindow->mainContainer(), ts, 0 );
}
if ( !MetaDataBase::customWidgets()->isEmpty() && !usedCustomWidgets.isEmpty() )
saveCustomWidgets( ts, 0 );
- if ( formwindow->mainContainer()->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( formwindow->mainContainer()->inherits( "TQMainWindow" ) )
saveActions( formwindow->actionList(), ts, 0 );
if ( !images.isEmpty() )
saveImageCollection( ts, 0 );
- if ( !MetaDataBase::connections( TQT_TQOBJECT(formwindow) ).isEmpty() || !MetaDataBase::slotList( TQT_TQOBJECT(formwindow) ).isEmpty() )
+ if ( !MetaDataBase::connections( formwindow ).isEmpty() || !MetaDataBase::slotList( formwindow ).isEmpty() )
saveConnections( ts, 0 );
saveTabOrder( ts, 0 );
saveMetaInfoAfter( ts, 0 );
@@ -483,7 +474,7 @@ TQString Resource::copy()
p = p->parentWidget();
}
if ( save )
- saveObject( TQT_TQOBJECT(w), 0, ts, 0 );
+ saveObject( w, 0, ts, 0 );
}
if ( !MetaDataBase::customWidgets()->isEmpty() && !usedCustomWidgets.isEmpty() )
saveCustomWidgets( ts, 0 );
@@ -545,9 +536,9 @@ void Resource::paste( const TQString &cb, TQWidget *parent )
y = TQMAX( 0, parent->height() - w->height() );
if ( x != w->x() || y != w->y() )
w->move( x, y );
- formwindow->selectWidget( TQT_TQOBJECT(w) );
+ formwindow->selectWidget( w );
} else if ( firstWidget.tagName() == "spacer" ) {
- TQWidget *w = createSpacer( firstWidget, parent, 0, firstWidget.tagName() == "vspacer" ? Qt::Vertical : Qt::Horizontal );
+ TQWidget *w = createSpacer( firstWidget, parent, 0, firstWidget.tagName() == "vspacer" ? TQt::Vertical : TQt::Horizontal );
if ( !w )
continue;
widgets.append( w );
@@ -559,7 +550,7 @@ void Resource::paste( const TQString &cb, TQWidget *parent )
y = TQMAX( 0, parent->height() - w->height() );
if ( x != w->x() || y != w->y() )
w->move( x, y );
- formwindow->selectWidget( TQT_TQOBJECT(w) );
+ formwindow->selectWidget( w );
}
firstWidget = firstWidget.nextSibling().toElement();
}
@@ -580,7 +571,7 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
const char* className = WidgetFactory::classNameOf( obj );
if ( obj->isA( "CustomWidget" ) )
usedCustomWidgets << TQString( className );
- if ( TQT_BASE_OBJECT(obj) != TQT_BASE_OBJECT(formwindow) && !formwindow->widgets()->find( (TQWidget*)obj ) )
+ if ( obj != formwindow && !formwindow->widgets()->find( (TQWidget*)obj ) )
return; // we don't know anything about this thing
TQString attributes;
@@ -615,9 +606,9 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
return;
}
- if ( obj->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) ) {
+ if ( obj->inherits( "TQTabWidget" ) ) {
TQTabWidget* tw = (TQTabWidget*) obj;
- TQObjectList* tmpl = tw->queryList( TQWIDGETSTACK_OBJECT_NAME_STRING );
+ TQObjectList* tmpl = tw->queryList( "TQWidgetStack" );
TQWidgetStack *ws = (TQWidgetStack*)tmpl->first();
TQTabBar *tb = ( (QDesignerTabWidget*)obj )->tabBar();
for ( int i = 0; i < tb->count(); ++i ) {
@@ -627,7 +618,7 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
TQWidget *w = ws->widget( t->identifier() );
if ( !w )
continue;
- if ( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( TQT_TQOBJECT(w) ) ) == -1 )
+ if ( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( w ) ) == -1 )
continue; // we don't know this widget
ts << makeIndent( indent ) << "<widget class=\"TQWidget\">" << endl;
++indent;
@@ -642,19 +633,19 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
ts << makeIndent( indent ) << "<string>" << entitize( t->text() ) << "</string>" << endl;
indent--;
ts << makeIndent( indent ) << "</attribute>" << endl;
- saveChildrenOf( TQT_TQOBJECT(w), ts, indent );
+ saveChildrenOf( w, ts, indent );
--indent;
ts << makeIndent( indent ) << "</widget>" << endl;
}
delete tmpl;
} else
- if ( ::tqqt_cast<TQToolBox*>(obj) ) {
+ if ( ::tqt_cast<TQToolBox*>(obj) ) {
TQToolBox* tb = (TQToolBox*)obj;
for ( int i = 0; i < tb->count(); ++i ) {
TQWidget *w = tb->item( i );
if ( !w )
continue;
- if ( WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(TQT_TQOBJECT(w))) == -1 )
+ if ( WidgetDatabase::idFromClassName(WidgetFactory::classNameOf(w)) == -1 )
continue; // we don't know this widget
ts << makeIndent( indent ) << "<widget class=\"TQWidget\">" << endl;
++indent;
@@ -665,7 +656,7 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
ts << makeIndent( indent ) << "</property>" << endl;
ts << makeIndent( indent ) << "<property name=\"backgroundMode\">" << endl;
indent++;
- saveEnumProperty( TQT_TQOBJECT(w), "backgroundMode", TQVariant::Invalid, ts, indent );
+ saveEnumProperty( w, "backgroundMode", TQVariant::Invalid, ts, indent );
indent--;
ts << makeIndent( indent ) << "</property>" << endl;
ts << makeIndent( indent ) << "<attribute name=\"label\">" << endl;
@@ -673,17 +664,17 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
ts << makeIndent( indent ) << "<string>" << entitize( tb->itemLabel( tb->indexOf(w) ) ) << "</string>" << endl;
indent--;
ts << makeIndent( indent ) << "</attribute>" << endl;
- saveChildrenOf( TQT_TQOBJECT(w), ts, indent );
+ saveChildrenOf( w, ts, indent );
--indent;
ts << makeIndent( indent ) << "</widget>" << endl;
}
}
- else if ( obj->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) {
+ else if ( obj->inherits( "TQWizard" ) ) {
TQWizard* wiz = (TQWizard*)obj; for ( int i = 0; i < wiz->pageCount(); ++i ) {
TQWidget *w = wiz->page( i );
if ( !w )
continue;
- if ( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( TQT_TQOBJECT(w) ) ) == -1 )
+ if ( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( w ) ) == -1 )
continue; // we don't know this widget
ts << makeIndent( indent ) << "<widget class=\"TQWidget\">" << endl;
++indent;
@@ -698,12 +689,12 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
ts << makeIndent( indent ) << "<string>" << entitize( wiz->title( w ) ) << "</string>" << endl;
indent--;
ts << makeIndent( indent ) << "</attribute>" << endl;
- saveChildrenOf( TQT_TQOBJECT(w), ts, indent );
+ saveChildrenOf( w, ts, indent );
--indent;
ts << makeIndent( indent ) << "</widget>" << endl;
}
- } else if ( obj->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) {
- saveChildrenOf( TQT_TQOBJECT(( (TQMainWindow*)obj )->centralWidget()), ts, indent );
+ } else if ( obj->inherits( "TQMainWindow" ) ) {
+ saveChildrenOf( ( (TQMainWindow*)obj )->centralWidget(), ts, indent );
} else {
saveChildrenOf( obj, ts, indent );
}
@@ -714,9 +705,9 @@ void Resource::saveObject( TQObject *obj, QDesignerGridLayout* grid, TQTextStrea
void Resource::saveItems( TQObject *obj, TQTextStream &ts, int indent )
{
- if ( obj->inherits( TQLISTBOX_OBJECT_NAME_STRING ) || obj->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) {
+ if ( obj->inherits( "TQListBox" ) || obj->inherits( "TQComboBox" ) ) {
TQListBox *lb = 0;
- if ( obj->inherits( TQLISTBOX_OBJECT_NAME_STRING ) )
+ if ( obj->inherits( "TQListBox" ) )
lb = (TQListBox*)obj;
else
lb = ( (TQComboBox*)obj )->listBox();
@@ -734,7 +725,7 @@ void Resource::saveItems( TQObject *obj, TQTextStream &ts, int indent )
indent--;
ts << makeIndent( indent ) << "</item>" << endl;
}
- } else if ( obj->inherits( TQICONVIEW_OBJECT_NAME_STRING ) ) {
+ } else if ( obj->inherits( "TQIconView" ) ) {
TQIconView *iv = (TQIconView*)obj;
TQIconViewItem *i = iv->firstItem();
@@ -750,7 +741,7 @@ void Resource::saveItems( TQObject *obj, TQTextStream &ts, int indent )
indent--;
ts << makeIndent( indent ) << "</item>" << endl;
}
- } else if ( obj->inherits( TQLISTVIEW_OBJECT_NAME_STRING ) ) {
+ } else if ( obj->inherits( "TQListView" ) ) {
TQListView *lv = (TQListView*)obj;
int i;
for ( i = 0; i < lv->header()->count(); ++i ) {
@@ -779,11 +770,11 @@ void Resource::saveItems( TQObject *obj, TQTextStream &ts, int indent )
saveItem( lv->firstChild(), ts, indent - 1 );
}
#ifndef TQT_NO_TABLE
- else if ( obj->inherits( TQTABLE_OBJECT_NAME_STRING ) ) {
+ else if ( obj->inherits( "TQTable" ) ) {
TQTable *table = (TQTable*)obj;
int i;
- TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( TQT_TQOBJECT(table) );
- bool isDataTable = table->inherits( TQDATATABLE_OBJECT_NAME_STRING );
+ TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( table );
+ bool isDataTable = table->inherits( "TQDataTable" );
for ( i = 0; i < table->horizontalHeader()->count(); ++i ) {
if ( !table->horizontalHeader()->label( i ).isNull() &&
table->horizontalHeader()->label( i ).toInt() != i + 1 ||
@@ -798,7 +789,7 @@ void Resource::saveItems( TQObject *obj, TQTextStream &ts, int indent )
if ( table->horizontalHeader()->iconSet( i ) )
pix.append( new TQPixmap( table->horizontalHeader()->iconSet( i )->pixmap() ) );
saveItem( l, pix, ts, indent );
- if ( table->inherits( TQDATATABLE_OBJECT_NAME_STRING ) && !columnFields.isEmpty() ) {
+ if ( table->inherits( "TQDataTable" ) && !columnFields.isEmpty() ) {
ts << makeIndent( indent ) << "<property name=\"field\">" << endl;
indent++;
ts << makeIndent( indent ) << "<string>" << entitize( *columnFields.find( l[ 0 ] ) ) << "</string>" << endl;
@@ -865,11 +856,11 @@ void Resource::savePixmap( const TQPixmap &p, TQTextStream &ts, int indent, cons
ts << makeIndent( indent ) << "<" + tagname + ">" << saveInCollection( p ) << "</" + tagname + ">" << endl;
#ifndef KOMMANDER
else if ( formwindow && formwindow->savePixmapInProject() )
- ts << makeIndent( indent ) << "<" + tagname + ">" << MetaDataBase::pixmapKey( TQT_TQOBJECT(formwindow), p.serialNumber() )
+ ts << makeIndent( indent ) << "<" + tagname + ">" << MetaDataBase::pixmapKey( formwindow, p.serialNumber() )
<< "</" + tagname + ">" << endl;
#endif
else
- ts << makeIndent( indent ) << "<" + tagname + ">" << MetaDataBase::pixmapArgument( TQT_TQOBJECT(formwindow), p.serialNumber() )
+ ts << makeIndent( indent ) << "<" + tagname + ">" << MetaDataBase::pixmapArgument( formwindow, p.serialNumber() )
<< "</" + tagname + ">" << endl;
}
@@ -881,7 +872,7 @@ TQPixmap Resource::loadPixmap( const TQDomElement &e, const TQString &/*tagname*
TQImage img = loadFromCollection( arg );
TQPixmap pix;
pix.convertFromImage( img );
- MetaDataBase::setPixmapArgument( TQT_TQOBJECT(formwindow), pix.serialNumber(), arg );
+ MetaDataBase::setPixmapArgument( formwindow, pix.serialNumber(), arg );
return pix;
}
#ifndef KOMMANDER
@@ -895,11 +886,11 @@ TQPixmap Resource::loadPixmap( const TQDomElement &e, const TQString &/*tagname*
{
TQPixmap pix;
pix = PixmapChooser::loadPixmap( "image.xpm" );
- MetaDataBase::setPixmapKey( TQT_TQOBJECT(formwindow), pix.serialNumber(), arg );
+ MetaDataBase::setPixmapKey( formwindow, pix.serialNumber(), arg );
return pix;
}
TQPixmap pix = PixmapChooser::loadPixmap( "image.xpm" );
- MetaDataBase::setPixmapArgument( TQT_TQOBJECT(formwindow), pix.serialNumber(), arg );
+ MetaDataBase::setPixmapArgument( formwindow, pix.serialNumber(), arg );
return pix;
}
@@ -937,7 +928,7 @@ void Resource::saveChildrenOf( TQObject* obj, TQTextStream &ts, int indent )
// if the widget has a layout we pretend that all widget's childs are childs of the layout - makes the structure nicer
TQLayout *layout = 0;
QDesignerGridLayout* grid = 0;
- if ( !obj->inherits( TQSPLITTER_OBJECT_NAME_STRING ) &&
+ if ( !obj->inherits( "TQSplitter" ) &&
WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( obj ) ) ) &&
obj->isWidgetType() &&
WidgetFactory::layoutType( (TQWidget*)obj, layout ) != WidgetFactory::NoLayout ) {
@@ -965,7 +956,7 @@ void Resource::saveChildrenOf( TQObject* obj, TQTextStream &ts, int indent )
// save properties of layout
if ( lay != WidgetFactory::NoLayout )
- saveObjectProperties( TQT_TQOBJECT(layout), ts, indent );
+ saveObjectProperties( layout, ts, indent );
}
@@ -989,11 +980,11 @@ void Resource::saveObjectProperties( TQObject *w, TQTextStream &ts, int indent )
if ( !changed.contains( "geometry" ) )
changed << "geometry";
}
- } else if ( w->inherits( TQLAYOUT_OBJECT_NAME_STRING ) ) { // #### should be cleaner (RS)
+ } else if ( w->inherits( "TQLayout" ) ) { // #### should be cleaner (RS)
changed << "margin" << "spacing";
}
- if ( TQT_BASE_OBJECT(w) == TQT_BASE_OBJECT(formwindow->mainContainer()) ) {
+ if ( w == formwindow->mainContainer() ) {
if ( changed.findIndex( "geometry" ) == -1 )
changed << "geometry";
if ( changed.findIndex( "caption" ) == -1 )
@@ -1003,7 +994,7 @@ void Resource::saveObjectProperties( TQObject *w, TQTextStream &ts, int indent )
if ( changed.isEmpty() )
return;
- bool inLayout = TQT_BASE_OBJECT(w) != TQT_BASE_OBJECT(formwindow->mainContainer()) && !copying && w->isWidgetType() && ( (TQWidget*)w )->parentWidget() &&
+ bool inLayout = w != formwindow->mainContainer() && !copying && w->isWidgetType() && ( (TQWidget*)w )->parentWidget() &&
WidgetFactory::layoutType( ( (TQWidget*)w )->parentWidget() ) != WidgetFactory::NoLayout;
TQStrList lst = w->metaObject()->propertyNames( !w->inherits( "Spacer" ) );
@@ -1017,7 +1008,7 @@ void Resource::saveObjectProperties( TQObject *w, TQTextStream &ts, int indent )
property( w->metaObject()->findProperty( it.current(), true ), true );
if ( !p || !p->stored( w ) || ( inLayout && qstrcmp( p->name(), "geometry" ) == 0 ) )
continue;
- if ( w->inherits( TQLABEL_OBJECT_NAME_STRING ) && qstrcmp( p->name(), "pixmap" ) == 0 &&
+ if ( w->inherits( "TQLabel" ) && qstrcmp( p->name(), "pixmap" ) == 0 &&
( !( (TQLabel*)w )->pixmap() || ( (TQLabel*)w )->pixmap()->isNull() ) )
continue;
if ( w->inherits( "QDesignerMenuBar" ) &&
@@ -1066,8 +1057,8 @@ void Resource::saveObjectProperties( TQObject *w, TQTextStream &ts, int indent )
void Resource::saveSetProperty( TQObject *w, const TQString &name, TQVariant::Type, TQTextStream &ts, int indent )
{
- const TQMetaProperty *p = w->metaObject()->property( w->metaObject()->findProperty( name, true ), true );
- TQStrList l( p->valueToKeys( w->property( name ).toInt() ) );
+ const TQMetaProperty *p = w->metaObject()->property( w->metaObject()->findProperty( name.latin1(), true ), true );
+ TQStrList l( p->valueToKeys( w->property( name.latin1() ).toInt() ) );
TQString v;
for ( uint i = 0; i < l.count(); ++i ) {
v += l.at( i );
@@ -1079,8 +1070,8 @@ void Resource::saveSetProperty( TQObject *w, const TQString &name, TQVariant::Ty
void Resource::saveEnumProperty( TQObject *w, const TQString &name, TQVariant::Type, TQTextStream &ts, int indent )
{
- const TQMetaProperty *p = w->metaObject()->property( w->metaObject()->findProperty( name, true ), true );
- ts << makeIndent( indent ) << "<enum>" << p->valueToKey( w->property( name ).toInt() ) << "</enum>" << endl;
+ const TQMetaProperty *p = w->metaObject()->property( w->metaObject()->findProperty( name.latin1(), true ), true );
+ ts << makeIndent( indent ) << "<enum>" << p->valueToKey( w->property( name.latin1() ).toInt() ) << "</enum>" << endl;
}
void Resource::saveProperty( TQObject *w, const TQString &name, const TQVariant &value, TQVariant::Type t, TQTextStream &ts, int indent )
@@ -1106,11 +1097,11 @@ void Resource::saveProperty( TQObject *w, const TQString &name, const TQVariant
break;
case TQVariant::Int:
num = value.toInt();
- if ( w && w->inherits( TQLAYOUT_OBJECT_NAME_STRING ) ) {
+ if ( w && w->inherits( "TQLayout" ) ) {
if ( name == "spacing" )
- num = MetaDataBase::spacing( TQT_TQOBJECT(WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( TQT_TQLAYOUT(TQT_BASE_OBJECT(w)) ) )) );
+ num = MetaDataBase::spacing( WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( (TQLayout*)w ) ) );
else if ( name == "margin" )
- num = MetaDataBase::margin( TQT_TQOBJECT(WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( TQT_TQLAYOUT(TQT_BASE_OBJECT(w)) ) )) );
+ num = MetaDataBase::margin( WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( (TQLayout*)w ) ) );
}
ts << makeIndent( indent ) << "<number>" << TQString::number( num ) << "</number>" << endl;
break;
@@ -1124,11 +1115,11 @@ void Resource::saveProperty( TQObject *w, const TQString &name, const TQVariant
break;
case TQVariant::UInt:
unum = value.toUInt();
- if ( w && w->inherits( TQLAYOUT_OBJECT_NAME_STRING ) ) {
+ if ( w && w->inherits( "TQLayout" ) ) {
if ( name == "spacing" )
- num = MetaDataBase::spacing( TQT_TQOBJECT(WidgetFactory::layoutParent( TQT_TQLAYOUT(TQT_BASE_OBJECT(w)) )) );
+ num = MetaDataBase::spacing( WidgetFactory::layoutParent( (TQLayout*)w ) );
else if ( name == "margin" )
- num = MetaDataBase::margin( TQT_TQOBJECT(WidgetFactory::layoutParent( TQT_TQLAYOUT(TQT_BASE_OBJECT(w)) )) );
+ num = MetaDataBase::margin( WidgetFactory::layoutParent( (TQLayout*)w ) );
}
ts << makeIndent( indent ) << "<number>" << TQString::number( unum ) << "</number>" << endl;
break;
@@ -1332,10 +1323,10 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
if ( colspan < 1 )
colspan = 1;
- TQString className = e.attribute( "class", TQWIDGET_OBJECT_NAME_STRING );
+ TQString className = e.attribute( "class", "TQWidget" );
if ( !className.isNull() ) {
- obj = TQT_TQOBJECT(WidgetFactory::create( WidgetDatabase::idFromClassName( className ), parent, 0, false ));
+ obj = WidgetFactory::create( WidgetDatabase::idFromClassName( className ), parent, 0, false );
if ( !obj )
return 0;
if ( !mainContainerSet ) {
@@ -1344,7 +1335,7 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
mainContainerSet = true;
}
w = (TQWidget*)obj;
- if ( w->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQMainWindow" ) )
w = ( (TQMainWindow*)w )->centralWidget();
if ( layout ) {
switch ( WidgetFactory::layoutType( layout ) ) {
@@ -1368,10 +1359,10 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
layout = 0;
if ( w && formwindow ) {
- if ( !parent || ( !parent->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) && !parent->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) && !parent->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) )
+ if ( !parent || ( !parent->inherits( "TQToolBox" ) && !parent->inherits( "TQTabWidget" ) && !parent->inherits( "TQWizard" ) ) )
formwindow->insertWidget( w, pasting );
- else if ( parent && ( parent->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) || parent->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) || parent->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) )
- MetaDataBase::addEntry( TQT_TQOBJECT(w) );
+ else if ( parent && ( parent->inherits( "TQToolBox" ) || parent->inherits( "TQTabWidget" ) || parent->inherits( "TQWizard" ) ) )
+ MetaDataBase::addEntry( w );
if (w->inherits("Dialog"))
dynamic_cast<Dialog*>(w)->setUseInternalParser(false);
}
@@ -1379,22 +1370,22 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
while ( !n.isNull() ) {
if ( n.tagName() == "spacer" ) {
- createSpacer( n, w, layout, Qt::Horizontal );
+ createSpacer( n, w, layout, TQt::Horizontal );
} else if ( n.tagName() == "widget" ) {
createObject( n, w, layout );
} else if ( n.tagName() == "hbox" ) {
layout = WidgetFactory::createLayout( w, layout, WidgetFactory::HBox );
- obj = TQT_TQOBJECT(layout);
+ obj = layout;
n = n.firstChild().toElement();
continue;
} else if ( n.tagName() == "grid" ) {
layout = WidgetFactory::createLayout( w, layout, WidgetFactory::Grid );
- obj = TQT_TQOBJECT(layout);
+ obj = layout;
n = n.firstChild().toElement();
continue;
} else if ( n.tagName() == "vbox" ) {
layout = WidgetFactory::createLayout( w, layout, WidgetFactory::VBox );
- obj = TQT_TQOBJECT(layout);
+ obj = layout;
n = n.firstChild().toElement();
continue;
} else if ( n.tagName() == "property" && obj ) {
@@ -1402,14 +1393,14 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
} else if ( n.tagName() == "attribute" && w ) {
TQString attrib = n.attribute( "name" );
TQVariant v = DomTool::elementToVariant( n.firstChild().toElement(), TQVariant() );
- if ( parent->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) ) {
+ if ( parent->inherits( "TQTabWidget" ) ) {
if ( attrib == "title" )
( (TQTabWidget*)parent )->insertTab( w, v.toString() );
} else
- if ( parent->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) ) {
+ if ( parent->inherits( "TQToolBox" ) ) {
if ( attrib == "label" )
( (TQToolBox*)parent )->addItem( w, v.toString() );
- } else if ( parent->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) {
+ } else if ( parent->inherits( "TQWizard" ) ) {
if ( attrib == "title" )
( (TQWizard*)parent )->addPage( w, v.toString() );
}
@@ -1428,7 +1419,7 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
n = n.nextSibling().toElement();
}
- return TQT_TQOBJECT(w);
+ return w;
}
void Resource::createColumn( const TQDomElement &e, TQWidget *widget )
@@ -1436,7 +1427,7 @@ void Resource::createColumn( const TQDomElement &e, TQWidget *widget )
if ( !widget )
return;
- if ( widget->inherits( TQLISTVIEW_OBJECT_NAME_STRING ) && e.tagName() == "column" ) {
+ if ( widget->inherits( "TQListView" ) && e.tagName() == "column" ) {
TQListView *lv = (TQListView*)widget;
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
@@ -1470,7 +1461,7 @@ void Resource::createColumn( const TQDomElement &e, TQWidget *widget )
lv->header()->setResizeEnabled( resizeable, i );
}
#ifndef TQT_NO_TABLE
- else if ( widget->inherits( TQTABLE_OBJECT_NAME_STRING ) ) {
+ else if ( widget->inherits( "TQTable" ) ) {
TQTable *table = (TQTable*)widget;
bool isRow;
if ( ( isRow = e.tagName() == "row" ) )
@@ -1483,7 +1474,7 @@ void Resource::createColumn( const TQDomElement &e, TQWidget *widget )
bool hasPixmap = false;
TQString txt;
TQString field;
- TQMap<TQString, TQString> fieldMap = MetaDataBase::columnFields( TQT_TQOBJECT(table) );
+ TQMap<TQString, TQString> fieldMap = MetaDataBase::columnFields( table );
while ( !n.isNull() ) {
if ( n.tagName() == "property" ) {
TQString attrib = n.attribute( "name" );
@@ -1508,7 +1499,7 @@ void Resource::createColumn( const TQDomElement &e, TQWidget *widget )
h->setLabel( i, txt );
if ( !isRow && !field.isEmpty() )
fieldMap.insert( txt, field );
- MetaDataBase::setColumnFields( TQT_TQOBJECT(table), fieldMap );
+ MetaDataBase::setColumnFields( table, fieldMap );
}
#endif
}
@@ -1534,17 +1525,17 @@ void Resource::loadItem( const TQDomElement &e, TQPixmap &pix, TQString &txt, bo
void Resource::createItem( const TQDomElement &e, TQWidget *widget, TQListViewItem *i )
{
- if ( !widget || !WidgetFactory::hasItems( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( TQT_TQOBJECT(widget) ) ) ) )
+ if ( !widget || !WidgetFactory::hasItems( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( widget ) ) ) )
return;
- if ( widget->inherits( TQLISTBOX_OBJECT_NAME_STRING ) || widget->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) {
+ if ( widget->inherits( "TQListBox" ) || widget->inherits( "TQComboBox" ) ) {
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
bool hasPixmap = false;
TQString txt;
loadItem( n, pix, txt, hasPixmap );
TQListBox *lb = 0;
- if ( widget->inherits( TQLISTBOX_OBJECT_NAME_STRING ) )
+ if ( widget->inherits( "TQListBox" ) )
lb = (TQListBox*)widget;
else
lb = ( (TQComboBox*)widget)->listBox();
@@ -1553,7 +1544,7 @@ void Resource::createItem( const TQDomElement &e, TQWidget *widget, TQListViewIt
} else {
new TQListBoxText( lb, txt );
}
- } else if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) ) {
+ } else if ( widget->inherits( "TQIconView" ) ) {
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
bool hasPixmap = false;
@@ -1562,7 +1553,7 @@ void Resource::createItem( const TQDomElement &e, TQWidget *widget, TQListViewIt
TQIconView *iv = (TQIconView*)widget;
new TQIconViewItem( iv, txt, pix );
- } else if ( widget->inherits( TQLISTVIEW_OBJECT_NAME_STRING ) ) {
+ } else if ( widget->inherits( "TQListView" ) ) {
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
TQValueList<TQPixmap> pixmaps;
@@ -1605,7 +1596,7 @@ void Resource::createItem( const TQDomElement &e, TQWidget *widget, TQListViewIt
}
}
-TQWidget *Resource::createSpacer( const TQDomElement &e, TQWidget *parent, TQLayout *layout, Qt::Orientation o )
+TQWidget *Resource::createSpacer( const TQDomElement &e, TQWidget *parent, TQLayout *layout, TQt::Orientation o )
{
TQDomElement n = e.firstChild().toElement();
int row = e.attribute( "row" ).toInt();
@@ -1623,14 +1614,14 @@ TQWidget *Resource::createSpacer( const TQDomElement &e, TQWidget *parent, TQLay
spacer->setInteraciveMode( false );
while ( !n.isNull() ) {
if ( n.tagName() == "property" )
- setObjectProperty( TQT_TQOBJECT(spacer), n.attribute( "name" ), n.firstChild().toElement() );
+ setObjectProperty( spacer, n.attribute( "name" ), n.firstChild().toElement() );
n = n.nextSibling().toElement();
}
spacer->setInteraciveMode( true );
if ( formwindow )
formwindow->insertWidget( spacer, pasting );
if ( layout ) {
- if ( layout->inherits( TQBOXLAYOUT_OBJECT_NAME_STRING ) )
+ if ( layout->inherits( "TQBoxLayout" ) )
( (TQBoxLayout*)layout )->addWidget( spacer, 0, spacer->alignment() );
else
( (QDesignerGridLayout*)layout )->addMultiCellWidget( spacer, row, row + rowspan - 1, col, col + colspan - 1,
@@ -1644,9 +1635,9 @@ TQWidget *Resource::createSpacer( const TQDomElement &e, TQWidget *parent, TQLay
*/
void Resource::setObjectProperty( TQObject* obj, const TQString &prop, const TQDomElement &e )
{
- const TQMetaProperty *p = obj->metaObject()->property( obj->metaObject()->findProperty( prop, true ), true );
+ const TQMetaProperty *p = obj->metaObject()->property( obj->metaObject()->findProperty( prop.latin1(), true ), true );
- if ( !obj->inherits( TQLAYOUT_OBJECT_NAME_STRING ) ) {// no layouts in metadatabase... (RS)
+ if ( !obj->inherits( "TQLayout" ) ) {// no layouts in metadatabase... (RS)
if ( obj->inherits( "CustomWidget" ) ) {
MetaDataBase::CustomWidget *cw = ( (CustomWidget*)obj )->customWidget();
if ( cw && !cw->hasProperty( prop.latin1() ) && !p && prop != "toolTip" && prop != "whatsThis" )
@@ -1688,7 +1679,7 @@ void Resource::setObjectProperty( TQObject* obj, const TQString &prop, const TQD
if ( !p ) {
MetaDataBase::setFakeProperty( obj, prop, v );
if ( obj->isWidgetType() ) {
- if ( prop == "database" && TQT_BASE_OBJECT(obj) != TQT_BASE_OBJECT(toplevel) ) {
+ if ( prop == "database" && obj != toplevel ) {
TQStringList lst = MetaDataBase::fakeProperty( obj, "database" ).toStringList();
if ( lst.count() > 2 )
dbControls.insert( obj->name(), lst[ 2 ] );
@@ -1720,13 +1711,13 @@ void Resource::setObjectProperty( TQObject* obj, const TQString &prop, const TQD
v = TQPalette( p );
} else if ( e.tagName() == "enum" && p && p->isEnumType() ) {
TQString key( v.toString() );
- v = TQVariant( p->keyToValue( key ) );
+ v = TQVariant( p->keyToValue( key.utf8() ) );
} else if ( e.tagName() == "set" && p && p->isSetType() ) {
TQString keys( v.toString() );
TQStringList lst = TQStringList::split( '|', keys );
TQStrList l;
for ( TQStringList::Iterator it = lst.begin(); it != lst.end(); ++it )
- l.append( *it );
+ l.append( (*it).utf8() );
v = TQVariant( p->keysToValue( l ) );
}
@@ -1743,24 +1734,24 @@ void Resource::setObjectProperty( TQObject* obj, const TQString &prop, const TQD
}
if ( prop == "geometry" ) {
- if ( TQT_BASE_OBJECT(obj) == toplevel ) {
+ if ( obj == toplevel ) {
hadGeometry = true;
toplevel->resize( v.toRect().size() );
return;
- } else if ( TQT_BASE_OBJECT(obj) == formwindow->mainContainer() ) {
+ } else if ( obj == formwindow->mainContainer() ) {
hadGeometry = true;
formwindow->resize( v.toRect().size() );
return;
}
}
- if ( obj->inherits( TQLAYOUT_OBJECT_NAME_STRING ) ) {
+ if ( obj->inherits( "TQLayout" ) ) {
if ( prop == "spacing" ) {
- MetaDataBase::setSpacing( TQT_TQOBJECT(WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( (TQLayout*)obj ) )), v.toInt() );
+ MetaDataBase::setSpacing( WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( (TQLayout*)obj ) ), v.toInt() );
return;
}
if ( prop == "margin" ) {
- MetaDataBase::setMargin( TQT_TQOBJECT(WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( (TQLayout*)obj ) )), v.toInt() );
+ MetaDataBase::setMargin( WidgetFactory::containerOfWidget( WidgetFactory::layoutParent( (TQLayout*)obj ) ), v.toInt() );
return;
}
}
@@ -1768,10 +1759,10 @@ void Resource::setObjectProperty( TQObject* obj, const TQString &prop, const TQD
if ( prop == "name" ) {
if ( pasting ) {
TQString s = v.toString();
- formwindow->unify( TQT_TQOBJECT(obj), s, true );
- obj->setName( s );
+ formwindow->unify( obj, s, true );
+ obj->setName( s.utf8() );
return;
- } else if ( formwindow && TQT_BASE_OBJECT(obj) == formwindow->mainContainer() ) {
+ } else if ( formwindow && obj == formwindow->mainContainer() ) {
formwindow->setName( v.toCString() );
}
}
@@ -1781,7 +1772,7 @@ void Resource::setObjectProperty( TQObject* obj, const TQString &prop, const TQD
sp.setHeightForWidth( ( (TQWidget*)obj )->sizePolicy().hasHeightForWidth() );
}
- obj->setProperty( prop, v );
+ obj->setProperty( prop.latin1(), v );
}
@@ -1876,7 +1867,7 @@ static TQImage loadImageData( TQDomElement &n2 )
::uncompress( (uchar*) baunzip.data(), &len, (uchar*) ba, data.length()/2 );
img.loadFromData( (const uchar*)baunzip.data(), len, "XPM" );
} else {
- img.loadFromData( (const uchar*)ba, data.length() / 2, format );
+ img.loadFromData( (const uchar*)ba, data.length() / 2, format.utf8() );
}
delete [] ba;
@@ -1916,7 +1907,7 @@ void Resource::saveConnections( TQTextStream &ts, int indent )
{
ts << makeIndent( indent ) << "<connections>" << endl;
indent++;
- TQValueList<MetaDataBase::Connection> connections = MetaDataBase::connections( TQT_TQOBJECT(formwindow) );
+ TQValueList<MetaDataBase::Connection> connections = MetaDataBase::connections( formwindow );
TQValueList<MetaDataBase::Connection>::Iterator it = connections.begin();
for ( ; it != connections.end(); ++it ) {
MetaDataBase::Connection conn = *it;
@@ -1925,8 +1916,8 @@ void Resource::saveConnections( TQTextStream &ts, int indent )
( knownNames.findIndex( TQString( conn.receiver->name() ) ) == -1 &&
qstrcmp( conn.receiver->name(), "this" ) != 0 ) )
continue;
- if ( formwindow->isMainContainer( TQT_TQOBJECT((*it).receiver) ) &&
- !MetaDataBase::hasSlot( TQT_TQOBJECT(formwindow), MetaDataBase::normalizeSlot( (*it).slot ).latin1() ) )
+ if ( formwindow->isMainContainer( (*it).receiver ) &&
+ !MetaDataBase::hasSlot( formwindow, MetaDataBase::normalizeSlot( (*it).slot ).latin1() ) )
continue;
if ( conn.sender->inherits( "CustomWidget" ) ) {
@@ -1955,7 +1946,7 @@ void Resource::saveConnections( TQTextStream &ts, int indent )
TQString lang = formwindow->project()->language();
LanguageInterface *iface = langIface;
if ( iface && MetaDataBase::hasEvents( lang ) ) {
- TQObjectList *l = formwindow->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList *l = formwindow->queryList( "TQWidget" );
l->append( formwindow );
TQPtrList<TQAction> lst = formwindow->actionList();
for ( TQAction *a = lst.first(); a; a = lst.next() )
@@ -1994,12 +1985,12 @@ void Resource::loadConnections( const TQDomElement &e )
if ( n2.tagName() == "sender" ) {
conn.sender = 0;
TQString name = n2.firstChild().toText().data();
- if ( name == "this" || qstrcmp( toplevel->name(), name ) == 0 ) {
- conn.sender = TQT_TQOBJECT(toplevel);
+ if ( name == "this" || toplevel->name() == name ) {
+ conn.sender = toplevel;
} else {
if ( name == "this" )
name = toplevel->name();
- TQObjectList *l = toplevel->queryList( 0, name, false );
+ TQObjectList *l = toplevel->queryList( 0, name.utf8(), false );
if ( l ) {
if ( l->first() )
conn.sender = l->first();
@@ -2009,13 +2000,13 @@ void Resource::loadConnections( const TQDomElement &e )
conn.sender = formwindow->findAction( name );
}
} else if ( n2.tagName() == "signal" ) {
- conn.signal = n2.firstChild().toText().data();
+ conn.signal = n2.firstChild().toText().data().utf8();
} else if ( n2.tagName() == "receiver" ) {
TQString name = n2.firstChild().toText().data();
- if ( name == "this" || qstrcmp( toplevel->name(), name ) == 0 ) {
- conn.receiver = TQT_TQOBJECT(toplevel);
+ if ( name == "this" || toplevel->name() == name ) {
+ conn.receiver = toplevel;
} else {
- TQObjectList *l = toplevel->queryList( 0, name, false );
+ TQObjectList *l = toplevel->queryList( 0, name.utf8(), false );
if ( l ) {
if ( l->first() )
conn.receiver = l->first();
@@ -2023,15 +2014,15 @@ void Resource::loadConnections( const TQDomElement &e )
}
}
} else if ( n2.tagName() == "slot" ) {
- conn.slot = n2.firstChild().toText().data();
+ conn.slot = n2.firstChild().toText().data().utf8();
}
n2 = n2.nextSibling().toElement();
}
if ( formwindow ) {
- if ( TQT_BASE_OBJECT(conn.sender) == TQT_BASE_OBJECT(formwindow) )
- conn.sender = TQT_TQOBJECT(formwindow->mainContainer());
- if ( TQT_BASE_OBJECT(conn.receiver) == TQT_BASE_OBJECT(formwindow) )
- conn.receiver = TQT_TQOBJECT(formwindow->mainContainer());
+ if ( conn.sender == formwindow )
+ conn.sender = formwindow->mainContainer();
+ if ( conn.receiver == formwindow )
+ conn.receiver = formwindow->mainContainer();
}
if ( conn.sender && conn.receiver ) {
#ifndef KOMMANDER
@@ -2044,7 +2035,7 @@ void Resource::loadConnections( const TQDomElement &e )
TQStringList::split( ',', conn.slot ), false );
}
#else
- MetaDataBase::addConnection( formwindow ? TQT_TQOBJECT(formwindow) : TQT_TQOBJECT(toplevel),
+ MetaDataBase::addConnection( formwindow ? formwindow : toplevel,
conn.sender, conn.signal, conn.receiver, conn.slot );
#endif
}
@@ -2060,12 +2051,12 @@ void Resource::loadConnections( const TQDomElement &e )
slot.returnType = n.attribute( "returnType", "void" );
if ( slot.returnType.isEmpty() )
slot.returnType = "void";
- slot.slot = n.firstChild().toText().data();
- if ( !MetaDataBase::hasSlot( TQT_TQOBJECT(formwindow), slot.slot, true ) )
- MetaDataBase::addSlot( TQT_TQOBJECT(formwindow), slot.slot, slot.specifier,
+ slot.slot = n.firstChild().toText().data().utf8();
+ if ( !MetaDataBase::hasSlot( formwindow, slot.slot, true ) )
+ MetaDataBase::addSlot( formwindow, slot.slot, slot.specifier,
slot.access, slot.language, slot.returnType );
else
- MetaDataBase::changeSlotAttributes( TQT_TQOBJECT(formwindow), slot.slot,
+ MetaDataBase::changeSlotAttributes( formwindow, slot.slot,
slot.specifier, slot.access,
slot.language, slot.returnType );
}
@@ -2233,7 +2224,7 @@ void Resource::loadTabOrder( const TQDomElement &e )
TQString name = n.firstChild().toText().data();
if ( name.isEmpty() )
continue;
- TQObjectList *l = toplevel->queryList( 0, name, false );
+ TQObjectList *l = toplevel->queryList( 0, name.utf8(), false );
if ( l ) {
if ( l->first() ) {
TQWidget *w = (TQWidget*)l->first();
@@ -2254,7 +2245,7 @@ void Resource::loadTabOrder( const TQDomElement &e )
void Resource::saveMetaInfoBefore( TQTextStream &ts, int indent )
{
- MetaDataBase::MetaInfo info = MetaDataBase::metaInfo(TQT_TQOBJECT(formwindow));
+ MetaDataBase::MetaInfo info = MetaDataBase::metaInfo(formwindow);
TQString cn = formwindow->name();
ts << makeIndent(indent) << "<class>" << entitize(cn) << "</class>" << endl;
if (!info.comment.isEmpty())
@@ -2269,8 +2260,8 @@ void Resource::saveMetaInfoBefore( TQTextStream &ts, int indent )
void Resource::saveMetaInfoAfter( TQTextStream &ts, int indent )
{
- MetaDataBase::MetaInfo info = MetaDataBase::metaInfo( TQT_TQOBJECT(formwindow) );
- TQValueList<MetaDataBase::Include> includes = MetaDataBase::includes( TQT_TQOBJECT(formwindow) );
+ MetaDataBase::MetaInfo info = MetaDataBase::metaInfo( formwindow );
+ TQValueList<MetaDataBase::Include> includes = MetaDataBase::includes( formwindow );
TQString extensionInclude;
bool needExtensionInclude = false;
if ( !includes.isEmpty() || needExtensionInclude ) {
@@ -2291,7 +2282,7 @@ void Resource::saveMetaInfoAfter( TQTextStream &ts, int indent )
ts << makeIndent( indent ) << "</includes>" << endl;
}
- TQStringList forwards = MetaDataBase::forwards( TQT_TQOBJECT(formwindow) );
+ TQStringList forwards = MetaDataBase::forwards( formwindow );
if ( !forwards.isEmpty() ) {
ts << makeIndent( indent ) << "<forwards>" << endl;
indent++;
@@ -2300,7 +2291,7 @@ void Resource::saveMetaInfoAfter( TQTextStream &ts, int indent )
indent--;
ts << makeIndent( indent ) << "</forwards>" << endl;
}
- TQStringList sigs = MetaDataBase::signalList( TQT_TQOBJECT(formwindow) );
+ TQStringList sigs = MetaDataBase::signalList( formwindow );
if ( !sigs.isEmpty() ) {
ts << makeIndent( indent ) << "<signals>" << endl;
indent++;
@@ -2309,7 +2300,7 @@ void Resource::saveMetaInfoAfter( TQTextStream &ts, int indent )
indent--;
ts << makeIndent( indent ) << "</signals>" << endl;
- TQValueList<MetaDataBase::Slot> slotList = MetaDataBase::slotList( TQT_TQOBJECT(formwindow) );
+ TQValueList<MetaDataBase::Slot> slotList = MetaDataBase::slotList( formwindow );
if ( !slotList.isEmpty() ) {
ts << makeIndent( indent ) << "<slots>" << endl;
indent++;
@@ -2339,7 +2330,7 @@ void Resource::saveMetaInfoAfter( TQTextStream &ts, int indent )
;
else
ts << makeIndent( indent ) << "<pixmapfunction>" << formwindow->pixmapLoaderFunction() << "</pixmapfunction>" << endl;
- if ( !( exportMacro = MetaDataBase::exportMacro( TQT_TQOBJECT(formwindow->mainContainer()) ) ).isEmpty() )
+ if ( !( exportMacro = MetaDataBase::exportMacro( formwindow->mainContainer() ) ).isEmpty() )
ts << makeIndent( indent ) << "<exportmacro>" << exportMacro << "</exportmacro>" << endl;
if ( formwindow )
ts << makeIndent( indent ) << "<layoutdefaults spacing=\"" << formwindow->layoutDefaultSpacing()
@@ -2374,10 +2365,10 @@ void Resource::saveChildActions( TQAction *a, TQTextStream &ts, int indent )
while ( it.current() ) {
TQObject *o = it.current();
++it;
- if ( !o->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !o->inherits( "TQAction" ) )
continue;
TQAction *ac = (TQAction*)o;
- bool isGroup = ac->inherits( TQACTIONGROUP_OBJECT_NAME_STRING );
+ bool isGroup = ac->inherits( "TQActionGroup" );
if ( isGroup )
ts << makeIndent( indent ) << "<actiongroup>" << endl;
else
@@ -2406,7 +2397,7 @@ void Resource::saveActions( const TQPtrList<TQAction> &actions, TQTextStream &ts
TQPtrListIterator<TQAction> it( actions );
while ( it.current() ) {
TQAction *a = it.current();
- bool isGroup = a->inherits( TQACTIONGROUP_OBJECT_NAME_STRING );
+ bool isGroup = a->inherits( "TQActionGroup" );
if ( isGroup )
ts << makeIndent( indent ) << "<actiongroup>" << endl;
else
@@ -2450,7 +2441,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e )
}
n2 = n2.nextSibling().toElement();
}
- if ( !parent->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !parent->inherits( "TQAction" ) )
formwindow->actionList().append( a );
} else if ( n.tagName() == "actiongroup" ) {
a = new QDesignerActionGroup( parent );
@@ -2472,7 +2463,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e )
}
n2 = n2.nextSibling().toElement();
}
- if ( !parent->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !parent->inherits( "TQAction" ) )
formwindow->actionList().append( a );
}
}
@@ -2482,9 +2473,9 @@ void Resource::loadActions( const TQDomElement &e )
TQDomElement n = e.firstChild().toElement();
while ( !n.isNull() ) {
if ( n.tagName() == "action" ) {
- loadChildAction( TQT_TQOBJECT(formwindow), n );
+ loadChildAction( formwindow, n );
} else if ( n.tagName() == "actiongroup" ) {
- loadChildAction( TQT_TQOBJECT(formwindow), n );
+ loadChildAction( formwindow, n );
}
n = n.nextSibling().toElement();
}
@@ -2505,7 +2496,7 @@ void Resource::saveToolBars( TQMainWindow *mw, TQTextStream &ts, int indent )
continue;
ts << makeIndent( indent ) << "<toolbar dock=\"" << i << "\">" << endl;
indent++;
- saveObjectProperties( TQT_TQOBJECT(tb), ts, indent );
+ saveObjectProperties( tb, ts, indent );
TQPtrList<TQAction> actionList = ( (QDesignerToolBar*)tb )->insertedActions();
for ( TQAction *a = actionList.first(); a; a = actionList.next() ) {
if ( a->inherits( "QSeparatorAction" ) ) {
@@ -2514,14 +2505,14 @@ void Resource::saveToolBars( TQMainWindow *mw, TQTextStream &ts, int indent )
if ( a->inherits( "QDesignerAction" ) && !( (QDesignerAction*)a )->supportsMenu() ) {
TQWidget *w = ( (QDesignerAction*)a )->widget();
ts << makeIndent( indent ) << "<widget class=\""
- << WidgetFactory::classNameOf( TQT_TQOBJECT(w) ) << "\">" << endl;
+ << WidgetFactory::classNameOf( w ) << "\">" << endl;
indent++;
- saveObjectProperties( TQT_TQOBJECT(w), ts, indent );
- const char *className = WidgetFactory::classNameOf( TQT_TQOBJECT(w) );
+ saveObjectProperties( w, ts, indent );
+ const char *className = WidgetFactory::classNameOf( w );
if ( w->isA( "CustomWidget" ) )
usedCustomWidgets << TQString( className );
- if ( WidgetFactory::hasItems( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( TQT_TQOBJECT(w) ) ) ) )
- saveItems( TQT_TQOBJECT(w), ts, indent );
+ if ( WidgetFactory::hasItems( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( w ) ) ) )
+ saveItems( w, ts, indent );
indent--;
ts << makeIndent( indent ) << "</widget>" << endl;
} else {
@@ -2539,11 +2530,11 @@ void Resource::saveToolBars( TQMainWindow *mw, TQTextStream &ts, int indent )
void Resource::saveMenuBar( TQMainWindow *mw, TQTextStream &ts, int indent )
{
- if ( !mw->child( 0, TQMENUBAR_OBJECT_NAME_STRING ) )
+ if ( !mw->child( 0, "TQMenuBar" ) )
return;
ts << makeIndent( indent ) << "<menubar>" << endl;
indent++;
- saveObjectProperties( TQT_TQOBJECT(mw->menuBar()), ts, indent );
+ saveObjectProperties( mw->menuBar(), ts, indent );
for ( int i = 0; i < (int)mw->menuBar()->count(); ++i ) {
ts << makeIndent( indent ) << "<item text=\"" << entitize( mw->menuBar()->text( mw->menuBar()->idAt( i ) ) )
@@ -2589,12 +2580,12 @@ void Resource::loadToolBars( const TQDomElement &e )
tb->addAction( a );
} else if ( n2.tagName() == "widget" ) {
TQWidget *w = (TQWidget*)createObject( n2, tb );
- QDesignerAction *a = new QDesignerAction( w, TQT_TQOBJECT(tb) );
+ QDesignerAction *a = new QDesignerAction( w, tb );
a->addTo( tb );
tb->addAction( a );
tb->installEventFilters( w );
} else if ( n2.tagName() == "property" ) {
- setObjectProperty( TQT_TQOBJECT(tb), n2.attribute( "name" ), n2.firstChild().toElement() );
+ setObjectProperty( tb, n2.attribute( "name" ), n2.firstChild().toElement() );
}
n2 = n2.nextSibling().toElement();
}
@@ -2611,7 +2602,7 @@ void Resource::loadMenuBar( const TQDomElement &e )
while ( !n.isNull() ) {
if ( n.tagName() == "item" ) {
QDesignerPopupMenu *popup = new QDesignerPopupMenu( mw );
- popup->setName( n.attribute( "name" ) );
+ popup->setName( n.attribute( "name" ).utf8() );
TQDomElement n2 = n.firstChild().toElement();
while ( !n2.isNull() ) {
if ( n2.tagName() == "action" ) {
@@ -2629,7 +2620,7 @@ void Resource::loadMenuBar( const TQDomElement &e )
}
mb->insertItem( n.attribute( "text" ), popup );
} else if ( n.tagName() == "property" ) {
- setObjectProperty( TQT_TQOBJECT(mb), n.attribute( "name" ), n.firstChild().toElement() );
+ setObjectProperty( mb, n.attribute( "name" ), n.firstChild().toElement() );
}
n = n.nextSibling().toElement();
}
@@ -2672,7 +2663,7 @@ void Resource::saveFormCode()
LanguageInterface::Function func;
func.name = slot.slot;
func.body = *it;
- func.comments = MetaDataBase::functionComments( TQT_TQOBJECT(formwindow), func.name );
+ func.comments = MetaDataBase::functionComments( formwindow, func.name );
func.returnType = slot.returnType;
funcs.append( func );
}
@@ -2725,7 +2716,7 @@ void Resource::loadFunctions( const TQDomElement &e )
}
n = n.nextSibling().toElement();
}
- MetaDataBase::setFunctionBodies( TQT_TQOBJECT(formwindow), bodies, TQString(), TQString() );
+ MetaDataBase::setFunctionBodies( formwindow, bodies, TQString(), TQString() );
if ( !bodies.isEmpty() ) {
LanguageInterface *iface = langIface;
if ( !iface )
@@ -2740,7 +2731,7 @@ void Resource::loadFunctions( const TQDomElement &e )
#endif
continue;
TQString sl( (*it).slot );
- TQString comments = MetaDataBase::functionComments( TQT_TQOBJECT(formwindow), sl );
+ TQString comments = MetaDataBase::functionComments( formwindow, sl );
if ( !comments.isEmpty() )
code += comments + "\n";
code += iface->createFunctionStart( formwindow->name(), make_function_pretty( sl ),
@@ -2821,25 +2812,25 @@ void Resource::loadExtraSource()
for ( TQValueList<LanguageInterface::Function>::Iterator fit = functions.begin();
fit != functions.end(); ++fit ) {
- if ( MetaDataBase::hasSlot( TQT_TQOBJECT(formwindow), (*fit).name.latin1() ) )
- MetaDataBase::changeSlot( TQT_TQOBJECT(formwindow), (*fit).name.latin1(), (*fit).name.latin1() );
+ if ( MetaDataBase::hasSlot( formwindow, (*fit).name.latin1() ) )
+ MetaDataBase::changeSlot( formwindow, (*fit).name.latin1(), (*fit).name.latin1() );
else
- MetaDataBase::addSlot( TQT_TQOBJECT(formwindow), (*fit).name.latin1(), "virtual", "public", lang, (*fit).returnType );
- MetaDataBase::setFunctionComments( TQT_TQOBJECT(formwindow), (*fit).name, (*fit).comments );
+ MetaDataBase::addSlot( formwindow, (*fit).name.latin1(), "virtual", "public", lang, (*fit).returnType );
+ MetaDataBase::setFunctionComments( formwindow, (*fit).name, (*fit).comments );
bodies.insert( MetaDataBase::normalizeSlot( (*fit).name ), (*fit).body );
}
- MetaDataBase::setFunctionBodies( TQT_TQOBJECT(formwindow), bodies, TQString(), TQString() );
+ MetaDataBase::setFunctionBodies( formwindow, bodies, TQString(), TQString() );
TQStringList v = MetaDataBase::variables( formwindow );
TQStringList::Iterator vit;
for ( vit = vars.begin(); vit != vars.end(); ++vit )
v << *vit;
- MetaDataBase::setVariables( TQT_TQOBJECT(formwindow), v );
+ MetaDataBase::setVariables( formwindow, v );
TQStringList f = MetaDataBase::forwards( formwindow );
for ( vit = forwards.begin(); vit != forwards.end(); ++vit )
f << *vit;
- MetaDataBase::setForwards( TQT_TQOBJECT(formwindow), f );
+ MetaDataBase::setForwards( formwindow, f );
TQValueList<MetaDataBase::Include> incls = MetaDataBase::includes( formwindow );
for ( vit = includesImpl.begin(); vit != includesImpl.end(); ++vit ) {
@@ -2854,6 +2845,6 @@ void Resource::loadExtraSource()
inc.location = "in declaration";
incls << inc;
}
- MetaDataBase::setIncludes( TQT_TQOBJECT(formwindow), incls );
+ MetaDataBase::setIncludes( formwindow, incls );
}
#endif
diff --git a/kommander/editor/sizehandle.cpp b/kommander/editor/sizehandle.cpp
index 8aa6fdc7..4f6773dc 100644
--- a/kommander/editor/sizehandle.cpp
+++ b/kommander/editor/sizehandle.cpp
@@ -102,7 +102,7 @@ void SizeHandle::paintEvent( TQPaintEvent * )
void SizeHandle::mousePressEvent( TQMouseEvent *e )
{
- if ( !widget || e->button() != Qt::LeftButton || !active )
+ if ( !widget || e->button() != TQt::LeftButton || !active )
return;
oldPressPos = e->pos();
geom = origGeom = TQRect( widget->pos(), widget->size() );
@@ -110,7 +110,7 @@ void SizeHandle::mousePressEvent( TQMouseEvent *e )
void SizeHandle::mouseMoveEvent( TQMouseEvent *e )
{
- if ( !widget || ( e->state() & Qt::LeftButton ) != Qt::LeftButton || !active )
+ if ( !widget || ( e->state() & TQt::LeftButton ) != TQt::LeftButton || !active )
return;
TQPoint rp = mapFromGlobal( e->globalPos() );
TQPoint d = oldPressPos - rp;
@@ -222,7 +222,7 @@ void SizeHandle::mouseMoveEvent( TQMouseEvent *e )
void SizeHandle::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( e->button() != Qt::LeftButton || !active )
+ if ( e->button() != TQt::LeftButton || !active )
return;
formWindow->sizePreview()->hide();
@@ -231,7 +231,7 @@ void SizeHandle::mouseReleaseEvent( TQMouseEvent *e )
formWindow,
widget, origGeom,
widget->geometry() ) );
- formWindow->emitUpdateProperties( TQT_TQOBJECT(widget) );
+ formWindow->emitUpdateProperties( widget );
}
void SizeHandle::trySetGeometry( TQWidget *w, int x, int y, int width, int height )
diff --git a/kommander/editor/sizehandle.h b/kommander/editor/sizehandle.h
index 28d18063..394788ed 100644
--- a/kommander/editor/sizehandle.h
+++ b/kommander/editor/sizehandle.h
@@ -32,7 +32,7 @@ class TQPaintEvent;
class SizeHandle : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/styledbutton.cpp b/kommander/editor/styledbutton.cpp
index 55c8945f..c35ce642 100644
--- a/kommander/editor/styledbutton.cpp
+++ b/kommander/editor/styledbutton.cpp
@@ -38,7 +38,7 @@ StyledButton::StyledButton(TQWidget* parent, const char* name)
setMinimumSize( minimumSizeHint() );
setAcceptDrops( true );
- connect( this, TQT_SIGNAL(clicked()), TQT_SLOT(onEditor()));
+ connect( this, TQ_SIGNAL(clicked()), TQ_SLOT(onEditor()));
setEditor( ColorEditor );
}
@@ -145,12 +145,12 @@ void StyledButton::resizeEvent( TQResizeEvent* e )
void StyledButton::drawButton( TQPainter *paint )
{
- style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, paint, rect(), colorGroup(),
+ style().drawPrimitive(TQStyle::PE_ButtonBevel, paint, rect(), colorGroup(),
isDown() ? TQStyle::Style_Sunken : TQStyle::Style_Raised);
drawButtonLabel(paint);
if (hasFocus())
- style().tqdrawPrimitive(TQStyle::PE_FocusRect, paint,
+ style().drawPrimitive(TQStyle::PE_FocusRect, paint,
style().subRect(TQStyle::SR_PushButtonFocusRect, this),
colorGroup(), TQStyle::Style_Default);
}
diff --git a/kommander/editor/styledbutton.h b/kommander/editor/styledbutton.h
index a090b8b5..1c46472c 100644
--- a/kommander/editor/styledbutton.h
+++ b/kommander/editor/styledbutton.h
@@ -30,7 +30,7 @@ class FormWindow;
class StyledButton : public TQButton
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( TQColor color READ color WRITE setColor )
diff --git a/kommander/editor/tableeditorimpl.cpp b/kommander/editor/tableeditorimpl.cpp
index 25883793..137934d9 100644
--- a/kommander/editor/tableeditorimpl.cpp
+++ b/kommander/editor/tableeditorimpl.cpp
@@ -28,19 +28,19 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f
#endif
formWindow( fw )
{
- connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( buttonHelp, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
#ifndef TQT_NO_TABLE
labelColumnPixmap->setText( "" );
labelRowPixmap->setText( "" );
- if ( !editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
+ if ( !editTable->inherits( "TQDataTable" ) ) {
labelFields->hide();
comboFields->hide();
labelTable->hide();
labelTableValue->hide();
}
#ifndef TQT_NO_SQL
- if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
+ if ( editTable->inherits( "TQDataTable" ) ) {
// ## why does this behave weird?
// TabWidget->removePage( rows_tab );
// rows_tab->hide();
@@ -48,7 +48,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f
TabWidget->setTabEnabled( rows_tab, false );
}
- if ( formWindow->project() && editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
+ if ( formWindow->project() && editTable->inherits( "TQDataTable" ) ) {
TQStringList lst = MetaDataBase::fakeProperty( editTable, "database" ).toStringList();
if ( lst.count() == 2 && !lst[ 0 ].isEmpty() && !lst[ 1 ].isEmpty() ) {
TQStringList fields;
@@ -131,7 +131,7 @@ void TableEditor::currentColumnChanged( TQListBoxItem *i )
editColumnText->blockSignals( false );
#ifndef TQT_NO_TABLE
- if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
+ if ( editTable->inherits( "TQDataTable" ) ) {
TQString s = *fieldMap.find( listColumns->index( i ) );
if ( s.isEmpty() )
comboFields->setCurrentItem( 0 );
@@ -215,7 +215,7 @@ void TableEditor::newColumnClicked()
TQListBoxItem *item = listColumns->item( listColumns->count() - 1 );
listColumns->setCurrentItem( item );
listColumns->setSelected( item, true );
- if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
+ if ( editTable->inherits( "TQDataTable" ) ) {
comboFields->setFocus();
} else {
editColumnText->setFocus();
@@ -381,7 +381,7 @@ void TableEditor::readFromTable()
#ifndef TQT_NO_TABLE
TQHeader *cols = editTable->horizontalHeader();
table->setNumCols( cols->count() );
- TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( TQT_TQOBJECT(editTable) );
+ TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( editTable );
for ( int i = 0; i < cols->count(); ++i ) {
if ( editTable->horizontalHeader()->iconSet( i ) ) {
table->horizontalHeader()->setLabel( i, *editTable->horizontalHeader()->iconSet( i ),
diff --git a/kommander/editor/tableeditorimpl.h b/kommander/editor/tableeditorimpl.h
index 0342ed60..70b61763 100644
--- a/kommander/editor/tableeditorimpl.h
+++ b/kommander/editor/tableeditorimpl.h
@@ -10,7 +10,7 @@ class FormWindow;
class TableEditor : public TableEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/timestamp.cpp b/kommander/editor/timestamp.cpp
index 850e7eb2..7782fff3 100644
--- a/kommander/editor/timestamp.cpp
+++ b/kommander/editor/timestamp.cpp
@@ -28,7 +28,7 @@ TimeStamp::TimeStamp( TQObject *parent, const TQString &f )
: TQObject( parent ), filename( f ), autoCheck( false )
{
timer = new TQTimer( this );
- connect( timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( autoCheckTimeStamp() ) );
+ connect( timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( autoCheckTimeStamp() ) );
update();
}
diff --git a/kommander/editor/timestamp.h b/kommander/editor/timestamp.h
index cc867ad8..bbf11cff 100644
--- a/kommander/editor/timestamp.h
+++ b/kommander/editor/timestamp.h
@@ -27,7 +27,7 @@
class TimeStamp : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/widgetdatabase.cpp b/kommander/editor/widgetdatabase.cpp
index e3ab6de0..a57c74f1 100644
--- a/kommander/editor/widgetdatabase.cpp
+++ b/kommander/editor/widgetdatabase.cpp
@@ -134,35 +134,35 @@ void WidgetDatabase::setupDataBase( int id )
/* Designer widgets */
r = new WidgetDatabaseRecord;
r->iconName = "pushbutton.xpm";
- r->name = TQPUSHBUTTON_OBJECT_NAME_STRING;
+ r->name = "TQPushButton";
r->group = widgetGroup("Buttons");
r->toolTip = i18n("Push Button");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "toolbutton.xpm";
- r->name = TQTOOLBUTTON_OBJECT_NAME_STRING;
+ r->name = "TQToolButton";
r->group = widgetGroup("Buttons");
r->toolTip = i18n("Tool Button");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "radiobutton.xpm";
- r->name = TQRADIOBUTTON_OBJECT_NAME_STRING;
+ r->name = "TQRadioButton";
r->group = widgetGroup("Buttons");
r->toolTip = i18n("Radio Button");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "checkbox.xpm";
- r->name = TQCHECKBOX_OBJECT_NAME_STRING;
+ r->name = "TQCheckBox";
r->group = widgetGroup("Buttons");
r->toolTip = i18n("Check Box");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "groupbox.xpm";
- r->name = TQGROUPBOX_OBJECT_NAME_STRING;
+ r->name = "TQGroupBox";
r->group = widgetGroup("Containers");
r->toolTip = i18n("Group Box");
r->isContainer = true;
@@ -170,7 +170,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "buttongroup.xpm";
- r->name = TQBUTTONGROUP_OBJECT_NAME_STRING;
+ r->name = "TQButtonGroup";
r->group = widgetGroup("Containers");
r->toolTip = i18n("Button Group");
r->isContainer = true;
@@ -178,7 +178,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "frame.xpm";
- r->name = TQFRAME_OBJECT_NAME_STRING;
+ r->name = "TQFrame";
r->group = widgetGroup("Containers");
r->toolTip = i18n("Frame");
r->isContainer = true;
@@ -186,7 +186,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "tabwidget.xpm";
- r->name = TQTABWIDGET_OBJECT_NAME_STRING;
+ r->name = "TQTabWidget";
r->group = widgetGroup("Containers");
r->toolTip = i18n("Tabwidget");
r->isContainer = true;
@@ -194,14 +194,14 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "listbox.xpm";
- r->name = TQLISTBOX_OBJECT_NAME_STRING;
+ r->name = "TQListBox";
r->group = widgetGroup("Views");
r->toolTip = i18n("List Box");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "listview.xpm";
- r->name = TQLISTVIEW_OBJECT_NAME_STRING;
+ r->name = "TQListView";
r->group = widgetGroup("Views");
r->toolTip = i18n("List View");
append(r);
@@ -209,7 +209,7 @@ void WidgetDatabase::setupDataBase( int id )
#if !defined(TQT_NO_ICONVIEW) || defined(UIC)
r = new WidgetDatabaseRecord;
r->iconName = "iconview.xpm";
- r->name = TQICONVIEW_OBJECT_NAME_STRING;
+ r->name = "TQIconView";
r->group = widgetGroup("Views");
r->toolTip = i18n("Icon View");
append(r);
@@ -218,7 +218,7 @@ void WidgetDatabase::setupDataBase( int id )
#if !defined(TQT_NO_TABLE)
r = new WidgetDatabaseRecord;
r->iconName = "table.xpm";
- r->name = TQTABLE_OBJECT_NAME_STRING;
+ r->name = "TQTable";
r->group = widgetGroup("Views");
r->toolTip = i18n("Table");
append(r);
@@ -228,7 +228,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "datatable.xpm";
r->includeFile = "tqdatatable.h";
- r->name = TQDATATABLE_OBJECT_NAME_STRING;
+ r->name = "TQDataTable";
r->group = widgetGroup("Database");
r->toolTip = i18n("Data Table");
append(r);
@@ -236,21 +236,21 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "lineedit.xpm";
- r->name = TQLINEEDIT_OBJECT_NAME_STRING;
+ r->name = "TQLineEdit";
r->group = widgetGroup("Input");
r->toolTip = i18n("Line Edit");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "spinbox.xpm";
- r->name = TQSPINBOX_OBJECT_NAME_STRING;
+ r->name = "TQSpinBox";
r->group = widgetGroup("Input");
r->toolTip = i18n("Spin Box");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "dateedit.xpm";
- r->name = TQDATEEDIT_OBJECT_NAME_STRING;
+ r->name = "TQDateEdit";
r->group = widgetGroup("Input");
r->toolTip = i18n("Date Edit");
r->includeFile = "tqdatetimeedit.h";
@@ -258,7 +258,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "timeedit.xpm";
- r->name = TQTIMEEDIT_OBJECT_NAME_STRING;
+ r->name = "TQTimeEdit";
r->group = widgetGroup("Input");
r->toolTip = i18n("Time Edit");
r->includeFile = "tqdatetimeedit.h";
@@ -266,7 +266,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "datetimeedit.xpm";
- r->name = TQDATETIMEEDIT_OBJECT_NAME_STRING;
+ r->name = "TQDateTimeEdit";
r->group = widgetGroup("Input");
r->toolTip = i18n("Date-Time Edit");
r->includeFile = "tqdatetimeedit.h";
@@ -274,77 +274,77 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "multilineedit.xpm";
- r->name = TQMULTILINEEDIT_OBJECT_NAME_STRING;
+ r->name = "TQMultiLineEdit";
r->group = widgetGroup("Temp");
r->toolTip = i18n("Multi Line Edit");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "richtextedit.xpm";
- r->name = TQTEXTEDIT_OBJECT_NAME_STRING;
+ r->name = "TQTextEdit";
r->group = widgetGroup("Input");
r->toolTip = i18n("Rich Text Edit");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "combobox.xpm";
- r->name = TQCOMBOBOX_OBJECT_NAME_STRING;
+ r->name = "TQComboBox";
r->group = widgetGroup("Input");
r->toolTip = i18n("Combo Box");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "slider.xpm";
- r->name = TQSLIDER_OBJECT_NAME_STRING;
+ r->name = "TQSlider";
r->group = widgetGroup("Input");
r->toolTip = i18n("Slider");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "scrollbar.xpm";
- r->name = TQSCROLLBAR_OBJECT_NAME_STRING;
+ r->name = "TQScrollBar";
r->group = widgetGroup("Input");
r->toolTip = i18n("Scrollbar");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "dial.xpm";
- r->name = TQDIAL_OBJECT_NAME_STRING;
+ r->name = "TQDial";
r->group = widgetGroup("Input");
r->toolTip = i18n("Dial");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "label.xpm";
- r->name = TQLABEL_OBJECT_NAME_STRING;
+ r->name = "TQLabel";
r->group = widgetGroup("Temp");
r->toolTip = i18n("Label");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "lcdnumber.xpm";
- r->name = TQLCDNUMBER_OBJECT_NAME_STRING;
+ r->name = "TQLCDNumber";
r->group = widgetGroup("Display");
r->toolTip = i18n("LCD Number");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "progress.xpm";
- r->name = TQPROGRESSBAR_OBJECT_NAME_STRING;
+ r->name = "TQProgressBar";
r->group = widgetGroup("Display");
r->toolTip = i18n("Progress Bar");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "textview.xpm";
- r->name = TQTEXTVIEW_OBJECT_NAME_STRING;
+ r->name = "TQTextView";
r->group = widgetGroup("Temp");
r->toolTip = i18n("Text View");
append(r);
r = new WidgetDatabaseRecord;
r->iconName = "textbrowser.xpm";
- r->name = TQTEXTBROWSER_OBJECT_NAME_STRING;
+ r->name = "TQTextBrowser";
r->group = widgetGroup("Display");
r->toolTip = i18n("Text Browser");
append(r);
@@ -359,19 +359,19 @@ void WidgetDatabase::setupDataBase( int id )
append(r);
r = new WidgetDatabaseRecord;
- r->name = TQWIDGET_OBJECT_NAME_STRING;
+ r->name = "TQWidget";
r->isForm = true;
r->group = widgetGroup("Forms");
append(r);
r = new WidgetDatabaseRecord;
- r->name = TQDIALOG_OBJECT_NAME_STRING;
+ r->name = "TQDialog";
r->group = widgetGroup("Forms");
r->isForm = true;
append(r);
r = new WidgetDatabaseRecord;
- r->name = TQWIZARD_OBJECT_NAME_STRING;
+ r->name = "TQWizard";
r->group = widgetGroup("Forms");
r->isContainer = true;
append(r);
@@ -383,14 +383,14 @@ void WidgetDatabase::setupDataBase( int id )
append(r);
r = new WidgetDatabaseRecord;
- r->name = TQLAYOUTWIDGET_OBJECT_NAME_STRING;
+ r->name = "TQLayoutWidget";
r->group = widgetGroup("Temp");
r->includeFile = "";
r->isContainer = true;
append(r);
r = new WidgetDatabaseRecord;
- r->name = TQSPLITTER_OBJECT_NAME_STRING;
+ r->name = "TQSplitter";
r->group = widgetGroup("Temp");
r->includeFile = "tqsplitter.h";
r->isContainer = true;
@@ -419,7 +419,7 @@ void WidgetDatabase::setupDataBase( int id )
r = new WidgetDatabaseRecord;
r->iconName = "";
- r->name = TQMAINWINDOW_OBJECT_NAME_STRING;
+ r->name = "TQMainWindow";
r->includeFile = "tqmainwindow.h";
r->group = widgetGroup("Temp");
r->isContainer = true;
@@ -427,7 +427,7 @@ void WidgetDatabase::setupDataBase( int id )
#ifndef TQT_NO_SQL
r = new WidgetDatabaseRecord;
- r->name = TQDATABROWSER_OBJECT_NAME_STRING;
+ r->name = "TQDataBrowser";
r->includeFile = "tqdatabrowser.h";
r->group = widgetGroup("Database");
r->toolTip = "Data Browser";
@@ -436,7 +436,7 @@ void WidgetDatabase::setupDataBase( int id )
append(r);
r = new WidgetDatabaseRecord;
- r->name = TQDATAVIEW_OBJECT_NAME_STRING;
+ r->name = "TQDataView";
r->includeFile = "tqdataview.h";
r->group = widgetGroup("Database");
r->toolTip = "Data View";
@@ -849,7 +849,7 @@ TQString WidgetDatabase::createWidgetName( int id )
{
setupDataBase( id );
TQString n = className( id );
- if ( n == TQLAYOUTWIDGET_OBJECT_NAME_STRING )
+ if ( n == "TQLayoutWidget" )
n = "Layout";
if ( n[ 0 ] == 'Q' )
n = n.mid( 1 );
@@ -871,7 +871,7 @@ int WidgetDatabase::idFromClassName( const TQString &name )
if ( i )
return *i;
if ( name == "FormWindow" )
- return idFromClassName( TQLAYOUTWIDGET_OBJECT_NAME_STRING );
+ return idFromClassName( "TQLayoutWidget" );
#ifdef UIC
setupDataBase( -2 );
i = className2Id->find( name );
@@ -916,8 +916,8 @@ void WidgetDatabase::append( WidgetDatabaseRecord *r )
TQString WidgetDatabase::widgetGroup( const TQString &g )
{
- if ( wGroups->find( g ) == -1 )
- wGroups->append( g );
+ if ( wGroups->find( g.utf8() ) == -1 )
+ wGroups->append( g.utf8() );
return g;
}
@@ -957,7 +957,7 @@ int WidgetDatabase::numWidgetGroups()
bool WidgetDatabase::isGroupVisible( const TQString &g )
{
setupDataBase( -1 );
- return invisibleGroups->find( g ) == -1;
+ return invisibleGroups->find( g.utf8() ) == -1;
}
int WidgetDatabase::addCustomWidget( WidgetDatabaseRecord *r )
diff --git a/kommander/editor/widgetfactory.cpp b/kommander/editor/widgetfactory.cpp
index 59085749..f4b7eaac 100644
--- a/kommander/editor/widgetfactory.cpp
+++ b/kommander/editor/widgetfactory.cpp
@@ -18,6 +18,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tdelocale.h>
#include <kommanderfactory.h>
@@ -184,7 +188,7 @@ int QDesignerTabWidget::count() const
bool QDesignerTabWidget::eventFilter( TQObject *o, TQEvent *e )
{
- if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(tabBar()) ) return false;
+ if ( o != tabBar() ) return false;
switch ( e->type() ) {
case TQEvent::MouseButtonPress: {
@@ -413,7 +417,7 @@ void WidgetFactory::saveDefaultProperties( TQWidget *w, int id )
static void saveChangedProperties( TQWidget *w, int id )
{
- TQStringList l = MetaDataBase::changedProperties( TQT_TQOBJECT(w) );
+ TQStringList l = MetaDataBase::changedProperties( w );
changedProperties->insert( id, l );
}
@@ -464,7 +468,7 @@ int EditorTabWidget::count() const
bool EditorTabWidget::eventFilter( TQObject *o, TQEvent *e )
{
- if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(tabBar()) ) return false;
+ if ( o != tabBar() ) return false;
switch ( e->type() ) {
case TQEvent::MouseButtonPress: {
@@ -636,7 +640,7 @@ int EditorToolBox::count() const
created.
*/
-TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, bool init, const TQRect *r, Qt::Orientation orient )
+TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, bool init, const TQRect *r, TQt::Orientation orient )
{
TQString n = WidgetDatabase::className(id);
//tqDebug("Trying to create '%s'", n.latin1());
@@ -658,7 +662,7 @@ TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, boo
w = createCustomWidget(parent, name ? name : s, MetaDataBase::customWidget(id));
if (!w)
return 0;
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
+ MetaDataBase::addEntry(w);
if (!defaultProperties->contains(id))
saveDefaultProperties(w, id);
@@ -677,55 +681,55 @@ TQLayout *WidgetFactory::createLayout( TQWidget *widget, TQLayout *layout, Layou
int spacing = MainWindow::self->currentLayoutDefaultSpacing();
int margin = 0;
- if ( widget && !widget->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) &&
- ( WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( TQT_TQOBJECT(widget) ) ) ) ||
+ if ( widget && !widget->inherits( "TQLayoutWidget" ) &&
+ ( WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( widget ) ) ) ||
widget && widget->parentWidget() && widget->parentWidget()->inherits( "FormWindow" ) ) )
margin = MainWindow::self->currentLayoutDefaultMargin();
- if ( !layout && widget && widget->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQTabWidget" ) )
widget = ((TQTabWidget*)widget)->currentPage();
- if ( !layout && widget && widget->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQToolBox" ) )
widget = ((TQToolBox*)widget)->currentItem();
- if ( !layout && widget && widget->inherits( TQWIZARD_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQWizard" ) )
widget = ((TQWizard*)widget)->currentPage();
- if ( !layout && widget && widget->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQMainWindow" ) )
widget = ((TQMainWindow*)widget)->centralWidget();
- if ( !layout && widget && widget->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQWidgetStack" ) )
widget = ((TQWidgetStack*)widget)->visibleWidget();
- MetaDataBase::addEntry( TQT_TQOBJECT(widget) );
+ MetaDataBase::addEntry( widget );
- if ( !layout && widget && widget->inherits( TQGROUPBOX_OBJECT_NAME_STRING ) ) {
+ if ( !layout && widget && widget->inherits( "TQGroupBox" ) ) {
TQGroupBox *gb = (TQGroupBox*)widget;
- gb->setColumnLayout( 0, Qt::Vertical );
+ gb->setColumnLayout( 0, TQt::Vertical );
gb->layout()->setMargin( 0 );
gb->layout()->setSpacing( 0 );
TQLayout *l;
switch ( type ) {
case HBox:
l = new TQHBoxLayout( gb->layout() );
- MetaDataBase::setMargin( TQT_TQOBJECT(gb), margin );
- MetaDataBase::setSpacing( TQT_TQOBJECT(gb), spacing );
+ MetaDataBase::setMargin( gb, margin );
+ MetaDataBase::setSpacing( gb, spacing );
l->setAlignment( AlignTop );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
case VBox:
l = new TQVBoxLayout( gb->layout(), spacing );
- MetaDataBase::setMargin( TQT_TQOBJECT(gb), margin );
- MetaDataBase::setSpacing( TQT_TQOBJECT(gb), spacing );
+ MetaDataBase::setMargin( gb, margin );
+ MetaDataBase::setSpacing( gb, spacing );
l->setAlignment( AlignTop );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
case Grid:
l = new QDesignerGridLayout( gb->layout() );
- MetaDataBase::setMargin( TQT_TQOBJECT(gb), margin );
- MetaDataBase::setSpacing( TQT_TQOBJECT(gb), spacing );
+ MetaDataBase::setMargin( gb, margin );
+ MetaDataBase::setSpacing( gb, spacing );
l->setAlignment( AlignTop );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
default:
return 0;
@@ -736,24 +740,24 @@ TQLayout *WidgetFactory::createLayout( TQWidget *widget, TQLayout *layout, Layou
switch ( type ) {
case HBox:
l = new TQHBoxLayout( layout );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
l->setSpacing( spacing );
l->setMargin( margin );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
case VBox:
l = new TQVBoxLayout( layout );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
l->setSpacing( spacing );
l->setMargin( margin );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
case Grid: {
l = new QDesignerGridLayout( layout );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
l->setSpacing( spacing );
l->setMargin( margin );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
}
default:
@@ -764,39 +768,39 @@ TQLayout *WidgetFactory::createLayout( TQWidget *widget, TQLayout *layout, Layou
switch ( type ) {
case HBox:
l = new TQHBoxLayout( widget );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
if ( widget ) {
- MetaDataBase::setMargin( TQT_TQOBJECT(widget), margin );
- MetaDataBase::setSpacing( TQT_TQOBJECT(widget), spacing );
+ MetaDataBase::setMargin( widget, margin );
+ MetaDataBase::setSpacing( widget, spacing );
} else {
l->setMargin( margin );
l->setSpacing( margin );
}
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
case VBox:
l = new TQVBoxLayout( widget );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
if ( widget ) {
- MetaDataBase::setMargin( TQT_TQOBJECT(widget), margin );
- MetaDataBase::setSpacing( TQT_TQOBJECT(widget), spacing );
+ MetaDataBase::setMargin( widget, margin );
+ MetaDataBase::setSpacing( widget, spacing );
} else {
l->setMargin( margin );
l->setSpacing( margin );
}
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
case Grid: {
l = new QDesignerGridLayout( widget );
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
if ( widget ) {
- MetaDataBase::setMargin( TQT_TQOBJECT(widget), margin );
- MetaDataBase::setSpacing( TQT_TQOBJECT(widget), spacing );
+ MetaDataBase::setMargin( widget, margin );
+ MetaDataBase::setSpacing( widget, spacing );
} else {
l->setMargin( margin );
l->setSpacing( margin );
}
- MetaDataBase::addEntry( TQT_TQOBJECT(l) );
+ MetaDataBase::addEntry( l );
return l;
}
default:
@@ -811,13 +815,13 @@ void WidgetFactory::deleteLayout( TQWidget *widget )
if ( !widget )
return;
- if ( widget->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ if ( widget->inherits( "TQTabWidget" ) )
widget = ((TQTabWidget*)widget)->currentPage();
- if ( widget->inherits( TQWIZARD_OBJECT_NAME_STRING ) )
+ if ( widget->inherits( "TQWizard" ) )
widget = ((TQWizard*)widget)->currentPage();
- if ( widget->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( widget->inherits( "TQMainWindow" ) )
widget = ((TQMainWindow*)widget)->centralWidget();
- if ( widget->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) )
+ if ( widget->inherits( "TQWidgetStack" ) )
widget = ((TQWidgetStack*)widget)->visibleWidget();
delete widget->layout();
}
@@ -830,9 +834,9 @@ void WidgetFactory::deleteLayout( TQWidget *widget )
*/
TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *parent, const char *name, bool init,
- const TQRect *r, Qt::Orientation orient )
+ const TQRect *r, TQt::Orientation orient )
{
- if (className == TQPUSHBUTTON_OBJECT_NAME_STRING)
+ if (className == "TQPushButton")
{
TQPushButton *b = 0;
if (init)
@@ -844,9 +848,9 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
b = new QDesignerPushButton(parent, name);
}
TQWidget *w = find_formwindow(b);
- b->setAutoDefault(w && ((FormWindow *) w)->mainContainer()->inherits(TQDIALOG_OBJECT_NAME_STRING));
+ b->setAutoDefault(w && ((FormWindow *) w)->mainContainer()->inherits("TQDialog"));
return b;
- } else if (className == TQTOOLBUTTON_OBJECT_NAME_STRING)
+ } else if (className == "TQToolButton")
{
if (init)
{
@@ -855,7 +859,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
return tb;
}
return new QDesignerToolButton(parent, name);
- } else if (className == TQCHECKBOX_OBJECT_NAME_STRING)
+ } else if (className == "TQCheckBox")
{
if (init)
{
@@ -864,7 +868,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
return cb;
}
return new QDesignerCheckBox(parent, name);
- } else if (className == TQRADIOBUTTON_OBJECT_NAME_STRING)
+ } else if (className == "TQRadioButton")
{
if (init)
{
@@ -873,17 +877,17 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
return rb;
}
return new QDesignerRadioButton(parent, name);
- } else if (className == TQGROUPBOX_OBJECT_NAME_STRING)
+ } else if (className == "TQGroupBox")
{
if (init)
return new TQGroupBox(TQString::fromLatin1(name), parent, name);
return new TQGroupBox(parent, name);
- } else if (className == TQBUTTONGROUP_OBJECT_NAME_STRING)
+ } else if (className == "TQButtonGroup")
{
if (init)
return new TQButtonGroup(TQString::fromLatin1(name), parent, name);
return new TQButtonGroup(parent, name);
- } else if (className == TQICONVIEW_OBJECT_NAME_STRING)
+ } else if (className == "TQIconView")
{
#if !defined(TQT_NO_ICONVIEW)
TQIconView *iv = new TQIconView(parent, name);
@@ -893,7 +897,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
#else
return 0;
#endif
- } else if (className == TQTABLE_OBJECT_NAME_STRING)
+ } else if (className == "TQTable")
{
#if !defined(TQT_NO_TABLE)
if (init)
@@ -903,20 +907,20 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
return 0;
#endif
#ifndef TQT_NO_SQL
- } else if (className == TQDATATABLE_OBJECT_NAME_STRING)
+ } else if (className == "TQDataTable")
{
return new TQDataTable(parent, name);
#endif //TQT_NO_SQL
- } else if (className == TQDATEEDIT_OBJECT_NAME_STRING)
+ } else if (className == "TQDateEdit")
{
return new TQDateEdit(parent, name);
- } else if (className == TQTIMEEDIT_OBJECT_NAME_STRING)
+ } else if (className == "TQTimeEdit")
{
return new TQTimeEdit(parent, name);
- } else if (className == TQDATETIMEEDIT_OBJECT_NAME_STRING)
+ } else if (className == "TQDateTimeEdit")
{
return new TQDateTimeEdit(parent, name);
- } else if (className == TQLISTBOX_OBJECT_NAME_STRING)
+ } else if (className == "TQListBox")
{
TQListBox *lb = new TQListBox(parent, name);
if (init)
@@ -925,7 +929,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
lb->setCurrentItem(0);
}
return lb;
- } else if (className == TQLISTVIEW_OBJECT_NAME_STRING)
+ } else if (className == "TQListView")
{
TQListView *lv = new TQListView(parent, name);
lv->setSorting(-1);
@@ -935,29 +939,29 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
lv->setCurrentItem(new TQListViewItem(lv, i18n("New Item")));
}
return lv;
- } else if (className == TQLINEEDIT_OBJECT_NAME_STRING)
+ } else if (className == "TQLineEdit")
return new TQLineEdit(parent, name);
- else if (className == TQSPINBOX_OBJECT_NAME_STRING)
+ else if (className == "TQSpinBox")
return new TQSpinBox(parent, name);
- else if (className == TQSPLITTER_OBJECT_NAME_STRING)
+ else if (className == "TQSplitter")
return new TQSplitter(parent, name);
- else if (className == TQMULTILINEEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQMultiLineEdit")
return new TQMultiLineEdit(parent, name);
- else if (className == TQTEXTEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQTextEdit")
return new TQTextEdit(parent, name);
- else if (className == TQLABEL_OBJECT_NAME_STRING)
+ else if (className == "TQLabel")
{
QDesignerLabel *l = new QDesignerLabel(parent, name);
if (init)
{
l->setText(TQString::fromLatin1(name));
- MetaDataBase::addEntry(TQT_TQOBJECT(l));
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(l), "text", true);
+ MetaDataBase::addEntry(l);
+ MetaDataBase::setPropertyChanged(l, "text", true);
}
return l;
- } else if (className == TQLAYOUTWIDGET_OBJECT_NAME_STRING)
+ } else if (className == "TQLayoutWidget")
return new TQLayoutWidget(parent, name);
- else if (className == TQTABWIDGET_OBJECT_NAME_STRING)
+ else if (className == "TQTabWidget")
{
TQTabWidget *tw = new QDesignerTabWidget(parent, name);
if (init)
@@ -965,32 +969,32 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
FormWindow *fw = find_formwindow(parent);
TQWidget *w = fw ? new QDesignerWidget(fw, tw, "tab") : new TQWidget(tw, "tab");
tw->addTab(w, i18n("Tab 1"));
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
+ MetaDataBase::addEntry(w);
w = fw ? new QDesignerWidget(fw, tw, "tab") : new TQWidget(tw, "tab");
tw->addTab(w, i18n("Tab 2"));
- MetaDataBase::addEntry(TQT_TQOBJECT(tw));
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
+ MetaDataBase::addEntry(tw);
+ MetaDataBase::addEntry(w);
}
return tw;
- } else if (className == TQCOMBOBOX_OBJECT_NAME_STRING)
+ } else if (className == "TQComboBox")
{
return new TQComboBox(false, parent, name);
- } else if (className == TQWIDGET_OBJECT_NAME_STRING)
+ } else if (className == "TQWidget")
{
if (parent &&
- (parent->inherits("FormWindow") || parent->inherits(TQWIZARD_OBJECT_NAME_STRING)
- || parent->inherits(TQTABWIDGET_OBJECT_NAME_STRING) || parent->inherits(TQTOOLBOX_OBJECT_NAME_STRING) || parent->inherits(TQMAINWINDOW_OBJECT_NAME_STRING)))
+ (parent->inherits("FormWindow") || parent->inherits("TQWizard")
+ || parent->inherits("TQTabWidget") || parent->inherits("TQToolBox") || parent->inherits("TQMainWindow")))
{
FormWindow *fw = find_formwindow(parent);
if (fw)
{
QDesignerWidget *dw = new QDesignerWidget(fw, parent, name);
- MetaDataBase::addEntry(TQT_TQOBJECT(dw));
+ MetaDataBase::addEntry(dw);
return dw;
}
}
return new TQWidget(parent, name);
- } else if (className == TQDIALOG_OBJECT_NAME_STRING)
+ } else if (className == "TQDialog")
{
TQDialog *dia = 0;
if (parent && parent->inherits("FormWindow"))
@@ -1000,7 +1004,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
if (parent && !parent->inherits("MainWindow"))
dia->reparent(parent, TQPoint(0, 0), true);
return dia;
- } else if (className == TQWIZARD_OBJECT_NAME_STRING)
+ } else if (className == "TQWizard")
{
TQWizard *wiz = new QDesignerWizard(parent, name);
if (parent && !parent->inherits("MainWindow"))
@@ -1010,37 +1014,37 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
if (init && parent && parent->inherits("FormWindow"))
{
QDesignerWidget *dw = new QDesignerWidget((FormWindow *) parent, wiz, "page");
- MetaDataBase::addEntry(TQT_TQOBJECT(dw));
+ MetaDataBase::addEntry(dw);
wiz->addPage(dw, i18n("Page"));
- TQTimer::singleShot(0, wiz, TQT_SLOT(next()));
+ TQTimer::singleShot(0, wiz, TQ_SLOT(next()));
}
return wiz;
} else if (className == "Spacer")
{
Spacer *s = new Spacer(parent, name);
- MetaDataBase::addEntry(TQT_TQOBJECT(s));
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(s), "orientation", true);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(s), "sizeType", true);
+ MetaDataBase::addEntry(s);
+ MetaDataBase::setPropertyChanged(s, "orientation", true);
+ MetaDataBase::setPropertyChanged(s, "sizeType", true);
if (!r)
return s;
if (!r->isValid() || r->width() < 2 && r->height() < 2)
s->setOrientation(orient);
else if (r->width() < r->height())
- s->setOrientation(Qt::Vertical);
+ s->setOrientation(TQt::Vertical);
else
- s->setOrientation(Qt::Horizontal);
+ s->setOrientation(TQt::Horizontal);
return s;
- } else if (className == TQLCDNUMBER_OBJECT_NAME_STRING)
+ } else if (className == "TQLCDNumber")
return new TQLCDNumber(parent, name);
- else if (className == TQPROGRESSBAR_OBJECT_NAME_STRING)
+ else if (className == "TQProgressBar")
return new TQProgressBar(parent, name);
- else if (className == TQTEXTVIEW_OBJECT_NAME_STRING)
+ else if (className == "TQTextView")
return new TQTextView(parent, name);
- else if (className == TQTEXTBROWSER_OBJECT_NAME_STRING)
+ else if (className == "TQTextBrowser")
return new TQTextBrowser(parent, name);
- else if (className == TQDIAL_OBJECT_NAME_STRING)
+ else if (className == "TQDial")
return new TQDial(parent, name);
- else if (className == TQSLIDER_OBJECT_NAME_STRING)
+ else if (className == "TQSlider")
{
TQSlider *s = new TQSlider(parent, name);
if (!r)
@@ -1048,11 +1052,11 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
if (!r->isValid() || r->width() < 2 && r->height() < 2)
s->setOrientation(orient);
else if (r->width() > r->height())
- s->setOrientation(Qt::Horizontal);
- MetaDataBase::addEntry(TQT_TQOBJECT(s));
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(s), "orientation", true);
+ s->setOrientation(TQt::Horizontal);
+ MetaDataBase::addEntry(s);
+ MetaDataBase::setPropertyChanged(s, "orientation", true);
return s;
- } else if (className == TQSCROLLBAR_OBJECT_NAME_STRING)
+ } else if (className == "TQScrollBar")
{
TQScrollBar *s = new TQScrollBar(parent, name);
if (!r)
@@ -1060,11 +1064,11 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
if (!r->isValid() || r->width() < 2 && r->height() < 2)
s->setOrientation(orient);
else if (r->width() > r->height())
- s->setOrientation(Qt::Horizontal);
- MetaDataBase::addEntry(TQT_TQOBJECT(s));
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(s), "orientation", true);
+ s->setOrientation(TQt::Horizontal);
+ MetaDataBase::addEntry(s);
+ MetaDataBase::setPropertyChanged(s, "orientation", true);
return s;
- } else if (className == TQFRAME_OBJECT_NAME_STRING)
+ } else if (className == "TQFrame")
{
if (!init)
return new TQFrame(parent, name);
@@ -1074,37 +1078,37 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
} else if (className == "Line")
{
Line *l = new Line(parent, name);
- MetaDataBase::addEntry(TQT_TQOBJECT(l));
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(l), "orientation", true);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(l), "frameShadow", true);
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(l), "frameShape", true);
+ MetaDataBase::addEntry(l);
+ MetaDataBase::setPropertyChanged(l, "orientation", true);
+ MetaDataBase::setPropertyChanged(l, "frameShadow", true);
+ MetaDataBase::setPropertyChanged(l, "frameShape", true);
if (!r)
return l;
if (!r->isValid() || r->width() < 2 && r->height() < 2)
l->setOrientation(orient);
else if (r->width() < r->height())
- l->setOrientation(Qt::Vertical);
+ l->setOrientation(TQt::Vertical);
return l;
- } else if (className == TQMAINWINDOW_OBJECT_NAME_STRING)
+ } else if (className == "TQMainWindow")
{
TQMainWindow *mw = new KmdrMainWindow(parent, name, 0);
mw->setDockEnabled(TQt::DockMinimized, false);
QDesignerWidget *dw = new QDesignerWidget((FormWindow *) parent, mw, "central widget");
mw->setDockMenuEnabled(false);
- MetaDataBase::addEntry(TQT_TQOBJECT(dw));
+ MetaDataBase::addEntry(dw);
mw->setCentralWidget(dw);
(void) mw->statusBar();
dw->show();
return mw;
}
#ifndef TQT_NO_SQL
- else if (className == TQDATABROWSER_OBJECT_NAME_STRING)
+ else if (className == "TQDataBrowser")
{
TQWidget *w = new QDesignerDataBrowser(parent, name);
if (parent)
w->reparent(parent, TQPoint(0, 0), true);
return w;
- } else if (className == TQDATAVIEW_OBJECT_NAME_STRING)
+ } else if (className == "TQDataView")
{
TQWidget *w = new QDesignerDataView(parent, name);
if (parent)
@@ -1152,10 +1156,10 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
if (init && parent && parent->inherits("FormWindow"))
{
QDesignerWidget *dw = new QDesignerWidget((FormWindow *) parent, wiz, "page");
- MetaDataBase::addEntry(TQT_TQOBJECT(dw));
+ MetaDataBase::addEntry(dw);
wiz->addPage(dw, i18n("Page 1"));
wiz->addPage(dw, i18n("Page 2"));
- TQTimer::singleShot(0, wiz, TQT_SLOT(next()));
+ TQTimer::singleShot(0, wiz, TQ_SLOT(next()));
}
return wiz;
}
@@ -1167,11 +1171,11 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
FormWindow *fw = find_formwindow(parent);
TQWidget *w = fw ? new QDesignerWidget(fw, tw, "tab") : new TQWidget(tw, "tab");
tw->addTab(w, i18n("Tab 1"));
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
+ MetaDataBase::addEntry(w);
w = fw ? new QDesignerWidget(fw, tw, "tab") : new TQWidget(tw, "tab");
tw->addTab(w, i18n("Tab 2"));
- MetaDataBase::addEntry(TQT_TQOBJECT(tw));
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
+ MetaDataBase::addEntry(tw);
+ MetaDataBase::addEntry(w);
}
return tw;
} else if (className == "ToolBox")
@@ -1182,11 +1186,11 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
FormWindow *fw = find_formwindow(parent);
TQWidget *w = fw ? new QDesignerWidget(fw, tw, "toolbox") : new TQWidget(tw, "toolbox");
tw->addItem(w, i18n("Page 1"));
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
+ MetaDataBase::addEntry(w);
w = fw ? new QDesignerWidget(fw, tw, "toolbox") : new TQWidget(tw, "toolbox");
tw->addItem(w, i18n("Page 2"));
- MetaDataBase::addEntry(TQT_TQOBJECT(tw));
- MetaDataBase::addEntry(TQT_TQOBJECT(w));
+ MetaDataBase::addEntry(tw);
+ MetaDataBase::addEntry(w);
}
return tw;
}
@@ -1244,9 +1248,9 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
if (!r->isValid() || r->width() < 2 && r->height() < 2)
s->setOrientation(orient);
else if (r->width() > r->height())
- s->setOrientation(Qt::Horizontal);
- MetaDataBase::addEntry(TQT_TQOBJECT(s));
- MetaDataBase::setPropertyChanged(TQT_TQOBJECT(s), "orientation", true);
+ s->setOrientation(TQt::Horizontal);
+ MetaDataBase::addEntry(s);
+ MetaDataBase::setPropertyChanged(s, "orientation", true);
return s;
}
#endif
@@ -1266,37 +1270,37 @@ WidgetFactory::LayoutType WidgetFactory::layoutType( TQWidget *w, TQLayout *&lay
{
layout = 0;
- if ( w && w->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ if ( w && w->inherits( "TQTabWidget" ) )
w = ((TQTabWidget*)w)->currentPage();
- if ( w->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQToolBox" ) )
w = ((TQToolBox*)w)->currentItem();
- if ( w && w->inherits( TQWIZARD_OBJECT_NAME_STRING ) )
+ if ( w && w->inherits( "TQWizard" ) )
w = ((TQWizard*)w)->currentPage();
- if ( w && w->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( w && w->inherits( "TQMainWindow" ) )
w = ((TQMainWindow*)w)->centralWidget();
- if ( w && w->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) )
+ if ( w && w->inherits( "TQWidgetStack" ) )
w = ((TQWidgetStack*)w)->visibleWidget();
- if ( w && w->inherits( TQSPLITTER_OBJECT_NAME_STRING ) )
- return ( (TQSplitter*)w )->orientation() ==Qt::Horizontal ? HBox : VBox;
+ if ( w && w->inherits( "TQSplitter" ) )
+ return ( (TQSplitter*)w )->orientation() ==TQt::Horizontal ? HBox : VBox;
if ( !w || !w->layout() )
return NoLayout;
TQLayout *lay = w->layout();
- if ( w->inherits( TQGROUPBOX_OBJECT_NAME_STRING ) ) {
- TQObjectList *l = TQT_TQOBJECT(lay)->queryList( TQLAYOUT_OBJECT_NAME_STRING );
+ if ( w->inherits( "TQGroupBox" ) ) {
+ TQObjectList *l = lay->queryList( "TQLayout" );
if ( l && l->first() )
lay = (TQLayout*)l->first();
delete l;
}
layout = lay;
- if ( lay->inherits( TQHBOXLAYOUT_OBJECT_NAME_STRING ) )
+ if ( lay->inherits( "TQHBoxLayout" ) )
return HBox;
- else if ( lay->inherits( TQVBOXLAYOUT_OBJECT_NAME_STRING ) )
+ else if ( lay->inherits( "TQVBoxLayout" ) )
return VBox;
- else if ( lay->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ else if ( lay->inherits( "TQGridLayout" ) )
return Grid;
return NoLayout;
}
@@ -1306,11 +1310,11 @@ WidgetFactory::LayoutType WidgetFactory::layoutType( TQWidget *w, TQLayout *&lay
*/
WidgetFactory::LayoutType WidgetFactory::layoutType( TQLayout *layout )
{
- if ( layout->inherits( TQHBOXLAYOUT_OBJECT_NAME_STRING ) )
+ if ( layout->inherits( "TQHBoxLayout" ) )
return HBox;
- else if ( layout->inherits( TQVBOXLAYOUT_OBJECT_NAME_STRING ) )
+ else if ( layout->inherits( "TQVBoxLayout" ) )
return VBox;
- else if ( layout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ else if ( layout->inherits( "TQGridLayout" ) )
return Grid;
return NoLayout;
}
@@ -1327,7 +1331,7 @@ WidgetFactory::LayoutType WidgetFactory::layoutType( TQWidget *w )
TQWidget *WidgetFactory::layoutParent( TQLayout *layout )
{
- TQObject *o = TQT_TQOBJECT(layout);
+ TQObject *o = layout;
while ( o ) {
if ( o->isWidgetType() )
return (TQWidget*)o;
@@ -1349,15 +1353,15 @@ TQWidget* WidgetFactory::containerOfWidget( TQWidget *w )
{
if ( !w )
return w;
- if ( w->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQTabWidget" ) )
return ((TQTabWidget*)w)->currentPage();
- if ( w->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQToolBox" ) )
return ((TQToolBox*)w)->currentItem();
- if ( w->inherits( TQWIZARD_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQWizard" ) )
return ((TQWizard*)w)->currentPage();
- if ( w->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQWidgetStack" ) )
return ((TQWidgetStack*)w)->visibleWidget();
- if ( w->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQMainWindow" ) )
return ((TQMainWindow*)w)->centralWidget();
return w;
}
@@ -1372,10 +1376,10 @@ TQWidget* WidgetFactory::containerOfWidget( TQWidget *w )
TQWidget* WidgetFactory::widgetOfContainer( TQWidget *w )
{
- if ( w->parentWidget() && w->parentWidget()->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) )
+ if ( w->parentWidget() && w->parentWidget()->inherits( "TQWidgetStack" ) )
w = w->parentWidget();
while ( w ) {
- if ( WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( TQT_TQOBJECT(w) ) ) ) ||
+ if ( WidgetDatabase::isContainer( WidgetDatabase::idFromClassName( WidgetFactory::classNameOf( w ) ) ) ||
w && w->parentWidget() && w->parentWidget()->inherits( "FormWindow" ) )
return w;
w = w->parentWidget();
@@ -1391,19 +1395,19 @@ bool WidgetFactory::isPassiveInteractor( TQObject* o )
if ( TQApplication::activePopupWidget() ) // if a popup is open, we have to make sure that this one is closed, else X might do funny things
return true;
- if ( o->inherits( TQTABBAR_OBJECT_NAME_STRING ) || ::tqqt_cast<TQToolBox*>(o->parent()) )
+ if ( o->inherits( "TQTabBar" ) || ::tqt_cast<TQToolBox*>(o->parent()) )
return true;
- else if ( o->inherits( TQSIZEGRIP_OBJECT_NAME_STRING ) )
+ else if ( o->inherits( "TQSizeGrip" ) )
return true;
- else if ( o->inherits( TQTOOLBUTTON_OBJECT_NAME_STRING ) && o->parent() && o->parent()->inherits( TQTABBAR_OBJECT_NAME_STRING ) )
+ else if ( o->inherits( "TQToolButton" ) && o->parent() && o->parent()->inherits( "TQTabBar" ) )
return true;
- else if ( o->parent() && o->parent()->inherits( TQWIZARD_OBJECT_NAME_STRING ) && o->inherits( TQPUSHBUTTON_OBJECT_NAME_STRING ) )
+ else if ( o->parent() && o->parent()->inherits( "TQWizard" ) && o->inherits( "TQPushButton" ) )
return true;
- else if ( o->parent() && o->parent()->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) && o->inherits( TQMENUBAR_OBJECT_NAME_STRING ) )
+ else if ( o->parent() && o->parent()->inherits( "TQMainWindow" ) && o->inherits( "TQMenuBar" ) )
return true;
- else if ( o->inherits( TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING ) )
+ else if ( o->inherits( "TQDockWindowHandle" ) )
return true;
- else if ( o->inherits( TQHIDEDOCK_OBJECT_NAME_STRING ) )
+ else if ( o->inherits( "TQHideDock" ) )
return true;
return false;
@@ -1416,7 +1420,7 @@ bool WidgetFactory::isPassiveInteractor( TQObject* o )
const char* WidgetFactory::classNameOf( TQObject* o )
{
if (o->inherits("QDesignerTabWidget"))
- return TQTABWIDGET_OBJECT_NAME_STRING;
+ return "TQTabWidget";
#ifdef KOMMANDER
else if (o->inherits("EditorTabWidget"))
return "TabWidget";
@@ -1424,34 +1428,34 @@ const char* WidgetFactory::classNameOf( TQObject* o )
return "ToolBox";
#endif
else if (o->inherits("QDesignerDialog"))
- return TQDIALOG_OBJECT_NAME_STRING;
+ return "TQDialog";
else if (o->inherits("QDesignerWidget"))
- return TQWIDGET_OBJECT_NAME_STRING;
+ return "TQWidget";
else if (o->inherits("CustomWidget"))
return ((CustomWidget *) o)->realClassName().latin1();
else if (o->inherits("QDesignerLabel"))
- return TQLABEL_OBJECT_NAME_STRING;
+ return "TQLabel";
else if (o->inherits("QDesignerWizard"))
- return TQWIZARD_OBJECT_NAME_STRING;
+ return "TQWizard";
else if (o->inherits("EditorWizard"))
return "Wizard";
else if (o->inherits("QDesignerPushButton"))
- return TQPUSHBUTTON_OBJECT_NAME_STRING;
+ return "TQPushButton";
else if (o->inherits("QDesignerToolButton"))
- return TQTOOLBUTTON_OBJECT_NAME_STRING;
+ return "TQToolButton";
else if (o->inherits("QDesignerRadioButton"))
- return TQRADIOBUTTON_OBJECT_NAME_STRING;
+ return "TQRadioButton";
else if (o->inherits("QDesignerCheckBox"))
- return TQCHECKBOX_OBJECT_NAME_STRING;
+ return "TQCheckBox";
else if (o->inherits("QDesignerMenuBar"))
- return TQMENUBAR_OBJECT_NAME_STRING;
+ return "TQMenuBar";
else if (o->inherits("QDesignerToolBar"))
- return TQTOOLBAR_OBJECT_NAME_STRING;
+ return "TQToolBar";
#ifndef TQT_NO_SQL
else if (o->inherits("QDesignerDataBrowser"))
- return TQDATABROWSER_OBJECT_NAME_STRING;
+ return "TQDataBrowser";
else if (o->inherits("QDesignerDataView"))
- return TQDATAVIEW_OBJECT_NAME_STRING;
+ return "TQDataView";
#endif
else if (o->inherits("EditorDialog"))
return "Dialog";
@@ -1469,23 +1473,23 @@ void WidgetFactory::initChangedProperties( TQObject *o )
if ( !o->inherits( "QDesignerToolBar" ) && !o->inherits( "QDesignerMenuBar" ) )
MetaDataBase::setPropertyChanged( o, "geometry", true );
- if ( o->inherits( TQPUSHBUTTON_OBJECT_NAME_STRING ) || o->inherits(TQRADIOBUTTON_OBJECT_NAME_STRING) || o->inherits( TQCHECKBOX_OBJECT_NAME_STRING ) || o->inherits( TQTOOLBUTTON_OBJECT_NAME_STRING ) )
+ if ( o->inherits( "TQPushButton" ) || o->inherits("TQRadioButton") || o->inherits( "TQCheckBox" ) || o->inherits( "TQToolButton" ) )
MetaDataBase::setPropertyChanged( o, "text", true );
- else if (::tqqt_cast<TQToolButton*>(o) && ::tqqt_cast<TQToolBox*>(widgetOfContainer((TQWidget*)o->parent()))) {
+ else if (::tqt_cast<TQToolButton*>(o) && ::tqt_cast<TQToolBox*>(widgetOfContainer((TQWidget*)o->parent()))) {
MetaDataBase::setPropertyChanged( o, "usesTextLabel", TRUE );
MetaDataBase::setPropertyChanged( o, "textLabel", TRUE );
MetaDataBase::setPropertyChanged( o, "autoRaise", TRUE );
MetaDataBase::setPropertyChanged( o, "textPosition", TRUE );
- } else if ( o->inherits( TQGROUPBOX_OBJECT_NAME_STRING ) )
+ } else if ( o->inherits( "TQGroupBox" ) )
MetaDataBase::setPropertyChanged( o, "title", true );
- else if ( o->isA( TQFRAME_OBJECT_NAME_STRING ) ) {
+ else if ( o->isA( "TQFrame" ) ) {
MetaDataBase::setPropertyChanged( o, "frameShadow", true );
MetaDataBase::setPropertyChanged( o, "frameShape", true );
- } else if ( o->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) || o->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) {
+ } else if ( o->inherits( "TQTabWidget" ) || o->inherits( "TQWizard" ) ) {
MetaDataBase::setPropertyChanged( o, "pageTitle", true );
MetaDataBase::setPropertyChanged( o, "pageName", true );
#ifndef TQT_NO_TABLE
- } else if ( o->inherits( TQTABLE_OBJECT_NAME_STRING ) && !o->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
+ } else if ( o->inherits( "TQTable" ) && !o->inherits( "TQDataTable" ) ) {
MetaDataBase::setPropertyChanged( o, "numRows", true );
MetaDataBase::setPropertyChanged( o, "numCols", true );
TQTable *t = (TQTable*)o;
@@ -1494,14 +1498,14 @@ void WidgetFactory::initChangedProperties( TQObject *o )
t->verticalHeader()->setLabel( i, TQString::number( i + 1 ) );
}
#endif
- } else if ( ::tqqt_cast<TQToolBox*>(o) ) {
+ } else if ( ::tqt_cast<TQToolBox*>(o) ) {
MetaDataBase::setPropertyChanged( o, "currentIndex", true );
MetaDataBase::setPropertyChanged( o, "itemName", true );
MetaDataBase::setPropertyChanged( o, "itemLabel", true );
MetaDataBase::setPropertyChanged( o, "itemIconSet", true );
MetaDataBase::setPropertyChanged( o, "itemToolTip", true );
MetaDataBase::setPropertyChanged( o, "itemBackgroundMode", true );
- } else if ( o->inherits( TQSPLITTER_OBJECT_NAME_STRING ) ) {
+ } else if ( o->inherits( "TQSplitter" ) ) {
MetaDataBase::setPropertyChanged( o, "orientation", true );
} else if ( o->inherits( "QDesignerToolBar" ) ) {
MetaDataBase::setPropertyChanged( o, "label", true );
@@ -1528,7 +1532,7 @@ bool WidgetFactory::hasSpecialEditor( int id )
return true;
if (className.mid(1) == "IconView")
return true;
- if (className == TQTEXTEDIT_OBJECT_NAME_STRING || className == TQMULTILINEEDIT_OBJECT_NAME_STRING)
+ if (className == "TQTextEdit" || className == "TQMultiLineEdit")
return true;
if (className.contains("Table"))
return true;
@@ -1557,7 +1561,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
#ifdef KOMMANDER
if (className == "ComboBox")
{
- if (!editWidget->inherits(TQCOMBOBOX_OBJECT_NAME_STRING))
+ if (!editWidget->inherits("TQComboBox"))
return;
TQComboBox *cb = (TQComboBox *) editWidget;
@@ -1579,7 +1583,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
}
if (className == "TreeWidget")
{
- if (!editWidget->inherits(TQLISTVIEW_OBJECT_NAME_STRING))
+ if (!editWidget->inherits("TQListView"))
return;
TQListView *lv = (TQListView *) editWidget;
ListViewEditor *e = new ListViewEditor(parent, lv, fw);
@@ -1589,7 +1593,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
}
if (className == "ListBox")
{
- if (!editWidget->inherits(TQLISTBOX_OBJECT_NAME_STRING))
+ if (!editWidget->inherits("TQListBox"))
return;
ListBoxEditor *e = new ListBoxEditor(parent, editWidget, fw);
e->exec();
@@ -1599,7 +1603,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
#endif
if (className.mid(1) == "ListBox")
{
- if (!editWidget->inherits(TQLISTBOX_OBJECT_NAME_STRING))
+ if (!editWidget->inherits("TQListBox"))
return;
ListBoxEditor *e = new ListBoxEditor(parent, editWidget, fw);
e->exec();
@@ -1609,7 +1613,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
if (className.mid(1) == "ComboBox")
{
- if (!editWidget->inherits(TQCOMBOBOX_OBJECT_NAME_STRING))
+ if (!editWidget->inherits("TQComboBox"))
return;
TQComboBox *cb = (TQComboBox *) editWidget;
ListBoxEditor *e = new ListBoxEditor(parent, cb->listBox(), fw);
@@ -1621,7 +1625,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
if (className.mid(1) == "ListView")
{
- if (!editWidget->inherits(TQLISTVIEW_OBJECT_NAME_STRING))
+ if (!editWidget->inherits("TQListView"))
return;
TQListView *lv = (TQListView *) editWidget;
ListViewEditor *e = new ListViewEditor(parent, lv, fw);
@@ -1632,7 +1636,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
if (className.mid(1) == "IconView")
{
- if (!editWidget->inherits(TQICONVIEW_OBJECT_NAME_STRING))
+ if (!editWidget->inherits("TQIconView"))
return;
IconViewEditor *e = new IconViewEditor(parent, editWidget, fw);
e->exec();
@@ -1640,7 +1644,7 @@ void WidgetFactory::editWidget( int id, TQWidget *parent, TQWidget *editWidget,
return;
}
- if (className == TQMULTILINEEDIT_OBJECT_NAME_STRING || className == TQTEXTEDIT_OBJECT_NAME_STRING)
+ if (className == "TQMultiLineEdit" || className == "TQTextEdit")
{
MultiLineEditor *e = new MultiLineEditor(parent, editWidget, fw);
e->exec();
@@ -1669,7 +1673,7 @@ bool WidgetFactory::canResetProperty( TQObject *w, const TQString &propName )
bool WidgetFactory::resetProperty( TQObject *w, const TQString &propName )
{
const TQMetaProperty *p = w->metaObject()->property( w->metaObject()->
- findProperty( propName, true ), true );
+ findProperty( propName.latin1(), true ), true );
if (!p )
return false;
return p->reset( w );
@@ -1687,7 +1691,7 @@ TQVariant WidgetFactory::defaultValue( TQObject *w, const TQString &propName )
} else if ( propName == "frameworkCode" ) {
return TQVariant( true );
} else if ( propName == "layoutMargin" ) {
- if ( w->inherits( TQLAYOUTWIDGET_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQLayoutWidget" ) )
return TQVariant( 0 );
else if ( MainWindow::self->formWindow() )
return TQVariant( MainWindow::self->formWindow()->layoutDefaultMargin() );
@@ -1702,7 +1706,7 @@ TQVariant WidgetFactory::defaultValue( TQObject *w, const TQString &propName )
TQString WidgetFactory::defaultCurrentItem( TQObject *w, const TQString &propName )
{
const TQMetaProperty *p = w->metaObject()->
- property( w->metaObject()->findProperty( propName, true ), true );
+ property( w->metaObject()->findProperty( propName.latin1(), true ), true );
if ( !p ) {
int v = defaultValue( w, "alignment" ).toInt();
if ( propName == "hAlign" ) {
@@ -1751,7 +1755,7 @@ void QDesignerLabel::updateBuddy()
if ( myBuddy.isEmpty() )
return;
- TQObjectList *l = topLevelWidget()->queryList( TQWIDGET_OBJECT_NAME_STRING, myBuddy, false, true );
+ TQObjectList *l = topLevelWidget()->queryList( "TQWidget", myBuddy, false, true );
if ( !l || !l->first() ) {
delete l;
return;
@@ -1825,15 +1829,15 @@ void TQLayoutWidget::updateSizePolicy()
TQLayout *parentLayout = 0;
if ( parent() && parent()->isWidgetType() ) {
parentLayout = ((TQWidget *)parent())->layout();
- if ( parentLayout && parentLayout->mainWidget()->inherits(TQLAYOUTWIDGET_OBJECT_NAME_STRING) )
+ if ( parentLayout && parentLayout->mainWidget()->inherits("TQLayoutWidget") )
parentLayout = 0;
}
TQObjectListIt it( childrenListObject() );
TQObject *o;
- if ( layout()->inherits(TQVBOXLAYOUT_OBJECT_NAME_STRING) ) {
- if ( parentLayout && parentLayout->inherits(TQHBOXLAYOUT_OBJECT_NAME_STRING) )
+ if ( layout()->inherits("TQVBoxLayout") ) {
+ if ( parentLayout && parentLayout->inherits("TQHBoxLayout") )
vt = TQSizePolicy::Minimum;
else
vt = TQSizePolicy::Fixed;
@@ -1853,8 +1857,8 @@ void TQLayoutWidget::updateSizePolicy()
if ( w->sizePolicy().mayShrinkVertically() )
vt |= TQSizePolicy::Maximum;
}
- } else if ( layout()->inherits(TQHBOXLAYOUT_OBJECT_NAME_STRING) ) {
- if ( parentLayout && parentLayout->inherits(TQVBOXLAYOUT_OBJECT_NAME_STRING) )
+ } else if ( layout()->inherits("TQHBoxLayout") ) {
+ if ( parentLayout && parentLayout->inherits("TQVBoxLayout") )
ht = TQSizePolicy::Minimum;
else
ht = TQSizePolicy::Fixed;
@@ -1874,13 +1878,13 @@ void TQLayoutWidget::updateSizePolicy()
if ( !w->sizePolicy().mayShrinkVertically() )
vt &= ~TQSizePolicy::Maximum;
}
- } else if ( layout()->inherits(TQGRIDLAYOUT_OBJECT_NAME_STRING) ) {
+ } else if ( layout()->inherits("TQGridLayout") ) {
ht = TQSizePolicy::Fixed;
vt = TQSizePolicy::Fixed;
if ( parentLayout ) {
- if ( parentLayout->inherits(TQVBOXLAYOUT_OBJECT_NAME_STRING) )
+ if ( parentLayout->inherits("TQVBoxLayout") )
ht = TQSizePolicy::Minimum;
- else if ( parentLayout->inherits(TQHBOXLAYOUT_OBJECT_NAME_STRING) )
+ else if ( parentLayout->inherits("TQHBoxLayout") )
vt = TQSizePolicy::Minimum;
}
@@ -1900,17 +1904,10 @@ void TQLayoutWidget::updateSizePolicy()
vt |= TQSizePolicy::Maximum;
}
}
-#ifdef USE_QT4
- if ( layout()->expanding() & TQSizePolicy::Horizontally )
- ht = TQSizePolicy::Expanding;
- if ( layout()->expanding() & TQSizePolicy::Vertically )
- vt = TQSizePolicy::Expanding;
-#else // USE_QT4
if ( layout()->expanding() & TQSizePolicy::Horizontally )
ht = TQSizePolicy::Expanding;
if ( layout()->expanding() & TQSizePolicy::Vertically )
vt = TQSizePolicy::Expanding;
-#endif // USE_QT4
layout()->invalidate();
}
diff --git a/kommander/editor/widgetfactory.h b/kommander/editor/widgetfactory.h
index 2341b676..7b45da8c 100644
--- a/kommander/editor/widgetfactory.h
+++ b/kommander/editor/widgetfactory.h
@@ -110,7 +110,7 @@ private:
class QDesignerTabWidget : public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int currentPage READ currentPage WRITE setCurrentPage STORED false DESIGNABLE true )
TQ_PROPERTY( TQString pageTitle READ pageTitle WRITE setPageTitle STORED false DESIGNABLE true )
@@ -140,7 +140,7 @@ private:
class EditorTabWidget : public TabWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int currentPage READ currentPage WRITE setCurrentPage STORED false DESIGNABLE true )
TQ_PROPERTY( TQString pageTitle READ pageTitle WRITE setPageTitle STORED false DESIGNABLE true )
@@ -168,9 +168,9 @@ private:
bool mousePressed;
};
-class EditorToolBox : public ToolBox
+class KDE_EXPORT EditorToolBox : public ToolBox
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int currentPage READ currentPage WRITE setCurrentPage STORED false DESIGNABLE true )
TQ_PROPERTY( TQString pageTitle READ pageTitle WRITE setPageTitle STORED false DESIGNABLE true )
@@ -190,7 +190,7 @@ public:
class QDesignerWizard : public TQWizard
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int currentPage READ currentPageNum WRITE setCurrentPage STORED false DESIGNABLE true )
TQ_PROPERTY( TQString pageTitle READ pageTitle WRITE setPageTitle STORED false DESIGNABLE true )
@@ -226,7 +226,7 @@ private:
class TQLayoutWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -245,7 +245,7 @@ protected:
class CustomWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -278,7 +278,7 @@ protected:
class Line : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
@@ -305,7 +305,7 @@ public:
class QDesignerLabel : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( TQCString buddy READ buddyWidget WRITE setBuddyWidget )
@@ -338,7 +338,7 @@ private:
class QDesignerWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -355,7 +355,7 @@ private:
class QDesignerDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -372,7 +372,7 @@ private:
class QDesignerToolButton : public TQToolButton
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId )
@@ -381,13 +381,13 @@ public:
: TQToolButton( parent, name ) {}
bool isInButtonGroup() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING );
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" );
}
int buttonGroupId() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
}
void setButtonGroupId( int id ) {
- if ( parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ) {
( (TQButtonGroup*)parentWidget() )->remove( this );
( (TQButtonGroup*)parentWidget() )->insert( this, id );
}
@@ -396,7 +396,7 @@ public:
class QDesignerRadioButton : public TQRadioButton
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId )
@@ -405,13 +405,13 @@ public:
: TQRadioButton( parent, name ) {}
bool isInButtonGroup() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING );
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" );
}
int buttonGroupId() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
}
void setButtonGroupId( int id ) {
- if ( parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ) {
( (TQButtonGroup*)parentWidget() )->remove( this );
( (TQButtonGroup*)parentWidget() )->insert( this, id );
}
@@ -421,7 +421,7 @@ public:
class QDesignerPushButton : public TQPushButton
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId )
@@ -430,13 +430,13 @@ public:
: TQPushButton( parent, name ) {}
bool isInButtonGroup() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING );
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" );
}
int buttonGroupId() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
}
void setButtonGroupId( int id ) {
- if ( parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ) {
( (TQButtonGroup*)parentWidget() )->remove( this );
( (TQButtonGroup*)parentWidget() )->insert( this, id );
}
@@ -446,7 +446,7 @@ public:
class QDesignerCheckBox : public TQCheckBox
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId )
@@ -455,13 +455,13 @@ public:
: TQCheckBox( parent, name ) {}
bool isInButtonGroup() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING );
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" );
}
int buttonGroupId() const {
- return parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
+ return parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ? ( (TQButtonGroup*)parentWidget() )->id( (TQButton*)this ) : -1;
}
void setButtonGroupId( int id ) {
- if ( parentWidget() && parentWidget()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) ) {
+ if ( parentWidget() && parentWidget()->inherits( "TQButtonGroup" ) ) {
( (TQButtonGroup*)parentWidget() )->remove( this );
( (TQButtonGroup*)parentWidget() )->insert( this, id );
}
@@ -471,7 +471,7 @@ public:
class EditorDialog : public Dialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/widgetinterface.h b/kommander/editor/widgetinterface.h
index 3eed33d7..2958b10c 100644
--- a/kommander/editor/widgetinterface.h
+++ b/kommander/editor/widgetinterface.h
@@ -24,6 +24,6 @@
#include <tqwidgetinterface_p.h>
#define WidgetInterface TQWidgetFactoryInterface
-#define IID_Widget IID_TQWidgetFactory
+#define IID_Widget IID_QWidgetFactory
#endif
diff --git a/kommander/editor/wizardeditor.ui b/kommander/editor/wizardeditor.ui
index 2f5c16e4..ec183bf2 100644
--- a/kommander/editor/wizardeditor.ui
+++ b/kommander/editor/wizardeditor.ui
@@ -302,7 +302,7 @@
<slot>cancelClicked()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
<slot access="protected">addClicked()</slot>
@@ -315,6 +315,6 @@
<slot access="protected">okClicked()</slot>
<slot access="protected">removeClicked()</slot>
<slot access="protected">upClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kommander/editor/wizardeditorimpl.cpp b/kommander/editor/wizardeditorimpl.cpp
index 3dbdec9b..f362a360 100644
--- a/kommander/editor/wizardeditorimpl.cpp
+++ b/kommander/editor/wizardeditorimpl.cpp
@@ -34,7 +34,7 @@
WizardEditor::WizardEditor( TQWidget *parent, TQWizard *w, FormWindow *fw )
: WizardEditorBase( parent, 0 ), formwindow( fw ), wizard( w )
{
- connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ connect( buttonHelp, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) );
fillListBox();
}
diff --git a/kommander/editor/wizardeditorimpl.h b/kommander/editor/wizardeditorimpl.h
index b3d7e896..c6bb84ed 100644
--- a/kommander/editor/wizardeditorimpl.h
+++ b/kommander/editor/wizardeditorimpl.h
@@ -31,7 +31,7 @@ class FormWindow;
class WizardEditor : public WizardEditorBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/editor/workspace.cpp b/kommander/editor/workspace.cpp
index a14eac60..59ed882c 100644
--- a/kommander/editor/workspace.cpp
+++ b/kommander/editor/workspace.cpp
@@ -136,7 +136,7 @@ WorkspaceItem::WorkspaceItem( TQListViewItem *parent, FormFile* ff, Type type )
t = type;
if ( type == FormFileType ) {
setPixmap( 0, *formPixmap );
- TQObject::connect( ff, TQT_SIGNAL( somethingChanged(FormFile*) ), listView(), TQT_SLOT( update(FormFile*) ) );
+ TQObject::connect( ff, TQ_SIGNAL( somethingChanged(FormFile*) ), listView(), TQ_SLOT( update(FormFile*) ) );
#ifndef KOMMANDER
if ( formFile->supportsCodeFile() )
(void) new WorkspaceItem( this, formFile, FormSourceType );
@@ -154,7 +154,7 @@ WorkspaceItem::WorkspaceItem( TQListView *parent, FormFile* ff, Type type )
t = type;
if ( type == FormFileType ) {
setPixmap( 0, *formPixmap );
- TQObject::connect( ff, TQT_SIGNAL( somethingChanged(FormFile*) ), listView(), TQT_SLOT( update(FormFile*) ) );
+ TQObject::connect( ff, TQ_SIGNAL( somethingChanged(FormFile*) ), listView(), TQ_SLOT( update(FormFile*) ) );
#ifndef KOMMANDER
if ( formFile->supportsCodeFile() )
(void) new WorkspaceItem( this, formFile, FormSourceType );
@@ -355,12 +355,12 @@ Workspace::Workspace( TQWidget *parent, MainWindow *mw )
setPalette( p );
addColumn( i18n("Files" ) );
setAllColumnsShowFocus( true );
- connect( this, TQT_SIGNAL( mouseButtonClicked( int, TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( itemClicked( int, TQListViewItem *, const TQPoint& ) ) ),
- connect( this, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
- this, TQT_SLOT( itemDoubleClicked( TQListViewItem * ) ) ),
- connect( this, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( rmbClicked( TQListViewItem *, const TQPoint& ) ) ),
+ connect( this, TQ_SIGNAL( mouseButtonClicked( int, TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( itemClicked( int, TQListViewItem *, const TQPoint& ) ) ),
+ connect( this, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ),
+ this, TQ_SLOT( itemDoubleClicked( TQListViewItem * ) ) ),
+ connect( this, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( rmbClicked( TQListViewItem *, const TQPoint& ) ) ),
setHScrollBarMode( AlwaysOff );
setVScrollBarMode( AlwaysOn );
viewport()->setAcceptDrops( true );
@@ -395,19 +395,19 @@ void Workspace::setCurrentProject( Project *pro )
if ( project == pro )
return;
if ( project ) {
- disconnect( project, TQT_SIGNAL( sourceFileAdded(SourceFile*) ), this, TQT_SLOT( sourceFileAdded(SourceFile*) ) );
- disconnect( project, TQT_SIGNAL( sourceFileRemoved(SourceFile*) ), this, TQT_SLOT( sourceFileRemoved(SourceFile*) ) );
- disconnect( project, TQT_SIGNAL( formFileAdded(FormFile*) ), this, TQT_SLOT( formFileAdded(FormFile*) ) );
- disconnect( project, TQT_SIGNAL( formFileRemoved(FormFile*) ), this, TQT_SLOT( formFileRemoved(FormFile*) ) );
- disconnect( project, TQT_SIGNAL( projectModified() ), this, TQT_SLOT( update() ) );
+ disconnect( project, TQ_SIGNAL( sourceFileAdded(SourceFile*) ), this, TQ_SLOT( sourceFileAdded(SourceFile*) ) );
+ disconnect( project, TQ_SIGNAL( sourceFileRemoved(SourceFile*) ), this, TQ_SLOT( sourceFileRemoved(SourceFile*) ) );
+ disconnect( project, TQ_SIGNAL( formFileAdded(FormFile*) ), this, TQ_SLOT( formFileAdded(FormFile*) ) );
+ disconnect( project, TQ_SIGNAL( formFileRemoved(FormFile*) ), this, TQ_SLOT( formFileRemoved(FormFile*) ) );
+ disconnect( project, TQ_SIGNAL( projectModified() ), this, TQ_SLOT( update() ) );
}
project = pro;
- connect( project, TQT_SIGNAL( sourceFileAdded(SourceFile*) ), this, TQT_SLOT( sourceFileAdded(SourceFile*) ) );
- connect( project, TQT_SIGNAL( sourceFileRemoved(SourceFile*) ), this, TQT_SLOT( sourceFileRemoved(SourceFile*) ) );
- connect( project, TQT_SIGNAL( formFileAdded(FormFile*) ), this, TQT_SLOT( formFileAdded(FormFile*) ) );
- connect( project, TQT_SIGNAL( formFileRemoved(FormFile*) ), this, TQT_SLOT( formFileRemoved(FormFile*) ) );
- connect( project, TQT_SIGNAL( destroyed(TQObject*) ), this, TQT_SLOT( projectDestroyed(TQObject*) ) );
- connect( project, TQT_SIGNAL( projectModified() ), this, TQT_SLOT( update() ) );
+ connect( project, TQ_SIGNAL( sourceFileAdded(SourceFile*) ), this, TQ_SLOT( sourceFileAdded(SourceFile*) ) );
+ connect( project, TQ_SIGNAL( sourceFileRemoved(SourceFile*) ), this, TQ_SLOT( sourceFileRemoved(SourceFile*) ) );
+ connect( project, TQ_SIGNAL( formFileAdded(FormFile*) ), this, TQ_SLOT( formFileAdded(FormFile*) ) );
+ connect( project, TQ_SIGNAL( formFileRemoved(FormFile*) ), this, TQ_SLOT( formFileRemoved(FormFile*) ) );
+ connect( project, TQ_SIGNAL( destroyed(TQObject*) ), this, TQ_SLOT( projectDestroyed(TQObject*) ) );
+ connect( project, TQ_SIGNAL( projectModified() ), this, TQ_SLOT( update() ) );
clear();
if ( bufferEdit )
@@ -583,7 +583,7 @@ void Workspace::itemDoubleClicked( TQListViewItem *i )
void Workspace::itemClicked( int button, TQListViewItem *i, const TQPoint& )
{
- if ( !i || button != Qt::LeftButton )
+ if ( !i || button != TQt::LeftButton )
return;
closeAutoOpenItems();
@@ -699,7 +699,7 @@ void Workspace::rmbClicked( TQListViewItem *i, const TQPoint& pos )
break;
#endif
case OPEN_SOURCE:
- itemClicked( Qt::LeftButton, i, pos );
+ itemClicked( TQt::LeftButton, i, pos );
break;
#ifndef KOMMANDER
case REMOVE_FORM: // FIXME
@@ -707,10 +707,10 @@ void Workspace::rmbClicked( TQListViewItem *i, const TQPoint& pos )
break;
#endif
case OPEN_FORM:
- itemClicked( Qt::LeftButton, i, pos );
+ itemClicked( TQt::LeftButton, i, pos );
break;
case OPEN_FORM_SOURCE:
- itemClicked( Qt::LeftButton, i, pos );
+ itemClicked( TQt::LeftButton, i, pos );
break;
default:
break;
@@ -720,7 +720,7 @@ void Workspace::rmbClicked( TQListViewItem *i, const TQPoint& pos )
bool Workspace::eventFilter( TQObject *o, TQEvent * e )
{
// Reggie, on what type of events do we have to execute updateBufferEdit()
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(bufferEdit) && e->type() != TQEvent::ChildRemoved )
+ if ( o == bufferEdit && e->type() != TQEvent::ChildRemoved )
updateBufferEdit();
return TQListView::eventFilter( o, e );
}
@@ -728,8 +728,8 @@ bool Workspace::eventFilter( TQObject *o, TQEvent * e )
void Workspace::setBufferEdit( QCompletionEdit *edit )
{
bufferEdit = edit;
- connect( bufferEdit, TQT_SIGNAL( chosen( const TQString & ) ),
- this, TQT_SLOT( bufferChosen( const TQString & ) ) );
+ connect( bufferEdit, TQ_SIGNAL( chosen( const TQString & ) ),
+ this, TQ_SLOT( bufferChosen( const TQString & ) ) );
bufferEdit->installEventFilter( this );
}
@@ -764,7 +764,7 @@ void Workspace::bufferChosen( const TQString &buffer )
TQListViewItemIterator it( this );
while ( it.current() ) {
if ( ( (WorkspaceItem*)it.current())->checkCompletion( buffer ) ) {
- itemClicked( Qt::LeftButton, it.current(), TQPoint() );
+ itemClicked( TQt::LeftButton, it.current(), TQPoint() );
break;
}
++it;
diff --git a/kommander/editor/workspace.h b/kommander/editor/workspace.h
index 330fd444..4ba4b2a3 100644
--- a/kommander/editor/workspace.h
+++ b/kommander/editor/workspace.h
@@ -93,7 +93,7 @@ private:
class Workspace : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/examples/CMakeLists.txt b/kommander/examples/CMakeLists.txt
new file mode 100644
index 00000000..9af8ae8b
--- /dev/null
+++ b/kommander/examples/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_subdirectory( current )
+add_subdirectory( old )
+add_subdirectory( tutorial )
diff --git a/kommander/examples/current/CMakeLists.txt b/kommander/examples/current/CMakeLists.txt
new file mode 100644
index 00000000..cb28f2a2
--- /dev/null
+++ b/kommander/examples/current/CMakeLists.txt
@@ -0,0 +1,7 @@
+##### other data
+
+install(
+ FILES a1.kmdr b1.kmdr editor-poc.kmdr keyvaluecombo.kmdr
+ kpartmwframe.kmdr kpartpart.kmdr passvariables.kmdr tableselect.kmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor/current
+)
diff --git a/kommander/examples/current/a1.kmdr b/kommander/examples/current/a1.kmdr
index 3b81701d..6e069e9e 100644
--- a/kommander/examples/current/a1.kmdr
+++ b/kommander/examples/current/a1.kmdr
@@ -49,7 +49,7 @@ debug("pid="+pid)</string>
<cstring>StatusBar8</cstring>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout37</cstring>
</property>
@@ -121,7 +121,7 @@ debug("pid="+pid)</string>
<string>and again</string>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout83</cstring>
</property>
@@ -185,7 +185,7 @@ StatusBar8.setText("Returned: "+b)</string>
</spacer>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout84</cstring>
</property>
diff --git a/kommander/examples/current/b1.kmdr b/kommander/examples/current/b1.kmdr
index 09725243..4dd7ee30 100644
--- a/kommander/examples/current/b1.kmdr
+++ b/kommander/examples/current/b1.kmdr
@@ -121,7 +121,7 @@ endif
<property name="associations" stdset="0">
<stringlist>
<string>//message_info("parentPid = "+parentPid+"\npid = "+pid)
-dcop("kmdr-executor-"+parentPid, "KommanderIf", "setText(QString,QString)", "StatusBar8", "Hello")
+dcop("kmdr-executor-"+parentPid, "KommanderIf", "setText(TQString,TQString)", "StatusBar8", "Hello")
</string>
</stringlist>
</property>
diff --git a/kommander/examples/current/editor-poc.kmdr b/kommander/examples/current/editor-poc.kmdr
index 3713cb84..676fde24 100644
--- a/kommander/examples/current/editor-poc.kmdr
+++ b/kommander/examples/current/editor-poc.kmdr
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>KEdemo</class>
-<widget class=TQMAINWINDOW_OBJECT_NAME_STRING>
+<widget class="TQMainWindow">
<property name="name">
<cstring>KEdemo</cstring>
</property>
@@ -303,9 +303,9 @@ debug("Clicked at: "+Self.Item(0)+" "+Self.Item(1))
&lt;stringlist&gt;
&lt;string&gt;&lt;/string&gt;
&lt;string&gt;@Array.setValue(help, "Proof of concept", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Kommander MainWindow frames!&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;As Kommander took on functionality an attempt was made to make a MainWindow Kommander widget. Sadly it was a huge time loss for two developers who both gave up after days of trying. The problem was with the editor. However you can use a Qt Designer generated UI file renamed to a *.kmdr file. Into this frame you can place your widgets and make a working application where nearly everything works.&amp;lt;/p&amp;gt;")
-@Array.setValue(help, "Known limitations", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Known limitations&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;As of this writing what is known not to work on the Kommander side is the settings read and write. There is no Initialize or Destroy section as there is no Kommander Text, however there are Q_SIGNALS for this on the window, so the functionality is intact. On the MainWindow side it is not possible to talk to any Actions as these are QActions from Designer and TDEActions are not derived from QActions in KDE 3x. This means a DCOP call to list actions or set states will not work. It is also not possible to talk to the Statusbar. Also submenus on the menubar and dropdown actions on the Toolbar will not work. Given that this is an unsupported use of Kommander it everything that does work makes it suitable for probably most small application uses.. &amp;lt;/p&amp;gt;")
+@Array.setValue(help, "Known limitations", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Known limitations&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;As of this writing what is known not to work on the Kommander side is the settings read and write. There is no Initialize or Destroy section as there is no Kommander Text, however there are signals for this on the window, so the functionality is intact. On the MainWindow side it is not possible to talk to any Actions as these are QActions from Designer and TDEActions are not derived from QActions in KDE 3x. This means a DCOP call to list actions or set states will not work. It is also not possible to talk to the Statusbar. Also submenus on the menubar and dropdown actions on the Toolbar will not work. Given that this is an unsupported use of Kommander it everything that does work makes it suitable for probably most small application uses.. &amp;lt;/p&amp;gt;")
@Array.setValue(help, "Rolling your own", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Rolling your own&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;It is our intention to have a template in the 1.3 release of a MainWindow, but if you have Qt Designer for Qt 3x you can easily start a window design, save it, rename to *.kmdr and open in Kommander. Remember not to add widgets in Designer as Kommander will not recognize them.&amp;lt;/p&amp;gt;")
-@Array.setValue(help, "Using Actions", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Using Actions&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;If you want to get the goodies, menus, toolbars and accelerator keys, you need to use actions. Kommander has an Action editor on the window menu under Views. There you can add actions and there is a shortcut to connecting them with Q_SIGNALS and Q_SLOTS. To get everything working select an Action and look in the properties menu for settings like name, text and icon. For menus and toolbars try right clicking on them for context menus. Now from the Action View drag an Action to the menu or toolbar. See the visual feedback? Just connect your Action to a script and you have three different ways to call it.&amp;lt;/p&amp;gt;
+@Array.setValue(help, "Using Actions", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Using Actions&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;If you want to get the goodies, menus, toolbars and accelerator keys, you need to use actions. Kommander has an Action editor on the window menu under Views. There you can add actions and there is a shortcut to connecting them with signals and slots. To get everything working select an Action and look in the properties menu for settings like name, text and icon. For menus and toolbars try right clicking on them for context menus. Now from the Action View drag an Action to the menu or toolbar. See the visual feedback? Just connect your Action to a script and you have three different ways to call it.&amp;lt;/p&amp;gt;
")
@Array.setValue(help, "Link examples", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Link examples&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;This demo shows examples of linking. Links will show in the TextEdit widget, but they don't do anything. In the TextBrowser they open web pages and email links, but of course you can't edit in the TextBrowser. If you don't mind writing some script you can set up your own link handling, which I've done here. Note that it will follow links anywhere in the editor. If the link is a widget name it assumes it to be a script and calls it. If not it looks to see if it is a web link and calls that&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;It would be easy to extend this script to accept link parameters and process emails. You could also make a reference to other text objects, tab widget tabs, pretty much anything you can think of.&amp;lt;/p&amp;gt;")
@Array.setValue(help, "How this help works", "&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;How this help works&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;p&amp;gt;Do you wonder where this help came from? It is possible to use KDE help if you write DocBook, make it and install it. This quick help is fast and can contain &amp;lt;i&amp;gt;rich text&amp;lt;/i&amp;gt;. To look at the dialog copy the text in the hidden TextEdit (set to text mode so as not to muck things up with rich text interperting XML) and paste it to a text editor like KWrite. Save it as a Kommander file and open it in the Kommander Editor.&amp;lt;/p&amp;gt;")
@@ -331,7 +331,7 @@ debug("Clicked at: "+Self.Item(0)+" "+Self.Item(1))
&lt;property name="spacing"&gt;
&lt;number&gt;6&lt;/number&gt;
&lt;/property&gt;
- &lt;widget class=TQSPLITTER_OBJECT_NAME_STRING row="0" column="0" rowspan="2" colspan="2"&gt;
+ &lt;widget class="TQSplitter" row="0" column="0" rowspan="2" colspan="2"&gt;
&lt;property name="name"&gt;
&lt;cstring&gt;Splitter5&lt;/cstring&gt;
&lt;/property&gt;
@@ -586,9 +586,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;New</string>
</property>
- <property name="accel">
- <number>272629838</number>
- </property>
</action>
<action>
<property name="name">
@@ -603,9 +600,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Open...</string>
</property>
- <property name="accel">
- <number>272629839</number>
- </property>
</action>
<action>
<property name="name">
@@ -620,9 +614,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Save</string>
</property>
- <property name="accel">
- <number>272629843</number>
- </property>
</action>
<action>
<property name="name">
@@ -634,9 +625,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>Save &amp;As...</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -651,9 +639,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Print...</string>
</property>
- <property name="accel">
- <number>272629840</number>
- </property>
</action>
<action>
<property name="name">
@@ -665,9 +650,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>E&amp;xit</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -682,9 +664,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Undo</string>
</property>
- <property name="accel">
- <number>272629850</number>
- </property>
</action>
<action>
<property name="name">
@@ -699,9 +678,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Redo</string>
</property>
- <property name="accel">
- <number>272629849</number>
- </property>
</action>
<action>
<property name="name">
@@ -716,9 +692,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>Cu&amp;t</string>
</property>
- <property name="accel">
- <number>272629848</number>
- </property>
</action>
<action>
<property name="name">
@@ -733,9 +706,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Copy</string>
</property>
- <property name="accel">
- <number>272629827</number>
- </property>
</action>
<action>
<property name="name">
@@ -750,9 +720,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Paste</string>
</property>
- <property name="accel">
- <number>272629846</number>
- </property>
</action>
<action>
<property name="name">
@@ -767,9 +734,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Find...</string>
</property>
- <property name="accel">
- <number>272629830</number>
- </property>
</action>
<action>
<property name="name">
@@ -781,9 +745,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Contents...</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -795,9 +756,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;Index...</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -809,9 +767,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>&amp;About</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -840,9 +795,6 @@ TextEdit5.setColor(color)</string>
<property name="menuText">
<string>Bold</string>
</property>
- <property name="accel">
- <number>272629826</number>
- </property>
</action>
<actiongroup>
<property name="name">
@@ -871,9 +823,6 @@ TextEdit5.setColor(color)</string>
<property name="text">
<string>Italic</string>
</property>
- <property name="accel">
- <number>272629833</number>
- </property>
</action>
<action>
<property name="name">
diff --git a/kommander/examples/current/keyvaluecombo.kmdr b/kommander/examples/current/keyvaluecombo.kmdr
index 489c4f6d..a318d185 100644
--- a/kommander/examples/current/keyvaluecombo.kmdr
+++ b/kommander/examples/current/keyvaluecombo.kmdr
@@ -63,7 +63,7 @@ PopupMenu1.insertMenuItem("Help About", "PopupMenu1", 10)
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout27</cstring>
</property>
@@ -100,7 +100,7 @@ PopupMenu1.insertMenuItem("Help About", "PopupMenu1", 10)
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout30</cstring>
</property>
@@ -122,7 +122,7 @@ PopupMenu1.insertMenuItem("Help About", "PopupMenu1", 10)
<string>Right click for menu</string>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="2">
+ <widget class="TQLayoutWidget" row="0" column="2">
<property name="name">
<cstring>Layout24</cstring>
</property>
@@ -164,7 +164,7 @@ PopupMenu1.insertMenuItem("Help About", "PopupMenu1", 10)
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout23</cstring>
</property>
@@ -227,7 +227,7 @@ PopupMenu1.insertMenuItem("Help About", "PopupMenu1", 10)
</widget>
</grid>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>Layout31</cstring>
</property>
diff --git a/kommander/examples/current/kpartmwframe.kmdr b/kommander/examples/current/kpartmwframe.kmdr
index 7d15aecf..d723f0e2 100644
--- a/kommander/examples/current/kpartmwframe.kmdr
+++ b/kommander/examples/current/kpartmwframe.kmdr
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>KKPdemo</class>
-<widget class=TQMAINWINDOW_OBJECT_NAME_STRING>
+<widget class="TQMainWindow">
<property name="name">
<cstring>KKPdemo</cstring>
</property>
@@ -58,7 +58,7 @@
</sizepolicy>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -218,9 +218,6 @@ endif</string>
<property name="menuText">
<string>&amp;New</string>
</property>
- <property name="accel">
- <number>272629838</number>
- </property>
</action>
<action>
<property name="name">
@@ -235,9 +232,6 @@ endif</string>
<property name="menuText">
<string>&amp;Open...</string>
</property>
- <property name="accel">
- <number>272629839</number>
- </property>
</action>
<action>
<property name="name">
@@ -252,9 +246,6 @@ endif</string>
<property name="menuText">
<string>&amp;Save</string>
</property>
- <property name="accel">
- <number>272629843</number>
- </property>
</action>
<action>
<property name="name">
@@ -266,9 +257,6 @@ endif</string>
<property name="menuText">
<string>Save &amp;As...</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -283,9 +271,6 @@ endif</string>
<property name="menuText">
<string>&amp;Print...</string>
</property>
- <property name="accel">
- <number>272629840</number>
- </property>
</action>
<action>
<property name="name">
@@ -297,9 +282,6 @@ endif</string>
<property name="menuText">
<string>E&amp;xit</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -314,9 +296,6 @@ endif</string>
<property name="menuText">
<string>&amp;Undo</string>
</property>
- <property name="accel">
- <number>272629850</number>
- </property>
</action>
<action>
<property name="name">
@@ -331,9 +310,6 @@ endif</string>
<property name="menuText">
<string>&amp;Redo</string>
</property>
- <property name="accel">
- <number>272629849</number>
- </property>
</action>
<action>
<property name="name">
@@ -348,9 +324,6 @@ endif</string>
<property name="menuText">
<string>Cu&amp;t</string>
</property>
- <property name="accel">
- <number>272629848</number>
- </property>
</action>
<action>
<property name="name">
@@ -365,9 +338,6 @@ endif</string>
<property name="menuText">
<string>&amp;Copy</string>
</property>
- <property name="accel">
- <number>272629827</number>
- </property>
</action>
<action>
<property name="name">
@@ -382,9 +352,6 @@ endif</string>
<property name="menuText">
<string>&amp;Paste</string>
</property>
- <property name="accel">
- <number>272629846</number>
- </property>
</action>
<action>
<property name="name">
@@ -399,9 +366,6 @@ endif</string>
<property name="menuText">
<string>&amp;Find...</string>
</property>
- <property name="accel">
- <number>272629830</number>
- </property>
</action>
<action>
<property name="name">
@@ -413,9 +377,6 @@ endif</string>
<property name="menuText">
<string>&amp;Contents...</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -427,9 +388,6 @@ endif</string>
<property name="menuText">
<string>&amp;Index...</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -441,9 +399,6 @@ endif</string>
<property name="menuText">
<string>&amp;About</string>
</property>
- <property name="accel">
- <number>0</number>
- </property>
</action>
<action>
<property name="name">
@@ -472,9 +427,6 @@ endif</string>
<property name="menuText">
<string>Bold</string>
</property>
- <property name="accel">
- <number>272629826</number>
- </property>
</action>
<actiongroup>
<property name="name">
@@ -503,9 +455,6 @@ endif</string>
<property name="text">
<string>Italic</string>
</property>
- <property name="accel">
- <number>272629833</number>
- </property>
</action>
<action>
<property name="name">
diff --git a/kommander/examples/current/kpartpart.kmdr b/kommander/examples/current/kpartpart.kmdr
index d6e83b95..c7fc0dbb 100644
--- a/kommander/examples/current/kpartpart.kmdr
+++ b/kommander/examples/current/kpartpart.kmdr
@@ -51,7 +51,7 @@ Because of all this and the fact that the Actions on the unsupported MainWindow
This demo is intended to run both kpartwmframe.kmdr and kpartpart.kmdr. </string>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout70</cstring>
</property>
diff --git a/kommander/examples/current/passvariables.kmdr b/kommander/examples/current/passvariables.kmdr
index 3d4b848d..96a83fdb 100644
--- a/kommander/examples/current/passvariables.kmdr
+++ b/kommander/examples/current/passvariables.kmdr
@@ -279,7 +279,7 @@ echo round(@Self.Item(1)/@Self.Item(2),5)
</size>
</property>
</spacer>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0" rowspan="1" colspan="7">
+ <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="7">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/current/tableselect.kmdr b/kommander/examples/current/tableselect.kmdr
index a7d84367..c227acf0 100644
--- a/kommander/examples/current/tableselect.kmdr
+++ b/kommander/examples/current/tableselect.kmdr
@@ -51,7 +51,7 @@ AboutDialog9.setBugAddress("eric@kdewebdev.org")</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="3" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="1" column="3" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -99,7 +99,7 @@ AboutDialog9.setBugAddress("eric@kdewebdev.org")</string>
</widget>
</grid>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/old/CMakeLists.txt b/kommander/examples/old/CMakeLists.txt
new file mode 100644
index 00000000..8b860d42
--- /dev/null
+++ b/kommander/examples/old/CMakeLists.txt
@@ -0,0 +1,10 @@
+##### other data
+
+install(
+ FILES checkmail.kmdr execprogram.kmdr form1.kmdr form3.kmdr
+ form5.kmdr populate.kmdr selectedwidgettext.kmdr simplelist.kmdr
+ tidy.kmdr wizard.kmdr ex1.kmdr firstform.kmdr.kmdr form2.kmdr
+ form4.kmdr newfile.kmdr resize.kmdr settings.kmdr tar.kmdr
+ widgetgenerator.kmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor/old
+)
diff --git a/kommander/examples/old/execprogram.kmdr b/kommander/examples/old/execprogram.kmdr
index ea7e9dad..67914305 100644
--- a/kommander/examples/old/execprogram.kmdr
+++ b/kommander/examples/old/execprogram.kmdr
@@ -35,7 +35,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout2</cstring>
</property>
diff --git a/kommander/examples/old/firstform.kmdr.kmdr b/kommander/examples/old/firstform.kmdr.kmdr
index df90066e..454c2a67 100644
--- a/kommander/examples/old/firstform.kmdr.kmdr
+++ b/kommander/examples/old/firstform.kmdr.kmdr
@@ -35,7 +35,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/old/form2.kmdr b/kommander/examples/old/form2.kmdr
index 23e8e372..272c9b7e 100644
--- a/kommander/examples/old/form2.kmdr
+++ b/kommander/examples/old/form2.kmdr
@@ -25,7 +25,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout3</cstring>
</property>
@@ -73,7 +73,7 @@
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/old/form4.kmdr b/kommander/examples/old/form4.kmdr
index 7a5abe1a..3bb039e2 100644
--- a/kommander/examples/old/form4.kmdr
+++ b/kommander/examples/old/form4.kmdr
@@ -25,7 +25,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -79,9 +79,9 @@
<connections>
<connection>
<sender>TextEdit1</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>LineEdit1</receiver>
- <slot>setWidgetText(const QString&amp;)</slot>
+ <slot>setWidgetText(const TQString&amp;)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
diff --git a/kommander/examples/old/form5.kmdr b/kommander/examples/old/form5.kmdr
index ceba4883..1f244567 100644
--- a/kommander/examples/old/form5.kmdr
+++ b/kommander/examples/old/form5.kmdr
@@ -64,7 +64,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -152,7 +152,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -331,15 +331,15 @@ Ha ha. We got it all with Kommander!</string>
<connections>
<connection>
<sender>ExecButton9</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>usetext</receiver>
- <slot>setWidgetText(const QString&amp;)</slot>
+ <slot>setWidgetText(const TQString&amp;)</slot>
</connection>
<connection>
<sender>ExecButton9_2</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>usetext</receiver>
- <slot>setText(const QString&amp;)</slot>
+ <slot>setText(const TQString&amp;)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
diff --git a/kommander/examples/old/newfile.kmdr b/kommander/examples/old/newfile.kmdr
index d74528a0..8fd01660 100644
--- a/kommander/examples/old/newfile.kmdr
+++ b/kommander/examples/old/newfile.kmdr
@@ -15,7 +15,7 @@
<property name="caption">
<string>Quick Start</string>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -31,7 +31,7 @@
<string>Title:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
diff --git a/kommander/examples/old/populate.kmdr b/kommander/examples/old/populate.kmdr
index 644faadc..565ba3ee 100644
--- a/kommander/examples/old/populate.kmdr
+++ b/kommander/examples/old/populate.kmdr
@@ -25,7 +25,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -39,7 +39,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/old/resize.kmdr b/kommander/examples/old/resize.kmdr
index 92f9806b..7ab76276 100644
--- a/kommander/examples/old/resize.kmdr
+++ b/kommander/examples/old/resize.kmdr
@@ -25,7 +25,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -65,7 +65,7 @@
<enum>Directory</enum>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -73,7 +73,7 @@
<string>Source directory:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -83,7 +83,7 @@
</widget>
</grid>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout3</cstring>
</property>
@@ -97,7 +97,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -115,7 +115,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -152,7 +152,7 @@
</spacer>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout4</cstring>
</property>
diff --git a/kommander/examples/old/selectedwidgettext.kmdr b/kommander/examples/old/selectedwidgettext.kmdr
index ddb6d0ba..c91629c9 100644
--- a/kommander/examples/old/selectedwidgettext.kmdr
+++ b/kommander/examples/old/selectedwidgettext.kmdr
@@ -50,7 +50,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/old/settings.kmdr b/kommander/examples/old/settings.kmdr
index b7037ea9..df796460 100644
--- a/kommander/examples/old/settings.kmdr
+++ b/kommander/examples/old/settings.kmdr
@@ -35,7 +35,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout7</cstring>
</property>
@@ -49,7 +49,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -83,7 +83,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout6</cstring>
</property>
@@ -97,7 +97,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -158,7 +158,7 @@ Items")
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -249,9 +249,9 @@ Items")
</connection>
<connection>
<sender>ExecButton1</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>listBox</receiver>
- <slot>setWidgetText(const QString&amp;)</slot>
+ <slot>setWidgetText(const TQString&amp;)</slot>
</connection>
<connection>
<sender>settingsDialog</sender>
diff --git a/kommander/examples/old/simplelist.kmdr b/kommander/examples/old/simplelist.kmdr
index 6435f181..f1123039 100644
--- a/kommander/examples/old/simplelist.kmdr
+++ b/kommander/examples/old/simplelist.kmdr
@@ -15,7 +15,7 @@
<property name="caption">
<string>Form1</string>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
diff --git a/kommander/examples/old/tar.kmdr b/kommander/examples/old/tar.kmdr
index 128f324d..840ac02c 100644
--- a/kommander/examples/old/tar.kmdr
+++ b/kommander/examples/old/tar.kmdr
@@ -131,7 +131,7 @@
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout9</cstring>
</property>
@@ -288,7 +288,7 @@
</size>
</property>
</spacer>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout7</cstring>
</property>
@@ -329,7 +329,7 @@
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -343,7 +343,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -358,7 +358,7 @@
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout6</cstring>
</property>
@@ -372,7 +372,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -390,7 +390,7 @@
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout7</cstring>
</property>
diff --git a/kommander/examples/old/tidy.kmdr b/kommander/examples/old/tidy.kmdr
index 785b9dcf..acc47721 100644
--- a/kommander/examples/old/tidy.kmdr
+++ b/kommander/examples/old/tidy.kmdr
@@ -29,7 +29,7 @@
<property name="name">
<cstring>TabWidget1</cstring>
</property>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -51,7 +51,7 @@
<property name="title">
<string>Non Tidy Option</string>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -119,7 +119,7 @@ instances of Quanta running.</string>
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -356,7 +356,7 @@ instances of Quanta running.</string>
</property>
</widget>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -373,7 +373,7 @@ instances of Quanta running.</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -477,7 +477,7 @@ instances of Quanta running.</string>
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -541,7 +541,7 @@ instances of Quanta running.</string>
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -613,7 +613,7 @@ instances of Quanta running.</string>
</widget>
</grid>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -889,7 +889,7 @@ instances of Quanta running.</string>
</widget>
</grid>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -1150,9 +1150,9 @@ fi
</connection>
<connection>
<sender>ExecButton2</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>GtidyPath</receiver>
- <slot>setWidgetText(const QString&amp;)</slot>
+ <slot>setWidgetText(const TQString&amp;)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
diff --git a/kommander/examples/old/widgetgenerator.kmdr b/kommander/examples/old/widgetgenerator.kmdr
index 45f441fa..46f166e3 100644
--- a/kommander/examples/old/widgetgenerator.kmdr
+++ b/kommander/examples/old/widgetgenerator.kmdr
@@ -25,7 +25,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout12</cstring>
</property>
@@ -100,37 +100,37 @@ headerContent="/****************************************************************
/* OTHER INCLUDES */
#include &lt;kommanderwidget.h&gt;
-class QWidget;
+class TQWidget;
class QShowEvent;
class @className : public @inheritClassName, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
- TQ_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
+ TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
TQ_PROPERTY(bool KommanderWidget READ isKommanderWidget)
public:
- @className(QWidget *a_parent, const char *a_name);
+ @className(TQWidget *a_parent, const char *a_name);
~@className();
- virtual QString widgetText() const;
+ virtual TQString widgetText() const;
virtual bool isKommanderWidget() const;
virtual void setAssociatedText(QStringList);
virtual QStringList associatedText() const;
- virtual QString currentState() const;
+ virtual TQString currentState() const;
- virtual QString populationText() const;
- virtual void setPopulationText(QString);
+ virtual TQString populationText() const;
+ virtual void setPopulationText(TQString);
-public Q_SLOTS:
- virtual void setWidgetText(const QString &amp;);
+public slots:
+ virtual void setWidgetText(const TQString &amp;);
virtual void populate();
-Q_SIGNALS:
+signals:
void widgetOpened();
- void widgetTextChanged(const QString &amp;);
+ void widgetTextChanged(const TQString &amp;);
protected:
void showEvent( QShowEvent *e );
private:
@@ -169,7 +169,7 @@ cppContent="/*******************************************************************
#include &lt;kommanderwidget.h&gt;
#include \"$classNameLower.h\"
-@className::@className(QWidget *a_parent, const char *a_name)
+@className::@className(TQWidget *a_parent, const char *a_name)
: @inheritClassName(a_parent, a_name), KommanderWidget(this)
{
QStringList states;
@@ -182,9 +182,9 @@ cppContent="/*******************************************************************
{
}
-QString @className::currentState() const
+TQString @className::currentState() const
{
- return QString(\"default\");
+ return TQString(\"default\");
}
bool @className::isKommanderWidget() const
@@ -204,30 +204,30 @@ void @className::setAssociatedText(QStringList a_at)
void @className::populate()
{
- QString txt = KommanderWidget::evalAssociatedText( populationText() );
+ TQString txt = KommanderWidget::evalAssociatedText( populationText() );
setWidgetText( txt );
}
-QString @className::populationText() const
+TQString @className::populationText() const
{
return KommanderWidget::populationText();
}
-void @className::setPopulationText(QString a_text)
+void @className::setPopulationText(TQString a_text)
{
KommanderWidget::setPopulationText(a_text);
}
-void @className::setWidgetText(const QString &amp;a_text)
+void @className::setWidgetText(const TQString &amp;a_text)
{
//set the widget text of your widget here
emit widgetTextChanged(a_text);
}
-QString @className::widgetText() const
+TQString @className::widgetText() const
{
// implement your widget text here
- return QString::null;
+ return TQString::null;
}
void @className::showEvent( QShowEvent *e )
@@ -274,7 +274,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
</spacer>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout37</cstring>
</property>
@@ -288,7 +288,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -296,7 +296,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Author:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel6</cstring>
</property>
@@ -304,7 +304,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Email:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -312,7 +312,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Description:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -320,7 +320,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Date started:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -328,7 +328,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Class name:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel7</cstring>
</property>
@@ -336,7 +336,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Base class name:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel5</cstring>
</property>
@@ -346,7 +346,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="1">
+ <widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout36</cstring>
</property>
diff --git a/kommander/examples/old/wizard.kmdr b/kommander/examples/old/wizard.kmdr
index ed07ab03..d7f57170 100644
--- a/kommander/examples/old/wizard.kmdr
+++ b/kommander/examples/old/wizard.kmdr
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>Wizard1</class>
-<widget class=TQWIZARD_OBJECT_NAME_STRING>
+<widget class="TQWizard">
<property name="name">
<cstring>Wizard1</cstring>
</property>
@@ -15,7 +15,7 @@
<property name="caption">
<string>Demo Wizard</string>
</property>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>page</cstring>
</property>
@@ -39,7 +39,7 @@
</property>
<property name="associations" stdset="0">
<stringlist>
- <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1.checked)
+ <string>@dcop(@dcopid, KommanderIf, enableWidget(TQString,bool), next, @CheckBox1.checked)
</string>
</stringlist>
@@ -132,7 +132,7 @@
</property>
</widget>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>page</cstring>
</property>
@@ -156,7 +156,7 @@
</property>
<property name="associations" stdset="0">
<stringlist>
- <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1_2.checked)
+ <string>@dcop(@dcopid, KommanderIf, enableWidget(TQString,bool), next, @CheckBox1_2.checked)
</string>
</stringlist>
@@ -189,7 +189,7 @@
</property>
</widget>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>page</cstring>
</property>
@@ -213,7 +213,7 @@
</property>
<property name="associations" stdset="0">
<stringlist>
- <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), finish, @CheckBox2.checked)
+ <string>@dcop(@dcopid, KommanderIf, enableWidget(TQString,bool), finish, @CheckBox2.checked)
</string>
</stringlist>
@@ -262,15 +262,15 @@
</connection>
<connection>
<sender>Wizard1</sender>
- <signal>selected(const QString&amp;)</signal>
+ <signal>selected(const TQString&amp;)</signal>
<receiver>ScriptObject1_2</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>Wizard1</sender>
- <signal>selected(const QString&amp;)</signal>
+ <signal>selected(const TQString&amp;)</signal>
<receiver>LineEdit6</receiver>
- <slot>setText(const QString&amp;)</slot>
+ <slot>setText(const TQString&amp;)</slot>
</connection>
<connection>
<sender>CheckBox2</sender>
diff --git a/kommander/examples/tutorial/CMakeLists.txt b/kommander/examples/tutorial/CMakeLists.txt
new file mode 100644
index 00000000..0d344518
--- /dev/null
+++ b/kommander/examples/tutorial/CMakeLists.txt
@@ -0,0 +1,10 @@
+##### other data
+
+install(
+ FILES append.kmdr calc.kmdr dcop.kmdr globals.kmdr loop.kmdr
+ progressbar.kmdr slots.kmdr strings.kmdr tree.kmdr arrays.kmdr
+ cmdline.kmdr dialogs.kmdr initialize.kmdr picview.kmdr
+ settings.kmdr statusbar.kmdr table.kmdr widgets.kmdr
+ README
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor/tutorial
+)
diff --git a/kommander/examples/tutorial/append.kmdr b/kommander/examples/tutorial/append.kmdr
index d9c07451..b30c318c 100644
--- a/kommander/examples/tutorial/append.kmdr
+++ b/kommander/examples/tutorial/append.kmdr
@@ -40,7 +40,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout2</cstring>
</property>
diff --git a/kommander/examples/tutorial/arrays.kmdr b/kommander/examples/tutorial/arrays.kmdr
index d0ae1d5e..b4a0ec5d 100644
--- a/kommander/examples/tutorial/arrays.kmdr
+++ b/kommander/examples/tutorial/arrays.kmdr
@@ -36,7 +36,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -93,7 +93,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>Layout4</cstring>
</property>
diff --git a/kommander/examples/tutorial/calc.kmdr b/kommander/examples/tutorial/calc.kmdr
index cfe7233f..3308b2e3 100644
--- a/kommander/examples/tutorial/calc.kmdr
+++ b/kommander/examples/tutorial/calc.kmdr
@@ -32,7 +32,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="1">
+ <widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout7</cstring>
</property>
@@ -46,7 +46,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -124,7 +124,7 @@
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout4</cstring>
</property>
@@ -138,7 +138,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -146,7 +146,7 @@
<string>Expression:</string>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="4" column="0">
+ <widget class="TQLayoutWidget" row="4" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/tutorial/dcop.kmdr b/kommander/examples/tutorial/dcop.kmdr
index a4fe69fc..0d591cf5 100644
--- a/kommander/examples/tutorial/dcop.kmdr
+++ b/kommander/examples/tutorial/dcop.kmdr
@@ -35,7 +35,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout2</cstring>
</property>
diff --git a/kommander/examples/tutorial/dialogs.kmdr b/kommander/examples/tutorial/dialogs.kmdr
index cb3c81e2..fd5b678f 100644
--- a/kommander/examples/tutorial/dialogs.kmdr
+++ b/kommander/examples/tutorial/dialogs.kmdr
@@ -85,7 +85,7 @@ ListBox1.setText(a)
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/tutorial/globals.kmdr b/kommander/examples/tutorial/globals.kmdr
index 33d5dd40..d4d92d89 100644
--- a/kommander/examples/tutorial/globals.kmdr
+++ b/kommander/examples/tutorial/globals.kmdr
@@ -32,7 +32,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
diff --git a/kommander/examples/tutorial/initialize.kmdr b/kommander/examples/tutorial/initialize.kmdr
index 9dde0bfc..96239366 100644
--- a/kommander/examples/tutorial/initialize.kmdr
+++ b/kommander/examples/tutorial/initialize.kmdr
@@ -35,7 +35,7 @@ dcop @dcopid KommanderIf changeWidgetText CloseLabel "$CLOSE"
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -98,7 +98,7 @@ dcop @dcopid KommanderIf changeWidgetText CloseLabel "$CLOSE"
</spacer>
</hbox>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>OpenLabel</cstring>
</property>
@@ -106,7 +106,7 @@ dcop @dcopid KommanderIf changeWidgetText CloseLabel "$CLOSE"
<string>Opened:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>CloseLabel</cstring>
</property>
diff --git a/kommander/examples/tutorial/loop.kmdr b/kommander/examples/tutorial/loop.kmdr
index a415a103..d5672338 100644
--- a/kommander/examples/tutorial/loop.kmdr
+++ b/kommander/examples/tutorial/loop.kmdr
@@ -79,7 +79,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="1">
+ <widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -93,7 +93,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
diff --git a/kommander/examples/tutorial/picview.kmdr b/kommander/examples/tutorial/picview.kmdr
index c01a10e9..4fdca299 100644
--- a/kommander/examples/tutorial/picview.kmdr
+++ b/kommander/examples/tutorial/picview.kmdr
@@ -52,7 +52,7 @@
<enum>Directory</enum>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -133,7 +133,7 @@
<connections>
<connection>
<sender>FileSelector1</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>ListBox1</receiver>
<slot>populate()</slot>
</connection>
diff --git a/kommander/examples/tutorial/settings.kmdr b/kommander/examples/tutorial/settings.kmdr
index f4aaa0b1..d59d1bcf 100644
--- a/kommander/examples/tutorial/settings.kmdr
+++ b/kommander/examples/tutorial/settings.kmdr
@@ -32,7 +32,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -46,7 +46,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -69,7 +69,7 @@
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout5</cstring>
</property>
diff --git a/kommander/examples/tutorial/slots.kmdr b/kommander/examples/tutorial/slots.kmdr
index 6bbf7d5f..ae0fec91 100644
--- a/kommander/examples/tutorial/slots.kmdr
+++ b/kommander/examples/tutorial/slots.kmdr
@@ -30,7 +30,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -44,7 +44,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -68,7 +68,7 @@
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -82,7 +82,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -105,7 +105,7 @@
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>Layout3</cstring>
</property>
@@ -185,7 +185,7 @@ fi
<connections>
<connection>
<sender>FileSelector</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>FileListBox</receiver>
<slot>populate()</slot>
</connection>
diff --git a/kommander/examples/tutorial/strings.kmdr b/kommander/examples/tutorial/strings.kmdr
index 0b4af608..53f3908f 100644
--- a/kommander/examples/tutorial/strings.kmdr
+++ b/kommander/examples/tutorial/strings.kmdr
@@ -81,7 +81,7 @@ fi
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -95,7 +95,7 @@ fi
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -121,7 +121,7 @@ fi
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>Layout2</cstring>
</property>
diff --git a/kommander/examples/tutorial/table.kmdr b/kommander/examples/tutorial/table.kmdr
index ff8982d4..8b219269 100644
--- a/kommander/examples/tutorial/table.kmdr
+++ b/kommander/examples/tutorial/table.kmdr
@@ -77,7 +77,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout3</cstring>
</property>
@@ -170,7 +170,7 @@
</spacer>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout4</cstring>
</property>
diff --git a/kommander/examples/tutorial/tree.kmdr b/kommander/examples/tutorial/tree.kmdr
index 0e5d76df..72410f79 100644
--- a/kommander/examples/tutorial/tree.kmdr
+++ b/kommander/examples/tutorial/tree.kmdr
@@ -33,7 +33,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -109,7 +109,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -130,7 +130,7 @@
<enum>Directory</enum>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout3</cstring>
</property>
diff --git a/kommander/examples/tutorial/widgets.kmdr b/kommander/examples/tutorial/widgets.kmdr
index 5f283e49..03123265 100644
--- a/kommander/examples/tutorial/widgets.kmdr
+++ b/kommander/examples/tutorial/widgets.kmdr
@@ -82,7 +82,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -96,7 +96,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
diff --git a/kommander/executor/CMakeLists.txt b/kommander/executor/CMakeLists.txt
new file mode 100644
index 00000000..f3095915
--- /dev/null
+++ b/kommander/executor/CMakeLists.txt
@@ -0,0 +1,63 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/widgets
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### instance (static)
+
+tde_add_library( instance STATIC_PIC AUTOMOC
+
+ SOURCES
+ instance.cpp
+ dcopkommanderif.skel
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ kommanderplugin-shared
+ kommanderwidget-shared
+)
+
+
+##### kmdr-executor (executable)
+
+tde_add_executable( kmdr-executor AUTOMOC
+
+ SOURCES
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ instance-static
+ kommanderwidget-shared
+ kommanderwidgets-shared
+ kommanderfactory-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kmdr-executor.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden
+ PO_DIR kommander-desktops
+)
diff --git a/kommander/executor/instance.cpp b/kommander/executor/instance.cpp
index 863b0153..b746ec97 100644
--- a/kommander/executor/instance.cpp
+++ b/kommander/executor/instance.cpp
@@ -106,7 +106,7 @@ bool Instance::build(const KURL& fname)
{
TQFile inputFile;
inputFile.open(IO_ReadOnly, stdin);
- m_instance = KommanderFactory::create(TQT_TQIODEVICE(&inputFile));
+ m_instance = KommanderFactory::create(&inputFile);
}
// check if build was successful
@@ -121,7 +121,7 @@ bool Instance::build(const KURL& fname)
window->setFileName(fname.path().local8Bit());
// FIXME : Should verify that all of the widgets in the dialog derive from KommanderWidget
- m_textInstance = kommanderWidget(TQT_TQOBJECT(m_instance));
+ m_textInstance = kommanderWidget(m_instance);
if (!m_textInstance) // Main dialog/window is not a Kommander widget - look for one
{
@@ -158,9 +158,9 @@ bool Instance::run()
return false;
// Handle both dialogs and main windows
- if (m_instance->inherits(TQDIALOG_OBJECT_NAME_STRING))
+ if (m_instance->inherits("TQDialog"))
dynamic_cast<TQDialog*>((TQWidget*)m_instance)->exec();
- else if (m_instance->inherits(TQMAINWINDOW_OBJECT_NAME_STRING))
+ else if (m_instance->inherits("TQMainWindow"))
{
kapp->setMainWidget(m_instance);
dynamic_cast<TQMainWindow*>((TQWidget*)m_instance)->show();
@@ -234,14 +234,14 @@ bool Instance::isFileValid(const KURL& fname) const
void Instance::setEnabled(const TQString& widgetName, bool enable)
{
TQObject* child = stringToWidget(widgetName);
- if (child && child->inherits(TQWIDGET_OBJECT_NAME_STRING))
+ if (child && child->inherits("TQWidget"))
((TQWidget*)child)->setEnabled(enable);
}
void Instance::setVisible(const TQString& widgetName, bool visible)
{
TQObject* child = stringToWidget(widgetName);
- if (child && child->inherits(TQWIDGET_OBJECT_NAME_STRING))
+ if (child && child->inherits("TQWidget"))
((TQWidget*)child)->setShown(visible);
}
@@ -250,7 +250,7 @@ void Instance::setText(const TQString& widgetName, const TQString& text)
TQObject* child = stringToWidget(widgetName);
if (kommanderWidget(child))
kommanderWidget(child)->handleDCOP(DCOP::setText, text);
- else if (child && child->inherits(TQLABEL_OBJECT_NAME_STRING))
+ else if (child && child->inherits("TQLabel"))
{
TQLabel* label = (TQLabel*)child;
if (label->pixmap())
@@ -269,7 +269,7 @@ TQString Instance::text(const TQString& widgetName)
TQObject* child = stringToWidget(widgetName);
if (kommanderWidget(child))
return kommanderWidget(child)->handleDCOP(DCOP::text);
- else if (child && child->inherits(TQLABEL_OBJECT_NAME_STRING))
+ else if (child && child->inherits("TQLabel"))
return ((TQLabel*)child)->text();
return TQString();
}
@@ -279,7 +279,7 @@ void Instance::setSelection(const TQString& widgetName, const TQString& text)
TQObject* child = stringToWidget(widgetName);
if (kommanderWidget(child))
kommanderWidget(child)->handleDCOP(DCOP::setSelection, text);
- else if (child && child->inherits(TQLABEL_OBJECT_NAME_STRING))
+ else if (child && child->inherits("TQLabel"))
((TQLabel*)child)->setText(text);
}
@@ -426,7 +426,7 @@ TQStringList Instance::associatedText(const TQString &widgetName)
TQString Instance::type(const TQString& widget)
{
TQObject* child = stringToWidget(widget);
- if (child && child->inherits(TQWIDGET_OBJECT_NAME_STRING))
+ if (child && child->inherits("TQWidget"))
return child->className();
return TQString();
}
@@ -437,10 +437,10 @@ TQStringList Instance::children(const TQString& parent, bool recursive)
TQObject* child = stringToWidget(parent);
TQObjectList* widgets;
if (!child)
- child = TQT_TQOBJECT(m_instance);
- if (child->inherits(TQWIDGET_OBJECT_NAME_STRING))
+ child = m_instance;
+ if (child->inherits("TQWidget"))
{
- widgets = child->queryList(TQWIDGET_OBJECT_NAME_STRING, 0, false, recursive);
+ widgets = child->queryList("TQWidget", 0, false, recursive);
for (TQObject* w = widgets->first(); w; w = widgets->next())
if (w->name() && kommanderWidget(w))
matching.append(w->name());
@@ -606,7 +606,7 @@ void Instance::setGlobal(const TQString& variableName, const TQString& value)
TQObject* Instance::stringToWidget(const TQString& name)
{
- return m_instance->child(name);
+ return m_instance->child(name.utf8());
}
KommanderWidget* Instance::kommanderWidget(TQObject* object)
diff --git a/kommander/executor/instance.h b/kommander/executor/instance.h
index f7af3103..f93c90de 100644
--- a/kommander/executor/instance.h
+++ b/kommander/executor/instance.h
@@ -42,7 +42,7 @@ class KommanderWidget;
class Instance : public TQObject, virtual public DCOPKommanderIf
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kommander/executor/kmdr-executor.desktop b/kommander/executor/kmdr-executor.desktop
index 705c67f7..6a714063 100644
--- a/kommander/executor/kmdr-executor.desktop
+++ b/kommander/executor/kmdr-executor.desktop
@@ -1,81 +1,10 @@
[Desktop Entry]
+Name=Kommander Executor
+
+Comment=Executor for Kommander dialogs
+
Type=Application
Exec=kmdr-executor %F
Icon=kommander
-Comment=Executor for Kommander dialogs
-Comment[bg]=Изпълнение на диалогови прозорци
-Comment[ca]=Executor per a diàlegs de Kommander
-Comment[cs]=Spouštěč dialogů Kommanderu
-Comment[da]=Udfører Kommanders dialoger
-Comment[de]=Stellt Kommander-Dialoge dar
-Comment[el]=Εκτελεστής για διαλόγους Kommander
-Comment[en_GB]=Executor for Kommander dialogues
-Comment[es]=Lanzador de cuadros de diálogo de Kommander
-Comment[et]=Kommanderi dialoogide rakendaja
-Comment[eu]=Kommander-en elkarrizketen exekutatzailea
-Comment[fa]=مجری محاوره‌های Kommander
-Comment[fi]=Komentodialogien rakentaja
-Comment[fr]=Exécuteur de boîtes de dialogue de Kommander
-Comment[gl]=Executor para os diálogos de Kommander
-Comment[hi]=कमांडर संवादों हेतु कार्यपालक
-Comment[hu]=Megjelenítőprogram Kommander-párbeszédablakokhoz
-Comment[is]=Executor fyrir Kommander glugga
-Comment[it]=Esecutore per maschere di Kommander
-Comment[ja]=Kommander ダイアログ用の Executor
-Comment[ka]=Kommander-ის დიალოგის შემსრულებელნი
-Comment[lt]=Kommander dialogų vykdyklė
-Comment[ms]=Pelaksana untuk dialog Kommander
-Comment[nds]=Föhrt Kommander-Dialogen ut
-Comment[ne]=आदेश संवादका लागि निर्वाहक
-Comment[nl]=Kommander-dialogen uitvoeren
-Comment[pl]=Uruchamianie z okien dialogowych Kommandera
-Comment[pt]=Executor dos diálogos do Kommander
-Comment[pt_BR]=Executor para diálogos do Kommander
-Comment[ru]=Выполнение диалогов Kommander
-Comment[sk]=Spúštač pre Kommander dialógy
-Comment[sl]=Izvajalnik za pogovorna okna Kommanderja
-Comment[sr]=Извршавач за Kommander-ове дијалоге
-Comment[sr@Latn]=Izvršavač za Kommander-ove dijaloge
-Comment[sv]=Körning av Kommander-dialogrutor
-Comment[ta]=Kகட்டளை உரையாடல் நிகழ்த்துபவர்
-Comment[tg]=Иҷрокунанда барои диалогҳои Kommander
-Comment[tr]=Kommander diyalogları için çalıştırıcı
-Comment[uk]=Запускач для вікон Kommander
-Comment[zh_CN]=Kommander 对话框执行器
-Comment[zh_HK]=Kommander 對話盒的運行程式
-Comment[zh_TW]=Kommander 對話盒的運行程式
Terminal=false
-Name=Kommander Executor
-Name[br]=Aozer Kommander
-Name[ca]=Executor Kommander
-Name[cs]=Spouštěč Kommanderu
-Name[de]=Kommander-Exekutor
-Name[el]=Εκτελεστής Kommander
-Name[eu]=Kommander exekutatzailea
-Name[fa]=مجری Kommander
-Name[fi]=Komennon suorittaja
-Name[fr]=Exécuteur de Kommander
-Name[gl]=Executor de Kommander
-Name[hi]=कमांडर कार्यपालक
-Name[it]=Esecutore per Kommander
-Name[lt]=Kommander vykdyklė
-Name[ms]=Pelaksana Kommander
-Name[nds]=Kommander-Executor
-Name[ne]=आदेश निर्वाहक
-Name[nl]=Kommander Uitvoerder
-Name[pl]=Kommander: uruchamianie
-Name[pt]=Executor do Kommander
-Name[pt_BR]=Executor do Kommander
-Name[ru]=Kommander
-Name[sk]=Kommander spúštač
-Name[sl]=Izvajalnik Kommander
-Name[sr]=Kommander извршавач
-Name[sr@Latn]=Kommander izvršavač
-Name[ta]=Kகட்டளை நிகழ்த்துபவர்
-Name[tg]=Иҷрокунандаи Kommander
-Name[tr]=Kommander Çalıştırıcısı
-Name[uk]=Запускач Kommander
-Name[zh_CN]=Kommander 执行器
-Name[zh_HK]=Kommander 執行器
-Name[zh_TW]=Kommander 執行器
MimeType=application/x-kommander
diff --git a/kommander/executor/main.cpp b/kommander/executor/main.cpp
index ecd9bfac..f27ab90f 100644
--- a/kommander/executor/main.cpp
+++ b/kommander/executor/main.cpp
@@ -81,7 +81,7 @@ int main(int argc, char *argv[])
TDELocale::setMainCatalogue("kommander");
TDEApplication app;
- TQObject::connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()));
+ TQObject::connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit()));
if (!args->count())
{
KMessageBox::sorry(0, i18n("Error: no dialog given. Use --stdin option to read dialog from standard input.\n"));
diff --git a/kommander/factory/CMakeLists.txt b/kommander/factory/CMakeLists.txt
new file mode 100644
index 00000000..d33ff52e
--- /dev/null
+++ b/kommander/factory/CMakeLists.txt
@@ -0,0 +1,39 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_definitions( -DTQT_NO_SQL )
+
+
+##### kommanderfactory (static)
+
+tde_add_library( kommanderfactory STATIC_PIC AUTOMOC
+
+ SOURCES
+ kommanderfactory.cpp
+ domtool.cpp
+ LINK
+ kommanderplugin-shared
+)
+
+
+###### headers
+
+install(
+ FILES kommanderfactory.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
diff --git a/kommander/factory/domtool.cpp b/kommander/factory/domtool.cpp
index 56a98a69..587b4a24 100644
--- a/kommander/factory/domtool.cpp
+++ b/kommander/factory/domtool.cpp
@@ -169,7 +169,7 @@ TQVariant DomTool::elementToVariant( const TQDomElement& e, const TQVariant& def
if ( n.tagName() == "comment" )
comment = n.firstChild().toText().data();
} else if ( e.tagName() == "cstring" ) {
- v = TQVariant( TQCString( e.firstChild().toText().data() ) );
+ v = TQVariant( e.firstChild().toText().data().utf8() );
} else if ( e.tagName() == "number" ) {
bool ok = true;
v = TQVariant( e.firstChild().toText().data().toInt( &ok ) );
diff --git a/kommander/factory/kommanderfactory.cpp b/kommander/factory/kommanderfactory.cpp
index 81549438..f3cbb0e1 100644
--- a/kommander/factory/kommanderfactory.cpp
+++ b/kommander/factory/kommanderfactory.cpp
@@ -25,10 +25,6 @@
#include "kommanderfactory.h"
#include <kommanderplugin.h>
-#ifdef TQT_NO_SQL
-#define TQT_NO_SQL
-#endif // TQT_NO_SQL
-
#include <tqfeatures.h>
#include "config.h"
#ifndef TQT_NO_SQL
@@ -135,7 +131,7 @@ TQWidget *KommanderFactory::create( const TQString &uiFile, TQObject *connector,
if (!qwf_currFileName)
qwf_currFileName = new TQString();
*qwf_currFileName = uiFile;
- TQWidget *w = KommanderFactory::create( TQT_TQIODEVICE(&f), connector, parent, name );
+ TQWidget *w = KommanderFactory::create( &f, connector, parent, name );
if ( !qwf_forms )
qwf_forms = new TQMap<TQWidget*, TQString>;
qwf_forms->insert( w, uiFile );
@@ -217,7 +213,7 @@ TQWidget *KommanderFactory::create( TQIODevice *dev, TQObject *connector, TQWidg
if ( !imageCollection.isNull() )
widgetFactory->loadImageCollection( imageCollection );
- widgetFactory->createWidgetInternal( widget, parent, 0, widget.attribute("class", TQWIDGET_OBJECT_NAME_STRING) );
+ widgetFactory->createWidgetInternal( widget, parent, 0, widget.attribute("class", "TQWidget") );
TQWidget *w = widgetFactory->toplevel;
if ( !w ) {
delete widgetFactory;
@@ -266,7 +262,7 @@ TQWidget *KommanderFactory::create( TQIODevice *dev, TQObject *connector, TQWidg
}
for ( TQMap<TQString, TQStringList>::Iterator it = widgetFactory->dbTables.begin(); it != widgetFactory->dbTables.end(); ++it ) {
- TQDataTable *table = (TQDataTable*)widgetFactory->toplevel->child( it.key(), TQDATATABLE_OBJECT_NAME_STRING );
+ TQDataTable *table = (TQDataTable*)widgetFactory->toplevel->child( it.key(), "TQDataTable" );
if ( !table )
continue;
if ( widgetFactory->noDatabaseWidgets.find( table->name() ) != widgetFactory->noDatabaseWidgets.end() )
@@ -292,8 +288,8 @@ TQWidget *KommanderFactory::create( TQIODevice *dev, TQObject *connector, TQWidg
}
for ( TQMap<TQString, TQString>::Iterator it = widgetFactory->buddies.begin(); it != widgetFactory->buddies.end(); ++it ) {
- TQLabel *label = (TQLabel*)widgetFactory->toplevel->child( it.key(), TQLABEL_OBJECT_NAME_STRING );
- TQWidget *buddy = (TQWidget*)widgetFactory->toplevel->child( *it, TQWIDGET_OBJECT_NAME_STRING );
+ TQLabel *label = (TQLabel*)widgetFactory->toplevel->child( it.key().utf8(), "TQLabel" );
+ TQWidget *buddy = (TQWidget*)widgetFactory->toplevel->child( (*it).utf8(), "TQWidget" );
if ( label && buddy )
label->setBuddy( buddy );
}
@@ -315,77 +311,77 @@ TQWidget *KommanderFactory::createWidget( const TQString &literalClassName, TQWi
TQString className = literalClassName;
// create widgets we know
- if (className == TQPUSHBUTTON_OBJECT_NAME_STRING)
+ if (className == "TQPushButton")
return new TQPushButton(parent, name);
- else if (className == TQTOOLBUTTON_OBJECT_NAME_STRING)
+ else if (className == "TQToolButton")
return new TQToolButton(parent, name);
- else if (className == TQCHECKBOX_OBJECT_NAME_STRING)
+ else if (className == "TQCheckBox")
return new TQCheckBox(parent, name);
- else if (className == TQRADIOBUTTON_OBJECT_NAME_STRING)
+ else if (className == "TQRadioButton")
return new TQRadioButton(parent, name);
- else if (className == TQGROUPBOX_OBJECT_NAME_STRING)
+ else if (className == "TQGroupBox")
return new TQGroupBox(parent, name);
- else if (className == TQBUTTONGROUP_OBJECT_NAME_STRING)
+ else if (className == "TQButtonGroup")
return new TQButtonGroup(parent, name);
- else if (className == TQICONVIEW_OBJECT_NAME_STRING)
+ else if (className == "TQIconView")
{
#if !defined(TQT_NO_ICONVIEW)
return new TQIconView(parent, name);
#endif
}
- else if (className == TQTABLE_OBJECT_NAME_STRING)
+ else if (className == "TQTable")
{
#if !defined(TQT_NO_TABLE)
return new TQTable(parent, name);
#endif
}
- else if (className == TQLISTBOX_OBJECT_NAME_STRING)
+ else if (className == "TQListBox")
return new TQListBox(parent, name);
- else if (className == TQLISTVIEW_OBJECT_NAME_STRING)
+ else if (className == "TQListView")
return new TQListView(parent, name);
- else if (className == TQLINEEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQLineEdit")
return new TQLineEdit(parent, name);
- else if (className == TQSPINBOX_OBJECT_NAME_STRING)
+ else if (className == "TQSpinBox")
return new TQSpinBox(parent, name);
- else if (className == TQMULTILINEEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQMultiLineEdit")
return new TQMultiLineEdit(parent, name);
- else if (className == TQLABEL_OBJECT_NAME_STRING)
+ else if (className == "TQLabel")
return new TQLabel(parent, name);
- else if (className == TQLAYOUTWIDGET_OBJECT_NAME_STRING)
+ else if (className == "TQLayoutWidget")
return new TQWidget(parent, name);
- else if (className == TQTABWIDGET_OBJECT_NAME_STRING)
+ else if (className == "TQTabWidget")
return new TQTabWidget(parent, name);
- else if (className == TQCOMBOBOX_OBJECT_NAME_STRING)
+ else if (className == "TQComboBox")
return new TQComboBox(false, parent, name);
- else if (className == TQWIDGET_OBJECT_NAME_STRING)
+ else if (className == "TQWidget")
{
if (!qwf_stays_on_top)
return new TQWidget(parent, name);
return new TQWidget(parent, name, TQt::WStyle_StaysOnTop);
}
- else if (className == TQDIALOG_OBJECT_NAME_STRING)
+ else if (className == "TQDialog")
{
if (!qwf_stays_on_top)
return new TQDialog(parent, name);
return new TQDialog(parent, name, false, TQt::WStyle_StaysOnTop);
}
- else if (className == TQWIZARD_OBJECT_NAME_STRING)
+ else if (className == "TQWizard")
return new TQWizard(parent, name);
- else if (className == TQLCDNUMBER_OBJECT_NAME_STRING)
+ else if (className == "TQLCDNumber")
return new TQLCDNumber(parent, name);
- else if (className == TQPROGRESSBAR_OBJECT_NAME_STRING)
+ else if (className == "TQProgressBar")
return new TQProgressBar(parent, name);
- else if (className == TQTEXTVIEW_OBJECT_NAME_STRING)
+ else if (className == "TQTextView")
return new TQTextView(parent, name);
- else if (className == TQTEXTBROWSER_OBJECT_NAME_STRING)
+ else if (className == "TQTextBrowser")
return new TQTextBrowser(parent, name);
- else if (className == TQDIAL_OBJECT_NAME_STRING)
+ else if (className == "TQDial")
return new TQDial(parent, name);
- else if (className == TQSLIDER_OBJECT_NAME_STRING)
+ else if (className == "TQSlider")
return new TQSlider(parent, name);
- else if (className == TQFRAME_OBJECT_NAME_STRING)
+ else if (className == "TQFrame")
return new TQFrame(parent, name);
- else if (className == TQSPLITTER_OBJECT_NAME_STRING)
+ else if (className == "TQSplitter")
return new TQSplitter(parent, name);
else if (className == "Line")
{
@@ -393,21 +389,21 @@ TQWidget *KommanderFactory::createWidget( const TQString &literalClassName, TQWi
f->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
return f;
}
- else if (className == TQTEXTEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQTextEdit")
return new TQTextEdit(parent, name);
- else if (className == TQDATEEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQDateEdit")
return new TQDateEdit(parent, name);
- else if (className == TQTIMEEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQTimeEdit")
return new TQTimeEdit(parent, name);
- else if (className == TQDATETIMEEDIT_OBJECT_NAME_STRING)
+ else if (className == "TQDateTimeEdit")
return new TQDateTimeEdit(parent, name);
- else if (className == TQSCROLLBAR_OBJECT_NAME_STRING)
+ else if (className == "TQScrollBar")
return new TQScrollBar(parent, name);
- else if (className == TQPOPUPMENU_OBJECT_NAME_STRING)
+ else if (className == "TQPopupMenu")
return new TQPopupMenu(parent, name);
- else if (className == TQWIDGETSTACK_OBJECT_NAME_STRING)
+ else if (className == "TQWidgetStack")
return new TQWidgetStack(parent, name);
- else if (className == TQMAINWINDOW_OBJECT_NAME_STRING)
+ else if (className == "TQMainWindow")
{
TQMainWindow *mw = 0;
if (!qwf_stays_on_top)
@@ -420,11 +416,11 @@ TQWidget *KommanderFactory::createWidget( const TQString &literalClassName, TQWi
return mw;
}
#if !defined(TQT_NO_SQL)
- else if (className == TQDATATABLE_OBJECT_NAME_STRING)
+ else if (className == "TQDataTable")
return new TQDataTable(parent, name);
- else if (className == TQDATABROWSER_OBJECT_NAME_STRING)
+ else if (className == "TQDataBrowser")
return new QDesignerDataBrowser2(parent, name);
- else if (className == TQDATAVIEW_OBJECT_NAME_STRING)
+ else if (className == "TQDataView")
return new QDesignerDataView2(parent, name);
#endif
@@ -515,13 +511,13 @@ TQWidget *KommanderFactory::createWidgetInternal( const TQDomElement &e, TQWidge
if ( colspan < 1 )
colspan = 1;
if ( !className.isEmpty() ) {
- if ( !layout && className == TQLAYOUTWIDGET_OBJECT_NAME_STRING )
- className = TQWIDGET_OBJECT_NAME_STRING;
- if ( layout && className == TQLAYOUTWIDGET_OBJECT_NAME_STRING ) {
+ if ( !layout && className == "TQLayoutWidget" )
+ className = "TQWidget";
+ if ( layout && className == "TQLayoutWidget" ) {
// hide layout widgets
w = parent;
} else {
- obj = TQT_TQOBJECT(KommanderFactory::createWidget( className, parent, 0 ));
+ obj = KommanderFactory::createWidget( className, parent, 0 );
if ( !obj )
{
return 0;
@@ -529,7 +525,7 @@ TQWidget *KommanderFactory::createWidgetInternal( const TQDomElement &e, TQWidge
w = (TQWidget*)obj;
if ( !toplevel )
toplevel = w;
- if ( w->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) )
+ if ( w->inherits( "TQMainWindow" ) )
w = ( (TQMainWindow*)w )->centralWidget();
if ( layout ) {
switch( layoutType( layout ) ) {
@@ -559,39 +555,39 @@ TQWidget *KommanderFactory::createWidgetInternal( const TQDomElement &e, TQWidge
createSpacer( n, layout );
} else if ( n.tagName() == "widget" ) {
TQMap< TQString, TQString> *oldDbControls = dbControls;
- createWidgetInternal( n, w, layout, n.attribute( "class", TQWIDGET_OBJECT_NAME_STRING ) );
+ createWidgetInternal( n, w, layout, n.attribute( "class", "TQWidget" ) );
dbControls = oldDbControls;
} else if ( n.tagName() == "hbox" ) {
TQLayout *parentLayout = layout;
- if ( layout && layout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ if ( layout && layout->inherits( "TQGridLayout" ) )
layout = createLayout( 0, 0, KommanderFactory::HBox );
else
layout = createLayout( w, layout, KommanderFactory::HBox );
- obj = TQT_TQOBJECT(layout);
+ obj = layout;
n = n.firstChild().toElement();
- if ( parentLayout && parentLayout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ if ( parentLayout && parentLayout->inherits( "TQGridLayout" ) )
( (TQGridLayout*)parentLayout )->addMultiCellLayout( layout, row, row + rowspan - 1, col, col + colspan - 1 );
continue;
} else if ( n.tagName() == "grid" ) {
TQLayout *parentLayout = layout;
- if ( layout && layout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ if ( layout && layout->inherits( "TQGridLayout" ) )
layout = createLayout( 0, 0, KommanderFactory::Grid );
else
layout = createLayout( w, layout, KommanderFactory::Grid );
- obj = TQT_TQOBJECT(layout);
+ obj = layout;
n = n.firstChild().toElement();
- if ( parentLayout && parentLayout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ if ( parentLayout && parentLayout->inherits( "TQGridLayout" ) )
( (TQGridLayout*)parentLayout )->addMultiCellLayout( layout, row, row + rowspan - 1, col, col + colspan - 1 );
continue;
} else if ( n.tagName() == "vbox" ) {
TQLayout *parentLayout = layout;
- if ( layout && layout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ if ( layout && layout->inherits( "TQGridLayout" ) )
layout = createLayout( 0, 0, KommanderFactory::VBox );
else
layout = createLayout( w, layout, KommanderFactory::VBox );
- obj = TQT_TQOBJECT(layout);
+ obj = layout;
n = n.firstChild().toElement();
- if ( parentLayout && parentLayout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ if ( parentLayout && parentLayout->inherits( "TQGridLayout" ) )
( (TQGridLayout*)parentLayout )->addMultiCellLayout( layout, row, row + rowspan - 1, col, col + colspan - 1 );
continue;
} else if ( n.tagName() == "property" && obj ) {
@@ -599,14 +595,14 @@ TQWidget *KommanderFactory::createWidgetInternal( const TQDomElement &e, TQWidge
} else if ( n.tagName() == "attribute" && w ) {
TQString attrib = n.attribute( "name" );
TQVariant v = DomTool::elementToVariant( n.firstChild().toElement(), TQVariant() );
- if ( parent->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) ) {
+ if ( parent->inherits( "TQTabWidget" ) ) {
if ( attrib == "title" )
( (TQTabWidget*)parent )->insertTab( w, translate(v.toString()) );
} else
- if ( parent->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) ) {
+ if ( parent->inherits( "TQToolBox" ) ) {
if ( attrib == "label" )
( (TQToolBox*)parent )->addItem( w, translate(v.toString()) );
- }else if ( parent->inherits( TQWIZARD_OBJECT_NAME_STRING ) ) {
+ }else if ( parent->inherits( "TQWizard" ) ) {
if ( attrib == "title" )
( (TQWizard*)parent )->addPage( w, translate(v.toString()) );
}
@@ -627,20 +623,20 @@ TQLayout *KommanderFactory::createLayout( TQWidget *widget, TQLayout* layout, L
int spacing = defSpacing;
int margin = defMargin;
- if ( !layout && widget && widget->inherits( TQTABWIDGET_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQTabWidget" ) )
widget = ((TQTabWidget*)widget)->currentPage();
- if ( !layout && widget && widget->inherits( TQTOOLBOX_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQToolBox" ) )
widget = ((TQToolBox*)widget)->currentItem();
- if ( !layout && widget && widget->inherits( TQWIZARD_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQWizard" ) )
widget = ((TQWizard*)widget)->currentPage();
- if ( !layout && widget && widget->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) )
+ if ( !layout && widget && widget->inherits( "TQWidgetStack" ) )
widget = ((TQWidgetStack*)widget)->visibleWidget();
- if ( !layout && widget && widget->inherits( TQGROUPBOX_OBJECT_NAME_STRING ) ) {
+ if ( !layout && widget && widget->inherits( "TQGroupBox" ) ) {
TQGroupBox *gb = (TQGroupBox*)widget;
- gb->setColumnLayout( 0, Qt::Vertical );
+ gb->setColumnLayout( 0, TQt::Vertical );
gb->layout()->setMargin( 0 );
gb->layout()->setSpacing( 0 );
TQLayout *l;
@@ -717,18 +713,18 @@ TQLayout *KommanderFactory::createLayout( TQWidget *widget, TQLayout* layout, L
KommanderFactory::LayoutType KommanderFactory::layoutType( TQLayout *layout ) const
{
- if ( layout->inherits( TQHBOXLAYOUT_OBJECT_NAME_STRING ) )
+ if ( layout->inherits( "TQHBoxLayout" ) )
return HBox;
- else if ( layout->inherits( TQVBOXLAYOUT_OBJECT_NAME_STRING ) )
+ else if ( layout->inherits( "TQVBoxLayout" ) )
return VBox;
- else if ( layout->inherits( TQGRIDLAYOUT_OBJECT_NAME_STRING ) )
+ else if ( layout->inherits( "TQGridLayout" ) )
return Grid;
return NoLayout;
}
void KommanderFactory::setProperty( TQObject* obj, const TQString &prop, const TQDomElement &e )
{
- const TQMetaProperty *p = obj->metaObject()->property( obj->metaObject()->findProperty( prop, true ), true );
+ const TQMetaProperty *p = obj->metaObject()->property( obj->metaObject()->findProperty( prop.latin1(), true ), true );
TQVariant defVariant;
if ( e.tagName() == "font" ) {
@@ -767,8 +763,8 @@ void KommanderFactory::setProperty( TQObject* obj, const TQString &prop, const T
TQWhatsThis::add( (TQWidget*)obj, translate(v.toString()) );
}
#ifndef TQT_NO_SQL
- if ( prop == "database" && !obj->inherits( TQDATAVIEW_OBJECT_NAME_STRING )
- && !obj->inherits( TQDATABROWSER_OBJECT_NAME_STRING ) ) {
+ if ( prop == "database" && !obj->inherits( "TQDataView" )
+ && !obj->inherits( "TQDataBrowser" ) ) {
TQStringList lst = DomTool::elementToVariant( e, TQVariant( TQStringList() ) ).toStringList();
if ( lst.count() > 2 ) {
if ( dbControls )
@@ -778,7 +774,7 @@ void KommanderFactory::setProperty( TQObject* obj, const TQString &prop, const T
}
} else if ( prop == "database" ) {
TQStringList lst = DomTool::elementToVariant( e, TQVariant( TQStringList() ) ).toStringList();
- if ( lst.count() == 2 && obj->inherits( TQWIDGET_OBJECT_NAME_STRING ) ) {
+ if ( lst.count() == 2 && obj->inherits( "TQWidget" ) ) {
SqlWidgetConnection conn( lst[ 0 ], lst[ 1 ] );
sqlWidgetConnections.insert( (TQWidget*)obj, conn );
dbControls = conn.dbControls;
@@ -792,7 +788,7 @@ void KommanderFactory::setProperty( TQObject* obj, const TQString &prop, const T
noDatabaseWidgets << obj->name();
}
} else if ( prop == "buttonGroupId" ) {
- if ( obj->inherits( TQBUTTON_OBJECT_NAME_STRING ) && obj->parent()->inherits( TQBUTTONGROUP_OBJECT_NAME_STRING ) )
+ if ( obj->inherits( "TQButton" ) && obj->parent()->inherits( "TQButtonGroup" ) )
( (TQButtonGroup*)obj->parent() )->insert( (TQButton*)obj, v.toInt() );
}
@@ -820,24 +816,24 @@ void KommanderFactory::setProperty( TQObject* obj, const TQString &prop, const T
v = TQPalette( p );
} else if ( e.tagName() == "enum" && p && p->isEnumType() ) {
TQString key( v.toString() );
- v = TQVariant( p->keyToValue( key ) );
+ v = TQVariant( p->keyToValue( key.utf8() ) );
} else if ( e.tagName() == "set" && p && p->isSetType() ) {
TQString keys( v.toString() );
TQStringList lst = TQStringList::split( '|', keys );
TQStrList l;
for ( TQStringList::Iterator it = lst.begin(); it != lst.end(); ++it )
- l.append( *it );
+ l.append( (*it).utf8() );
v = TQVariant( p->keysToValue( l ) );
}
if ( prop == "geometry" ) {
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(toplevel) ) {
+ if ( obj == toplevel ) {
toplevel->resize( v.toRect().size() );
return;
}
}
- obj->setProperty( prop, v );
+ obj->setProperty( prop.latin1(), v );
}
void KommanderFactory::createSpacer( const TQDomElement &e, TQLayout *layout )
@@ -848,7 +844,7 @@ void KommanderFactory::createSpacer( const TQDomElement &e, TQLayout *layout )
int rowspan = e.attribute( "rowspan" ).toInt();
int colspan = e.attribute( "colspan" ).toInt();
- Qt::Orientation orient = Qt::Horizontal;
+ TQt::Orientation orient = TQt::Horizontal;
int w = 0, h = 0;
TQSizePolicy::SizeType sizeType = TQSizePolicy::Preferred;
while ( !n.isNull() ) {
@@ -856,9 +852,9 @@ void KommanderFactory::createSpacer( const TQDomElement &e, TQLayout *layout )
TQString prop = n.attribute( "name" );
if ( prop == "orientation" ) {
if ( n.firstChild().firstChild().toText().data() == "Horizontal" )
- orient = Qt::Horizontal;
+ orient = TQt::Horizontal;
else
- orient = Qt::Vertical;
+ orient = TQt::Vertical;
} else if ( prop == "sizeType" ) {
if ( n.firstChild().firstChild().toText().data() == "Fixed" )
sizeType = TQSizePolicy::Fixed;
@@ -884,14 +880,14 @@ void KommanderFactory::createSpacer( const TQDomElement &e, TQLayout *layout )
rowspan = 1;
if ( colspan < 1 )
colspan = 1;
- TQSpacerItem *item = new TQSpacerItem( w, h, orient == Qt::Horizontal ? sizeType : TQSizePolicy::Minimum,
- orient == Qt::Vertical ? sizeType : TQSizePolicy::Minimum );
+ TQSpacerItem *item = new TQSpacerItem( w, h, orient == TQt::Horizontal ? sizeType : TQSizePolicy::Minimum,
+ orient == TQt::Vertical ? sizeType : TQSizePolicy::Minimum );
if ( layout ) {
- if ( layout->inherits( TQBOXLAYOUT_OBJECT_NAME_STRING ) )
+ if ( layout->inherits( "TQBoxLayout" ) )
( (TQBoxLayout*)layout )->addItem( item );
else
( (TQGridLayout*)layout )->addMultiCell( item, row, row + rowspan - 1, col, col + colspan - 1,
- orient == Qt::Horizontal ? TQt::AlignVCenter : TQt::AlignHCenter );
+ orient == TQt::Horizontal ? TQt::AlignVCenter : TQt::AlignHCenter );
}
}
@@ -924,7 +920,7 @@ static TQImage loadImageData( TQDomElement &n2 )
::uncompress( (uchar*) baunzip.data(), &len, (uchar*) ba, data.length()/2 );
img.loadFromData( (const uchar*)baunzip.data(), len, "XPM" );
} else {
- img.loadFromData( (const uchar*)ba, data.length() / 2, format );
+ img.loadFromData( (const uchar*)ba, data.length() / 2, format.utf8() );
}
delete [] ba;
@@ -1025,12 +1021,12 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
while ( !n2.isNull() ) {
if ( n2.tagName() == "sender" ) {
TQString name = n2.firstChild().toText().data();
- if ( name == "this" || qstrcmp( toplevel->name(), name ) == 0 ) {
- conn.sender = TQT_TQOBJECT(toplevel);
+ if ( name == "this" || name == toplevel->name() ) {
+ conn.sender = toplevel;
} else {
if ( name == "this" )
name = toplevel->name();
- TQObjectList *l = toplevel->queryList( 0, name, false );
+ TQObjectList *l = toplevel->queryList( 0, name.utf8(), false );
if ( l ) {
if ( l->first() )
conn.sender = l->first();
@@ -1040,13 +1036,13 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
if ( !conn.sender )
conn.sender = findAction( name );
} else if ( n2.tagName() == "signal" ) {
- conn.signal = n2.firstChild().toText().data();
+ conn.signal = n2.firstChild().toText().data().utf8();
} else if ( n2.tagName() == "receiver" ) {
TQString name = n2.firstChild().toText().data();
- if ( name == "this" || qstrcmp( toplevel->name(), name ) == 0 ) {
- conn.receiver = TQT_TQOBJECT(toplevel);
+ if ( name == "this" || name == toplevel->name() ) {
+ conn.receiver = toplevel;
} else {
- TQObjectList *l = toplevel->queryList( 0, name, false );
+ TQObjectList *l = toplevel->queryList( 0, name.utf8(), false );
if ( l ) {
if ( l->first() )
conn.receiver = l->first();
@@ -1054,7 +1050,7 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
}
}
} else if ( n2.tagName() == "slot" ) {
- conn.slot = n2.firstChild().toText().data();
+ conn.slot = n2.firstChild().toText().data().utf8();
}
n2 = n2.nextSibling().toElement();
}
@@ -1065,7 +1061,7 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
TQObject *sender = 0, *receiver = 0;
TQObjectList *l = toplevel->queryList( 0, conn.sender->name(), false );
if ( qstrcmp( conn.sender->name(), toplevel->name() ) == 0 ) {
- sender = TQT_TQOBJECT(toplevel);
+ sender = toplevel;
} else {
if ( !l || !l->first() ) {
delete l;
@@ -1079,7 +1075,7 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
sender = findAction( conn.sender->name() );
if ( qstrcmp( conn.receiver->name(), toplevel->name() ) == 0 ) {
- receiver = TQT_TQOBJECT(toplevel);
+ receiver = toplevel;
} else {
l = toplevel->queryList( 0, conn.receiver->name(), false );
if ( !l || !l->first() ) {
@@ -1101,7 +1097,7 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
TQStrList slotList = receiver->metaObject()->slotNames( true );
// if this is a connection to a custom slot and we have a connector, try this as receiver
- if ( slotList.find( conn.slot ) == -1 && TQT_BASE_OBJECT(receiver) == TQT_BASE_OBJECT(toplevel) && connector ) {
+ if ( slotList.find( conn.slot ) == -1 && receiver == toplevel && connector ) {
slotList = connector->metaObject()->slotNames( true );
receiver = connector;
}
@@ -1112,7 +1108,7 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
n = n.nextSibling().toElement();
continue;
}
- TQObject::connect( sender, s, receiver, s2 );
+ TQObject::connect( sender, s.utf8(), receiver, s2.utf8() );
} else {
EventFunction ef = eventMap[ conn.sender ];
ef.events.append( conn.signal );
@@ -1134,7 +1130,7 @@ void KommanderFactory::loadTabOrder( const TQDomElement &e )
while ( !n.isNull() ) {
if ( n.tagName() == "tabstop" ) {
TQString name = n.firstChild().toText().data();
- TQObjectList *l = toplevel->queryList( 0, name, false );
+ TQObjectList *l = toplevel->queryList( 0, name.utf8(), false );
if ( l ) {
if ( l->first() ) {
TQWidget *w = (TQWidget*)l->first();
@@ -1151,7 +1147,7 @@ void KommanderFactory::loadTabOrder( const TQDomElement &e )
void KommanderFactory::createColumn( const TQDomElement &e, TQWidget *widget )
{
- if ( widget->inherits( TQLISTVIEW_OBJECT_NAME_STRING ) && e.tagName() == "column" ) {
+ if ( widget->inherits( "TQListView" ) && e.tagName() == "column" ) {
TQListView *lv = (TQListView*)widget;
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
@@ -1185,10 +1181,10 @@ void KommanderFactory::createColumn( const TQDomElement &e, TQWidget *widget )
lv->header()->setResizeEnabled( resizeable, i );
}
#ifndef TQT_NO_TABLE
- else if ( widget->inherits( TQTABLE_OBJECT_NAME_STRING ) ) {
+ else if ( widget->inherits( "TQTable" ) ) {
TQTable *table = (TQTable*)widget;
#ifndef TQT_NO_SQL
- bool isSql = (widget->inherits( TQDATATABLE_OBJECT_NAME_STRING ));
+ bool isSql = (widget->inherits( "TQDataTable" ));
#endif
bool isRow;
if ( ( isRow = e.tagName() == "row" ) )
@@ -1273,14 +1269,14 @@ void KommanderFactory::loadItem( const TQDomElement &e, TQPixmap &pix, TQString
void KommanderFactory::createItem( const TQDomElement &e, TQWidget *widget, TQListViewItem *i )
{
- if ( widget->inherits( TQLISTBOX_OBJECT_NAME_STRING ) || widget->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) {
+ if ( widget->inherits( "TQListBox" ) || widget->inherits( "TQComboBox" ) ) {
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
bool hasPixmap = false;
TQString txt;
loadItem( n, pix, txt, hasPixmap );
TQListBox *lb = 0;
- if ( widget->inherits( TQLISTBOX_OBJECT_NAME_STRING ) )
+ if ( widget->inherits( "TQListBox" ) )
lb = (TQListBox*)widget;
else
lb = ( (TQComboBox*)widget)->listBox();
@@ -1290,7 +1286,7 @@ void KommanderFactory::createItem( const TQDomElement &e, TQWidget *widget, TQLi
new TQListBoxText( lb, txt );
}
#ifndef TQT_NO_ICONVIEW
- } else if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) ) {
+ } else if ( widget->inherits( "TQIconView" ) ) {
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
bool hasPixmap = false;
@@ -1300,7 +1296,7 @@ void KommanderFactory::createItem( const TQDomElement &e, TQWidget *widget, TQLi
TQIconView *iv = (TQIconView*)widget;
new TQIconViewItem( iv, txt, pix );
#endif
- } else if ( widget->inherits( TQLISTVIEW_OBJECT_NAME_STRING ) ) {
+ } else if ( widget->inherits( "TQListView" ) ) {
TQDomElement n = e.firstChild().toElement();
TQPixmap pix;
TQValueList<TQPixmap> pixmaps;
@@ -1361,7 +1357,7 @@ void KommanderFactory::loadChildAction( TQObject *parent, const TQDomElement &e
}
n2 = n2.nextSibling().toElement();
}
- if ( !parent->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !parent->inherits( "TQAction" ) )
actionList.append( a );
} else if ( n.tagName() == "actiongroup" ) {
a = new TQActionGroup( parent );
@@ -1378,7 +1374,7 @@ void KommanderFactory::loadChildAction( TQObject *parent, const TQDomElement &e
}
n2 = n2.nextSibling().toElement();
}
- if ( !parent->inherits( TQACTION_OBJECT_NAME_STRING ) )
+ if ( !parent->inherits( "TQAction" ) )
actionList.append( a );
}
if ( a )
@@ -1390,9 +1386,9 @@ void KommanderFactory::loadActions( const TQDomElement &e )
TQDomElement n = e.firstChild().toElement();
while ( !n.isNull() ) {
if ( n.tagName() == "action" ) {
- loadChildAction( TQT_TQOBJECT(toplevel), n );
+ loadChildAction( toplevel, n );
} else if ( n.tagName() == "actiongroup" ) {
- loadChildAction( TQT_TQOBJECT(toplevel), n );
+ loadChildAction( toplevel, n );
}
n = n.nextSibling().toElement();
}
@@ -1408,7 +1404,7 @@ void KommanderFactory::loadToolBars( const TQDomElement &e )
TQt::Dock dock = (TQt::Dock)n.attribute( "dock" ).toInt();
tb = new TQToolBar( TQString(), mw, dock );
tb->setLabel( n.attribute( "label" ) );
- tb->setName( n.attribute( "name" ) );
+ tb->setName( n.attribute( "name" ).utf8() );
TQDomElement n2 = n.firstChild().toElement();
while ( !n2.isNull() ) {
if ( n2.tagName() == "action" ) {
@@ -1418,9 +1414,9 @@ void KommanderFactory::loadToolBars( const TQDomElement &e )
} else if ( n2.tagName() == "separator" ) {
tb->addSeparator();
} else if ( n2.tagName() == "widget" ) {
- (void)createWidgetInternal( n2, tb, 0, n2.attribute( "class", TQWIDGET_OBJECT_NAME_STRING ) );
+ (void)createWidgetInternal( n2, tb, 0, n2.attribute( "class", "TQWidget" ) );
} else if ( n2.tagName() == "property" ) {
- setProperty( TQT_TQOBJECT(tb), n2.attribute( "name" ), n2.firstChild().toElement() );
+ setProperty( tb, n2.attribute( "name" ), n2.firstChild().toElement() );
}
n2 = n2.nextSibling().toElement();
}
@@ -1437,7 +1433,7 @@ void KommanderFactory::loadMenuBar( const TQDomElement &e )
while ( !n.isNull() ) {
if ( n.tagName() == "item" ) {
TQPopupMenu *popup = new TQPopupMenu( mw );
- popup->setName( n.attribute( "name" ) );
+ popup->setName( n.attribute( "name" ).utf8() );
TQDomElement n2 = n.firstChild().toElement();
while ( !n2.isNull() ) {
if ( n2.tagName() == "action" ) {
@@ -1451,7 +1447,7 @@ void KommanderFactory::loadMenuBar( const TQDomElement &e )
}
mb->insertItem( translate( n.attribute( "text" ) ), popup );
} else if ( n.tagName() == "property" ) {
- setProperty( TQT_TQOBJECT(mb), n.attribute( "name" ), n.firstChild().toElement() );
+ setProperty( mb, n.attribute( "name" ), n.firstChild().toElement() );
}
n = n.nextSibling().toElement();
}
@@ -1463,7 +1459,7 @@ TQAction *KommanderFactory::findAction( const TQString &name )
for ( TQAction *a = actionList.first(); a; a = actionList.next() ) {
if ( TQString( a->name() ) == name )
return a;
- TQAction *ac = (TQAction*)a->child( name.latin1(), TQACTION_OBJECT_NAME_STRING );
+ TQAction *ac = (TQAction*)a->child( name.latin1(), "TQAction" );
if ( ac )
return ac;
}
diff --git a/kommander/icons/CMakeLists.txt b/kommander/icons/CMakeLists.txt
new file mode 100644
index 00000000..a0a4d713
--- /dev/null
+++ b/kommander/icons/CMakeLists.txt
@@ -0,0 +1,9 @@
+##### icons
+
+tde_install_icons( kommander )
+
+install(
+ FILES hi22-action-arrow.png
+ DESTINATION ${DATA_INSTALL_DIR}/kommander/icons/hicolor/22x22/actions
+ RENAME arrow.png
+)
diff --git a/kommander/kmdrtools/CMakeLists.txt b/kommander/kmdrtools/CMakeLists.txt
new file mode 100644
index 00000000..12f913d5
--- /dev/null
+++ b/kommander/kmdrtools/CMakeLists.txt
@@ -0,0 +1,7 @@
+##### other data
+
+install(
+ FILES dcoptool-oldparser.kmdr examples.kmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor
+)
+
diff --git a/kommander/kmdrtools/dcoptool-oldparser.kmdr b/kommander/kmdrtools/dcoptool-oldparser.kmdr
index f4d758ca..d3a00bc7 100644
--- a/kommander/kmdrtools/dcoptool-oldparser.kmdr
+++ b/kommander/kmdrtools/dcoptool-oldparser.kmdr
@@ -30,98 +30,98 @@
@TextParam4.setVisible(false)
@param4.setVisible(false)
-@setGlobal(Array,"values(QString)
-keys(QString)
-clear(QString)
-count(QString)
-count(QString)
-remove(QString,QString)
-remove(QString,QString)
-fromString(QString,QString)
-toString(QString)
-toString(QString)
-toString(QString)
-toString(QString)
-toString(QString)")
+@setGlobal(Array,"values(TQString)
+keys(TQString)
+clear(TQString)
+count(TQString)
+count(TQString)
+remove(TQString,TQString)
+remove(TQString,TQString)
+fromString(TQString,TQString)
+toString(TQString)
+toString(TQString)
+toString(TQString)
+toString(TQString)
+toString(TQString)")
-@setGlobal(File,"read(QString)
-write(QString,QString)
-append(QString,QString)")
+@setGlobal(File,"read(TQString)
+write(TQString,TQString)
+append(TQString,TQString)")
-@setGlobal(Input,"text(QString,QString,QString)
-password(QString,QString)
-value(QString,QString,int,int,int,int)
-double(QString,QString,double,double,double,double)
-openfile(QString,QString,QString)
-savefile(QString,QString,QString)
-directory(QString,QString,QString)
-openfiles(QString,QString,QString)")
+@setGlobal(Input,"text(TQString,TQString,TQString)
+password(TQString,TQString)
+value(TQString,TQString,int,int,int,int)
+double(TQString,TQString,double,double,double,double)
+openfile(TQString,TQString,TQString)
+savefile(TQString,TQString,TQString)
+directory(TQString,TQString,TQString)
+openfiles(TQString,TQString,TQString)")
-@setGlobal(DCOP,"addUniqueItem(QString,QString)
-associatedText(QString)
-cellText(QString,int,int)
-checked(QString)
-children(QString,bool)
-clear(QString)
-count(QString)
-currentColumn(QString)
-currentItem(QString)
-currentRow(QString)
-execute(QString)
-findItem(QString,QString)
-insertColumn(QString,int,int)
-insertItem(QString,QString,int)
-insertItems(QString,QStringList,int)
-insertRow(QString,int,int)
-item(QString,int)
-itemDepth(QString,int)
-itemPath(QString,int)
-removeColumn(QString,int,int)
-removeItem(QString,int)
-removeRow(QString,int,int)
-selection(QString)
-setAssociatedText(QString,QString)
-setEnabled(QString,bool)
-setCellText(QString,int,int,QString)
-setCellWidget(QString,int,int,QString)
-cellWidget(QString,int,int)
-setChecked(QString,bool)
-setColumnCaption(QString,int,QString)
-setCurrentItem(QString,int)
-insertTab(QString,QString,int)
-setMaximum(QString,int)
-setPixmap(QString,QString,int)
-setRowCaption(QString,int,QString)
-setSelection(QString,QString)
-setText(QString,QString)
-setVisible(QString,bool)
-type(QString)
-setEditable(QString,bool)")
+@setGlobal(DCOP,"addUniqueItem(TQString,TQString)
+associatedText(TQString)
+cellText(TQString,int,int)
+checked(TQString)
+children(TQString,bool)
+clear(TQString)
+count(TQString)
+currentColumn(TQString)
+currentItem(TQString)
+currentRow(TQString)
+execute(TQString)
+findItem(TQString,TQString)
+insertColumn(TQString,int,int)
+insertItem(TQString,TQString,int)
+insertItems(TQString,QStringList,int)
+insertRow(TQString,int,int)
+item(TQString,int)
+itemDepth(TQString,int)
+itemPath(TQString,int)
+removeColumn(TQString,int,int)
+removeItem(TQString,int)
+removeRow(TQString,int,int)
+selection(TQString)
+setAssociatedText(TQString,TQString)
+setEnabled(TQString,bool)
+setCellText(TQString,int,int,TQString)
+setCellWidget(TQString,int,int,TQString)
+cellWidget(TQString,int,int)
+setChecked(TQString,bool)
+setColumnCaption(TQString,int,TQString)
+setCurrentItem(TQString,int)
+insertTab(TQString,TQString,int)
+setMaximum(TQString,int)
+setPixmap(TQString,TQString,int)
+setRowCaption(TQString,int,TQString)
+setSelection(TQString,TQString)
+setText(TQString,TQString)
+setVisible(TQString,bool)
+type(TQString)
+setEditable(TQString,bool)")
-@setGlobal(File,"read(QString)
-write(QString,QString)
-append(QString,QString)")
+@setGlobal(File,"read(TQString)
+write(TQString,TQString)
+append(TQString,TQString)")
@setGlobal(KommanderMessage,"")
-@setGlobal(String,"length(QString)
-contains(QString,QString)
-find(QString,QString,int)
-findRev(QString,QString,int)
-left(QString,int)
-right(QString,int)
-mid(QString,int,int)
-remove(QString,QString)
-replace(QString,QString,QString)
-upper(QString)
-lower(QString)
-compare(QString,QString)
-isEmpty(QString)
-isNumber(QString)
-section(QString,QString,int)
-args(QString,QString,QString,QString)
-args(QString,QString,QString,QString)
-args(QString,QString,QString,QString)")
+@setGlobal(String,"length(TQString)
+contains(TQString,TQString)
+find(TQString,TQString,int)
+findRev(TQString,TQString,int)
+left(TQString,int)
+right(TQString,int)
+mid(TQString,int,int)
+remove(TQString,TQString)
+replace(TQString,TQString,TQString)
+upper(TQString)
+lower(TQString)
+compare(TQString,TQString)
+isEmpty(TQString)
+isNumber(TQString)
+section(TQString,TQString,int)
+args(TQString,TQString,TQString,TQString)
+args(TQString,TQString,TQString,TQString)
+args(TQString,TQString,TQString,TQString)")
@functiongroup.setCurrentItem(1)
@@ -131,7 +131,7 @@ args(QString,QString,QString,QString)")
<string></string>
</stringlist>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout9</cstring>
</property>
@@ -224,7 +224,7 @@ args(QString,QString,QString,QString)")
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -247,7 +247,7 @@ args(QString,QString,QString,QString)")
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout10</cstring>
</property>
@@ -269,7 +269,7 @@ args(QString,QString,QString,QString)")
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -326,7 +326,7 @@ args(QString,QString,QString,QString)")
</widget>
</vbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout11</cstring>
</property>
@@ -578,7 +578,7 @@ fi
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -647,10 +647,10 @@ fi
@#@exec(kdialog --msgbox "@global(_KDDIR)\n")
@# dcop kmdr-executor-32730 KommanderIf children kmdr-executor-32730 1
@wname.clear
-@setGlobal(items,@dcop(@global(pdlg), KommanderIf, "children(QString,bool)", @global(pdlg), 1 ))
+@setGlobal(items,@dcop(@global(pdlg), KommanderIf, "children(TQString,bool)", @global(pdlg), 1 ))
@setGlobal(iwd,"")
@forEach(i, @global(items))
- @setGlobal(iwd, "@global(iwd)@i (@dcop(@global(pdlg), KommanderIf, "type(QString)", @i))\n")
+ @setGlobal(iwd, "@global(iwd)@i (@dcop(@global(pdlg), KommanderIf, "type(TQString)", @i))\n")
@end
@wname.insertItems(@global(iwd),0)</string>
</stringlist>
@@ -757,7 +757,7 @@ fi
<string>@##### put the following in @setfunction #########
@# set up dialog based on function
@switch(@functiongroup.selection::@proto.selection)
-@case(DCOP::addUniqueItem(QString,QString))
+@case(DCOP::addUniqueItem(TQString,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"item")
@setGlobal(PARM2,"")
@@ -765,7 +765,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,addUniqueItem)
@setGlobal(DESC,"Inserts the item if it will not create a duplicate.")
-@case(DCOP::associatedText(QString))
+@case(DCOP::associatedText(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -773,7 +773,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,associatedText)
@setGlobal(DESC,"Returns scripts associated with widget. This is an advanced feature that would not be commonly used.")
-@case(DCOP::cellText(QString,int,int))
+@case(DCOP::cellText(TQString,int,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"row")
@setGlobal(PARM2,"column")
@@ -781,7 +781,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,cellText)
@setGlobal(DESC,"Returns text of a cell in a table.")
-@case(DCOP::checked(QString))
+@case(DCOP::checked(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -789,7 +789,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,checked)
@setGlobal(DESC,"Returns 1 for checked boxes, 0 for unchecked.")
-@case(DCOP::children(QString,bool))
+@case(DCOP::children(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"recursive")
@setGlobal(PARM2,"")
@@ -797,7 +797,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,children)
@setGlobal(DESC,"Returns the list of child widgets contained in the parent widget. Set the &lt;i&gt;recursive&lt;/i&gt; parameter to &lt;i&gt;true&lt;/i&gt; to include widgets contained by child widgets.")
-@case(DCOP::clear(QString))
+@case(DCOP::clear(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -805,7 +805,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,clear)
@setGlobal(DESC,"Removes all content from the widget.")
-@case(DCOP::count(QString))
+@case(DCOP::count(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -813,7 +813,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,count)
@setGlobal(DESC,"Returns number of items in a widget such as combobox or listbox.")
-@case(DCOP::currentColumn(QString))
+@case(DCOP::currentColumn(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -821,7 +821,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,currentColumn)
@setGlobal(DESC,"Returns index of current column.")
-@case(DCOP::currentItem(QString))
+@case(DCOP::currentItem(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -829,7 +829,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,currentItem)
@setGlobal(DESC,"Returns index of current item.")
-@case(DCOP::currentRow(QString))
+@case(DCOP::currentRow(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -837,7 +837,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,currentRow)
@setGlobal(DESC,"Returns index of current row.")
-@case(DCOP::execute(QString))
+@case(DCOP::execute(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -845,7 +845,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,execute)
@setGlobal(DESC,"Executes the script associated with the widget. With the new parser the execute method can take one or more arguments.")
-@case(DCOP::findItem(QString,QString))
+@case(DCOP::findItem(TQString,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"item")
@setGlobal(PARM2,"")
@@ -853,7 +853,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,findItem)
@setGlobal(DESC,"Returns the index of an item with the given text.")
-@case(DCOP::insertColumn(QString,int,int))
+@case(DCOP::insertColumn(TQString,int,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"column")
@setGlobal(PARM2,"count")
@@ -861,7 +861,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,insertColumn)
@setGlobal(DESC,"Inserts new column &amp;#040;or &lt;i&gt;count&lt;/i&gt; columns&amp;#041; at &lt;i&gt;column&lt;/i&gt; position.")
-@case(DCOP::insertItem(QString,QString,int))
+@case(DCOP::insertItem(TQString,TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"item")
@setGlobal(PARM2,"index")
@@ -869,7 +869,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,insertItem)
@setGlobal(DESC,"Inserts item at &lt;i&gt;index&lt;/i&gt; position.")
-@case(DCOP::insertItems(QString,QStringList,int))
+@case(DCOP::insertItems(TQString,QStringList,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"items")
@setGlobal(PARM2,"index")
@@ -877,7 +877,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,insertItems)
@setGlobal(DESC,"Inserts multiple items &amp;#040;EOL-separated&amp;#041; at &lt;i&gt;index&lt;/i&gt; position.")
-@case(DCOP::insertRow(QString,int,int))
+@case(DCOP::insertRow(TQString,int,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"row")
@setGlobal(PARM2,"count")
@@ -885,7 +885,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,insertRow)
@setGlobal(DESC,"Inserts new row &amp;#040;or &lt;i&gt;count&lt;/i&gt; rows&amp;#041; at &lt;i&gt;row&lt;/i&gt; position.")
-@case(DCOP::item(QString,int))
+@case(DCOP::item(TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"index")
@setGlobal(PARM2,"")
@@ -893,7 +893,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,item)
@setGlobal(DESC,"Returns the text of the item at the given index.")
-@case(DCOP::itemDepth(QString,int))
+@case(DCOP::itemDepth(TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"index")
@setGlobal(PARM2,"")
@@ -901,7 +901,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,itemDepth)
@setGlobal(DESC,"Returns the depth of the current item in the tree. Root items have depth 0.")
-@case(DCOP::itemPath(QString,int))
+@case(DCOP::itemPath(TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"index")
@setGlobal(PARM2,"")
@@ -909,7 +909,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,itemPath)
@setGlobal(DESC,"Returns the slash-separated path to the given item in the tree.")
-@case(DCOP::removeColumn(QString,int,int))
+@case(DCOP::removeColumn(TQString,int,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"column")
@setGlobal(PARM2,"count")
@@ -917,7 +917,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,removeColumn)
@setGlobal(DESC,"Removes the column &amp;#040;or &lt;i&gt;count&lt;/i&gt; consecutive columns&amp;#041; with the given index.")
-@case(DCOP::removeItem(QString,int))
+@case(DCOP::removeItem(TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"index")
@setGlobal(PARM2,"")
@@ -925,7 +925,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,removeItem)
@setGlobal(DESC,"Removes the item with the given index.")
-@case(DCOP::removeRow(QString,int,int))
+@case(DCOP::removeRow(TQString,int,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"row")
@setGlobal(PARM2,"count")
@@ -933,7 +933,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,removeRow)
@setGlobal(DESC,"Removes the row &amp;#040;or &lt;i&gt;count&lt;/i&gt; consecutive rows&amp;#041; with the given index.")
-@case(DCOP::selection(QString))
+@case(DCOP::selection(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -941,7 +941,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,selection)
@setGlobal(DESC,"Returns selected text or text of current item.\nIn case of Table widgets, returns the selection coordinates, separated by commas in TopRow,LeftColumn,BottomRow,RightColumn form. ")
-@case(DCOP::setAssociatedText(QString,QString))
+@case(DCOP::setAssociatedText(TQString,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"")
@@ -949,7 +949,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setAssociatedText)
@setGlobal(DESC,"Sets scripts associated with widget. This is an advanced feature that would not be commonly used.")
-@case(DCOP::setEnabled(QString,bool))
+@case(DCOP::setEnabled(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"enabled")
@setGlobal(PARM2,"")
@@ -957,7 +957,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setEnabled)
@setGlobal(DESC,"Enables or disables widget.")
-@case(DCOP::setCellText(QString,int,int,QString))
+@case(DCOP::setCellText(TQString,int,int,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"row")
@setGlobal(PARM2,"col")
@@ -965,7 +965,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setCellText)
@setGlobal(DESC,"Sets text of a cell in a table.")
-@case(DCOP::setCellWidget(QString,int,int,QString))
+@case(DCOP::setCellWidget(TQString,int,int,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"row")
@setGlobal(PARM2,"col")
@@ -973,7 +973,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setCellWidget)
@setGlobal(DESC,"Inserts a widget into a cell of a table.")
-@case(DCOP::cellWidget(QString,int,int))
+@case(DCOP::cellWidget(TQString,int,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"row")
@setGlobal(PARM2,"col")
@@ -981,7 +981,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,cellWidget)
@setGlobal(DESC,"Returns the name of a widget inserted into a cell, or an empty string if the cell contains no widget or an unknown widget type.")
-@case(DCOP::setChecked(QString,bool))
+@case(DCOP::setChecked(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"checked")
@setGlobal(PARM2,"")
@@ -989,7 +989,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setChecked)
@setGlobal(DESC,"Sets/unsets checkbox.")
-@case(DCOP::setColumnCaption(QString,int,QString))
+@case(DCOP::setColumnCaption(TQString,int,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"column")
@setGlobal(PARM2,"text")
@@ -997,7 +997,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setColumnCaption)
@setGlobal(DESC,"Sets caption of the column &lt;i&gt;column&lt;/i&gt;.")
-@case(DCOP::setCurrentItem(QString,int))
+@case(DCOP::setCurrentItem(TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"index")
@setGlobal(PARM2,"")
@@ -1005,7 +1005,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setCurrentItem)
@setGlobal(DESC,"Selects the item at the specified index. Indexes are zero based.")
-@case(DCOP::insertTab(QString,QString,int))
+@case(DCOP::insertTab(TQString,TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"label")
@setGlobal(PARM2,"index")
@@ -1013,7 +1013,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,insertTab)
@setGlobal(DESC,"Inserts a tab to the tabwidget with the specified label at the given index. Indexes are zero based.")
-@case(DCOP::setMaximum(QString,int))
+@case(DCOP::setMaximum(TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"value")
@setGlobal(PARM2,"")
@@ -1021,7 +1021,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setMaximum)
@setGlobal(DESC,"Sets maximum numeric value")
-@case(DCOP::setPixmap(QString,QString,int))
+@case(DCOP::setPixmap(TQString,TQString,int))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"iconName")
@setGlobal(PARM2,"index")
@@ -1029,7 +1029,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setPixmap)
@setGlobal(DESC,"Sets pixmap at the given index to the specified icon. Use &lt;i&gt;index = -1&lt;/i&gt; to set the pixmap for all items.")
-@case(DCOP::setRowCaption(QString,int,QString))
+@case(DCOP::setRowCaption(TQString,int,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"row")
@setGlobal(PARM2,"text")
@@ -1037,7 +1037,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setRowCaption)
@setGlobal(DESC,"Sets caption of the row &lt;i&gt;row&lt;/i&gt;.")
-@case(DCOP::setSelection(QString,QString))
+@case(DCOP::setSelection(TQString,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"")
@@ -1045,7 +1045,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setSelection)
@setGlobal(DESC,"Selects given text or select item containing given text.")
-@case(DCOP::setText(QString,QString))
+@case(DCOP::setText(TQString,TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"")
@@ -1053,7 +1053,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setText)
@setGlobal(DESC,"Sets widget's content.")
-@case(DCOP::setVisible(QString,bool))
+@case(DCOP::setVisible(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"visible")
@setGlobal(PARM2,"")
@@ -1061,7 +1061,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setVisible)
@setGlobal(DESC,"Shows/hides widget.")
-@case(DCOP::type(QString))
+@case(DCOP::type(TQString))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -1069,7 +1069,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,type)
@setGlobal(DESC,"Returns type&amp;#040;class&amp;#041; of widget.")
-@case(DCOP::setEditable(QString,bool))
+@case(DCOP::setEditable(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"editable")
@setGlobal(PARM2,"")
@@ -1077,7 +1077,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setEditable)
@setGlobal(DESC,"Makes the widget editable or read only, depending on the editable argument.")
-@case(Kommander::setEditable(QString,bool))
+@case(Kommander::setEditable(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"editable")
@setGlobal(PARM2,"")
@@ -1085,7 +1085,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setEditable)
@setGlobal(DESC,"Returns current widget's content. This was required inside widget A to return widget A content when requested by widget B. The new method is to use &amp;#064;A.text inside B instead of just &amp;#064;A if you just want the unaltered text.")
-@case(Kommander::setEditable(QString,bool))
+@case(Kommander::setEditable(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"editable")
@setGlobal(PARM2,"")
@@ -1093,7 +1093,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setEditable)
@setGlobal(DESC,"Returns selected text or text of current item. This is deprecated for &lt;i&gt;&amp;#064;mywidget.selected&lt;/i&gt;.")
-@case(Kommander::setEditable(QString,bool))
+@case(Kommander::setEditable(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"editable")
@setGlobal(PARM2,"")
@@ -1101,7 +1101,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setEditable)
@setGlobal(DESC,"Does nothing. This is useful if you request a CheckBox or RadioButton to return a value where a state, typically the unchecked state, has no value. The &amp;#064;null prevents an error indicating it is empty.")
-@case(Kommander::pid(QString,bool))
+@case(Kommander::pid(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"editable")
@setGlobal(PARM2,"")
@@ -1109,7 +1109,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,pid)
@setGlobal(DESC,"Returns the pid &amp;#040;process ID&amp;#041; of the current process.")
-@case(Kommander::dcopid(QString,bool))
+@case(Kommander::dcopid(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"editable")
@setGlobal(PARM2,"")
@@ -1117,7 +1117,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,dcopid)
@setGlobal(DESC,"Returns DCOP identifier of current process. This is shorthand for &lt;i&gt;kmdr-executor-&amp;#064;pid&lt;/i&gt;.")
-@case(Kommander::parentPid(QString,bool))
+@case(Kommander::parentPid(TQString,bool))
@setGlobal(enWidget,1)
@setGlobal(PARM1,"editable")
@setGlobal(PARM2,"")
@@ -1125,7 +1125,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,parentPid)
@setGlobal(DESC,"Returns the pid of the parent Kommander window.")
-@case(Kommander::debug(QString))
+@case(Kommander::debug(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"")
@@ -1133,7 +1133,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,debug)
@setGlobal(DESC,"Writes &lt;i&gt;text&lt;/i&gt; on stderr.")
-@case(Kommander::echo(QString))
+@case(Kommander::echo(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"")
@@ -1141,7 +1141,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,echo)
@setGlobal(DESC,"Writes &lt;i&gt;text&lt;/i&gt; on standard output.")
-@case(Kommander::echo(QString))
+@case(Kommander::echo(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"")
@@ -1149,7 +1149,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,echo)
@setGlobal(DESC,"Executes a script block. Bash is used if no shell is given. It is primarily for use in non-button widgets where script actions are not expected. Full path is not required for the shell which may be useful for portability. &lt;p&gt;&lt;i&gt;If this is used inside a button it allows alternate script languages to be used and will return a value to the main script, which may be unexpected.&lt;/i&gt;")
-@case(Kommander::env(QString))
+@case(Kommander::env(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"variable")
@setGlobal(PARM2,"")
@@ -1157,7 +1157,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,env)
@setGlobal(DESC,"Returns value of an environment &amp;#040;shell&amp;#041; variable. Do not use &lt;i&gt;$&lt;/i&gt; in the name. For example, &lt;i&gt;&amp;#064;env&amp;#040;PATH&amp;#041;&lt;/i&gt;.")
-@case(Kommander::exec(QString))
+@case(Kommander::exec(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"command")
@setGlobal(PARM2,"")
@@ -1165,7 +1165,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,exec)
@setGlobal(DESC,"Executes an external shell command.")
-@case(Kommander::exec(QString))
+@case(Kommander::exec(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"command")
@setGlobal(PARM2,"")
@@ -1173,7 +1173,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,exec)
@setGlobal(DESC,"Parses an expression and returns computed value.")
-@case(Kommander::forEach(QString,QString))
+@case(Kommander::forEach(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"variable")
@setGlobal(PARM2,"items")
@@ -1181,7 +1181,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,forEach)
@setGlobal(DESC,"Executes loop: values from &lt;i&gt;items&lt;/i&gt; list &amp;#040;passed as EOL-separated string&amp;#041; are assigned to the variable. &lt;br&gt;&lt;b&gt;Old&lt;/b&gt;&lt;br&gt; &lt;i&gt;&amp;#064;forEach&amp;#040;i,A\\nB\\nC\\n&amp;#041;&lt;br&gt; &amp;#064;# &amp;#064;i=A&lt;br&gt;&amp;#064;end&lt;/i&gt;&lt;br&gt;&lt;b&gt;New&lt;/b&gt;&lt;br&gt;&lt;i&gt;foreach i in MyArray do&lt;br&gt; //i = key, MyArray[i] = val&lt;br&gt;end ")
-@case(Kommander::for(QString,int,int,int))
+@case(Kommander::for(TQString,int,int,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"variable")
@setGlobal(PARM2,"start")
@@ -1189,7 +1189,7 @@ fi
@setGlobal(PARM4,"step")
@setGlobal(short,for)
@setGlobal(DESC,"Executes loop: variable is set to &lt;i&gt;start&lt;/i&gt; and is increased by &lt;i&gt;step&lt;/i&gt; each time loop is executed. Execution stops when variable becomes larger then &lt;i&gt;end&lt;/i&gt;. &lt;br&gt;&lt;b&gt;Old&lt;/b&gt;&lt;br&gt;&lt;i&gt;&amp;#064;for&amp;#040;i,1,10,1&amp;#041;&lt;br&gt; &amp;#064;# &amp;#064;i=1&lt;br&gt;&amp;#064;endif&lt;/i&gt;&lt;br&gt;&lt;b&gt;New&lt;/b&gt;&lt;br&gt;&lt;i&gt;for i=0 to 20 step 5 do&lt;br&gt; debug&amp;#040;i&amp;#041;&lt;br&gt;end&lt;/i&gt;.")
-@case(Kommander::for(QString,int,int,int))
+@case(Kommander::for(TQString,int,int,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"variable")
@setGlobal(PARM2,"start")
@@ -1197,7 +1197,7 @@ fi
@setGlobal(PARM4,"step")
@setGlobal(short,for)
@setGlobal(DESC,"Returns the value of a global variable.")
-@case(Kommander::i18n(QString))
+@case(Kommander::i18n(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"variable")
@setGlobal(PARM2,"")
@@ -1205,7 +1205,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,i18n)
@setGlobal(DESC,"Translates the string into the current language. Texts in GUI would be automatically extracted for translation.")
-@case(Kommander::if(QString))
+@case(Kommander::if(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"expression")
@setGlobal(PARM2,"")
@@ -1213,7 +1213,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,if)
@setGlobal(DESC,"Executes block if expression is true &amp;#040;non-zero number or non-empty string.&amp;#041; &lt;p&gt;&lt;b&gt;Old&lt;/b&gt;Close with &lt;b&gt;&amp;#064;endif&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;New&lt;/b&gt;&lt;br&gt;if val == true then&lt;br&gt;// do op&lt;br&gt;elseif cond&lt;br&gt;// second chance&lt;br&gt;else&lt;br&gt;// cond failed&lt;br&gt;endif&lt;/p&gt;")
-@case(Kommander::dialog(QString,QString))
+@case(Kommander::dialog(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"file")
@setGlobal(PARM2,"args")
@@ -1221,7 +1221,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,dialog)
@setGlobal(DESC,"Executes another Kommander dialog. Current dialog directory is used if no path is given. Arguments may be given as named arguments which will become global variables in the new dialog. For instance: &lt;i&gt;var=val&lt;/i&gt;")
-@case(Kommander::readSetting(QString,QString))
+@case(Kommander::readSetting(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"key")
@setGlobal(PARM2,"default")
@@ -1229,7 +1229,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,readSetting)
@setGlobal(DESC,"Reads setting from configration file for this dialog.")
-@case(Kommander::setGlobal(QString,QString))
+@case(Kommander::setGlobal(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"variable")
@setGlobal(PARM2,"value")
@@ -1237,7 +1237,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,setGlobal)
@setGlobal(DESC,"Sets the value of a global variable. Global variables exist for the life of the Kommander window.")
-@case(Kommander::writeSetting(QString,QString))
+@case(Kommander::writeSetting(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"key")
@setGlobal(PARM2,"value")
@@ -1245,7 +1245,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,writeSetting)
@setGlobal(DESC,"Stores setting in configuration file for this dialog.")
-@case(Kommander::writeSetting(QString,QString))
+@case(Kommander::writeSetting(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"key")
@setGlobal(PARM2,"value")
@@ -1253,7 +1253,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,writeSetting)
@setGlobal(DESC,"Begin of &lt;b&gt;switch&lt;/b&gt; block. Following &lt;b&gt;case&lt;/b&gt; values are compared to &lt;i&gt;expression&lt;/i&gt;.&lt;p&gt;&amp;#064;switch&amp;#040;&amp;#041;&lt;br&gt;&amp;#064;case&amp;#040;&amp;#041;&lt;br&gt;&amp;#064;end")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1261,7 +1261,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Executes an external DCOP call.")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1269,7 +1269,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Adds a comment to EOL that Kommander will not parse")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1277,7 +1277,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Creates a new widget with the specified type and as the child of parent.")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1285,7 +1285,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Returns true if there is a widget with the passed name, false otherwise.")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1293,7 +1293,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Connects the signal of sender with the slot of the receiver")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1301,7 +1301,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Disconnects the signal of sender from the slot of the receiver")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1309,7 +1309,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Exits script execution and returns")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1317,7 +1317,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Exits the current block of a while, for or foreach loop")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1325,7 +1325,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Exit a step and return to the beginning of a loop")
-@case(Kommander::dcop(QString,QString,QString,QString))
+@case(Kommander::dcop(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"id")
@setGlobal(PARM2,"interface")
@@ -1333,7 +1333,7 @@ fi
@setGlobal(PARM4,"args")
@setGlobal(short,dcop)
@setGlobal(DESC,"Return from a script, optionaly with a value from the script to the caller")
-@case(Array::values(QString))
+@case(Array::values(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1341,7 +1341,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,values)
@setGlobal(DESC,"Returns an EOL-separated list of all values in the array.")
-@case(Array::keys(QString))
+@case(Array::keys(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1349,7 +1349,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,keys)
@setGlobal(DESC,"Returns an EOL-separated list of all keys in the array.")
-@case(Array::clear(QString))
+@case(Array::clear(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1357,7 +1357,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,clear)
@setGlobal(DESC,"Removes all elements from the array.")
-@case(Array::count(QString))
+@case(Array::count(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1365,7 +1365,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,count)
@setGlobal(DESC,"Returns the number of elements in the array.")
-@case(Array::count(QString))
+@case(Array::count(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1373,7 +1373,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,count)
@setGlobal(DESC,"Returns the value associated with the given key.")
-@case(Array::remove(QString,QString))
+@case(Array::remove(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"key")
@@ -1381,7 +1381,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,remove)
@setGlobal(DESC,"Removes element with the given key from the array.")
-@case(Array::remove(QString,QString))
+@case(Array::remove(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"key")
@@ -1389,7 +1389,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,remove)
@setGlobal(DESC,"Adds element with the given key and value to the array")
-@case(Array::fromString(QString,QString))
+@case(Array::fromString(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"string")
@@ -1397,7 +1397,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,fromString)
@setGlobal(DESC,"Adds all elements in the string to the array. ")
-@case(Array::toString(QString))
+@case(Array::toString(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1405,7 +1405,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,toString)
@setGlobal(DESC,"Returns all elements in the array in &lt;pre&gt;key\\tvalue\\n&lt;/pre&gt; format.")
-@case(Array::toString(QString))
+@case(Array::toString(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1413,7 +1413,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,toString)
@setGlobal(DESC,"")
-@case(Array::toString(QString))
+@case(Array::toString(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1421,7 +1421,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,toString)
@setGlobal(DESC,"")
-@case(Array::toString(QString))
+@case(Array::toString(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1429,7 +1429,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,toString)
@setGlobal(DESC,"")
-@case(Array::toString(QString))
+@case(Array::toString(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"array")
@setGlobal(PARM2,"")
@@ -1437,7 +1437,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,toString)
@setGlobal(DESC,"")
-@case(String::length(QString))
+@case(String::length(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"")
@@ -1445,7 +1445,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,length)
@setGlobal(DESC,"Returns number of chars in the string.")
-@case(String::contains(QString,QString))
+@case(String::contains(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"substring")
@@ -1453,7 +1453,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,contains)
@setGlobal(DESC,"Checks if the the string contains the given substring.")
-@case(String::find(QString,QString,int))
+@case(String::find(TQString,TQString,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"sought")
@@ -1461,7 +1461,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,find)
@setGlobal(DESC,"Returns the position of a substring in the string, or -1 if it is not found.")
-@case(String::findRev(QString,QString,int))
+@case(String::findRev(TQString,TQString,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"sought")
@@ -1469,7 +1469,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,findRev)
@setGlobal(DESC,"Returns the position of a substring in the string, or -1 if it is not found. String is searched backwards")
-@case(String::left(QString,int))
+@case(String::left(TQString,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"n")
@@ -1477,7 +1477,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,left)
@setGlobal(DESC,"Returns the first &lt;i&gt;n&lt;/i&gt; chars of the string.")
-@case(String::right(QString,int))
+@case(String::right(TQString,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"n")
@@ -1485,7 +1485,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,right)
@setGlobal(DESC,"Returns the last &lt;i&gt;n&lt;/i&gt; chars of the string.")
-@case(String::mid(QString,int,int))
+@case(String::mid(TQString,int,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"start")
@@ -1493,7 +1493,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,mid)
@setGlobal(DESC,"Returns &lt;i&gt;n&lt;/i&gt; chars of the string, starting from &lt;i&gt;start&lt;/i&gt;.")
-@case(String::remove(QString,QString))
+@case(String::remove(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"substring")
@@ -1501,7 +1501,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,remove)
@setGlobal(DESC,"Removes all occurrences of given substring.")
-@case(String::replace(QString,QString,QString))
+@case(String::replace(TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"substring")
@@ -1509,7 +1509,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,replace)
@setGlobal(DESC,"Replaces all occurrences of the given substring with the given replacement.")
-@case(String::upper(QString))
+@case(String::upper(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"")
@@ -1517,7 +1517,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,upper)
@setGlobal(DESC,"Converts the string to uppercase.")
-@case(String::lower(QString))
+@case(String::lower(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"")
@@ -1525,7 +1525,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,lower)
@setGlobal(DESC,"Converts the string to lowercase.")
-@case(String::compare(QString,QString))
+@case(String::compare(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string1")
@setGlobal(PARM2,"string2")
@@ -1533,7 +1533,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,compare)
@setGlobal(DESC,"Compares two strings. Returns 0 if they are equal, ")
-@case(String::isEmpty(QString))
+@case(String::isEmpty(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"")
@@ -1541,7 +1541,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,isEmpty)
@setGlobal(DESC,"Checks if the string is empty.")
-@case(String::isNumber(QString))
+@case(String::isNumber(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"")
@@ -1549,7 +1549,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,isNumber)
@setGlobal(DESC,"Checks if the string is a valid number.")
-@case(String::section(QString,QString,int))
+@case(String::section(TQString,TQString,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"separator")
@@ -1557,7 +1557,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,section)
@setGlobal(DESC,"Returns given section of a string.")
-@case(String::args(QString,QString,QString,QString))
+@case(String::args(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"arg1")
@@ -1565,7 +1565,7 @@ fi
@setGlobal(PARM4,"arg3")
@setGlobal(short,args)
@setGlobal(DESC,"Returns the given string with %1, %2, %3 replaced with &lt;i&gt;arg1&lt;/i&gt;, &lt;i&gt;arg2&lt;/i&gt;, &lt;i&gt;arg3&lt;/i&gt; accordingly.")
-@case(String::args(QString,QString,QString,QString))
+@case(String::args(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"arg1")
@@ -1573,7 +1573,7 @@ fi
@setGlobal(PARM4,"arg3")
@setGlobal(short,args)
@setGlobal(DESC,"Convert a string to an integer. If not possible use the default value")
-@case(String::args(QString,QString,QString,QString))
+@case(String::args(TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"string")
@setGlobal(PARM2,"arg1")
@@ -1581,7 +1581,7 @@ fi
@setGlobal(PARM4,"arg3")
@setGlobal(short,args)
@setGlobal(DESC,"Convert a string to a double precision floating point value. If not possible use the default value")
-@case(File::read(QString))
+@case(File::read(TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"")
@setGlobal(PARM2,"")
@@ -1589,7 +1589,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,read)
@setGlobal(DESC,"Returns content of given file.")
-@case(File::write(QString,QString))
+@case(File::write(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"file")
@setGlobal(PARM2,"string")
@@ -1597,7 +1597,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,write)
@setGlobal(DESC,"Writes given string to a file.")
-@case(File::append(QString,QString))
+@case(File::append(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"file")
@setGlobal(PARM2,"string")
@@ -1605,7 +1605,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,append)
@setGlobal(DESC,"Appends given string to the end of a file.")
-@case(Input::text(QString,QString,QString))
+@case(Input::text(TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"caption")
@setGlobal(PARM2,"label")
@@ -1613,7 +1613,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,text)
@setGlobal(DESC,"Shows text selection dialog. Returns entered text.")
-@case(Input::password(QString,QString))
+@case(Input::password(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"caption")
@setGlobal(PARM2,"password")
@@ -1621,7 +1621,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,password)
@setGlobal(DESC,"Shows a dialog asking user for password and returns it.")
-@case(Input::value(QString,QString,int,int,int,int))
+@case(Input::value(TQString,TQString,int,int,int,int))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"caption")
@setGlobal(PARM2,"label")
@@ -1629,7 +1629,7 @@ fi
@setGlobal(PARM4,"min")
@setGlobal(short,value)
@setGlobal(DESC,"Shows value selection dialog. Returns entered value.")
-@case(Input::double(QString,QString,double,double,double,double))
+@case(Input::double(TQString,TQString,double,double,double,double))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"caption")
@setGlobal(PARM2,"label")
@@ -1637,7 +1637,7 @@ fi
@setGlobal(PARM4,"min")
@setGlobal(short,double)
@setGlobal(DESC,"Shows float value selection dialog. Returns entered value.")
-@case(Input::openfile(QString,QString,QString))
+@case(Input::openfile(TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"startdir")
@setGlobal(PARM2,"filter")
@@ -1645,7 +1645,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,openfile)
@setGlobal(DESC,"Shows existing file selection dialog. Returns selected file.")
-@case(Input::savefile(QString,QString,QString))
+@case(Input::savefile(TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"startdir")
@setGlobal(PARM2,"filter")
@@ -1653,7 +1653,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,savefile)
@setGlobal(DESC,"Shows save file selection dialog. Returns selected file.")
-@case(Input::directory(QString,QString,QString))
+@case(Input::directory(TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"startdir")
@setGlobal(PARM2,"filter")
@@ -1661,7 +1661,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,directory)
@setGlobal(DESC,"Shows directory selection dialog. Returns selected directory.")
-@case(Input::openfiles(QString,QString,QString))
+@case(Input::openfiles(TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"startdir")
@setGlobal(PARM2,"filter")
@@ -1669,7 +1669,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,openfiles)
@setGlobal(DESC,"Shows multiple files selection dialog. Returns EOL-separated list of selected files.")
-@case(Message::info(QString,QString))
+@case(Message::info(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"caption")
@@ -1677,7 +1677,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,info)
@setGlobal(DESC,"Shows an information dialog.")
-@case(Message::error(QString,QString))
+@case(Message::error(TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"caption")
@@ -1685,7 +1685,7 @@ fi
@setGlobal(PARM4,"")
@setGlobal(short,error)
@setGlobal(DESC,"Shows an error dialog.")
-@case(Message::warning(QString,QString,QString,QString,QString))
+@case(Message::warning(TQString,TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"caption")
@@ -1693,7 +1693,7 @@ fi
@setGlobal(PARM4,"button2")
@setGlobal(short,warning)
@setGlobal(DESC,"Shows a warning dialog with up to three buttons. Returns number of selected button.")
-@case(Message::question(QString,QString,QString,QString,QString))
+@case(Message::question(TQString,TQString,TQString,TQString,TQString))
@setGlobal(enWidget,0)
@setGlobal(PARM1,"text")
@setGlobal(PARM2,"caption")
@@ -1816,46 +1816,46 @@ fi
<property name="associations" stdset="0">
<stringlist>
<string>@##### put the following in the @filteroff script #########
-@setGlobal(DCOP,"addUniqueItem(QString,QString)
-associatedText(QString)
-cellText(QString,int,int)
-checked(QString)
-children(QString,bool)
-clear(QString)
-count(QString)
-currentColumn(QString)
-currentItem(QString)
-currentRow(QString)
-execute(QString)
-findItem(QString,QString)
-insertColumn(QString,int,int)
-insertItem(QString,QString,int)
-insertItems(QString,QStringList,int)
-insertRow(QString,int,int)
-item(QString,int)
-itemDepth(QString,int)
-itemPath(QString,int)
-removeColumn(QString,int,int)
-removeItem(QString,int)
-removeRow(QString,int,int)
-selection(QString)
-setAssociatedText(QString,QString)
-setEnabled(QString,bool)
-setCellText(QString,int,int,QString)
-setCellWidget(QString,int,int,QString)
-cellWidget(QString,int,int)
-setChecked(QString,bool)
-setColumnCaption(QString,int,QString)
-setCurrentItem(QString,int)
-insertTab(QString,QString,int)
-setMaximum(QString,int)
-setPixmap(QString,QString,int)
-setRowCaption(QString,int,QString)
-setSelection(QString,QString)
-setText(QString,QString)
-setVisible(QString,bool)
-type(QString)
-setEditable(QString,bool)")
+@setGlobal(DCOP,"addUniqueItem(TQString,TQString)
+associatedText(TQString)
+cellText(TQString,int,int)
+checked(TQString)
+children(TQString,bool)
+clear(TQString)
+count(TQString)
+currentColumn(TQString)
+currentItem(TQString)
+currentRow(TQString)
+execute(TQString)
+findItem(TQString,TQString)
+insertColumn(TQString,int,int)
+insertItem(TQString,TQString,int)
+insertItems(TQString,QStringList,int)
+insertRow(TQString,int,int)
+item(TQString,int)
+itemDepth(TQString,int)
+itemPath(TQString,int)
+removeColumn(TQString,int,int)
+removeItem(TQString,int)
+removeRow(TQString,int,int)
+selection(TQString)
+setAssociatedText(TQString,TQString)
+setEnabled(TQString,bool)
+setCellText(TQString,int,int,TQString)
+setCellWidget(TQString,int,int,TQString)
+cellWidget(TQString,int,int)
+setChecked(TQString,bool)
+setColumnCaption(TQString,int,TQString)
+setCurrentItem(TQString,int)
+insertTab(TQString,TQString,int)
+setMaximum(TQString,int)
+setPixmap(TQString,TQString,int)
+setRowCaption(TQString,int,TQString)
+setSelection(TQString,TQString)
+setText(TQString,TQString)
+setVisible(TQString,bool)
+type(TQString)
+setEditable(TQString,bool)")
@proto.clear
@proto.insertItems(@global(DCOP), 0)
@@ -1888,195 +1888,195 @@ setEditable(QString,bool)")
@##### put the following in the @filteron script #########
@case(aboutdialog)
- @setGlobal(DCOP,"execute(QString)")
+ @setGlobal(DCOP,"execute(TQString)")
@case(buttongroup)
- @setGlobal(DCOP,"checked(QString)
-setChecked(QString,bool)")
+ @setGlobal(DCOP,"checked(TQString)
+setChecked(TQString,bool)")
@case(checkbox)
- @setGlobal(DCOP,"setText(QString,QString)
-checked(QString)
-setChecked(QString,bool)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+checked(TQString)
+setChecked(TQString,bool)")
@case(closebutton)
- @setGlobal(DCOP,"setText(QString,QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)")
@case(combobox)
- @setGlobal(DCOP,"selection(QString)
-setSelection(QString,QString)
-currentItem(QString)
-setCurrentItem(QString,int)
-item(QString,int)
-removeItem(QString,int)
-insertItem(QString,QString,int)
-insertItems(QString,QStringList,int)
-addUniqueItem(QString,QString)
-clear(QString)
-count(QString)
-setEditable(QString,bool)")
+ @setGlobal(DCOP,"selection(TQString)
+setSelection(TQString,TQString)
+currentItem(TQString)
+setCurrentItem(TQString,int)
+item(TQString,int)
+removeItem(TQString,int)
+insertItem(TQString,TQString,int)
+insertItems(TQString,QStringList,int)
+addUniqueItem(TQString,TQString)
+clear(TQString)
+count(TQString)
+setEditable(TQString,bool)")
@case(datepicker)
- @setGlobal(DCOP,"setText(QString,QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)")
@case(dialog)
- @setGlobal(DCOP,"setText(QString,QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)")
@case(execbutton)
- @setGlobal(DCOP,"setText(QString,QString)
-execute(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+execute(TQString)")
@case(fileselector)
- @setGlobal(DCOP,"setText(QString,QString)
-selection(QString)
-setSelection(QString,QString)
-clear(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+selection(TQString)
+setSelection(TQString,TQString)
+clear(TQString)")
@case(fontdialog)
- @setGlobal(DCOP,"execute(QString)")
+ @setGlobal(DCOP,"execute(TQString)")
@case(groupbox)
- @setGlobal(DCOP,"setText(QString,QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)")
@case(konsole)
- @setGlobal(DCOP,"setText(QString,QString)
-clear(QString)
-execute(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+clear(TQString)
+execute(TQString)")
@case(label)
- @setGlobal(DCOP,"setText(QString,QString)
-clear(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+clear(TQString)")
@case(lineedit)
- @setGlobal(DCOP,"setText(QString,QString)
-selection(QString)
-setSelection(QString,QString)
-clear(QString)
-setEditable(QString,bool)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+selection(TQString)
+setSelection(TQString,TQString)
+clear(TQString)
+setEditable(TQString,bool)")
@case(listbox)
- @setGlobal(DCOP,"setText(QString,QString)
-selection(QString)
-setSelection(QString,QString)
-insertItems(QString,QStringList,int)
-insertItem(QString,QString,int)
-removeItem(QString,int)
-clear(QString)
-currentItem(QString)
-setCurrentItem(QString,int)
-item(QString,int)
-addUniqueItem(QString,QString)
-findItem(QString,QString)
-setPixmap(QString,QString,int)
-count(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+selection(TQString)
+setSelection(TQString,TQString)
+insertItems(TQString,QStringList,int)
+insertItem(TQString,TQString,int)
+removeItem(TQString,int)
+clear(TQString)
+currentItem(TQString)
+setCurrentItem(TQString,int)
+item(TQString,int)
+addUniqueItem(TQString,TQString)
+findItem(TQString,TQString)
+setPixmap(TQString,TQString,int)
+count(TQString)")
@case(pixmaplabel)
- @setGlobal(DCOP,"setText(QString,QString)
-clear(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+clear(TQString)")
@case(popupmenu)
- @setGlobal(DCOP,"clear(QString)
-execute(QString)
-item(QString,int)
-count(QString)")
+ @setGlobal(DCOP,"clear(TQString)
+execute(TQString)
+item(TQString,int)
+count(TQString)")
@case(progressbar)
- @setGlobal(DCOP,"setText(QString,QString)
-clear(QString)
-setMaximum(QString,int)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+clear(TQString)
+setMaximum(TQString,int)")
@case(radiobutton)
- @setGlobal(DCOP,"setText(QString,QString)
-setChecked(QString,bool)
-checked(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+setChecked(TQString,bool)
+checked(TQString)")
@case(richtexteditor)
- @setGlobal(DCOP,"setText(QString,QString)
-clear(QString)
-selection(QString)
-setEditable(QString,bool)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+clear(TQString)
+selection(TQString)
+setEditable(TQString,bool)")
@case(scriptobject)
- @setGlobal(DCOP,"setText(QString,QString)
-clear(QString)
-execute(QString)
-item(QString,int)
-count(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+clear(TQString)
+execute(TQString)
+item(TQString,int)
+count(TQString)")
@case(slider)
- @setGlobal(DCOP,"setText(QString,QString)
-clear(QString)
-setMaximum(QString,int)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+clear(TQString)
+setMaximum(TQString,int)")
@case(spinboxint)
- @setGlobal(DCOP,"setText(QString,QString)
-setMaximum(QString,int)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+setMaximum(TQString,int)")
@case(statusbar)
- @setGlobal(DCOP,"setText(QString,QString)
-insertItem(QString,QString,int)
-removeItem(QString,int)
-clear(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+insertItem(TQString,TQString,int)
+removeItem(TQString,int)
+clear(TQString)")
@case(table)
- @setGlobal(DCOP,"currentColumn(QString)
-currentRow(QString)
-insertColumn(QString,int,int)
-insertRow(QString,int,int)
-cellText(QString,int,int)
-setCellText(QString,int,int,QString)
-setCellWidget(QString,int,int,QString)
-cellWidget(QString,int,int)
-removeRow(QString,int,int)
-removeColumn(QString,int,int)
-setColumnCaption(QString,int,QString)
-setRowCaption(QString,int,QString)
-setText(QString,QString)
-selection(QString)")
+ @setGlobal(DCOP,"currentColumn(TQString)
+currentRow(TQString)
+insertColumn(TQString,int,int)
+insertRow(TQString,int,int)
+cellText(TQString,int,int)
+setCellText(TQString,int,int,TQString)
+setCellWidget(TQString,int,int,TQString)
+cellWidget(TQString,int,int)
+removeRow(TQString,int,int)
+removeColumn(TQString,int,int)
+setColumnCaption(TQString,int,TQString)
+setRowCaption(TQString,int,TQString)
+setText(TQString,TQString)
+selection(TQString)")
@case(tabwidget)
- @setGlobal(DCOP,"currentItem(QString)
-setCurrentItem(QString,int)
-insertTab(QString,QString,int)")
+ @setGlobal(DCOP,"currentItem(TQString)
+setCurrentItem(TQString,int)
+insertTab(TQString,TQString,int)")
@case(textbrowser)
- @setGlobal(DCOP,"setText(QString,QString)
-selection(QString)
-clear(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+selection(TQString)
+clear(TQString)")
@case(textedit)
- @setGlobal(DCOP,"setText(QString,QString)
-selection(QString)
-setSelection(QString,QString)
-clear(QString)
-setEditable(QString,bool)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+selection(TQString)
+setSelection(TQString,TQString)
+clear(TQString)
+setEditable(TQString,bool)")
@case(timer)
- @setGlobal(DCOP,"setText(QString,QString)
-execute(QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)
+execute(TQString)")
@case(timewidget)
- @setGlobal(DCOP,"setText(QString,QString)")
+ @setGlobal(DCOP,"setText(TQString,TQString)")
@case(toolbox)
- @setGlobal(DCOP,"count(QString)")
+ @setGlobal(DCOP,"count(TQString)")
@case(treewidget)
- @setGlobal(DCOP,"insertItem(QString,QString,int)
-setText(QString,QString)
-insertItems(QString,QStringList,int)
-selection(QString)
-setSelection(QString,QString)
-clear(QString)
-removeItem(QString,int)
-currentItem(QString)
-setCurrentItem(QString,int)
-findItem(QString,QString)
-item(QString,int)
-itemPath(QString,int)
-itemDepth(QString,int)
-setPixmap(QString,QString,int)
-setColumnCaption(QString,int,QString)")
+ @setGlobal(DCOP,"insertItem(TQString,TQString,int)
+setText(TQString,TQString)
+insertItems(TQString,QStringList,int)
+selection(TQString)
+setSelection(TQString,TQString)
+clear(TQString)
+removeItem(TQString,int)
+currentItem(TQString)
+setCurrentItem(TQString,int)
+findItem(TQString,TQString)
+item(TQString,int)
+itemPath(TQString,int)
+itemDepth(TQString,int)
+setPixmap(TQString,TQString,int)
+setColumnCaption(TQString,int,TQString)")
@end
@proto.clear
@@ -2095,13 +2095,13 @@ setColumnCaption(QString,int,QString)")
<connections>
<connection>
<sender>wname</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>filterscript</receiver>
<slot>execute()</slot>
</connection>
<connection>
<sender>functiongroup</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>proto</receiver>
<slot>populate()</slot>
</connection>
diff --git a/kommander/kmdrtools/examples.kmdr b/kommander/kmdrtools/examples.kmdr
index b5a5f5d7..ae3a8ad4 100644
--- a/kommander/kmdrtools/examples.kmdr
+++ b/kommander/kmdrtools/examples.kmdr
@@ -75,7 +75,7 @@ end
<number>0</number>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout90</cstring>
</property>
diff --git a/kommander/part/CMakeLists.txt b/kommander/part/CMakeLists.txt
new file mode 100644
index 00000000..22b08144
--- /dev/null
+++ b/kommander/part/CMakeLists.txt
@@ -0,0 +1,47 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/executor
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkommander_part (kpart)
+
+tde_add_kpart( libkommander_part AUTOMOC
+
+ SOURCES
+ kommander_part.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ kjs-shared
+ tdeparts-shared
+ tdehtml-shared
+ kommanderwidget-shared
+ kommanderplugin-shared
+ instance-static
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kommander_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kommander-desktops
+)
diff --git a/kommander/part/kommander_part.cpp b/kommander/part/kommander_part.cpp
index 1d4fb709..66649ab3 100644
--- a/kommander/part/kommander_part.cpp
+++ b/kommander/part/kommander_part.cpp
@@ -66,7 +66,7 @@ bool KommanderPart::openFile()
delete m_instance;
m_instance = new Instance(0L);
m_instance->build(m_url);
- TQTimer::singleShot(0, this, TQT_SLOT(slotRun()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotRun()));
emit setStatusBarText( m_url.prettyURL() );
return true;
diff --git a/kommander/part/kommander_part.desktop b/kommander/part/kommander_part.desktop
index 239f4f25..024e8885 100644
--- a/kommander/part/kommander_part.desktop
+++ b/kommander/part/kommander_part.desktop
@@ -1,15 +1,7 @@
[Desktop Entry]
Name=KommanderPart
-Name[ca]=Part del Kommander
-Name[de]=Kommander-Komponente
-Name[et]=Kommanderi komponent
-Name[nds]=Kommander-Komponent
-Name[nl]=Kommander-component
-Name[pl]=Moduł Kommandera
-Name[ru]=Компонент Kommander
-Name[sv]=Kommander-delprogram
-Name[zh_TW]=Kommander 部件
+
+Type=Service
MimeType=application/x-kommander;
X-TDE-ServiceTypes=KParts/ReadOnlyPart
X-TDE-Library=libkommander_part
-Type=Service
diff --git a/kommander/part/kommander_part.h b/kommander/part/kommander_part.h
index aca36b89..91c10fdb 100644
--- a/kommander/part/kommander_part.h
+++ b/kommander/part/kommander_part.h
@@ -23,7 +23,7 @@ class TQGridLayout;
class KommanderPart : public KParts::ReadOnlyPart
{
- Q_OBJECT
+ TQ_OBJECT
public:
KommanderPart(TQWidget *parentWidget, const char *widgetName,
diff --git a/kommander/plugin/CMakeLists.txt b/kommander/plugin/CMakeLists.txt
new file mode 100644
index 00000000..44a70077
--- /dev/null
+++ b/kommander/plugin/CMakeLists.txt
@@ -0,0 +1,41 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kommanderplugin (shared)
+
+tde_add_library( kommanderplugin SHARED AUTOMOC
+
+ SOURCES
+ kommanderplugin.cpp
+ specialinformation.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+
+ DESTINATION ${LIB_INSTALL_DIR}
+
+ VERSION 0.0.0
+)
+
+
+##### headers
+
+install(
+ FILES kommanderplugin.h specials.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
diff --git a/kommander/plugin/kommanderplugin.h b/kommander/plugin/kommanderplugin.h
index 509ee9da..0699774e 100644
--- a/kommander/plugin/kommanderplugin.h
+++ b/kommander/plugin/kommanderplugin.h
@@ -44,7 +44,7 @@ class TQIconSet;
class KOMMANDER_EXPORT KommanderPlugin : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KommanderPlugin();
diff --git a/kommander/plugin/specialinformation.cpp b/kommander/plugin/specialinformation.cpp
index 0a80dd85..4a1d8903 100644
--- a/kommander/plugin/specialinformation.cpp
+++ b/kommander/plugin/specialinformation.cpp
@@ -12,7 +12,9 @@
* (at your option) any later version. *
* *
***************************************************************************/
-
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "specials.h"
#include "specialinformation.h"
@@ -63,7 +65,7 @@ SpecialFunction::SpecialFunction(ParserType p, const TQString& name, const TQStr
}
-TQString SpecialFunction::prototype(uint prototypeFlags) const
+TQString KDE_EXPORT SpecialFunction::prototype(uint prototypeFlags) const
{
if (!m_types.count())
return m_function;
@@ -82,21 +84,21 @@ TQString SpecialFunction::prototype(uint prototypeFlags) const
return TQString("%1(%2)").arg(m_function).arg(params.join(", "));
}
-TQString SpecialFunction::argumentName(uint i) const
+TQString KDE_EXPORT SpecialFunction::argumentName(uint i) const
{
if (i < m_args.count())
return m_args[i];
return TQString();
}
-TQString SpecialFunction::argumentType(uint i) const
+TQString KDE_EXPORT SpecialFunction::argumentType(uint i) const
{
if (i < m_types.count())
return m_types[i];
return TQString();
}
-int SpecialFunction::argumentCount() const
+int KDE_EXPORT SpecialFunction::argumentCount() const
{
return m_types.count();
}
@@ -104,7 +106,7 @@ int SpecialFunction::argumentCount() const
-int SpecialInformation::function(int group, const TQString& fname)
+int KDE_EXPORT SpecialInformation::function(int group, const TQString& fname)
{
TQString f = fname.lower();
if (m_functions.contains(group) && m_functions[group].contains(f))
@@ -114,13 +116,13 @@ int SpecialInformation::function(int group, const TQString& fname)
return -1;
}
-SpecialFunction SpecialInformation::functionObject(const TQString& gname, const TQString& fname)
+KDE_EXPORT SpecialFunction SpecialInformation::functionObject(const TQString& gname, const TQString& fname)
{
int gid = group(gname);
return m_specials[gid][function(gid, fname)];
}
-int SpecialInformation::group(const TQString& gname)
+int KDE_EXPORT SpecialInformation::group(const TQString& gname)
{
if (m_groups.contains(gname))
return m_groups[gname];
@@ -137,7 +139,7 @@ bool SpecialInformation::isValid(const TQString& gname, const TQString& fname)
return function(group(gname), fname) != -1;
}
-bool SpecialInformation::isValid(int gname, int fname, SpecialFunction::ParserType p)
+bool KDE_EXPORT SpecialInformation::isValid(int gname, int fname, SpecialFunction::ParserType p)
{
return m_specials.contains(gname) && m_specials[gname].contains(fname)
&& m_specials[gname][fname].isSupported(p);
@@ -151,14 +153,14 @@ bool SpecialInformation::isValid(const TQString& gname, const TQString& fname,
return f != -1 && m_specials[g][f].isSupported(p);
}
-int SpecialInformation::minArg(int gname, int fname)
+int KDE_EXPORT SpecialInformation::minArg(int gname, int fname)
{
if (isValid(gname, fname))
return m_specials[gname][fname].minArg();
return -1;
}
-int SpecialInformation::maxArg(int gname, int fname)
+int KDE_EXPORT SpecialInformation::maxArg(int gname, int fname)
{
if (isValid(gname, fname))
return m_specials[gname][fname].maxArg();
@@ -186,7 +188,7 @@ TQString SpecialInformation::description(int gname, int fname)
return TQString();
}
-TQString SpecialInformation::prototype(int gname, int fname, uint flags)
+TQString KDE_EXPORT SpecialInformation::prototype(int gname, int fname, uint flags)
{
if (isValid(gname, fname))
return m_specials[gname][fname].prototype(flags);
@@ -246,7 +248,7 @@ void SpecialInformation::insertGroup(int id, const TQString& name, const TQStrin
}
}
-TQString SpecialInformation::parserGroupName(const TQString& name)
+TQString KDE_EXPORT SpecialInformation::parserGroupName(const TQString& name)
{
if (m_parserGroups.contains(name))
return m_parserGroups[name];
@@ -254,12 +256,12 @@ TQString SpecialInformation::parserGroupName(const TQString& name)
return name;
}
-TQStringList SpecialInformation::groups()
+TQStringList KDE_EXPORT SpecialInformation::groups()
{
return m_groups.keys();
}
-TQStringList SpecialInformation::functions(const TQString& g)
+TQStringList KDE_EXPORT SpecialInformation::functions(const TQString& g)
{
int gid = group(g);
if (gid == -1)
@@ -279,7 +281,7 @@ bool SpecialFunction::isSupported(ParserType p) const
return (m_parserTypes & p);
}
-void SpecialInformation::registerSpecials()
+void KDE_EXPORT SpecialInformation::registerSpecials()
{
insertGroup(Group::DCOP, "DCOP", "");
insert(DCOP::addUniqueItem, "addUniqueItem(TQString widget, TQString item)",
diff --git a/kommander/pluginmanager/CMakeLists.txt b/kommander/pluginmanager/CMakeLists.txt
new file mode 100644
index 00000000..d65e78ff
--- /dev/null
+++ b/kommander/pluginmanager/CMakeLists.txt
@@ -0,0 +1,33 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kmdr-plugins (executable)
+
+tde_add_executable( kmdr-plugins AUTOMOC
+
+ SOURCES
+ main.cpp
+ mainwindow.cpp
+ pluginmanager.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kommander/pluginmanager/mainwindow.cpp b/kommander/pluginmanager/mainwindow.cpp
index dd196043..2f34f712 100644
--- a/kommander/pluginmanager/mainwindow.cpp
+++ b/kommander/pluginmanager/mainwindow.cpp
@@ -35,7 +35,7 @@ MainWindow::MainWindow( TQWidget* parent, const char *name, WFlags f )
toolBar->insertButton("document-open", Add, true, i18n("Add") );
toolBar->insertButton("no", Remove, true, i18n("Remove") );
toolBar->insertButton("reload", Refresh, true, i18n("Refresh") );
- connect( toolBar, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(toolButton(int)) );
+ connect( toolBar, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(toolButton(int)) );
m_list = new TDEListBox( this );
setCentralWidget(m_list);
diff --git a/kommander/pluginmanager/mainwindow.h b/kommander/pluginmanager/mainwindow.h
index b49c4e21..09e536b4 100644
--- a/kommander/pluginmanager/mainwindow.h
+++ b/kommander/pluginmanager/mainwindow.h
@@ -25,7 +25,7 @@ class PluginManager;
class MainWindow : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
MainWindow( TQWidget* parent = 0, const char *name = 0, WFlags f = WType_TopLevel | WDestructiveClose );
diff --git a/kommander/widget/CMakeLists.txt b/kommander/widget/CMakeLists.txt
new file mode 100644
index 00000000..866a0dfd
--- /dev/null
+++ b/kommander/widget/CMakeLists.txt
@@ -0,0 +1,49 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kommanderwidget (shared)
+
+tde_add_library( kommanderwidget SHARED AUTOMOC
+
+ SOURCES
+ expression.cpp function.cpp
+ functionlib.cpp invokeclass.cpp
+ kmdrmainwindow.cpp kommanderfunctions.cpp
+ kommanderwidget.cpp kommanderwindow.cpp
+ myprocess.cpp parsenode.cpp
+ parser.cpp parserdata.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+ tdeui-shared
+ kommanderplugin-shared
+ kommanderfactory-static
+
+ DESTINATION ${LIB_INSTALL_DIR}
+
+ VERSION 0.0.0
+)
+
+
+##### headers
+
+install(
+ FILES kommanderwidget.h kommander_export.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
diff --git a/kommander/widget/functionlib.cpp b/kommander/widget/functionlib.cpp
index b0579897..47db3bd0 100644
--- a/kommander/widget/functionlib.cpp
+++ b/kommander/widget/functionlib.cpp
@@ -164,7 +164,7 @@ static ParseNode f_return(Parser* p, const ParameterList& params)
static ParseNode f_stringRound(Parser*, const ParameterList& params)
{
TQString s;
- s.sprintf("%."+params[1].toString()+"f", params[0].toDouble());
+ s.sprintf("%.*f", params[1].toInt(), params[0].toDouble());
return s;
}
@@ -172,7 +172,7 @@ static ParseNode f_stringRound(Parser*, const ParameterList& params)
static ParseNode f_debug(Parser*, const ParameterList& params)
{
for (uint i=0; i<params.count(); i++)
- std::cerr << params[i].toString();
+ std::cerr << params[i].toString().local8Bit();
std::cerr << "\n";
fflush(stderr);
return ParseNode();
@@ -181,7 +181,7 @@ static ParseNode f_debug(Parser*, const ParameterList& params)
static ParseNode f_echo(Parser*, const ParameterList& params)
{
for (uint i=0; i<params.count(); i++)
- std::cout << params[i].toString();
+ std::cout << params[i].toString().local8Bit();
fflush(stdout);
return ParseNode();
}
@@ -353,7 +353,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
byteDataStream << params[i++].toDouble();
else if (*it == "bool")
byteDataStream << (bool)params[i++].toInt();
- else if (*it == TQSTRINGLIST_OBJECT_NAME_STRING)
+ else if (*it == "TQStringList")
if (params[i].toString().find('\n') != -1)
byteDataStream << TQStringList::split("\n", params[i++].toString(), true);
else
@@ -371,7 +371,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
return ParseNode();
}
TQDataStream byteReplyStream(byteReply, IO_ReadOnly);
- if (replyType == TQSTRING_OBJECT_NAME_STRING)
+ if (replyType == "TQString")
{
TQString text;
byteReplyStream >> text;
@@ -389,7 +389,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
byteReplyStream >> b;
return b;
}
- else if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING)
+ else if (replyType == "TQStringList")
{
TQStringList text;
byteReplyStream >> text;
@@ -429,9 +429,9 @@ static ParseNode f_widgetExists(Parser* p, const ParameterList& params)
static ParseNode f_connect(Parser* p, const ParameterList& params)
{
TQString sender = params[0].toString();
- TQString signal = TQString::number(TQSIGNAL_CODE) + params[1].toString();
+ TQString signal = TQString::number(TQ_SIGNAL_CODE) + params[1].toString();
TQString receiver = params[2].toString();
- TQString slot = TQString::number(TQSLOT_CODE) + params[3].toString();
+ TQString slot = TQString::number(TQ_SLOT_CODE) + params[3].toString();
KommanderWidget *senderW = p->currentWidget()->widgetByName(sender);
if (!senderW)
return ParseNode::error("unknown widget");
@@ -445,9 +445,9 @@ static ParseNode f_connect(Parser* p, const ParameterList& params)
static ParseNode f_disconnect(Parser* p, const ParameterList& params)
{
TQString sender = params[0].toString();
- TQString signal = TQString::number(TQSIGNAL_CODE) + params[1].toString();
+ TQString signal = TQString::number(TQ_SIGNAL_CODE) + params[1].toString();
TQString receiver = params[2].toString();
- TQString slot = TQString::number(TQSLOT_CODE) + params[3].toString();
+ TQString slot = TQString::number(TQ_SLOT_CODE) + params[3].toString();
KommanderWidget *senderW = p->currentWidget()->widgetByName(sender);
if (!senderW)
return ParseNode::error("unknown widget");
@@ -510,7 +510,7 @@ static ParseNode f_dialog(Parser* P, const ParameterList& params)
static ParseNode f_i18n(Parser*, const ParameterList& params)
{
- return TDEGlobal::locale()->translate(params[0].toString());
+ return TDEGlobal::locale()->translate(params[0].toString().utf8());
}
static ParseNode f_env(Parser*, const ParameterList& params)
@@ -567,13 +567,11 @@ static ParseNode f_arrayToString(Parser* P, const ParameterList& params)
TQStringList keys = P->array(name).keys();
TQValueList<ParseNode> values = P->array(name).values();
- TQStringList::Iterator it = keys.begin();
+ TQStringList::Iterator it = keys.begin();
TQValueList<ParseNode>::Iterator itval = values.begin();
- while (*it)
+ for (; it != keys.end(); ++it, ++itval)
{
array += TQString("%1\t%2\n").arg(*it).arg((*itval).toString());
- ++it;
- ++itval;
}
return array;
}
diff --git a/kommander/widget/invokeclass.cpp b/kommander/widget/invokeclass.cpp
index ec360d69..033ea770 100644
--- a/kommander/widget/invokeclass.cpp
+++ b/kommander/widget/invokeclass.cpp
@@ -24,8 +24,8 @@ void InvokeClass::invokeSlot(TQObject *object, const TQString& slot, TQStringLis
{
TQString invokeName = slot;
invokeName = invokeName.mid(invokeName.find('('));
- invokeName.prepend(TQString::number(TQSIGNAL_CODE) + "invoke");
- TQString slotName = TQString::number(TQSLOT_CODE) + slot;
+ invokeName.prepend(TQString::number(TQ_SIGNAL_CODE) + "invoke");
+ TQString slotName = TQString::number(TQ_SLOT_CODE) + slot;
connect(this, invokeName.ascii(), object, slotName.ascii());
if (args.count() == 0)
diff --git a/kommander/widget/invokeclass.h b/kommander/widget/invokeclass.h
index 341aa78f..ac6ce32f 100644
--- a/kommander/widget/invokeclass.h
+++ b/kommander/widget/invokeclass.h
@@ -17,7 +17,7 @@
#include <tqstringlist.h>
class InvokeClass : public TQObject {
-Q_OBJECT
+TQ_OBJECT
public:
InvokeClass(TQObject *parent);
diff --git a/kommander/widget/kmdrmainwindow.cpp b/kommander/widget/kmdrmainwindow.cpp
index 5805c58d..c44ea4a6 100644
--- a/kommander/widget/kmdrmainwindow.cpp
+++ b/kommander/widget/kmdrmainwindow.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "kmdrmainwindow.h"
#include <tqtimer.h>
@@ -16,7 +21,7 @@
KmdrMainWindow::KmdrMainWindow(TQWidget *parent, const char *name, WFlags f)
: TDEMainWindow(parent, name, f)
{
- TQTimer::singleShot(10, this, TQT_SIGNAL(initialize()));
+ TQTimer::singleShot(10, this, TQ_SIGNAL(initialize()));
}
diff --git a/kommander/widget/kmdrmainwindow.h b/kommander/widget/kmdrmainwindow.h
index 91be985d..96c4aabd 100644
--- a/kommander/widget/kmdrmainwindow.h
+++ b/kommander/widget/kmdrmainwindow.h
@@ -17,9 +17,9 @@
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class KmdrMainWindow : public TDEMainWindow
+class KDE_EXPORT KmdrMainWindow : public TDEMainWindow
{
-Q_OBJECT
+TQ_OBJECT
public:
KmdrMainWindow(TQWidget *parent = 0, const char *name = 0, WFlags f = WType_TopLevel | WDestructiveClose);
diff --git a/kommander/widget/kommanderfunctions.cpp b/kommander/widget/kommanderfunctions.cpp
index 3d580f88..59aaec07 100644
--- a/kommander/widget/kommanderfunctions.cpp
+++ b/kommander/widget/kommanderfunctions.cpp
@@ -57,7 +57,7 @@ TQString KommanderWidget::evalFunction(const TQString& function, const TQStringL
case Kommander::env:
return TQString(getenv(args[0].latin1()));
case Kommander::i18n:
- return TDEGlobal::locale()->translate(args[0]);
+ return TDEGlobal::locale()->translate(args[0].utf8());
case Kommander::global:
return global(args[0]);
case Kommander::setGlobal:
diff --git a/kommander/widget/kommanderwidget.cpp b/kommander/widget/kommanderwidget.cpp
index 7d80c8db..5ccb8375 100644
--- a/kommander/widget/kommanderwidget.cpp
+++ b/kommander/widget/kommanderwidget.cpp
@@ -295,7 +295,7 @@ TQString KommanderWidget::DCOPQuery(const TQStringList& a_query)
byteDataStream << a_query[i+3].toDouble();
else if (argTypes[i] == "bool")
byteDataStream << (bool)(a_query[i+3] != "false" && a_query[i+3] != "false" && a_query[i+3] != "0");
- else if (argTypes[i] == TQSTRINGLIST_OBJECT_NAME_STRING)
+ else if (argTypes[i] == "TQStringList")
if (a_query[i+3].find('\n') != -1)
byteDataStream << TQStringList::split("\n", a_query[i+3], true);
else
@@ -312,7 +312,7 @@ TQString KommanderWidget::DCOPQuery(const TQStringList& a_query)
}
TQDataStream byteReplyStream(byteReply, IO_ReadOnly);
- if (replyType == TQSTRING_OBJECT_NAME_STRING)
+ if (replyType == "TQString")
{
TQString text;
byteReplyStream >> text;
@@ -330,7 +330,7 @@ TQString KommanderWidget::DCOPQuery(const TQStringList& a_query)
byteReplyStream >> b;
return TQString::number(b);
}
- else if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING)
+ else if (replyType == "TQStringList")
{
TQStringList text;
byteReplyStream >> text;
@@ -413,12 +413,12 @@ void KommanderWidget::printError(const TQString& a_error) const
case KDialogBase::Yes:
break;
case KDialogBase::Cancel:
- if (parentDialog()->inherits(TQDIALOG_OBJECT_NAME_STRING))
+ if (parentDialog()->inherits("TQDialog"))
{
parentDialog()->close();
exit(-1);
}
- else if (parentDialog()->inherits(TQMAINWINDOW_OBJECT_NAME_STRING))
+ else if (parentDialog()->inherits("TQMainWindow"))
kapp->quit();
}
}
@@ -655,7 +655,7 @@ TQWidget* KommanderWidget::parentDialog() const
while (superParent->parent())
{
superParent = superParent->parent();
- if (superParent->inherits(TQDIALOG_OBJECT_NAME_STRING) || superParent->inherits(TQMAINWINDOW_OBJECT_NAME_STRING))
+ if (superParent->inherits("TQDialog") || superParent->inherits("TQMainWindow"))
break;
}
return (TQWidget*)superParent;
@@ -695,7 +695,7 @@ TQString KommanderWidget::handleDCOP(const int function, const TQStringList& arg
case DCOP::children:
{
TQStringList matching;
- TQObjectList* widgets = current->queryList(TQWIDGET_OBJECT_NAME_STRING, 0, false, args.count() == 0 || args[0] != "false");
+ TQObjectList* widgets = current->queryList("TQWidget", 0, false, args.count() == 0 || args[0] != "false");
for (TQObject* w = widgets->first(); w; w = widgets->next())
if (w->name() && (dynamic_cast<KommanderWidget*>(w)))
matching.append(w->name());
diff --git a/kommander/widget/myprocess.cpp b/kommander/widget/myprocess.cpp
index 45e64790..943589c7 100644
--- a/kommander/widget/myprocess.cpp
+++ b/kommander/widget/myprocess.cpp
@@ -85,9 +85,9 @@ TQString MyProcess::run(const TQString& a_command, const TQString& a_shell)
mProcess = new TDEProcess;
(*mProcess) << shellName.latin1();
- connect(mProcess, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(mProcess, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect(mProcess, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(mProcess, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotProcessExited(TDEProcess*)));
if(!mProcess->start(TDEProcess::NotifyOnExit, TDEProcess::All))
{
@@ -102,7 +102,7 @@ TQString MyProcess::run(const TQString& a_command, const TQString& a_shell)
else
{
TQWidget dummy(0, 0, WType_Dialog | WShowModal);
- dummy.setFocusPolicy(TQ_NoFocus);
+ dummy.setFocusPolicy(TQWidget::NoFocus);
m_loopStarted = true;
tqt_enter_modal(&dummy);
tqApp->enter_loop();
diff --git a/kommander/widget/myprocess.h b/kommander/widget/myprocess.h
index 039db894..aed080d9 100644
--- a/kommander/widget/myprocess.h
+++ b/kommander/widget/myprocess.h
@@ -28,7 +28,7 @@ class KommanderWidget;
class KOMMANDER_EXPORT MyProcess : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
MyProcess(const KommanderWidget *);
diff --git a/kommander/widgets/CMakeLists.txt b/kommander/widgets/CMakeLists.txt
new file mode 100644
index 00000000..a3e2d641
--- /dev/null
+++ b/kommander/widgets/CMakeLists.txt
@@ -0,0 +1,52 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kommanderwidgets (shared)
+
+tde_add_library( kommanderwidgets SHARED AUTOMOC
+
+ SOURCES
+ aboutdialog.cpp buttongroup.cpp
+ checkbox.cpp closebutton.cpp
+ combobox.cpp datepicker.cpp dialog.cpp
+ execbutton.cpp fileselector.cpp
+ fontdialog.cpp groupbox.cpp
+ konsole.cpp label.cpp
+ lineedit.cpp listbox.cpp
+ pixmaplabel.cpp plugin.cpp
+ popupmenu.cpp progressbar.cpp
+ radiobutton.cpp richtexteditor.cpp
+ scriptobject.cpp slider.cpp
+ spinboxint.cpp statusbar.cpp
+ subdialog.cpp table.cpp
+ tabwidget.cpp textbrowser.cpp
+ textedit.cpp timer.cpp
+ toolbox.cpp treewidget.cpp
+ wizard.cpp
+ LINK
+ tdeio-shared
+ kommanderwidget-shared
+ kommanderplugin-shared
+ kommanderfactory-static
+
+ DESTINATION ${LIB_INSTALL_DIR}
+
+ VERSION 0.0.0
+)
diff --git a/kommander/widgets/aboutdialog.cpp b/kommander/widgets/aboutdialog.cpp
index a9a8f77f..1ed4888e 100644
--- a/kommander/widgets/aboutdialog.cpp
+++ b/kommander/widgets/aboutdialog.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tqfile.h>
#include "aboutdialog.h"
@@ -37,7 +42,7 @@ enum Functions {
};
AboutDialog::AboutDialog(TQWidget *parent, const char *name)
- : TQLabel(parent, name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(parent, name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -119,8 +124,8 @@ void AboutDialog::initialize(const TQString& appName, const TQString &icon, cons
m_appName = appName;
m_icon = icon;
m_copyright = copyright;
- m_aboutData = new TDEAboutData(m_appName, m_appName, m_version);
- m_aboutData->setCopyrightStatement(m_copyright);
+ m_aboutData = new TDEAboutData(m_appName.utf8(), m_appName.utf8(), m_version.utf8());
+ m_aboutData->setCopyrightStatement(m_copyright.utf8());
if (!m_icon.isEmpty())
m_aboutData->setProgramLogo(TDEGlobal::iconLoader()->loadIcon(m_icon, TDEIcon::NoGroup, TDEIcon::SizeMedium).convertToImage());
}
@@ -133,7 +138,7 @@ void AboutDialog::addAuthor(const TQString& author, const TQString &task, const
m_emails.append(email);
m_tasks.append(task);
m_addresses.append(webAddress);
- m_aboutData->addAuthor(author, task, email, webAddress);
+ m_aboutData->addAuthor(author.utf8(), task.utf8(), email.utf8(), webAddress.utf8());
}
void AboutDialog::addTranslator(const TQString& author, const TQString& email)
@@ -142,7 +147,7 @@ void AboutDialog::addTranslator(const TQString& author, const TQString& email)
return;
m_authors.append(author);
m_emails.append(email);
- m_aboutData->setTranslator(author, email);
+ m_aboutData->setTranslator(author.utf8(), email.utf8());
}
void AboutDialog::setDescription(const TQString& description)
@@ -150,7 +155,7 @@ void AboutDialog::setDescription(const TQString& description)
if (!m_aboutData)
return;
m_description = description;
- m_aboutData->setShortDescription(m_description);
+ m_aboutData->setShortDescription(m_description.utf8());
}
void AboutDialog::setHomepage(const TQString &homepage)
@@ -158,7 +163,7 @@ void AboutDialog::setHomepage(const TQString &homepage)
if (!m_aboutData)
return;
m_homepage = homepage;
- m_aboutData->setHomepage(m_homepage);
+ m_aboutData->setHomepage(m_homepage.utf8());
}
void AboutDialog::setBugAddress(const TQString &bugAddress)
@@ -166,7 +171,7 @@ void AboutDialog::setBugAddress(const TQString &bugAddress)
if (!m_aboutData)
return;
m_bugaddress = bugAddress;
- m_aboutData->setBugAddress(m_bugaddress);
+ m_aboutData->setBugAddress(m_bugaddress.utf8());
}
void AboutDialog::setLicense(const TQString &key)
@@ -195,7 +200,7 @@ void AboutDialog::setLicense(const TQString &key)
{
if (!key.isEmpty())
m_license = key;
- m_aboutData->setLicenseText(m_license);
+ m_aboutData->setLicenseText(m_license.utf8());
}
else
{
@@ -204,9 +209,9 @@ void AboutDialog::setLicense(const TQString &key)
if (!key.isEmpty())
file = key;
}
- m_aboutData->setLicenseTextFile(file);
- }
-
+ m_aboutData->setLicenseTextFile(file.utf8());
+ }
+
}
void AboutDialog::setPopulationText(const TQString& a_text)
diff --git a/kommander/widgets/aboutdialog.h b/kommander/widgets/aboutdialog.h
index 440541c8..e15743c6 100644
--- a/kommander/widgets/aboutdialog.h
+++ b/kommander/widgets/aboutdialog.h
@@ -21,9 +21,9 @@ class TDEAboutData;
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class AboutDialog : public TQLabel, public KommanderWidget
+class KDE_EXPORT AboutDialog : public TQLabel, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(bool KommanderWidget READ isKommanderWidget)
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/buttongroup.cpp b/kommander/widgets/buttongroup.cpp
index 3d17b042..d598d64c 100644
--- a/kommander/widgets/buttongroup.cpp
+++ b/kommander/widgets/buttongroup.cpp
@@ -39,7 +39,7 @@ enum Functions {
};
ButtonGroup::ButtonGroup(TQWidget *a_parent, const char *a_name)
- : TQButtonGroup(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQButtonGroup(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "checked";
diff --git a/kommander/widgets/buttongroup.h b/kommander/widgets/buttongroup.h
index cf2aa882..d9f79a86 100644
--- a/kommander/widgets/buttongroup.h
+++ b/kommander/widgets/buttongroup.h
@@ -33,7 +33,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT ButtonGroup : public TQButtonGroup, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/checkbox.cpp b/kommander/widgets/checkbox.cpp
index 61ab0aff..f7fe20be 100644
--- a/kommander/widgets/checkbox.cpp
+++ b/kommander/widgets/checkbox.cpp
@@ -29,7 +29,7 @@
#include "checkbox.h"
CheckBox::CheckBox(TQWidget *a_parent, const char *a_name)
- : TQCheckBox(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQCheckBox(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "unchecked";
diff --git a/kommander/widgets/checkbox.h b/kommander/widgets/checkbox.h
index 6a740246..24713e9f 100644
--- a/kommander/widgets/checkbox.h
+++ b/kommander/widgets/checkbox.h
@@ -33,7 +33,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT CheckBox : public TQCheckBox, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/closebutton.cpp b/kommander/widgets/closebutton.cpp
index eeb2c79f..07fb7ed8 100644
--- a/kommander/widgets/closebutton.cpp
+++ b/kommander/widgets/closebutton.cpp
@@ -31,7 +31,7 @@
#include "closebutton.h"
CloseButton::CloseButton(TQWidget* a_parent, const char* a_name)
- : KPushButton(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KPushButton(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -39,16 +39,16 @@ CloseButton::CloseButton(TQWidget* a_parent, const char* a_name)
setDisplayStates(states);
setWriteStdout(true);
- connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(startProcess()));
+ connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(startProcess()));
- TQObject *parent = TQT_TQOBJECT(this);
+ TQObject *parent = this;
while (parent->parent() != 0)
{
parent = parent->parent();
- if (parent->inherits(TQDIALOG_OBJECT_NAME_STRING))
+ if (parent->inherits("TQDialog"))
break;
}
- connect(this, TQT_SIGNAL(clicked()), parent, TQT_SLOT(reject()));
+ connect(this, TQ_SIGNAL(clicked()), parent, TQ_SLOT(reject()));
}
CloseButton::~CloseButton()
@@ -105,10 +105,10 @@ void CloseButton::startProcess()
KShellProcess *process = new KShellProcess("/bin/sh");
*process << at;
- connect(process, TQT_SIGNAL(processExited(TDEProcess *)), TQT_SLOT(endProcess(TDEProcess *)));
- connect(process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQT_SLOT(appendOutput(TDEProcess *,
+ connect(process, TQ_SIGNAL(processExited(TDEProcess *)), TQ_SLOT(endProcess(TDEProcess *)));
+ connect(process, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQ_SLOT(appendOutput(TDEProcess *,
char *, int)));
- connect(process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQT_SLOT(appendOutput(TDEProcess *,
+ connect(process, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQ_SLOT(appendOutput(TDEProcess *,
char *, int)));
if (!process->start(TDEProcess::Block, TDEProcess::Stdout))
diff --git a/kommander/widgets/closebutton.h b/kommander/widgets/closebutton.h
index 975a3f46..96a5689a 100644
--- a/kommander/widgets/closebutton.h
+++ b/kommander/widgets/closebutton.h
@@ -32,7 +32,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT CloseButton : public KPushButton, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/combobox.cpp b/kommander/widgets/combobox.cpp
index 6ebb9c17..1bb99c2b 100644
--- a/kommander/widgets/combobox.cpp
+++ b/kommander/widgets/combobox.cpp
@@ -37,14 +37,14 @@ enum Functions {
ComboBox::ComboBox(TQWidget *a_parent, const char *a_name)
- : KComboBox(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KComboBox(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
setStates(states);
setDisplayStates(states);
- connect(this, TQT_SIGNAL(activated(int)), this, TQT_SLOT(emitWidgetTextChanged(int)));
+ connect(this, TQ_SIGNAL(activated(int)), this, TQ_SLOT(emitWidgetTextChanged(int)));
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(popupList, "popupList(TQString widget)", i18n("Make the ComboBox expose it's list without mousing around."), 1);
diff --git a/kommander/widgets/combobox.h b/kommander/widgets/combobox.h
index 70a4c2d7..c964667d 100644
--- a/kommander/widgets/combobox.h
+++ b/kommander/widgets/combobox.h
@@ -33,7 +33,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT ComboBox : public KComboBox, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/datepicker.cpp b/kommander/widgets/datepicker.cpp
index 64a064d3..6114f7f7 100644
--- a/kommander/widgets/datepicker.cpp
+++ b/kommander/widgets/datepicker.cpp
@@ -27,7 +27,7 @@
#include "datepicker.h"
DatePicker::DatePicker(TQWidget *a_parent, const char *a_name)
- : KDatePicker(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KDatePicker(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -76,13 +76,13 @@ void DatePicker::populate()
void DatePicker::setWidgetText(const TQString& a_text)
{
- setDate(TQDate::fromString(a_text, Qt::ISODate));
+ setDate(TQDate::fromString(a_text, TQt::ISODate));
emit widgetTextChanged(a_text);
}
TQString DatePicker::widgetText() const
{
- return date().toString(Qt::ISODate);
+ return date().toString(TQt::ISODate);
}
@@ -108,9 +108,9 @@ TQString DatePicker::handleDCOP(int function, const TQStringList& args)
{
switch (function) {
case DCOP::text:
- return date().toString(Qt::ISODate);
+ return date().toString(TQt::ISODate);
case DCOP::setText:
- setDate(TQDate::fromString(args[0], Qt::ISODate));
+ setDate(TQDate::fromString(args[0], TQt::ISODate));
break;
case DCOP::geometry:
{
diff --git a/kommander/widgets/datepicker.h b/kommander/widgets/datepicker.h
index aa9e81e9..ddfa3be9 100644
--- a/kommander/widgets/datepicker.h
+++ b/kommander/widgets/datepicker.h
@@ -33,7 +33,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT DatePicker : public KDatePicker, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/dialog.cpp b/kommander/widgets/dialog.cpp
index 4f73cedc..3c6ed20f 100644
--- a/kommander/widgets/dialog.cpp
+++ b/kommander/widgets/dialog.cpp
@@ -13,6 +13,15 @@
* (at your option) any later version. *
* *
***************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef KMDR_EXECUTOR_PATH
+#define KMDR_EXECUTOR_PATH "/usr/bin/kmdr-executor"
+#endif
+
/* KDE INCLUDES */
#include <tdelocale.h>
@@ -41,7 +50,7 @@ enum Functions {
};
Dialog::Dialog(TQWidget *a_parent, const char *a_name, bool a_modal, int a_flags)
- : TQDialog(a_parent, a_name, a_modal, a_flags), KommanderWindow(TQT_TQOBJECT(this))
+ : TQDialog(a_parent, a_name, a_modal, a_flags), KommanderWindow(this)
{
TQStringList states;
states << "default";
@@ -50,7 +59,7 @@ Dialog::Dialog(TQWidget *a_parent, const char *a_name, bool a_modal, int a_flags
setStates(states);
setDisplayStates(states);
m_useShebang = false;
- m_shebang = "#!/usr/bin/kmdr-executor";
+ m_shebang = "#!" KMDR_EXECUTOR_PATH;
m_firstShow = true;
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(D_focusWidget, "focusWidget(TQString widget)", i18n("The name of the widget having focus"), 1);
diff --git a/kommander/widgets/dialog.h b/kommander/widgets/dialog.h
index 9f34dd94..1859ed79 100644
--- a/kommander/widgets/dialog.h
+++ b/kommander/widgets/dialog.h
@@ -28,7 +28,7 @@
class TQShowEvent;
class KOMMANDER_EXPORT Dialog : public TQDialog, public KommanderWindow
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/execbutton.cpp b/kommander/widgets/execbutton.cpp
index fa535813..9ab99d1f 100644
--- a/kommander/widgets/execbutton.cpp
+++ b/kommander/widgets/execbutton.cpp
@@ -48,7 +48,7 @@ enum Functions {
};
ExecButton::ExecButton(TQWidget* a_parent, const char* a_name)
- : KPushButton(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KPushButton(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -56,7 +56,7 @@ ExecButton::ExecButton(TQWidget* a_parent, const char* a_name)
setDisplayStates(states);
setWriteStdout(true);
setBlockGUI(Button);
- connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(startProcess()));
+ connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(startProcess()));
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(EB_isOn, "isOn(TQString widget)", i18n("For use only when button is togle type."), 1);
@@ -120,13 +120,13 @@ void ExecButton::startProcess()
TDEApplication::setOverrideCursor(TQCursor(TQt::WaitCursor));
MyProcess* process = new MyProcess(this);
process->setBlocking(m_blockGUI == GUI);
- connect(process, TQT_SIGNAL(processExited(MyProcess*)), TQT_SLOT(processExited(MyProcess*)));
+ connect(process, TQ_SIGNAL(processExited(MyProcess*)), TQ_SLOT(processExited(MyProcess*)));
m_output = process->run(at);
if (m_blockGUI == GUI)
{
TDEApplication::restoreOverrideCursor();
if (writeStdout())
- cout << m_output << flush;
+ cout << m_output.local8Bit() << flush;
}
setEnabled(enabledStatus);
}
@@ -160,7 +160,7 @@ void ExecButton::processExited(MyProcess* p)
{
m_output = p->output();
if (writeStdout())
- cout << m_output << flush;
+ cout << m_output.local8Bit() << flush;
delete p;
}
}
diff --git a/kommander/widgets/execbutton.h b/kommander/widgets/execbutton.h
index 58fb7ef5..f866f8b2 100644
--- a/kommander/widgets/execbutton.h
+++ b/kommander/widgets/execbutton.h
@@ -35,7 +35,7 @@ class MyProcess;
class TQShowEvent;
class KOMMANDER_EXPORT ExecButton : public KPushButton, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_ENUMS(Blocking)
diff --git a/kommander/widgets/fileselector.cpp b/kommander/widgets/fileselector.cpp
index 9d6869a7..f562662c 100644
--- a/kommander/widgets/fileselector.cpp
+++ b/kommander/widgets/fileselector.cpp
@@ -35,7 +35,7 @@
#include "fileselector.h"
FileSelector::FileSelector(TQWidget * a_parent, const char *a_name)
- : TQWidget(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQWidget(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -54,7 +54,7 @@ FileSelector::FileSelector(TQWidget * a_parent, const char *a_name)
m_lineEdit->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
m_selectButton->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
- connect(m_selectButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(makeSelection()));
+ connect(m_selectButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(makeSelection()));
setSelectionType(Open);
setSelectionOpenMultiple(false);
diff --git a/kommander/widgets/fileselector.h b/kommander/widgets/fileselector.h
index ecdbf402..2f69c872 100644
--- a/kommander/widgets/fileselector.h
+++ b/kommander/widgets/fileselector.h
@@ -35,7 +35,7 @@ class KLineEdit;
class TQShowEvent;
class KOMMANDER_EXPORT FileSelector : public TQWidget, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/fontdialog.cpp b/kommander/widgets/fontdialog.cpp
index 419fc8d2..95c4fe82 100644
--- a/kommander/widgets/fontdialog.cpp
+++ b/kommander/widgets/fontdialog.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "fontdialog.h"
#include "kommanderplugin.h"
@@ -29,7 +34,7 @@ enum Functions {
};
FontDialog::FontDialog(TQWidget *parent, const char *name)
- : TQLabel(parent, name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(parent, name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/fontdialog.h b/kommander/widgets/fontdialog.h
index c9e9e7ba..dc9d7f7d 100644
--- a/kommander/widgets/fontdialog.h
+++ b/kommander/widgets/fontdialog.h
@@ -20,9 +20,9 @@
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class FontDialog : public TQLabel, public KommanderWidget
+class KDE_EXPORT FontDialog : public TQLabel, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
diff --git a/kommander/widgets/groupbox.cpp b/kommander/widgets/groupbox.cpp
index a90f447e..027168d8 100644
--- a/kommander/widgets/groupbox.cpp
+++ b/kommander/widgets/groupbox.cpp
@@ -32,7 +32,7 @@
GroupBox::GroupBox(TQWidget *a_parent, const char *a_name)
- : TQGroupBox(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQGroupBox(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -84,13 +84,13 @@ void GroupBox::populate()
void GroupBox::insertChild(TQObject *a_child)
{
m_childList.append(a_child);
- TQT_TQOBJECT(this)->TQObject::insertChild(a_child);
+ this->TQObject::insertChild(a_child);
}
void GroupBox::removeChild(TQObject *a_child)
{
m_childList.remove(a_child);
- TQT_TQOBJECT(this)->TQObject::removeChild(a_child);
+ this->TQObject::removeChild(a_child);
}
void GroupBox::showEvent( TQShowEvent *e )
diff --git a/kommander/widgets/groupbox.h b/kommander/widgets/groupbox.h
index aac0d9ce..33472edc 100644
--- a/kommander/widgets/groupbox.h
+++ b/kommander/widgets/groupbox.h
@@ -33,7 +33,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT GroupBox : public TQGroupBox, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/konsole.cpp b/kommander/widgets/konsole.cpp
index bbfc5309..dd4a955d 100644
--- a/kommander/widgets/konsole.cpp
+++ b/kommander/widgets/konsole.cpp
@@ -26,7 +26,7 @@
#include <myprocess.h>
Konsole::Konsole(TQWidget* a_parent, const char* a_name)
- : KTextEdit(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)), mSeenEOL(false), mProcess(0)
+ : KTextEdit(a_parent, a_name), KommanderWidget(this), mSeenEOL(false), mProcess(0)
{
TQStringList states;
states << "default";
@@ -87,8 +87,8 @@ void Konsole::execute()
mSeenEOL = false;
mProcess = new MyProcess(this);
mProcess->setBlocking(false);
- connect(mProcess, TQT_SIGNAL(processExited(MyProcess*)), TQT_SLOT(processExited(MyProcess*)));
- connect(mProcess, TQT_SIGNAL(processReceivedStdout(MyProcess*, char*, int)), TQT_SLOT(processReceivedStdout(MyProcess*, char*, int)));
+ connect(mProcess, TQ_SIGNAL(processExited(MyProcess*)), TQ_SLOT(processExited(MyProcess*)));
+ connect(mProcess, TQ_SIGNAL(processReceivedStdout(MyProcess*, char*, int)), TQ_SLOT(processReceivedStdout(MyProcess*, char*, int)));
setCursor(TQCursor(TQt::WaitCursor));
mProcess->run(at);
}
diff --git a/kommander/widgets/konsole.h b/kommander/widgets/konsole.h
index 9ab83525..5c2722e5 100644
--- a/kommander/widgets/konsole.h
+++ b/kommander/widgets/konsole.h
@@ -31,7 +31,7 @@ class MyProcess;
class KOMMANDER_EXPORT Konsole : public KTextEdit, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/label.cpp b/kommander/widgets/label.cpp
index 31d0adac..ee422325 100644
--- a/kommander/widgets/label.cpp
+++ b/kommander/widgets/label.cpp
@@ -26,7 +26,7 @@
#include "label.h"
Label::Label(TQWidget *a_parent, const char *a_name)
- : TQLabel(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/label.h b/kommander/widgets/label.h
index 8c0b2ed3..cd49dadd 100644
--- a/kommander/widgets/label.h
+++ b/kommander/widgets/label.h
@@ -32,7 +32,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT Label : public TQLabel, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/lineedit.cpp b/kommander/widgets/lineedit.cpp
index 7a01ae4e..f75526d9 100644
--- a/kommander/widgets/lineedit.cpp
+++ b/kommander/widgets/lineedit.cpp
@@ -31,15 +31,15 @@ enum functions {
};
LineEdit::LineEdit(TQWidget *a_parent, const char *a_name)
- : KLineEdit(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KLineEdit(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
setStates(states);
setDisplayStates(states);
- connect(this, TQT_SIGNAL(textChanged(const TQString &)), this,
- TQT_SIGNAL(widgetTextChanged(const TQString &)));
+ connect(this, TQ_SIGNAL(textChanged(const TQString &)), this,
+ TQ_SIGNAL(widgetTextChanged(const TQString &)));
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(LE_clearModified, "clearModified(TQString widget)", i18n("Clear widget modified status."), 1);
diff --git a/kommander/widgets/lineedit.h b/kommander/widgets/lineedit.h
index d56b3e30..581fa4cc 100644
--- a/kommander/widgets/lineedit.h
+++ b/kommander/widgets/lineedit.h
@@ -33,7 +33,7 @@ class TQShowEvent;
class KOMMANDER_EXPORT LineEdit : public KLineEdit, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/listbox.cpp b/kommander/widgets/listbox.cpp
index 5d067f9c..b1d465c6 100644
--- a/kommander/widgets/listbox.cpp
+++ b/kommander/widgets/listbox.cpp
@@ -30,7 +30,7 @@
#include "listbox.h"
ListBox::ListBox(TQWidget *a_parent, const char *a_name)
- : TDEListBox(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TDEListBox(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/listbox.h b/kommander/widgets/listbox.h
index 61932c64..9ced5462 100644
--- a/kommander/widgets/listbox.h
+++ b/kommander/widgets/listbox.h
@@ -33,7 +33,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT ListBox : public TDEListBox, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/pixmaplabel.cpp b/kommander/widgets/pixmaplabel.cpp
index a9298530..3d71ab1e 100644
--- a/kommander/widgets/pixmaplabel.cpp
+++ b/kommander/widgets/pixmaplabel.cpp
@@ -31,7 +31,7 @@
#include "pixmaplabel.h"
PixmapLabel::PixmapLabel(TQWidget *a_parent, const char *a_name)
- : TQLabel(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/pixmaplabel.h b/kommander/widgets/pixmaplabel.h
index 35538be1..3fbf08fe 100644
--- a/kommander/widgets/pixmaplabel.h
+++ b/kommander/widgets/pixmaplabel.h
@@ -33,7 +33,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT PixmapLabel : public TQLabel, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
diff --git a/kommander/widgets/popupmenu.cpp b/kommander/widgets/popupmenu.cpp
index 343526ae..b24e5956 100644
--- a/kommander/widgets/popupmenu.cpp
+++ b/kommander/widgets/popupmenu.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "popupmenu.h"
#include "specials.h"
@@ -33,7 +38,7 @@
#define LAST_FUNCTION INSERTSUBMENU
PopupMenu::PopupMenu(TQWidget *parent, const char *name)
- : TQLabel(parent, name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(parent, name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -50,7 +55,7 @@ PopupMenu::PopupMenu(TQWidget *parent, const char *name)
setHidden(true);
m_menu = new TDEPopupMenu(this);
- connect(m_menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMenuItemActivated(int)));
+ connect(m_menu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotMenuItemActivated(int)));
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(INSERTMENUITEM, "insertMenuItem(TQString widget, TQString text, TQString executeWidget, int index, TQString icon)", i18n("Insert an item into the popup menu. The executeWidget's execute method will be run when this item is selected. Returns the id of the inserted item. Use -1 for index to insert to the end. The icon is optional."), 4, 5);
diff --git a/kommander/widgets/popupmenu.h b/kommander/widgets/popupmenu.h
index 7d691ff0..4f1b08d4 100644
--- a/kommander/widgets/popupmenu.h
+++ b/kommander/widgets/popupmenu.h
@@ -22,9 +22,9 @@ class TDEPopupMenu;
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class PopupMenu : public TQLabel, public KommanderWidget
+class KDE_EXPORT PopupMenu : public TQLabel, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
diff --git a/kommander/widgets/progressbar.cpp b/kommander/widgets/progressbar.cpp
index 111ffe9f..88e253e9 100644
--- a/kommander/widgets/progressbar.cpp
+++ b/kommander/widgets/progressbar.cpp
@@ -36,7 +36,7 @@ enum Functions {
};
ProgressBar::ProgressBar(TQWidget *a_parent, const char *a_name)
- : KProgress(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KProgress(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/progressbar.h b/kommander/widgets/progressbar.h
index 7570b681..9532e139 100644
--- a/kommander/widgets/progressbar.h
+++ b/kommander/widgets/progressbar.h
@@ -32,7 +32,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT ProgressBar: public KProgress, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/radiobutton.cpp b/kommander/widgets/radiobutton.cpp
index d6306c80..ba46248d 100644
--- a/kommander/widgets/radiobutton.cpp
+++ b/kommander/widgets/radiobutton.cpp
@@ -28,7 +28,7 @@
#include "radiobutton.h"
RadioButton::RadioButton(TQWidget *a_parent, const char *a_name)
- : TQRadioButton(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQRadioButton(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "unchecked";
diff --git a/kommander/widgets/radiobutton.h b/kommander/widgets/radiobutton.h
index 2870a230..15f18a78 100644
--- a/kommander/widgets/radiobutton.h
+++ b/kommander/widgets/radiobutton.h
@@ -32,7 +32,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT RadioButton : public TQRadioButton, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/richtexteditor.cpp b/kommander/widgets/richtexteditor.cpp
index 3233ea8f..33127372 100644
--- a/kommander/widgets/richtexteditor.cpp
+++ b/kommander/widgets/richtexteditor.cpp
@@ -43,7 +43,7 @@
#include "pixmaps/textright.xpm"
RichTextEditor::RichTextEditor(TQWidget *a_parent, const char *a_name)
- : TQWidget(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQWidget(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
@@ -84,15 +84,15 @@ RichTextEditor::RichTextEditor(TQWidget *a_parent, const char *a_name)
m_buttonTextBold = new TQToolButton(m_formatGroup, "textBold");
m_buttonTextBold->setPixmap(TQPixmap((const char **)bold_xpm));
m_buttonTextBold->setToggleButton(true);
- connect(m_buttonTextBold, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(textBold(bool)));
+ connect(m_buttonTextBold, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(textBold(bool)));
m_buttonTextItalic = new TQToolButton(m_formatGroup, "textItalic");
m_buttonTextItalic->setPixmap(TQPixmap((const char **)italic_xpm));
m_buttonTextItalic->setToggleButton(true);
- connect(m_buttonTextItalic, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(textItalic(bool)));
+ connect(m_buttonTextItalic, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(textItalic(bool)));
m_buttonTextUnder = new TQToolButton(m_formatGroup, "textUnder");
m_buttonTextUnder->setPixmap(TQPixmap((const char **)under_xpm));
m_buttonTextUnder->setToggleButton(true);
- connect(m_buttonTextUnder, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(textUnder(bool)));
+ connect(m_buttonTextUnder, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(textUnder(bool)));
m_buttonTextLeft = new TQToolButton(m_alignGroup, "textLeft");
m_buttonTextLeft->setPixmap(TQPixmap((const char **)left_xpm));
@@ -104,11 +104,11 @@ RichTextEditor::RichTextEditor(TQWidget *a_parent, const char *a_name)
m_buttonTextRight->setPixmap(TQPixmap((const char **)right_xpm));
m_buttonTextRight->setToggleButton(true);
- connect(m_alignGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(textAlign(int)));
- connect(m_textedit, TQT_SIGNAL(currentFontChanged(const TQFont &)), this, TQT_SLOT(fontChanged(const TQFont &)));
- connect(m_textedit, TQT_SIGNAL(currentAlignmentChanged(int)), this, TQT_SLOT(alignmentChanged(int)));
+ connect(m_alignGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(textAlign(int)));
+ connect(m_textedit, TQ_SIGNAL(currentFontChanged(const TQFont &)), this, TQ_SLOT(fontChanged(const TQFont &)));
+ connect(m_textedit, TQ_SIGNAL(currentAlignmentChanged(int)), this, TQ_SLOT(alignmentChanged(int)));
- connect(m_textedit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(setTextChanged()));
+ connect(m_textedit, TQ_SIGNAL(textChanged()), this, TQ_SLOT(setTextChanged()));
}
diff --git a/kommander/widgets/richtexteditor.h b/kommander/widgets/richtexteditor.h
index b7fd1540..79119f94 100644
--- a/kommander/widgets/richtexteditor.h
+++ b/kommander/widgets/richtexteditor.h
@@ -36,7 +36,7 @@ class TQHButtonGroup;
class TQShowEvent;
class KOMMANDER_EXPORT RichTextEditor : public TQWidget, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/scriptobject.cpp b/kommander/widgets/scriptobject.cpp
index 514c4ae5..2b444471 100644
--- a/kommander/widgets/scriptobject.cpp
+++ b/kommander/widgets/scriptobject.cpp
@@ -30,7 +30,7 @@
#include <specials.h>
ScriptObject::ScriptObject(TQWidget *a_parent, const char *a_name)
- : TQLabel(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/scriptobject.h b/kommander/widgets/scriptobject.h
index 2a954f2d..9d427351 100644
--- a/kommander/widgets/scriptobject.h
+++ b/kommander/widgets/scriptobject.h
@@ -28,7 +28,7 @@
class KOMMANDER_EXPORT ScriptObject : public TQLabel, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/slider.cpp b/kommander/widgets/slider.cpp
index b8068ede..8c7d06bf 100644
--- a/kommander/widgets/slider.cpp
+++ b/kommander/widgets/slider.cpp
@@ -23,7 +23,7 @@
#include "slider.h"
Slider::Slider(TQWidget * a_parent, const char *a_name)
- : TQSlider(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQSlider(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/slider.h b/kommander/widgets/slider.h
index 517f00e9..4bb1f1e3 100644
--- a/kommander/widgets/slider.h
+++ b/kommander/widgets/slider.h
@@ -29,7 +29,7 @@
class TQShowEvent;
class KOMMANDER_EXPORT Slider: public TQSlider, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
diff --git a/kommander/widgets/spinboxint.cpp b/kommander/widgets/spinboxint.cpp
index 72991376..a2b9af6a 100644
--- a/kommander/widgets/spinboxint.cpp
+++ b/kommander/widgets/spinboxint.cpp
@@ -28,7 +28,7 @@
#include "spinboxint.h"
SpinBoxInt::SpinBoxInt(TQWidget *a_parent, const char *a_name)
- : TQSpinBox(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQSpinBox(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/spinboxint.h b/kommander/widgets/spinboxint.h
index 777ee291..93b75813 100644
--- a/kommander/widgets/spinboxint.h
+++ b/kommander/widgets/spinboxint.h
@@ -32,7 +32,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT SpinBoxInt : public TQSpinBox, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/statusbar.cpp b/kommander/widgets/statusbar.cpp
index 3c5e76f5..0a3a249f 100644
--- a/kommander/widgets/statusbar.cpp
+++ b/kommander/widgets/statusbar.cpp
@@ -27,7 +27,7 @@
#include "statusbar.h"
StatusBar::StatusBar(TQWidget *a_parent, const char *a_name)
- : KStatusBar(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KStatusBar(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/statusbar.h b/kommander/widgets/statusbar.h
index f7e8f139..91fbe0b6 100644
--- a/kommander/widgets/statusbar.h
+++ b/kommander/widgets/statusbar.h
@@ -32,7 +32,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT StatusBar : public KStatusBar, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/subdialog.cpp b/kommander/widgets/subdialog.cpp
index 47e4ec69..66c8770b 100644
--- a/kommander/widgets/subdialog.cpp
+++ b/kommander/widgets/subdialog.cpp
@@ -32,14 +32,14 @@
#include "subdialog.h"
SubDialog::SubDialog(TQWidget *a_parent, const char *a_name)
- : TQPushButton(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)), m_dialog(0)
+ : TQPushButton(a_parent, a_name), KommanderWidget(this), m_dialog(0)
{
TQStringList states;
states << "default";
setStates(states);
setDisplayStates(states);
- connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(showDialog()));
+ connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(showDialog()));
}
@@ -103,7 +103,7 @@ void SubDialog::showDialog()
if(!m_dialog)
{
kdWarning() << "Creation of sub dialog failed .." << endl;
- connect(m_dialog, TQT_SIGNAL(finished()), this, TQT_SLOT(slotFinished()));
+ connect(m_dialog, TQ_SIGNAL(finished()), this, TQ_SLOT(slotFinished()));
m_dialog->exec();
}
diff --git a/kommander/widgets/subdialog.h b/kommander/widgets/subdialog.h
index bbf07e21..7f742c51 100644
--- a/kommander/widgets/subdialog.h
+++ b/kommander/widgets/subdialog.h
@@ -33,7 +33,7 @@ class TQDialog;
class TQShowEvent;
class KOMMANDER_EXPORT SubDialog : public TQPushButton, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/table.cpp b/kommander/widgets/table.cpp
index 49ea5c19..6a8abc4b 100644
--- a/kommander/widgets/table.cpp
+++ b/kommander/widgets/table.cpp
@@ -48,7 +48,7 @@ enum Functions {
Table::Table(TQWidget *a_parent, const char *a_name)
- : TQTable(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQTable(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -57,11 +57,11 @@ Table::Table(TQWidget *a_parent, const char *a_name)
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(TBL_sortColumnExtra, "sortColumnExtra(TQString widget, int col, bool ascending, bool wholeRows)", i18n("Sets a column to sort ascending or descending. Optionally can sort with rows intact for database use."), 2, 4);
KommanderPlugin::registerFunction(TBL_keepCellVisible, "keepCellVisible(TQString widget, int row, int col)", i18n("Scrolls the table so the cell indicated is visible."), 3);
- KommanderPlugin::registerFunction(TBL_selectCells, "selectCells(TQString widget, int row, int col, int row, int col)", i18n("Select cells using the upper left and lower right cell addresses<br /><b>Not guaranteed to have KDE4 compatiblility</b>"), 5);
+ KommanderPlugin::registerFunction(TBL_selectCells, "selectCells(TQString widget, int row, int col, int row, int col)", i18n("Select cells using the upper left and lower right cell addresses"), 5);
KommanderPlugin::registerFunction(TBL_selectRow, "selectRow(TQString widget, int row)", i18n("Select the row with the zero based index."), 2);
- KommanderPlugin::registerFunction(TBL_selectColumn, "selectColumn(TQString widget, int col)", i18n("Select the column with the zero based index.<br /><b>Not guaranteed to have KDE4 compatiblility</b>"), 2);
- KommanderPlugin::registerFunction(TBL_setColumnReadOnly, "setColumnReadOnly(TQString widget, int col, bool Readonly)", i18n("Set the column read only using zero based index.<br /><b>Not guaranteed to have KDE4 compatiblility</b>"), 3);
- KommanderPlugin::registerFunction(TBL_setRowReadOnly, "setRowReadOnly(TQString widget, int row, bool Readonly)", i18n("Set the row read only using zero based index.<br /><b>Not guaranteed to have KDE4 compatiblility</b>"), 3);
+ KommanderPlugin::registerFunction(TBL_selectColumn, "selectColumn(TQString widget, int col)", i18n("Select the column with the zero based index."), 2);
+ KommanderPlugin::registerFunction(TBL_setColumnReadOnly, "setColumnReadOnly(TQString widget, int col, bool Readonly)", i18n("Set the column read only using zero based index."), 3);
+ KommanderPlugin::registerFunction(TBL_setRowReadOnly, "setRowReadOnly(TQString widget, int row, bool Readonly)", i18n("Set the row read only using zero based index."), 3);
KommanderPlugin::registerFunction(TBL_rowCount, "rowCount(TQString widget)", i18n("Returns the number of rows of the table"), 1);
KommanderPlugin::registerFunction(TBL_colHeader, "columnHeader(TQString widget, int Column)", i18n("Returns the text of the header for the column index"), 2);
KommanderPlugin::registerFunction(TBL_rowHeader, "rowHeader(TQString widget, int Row)", i18n("Returns the text of the header for the row index"), 2);
@@ -131,7 +131,7 @@ void Table::setCellWidget(int row, int col, const TQString & _widgetName)
KommanderWidget *w = widgetByName(_widgetName);
if (w)
{
- TQWidget *widget = TQT_TQWIDGET(w->object());
+ TQWidget *widget = static_cast<TQWidget*>(w->object());
if (TQTable::cellWidget(row, col) != widget)
{
setCurrentCell(-1, -1); //hack to not delete the cellwidget after clicking away to another cell.
diff --git a/kommander/widgets/table.h b/kommander/widgets/table.h
index 3a95b483..21f3dc58 100644
--- a/kommander/widgets/table.h
+++ b/kommander/widgets/table.h
@@ -30,7 +30,7 @@ class TQWidget;
class KOMMANDER_EXPORT Table : public TQTable, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/tabwidget.cpp b/kommander/widgets/tabwidget.cpp
index 7180a7d0..b4116fe3 100644
--- a/kommander/widgets/tabwidget.cpp
+++ b/kommander/widgets/tabwidget.cpp
@@ -44,7 +44,7 @@ enum Functions {
};
TabWidget::TabWidget(TQWidget *a_parent, const char *a_name, int a_flags)
- : TQTabWidget(a_parent, a_name, a_flags), KommanderWidget(TQT_TQOBJECT(this))
+ : TQTabWidget(a_parent, a_name, a_flags), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/tabwidget.h b/kommander/widgets/tabwidget.h
index 818879ec..6eb0747a 100644
--- a/kommander/widgets/tabwidget.h
+++ b/kommander/widgets/tabwidget.h
@@ -27,7 +27,7 @@
class TQShowEvent;
class KOMMANDER_EXPORT TabWidget : public TQTabWidget, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/textbrowser.cpp b/kommander/widgets/textbrowser.cpp
index 9e466c5e..5a6e1576 100644
--- a/kommander/widgets/textbrowser.cpp
+++ b/kommander/widgets/textbrowser.cpp
@@ -35,7 +35,7 @@ enum Functions {
};
TextBrowser::TextBrowser(TQWidget * a_parent, const char *a_name)
- : KTextBrowser(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : KTextBrowser(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -121,7 +121,7 @@ TQString TextBrowser::handleDCOP(int function, const TQStringList& args)
case DCOP::selection:
return selectedText();
case TBR_setNotifyClick:
- KTextBrowser::setNotifyClick(args[0]);
+ KTextBrowser::setNotifyClick(args[0].utf8());
break;
case TBR_isNotifyClick:
return TQString::number(KTextBrowser::isNotifyClick());
diff --git a/kommander/widgets/textbrowser.h b/kommander/widgets/textbrowser.h
index 18c99712..f134891a 100644
--- a/kommander/widgets/textbrowser.h
+++ b/kommander/widgets/textbrowser.h
@@ -29,7 +29,7 @@
class TQShowEvent;
class KOMMANDER_EXPORT TextBrowser: public KTextBrowser, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
diff --git a/kommander/widgets/textedit.cpp b/kommander/widgets/textedit.cpp
index aa2b7c9d..ad5f06d9 100644
--- a/kommander/widgets/textedit.cpp
+++ b/kommander/widgets/textedit.cpp
@@ -43,14 +43,14 @@ enum Functions {
};
TextEdit::TextEdit(TQWidget * a_parent, const char *a_name):KTextEdit(a_parent, a_name),
-KommanderWidget(TQT_TQOBJECT(this))
+KommanderWidget(this)
{
TQStringList states;
states << "default";
setStates(states);
setDisplayStates(states);
- connect(this, TQT_SIGNAL(textChanged()), this, TQT_SLOT(setTextChanged()));
+ connect(this, TQ_SIGNAL(textChanged()), this, TQ_SLOT(setTextChanged()));
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(TE_setModified, "setModified(TQString widget, bool Modified)", i18n("Set widget modified status."), 1);
diff --git a/kommander/widgets/textedit.h b/kommander/widgets/textedit.h
index a1713fd9..d445d563 100644
--- a/kommander/widgets/textedit.h
+++ b/kommander/widgets/textedit.h
@@ -31,7 +31,7 @@
class TQShowEvent;
class KOMMANDER_EXPORT TextEdit: public KTextEdit, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
diff --git a/kommander/widgets/timer.cpp b/kommander/widgets/timer.cpp
index b91d0eb5..ea39706c 100644
--- a/kommander/widgets/timer.cpp
+++ b/kommander/widgets/timer.cpp
@@ -38,7 +38,7 @@ enum Functions {
};
Timer::Timer(TQWidget *a_parent, const char *a_name)
- : TQLabel(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -57,7 +57,7 @@ Timer::Timer(TQWidget *a_parent, const char *a_name)
mTimer = new TQTimer(this);
setInterval(5000);
setSingleShot(false);
- connect(mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
+ connect(mTimer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()));
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(SetInterval, "setInterval(TQString widget, int interval)", i18n("Set the timer timeout interval in ms."), 2);
@@ -148,7 +148,7 @@ void Timer::timeout()
void Timer::execute()
{
if (mSingleShot)
- TQTimer::singleShot(mInterval, this, TQT_SLOT(timeout()));
+ TQTimer::singleShot(mInterval, this, TQ_SLOT(timeout()));
else
mTimer->start(mInterval);
}
diff --git a/kommander/widgets/timer.h b/kommander/widgets/timer.h
index fa3523ad..d53550a9 100644
--- a/kommander/widgets/timer.h
+++ b/kommander/widgets/timer.h
@@ -26,7 +26,7 @@
class TQTimer;
class KOMMANDER_EXPORT Timer : public TQLabel, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/toolbox.cpp b/kommander/widgets/toolbox.cpp
index 6dfc8b89..0bebe1bb 100644
--- a/kommander/widgets/toolbox.cpp
+++ b/kommander/widgets/toolbox.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "toolbox.h"
#include "kommanderplugin.h"
#include "specials.h"
@@ -28,7 +33,7 @@
#define LAST_FUNCTION INDEXOF
ToolBox::ToolBox(TQWidget *parent, const char *name)
- : TQToolBox(parent, name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQToolBox(parent, name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/toolbox.h b/kommander/widgets/toolbox.h
index 1d253c90..a80b8d9f 100644
--- a/kommander/widgets/toolbox.h
+++ b/kommander/widgets/toolbox.h
@@ -18,9 +18,10 @@
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class ToolBox : public TQToolBox, public KommanderWidget
+
+class KDE_EXPORT ToolBox : public TQToolBox, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
diff --git a/kommander/widgets/treewidget.cpp b/kommander/widgets/treewidget.cpp
index 15949534..c2d6f87a 100644
--- a/kommander/widgets/treewidget.cpp
+++ b/kommander/widgets/treewidget.cpp
@@ -55,7 +55,7 @@ enum Functions {
};
TreeWidget::TreeWidget(TQWidget *a_parent, const char *a_name)
- : TDEListView(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TDEListView(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
diff --git a/kommander/widgets/treewidget.h b/kommander/widgets/treewidget.h
index 291a254e..e3bb7f4f 100644
--- a/kommander/widgets/treewidget.h
+++ b/kommander/widgets/treewidget.h
@@ -34,7 +34,7 @@ class TQWidget;
class TQShowEvent;
class KOMMANDER_EXPORT TreeWidget : public TDEListView, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/widgets/widgets.desktop b/kommander/widgets/widgets.desktop
index f24396de..e0ac75a9 100644
--- a/kommander/widgets/widgets.desktop
+++ b/kommander/widgets/widgets.desktop
@@ -1,36 +1,6 @@
[Desktop Entry]
Name=Widgets
-Name[bg]=Графични обекти
-Name[br]=Widgetoù
-Name[ca]=Estris
-Name[cs]=Widgety
-Name[cy]=Celfigion
-Name[da]=Kontroller
-Name[el]=Γραφικά συστατικά
-Name[et]=Elemendid
-Name[fa]=عناصر
-Name[fi]=Elementit
-Name[fr]=Éléments graphiques
-Name[ga]=Giuirléidí
-Name[hi]=विजेट्स
-Name[hu]=Grafikai elemek
-Name[ja]=ウィジェット
-Name[lt]=Valdikliai
-Name[ms]=Wijet
-Name[ne]=विजेट
-Name[pl]=Elementy interfejsu
-Name[pt]=Elementos
-Name[pt_BR]=Janelas
-Name[ru]=Виджеты
-Name[sl]=Gradniki
-Name[sr]=Контроле
-Name[sr@Latn]=Kontrole
-Name[sv]=Grafiska komponenter
-Name[ta]=சின்னப் படங்கள்
-Name[tg]=Васеъкуниҳо
-Name[tr]=Bileşenler
-Name[uk]=Віджети
-Name[zh_CN]=部件
-Exec=widgets %i %m -caption "%c"
+
Type=Application
+Exec=widgets %i %m -caption "%c"
Terminal=false
diff --git a/kommander/widgets/wizard.cpp b/kommander/widgets/wizard.cpp
index 797ed009..0ae537de 100644
--- a/kommander/widgets/wizard.cpp
+++ b/kommander/widgets/wizard.cpp
@@ -32,7 +32,7 @@
Wizard::Wizard(TQWidget *a_parent, const char *a_name, bool a_modal, int a_flags)
- : TQWizard(a_parent, a_name, a_modal, a_flags), KommanderWidget(TQT_TQOBJECT(this))
+ : TQWizard(a_parent, a_name, a_modal, a_flags), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -41,7 +41,7 @@ Wizard::Wizard(TQWidget *a_parent, const char *a_name, bool a_modal, int a_flags
setStates(states);
setDisplayStates(states);
- connect(this, TQT_SIGNAL(helpClicked()), TQT_SLOT(runHelp()));
+ connect(this, TQ_SIGNAL(helpClicked()), TQ_SLOT(runHelp()));
}
Wizard::~Wizard()
diff --git a/kommander/widgets/wizard.h b/kommander/widgets/wizard.h
index d8bbab45..7b3b6fdf 100644
--- a/kommander/widgets/wizard.h
+++ b/kommander/widgets/wizard.h
@@ -29,7 +29,7 @@
class TQShowEvent;
class KOMMANDER_EXPORT Wizard : public TQWizard, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/working/CMakeLists.txt b/kommander/working/CMakeLists.txt
new file mode 100644
index 00000000..d03e032a
--- /dev/null
+++ b/kommander/working/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_subdirectory( plugintemplate )
+
+install(
+ PROGRAMS kmdr2po extractkmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kommander/translating
+)
diff --git a/kommander/working/plugintemplate/CMakeLists.txt b/kommander/working/plugintemplate/CMakeLists.txt
new file mode 100644
index 00000000..1d4f4aac
--- /dev/null
+++ b/kommander/working/plugintemplate/CMakeLists.txt
@@ -0,0 +1,17 @@
+##### other data
+
+install(
+ FILES kommanderplugin.png
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard
+)
+
+install(
+ FILES kommanderplugin.tdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates
+)
+
+tde_create_tarball(
+ TARGET kommanderplugin.tar.gz
+ FILES src-Makefile.am plugin.cpp widget.h widget.cpp app.tdevelop
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard
+)
diff --git a/kommander/working/plugintemplate/widget.h b/kommander/working/plugintemplate/widget.h
index c07c78cf..328ebe3b 100644
--- a/kommander/working/plugintemplate/widget.h
+++ b/kommander/working/plugintemplate/widget.h
@@ -14,7 +14,7 @@ class TQStringList;
//replace TQWidget with the widget you want to derive from
class %{APPNAME}: public TQWidget, public KommanderWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
diff --git a/kommander/x-kommander.desktop b/kommander/x-kommander.desktop
index 656cad13..ea0a716b 100644
--- a/kommander/x-kommander.desktop
+++ b/kommander/x-kommander.desktop
@@ -1,50 +1,8 @@
[Desktop Entry]
Comment=Kommander File
-Comment[bg]=Файл на Kommander
-Comment[br]=Restr Kommander
-Comment[ca]=Fitxer de Kommander
-Comment[cs]=Soubor Kommanderu
-Comment[da]=Kommander-fil
-Comment[de]=Kommander-Datei
-Comment[el]=Αρχείο Kommander
-Comment[es]=Archivo de Kommander
-Comment[et]=Kommanderi fail
-Comment[eu]=Kommander fitxategiak
-Comment[fa]=پروندۀ Kommander
-Comment[fi]=Komentotiedosto
-Comment[fr]=Fichier de Kommander
-Comment[ga]=Comhad Kommander
-Comment[gl]=Ficheiro de Kommander
-Comment[hi]=कमांडर फ़ाइल
-Comment[hu]=Kommander-fájl
-Comment[is]=Kommander skrá
-Comment[it]=File di Kommander
-Comment[ja]=Kommander ファイル
-Comment[ka]=Kommander-ის ფაილი
-Comment[lt]=Kommander byla
-Comment[ms]=Fail Kommander
-Comment[nds]=Kommander-Datei
-Comment[ne]=आदेश फाइल
-Comment[nl]=Kommander-dialoogbestand
-Comment[pa]=Kommander ਫਾਇਲ
-Comment[pl]=Plik Kommandera
-Comment[pt]=Ficheiro do Kommander
-Comment[pt_BR]=Arquivo do Kommander
-Comment[ru]=Файл Kommander
-Comment[sk]=Kommander súbor
-Comment[sl]=Datoteka Kommanderja
-Comment[sr]=Kommander-ов фајл
-Comment[sr@Latn]=Kommander-ov fajl
-Comment[sv]=Kommander-fil
-Comment[ta]=Kகட்டளை கோப்பு
-Comment[tg]=Файли Kommander
-Comment[tr]=Kommander Dosyası
-Comment[uk]=Файл Kommander
-Comment[zh_CN]=Kommander 文件
-Comment[zh_HK]=Kommander 檔案
-Comment[zh_TW]=Kommander 檔案
-Icon=application-x-designer
+
Type=MimeType
+Icon=application-x-designer
MimeType=application/x-kommander
Patterns=*.kmdr;
X-TDE-IsAlso=application/x-executable-script
@@ -52,4 +10,3 @@ X-TDE-IsAlso=application/x-executable-script
[Property::X-TDE-text]
Type=bool
Value=true
-
diff --git a/kxsldbg/CMakeL10n.txt b/kxsldbg/CMakeL10n.txt
index c758693d..41cee94b 100644
--- a/kxsldbg/CMakeL10n.txt
+++ b/kxsldbg/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kxsldbg" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kxsldbg-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kxsldbg/CMakeLists.txt b/kxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..ca9a1df0
--- /dev/null
+++ b/kxsldbg/CMakeLists.txt
@@ -0,0 +1,91 @@
+#add_subdirectory( data )
+add_subdirectory( kxsldbgpart )
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+ ${READLINE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kxsldbg (executable)
+
+tde_add_executable( kxsldbg AUTOMOC
+
+ SOURCES
+ kxsldbg.cpp
+ main.cpp
+ kxsldbgif.skel
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ tqtnotfier-static
+ kxsldbgcommon-static
+ xsldbg-static
+ ${READLINE_LIBRARIES}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### xsldbg (executable)
+
+tde_add_executable( xsldbg AUTOMOC
+
+ SOURCES
+ xsldbgmain.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ xsldbg-static
+ ${READLINE_LIBRARIES}
+
+ DEPENDENCIES
+ xsldbg-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( kxsldbg )
+
+
+##### other data
+
+install(
+ FILES kxsldbg_shell.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kxsldbg
+)
+
+tde_create_translated_desktop(
+ SOURCE xsldbg.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden
+ PO_DIR kxsldbg-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE kxsldbg.desktop
+ PO_DIR kxsldbg-desktops
+)
diff --git a/kxsldbg/data/test2.xml b/kxsldbg/data/test2.xml
index 80bf77a7..944b6f47 100644
--- a/kxsldbg/data/test2.xml
+++ b/kxsldbg/data/test2.xml
@@ -15,16 +15,3 @@
<data name="pebbles"/>
<extra name="wilma"/>
</result>
-
-
-
-<!-- initialization code for xemacs -->
-<!--
-Local Variables:
-mode: sgml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
--->
diff --git a/kxsldbg/data/test3.xml b/kxsldbg/data/test3.xml
index 706321e4..daf42308 100644
--- a/kxsldbg/data/test3.xml
+++ b/kxsldbg/data/test3.xml
@@ -14,16 +14,3 @@
<data>3</data>
<extra/>
</result>
-
-
-
-<!-- initialization code for xemacs -->
-<!--
-Local Variables:
-mode: sgml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
--->
diff --git a/kxsldbg/data/test4.xml b/kxsldbg/data/test4.xml
index 437ca18e..b10b601d 100644
--- a/kxsldbg/data/test4.xml
+++ b/kxsldbg/data/test4.xml
@@ -12,16 +12,3 @@
<data/>
<extra/>
</result>
-
-
-
-<!-- initialization code for xemacs -->
-<!--
-Local Variables:
-mode: sgml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
--->
diff --git a/kxsldbg/data/testdoc.xml b/kxsldbg/data/testdoc.xml
index 894fbbfe..b6f068d7 100644
--- a/kxsldbg/data/testdoc.xml
+++ b/kxsldbg/data/testdoc.xml
@@ -19,15 +19,3 @@
&anotherDoc3;
&anotherDoc4;
</simple>
-
-
-<!-- initialization code for xemacs -->
-<!--
-Local Variables:
-mode: sgml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
--->
diff --git a/kxsldbg/kxsldbg.cpp b/kxsldbg/kxsldbg.cpp
index f4de889b..aaeca1fd 100644
--- a/kxsldbg/kxsldbg.cpp
+++ b/kxsldbg/kxsldbg.cpp
@@ -42,7 +42,7 @@ KXsldbg::KXsldbg()
{
// now that the Part is loaded, we cast it to a Part to get
// our hands on it
- m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(TQT_TQOBJECT(this),
+ m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(this,
"kxsldbg_part", "KParts::ReadOnlyPart" ));
if (m_part)
@@ -64,8 +64,8 @@ KXsldbg::KXsldbg()
(menuBar()->findItem(mbar->idAt(mbar->count()-1))->popup());
if (help_menu)
{
- help_menu->insertItem(SmallIconSet("contents"), i18n("&XSLDbg Handbook"), TQT_TQOBJECT(this),
- TQT_SLOT(showXSLDbgHelp()), 0, -1, 1);
+ help_menu->insertItem(SmallIconSet("contents"), i18n("&XSLDbg Handbook"), this,
+ TQ_SLOT(showXSLDbgHelp()), 0, -1, 1);
}
}
}
@@ -102,14 +102,14 @@ bool KXsldbg::closeURL()
void KXsldbg::setupActions()
{
- TDEAction *act = KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection());
- connect(act, TQT_SIGNAL(activated()), this, TQT_SLOT(quit()));
+ TDEAction *act = KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection());
+ connect(act, TQ_SIGNAL(activated()), this, TQ_SLOT(quit()));
- m_toolbarAction = KStdAction::showToolbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowToolbar()), actionCollection());
- m_statusbarAction = KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowStatusbar()), actionCollection());
+ m_toolbarAction = KStdAction::showToolbar(this, TQ_SLOT(optionsShowToolbar()), actionCollection());
+ m_statusbarAction = KStdAction::showStatusbar(this, TQ_SLOT(optionsShowStatusbar()), actionCollection());
- KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection());
- KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()), actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()), actionCollection());
}
void KXsldbg::saveProperties(TDEConfig* /*config*/)
@@ -159,8 +159,8 @@ void KXsldbg::optionsConfigureToolbars()
// use the standard toolbar editor
KEditToolbar dlg(factory());
- connect(&dlg, TQT_SIGNAL(newToolbarConfig()),
- this, TQT_SLOT(applyNewToolbarConfig()));
+ connect(&dlg, TQ_SIGNAL(newToolbarConfig()),
+ this, TQ_SLOT(applyNewToolbarConfig()));
dlg.exec();
}
diff --git a/kxsldbg/kxsldbg.desktop b/kxsldbg/kxsldbg.desktop
index 5c09b726..c0c8dce7 100644
--- a/kxsldbg/kxsldbg.desktop
+++ b/kxsldbg/kxsldbg.desktop
@@ -1,53 +1,11 @@
[Desktop Entry]
Name=KXSLDbg
-Name[sv]=Kxsldbg
-Name[ta]=KXSLDபிஜி
+
GenericName=XSLT Debugger
-GenericName[bg]=Дебъгер XSLT
-GenericName[br]=Dizraener XSLT
-GenericName[ca]=Depurador XSLT
-GenericName[cs]=XSLT debugger
-GenericName[da]=XSLT-Fejlretter
-GenericName[de]=XSLT-Debugger
-GenericName[el]=Αποσφαλματωτής XSLT
-GenericName[es]=Depurador XSLT
-GenericName[et]=XSLT silur
-GenericName[eu]=XSLT araztailea
-GenericName[fa]=اشکال‌زدای XSLT
-GenericName[fi]=XSLT debuggeri
-GenericName[fr]=Débogueur XSLT
-GenericName[ga]=Dífhabhtóir XSLT
-GenericName[gl]=Depurador XSLT
-GenericName[hi]=XSLT डिबगर
-GenericName[hu]=XSLT-nyomkövető
-GenericName[is]=XSLT aflúsari
-GenericName[it]=Debugger per XSLT
-GenericName[ja]=XSLT デバッガ
-GenericName[lt]=XSLT derintuvė
-GenericName[ms]=Penyahralat XSLT
-GenericName[nds]=XSLT-Fehlersöker
-GenericName[ne]=त्रुटिमोचक एक्सएसएलटी
-GenericName[nl]=XSLT-debugger
-GenericName[pl]=Debuger XSLT
-GenericName[pt]=Depuração de XSLT
-GenericName[pt_BR]=Debugger para XSLT
-GenericName[ro]=Depanator XSLT
-GenericName[ru]=Отладчик XSLT
-GenericName[sk]=XSLT debuger
-GenericName[sl]=Razhroščevalnik XSLT
-GenericName[sr]=Исправљач XSLT-а
-GenericName[sr@Latn]=Ispravljač XSLT-a
-GenericName[sv]=XSLT-felsökare
-GenericName[ta]=XSLT வழுநீக்குபவர்
-GenericName[tg]=Ғалатёби XSLT
-GenericName[tr]=XSLT Hata Ayıklayıcısı
-GenericName[uk]=Зневаджувач XSLT
-GenericName[zh_CN]=XSLT 调试器
-GenericName[zh_HK]=XSLT 除錯器
-GenericName[zh_TW]=XSLT 除錯器
+
+Type=Application
Exec=kxsldbg %i %m -caption "%c"
Icon=kxsldbg
-Type=Application
-X-DocPath=kxsldbg/index.html
Terminal=false
+X-DocPath=kxsldbg/index.html
Categories=Qt;TDE;Development;WebDevelopment;
diff --git a/kxsldbg/kxsldbg.h b/kxsldbg/kxsldbg.h
index a60805bd..b025918c 100644
--- a/kxsldbg/kxsldbg.h
+++ b/kxsldbg/kxsldbg.h
@@ -2,7 +2,7 @@
#define KXSLDBG_H
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
#endif
#include <tdeapplication.h>
@@ -23,7 +23,7 @@ class TDEToggleAction;
*/
class KXsldbg : public KParts::MainWindow, public KXsldbgIf
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/CMakeLists.txt b/kxsldbg/kxsldbgpart/CMakeLists.txt
new file mode 100644
index 00000000..da1a74e3
--- /dev/null
+++ b/kxsldbg/kxsldbgpart/CMakeLists.txt
@@ -0,0 +1,112 @@
+add_subdirectory( libtqtnotfier )
+add_subdirectory( libxsldbg )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+##### kxsldbgcommon (static)
+
+tde_add_library( kxsldbgcommon STATIC_PIC AUTOMOC
+
+ SOURCES
+ kxsldbg_partif.skel
+ xsldbgwalkspeed.ui
+ xsldbgtemplates.ui
+ xsldbgsources.ui
+ xsldbgmsgdialog.ui
+ xsldbglocalvariables.ui
+ xsldbgglobalvariables.ui
+ xsldbgentities.ui
+ xsldbgconfig.ui
+ xsldbgcallstack.ui
+ xsldbgbreakpoints.ui
+ xsldbgwalkspeedimpl.cpp
+ xsldbgtemplatesimpl.cpp
+ xsldbgtemplatelistitem.cpp
+ xsldbgsourcesimpl.cpp
+ xsldbgoutputview.cpp
+ xsldbglocalvariablesimpl.cpp
+ xsldbglocallistitem.cpp
+ xsldbglistitem.cpp
+ xsldbginspector.cpp
+ xsldbgglobalvariablesimpl.cpp
+ xsldbggloballistitem.cpp
+ xsldbgentitiesimpl.cpp
+ xsldbgdoc.cpp
+ xsldbgdialogbase.cpp
+ xsldbgdebugger.cpp
+ xsldbgconfigimpl.cpp
+ xsldbgcallstackimpl.cpp
+ xsldbgbreakpointsimpl.cpp
+ xsldbgbreakpointlistitem.cpp
+ qxsldbgdoc.cpp
+ kxsldbg_part.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ kjs-shared
+ xsldbg-static
+ tqtnotfier-static
+)
+
+
+##### libkxsldbgpart (kpart)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_kpart( libkxsldbgpart AUTOMOC
+
+ SOURCES
+ dummy.cpp
+ EMBED
+ kxsldbgcommon-static
+ LINK
+ tdecore-shared
+ tdeui-shared
+ kjs-shared
+ tdeio-shared
+ tdeparts-shared
+ katepartinterfaces-shared
+ ${READLINE_LIBRARIES}
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( )
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kxsldbg_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kxsldbg-desktops
+)
+
+install(
+ FILES kxsldbg_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kxsldbgpart
+)
diff --git a/kxsldbg/kxsldbgpart/Makefile.am b/kxsldbg/kxsldbgpart/Makefile.am
index d04553b4..2861ca20 100644
--- a/kxsldbg/kxsldbgpart/Makefile.am
+++ b/kxsldbg/kxsldbgpart/Makefile.am
@@ -8,6 +8,7 @@ noinst_HEADERS = kxsldbg_part.h qxsldbgdoc.h xsldbgbreakpointlistitem.h xsldbgbr
kde_module_LTLIBRARIES = libkxsldbgpart.la
+CLEANFILES = dummy.cpp
libkxsldbgpart_la_SOURCES = dummy.cpp
SUBDIRS = libtqtnotfier libxsldbg
@@ -29,3 +30,5 @@ partrc_DATA = kxsldbg_part.rc
KDE_ICON = AUTO
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/kxsldbg/kxsldbgpart/dummy.cpp b/kxsldbg/kxsldbgpart/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/kxsldbg/kxsldbgpart/dummy.cpp
+++ /dev/null
diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
index d1dee273..d83b6be4 100644
--- a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
+++ b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
@@ -94,7 +94,7 @@ KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/,
newEvaluate = new TQLineEdit(h);
evaluateBtn = new TQPushButton(i18n("Evaluate"), h);
- TQSplitter *splitter = new TQSplitter(Qt::Vertical, frame);
+ TQSplitter *splitter = new TQSplitter(TQt::Vertical, frame);
mainView = new TQWidgetStack(splitter);
mainView->setMinimumHeight(400); //## TODO don't use a magic number
outputview = new XsldbgOutputView(splitter);
@@ -102,149 +102,149 @@ KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/,
docDictionary.setAutoDelete(true);
// create our actions
- KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
+ KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection());
// set our XML-UI resource file
setXMLFile("kxsldbg_part.rc");
(void) new TDEAction( i18n("Configure Editor..."),
"configure", 0,
- this, TQT_SLOT(configureEditorCmd_activated()),
+ this, TQ_SLOT(configureEditorCmd_activated()),
actionCollection(), "configureEditorCmd" );
(void) new TDEAction( i18n("Configure..."),
"configure", Key_C,
- this, TQT_SLOT(configureCmd_activated()),
+ this, TQ_SLOT(configureCmd_activated()),
actionCollection(), "configureCmd" );
(void) new TDEAction( i18n("Inspect..."),
"edit-find", Key_I,
- this, TQT_SLOT(inspectorCmd_activated()),
+ this, TQ_SLOT(inspectorCmd_activated()),
actionCollection(), "inspectCmd" );
// Motions commands
(void) new TDEAction( i18n("Run"),
"system-run", Key_F5,
- this, TQT_SLOT(runCmd_activated()),
+ this, TQ_SLOT(runCmd_activated()),
actionCollection(), "runCmd" );
(void) new TDEAction( i18n("Continue"),
"1downarrow", Key_F4,
- this, TQT_SLOT(continueCmd_activated()),
+ this, TQ_SLOT(continueCmd_activated()),
actionCollection(), "continueCmd" );
(void) new TDEAction( i18n("Step"),
"step", Key_F8,
- this, TQT_SLOT(stepCmd_activated()),
+ this, TQ_SLOT(stepCmd_activated()),
actionCollection(), "stepCmd" );
(void) new TDEAction( i18n("Next"),
"next", Key_F10,
- this, TQT_SLOT(nextCmd_activated()),
+ this, TQ_SLOT(nextCmd_activated()),
actionCollection(), "nextCmd" );
(void) new TDEAction( i18n("Step Up"),
"xsldbg_stepup", Key_F6,
- this, TQT_SLOT(stepupCmd_activated()),
+ this, TQ_SLOT(stepupCmd_activated()),
actionCollection(), "stepupCmd" );
(void) new TDEAction( i18n("Step Down"),
"xsldbg_stepdown", Key_F7,
- this, TQT_SLOT(stepCmd_activated()),
+ this, TQ_SLOT(stepCmd_activated()),
actionCollection(), "stepdownCmd" );
// Breakpoint commands
(void) new TDEAction( i18n("Break"),
"xsldbg_break", Key_F2,
- this, TQT_SLOT(breakCmd_activated()),
+ this, TQ_SLOT(breakCmd_activated()),
actionCollection(), "breakCmd" );
(void) new TDEAction( i18n("Enable/Disable"),
"xsldbg_enable", Key_F3,
- this, TQT_SLOT(enableCmd_activated()),
+ this, TQ_SLOT(enableCmd_activated()),
actionCollection(), "enableCmd" );
(void) new TDEAction( i18n("Delete"),
"xsldbg_delete", Key_Delete,
- this, TQT_SLOT(deleteCmd_activated()),
+ this, TQ_SLOT(deleteCmd_activated()),
actionCollection(), "deleteCmd" );
(void) new TDEAction( i18n("&Source"),
"xsldbg_source", Key_S,
- this, TQT_SLOT(sourceCmd_activated()),
+ this, TQ_SLOT(sourceCmd_activated()),
actionCollection(), "sourceCmd" );
(void) new TDEAction( i18n("&Data"),
"xsldbg_data", Key_D,
- this, TQT_SLOT(dataCmd_activated()),
+ this, TQ_SLOT(dataCmd_activated()),
actionCollection(), "dataCmd" );
(void) new TDEAction( i18n("&Output"),
"xsldbg_output", Key_O,
- this, TQT_SLOT(outputCmd_activated()),
+ this, TQ_SLOT(outputCmd_activated()),
actionCollection(), "outputCmd" );
(void) new TDEAction( i18n("Reload Current File From Disk"),
"xsldbg_refresh", CTRL + Key_F5,
- this, TQT_SLOT(refreshCmd_activated()),
+ this, TQ_SLOT(refreshCmd_activated()),
actionCollection(), "refreshCmd" );
/* tracing and walking */
(void) new TDEAction( i18n("Walk Through Stylesheet..."),
Key_W,
- this, TQT_SLOT(walkCmd_activated()),
+ this, TQ_SLOT(walkCmd_activated()),
actionCollection(), "walkCmd" );
(void) new TDEAction( i18n("Stop Wal&king Through Stylesheet"),
Key_K,
- this, TQT_SLOT(walkStopCmd_activated()),
+ this, TQ_SLOT(walkStopCmd_activated()),
actionCollection(), "walkStopCmd" );
(void) new TDEAction( i18n("Tr&ace Execution of Stylesheet"),
Key_A,
- this, TQT_SLOT(traceCmd_activated()),
+ this, TQ_SLOT(traceCmd_activated()),
actionCollection(), "traceCmd" );
(void) new TDEAction( i18n("Stop Tracing of Stylesheet"),
Key_K,
- this, TQT_SLOT(traceStopCmd_activated()),
+ this, TQ_SLOT(traceStopCmd_activated()),
actionCollection(), "traceStopCmd" );
(void) new TDEAction( i18n("&Evaluate Expression..."),
Key_E,
- this, TQT_SLOT(evaluateCmd_activated()),
+ this, TQ_SLOT(evaluateCmd_activated()),
actionCollection(), "evaluateCmd" );
(void) new TDEAction( i18n("Goto &XPath..."),
Key_X,
- this, TQT_SLOT(gotoXPathCmd_activated()),
+ this, TQ_SLOT(gotoXPathCmd_activated()),
actionCollection(), "gotoXPathCmd" );
(void) new TDEAction( i18n("Lookup SystemID..."),
0,
- this, TQT_SLOT(slotLookupSystemID()),
+ this, TQ_SLOT(slotLookupSystemID()),
actionCollection(), "lookupSystemID" );
(void) new TDEAction( i18n("Lookup PublicID..."),
0,
- this, TQT_SLOT(slotLookupPublicID()),
+ this, TQ_SLOT(slotLookupPublicID()),
actionCollection(), "lookupPublicID" );
(void) new TDEAction( i18n("Quit"),
0, CTRL + Key_Q,
- this, TQT_SLOT(quit()),
+ this, TQ_SLOT(quit()),
actionCollection(), "file_quit" );
/*
(void) new TDEAction( i18n("Exit KXsldbg"),
"xsldbg_output", CTRL + Key_Q,
- this, TQT_SLOT(exitCmd_activated()),
+ this, TQ_SLOT(exitCmd_activated()),
actionCollection(), "exitCmd" );
*/
- connect( xPathBtn, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotGotoXPath() ) );
- connect( evaluateBtn, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotEvaluate() ) );
+ connect( xPathBtn, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotGotoXPath() ) );
+ connect( evaluateBtn, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotEvaluate() ) );
/*
- connect( searchBtn, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotSearch() ) );
+ connect( searchBtn, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotSearch() ) );
*/
/* We must have a valid debugger and inspector */
createInspector();
@@ -312,7 +312,7 @@ bool KXsldbgPart::fetchURL(const KURL &url)
if (docPtr->kateView()){
mainView->addWidget(docPtr->kateView());
Kate::View *v = Kate::view((docPtr->kateView()));
- connect(v, TQT_SIGNAL(cursorPositionChanged()), this, TQT_SLOT(cursorPositionChanged()));
+ connect(v, TQ_SIGNAL(cursorPositionChanged()), this, TQ_SLOT(cursorPositionChanged()));
}
}
@@ -470,13 +470,13 @@ void KXsldbgPart::createInspector()
debugger = new XsldbgDebugger();
TQ_CHECK_PTR( debugger );
if ( debugger != 0L ) {
- connect(debugger, TQT_SIGNAL( debuggerReady()),
- this, TQT_SLOT(debuggerStarted()));
+ connect(debugger, TQ_SIGNAL( debuggerReady()),
+ this, TQ_SLOT(debuggerStarted()));
if (outputview){
connect(debugger,
- TQT_SIGNAL( showMessage(TQString /* msg*/)),
+ TQ_SIGNAL( showMessage(TQString /* msg*/)),
outputview,
- TQT_SLOT(slotProcShowMessage(TQString /* msg*/)));
+ TQ_SLOT(slotProcShowMessage(TQString /* msg*/)));
}
inspector = new XsldbgInspector( debugger );
TQ_CHECK_PTR( inspector );
@@ -484,31 +484,31 @@ void KXsldbgPart::createInspector()
if (inspector != 0L){
/*process line number and/or file name changed */
connect(debugger,
- TQT_SIGNAL(lineNoChanged
+ TQ_SIGNAL(lineNoChanged
(TQString /* fileName */ ,
int /* lineNumber */ ,
bool /* breakpoint */ ) ),
this,
- TQT_SLOT(lineNoChanged
+ TQ_SLOT(lineNoChanged
( TQString /* fileName */ ,
int /* lineNumber */ ,
bool /* breakpoint */ ) ) );
connect(debugger,
- TQT_SIGNAL(breakpointItem(TQString /* fileName*/,
+ TQ_SIGNAL(breakpointItem(TQString /* fileName*/,
int /* lineNumber */,
TQString /*templateName*/,
TQString /* modeName */,
bool /* enabled */,
int /* id */)),
this,
- TQT_SLOT( breakpointItem(TQString /* fileName*/,
+ TQ_SLOT( breakpointItem(TQString /* fileName*/,
int /* lineNumber */,
TQString /*templateName*/,
TQString /* modeName */,
bool /* enabled */,
int /* id */)));
- connect(debugger, TQT_SIGNAL(resolveItem(TQString /*URI*/)),
- this, TQT_SLOT(slotProcResolveItem(TQString /*URI*/)));
+ connect(debugger, TQ_SIGNAL(resolveItem(TQString /*URI*/)),
+ this, TQ_SLOT(slotProcResolveItem(TQString /*URI*/)));
}
}
}
diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.desktop b/kxsldbg/kxsldbgpart/kxsldbg_part.desktop
index 7a13356f..81eca2be 100644
--- a/kxsldbg/kxsldbgpart/kxsldbg_part.desktop
+++ b/kxsldbg/kxsldbgpart/kxsldbg_part.desktop
@@ -1,15 +1,7 @@
[Desktop Entry]
Name=KXsldbgPart
-Name[de]=KXsldbg-Komponente
-Name[fr]=Module externe KXsldbg
-Name[ja]=KXsldbgPort
-Name[nds]=KXsldbg-Komponent
-Name[pl]=Osadzalny program KPart KXsldbg
-Name[pt_BR]=KXSsldbgPart
-Name[sv]=Kxsldbg-delprogram
-Name[ta]=KXsldbg பகுதி
-Name[tg]=Қисми KXsldbg
+
+Type=Service
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
X-TDE-ServiceTypes=KParts/ReadOnlyPart
X-TDE-Library=libkxsldbgpart
-Type=Service
diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.h b/kxsldbg/kxsldbgpart/kxsldbg_part.h
index 173d22cf..35328993 100644
--- a/kxsldbg/kxsldbgpart/kxsldbg_part.h
+++ b/kxsldbg/kxsldbgpart/kxsldbg_part.h
@@ -47,7 +47,7 @@ typedef TQDict<QXsldbgDoc> XsldbgDocDict;
*/
class KXsldbgPart : public KParts::ReadOnlyPart, public KXsldbgPartIf
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt b/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt
new file mode 100644
index 00000000..e8416c7d
--- /dev/null
+++ b/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt
@@ -0,0 +1,37 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+ ${READLINE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+##### tqtnotfier (static)
+
+tde_add_library( tqtnotfier STATIC_PIC AUTOMOC
+
+ SOURCES
+ xsldbgthread.cpp
+ xsldbgnotifier.cpp
+ xsldbgevent.cpp
+ xsldbgdebuggerbase.cpp
+ qtnotifier2.cpp
+ LINK
+ ${LIBXSLT_LIBRARIES}
+ ${READLINE_LIBRARIES}
+ ${CMAKE_THREAD_LIBS_INIT}
+)
diff --git a/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgdebuggerbase.h b/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgdebuggerbase.h
index 78dcbf3c..b82dbac7 100644
--- a/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgdebuggerbase.h
+++ b/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgdebuggerbase.h
@@ -44,7 +44,7 @@ class TQStringList;
*/
class XsldbgDebuggerBase : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
friend class XsldbgEvent;
diff --git a/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp b/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp
index 29ff227e..d717a1f9 100644
--- a/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp
+++ b/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp
@@ -15,8 +15,10 @@
* *
***************************************************************************/
-
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#include <pthread.h> /* need to create/work with process thread */
#include <errno.h> /* need for EAGAIN */
#include <stdlib.h>
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt b/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..79160bc0
--- /dev/null
+++ b/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt
@@ -0,0 +1,57 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+ ${READLINE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+##### xsldbg (static)
+
+tde_add_library( xsldbg STATIC_PIC AUTOMOC
+
+ SOURCES
+ allmoc.cpp
+ xsldbgthread.cpp
+ xsldbg.cpp
+ xsldbgmsg.cpp
+ variable_cmds.cpp
+ utils.cpp
+ trace_cmds.cpp
+ template_cmds.cpp
+ search_cmds.cpp
+ search.cpp
+ param_cmds.cpp
+ os_cmds.cpp
+ options_unix.cpp
+ options.cpp
+ option_cmds.cpp
+ nodeview_cmds.cpp
+ help_unix.cpp
+ files_unix.cpp
+ files.cpp
+ file_cmds.cpp
+ debug.cpp
+ callstack.cpp
+ breakpoint_cmds.cpp
+ breakpoint.cpp
+ arraylist.cpp
+ debugXSL.cpp
+ LINK
+ ${LIBXSLT_LIBRARIES}
+ ${LIBEXSLT_LIBRARIES}
+ ${READLINE_LIBRARIES}
+)
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h b/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h
index 81398459..f6256429 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h
@@ -20,6 +20,10 @@
#ifndef ARRAYLIST_H
#define ARRAYLIST_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
index fd410366..09002c9c 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
@@ -21,6 +21,10 @@
#ifndef XSLBREAKPOINT_H
#define XSLBREAKPOINT_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/callstack.h b/kxsldbg/kxsldbgpart/libxsldbg/callstack.h
index fd87b9bd..60bf4652 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/callstack.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/callstack.h
@@ -20,6 +20,10 @@
#ifndef XSLCALLSTACK_H
#define XSLCALLSTACK_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/**
* Provide a call stack support
*
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/cmds.h b/kxsldbg/kxsldbgpart/libxsldbg/cmds.h
index f12648c7..ff15bdc7 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/cmds.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/cmds.h
@@ -20,6 +20,10 @@
#ifndef CMDS_H
#define CMDS_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* See the top of debugXSL.c for a list of command names and thier shortcuts */
#ifndef USE_KDE_DOCS
typedef enum { /* id's for commands of xslDbgShell */
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/debug.h b/kxsldbg/kxsldbgpart/libxsldbg/debug.h
index c38f37eb..f05c50e4 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/debug.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/debug.h
@@ -19,6 +19,10 @@
#ifndef XSL_DEBUG_H
#define XSL_DEBUG_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h b/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h
index df50a53b..479448a3 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h
@@ -34,6 +34,10 @@
#ifndef __DEBUG_XSL__
#define __DEBUG_XSL__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_XSLDBG_AS_THREAD
#include "xsldbgmsg.h"
#include "xsldbgthread.h"
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
index 73d3713b..00540e6d 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
@@ -34,9 +34,12 @@
#include "xsldbgthread.h"
#ifdef WIN32
#include <direct.h>
+#else
+#include <unistd.h>
#endif
#endif /* BUILD_DOCS */
+#include <cstdlib>
/* top xml document */
@@ -743,9 +746,6 @@ filesInit(void)
tempDocument = NULL;
topStylesheet = NULL;
entityNameList = arrayListNew(4, (freeItemFunc) filesFreeEntityInfo);
-#if defined(HAVE_INCLUDE_FIX) && (LIBXML_VERSION < 20508)
- xmlSetEntityReferenceFunc(filesEntityRef);
-#endif
/* setup the encoding */
encodeInBuff = xmlBufferCreate();
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.h b/kxsldbg/kxsldbgpart/libxsldbg/files.h
index 05e49828..89557e28 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/files.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files.h
@@ -19,6 +19,10 @@
#ifndef FILES_H
#define FILES_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef BUILD_DOCS
#include "search.h"
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp b/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp
index 5c1bcbff..992b0149 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files_unix.cpp
@@ -21,6 +21,7 @@
#include "files.h"
#include "utils.h"
#include "options.h"
+#include <cstdlib>
static char *tempNames[2] = { NULL, NULL };
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/help.h b/kxsldbg/kxsldbgpart/libxsldbg/help.h
index de77a71d..9c1c9a0a 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/help.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/help.h
@@ -19,6 +19,10 @@
#ifndef XSLDBG_HELP_H
#define XSLDBG_HELP_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp b/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp
index 8593ab6b..0bcd8edb 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp
@@ -20,6 +20,14 @@
* Uses docs/xsldoc.xsl docs/xsldoc.xml and xslproc to generate text
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef XSLDBG_BIN
+#define XSLDBG_BIN "xsldbg"
+#endif
+
#include "xsldbg.h"
#include "options.h"
#include "utils.h"
@@ -28,7 +36,7 @@
#include "files.h"
#include <stdlib.h>
#include <tdeglobal.h>
-#include <kstandarddirs.h>
+#include <kstandarddirs.h>
/**
* helpTop:
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/options.cpp b/kxsldbg/kxsldbgpart/libxsldbg/options.cpp
index 196f2ba9..cb916f51 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/options.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/options.cpp
@@ -27,6 +27,7 @@
#include <kstandarddirs.h>
#include <tqfileinfo.h>
#include <tqstringlist.h>
+#include <cstdlib>
/* keep track of our integer/boolean options */
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/options.h b/kxsldbg/kxsldbgpart/libxsldbg/options.h
index 60ab69d3..4ce99f42 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/options.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/options.h
@@ -19,6 +19,10 @@
#ifndef OPTIONS_H
#define OPTIONS_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "arraylist.h"
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp b/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp
index dac5bb0f..8c5e26e8 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/os_cmds.cpp
@@ -19,6 +19,7 @@
#include "xsldbg.h"
#include "debugXSL.h"
#include "files.h"
+#include <cstdlib>
/* -----------------------------------------
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h b/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h
index 6fd7a9f3..e8840234 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h
@@ -18,6 +18,10 @@
#ifndef TQTNOTIFIER_H
#define TQTNOTIFIER_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined WIN32
#include <libxsldbg/xsldbgwin32config.h>
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
index 68fcd7e1..6d30193d 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
@@ -7,6 +7,13 @@
email : k_isdale@tpg.com.au
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef XSLDBG_BIN
+#define XSLDBG_BIN "xsldbg"
+#endif
#include "xsldbg.h"
#include "debugXSL.h"
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/search.h b/kxsldbg/kxsldbgpart/libxsldbg/search.h
index 20fc82b4..bc7d082c 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/search.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/search.h
@@ -20,6 +20,10 @@
#ifndef XSLSEARCH_H
#define XSLSEARCH_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/utils.h b/kxsldbg/kxsldbgpart/libxsldbg/utils.h
index 28b297b0..ada7b693 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/utils.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/utils.h
@@ -23,6 +23,10 @@
#ifndef XSLDBG_UTILS_H
#define XSLDBG_UTILS_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef BUILD_DOCS
#include <stdio.h>
#include <string.h>
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp
index 46e270df..d05281f5 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp
@@ -39,6 +39,7 @@
#include "files.h"
#include "breakpoint.h"
#include "debugXSL.h"
+#include <cstdlib>
#include <libxml/xmlerror.h>
#include "xsldbgmsg.h"
@@ -82,9 +83,6 @@
#include <libxml/xmlerror.h>
#include <libxml/HTMLtree.h>
#include <libxml/xmlIO.h>
-#ifdef LIBXML_DOCB_ENABLED
-#include <libxml/DOCBparser.h>
-#endif
#ifdef LIBXML_XINCLUDE_ENABLED
#include <libxml/xinclude.h>
#endif
@@ -797,7 +795,7 @@ xsldbgMain(int argc, char **argv)
showPrompt = 1;
xslDebugStatus = DEBUG_STOP;
} else {
- xsldbgGenericErrorFunc(i18n("\nFinished stylesheet\n\032\032\n"));
+ xsldbgGenericErrorFunc(i18n("\nFinished stylesheet\n\n"));
{
/* handle trace execution */
int trace = optionsGetIntOption(OPTIONS_TRACE);
@@ -975,22 +973,11 @@ xsldbgLoadXmlData(void)
#endif
#ifdef LIBXML_DOCB_ENABLED
if (optionsGetIntOption(OPTIONS_DOCBOOK))
-# if LIBXML_VERSION >= 20600
doc = xmlParseFile((char *) optionsGetStringOption(OPTIONS_DATA_FILE_NAME));
-# else
- doc = docbParseFile((char *)
- optionsGetStringOption(OPTIONS_DATA_FILE_NAME),
- NULL);
-# endif
else
#endif
-
-#if LIBXML_VERSION >= 20600
doc = xmlSAXParseFile(&mySAXHandler,
(char *) optionsGetStringOption(OPTIONS_DATA_FILE_NAME), 0);
-#else
- doc = xmlParseFile((char *) optionsGetStringOption(OPTIONS_DATA_FILE_NAME));
-#endif
if (doc == NULL) {
xsldbgGenericErrorFunc(i18n("Error: Unable to parse file %1.\n").arg(xsldbgUrl(optionsGetStringOption(OPTIONS_DATA_FILE_NAME))));
if (!optionsGetIntOption(OPTIONS_SHELL)) {
@@ -1031,11 +1018,7 @@ xsldbgLoadXmlTemporary(const xmlChar * path)
#endif
#ifdef LIBXML_DOCB_ENABLED
if (optionsGetIntOption(OPTIONS_DOCBOOK))
-# if LIBXML_VERSION >= 20600
doc = xmlParseFile((char *) path);
-# else
- doc = docbParseFile((char *) path, NULL);
-# endif
else
#endif
doc = xmlSAXParseFile(&mySAXhdlr, (char *) path, 0);
@@ -1100,7 +1083,7 @@ handler_routine(DWORD dwCtrlType)
#endif
-#if LIBXML_VERSION >= 2006000
+#if 0
/* libxml/ handlers */
void xsldbgStructErrorHandler(void * userData, xmlErrorPtr error)
{
@@ -1230,16 +1213,11 @@ xsldbgInit()
/* set up the parser */
xmlInitParser();
#if 0
-#if LIBXML_VERSION >= 20600
xmlSetGenericErrorFunc(NULL, NULL);
xmlSetStructuredErrorFunc(NULL , (xmlStructuredErrorFunc)xsldbgStructErrorHandler);
#else
xmlSetGenericErrorFunc(0, xsldbgGenericErrorFunc);
xsltSetGenericErrorFunc(0, xsldbgGenericErrorFunc);
-#endif
-#else
- xmlSetGenericErrorFunc(0, xsldbgGenericErrorFunc);
- xsltSetGenericErrorFunc(0, xsldbgGenericErrorFunc);
#endif
/*
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h
index 27250e31..dd9a067e 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h
@@ -20,6 +20,10 @@
#ifndef XSLDEBUGGER_H
#define XSLDEBUGGER_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h
deleted file mode 100644
index e69de29b..00000000
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h
+++ /dev/null
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h
index e75c8419..2b4486e3 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h
@@ -21,6 +21,10 @@
#ifndef XSLDBGEVENT_H
#define XSLDBGEVENT_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined WIN32
#include <libxsldbg/xsldbgwin32config.h>
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h
index 0e164f0e..81ced500 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h
@@ -19,6 +19,10 @@
#ifndef XSLDBGIO_H
#define XSLDBGIO_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef BUILD_DOCS
#include <libxml/tree.h> /* needed for definition of xmlChar */
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h
index 12b16a3c..9d953d87 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h
@@ -19,6 +19,10 @@
#ifndef XSLDBGMSG_H
#define XSLDBGMSG_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef WIN32
# include <libxsldbg/xsldbgwin32config.h>
#else
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h
index d83e71f3..f0c4a56b 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h
@@ -19,6 +19,10 @@
#ifndef XSLDBGTHREAD_H
#define XSLDBGTHREAD_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined WIN32
#include <libxsldbg/xsldbgwin32config.h>
#endif
diff --git a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
index e4fafe5d..1b7580ca 100644
--- a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
+++ b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
@@ -18,8 +18,8 @@ QXsldbgDoc::QXsldbgDoc(TQWidget *parent, KURL url)
: TQObject(0L, "QXsldbgDoc"), kDoc(0L),kView(0L), locked(false)
{
kDoc = KTextEditor::createDocument("libkatepart", 0L,"KTextEditor::Document");
- connect(kDoc, TQT_SIGNAL(started(TDEIO::Job *)), this, TQT_SLOT(lockDoc()));
- connect(kDoc, TQT_SIGNAL(completed()), this, TQT_SLOT(unlockDoc()));
+ connect(kDoc, TQ_SIGNAL(started(TDEIO::Job *)), this, TQ_SLOT(lockDoc()));
+ connect(kDoc, TQ_SIGNAL(completed()), this, TQ_SLOT(unlockDoc()));
if (kDoc){
kView = kDoc->createView(parent, "QXsldbgDocView");
KURL cleanUrl;
diff --git a/kxsldbg/kxsldbgpart/qxsldbgdoc.h b/kxsldbg/kxsldbgpart/qxsldbgdoc.h
index c7c50174..8ddd8e3d 100644
--- a/kxsldbg/kxsldbgpart/qxsldbgdoc.h
+++ b/kxsldbg/kxsldbgpart/qxsldbgdoc.h
@@ -18,7 +18,7 @@
class QXsldbgDoc : public TQObject {
-Q_OBJECT
+TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgbreakpoints.ui b/kxsldbg/kxsldbgpart/xsldbgbreakpoints.ui
index b367d6a5..eadfbb05 100644
--- a/kxsldbg/kxsldbgpart/xsldbgbreakpoints.ui
+++ b/kxsldbg/kxsldbgpart/xsldbgbreakpoints.ui
@@ -568,7 +568,7 @@
<tabstop>deleteButton</tabstop>
<tabstop>enableButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotClear()</slot>
<slot>refresh()</slot>
<slot>selectionChanged(TQListViewItem*)</slot>
@@ -577,6 +577,6 @@
<slot>slotEnableBreakpoint()</slot>
<slot>slotAddAllTemplateBreakpoints()</slot>
<slot>slotDeleteAllBreakpoints()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
index 453b4f60..e7716a0b 100644
--- a/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.cpp
@@ -30,16 +30,16 @@ XsldbgBreakpointsImpl::XsldbgBreakpointsImpl(XsldbgDebugger *debugger,
: XsldbgBreakpoints(parent, name), XsldbgDialogBase()
{
this->debugger = debugger;
- connect(debugger, TQT_SIGNAL(breakpointItem(TQString /* file*/,
+ connect(debugger, TQ_SIGNAL(breakpointItem(TQString /* file*/,
int /*line number */, TQString /*templateName*/,
TQString /* modeName*/,
bool /* enabled */, int /* id */)),
- this, TQT_SLOT(slotProcBreakpointItem(TQString /* file*/,
+ this, TQ_SLOT(slotProcBreakpointItem(TQString /* file*/,
int /*line number */, TQString /*templateName*/,
TQString /* modeName */,
bool /* enabled */, int /* id */)));
- connect( breakpointListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(selectionChanged(TQListViewItem*)));
+ connect( breakpointListView, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(selectionChanged(TQListViewItem*)));
show();
refresh();
}
diff --git a/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.h b/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.h
index 4a567f6a..58f442c0 100644
--- a/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgbreakpointsimpl.h
@@ -29,7 +29,7 @@ class XsldbgDebugger;
class XsldbgBreakpointsImpl : public XsldbgBreakpoints, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgcallstack.ui b/kxsldbg/kxsldbgpart/xsldbgcallstack.ui
index d1fdba5c..f5739f1d 100644
--- a/kxsldbg/kxsldbgpart/xsldbgcallstack.ui
+++ b/kxsldbg/kxsldbgpart/xsldbgcallstack.ui
@@ -149,9 +149,9 @@
<slot>refresh()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>refresh()</slot>
<slot>selectionChanged(TQListViewItem*)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp
index 9a500b6c..85a2b012 100644
--- a/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp
@@ -27,10 +27,10 @@ XsldbgCallStackImpl::XsldbgCallStackImpl(XsldbgDebugger *debugger,
{
this->debugger = debugger;
- connect(debugger, TQT_SIGNAL(callStackItem(TQString /* templateName*/, TQString /* fileName */, int /* lineNumber */)),
- this, TQT_SLOT(slotProcCallStackItem(TQString /* templateName*/, TQString /* fileName */, int /* lineNumber */)));
- connect( callStackListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(selectionChanged(TQListViewItem*)));
+ connect(debugger, TQ_SIGNAL(callStackItem(TQString /* templateName*/, TQString /* fileName */, int /* lineNumber */)),
+ this, TQ_SLOT(slotProcCallStackItem(TQString /* templateName*/, TQString /* fileName */, int /* lineNumber */)));
+ connect( callStackListView, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(selectionChanged(TQListViewItem*)));
show();
refresh();
diff --git a/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.h b/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.h
index 66ebd983..ee7b9e4c 100644
--- a/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.h
@@ -28,7 +28,7 @@
class XsldbgDebugger;
class XsldbgCallStackImpl : public XsldbgCallStack, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgconfig.ui b/kxsldbg/kxsldbgpart/xsldbgconfig.ui
index 57a979bb..181bc7c3 100644
--- a/kxsldbg/kxsldbgpart/xsldbgconfig.ui
+++ b/kxsldbg/kxsldbgpart/xsldbgconfig.ui
@@ -799,7 +799,7 @@
<tabstop>xmlDataEdit</tabstop>
<tabstop>xslSourceEdit</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotCancel()</slot>
<slot>slotAddParam()</slot>
<slot>slotApply()</slot>
@@ -812,6 +812,6 @@
<slot>slotPrevParam()</slot>
<slot>slotSourcefile(TQString)</slot>
<slot>slotoutputfile(TQString)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
index ade07c6e..18fa6f29 100644
--- a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp
@@ -78,10 +78,10 @@ XsldbgConfigImpl::XsldbgConfigImpl(XsldbgDebugger *debugger,
: XsldbgConfig(parent, name)
{
this->debugger = debugger;
- connect(debugger, TQT_SIGNAL(parameterItem(TQString /* name*/, TQString /* value */)),
- this, TQT_SLOT(slotProcParameterItem(TQString /* name*/, TQString /* value */)));
- connect(debugger, TQT_SIGNAL(fileDetailsChanged()),
- this, TQT_SLOT(slotReloadFileNames()));
+ connect(debugger, TQ_SIGNAL(parameterItem(TQString /* name*/, TQString /* value */)),
+ this, TQ_SLOT(slotProcParameterItem(TQString /* name*/, TQString /* value */)));
+ connect(debugger, TQ_SIGNAL(fileDetailsChanged()),
+ this, TQ_SLOT(slotReloadFileNames()));
paramIndex= 0;
catalogs = false;
debug = false;
diff --git a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h
index 5a550a94..1ea50c64 100644
--- a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h
@@ -48,7 +48,7 @@ private:
class XsldbgDebugger;
class XsldbgConfigImpl : public XsldbgConfig, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgdebugger.cpp b/kxsldbg/kxsldbgpart/xsldbgdebugger.cpp
index a9521964..c926eca1 100644
--- a/kxsldbg/kxsldbgpart/xsldbgdebugger.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgdebugger.cpp
@@ -213,7 +213,7 @@ void XsldbgDebugger::slotConfigure()
if(inspector == 0L ){
inspector = new XsldbgInspector(this);
- connect(inspector, TQT_SIGNAL(closedWindow()), this, TQT_SLOT(slotConfigClosed()));
+ connect(inspector, TQ_SIGNAL(closedWindow()), this, TQ_SLOT(slotConfigClosed()));
}
}
diff --git a/kxsldbg/kxsldbgpart/xsldbgdebugger.h b/kxsldbg/kxsldbgpart/xsldbgdebugger.h
index 7c98b8f2..886f1635 100644
--- a/kxsldbg/kxsldbgpart/xsldbgdebugger.h
+++ b/kxsldbg/kxsldbgpart/xsldbgdebugger.h
@@ -34,7 +34,7 @@ class TQStringList;
class XsldbgWalkSpeedImpl;
class XsldbgDebugger : public XsldbgDebuggerBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgentities.ui b/kxsldbg/kxsldbgpart/xsldbgentities.ui
index 17b847db..47a9ea2f 100644
--- a/kxsldbg/kxsldbgpart/xsldbgentities.ui
+++ b/kxsldbg/kxsldbgpart/xsldbgentities.ui
@@ -154,8 +154,8 @@
<slot>refresh()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>refresh()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.cpp
index 03f21618..576696db 100644
--- a/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.cpp
@@ -29,15 +29,15 @@ XsldbgEntitiesImpl::XsldbgEntitiesImpl(XsldbgDebugger *debugger,
{
this->debugger = debugger;
connect(debugger,
- TQT_SIGNAL(entityItem(TQString /*SystemID*/,
+ TQ_SIGNAL(entityItem(TQString /*SystemID*/,
TQString /*PublicID*/)),
this,
- TQT_SLOT(slotProcEntityItem(TQString /*SystemID*/,
+ TQ_SLOT(slotProcEntityItem(TQString /*SystemID*/,
TQString /*PublicID*/)));
connect( entitiesListView,
- TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(selectionChanged(TQListViewItem*)));
+ TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(selectionChanged(TQListViewItem*)));
show();
}
diff --git a/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.h b/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.h
index 0918b566..8c8cc8b7 100644
--- a/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgentitiesimpl.h
@@ -28,7 +28,7 @@
class XsldbgDebugger;
class XsldbgEntitiesImpl : public XsldbgEntities, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgglobalvariables.ui b/kxsldbg/kxsldbgpart/xsldbgglobalvariables.ui
index 21c7cb19..ce674743 100644
--- a/kxsldbg/kxsldbgpart/xsldbgglobalvariables.ui
+++ b/kxsldbg/kxsldbgpart/xsldbgglobalvariables.ui
@@ -264,9 +264,9 @@
<slot>refresh()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>refresh()</slot>
<slot>slotEvaluate()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.cpp
index 235c564a..69affd1e 100644
--- a/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.cpp
@@ -28,10 +28,10 @@ XsldbgGlobalVariablesImpl::XsldbgGlobalVariablesImpl(XsldbgDebugger *debugger,
: XsldbgGlobalVariables(parent, name), XsldbgDialogBase()
{
this->debugger = debugger;
- connect(debugger, TQT_SIGNAL(globalVariableItem(TQString /*name */, TQString /* fileName */, int /*lineNumber */)),
- this, TQT_SLOT(slotProcGlobalVariableItem(TQString /*name */, TQString /* fileName */, int /*lineNumber */)));
- connect( varsListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(selectionChanged(TQListViewItem*)));
+ connect(debugger, TQ_SIGNAL(globalVariableItem(TQString /*name */, TQString /* fileName */, int /*lineNumber */)),
+ this, TQ_SLOT(slotProcGlobalVariableItem(TQString /*name */, TQString /* fileName */, int /*lineNumber */)));
+ connect( varsListView, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(selectionChanged(TQListViewItem*)));
show();
}
diff --git a/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.h b/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.h
index c3c84e12..eca498b8 100644
--- a/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgglobalvariablesimpl.h
@@ -28,7 +28,7 @@
class XsldbgDebugger;
class XsldbgGlobalVariablesImpl : public XsldbgGlobalVariables, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbginspector.cpp b/kxsldbg/kxsldbgpart/xsldbginspector.cpp
index 8b1a2734..7db6ce20 100644
--- a/kxsldbg/kxsldbgpart/xsldbginspector.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbginspector.cpp
@@ -145,10 +145,10 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, TQWidget* parent,
XsldbgInspectorLayout->addMultiCellLayout( Layout1, 1, 1, 0, 1 );
// signals and slots connections
- connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
- connect( buttonApply, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( update() ) );
- connect( buttonRefresh, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( refresh() ) );
- connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
+ connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( buttonApply, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( update() ) );
+ connect( buttonRefresh, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( refresh() ) );
+ connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
hide();
}
diff --git a/kxsldbg/kxsldbgpart/xsldbginspector.h b/kxsldbg/kxsldbgpart/xsldbginspector.h
index ea84eda1..70e51604 100644
--- a/kxsldbg/kxsldbgpart/xsldbginspector.h
+++ b/kxsldbg/kxsldbgpart/xsldbginspector.h
@@ -30,7 +30,7 @@ class XsldbgEntitiesImpl;
class XsldbgInspector : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbglocalvariables.ui b/kxsldbg/kxsldbgpart/xsldbglocalvariables.ui
index 04872236..45a8eb1d 100644
--- a/kxsldbg/kxsldbgpart/xsldbglocalvariables.ui
+++ b/kxsldbg/kxsldbgpart/xsldbglocalvariables.ui
@@ -365,10 +365,10 @@
<slot>slotSetExpression()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>refresh()</slot>
<slot>slotEvaluate()</slot>
<slot>slotSetExpression()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.cpp b/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.cpp
index 7f3e857d..5926734e 100644
--- a/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.cpp
@@ -31,14 +31,14 @@ XsldbgLocalVariablesImpl::XsldbgLocalVariablesImpl(XsldbgDebugger *debugger,
: XsldbgLocalVariables(parent, name), XsldbgDialogBase()
{
this->debugger = debugger;
- connect(debugger, TQT_SIGNAL(variableItem(TQString /*name */, TQString /* templateContext*/,
+ connect(debugger, TQ_SIGNAL(variableItem(TQString /*name */, TQString /* templateContext*/,
TQString /* fileName */, int /*lineNumber */,
TQString /* select XPath */, int /* is it a local variable */)),
- this, TQT_SLOT(slotProcVariableItem(TQString /*name */, TQString /* templateContext*/,
+ this, TQ_SLOT(slotProcVariableItem(TQString /*name */, TQString /* templateContext*/,
TQString /* fileName */, int /*lineNumber */,
TQString /* select XPath */, int /* is it a local variable */)));
- connect(varsListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(selectionChanged(TQListViewItem*)));
+ connect(varsListView, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(selectionChanged(TQListViewItem*)));
show();
}
diff --git a/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.h b/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.h
index fd6af97c..805c41e4 100644
--- a/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbglocalvariablesimpl.h
@@ -28,7 +28,7 @@
class XsldbgDebugger;
class XsldbgLocalVariablesImpl : public XsldbgLocalVariables, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgoutputview.h b/kxsldbg/kxsldbgpart/xsldbgoutputview.h
index b4d89db3..3d1cd1d0 100644
--- a/kxsldbg/kxsldbgpart/xsldbgoutputview.h
+++ b/kxsldbg/kxsldbgpart/xsldbgoutputview.h
@@ -28,7 +28,7 @@ class TQDialog;
class XsldbgMsgDialogImpl;
class XsldbgOutputView : public TQTextEdit {
- Q_OBJECT
+ TQ_OBJECT
public :
diff --git a/kxsldbg/kxsldbgpart/xsldbgsources.ui b/kxsldbg/kxsldbgpart/xsldbgsources.ui
index e31f6ea6..ab4cf756 100644
--- a/kxsldbg/kxsldbgpart/xsldbgsources.ui
+++ b/kxsldbg/kxsldbgpart/xsldbgsources.ui
@@ -146,9 +146,9 @@
<slot>refresh()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>refresh()</slot>
<slot>selectionChanged(TQListViewItem*)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.cpp
index f291ab6d..3bad8a51 100644
--- a/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.cpp
@@ -28,11 +28,11 @@ XsldbgSourcesImpl::XsldbgSourcesImpl(XsldbgDebugger *debugger,
: XsldbgSources(parent, name), XsldbgDialogBase()
{
this->debugger = debugger;
- connect(debugger, TQT_SIGNAL(sourceItem(TQString /* fileName */, TQString /* parentFileName */, int /*lineNumber */)),
- this, TQT_SLOT(slotProcSourceItem(TQString /* fileName */, TQString /* parentFileName */, int /*lineNumber */)));
+ connect(debugger, TQ_SIGNAL(sourceItem(TQString /* fileName */, TQString /* parentFileName */, int /*lineNumber */)),
+ this, TQ_SLOT(slotProcSourceItem(TQString /* fileName */, TQString /* parentFileName */, int /*lineNumber */)));
- connect( sourceListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(selectionChanged(TQListViewItem*)));
+ connect( sourceListView, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(selectionChanged(TQListViewItem*)));
show();
refresh();
diff --git a/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.h b/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.h
index cf2af37e..9915b9c0 100644
--- a/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgsourcesimpl.h
@@ -28,7 +28,7 @@
class XsldbgDebugger;
class XsldbgSourcesImpl : public XsldbgSources, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgtemplates.ui b/kxsldbg/kxsldbgpart/xsldbgtemplates.ui
index eb6528c8..a575f462 100644
--- a/kxsldbg/kxsldbgpart/xsldbgtemplates.ui
+++ b/kxsldbg/kxsldbgpart/xsldbgtemplates.ui
@@ -93,8 +93,8 @@
<slot>selectionChanged(TQListViewItem*)</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>selectionChanged(TQListViewItem*)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.cpp
index 66cb9227..2c0de0e9 100644
--- a/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.cpp
@@ -27,10 +27,10 @@ XsldbgTemplatesImpl::XsldbgTemplatesImpl(XsldbgDebugger *debugger,
{
this->debugger = debugger;
- connect(debugger, TQT_SIGNAL(templateItem(TQString /* name*/, TQString /*mode*/, TQString /* fileName */, int /* lineNumber */)),
- this, TQT_SLOT(slotProcTemplateItem(TQString /* name*/, TQString /*mode*/, TQString /* fileName */, int /* lineNumber */)));
- connect( templatesListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(selectionChanged(TQListViewItem*)));
+ connect(debugger, TQ_SIGNAL(templateItem(TQString /* name*/, TQString /*mode*/, TQString /* fileName */, int /* lineNumber */)),
+ this, TQ_SLOT(slotProcTemplateItem(TQString /* name*/, TQString /*mode*/, TQString /* fileName */, int /* lineNumber */)));
+ connect( templatesListView, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(selectionChanged(TQListViewItem*)));
show();
}
diff --git a/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.h b/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.h
index 7584860d..c7fa5b72 100644
--- a/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgtemplatesimpl.h
@@ -30,7 +30,7 @@
class XsldbgDebugger;
class XsldbgTemplatesImpl : public XsldbgTemplates, public XsldbgDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/kxsldbgpart/xsldbgwalkspeedimpl.h b/kxsldbg/kxsldbgpart/xsldbgwalkspeedimpl.h
index 290819aa..ec80d4e3 100644
--- a/kxsldbg/kxsldbgpart/xsldbgwalkspeedimpl.h
+++ b/kxsldbg/kxsldbgpart/xsldbgwalkspeedimpl.h
@@ -27,7 +27,7 @@
class XsldbgDebugger;
class XsldbgWalkSpeedImpl : public XsldbgWalkSpeed {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kxsldbg/xsldbg.desktop b/kxsldbg/xsldbg.desktop
index 70d41fd9..64cad2da 100644
--- a/kxsldbg/xsldbg.desktop
+++ b/kxsldbg/xsldbg.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
+Name=XSLDbg
+
Icon=kxsldbg
X-DocPath=xsldbg/index.html
Categories=Qt;TDE;Development;WebDevelopment;
NoDisplay=true
-Name=XSLDbg
diff --git a/kxsldbg/xsldbgmain.cpp b/kxsldbg/xsldbgmain.cpp
index fb9b619d..ceb275df 100644
--- a/kxsldbg/xsldbgmain.cpp
+++ b/kxsldbg/xsldbgmain.cpp
@@ -33,13 +33,13 @@
#include "kxsldbgpart/libxsldbg/xsldbg.h"
#include "kxsldbgpart/libxsldbg/options.h"
-#include <libxslt/xsltutils.h>
#include <tdeapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <tdelocale.h>
#include <tdeglobal.h>
#include <kdebug.h>
+#include <cstdlib>
/* Forward delare private functions */
static int notifyXsldbgAppSimple(XsldbgMessageEnum type, const void *data);
static int notifyStateXsldbgAppSimple(XsldbgMessageEnum type, int commandId,
@@ -127,7 +127,7 @@ int main(int argc, char **argv)
TQString libexsltCompileTimeInfo(i18n("libexslt %1 was compiled against libxml %2\n").arg(exsltLibexsltVersion).arg(exsltLibxmlVersion));
TQString freeFormText = xsldbgRunTimeInfo + libxmlCompileTimeInfo + libxsltCompileTimeInfo + libexsltCompileTimeInfo;
- TDEAboutData about("xsldbg", I18N_NOOP("Xsldbg"), version, description, TDEAboutData::License_GPL, "(C) 2003 Keith Isdale", freeFormText, 0, "k_isdale@tpg.com.au");
+ TDEAboutData about("xsldbg", I18N_NOOP("Xsldbg"), version, description, TDEAboutData::License_GPL, "(C) 2003 Keith Isdale", freeFormText.utf8(), 0, "k_isdale@tpg.com.au");
about.addAuthor( "Keith Isdale", 0, "k_isdale@tpg.com.au" );
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index aaa33883..22bd24a9 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -11,6 +11,9 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -21,3 +24,5 @@ include_directories(
tde_add_library( quantamodule STATIC_PIC AUTOMOC
SOURCES qextfileinfo.cpp ksavealldialog.cpp
)
+
+add_subdirectory( compatibility )
diff --git a/lib/compatibility/CMakeLists.txt b/lib/compatibility/CMakeLists.txt
new file mode 100644
index 00000000..e879bf03
--- /dev/null
+++ b/lib/compatibility/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+add_subdirectory( tdemdi )
diff --git a/lib/compatibility/tdemdi/CMakeLists.txt b/lib/compatibility/tdemdi/CMakeLists.txt
new file mode 100644
index 00000000..980af1c9
--- /dev/null
+++ b/lib/compatibility/tdemdi/CMakeLists.txt
@@ -0,0 +1,24 @@
+add_subdirectory( qextmdi )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/compatibility/tdemdi/qextmdi
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+##### quantatdemdi (static)
+
+tde_add_library( quantatdemdi STATIC_PIC AUTOMOC
+
+ SOURCES
+ dummy.cpp
+ LINK
+ tdeparts-shared
+ tdeio-shared
+ quantaqextmdi-static
+)
diff --git a/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt b/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt
new file mode 100644
index 00000000..78a41177
--- /dev/null
+++ b/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt
@@ -0,0 +1,30 @@
+#add_subdirectory( res )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/compatibility/tdemdi/qextmdi/res
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+##### quantatdemdi (static)
+
+tde_add_library( quantaqextmdi STATIC_PIC AUTOMOC
+
+ SOURCES
+ tdemdichildarea.cpp tdemdichildfrm.cpp
+ tdemdichildfrmcaption.cpp tdemdichildview.cpp
+ tdemdimainfrm.cpp tdemditaskbar.cpp
+ tdemultitabbar.cpp tdemditoolviewaccessor.cpp
+ tdemdidocumentviewtabwidget.cpp tdemdifocuslist.cpp
+ tdemdiguiclient.cpp ktabwidget.cpp
+ ktabbar.cpp kdockwidget.cpp
+ kdockwidget_private.cpp tdemdidockcontainer.cpp
+ LINK
+ tdeparts-shared
+)
diff --git a/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp b/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp
index ee670afb..e8752b41 100644
--- a/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp
@@ -42,7 +42,10 @@
#include <kdebug.h>
#include <tdeglobalsettings.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#ifdef TQ_WS_X11
#include <X11/X.h>
#include <X11/Xlib.h>
@@ -122,7 +125,7 @@ void KDockMainWindow::setMainDockWidget( KDockWidget* mdw )
void KDockMainWindow::setView( TQWidget *view )
{
if ( view->isA("KDockWidget") ){
- if ( TQT_BASE_OBJECT(view->parent()) != TQT_BASE_OBJECT(this) ) ((KDockWidget*)view)->applyToWidget( this );
+ if ( view->parent() != this ) ((KDockWidget*)view)->applyToWidget( this );
}
#ifndef NO_KDE2
@@ -203,7 +206,7 @@ void KDockWidgetHeaderDrag::paintEvent( TQPaintEvent* )
paint.begin( this );
- style().tqdrawPrimitive (TQStyle::PE_DockWindowHandle, &paint, TQRect(0,0,width(), height()), colorGroup());
+ style().drawPrimitive (TQStyle::PE_DockWindowHandle, &paint, TQRect(0,0,width(), height()), colorGroup());
paint.end();
}
@@ -219,7 +222,7 @@ KDockWidgetHeader::KDockWidgetHeader( KDockWidget* parent, const char* name )
#ifdef BORDERLESS_WINDOWS
setCursor(TQCursor(ArrowCursor));
#endif
- d = new KDockWidgetHeaderPrivate( TQT_TQOBJECT(this) );
+ d = new KDockWidgetHeaderPrivate( this );
layout = new TQHBoxLayout( this );
layout->setResizeMode( TQLayout::Minimum );
@@ -230,28 +233,28 @@ KDockWidgetHeader::KDockWidgetHeader( KDockWidget* parent, const char* name )
TQToolTip::add( closeButton, i18n("Close") );
closeButton->setPixmap( style().stylePixmap (TQStyle::SP_TitleBarCloseButton , this));
closeButton->setFixedSize(closeButton->pixmap()->width(),closeButton->pixmap()->height());
- connect( closeButton, TQT_SIGNAL(clicked()), parent, TQT_SIGNAL(headerCloseButtonClicked()));
- connect( closeButton, TQT_SIGNAL(clicked()), parent, TQT_SLOT(undock()));
+ connect( closeButton, TQ_SIGNAL(clicked()), parent, TQ_SIGNAL(headerCloseButtonClicked()));
+ connect( closeButton, TQ_SIGNAL(clicked()), parent, TQ_SLOT(undock()));
stayButton = new KDockButton_Private( this, "DockStayButton" );
TQToolTip::add( stayButton, i18n("Freeze the window geometry", "Freeze") );
stayButton->setToggleButton( true );
stayButton->setPixmap( const_cast< const char** >(not_close_xpm) );
stayButton->setFixedSize(closeButton->pixmap()->width(),closeButton->pixmap()->height());
- connect( stayButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStayClicked()));
+ connect( stayButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStayClicked()));
dockbackButton = new KDockButton_Private( this, "DockbackButton" );
TQToolTip::add( dockbackButton, i18n("Dock this window", "Dock") );
dockbackButton->setPixmap( const_cast< const char** >(dockback_xpm));
dockbackButton->setFixedSize(closeButton->pixmap()->width(),closeButton->pixmap()->height());
- connect( dockbackButton, TQT_SIGNAL(clicked()), parent, TQT_SIGNAL(headerDockbackButtonClicked()));
- connect( dockbackButton, TQT_SIGNAL(clicked()), parent, TQT_SLOT(dockBack()));
+ connect( dockbackButton, TQ_SIGNAL(clicked()), parent, TQ_SIGNAL(headerDockbackButtonClicked()));
+ connect( dockbackButton, TQ_SIGNAL(clicked()), parent, TQ_SLOT(dockBack()));
d->toDesktopButton = new KDockButton_Private( this, "ToDesktopButton" );
TQToolTip::add( d->toDesktopButton, i18n("Detach") );
d->toDesktopButton->setPixmap( const_cast< const char** >(todesktop_xpm));
d->toDesktopButton->setFixedSize(closeButton->pixmap()->width(),closeButton->pixmap()->height());
- connect( d->toDesktopButton, TQT_SIGNAL(clicked()), parent, TQT_SLOT(toDesktop()));
+ connect( d->toDesktopButton, TQ_SIGNAL(clicked()), parent, TQ_SLOT(toDesktop()));
stayButton->hide();
d->dummy = new TQWidget( this );
@@ -501,7 +504,7 @@ KDockWidget::KDockWidget( KDockManager* dockManager, const char* name, const TQP
layout->setResizeMode( TQLayout::Minimum );
manager = dockManager;
- manager->childDock->append( TQT_TQOBJECT(this) );
+ manager->childDock->append( this );
installEventFilter( manager );
eDocking = DockFullDocking;
@@ -525,7 +528,7 @@ KDockWidget::KDockWidget( KDockManager* dockManager, const char* name, const TQP
setIcon( pixmap);
widget = 0L;
- TQObject::connect(this, TQT_SIGNAL(hasUndocked()), manager->main, TQT_SLOT(slotDockWidgetUndocked()) );
+ TQObject::connect(this, TQ_SIGNAL(hasUndocked()), manager->main, TQ_SLOT(slotDockWidgetUndocked()) );
applyToWidget( parent, TQPoint(0,0) );
}
@@ -565,8 +568,8 @@ KDockWidget::~KDockWidget()
}
}
emit iMBeingClosed();
- if (manager->d) manager->d->containerDocks.remove(TQT_TQOBJECT(this));
- manager->childDock->remove( TQT_TQOBJECT(this) );
+ if (manager->d) manager->d->containerDocks.remove(this);
+ manager->childDock->remove( this );
delete pix;
delete d; // destroy private data
d=0;
@@ -577,7 +580,7 @@ void KDockWidget::paintEvent(TQPaintEvent* pe)
TQWidget::paintEvent(pe);
TQPainter paint;
paint.begin( this );
- style().tqdrawPrimitive (TQStyle::PE_Panel, &paint, TQRect(0,0,width(), height()), colorGroup());
+ style().drawPrimitive (TQStyle::PE_Panel, &paint, TQRect(0,0,width(), height()), colorGroup());
paint.end();
}
@@ -779,7 +782,7 @@ void KDockWidget::updateHeader()
setCursor(TQCursor(ArrowCursor));
#endif
- if ( (TQT_BASE_OBJECT(parent()) == TQT_BASE_OBJECT(manager->main)) || isGroup || (eDocking == KDockWidget::DockNone) ){
+ if ( (parent() == manager->main) || isGroup || (eDocking == KDockWidget::DockNone) ){
header->hide();
} else {
header->setTopLevel( false );
@@ -800,7 +803,7 @@ void KDockWidget::updateHeader()
void KDockWidget::applyToWidget( TQWidget* s, const TQPoint& p )
{
- if ( TQT_BASE_OBJECT(parent()) != TQT_BASE_OBJECT(s) )
+ if ( parent() != s )
{
hide();
reparent(s, 0, TQPoint(0,0), false);
@@ -922,7 +925,7 @@ KDockWidget *KDockWidget::findNearestDockWidget(DockPosition pos)
{
if (!parent()) return 0;
if (!parent()->inherits("KDockSplitter")) return 0;
- Qt::Orientation orientation=((pos==DockLeft) || (pos==DockRight)) ?Qt::Vertical:Qt::Horizontal;
+ TQt::Orientation orientation=((pos==DockLeft) || (pos==DockRight)) ?TQt::Vertical:TQt::Horizontal;
if (((KDockSplitter*)(parent()))->orientation()==orientation)
{
KDockWidget *neighbor=
@@ -931,7 +934,7 @@ KDockWidget *KDockWidget::findNearestDockWidget(DockPosition pos)
static_cast<KDockWidget*>(((KDockSplitter*)(parent()))->getLast());
if (neighbor==this)
- return (static_cast<KDockWidget*>(TQT_TQWIDGET(parent()->parent()))->findNearestDockWidget(pos));
+ return (static_cast<KDockWidget*>(parent()->parent())->findNearestDockWidget(pos));
else
if (neighbor->getWidget() && (neighbor->getWidget()->tqt_cast("KDockTabGroup")))
return (KDockWidget*)(((KDockTabGroup*)neighbor->getWidget())->page(0));
@@ -939,7 +942,7 @@ KDockWidget *KDockWidget::findNearestDockWidget(DockPosition pos)
return neighbor;
}
else
- return (static_cast<KDockWidget*>(TQT_TQWIDGET(parent()->parent()))->findNearestDockWidget(pos));
+ return (static_cast<KDockWidget*>(parent()->parent())->findNearestDockWidget(pos));
return 0;
}
@@ -1106,7 +1109,7 @@ KDockWidget* KDockWidget::manualDock( KDockWidget* target, DockPosition dockPos,
if ( dockPos == KDockWidget::DockCenter )
{
KDockTabGroup* tab = new KDockTabGroup( newDock, "_dock_tab");
- TQObject::connect(tab, TQT_SIGNAL(currentChanged(TQWidget*)), d, TQT_SLOT(slotFocusEmbeddedWidget(TQWidget*)));
+ TQObject::connect(tab, TQ_SIGNAL(currentChanged(TQWidget*)), d, TQ_SLOT(slotFocusEmbeddedWidget(TQWidget*)));
newDock->setWidget( tab );
target->applyToWidget( tab );
@@ -1143,13 +1146,13 @@ KDockWidget* KDockWidget::manualDock( KDockWidget* target, DockPosition dockPos,
// if to dock not to the center of the target dockwidget,
// dock to newDock
KDockSplitter* panner = 0L;
- if ( dockPos == KDockWidget::DockTop || dockPos == KDockWidget::DockBottom ) panner = new KDockSplitter( newDock, "_dock_split_",Qt::Horizontal, spliPos, manager->splitterHighResolution() );
- if ( dockPos == KDockWidget::DockLeft || dockPos == KDockWidget::DockRight ) panner = new KDockSplitter( newDock, "_dock_split_",Qt::Vertical , spliPos, manager->splitterHighResolution() );
+ if ( dockPos == KDockWidget::DockTop || dockPos == KDockWidget::DockBottom ) panner = new KDockSplitter( newDock, "_dock_split_",TQt::Horizontal, spliPos, manager->splitterHighResolution() );
+ if ( dockPos == KDockWidget::DockLeft || dockPos == KDockWidget::DockRight ) panner = new KDockSplitter( newDock, "_dock_split_",TQt::Vertical , spliPos, manager->splitterHighResolution() );
newDock->setWidget( panner );
panner->setOpaqueResize(manager->splitterOpaqueResize());
panner->setKeepSize(manager->splitterKeepSize());
- panner->setFocusPolicy( TQ_NoFocus );
+ panner->setFocusPolicy( TQWidget::NoFocus );
target->applyToWidget( panner );
applyToWidget( panner );
target->formerDockPos = target->currentDockPos;
@@ -1328,13 +1331,13 @@ void KDockWidget::undock()
split->deactivate();
if ( split->getFirst() == parentOfTab ){
split->activate( lastTab );
- if ( ((KDockWidget*)split->parent())->splitterOrientation ==Qt::Vertical )
+ if ( ((KDockWidget*)split->parent())->splitterOrientation ==TQt::Vertical )
emit ((KDockWidget*)split->getAnother(parentOfTab))->docking( parentOfTab, KDockWidget::DockLeft );
else
emit ((KDockWidget*)split->getAnother(parentOfTab))->docking( parentOfTab, KDockWidget::DockTop );
} else {
split->activate( 0L, lastTab );
- if ( ((KDockWidget*)split->parent())->splitterOrientation ==Qt::Vertical )
+ if ( ((KDockWidget*)split->parent())->splitterOrientation ==TQt::Vertical )
emit ((KDockWidget*)split->getAnother(parentOfTab))->docking( parentOfTab, KDockWidget::DockRight );
else
emit ((KDockWidget*)split->getAnother(parentOfTab))->docking( parentOfTab, KDockWidget::DockBottom );
@@ -1430,7 +1433,7 @@ void KDockWidget::setWidget( TQWidget* mw )
{
if ( !mw ) return;
- if ( TQT_BASE_OBJECT(mw->parent()) != TQT_BASE_OBJECT(this) ){
+ if ( mw->parent() != this ){
mw->reparent(this, 0, TQPoint(0,0), false);
}
@@ -1447,7 +1450,7 @@ void KDockWidget::setWidget( TQWidget* mw )
if (dc)
{
d->isContainer=true;
- manager->d->containerDocks.append(TQT_TQOBJECT(this));
+ manager->d->containerDocks.append(this);
}
else
{
@@ -1486,13 +1489,13 @@ void KDockWidget::setDockTabName( KDockTabGroup* tab )
bool KDockWidget::mayBeHide() const
{
- bool f = (TQT_BASE_OBJECT(parent()) != TQT_BASE_OBJECT(manager->main));
+ bool f = (parent() != manager->main);
return ( !isGroup && !isTabGroup && f && isVisible() && ( eDocking != (int)KDockWidget::DockNone ) );
}
bool KDockWidget::mayBeShow() const
{
- bool f = (TQT_BASE_OBJECT(parent()) != TQT_BASE_OBJECT(manager->main));
+ bool f = (parent() != manager->main);
return ( !isGroup && !isTabGroup && f && !isVisible() );
}
@@ -1541,15 +1544,15 @@ void KDockWidget::setFormerBrotherDockWidget(KDockWidget *dockWidget)
{
formerBrotherDockWidget = dockWidget;
if( formerBrotherDockWidget )
- TQObject::connect( formerBrotherDockWidget, TQT_SIGNAL(iMBeingClosed()),
- this, TQT_SLOT(loseFormerBrotherDockWidget()) );
+ TQObject::connect( formerBrotherDockWidget, TQ_SIGNAL(iMBeingClosed()),
+ this, TQ_SLOT(loseFormerBrotherDockWidget()) );
}
void KDockWidget::loseFormerBrotherDockWidget()
{
if( formerBrotherDockWidget )
- TQObject::disconnect( formerBrotherDockWidget, TQT_SIGNAL(iMBeingClosed()),
- this, TQT_SLOT(loseFormerBrotherDockWidget()) );
+ TQObject::disconnect( formerBrotherDockWidget, TQ_SIGNAL(iMBeingClosed()),
+ this, TQ_SLOT(loseFormerBrotherDockWidget()) );
formerBrotherDockWidget = 0L;
repaint();
}
@@ -1639,8 +1642,8 @@ KDockManager::KDockManager( TQWidget* mainWindow , const char* name )
menu = new TQPopupMenu();
#endif
- connect( menu, TQT_SIGNAL(aboutToShow()), TQT_SLOT(slotMenuPopup()) );
- connect( menu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotMenuActivated(int)) );
+ connect( menu, TQ_SIGNAL(aboutToShow()), TQ_SLOT(slotMenuPopup()) );
+ connect( menu, TQ_SIGNAL(activated(int)), TQ_SLOT(slotMenuActivated(int)) );
childDock = new TQObjectList();
childDock->setAutoDelete( false );
@@ -1680,7 +1683,7 @@ void KDockManager::activate()
obj->show();
}
}
- if ( !main->inherits(TQDIALOG_OBJECT_NAME_STRING) ) main->show();
+ if ( !main->inherits("TQDialog") ) main->show();
}
bool KDockManager::eventFilter( TQObject *obj, TQEvent *event )
@@ -1700,7 +1703,7 @@ bool KDockManager::eventFilter( TQObject *obj, TQEvent *event )
break;
case TQEvent::MouseButtonPress:
- if ( ((TQMouseEvent*)event)->button() == Qt::LeftButton ){
+ if ( ((TQMouseEvent*)event)->button() == TQt::LeftButton ){
if ( curdw->eDocking != (int)KDockWidget::DockNone ){
dropCancel = true;
curdw->setFocus();
@@ -1725,7 +1728,7 @@ bool KDockManager::eventFilter( TQObject *obj, TQEvent *event )
}
break;
case TQEvent::MouseButtonRelease:
- if ( ((TQMouseEvent*)event)->button() == Qt::LeftButton ){
+ if ( ((TQMouseEvent*)event)->button() == TQt::LeftButton ){
if ( dragging ){
if ( !dropCancel )
drop();
@@ -1803,7 +1806,7 @@ bool KDockManager::eventFilter( TQObject *obj, TQEvent *event )
if (d->readyToDrag) {
d->readyToDrag = false;
}
- if ( (((TQMouseEvent*)event)->state() == Qt::LeftButton) &&
+ if ( (((TQMouseEvent*)event)->state() == TQt::LeftButton) &&
(curdw->eDocking != (int)KDockWidget::DockNone) ) {
startDrag( curdw);
}
@@ -1841,8 +1844,8 @@ KDockWidget* KDockManager::findDockWidgetAt( const TQPoint& pos )
}
w = p;
}
- if ( tqt_find_obj_child( TQT_TQOBJECT(w), "KDockSplitter", "_dock_split_" ) ) return 0L;
- if ( tqt_find_obj_child( TQT_TQOBJECT(w), "KDockTabGroup", "_dock_tab" ) ) return 0L;
+ if ( tqt_find_obj_child( w, "KDockSplitter", "_dock_split_" ) ) return 0L;
+ if ( tqt_find_obj_child( w, "KDockTabGroup", "_dock_tab" ) ) return 0L;
if (dynamic_cast<KDockContainer*>(w)) return 0L;
if (!childDockWidgetList) return 0L;
@@ -2159,7 +2162,7 @@ void KDockManager::writeConfig(TQDomElement &base)
TQObjectListIt it(*childDock);
KDockWidget *obj1;
while ( (obj1=(KDockWidget*)it.current()) ) {
- if ( TQT_BASE_OBJECT(obj1->parent()) == TQT_BASE_OBJECT(main) )
+ if ( obj1->parent() == main )
mainWidgetStr = TQString::fromLatin1(obj1->name());
nList.append(obj1->name());
++it;
@@ -2347,7 +2350,7 @@ void KDockManager::readConfig(TQDomElement &base)
KDockWidget *second = getDockWidgetFromName(secondName);
if (first && second) {
obj = first->manualDock(second,
- (orientation == (int)Qt::Vertical)? KDockWidget::DockLeft : KDockWidget::DockTop,
+ (orientation == (int)TQt::Vertical)? KDockWidget::DockLeft : KDockWidget::DockTop,
separatorPos);
if (obj)
obj->setName(name.latin1());
@@ -2458,7 +2461,7 @@ void KDockManager::removeFromAutoCreateList(KDockWidget* pDockWidget)
{
if (!autoCreateDock) return;
autoCreateDock->setAutoDelete(false);
- autoCreateDock->removeRef(TQT_TQOBJECT(pDockWidget));
+ autoCreateDock->removeRef(pDockWidget);
autoCreateDock->setAutoDelete(true);
}
@@ -2494,7 +2497,7 @@ void KDockManager::writeConfig( TDEConfig* c, TQString group )
++it;
//debug(" +Add subdock %s", obj->name());
nList.append( obj->name() );
- if ( TQT_BASE_OBJECT(obj->parent()) == TQT_BASE_OBJECT(main) )
+ if ( obj->parent() == main )
c->writeEntry( "Main:view", obj->name() );
}
@@ -2702,9 +2705,9 @@ void KDockManager::readConfig( TDEConfig* c, TQString group )
KDockWidget* last = getDockWidgetFromName( c->readEntry( oname + ":last_name" ) );
int sepPos = c->readNumEntry( oname + ":sepPos" );
- Qt::Orientation p = (Qt::Orientation)c->readNumEntry( oname + ":orientation" );
+ TQt::Orientation p = (TQt::Orientation)c->readNumEntry( oname + ":orientation" );
if ( first && last ){
- obj = first->manualDock( last, ( p ==Qt::Vertical ) ? KDockWidget::DockLeft : KDockWidget::DockTop, sepPos );
+ obj = first->manualDock( last, ( p ==TQt::Vertical ) ? KDockWidget::DockLeft : KDockWidget::DockTop, sepPos );
if (obj){
obj->setName( oname.latin1() );
}
@@ -2831,7 +2834,7 @@ KDockWidget* KDockManager::getDockWidgetFromName( const TQString& dockName )
if ( autoCreateDock ){
kdDebug(282)<<"Autocreating dock: "<<dockName<<endl;
autoCreate = new KDockWidget( this, dockName.latin1(), TQPixmap(TQString("")) );
- autoCreateDock->append( TQT_TQOBJECT(autoCreate) );
+ autoCreateDock->append( autoCreate );
}
return autoCreate;
}
@@ -3046,7 +3049,7 @@ void KDockArea::resizeEvent(TQResizeEvent *rsize)
#ifndef NO_KDE2
// kdDebug(282)<<"KDockArea::resize"<<endl;
#endif
- TQObjectList *list=queryList(TQWIDGET_OBJECT_NAME_STRING,0,false);
+ TQObjectList *list=queryList("TQWidget",0,false);
TQObjectListIt it( *list ); // iterate over the buttons
TQObject *obj;
diff --git a/lib/compatibility/tdemdi/qextmdi/kdockwidget.h b/lib/compatibility/tdemdi/qextmdi/kdockwidget.h
index aad41407..2f4d4d01 100644
--- a/lib/compatibility/tdemdi/qextmdi/kdockwidget.h
+++ b/lib/compatibility/tdemdi/qextmdi/kdockwidget.h
@@ -104,7 +104,7 @@ namespace KMDI
*/
class KDockWidgetAbstractHeader : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -154,7 +154,7 @@ private:
*/
class TDEUI_EXPORT KDockWidgetAbstractHeaderDrag : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -200,7 +200,7 @@ private:
*/
class TDEUI_EXPORT KDockWidgetHeaderDrag : public KDockWidgetAbstractHeaderDrag
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -242,7 +242,7 @@ private:
*/
class TDEUI_EXPORT KDockWidgetHeader : public KDockWidgetAbstractHeader
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -368,7 +368,7 @@ private:
*/
class TDEUI_EXPORT KDockTabGroup : public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -429,7 +429,7 @@ private:
*/
class TDEUI_EXPORT KDockWidget: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
friend class KDockManager;
friend class KDockSplitter;
@@ -911,7 +911,7 @@ private:
*/
class TDEUI_EXPORT KDockManager: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
friend class KDockWidget;
friend class KDockMainWindow;
@@ -1308,7 +1308,7 @@ private:
*/
class TDEUI_EXPORT KDockMainWindow : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
friend class KDockManager;
@@ -1475,7 +1475,7 @@ private:
class TDEUI_EXPORT KDockArea : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
friend class KDockManager;
diff --git a/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.cpp b/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.cpp
index ef60f031..06a3481a 100644
--- a/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.cpp
@@ -26,7 +26,7 @@
#include <tqtimer.h>
#include <tqapplication.h>
-KDockSplitter::KDockSplitter(TQWidget *parent, const char *name, Qt::Orientation orient, int pos, bool highResolution)
+KDockSplitter::KDockSplitter(TQWidget *parent, const char *name, TQt::Orientation orient, int pos, bool highResolution)
: TQWidget(parent, name)
{
m_dontRecalc=false;
@@ -59,7 +59,7 @@ void KDockSplitter::activate(TQWidget *c0, TQWidget *c1)
divider->setLineWidth(1);
divider->raise();
- if (m_orientation ==Qt::Horizontal)
+ if (m_orientation ==TQt::Horizontal)
divider->setCursor(TQCursor(sizeVerCursor));
else
divider->setCursor(TQCursor(sizeHorCursor));
@@ -76,25 +76,25 @@ void KDockSplitter::activate(TQWidget *c0, TQWidget *c1)
if (((KDockWidget*)child0)->forcedFixedWidth()!=-1)
{
setForcedFixedWidth(((KDockWidget*)child0),((KDockWidget*)child0)->forcedFixedWidth());
- //TQTimer::singleShot(100,this,TQT_SLOT(delayedResize()));
+ //TQTimer::singleShot(100,this,TQ_SLOT(delayedResize()));
}
else
if (((KDockWidget*)child1)->forcedFixedWidth()!=-1)
{
setForcedFixedWidth(((KDockWidget*)child1),((KDockWidget*)child1)->forcedFixedWidth());
- //TQTimer::singleShot(100,this,TQT_SLOT(delayedResize()));
+ //TQTimer::singleShot(100,this,TQ_SLOT(delayedResize()));
}
if (((KDockWidget*)child0)->forcedFixedHeight()!=-1)
{
setForcedFixedHeight(((KDockWidget*)child0),((KDockWidget*)child0)->forcedFixedHeight());
- //TQTimer::singleShot(100,this,TQT_SLOT(delayedResize()));
+ //TQTimer::singleShot(100,this,TQ_SLOT(delayedResize()));
}
else
if (((KDockWidget*)child1)->forcedFixedHeight()!=-1)
{
setForcedFixedHeight(((KDockWidget*)child1),((KDockWidget*)child1)->forcedFixedHeight());
- //TQTimer::singleShot(100,this,TQT_SLOT(delayedResize()));
+ //TQTimer::singleShot(100,this,TQ_SLOT(delayedResize()));
}
@@ -179,7 +179,7 @@ void KDockSplitter::setupMinMaxSize()
{
// Set the minimum and maximum sizes
int minx, maxx, miny, maxy;
- if (m_orientation ==Qt::Horizontal) {
+ if (m_orientation ==TQt::Horizontal) {
miny = child0->minimumSize().height() + child1->minimumSize().height()+4;
maxy = child0->maximumSize().height() + child1->maximumSize().height()+4;
minx = (child0->minimumSize().width() > child1->minimumSize().width()) ? child0->minimumSize().width() : child1->minimumSize().width();
@@ -238,11 +238,11 @@ void KDockSplitter::resizeEvent(TQResizeEvent *ev)
double factor = (mHighResolution)? 10000.0:100.0;
// real resize event, recalculate xpos
if (ev && mKeepSize && isVisible()) {
-// kdDebug(282)<<"mKeepSize : "<< ((m_orientation ==Qt::Horizontal) ? "Horizontal":"Vertical") <<endl;
+// kdDebug(282)<<"mKeepSize : "<< ((m_orientation ==TQt::Horizontal) ? "Horizontal":"Vertical") <<endl;
if (ev->oldSize().width() != ev->size().width())
{
- if (m_orientation ==Qt::Horizontal) {
+ if (m_orientation ==TQt::Horizontal) {
xpos = tqRound(factor * checkValue( child0->height()+1 ) / height());
} else {
xpos = tqRound(factor * checkValue( child0->width()+1 ) / width());
@@ -252,9 +252,9 @@ void KDockSplitter::resizeEvent(TQResizeEvent *ev)
}
else
{
-// kdDebug(282)<<"!mKeepSize : "<< ((m_orientation ==Qt::Horizontal) ? "Horizontal":"Vertical") <<endl;
+// kdDebug(282)<<"!mKeepSize : "<< ((m_orientation ==TQt::Horizontal) ? "Horizontal":"Vertical") <<endl;
if (/*ev &&*/ isVisible()) {
- if (m_orientation ==Qt::Horizontal) {
+ if (m_orientation ==TQt::Horizontal) {
/* if (ev->oldSize().height() != ev->size().height())*/
{
if (fixedHeight0!=-1)
@@ -287,15 +287,15 @@ void KDockSplitter::resizeEvent(TQResizeEvent *ev)
KDockWidget *c0=(KDockWidget*)child0;
KDockWidget *c1=(KDockWidget*)child1;
bool stdHandling=false;
- if ( ( (m_orientation==Qt::Vertical) &&((fixedWidth0==-1) && (fixedWidth1==-1)) ) ||
- ( (m_orientation==Qt::Horizontal) &&((fixedHeight0==-1) && (fixedHeight1==-1)) ) ) {
+ if ( ( (m_orientation==TQt::Vertical) &&((fixedWidth0==-1) && (fixedWidth1==-1)) ) ||
+ ( (m_orientation==TQt::Horizontal) &&((fixedHeight0==-1) && (fixedHeight1==-1)) ) ) {
if ((c0->getWidget()) && (dc=dynamic_cast<KDockContainer*>(c0->getWidget()))
&& (dc->m_overlapMode)) {
- int position= tqRound((m_orientation ==Qt::Vertical ? width() : height()) * xpos/factor);
+ int position= tqRound((m_orientation ==TQt::Vertical ? width() : height()) * xpos/factor);
position=checkValueOverlapped(position,child0);
child0->raise();
divider->raise();
- if (m_orientation ==Qt::Horizontal){
+ if (m_orientation ==TQt::Horizontal){
child0->setGeometry(0, 0, width(), position);
child1->setGeometry(0, dc->m_nonOverlapSize+4, width(),
height()-dc->m_nonOverlapSize-4);
@@ -309,11 +309,11 @@ void KDockSplitter::resizeEvent(TQResizeEvent *ev)
} else {
if ((c1->getWidget()) && (dc=dynamic_cast<KDockContainer*>(c1->getWidget()))
&& (dc->m_overlapMode)) {
- int position= tqRound((m_orientation ==Qt::Vertical ? width() : height()) * xpos/factor);
+ int position= tqRound((m_orientation ==TQt::Vertical ? width() : height()) * xpos/factor);
position=checkValueOverlapped(position,child1);
child1->raise();
divider->raise();
- if (m_orientation ==Qt::Horizontal){
+ if (m_orientation ==TQt::Horizontal){
child0->setGeometry(0, 0, width(), height()-dc->m_nonOverlapSize-4);
child1->setGeometry(0, position+4, width(),
height()-position-4);
@@ -331,8 +331,8 @@ void KDockSplitter::resizeEvent(TQResizeEvent *ev)
else stdHandling=true;
if (stdHandling) {
- int position = checkValue( tqRound((m_orientation ==Qt::Vertical ? width() : height()) * xpos/factor) );
- if (m_orientation ==Qt::Horizontal){
+ int position = checkValue( tqRound((m_orientation ==TQt::Vertical ? width() : height()) * xpos/factor) );
+ if (m_orientation ==TQt::Horizontal){
child0->setGeometry(0, 0, width(), position);
child1->setGeometry(0, position+4, width(), height()-position-4);
divider->setGeometry(0, position, width(), 4);
@@ -349,7 +349,7 @@ void KDockSplitter::resizeEvent(TQResizeEvent *ev)
int KDockSplitter::checkValueOverlapped(int position, TQWidget *overlappingWidget) const {
if (initialised) {
- if (m_orientation ==Qt::Vertical) {
+ if (m_orientation ==TQt::Vertical) {
if (child0==overlappingWidget) {
if (position<(child0->minimumSize().width()))
position=child0->minimumSize().width();
@@ -358,7 +358,7 @@ int KDockSplitter::checkValueOverlapped(int position, TQWidget *overlappingWidge
position=width()-(child1->minimumSize().width())-4;
if (position<0) position=0;
}
- } else {// orientation ==Qt::Horizontal
+ } else {// orientation ==TQt::Horizontal
if (child0==overlappingWidget) {
if (position<(child0->minimumSize().height()))
position=child0->minimumSize().height();
@@ -377,7 +377,7 @@ int KDockSplitter::checkValueOverlapped(int position, TQWidget *overlappingWidge
int KDockSplitter::checkValue( int position ) const
{
if (initialised){
- if (m_orientation ==Qt::Vertical){
+ if (m_orientation ==TQt::Vertical){
if (position < (child0->minimumSize().width()))
position = child0->minimumSize().width();
if ((width()-4-position) < (child1->minimumSize().width()))
@@ -392,9 +392,9 @@ int KDockSplitter::checkValue( int position ) const
if (position < 0) position = 0;
- if ((m_orientation ==Qt::Vertical) && (position > width()))
+ if ((m_orientation ==TQt::Vertical) && (position > width()))
position = width();
- if ((m_orientation ==Qt::Horizontal) && (position > height()))
+ if ((m_orientation ==TQt::Horizontal) && (position > height()))
position = height();
return position;
@@ -411,7 +411,7 @@ bool KDockSplitter::eventFilter(TQObject *o, TQEvent *e)
mev= (TQMouseEvent*)e;
child0->setUpdatesEnabled(mOpaqueResize);
child1->setUpdatesEnabled(mOpaqueResize);
- if (m_orientation ==Qt::Horizontal) {
+ if (m_orientation ==TQt::Horizontal) {
if ((fixedHeight0!=-1) || (fixedHeight1!=-1))
{
handled=true; break;
@@ -445,7 +445,7 @@ bool KDockSplitter::eventFilter(TQObject *o, TQEvent *e)
child0->setUpdatesEnabled(true);
child1->setUpdatesEnabled(true);
mev= (TQMouseEvent*)e;
- if (m_orientation ==Qt::Horizontal){
+ if (m_orientation ==TQt::Horizontal){
if ((fixedHeight0!=-1) || (fixedHeight1!=-1))
{
handled=true; break;
@@ -544,7 +544,7 @@ KDockButton_Private::KDockButton_Private( TQWidget *parent, const char * name )
:TQPushButton( parent, name )
{
moveMouse = false;
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
}
KDockButton_Private::~KDockButton_Private()
@@ -620,7 +620,7 @@ void KDockWidgetPrivate::slotFocusEmbeddedWidget(TQWidget* w)
{
if (w) {
TQWidget* embeddedWdg = ((KDockWidget*)w)->getWidget();
- if (embeddedWdg && ((embeddedWdg->focusPolicy() == TQ_ClickFocus) || (embeddedWdg->focusPolicy() == TQ_StrongFocus))) {
+ if (embeddedWdg && ((embeddedWdg->focusPolicy() == TQWidget::ClickFocus) || (embeddedWdg->focusPolicy() == TQWidget::StrongFocus))) {
embeddedWdg->setFocus();
}
}
diff --git a/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.h b/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.h
index 1a4d021f..44760156 100644
--- a/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.h
+++ b/lib/compatibility/tdemdi/qextmdi/kdockwidget_private.h
@@ -42,7 +42,7 @@ class KDockContainer;
*/
class TDEUI_EXPORT KDockSplitter : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDockSplitter(TQWidget *parent= 0, const char *name= 0, Orientation orient=TQt::Vertical, int pos= 50, bool highResolution=false);
@@ -117,7 +117,7 @@ private:
*/
class TDEUI_EXPORT KDockButton_Private : public TQPushButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDockButton_Private( TQWidget *parent=0, const char *name=0 );
@@ -143,7 +143,7 @@ private:
*/
class TDEUI_EXPORT KDockWidgetPrivate : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDockWidgetPrivate();
diff --git a/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp b/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp
index fff6b2c1..dd339c61 100644
--- a/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp
@@ -43,12 +43,12 @@ KTabBar::KTabBar( TQWidget *parent, const char *name )
setMouseTracking( true );
mEnableCloseButtonTimer = new TQTimer( this );
- connect( mEnableCloseButtonTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( enableCloseButton() ) );
+ connect( mEnableCloseButtonTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( enableCloseButton() ) );
mActivateDragSwitchTabTimer = new TQTimer( this );
- connect( mActivateDragSwitchTabTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( activateDragSwitchTab() ) );
+ connect( mActivateDragSwitchTabTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( activateDragSwitchTab() ) );
- connect(this, TQT_SIGNAL(layoutChanged()), TQT_SLOT(onLayoutChange()));
+ connect(this, TQ_SIGNAL(layoutChanged()), TQ_SLOT(onLayoutChange()));
}
KTabBar::~KTabBar()
@@ -87,7 +87,7 @@ void KTabBar::setTabEnabled( int id, bool enabled )
void KTabBar::mouseDoubleClickEvent( TQMouseEvent *e )
{
- if( e->button() != Qt::LeftButton )
+ if( e->button() != TQt::LeftButton )
return;
TQTab *tab = selectTab( e->pos() );
@@ -100,11 +100,11 @@ void KTabBar::mouseDoubleClickEvent( TQMouseEvent *e )
void KTabBar::mousePressEvent( TQMouseEvent *e )
{
- if( e->button() == Qt::LeftButton ) {
+ if( e->button() == TQt::LeftButton ) {
mEnableCloseButtonTimer->stop();
mDragStart = e->pos();
}
- else if( e->button() == Qt::RightButton ) {
+ else if( e->button() == TQt::RightButton ) {
TQTab *tab = selectTab( e->pos() );
if( tab ) {
emit( contextMenu( indexOf( tab->identifier() ), mapToGlobal( e->pos() ) ) );
@@ -116,7 +116,7 @@ void KTabBar::mousePressEvent( TQMouseEvent *e )
void KTabBar::mouseMoveEvent( TQMouseEvent *e )
{
- if ( e->state() == Qt::LeftButton ) {
+ if ( e->state() == TQt::LeftButton ) {
TQTab *tab = selectTab( e->pos() );
if ( mDragSwitchTab && tab != mDragSwitchTab ) {
mActivateDragSwitchTabTimer->stop();
@@ -134,7 +134,7 @@ void KTabBar::mouseMoveEvent( TQMouseEvent *e )
}
}
}
- else if ( e->state() == Qt::MidButton ) {
+ else if ( e->state() == TQt::MidButton ) {
if (mReorderStartTab==-1) {
int delay = TDEGlobalSettings::dndEventDelay();
TQPoint newPos = e->pos();
@@ -200,7 +200,7 @@ void KTabBar::mouseMoveEvent( TQMouseEvent *e )
mEnableCloseButtonTimer->start( TQApplication::doubleClickInterval(), true );
}
mHoverCloseButtonTab = t;
- connect( mHoverCloseButton, TQT_SIGNAL( clicked() ), TQT_SLOT( closeButtonClicked() ) );
+ connect( mHoverCloseButton, TQ_SIGNAL( clicked() ), TQ_SLOT( closeButtonClicked() ) );
return;
}
}
@@ -229,7 +229,7 @@ void KTabBar::activateDragSwitchTab()
void KTabBar::mouseReleaseEvent( TQMouseEvent *e )
{
- if( e->button() == Qt::MidButton ) {
+ if( e->button() == TQt::MidButton ) {
if ( mReorderStartTab==-1 ) {
TQTab *tab = selectTab( e->pos() );
if( tab ) {
@@ -281,7 +281,7 @@ void KTabBar::dropEvent( TQDropEvent *e )
#ifndef TQT_NO_WHEELEVENT
void KTabBar::wheelEvent( TQWheelEvent *e )
{
- if ( e->orientation() ==Qt::Horizontal )
+ if ( e->orientation() ==TQt::Horizontal )
return;
emit( wheelDelta( e->delta() ) );
diff --git a/lib/compatibility/tdemdi/qextmdi/ktabbar.h b/lib/compatibility/tdemdi/qextmdi/ktabbar.h
index 53e87c8b..14d5e738 100644
--- a/lib/compatibility/tdemdi/qextmdi/ktabbar.h
+++ b/lib/compatibility/tdemdi/qextmdi/ktabbar.h
@@ -34,7 +34,7 @@ class KTabBarPrivate;
*/
class TDEUI_EXPORT KTabBar: public TQTabBar
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp b/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp
index 3b17a43a..abb0a447 100644
--- a/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp
@@ -55,16 +55,16 @@ KTabWidget::KTabWidget( TQWidget *parent, const char *name, WFlags f )
setTabBar( new KTabBar(this, "tabbar") );
setAcceptDrops( true );
- connect(tabBar(), TQT_SIGNAL(contextMenu( int, const TQPoint & )), TQT_SLOT(contextMenu( int, const TQPoint & )));
- connect(tabBar(), TQT_SIGNAL(mouseDoubleClick( int )), TQT_SLOT(mouseDoubleClick( int )));
- connect(tabBar(), TQT_SIGNAL(mouseMiddleClick( int )), TQT_SLOT(mouseMiddleClick( int )));
- connect(tabBar(), TQT_SIGNAL(initiateDrag( int )), TQT_SLOT(initiateDrag( int )));
- connect(tabBar(), TQT_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool & )), TQT_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool & )));
- connect(tabBar(), TQT_SIGNAL(receivedDropEvent( int, TQDropEvent * )), TQT_SLOT(receivedDropEvent( int, TQDropEvent * )));
- connect(tabBar(), TQT_SIGNAL(moveTab( int, int )), TQT_SLOT(moveTab( int, int )));
- connect(tabBar(), TQT_SIGNAL(closeRequest( int )), TQT_SLOT(closeRequest( int )));
+ connect(tabBar(), TQ_SIGNAL(contextMenu( int, const TQPoint & )), TQ_SLOT(contextMenu( int, const TQPoint & )));
+ connect(tabBar(), TQ_SIGNAL(mouseDoubleClick( int )), TQ_SLOT(mouseDoubleClick( int )));
+ connect(tabBar(), TQ_SIGNAL(mouseMiddleClick( int )), TQ_SLOT(mouseMiddleClick( int )));
+ connect(tabBar(), TQ_SIGNAL(initiateDrag( int )), TQ_SLOT(initiateDrag( int )));
+ connect(tabBar(), TQ_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool & )), TQ_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool & )));
+ connect(tabBar(), TQ_SIGNAL(receivedDropEvent( int, TQDropEvent * )), TQ_SLOT(receivedDropEvent( int, TQDropEvent * )));
+ connect(tabBar(), TQ_SIGNAL(moveTab( int, int )), TQ_SLOT(moveTab( int, int )));
+ connect(tabBar(), TQ_SIGNAL(closeRequest( int )), TQ_SLOT(closeRequest( int )));
#ifndef TQT_NO_WHEELEVENT
- connect(tabBar(), TQT_SIGNAL(wheelDelta( int )), TQT_SLOT(wheelDelta( int )));
+ connect(tabBar(), TQ_SIGNAL(wheelDelta( int )), TQ_SLOT(wheelDelta( int )));
#endif
}
@@ -174,7 +174,7 @@ unsigned int KTabWidget::tabBarWidthForMaxChars( uint maxLength )
int iw = 0;
if ( tab->iconSet() )
iw = tab->iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ).width() + 4;
- x += ( tabBar()->style().tqsizeFromContents( TQStyle::CT_TabBarTab, this,
+ x += ( tabBar()->style().sizeFromContents( TQStyle::CT_TabBarTab, this,
TQSize( TQMAX( lw + hframe + iw, TQApplication::globalStrut().width() ), 0 ),
TQStyleOption( tab ) ) ).width();
}
@@ -316,7 +316,7 @@ void KTabWidget::dropEvent( TQDropEvent *e )
#ifndef TQT_NO_WHEELEVENT
void KTabWidget::wheelEvent( TQWheelEvent *e )
{
- if ( e->orientation() ==Qt::Horizontal )
+ if ( e->orientation() ==TQt::Horizontal )
return;
if ( isEmptyTabbarSpace( e->pos() ) )
@@ -344,7 +344,7 @@ void KTabWidget::wheelDelta( int delta )
void KTabWidget::mouseDoubleClickEvent( TQMouseEvent *e )
{
- if( e->button() != Qt::LeftButton )
+ if( e->button() != TQt::LeftButton )
return;
if ( isEmptyTabbarSpace( e->pos() ) ) {
@@ -356,12 +356,12 @@ void KTabWidget::mouseDoubleClickEvent( TQMouseEvent *e )
void KTabWidget::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::RightButton ) {
+ if ( e->button() == TQt::RightButton ) {
if ( isEmptyTabbarSpace( e->pos() ) ) {
emit( contextMenu( mapToGlobal( e->pos() ) ) );
return;
}
- } else if ( e->button() == Qt::MidButton ) {
+ } else if ( e->button() == TQt::MidButton ) {
if ( isEmptyTabbarSpace( e->pos() ) ) {
emit( mouseMiddleClick() );
return;
diff --git a/lib/compatibility/tdemdi/qextmdi/ktabwidget.h b/lib/compatibility/tdemdi/qextmdi/ktabwidget.h
index 5c9ba940..e2ac7c94 100644
--- a/lib/compatibility/tdemdi/qextmdi/ktabwidget.h
+++ b/lib/compatibility/tdemdi/qextmdi/ktabwidget.h
@@ -35,7 +35,7 @@ class KTabWidgetPrivate;
*/
class TDEUI_EXPORT KTabWidget : public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
TQ_PROPERTY( bool tabReorderingEnabled READ isTabReorderingEnabled WRITE setTabReorderingEnabled )
TQ_PROPERTY( bool hoverCloseButton READ hoverCloseButton WRITE setHoverCloseButton )
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.cpp
index 4b3940be..1d654392 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.cpp
@@ -58,7 +58,7 @@ KMdiChildArea::KMdiChildArea( TQWidget *parent )
m_captionInactiveForeColor = TDEGlobalSettings::inactiveTextColor();
m_pZ = new TQPtrList<KMdiChildFrm>;
m_pZ->setAutoDelete( true );
- setFocusPolicy( TQ_ClickFocus );
+ setFocusPolicy( TQWidget::ClickFocus );
m_defaultChildFrmSize = TQSize( 400, 300 );
}
@@ -112,7 +112,7 @@ void KMdiChildArea::destroyChild( KMdiChildFrm *child, bool focusTop )
bool wasMaximized = ( child->state() == KMdiChildFrm::Maximized );
// destroy the old one
- TQT_BASE_OBJECT_NAME::disconnect( child );
+ TQObject::disconnect( child );
child->blockSignals( true );
m_pZ->setAutoDelete( false );
m_pZ->removeRef( child );
@@ -144,7 +144,7 @@ void KMdiChildArea::destroyChildButNotItsView( KMdiChildFrm* child, bool focusTo
bool wasMaximized = ( child->state() == KMdiChildFrm::Maximized );
// destroy the old one
- TQT_BASE_OBJECT_NAME::disconnect( child );
+ TQObject::disconnect( child );
child->unsetClient();
m_pZ->setAutoDelete( false );
m_pZ->removeRef( child );
@@ -218,12 +218,8 @@ void KMdiChildArea::setTopChild( KMdiChildFrm* child, bool /* bSetFocus */ )
else
child->raise();
-#ifdef USE_QT4
- child->m_pClient->setFocus();
-#else // USE_QT4
TQFocusEvent::setReason( TQFocusEvent::Other );
child->m_pClient->setFocus();
-#endif // USE_QT4
}
}
@@ -253,7 +249,7 @@ void KMdiChildArea::resizeEvent( TQResizeEvent* e )
void KMdiChildArea::mousePressEvent( TQMouseEvent *e )
{
//Popup the window menu
- if ( e->button() & Qt::RightButton )
+ if ( e->button() & TQt::RightButton )
emit popupWindowMenu( mapToGlobal( e->pos() ) );
}
@@ -789,5 +785,3 @@ void KMdiChildArea::getCaptionColors( const TQPalette& /*pal*/, TQColor& activeB
inactiveBG = TDEGlobalSettings::inactiveTitleColor();
inactiveFG = TDEGlobalSettings::inactiveTextColor();
}
-
-// kate: space-indent off; replace-tabs off; tab-width 4; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.h b/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.h
index 0a85b26b..11a93414 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildarea.h
@@ -54,7 +54,7 @@ class KMDI_EXPORT KMdiChildArea : public TQFrame
friend class KMdiChildFrmCaption;
friend class KMdiChildFrm;
-Q_OBJECT
+TQ_OBJECT
// attributes
@@ -303,5 +303,3 @@ private:
};
#endif // _TDEMDI_CHILDAREA_H_
-
-// kate: indent-mode csands; tab-width 4; auto-insert-doxygen on;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.cpp
index 62a973d9..54eba787 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.cpp
@@ -138,10 +138,10 @@ KMdiChildFrm::KMdiChildFrm( KMdiChildArea *parent )
m_pClose = new TQToolButton( m_pCaption, "tdemdi_toolbutton_close" );
m_pUndock = new TQToolButton( m_pCaption, "tdemdi_toolbutton_undock" );
- TQObject::connect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( minimizePressed() ) );
- TQObject::connect( m_pMaximize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( maximizePressed() ) );
- TQObject::connect( m_pClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( closePressed() ) );
- TQObject::connect( m_pUndock, TQT_SIGNAL( clicked() ), this, TQT_SLOT( undockPressed() ) );
+ TQObject::connect( m_pMinimize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( minimizePressed() ) );
+ TQObject::connect( m_pMaximize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( maximizePressed() ) );
+ TQObject::connect( m_pClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( closePressed() ) );
+ TQObject::connect( m_pUndock, TQ_SIGNAL( clicked() ), this, TQ_SLOT( undockPressed() ) );
m_pIconButtonPixmap = new TQPixmap( SmallIcon( "document-new" ) );
if ( m_pIconButtonPixmap->isNull() )
@@ -149,15 +149,15 @@ KMdiChildFrm::KMdiChildFrm( KMdiChildArea *parent )
redecorateButtons();
- m_pWinIcon->setFocusPolicy( TQ_NoFocus );
- m_pUnixIcon->setFocusPolicy( TQ_NoFocus );
- m_pClose->setFocusPolicy( TQ_NoFocus );
- m_pMinimize->setFocusPolicy( TQ_NoFocus );
- m_pMaximize->setFocusPolicy( TQ_NoFocus );
- m_pUndock->setFocusPolicy( TQ_NoFocus );
+ m_pWinIcon->setFocusPolicy( TQWidget::NoFocus );
+ m_pUnixIcon->setFocusPolicy( TQWidget::NoFocus );
+ m_pClose->setFocusPolicy( TQWidget::NoFocus );
+ m_pMinimize->setFocusPolicy( TQWidget::NoFocus );
+ m_pMaximize->setFocusPolicy( TQWidget::NoFocus );
+ m_pUndock->setFocusPolicy( TQWidget::NoFocus );
setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
setMouseTracking( true );
@@ -283,7 +283,7 @@ void KMdiChildFrm::mouseMoveEvent( TQMouseEvent *e )
if ( m_bResizing )
{
- if ( !( e->state() & Qt::RightButton ) && !( e->state() & Qt::MidButton ) )
+ if ( !( e->state() & TQt::RightButton ) && !( e->state() & TQt::MidButton ) )
{
// same as: if no button or left button pressed
TQPoint p = parentWidget()->mapFromGlobal( e->globalPos() );
@@ -540,8 +540,8 @@ void KMdiChildFrm::setState( MdiWindowState state, bool /*bAnimate*/ )
}
m_pMinimize->setPixmap( *m_pMinButtonPixmap );
m_pMaximize->setPixmap( *m_pMaxButtonPixmap );
- TQObject::disconnect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( restorePressed() ) );
- TQObject::connect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( minimizePressed() ) );
+ TQObject::disconnect( m_pMinimize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( restorePressed() ) );
+ TQObject::connect( m_pMinimize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( minimizePressed() ) );
setGeometry( m_restoredRect );
break;
case Normal:
@@ -566,8 +566,8 @@ void KMdiChildFrm::setState( MdiWindowState state, bool /*bAnimate*/ )
// reset to maximize-captionbar
m_pMaximize->setPixmap( *m_pRestoreButtonPixmap );
m_pMinimize->setPixmap( *m_pMinButtonPixmap );
- TQObject::disconnect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( restorePressed() ) );
- TQObject::connect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( minimizePressed() ) );
+ TQObject::disconnect( m_pMinimize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( restorePressed() ) );
+ TQObject::connect( m_pMinimize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( minimizePressed() ) );
int nFrameWidth = KMDI_CHILDFRM_DOUBLE_BORDER;
int nFrameHeight = KMDI_CHILDFRM_DOUBLE_BORDER + KMDI_CHILDFRM_SEPARATOR +
m_pCaption->heightHint();
@@ -705,7 +705,7 @@ void KMdiChildFrm::setIcon( const TQPixmap& pxm )
if ( p.width() != 18 || p.height() != 18 )
{
TQImage img = p.convertToImage();
- p = img.smoothScale( 18, 18, TQ_ScaleMin );
+ p = img.smoothScale( 18, 18, TQImage::ScaleMin );
}
const bool do_resize = m_pIconButtonPixmap->size() != p.size();
*m_pIconButtonPixmap = p;
@@ -750,9 +750,9 @@ void KMdiChildFrm::setClient( KMdiChildView *w, bool bAutomaticResize )
}
// memorize the focuses in a dictionary because they will get lost during reparenting
- TQDict<TQ_FocusPolicy>* pFocPolDict = new TQDict<TQ_FocusPolicy>;
+ TQDict<TQWidget::FocusPolicy>* pFocPolDict = new TQDict<TQWidget::FocusPolicy>;
pFocPolDict->setAutoDelete( true );
- TQObjectList *list = m_pClient->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList *list = m_pClient->queryList( "TQWidget" );
TQObjectListIt it( *list ); // iterate over the buttons
TQObject * obj;
int i = 1;
@@ -768,14 +768,14 @@ void KMdiChildFrm::setClient( KMdiChildView *w, bool bAutomaticResize )
widg->setName( tmpStr.latin1() );
i++;
}
- TQ_FocusPolicy* pFocPol = new TQ_FocusPolicy;
+ TQWidget::FocusPolicy* pFocPol = new TQWidget::FocusPolicy;
*pFocPol = widg->focusPolicy();
pFocPolDict->insert( widg->name(), pFocPol );
}
delete list; // delete the list, not the objects
//Reparent if needed
- if ( TQT_BASE_OBJECT(w->parent()) != TQT_BASE_OBJECT(this) )
+ if ( w->parent() != this )
{
//reparent to this widget , no flags , point , show it
TQPoint pnt2( KMDI_CHILDFRM_BORDER, clientYPos );
@@ -795,7 +795,7 @@ void KMdiChildFrm::setClient( KMdiChildView *w, bool bAutomaticResize )
linkChildren( pFocPolDict );
- TQObject::connect( m_pClient, TQT_SIGNAL( mdiParentNowMaximized( bool ) ), m_pManager, TQT_SIGNAL( nowMaximized( bool ) ) );
+ TQObject::connect( m_pClient, TQ_SIGNAL( mdiParentNowMaximized( bool ) ), m_pManager, TQ_SIGNAL( nowMaximized( bool ) ) );
if ( m_pClient->minimumWidth() > m_pManager->m_defaultChildFrmSize.width() )
setMinimumWidth( m_pClient->minimumSize().width() + KMDI_CHILDFRM_DOUBLE_BORDER );
@@ -814,10 +814,10 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
if ( !m_pClient )
return ;
- TQObject::disconnect( m_pClient, TQT_SIGNAL( mdiParentNowMaximized( bool ) ), m_pManager, TQT_SIGNAL( nowMaximized( bool ) ) );
+ TQObject::disconnect( m_pClient, TQ_SIGNAL( mdiParentNowMaximized( bool ) ), m_pManager, TQ_SIGNAL( nowMaximized( bool ) ) );
//reparent to desktop widget , no flags , point , show it
- TQDict<TQ_FocusPolicy>* pFocPolDict;
+ TQDict<TQWidget::FocusPolicy>* pFocPolDict;
pFocPolDict = unlinkChildren();
// get name of focused child widget
@@ -833,7 +833,7 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
m_pClient->setMaximumSize( maxs.width(), maxs.height() );
// remember the focus policies using the dictionary and reset them
- TQObjectList *list = m_pClient->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList *list = m_pClient->queryList( "TQWidget" );
TQObjectListIt it( *list ); // iterate over all child widgets of child frame
TQObject * obj;
TQWidget* firstFocusableChildWidget = 0;
@@ -842,7 +842,7 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
{ // for each found object...
TQWidget * widg = ( TQWidget* ) obj;
++it;
- TQ_FocusPolicy* pFocPol = pFocPolDict->find( widg->name() ); // remember the focus policy from before the reparent
+ TQWidget::FocusPolicy* pFocPol = pFocPolDict->find( widg->name() ); // remember the focus policy from before the reparent
if ( pFocPol )
widg->setFocusPolicy( *pFocPol );
@@ -851,7 +851,7 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
widg->setFocus();
// get first and last focusable widget
- if ( ( widg->focusPolicy() == TQ_StrongFocus ) || ( widg->focusPolicy() == TQ_TabFocus ) )
+ if ( ( widg->focusPolicy() == TQWidget::StrongFocus ) || ( widg->focusPolicy() == TQWidget::TabFocus ) )
{
if ( firstFocusableChildWidget == 0 )
firstFocusableChildWidget = widg; // first widget
@@ -860,7 +860,7 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
}
else
{
- if ( widg->focusPolicy() == TQ_WheelFocus )
+ if ( widg->focusPolicy() == TQWidget::WheelFocus )
{
if ( firstFocusableChildWidget == 0 )
firstFocusableChildWidget = widg; // first widget
@@ -877,29 +877,29 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
m_pClient->setLastFocusableChildWidget( lastFocusableChildWidget );
// reset the focus policy of the view
- m_pClient->setFocusPolicy( TQ_ClickFocus );
+ m_pClient->setFocusPolicy( TQWidget::ClickFocus );
// lose information about the view (because it's undocked now)
m_pClient = 0;
}
//============== linkChildren =============//
-void KMdiChildFrm::linkChildren( TQDict<TQ_FocusPolicy>* pFocPolDict )
+void KMdiChildFrm::linkChildren( TQDict<TQWidget::FocusPolicy>* pFocPolDict )
{
// reset the focus policies for all widgets in the view (take them from the dictionary)
- TQObjectList* list = m_pClient->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList* list = m_pClient->queryList( "TQWidget" );
TQObjectListIt it( *list ); // iterate over all child widgets of child frame
TQObject* obj;
while ( ( obj = it.current() ) != 0 )
{ // for each found object...
TQWidget* widg = ( TQWidget* ) obj;
++it;
- TQ_FocusPolicy* pFocPol = pFocPolDict->find( widg->name() ); // remember the focus policy from before the reparent
+ TQWidget::FocusPolicy* pFocPol = pFocPolDict->find( widg->name() ); // remember the focus policy from before the reparent
if ( pFocPol != 0 )
widg->setFocusPolicy( *pFocPol );
- if ( !( widg->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ) ) )
+ if ( !( widg->inherits( "TQPopupMenu" ) ) )
widg->installEventFilter( this );
}
@@ -907,14 +907,14 @@ void KMdiChildFrm::linkChildren( TQDict<TQ_FocusPolicy>* pFocPolDict )
delete pFocPolDict;
// reset the focus policies for the rest
- m_pWinIcon->setFocusPolicy( TQ_NoFocus );
- m_pUnixIcon->setFocusPolicy( TQ_NoFocus );
- m_pClient->setFocusPolicy( TQ_ClickFocus );
- m_pCaption->setFocusPolicy( TQ_NoFocus );
- m_pUndock->setFocusPolicy( TQ_NoFocus );
- m_pMinimize->setFocusPolicy( TQ_NoFocus );
- m_pMaximize->setFocusPolicy( TQ_NoFocus );
- m_pClose->setFocusPolicy( TQ_NoFocus );
+ m_pWinIcon->setFocusPolicy( TQWidget::NoFocus );
+ m_pUnixIcon->setFocusPolicy( TQWidget::NoFocus );
+ m_pClient->setFocusPolicy( TQWidget::ClickFocus );
+ m_pCaption->setFocusPolicy( TQWidget::NoFocus );
+ m_pUndock->setFocusPolicy( TQWidget::NoFocus );
+ m_pMinimize->setFocusPolicy( TQWidget::NoFocus );
+ m_pMaximize->setFocusPolicy( TQWidget::NoFocus );
+ m_pClose->setFocusPolicy( TQWidget::NoFocus );
// install the event filter (catch mouse clicks) for the rest
m_pWinIcon->installEventFilter( this );
@@ -930,13 +930,13 @@ void KMdiChildFrm::linkChildren( TQDict<TQ_FocusPolicy>* pFocPolDict )
//============== unlinkChildren =============//
-TQDict<TQ_FocusPolicy>* KMdiChildFrm::unlinkChildren()
+TQDict<TQWidget::FocusPolicy>* KMdiChildFrm::unlinkChildren()
{
// memorize the focuses in a dictionary because they will get lost during reparenting
- TQDict<TQ_FocusPolicy>* pFocPolDict = new TQDict<TQ_FocusPolicy>;
+ TQDict<TQWidget::FocusPolicy>* pFocPolDict = new TQDict<TQWidget::FocusPolicy>;
pFocPolDict->setAutoDelete( true );
- TQObjectList *list = m_pClient->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList *list = m_pClient->queryList( "TQWidget" );
TQObjectListIt it( *list ); // iterate over all child widgets of child frame
TQObject * obj;
int i = 1;
@@ -953,7 +953,7 @@ TQDict<TQ_FocusPolicy>* KMdiChildFrm::unlinkChildren()
w->setName( tmpStr.latin1() );
i++;
}
- TQ_FocusPolicy* pFocPol = new TQ_FocusPolicy;
+ TQWidget::FocusPolicy* pFocPol = new TQWidget::FocusPolicy;
*pFocPol = w->focusPolicy();
// memorize focus policy
pFocPolDict->insert( w->name(), pFocPol );
@@ -1085,7 +1085,7 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e )
TQObject* pObj = obj;
while ( ( pObj != 0L ) && !bIsChild )
{
- bIsChild = ( TQT_BASE_OBJECT(pObj) == TQT_BASE_OBJECT(this) );
+ bIsChild = ( pObj == this );
pObj = pObj->parent();
}
// unset the resize cursor if the cursor moved from the frame into a inner widget
@@ -1095,13 +1095,13 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e )
break;
case TQEvent::MouseButtonPress:
{
- if ( !hasParent( TQT_TQOBJECT(m_pClient), TQT_TQOBJECT(obj) ) )
+ if ( !hasParent( m_pClient, obj ) )
{
bool bIsSecondClick = false;
if ( m_timeMeasure.elapsed() <= TQApplication::doubleClickInterval() )
bIsSecondClick = true; // of a possible double click
- if ( !( ( ( TQT_BASE_OBJECT(obj) == m_pWinIcon ) || ( TQT_BASE_OBJECT(obj) == m_pUnixIcon ) ) && bIsSecondClick ) )
+ if ( !( ( ( obj == m_pWinIcon ) || ( obj == m_pUnixIcon ) ) && bIsSecondClick ) )
{
// in case we didn't click on the icon button
TQFocusEvent* pFE = new TQFocusEvent( TQFocusEvent::FocusIn );
@@ -1112,16 +1112,16 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e )
m_pClient->activate();
}
- if ( ( TQT_BASE_OBJECT(obj->parent()) != TQT_BASE_OBJECT(m_pCaption) ) && ( TQT_BASE_OBJECT(obj) != TQT_BASE_OBJECT(m_pCaption) ) )
+ if ( ( obj->parent() != m_pCaption ) && ( obj != m_pCaption ) )
{
TQWidget* w = ( TQWidget* ) obj;
- if ( ( w->focusPolicy() == TQ_ClickFocus ) || ( w->focusPolicy() == TQ_StrongFocus ) )
+ if ( ( w->focusPolicy() == TQWidget::ClickFocus ) || ( w->focusPolicy() == TQWidget::StrongFocus ) )
{
w->setFocus();
}
}
}
- if ( ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pWinIcon) ) || ( TQT_TQOBJECT(obj) == TQT_BASE_OBJECT(m_pUnixIcon) ) )
+ if ( ( obj == m_pWinIcon ) || ( obj == m_pUnixIcon ) )
{
// in case we clicked on the icon button
if ( m_timeMeasure.elapsed() > TQApplication::doubleClickInterval() )
@@ -1139,7 +1139,7 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e )
break;
case TQEvent::Resize:
{
- if ( ( ( TQWidget* ) TQT_TQOBJECT(obj) == m_pClient ) && ( m_state == Normal ) )
+ if ( ( ( TQWidget* ) obj == m_pClient ) && ( m_state == Normal ) )
{
TQResizeEvent* re = ( TQResizeEvent* ) e;
int captionHeight = m_pCaption->heightHint();
@@ -1154,8 +1154,8 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e )
{
// if we lost a child we uninstall ourself as event filter for the lost
// child and its children
- TQObject* pLostChild = TQT_TQOBJECT(( ( TQChildEvent* ) e )->child());
- if ( ( pLostChild != 0L ) /*&& (pLostChild->inherits(TQWIDGET_OBJECT_NAME_STRING))*/ )
+ TQObject* pLostChild = ( ( TQChildEvent* ) e )->child();
+ if ( ( pLostChild != 0L ) /*&& (pLostChild->inherits("TQWidget"))*/ )
{
TQObjectList* list = pLostChild->queryList();
list->insert( 0, pLostChild ); // add the lost child to the list too, just to save code
@@ -1176,11 +1176,11 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e )
// if we got a new child we install ourself as event filter for the new
// child and its children (as we did when we got our client).
// XXX see linkChildren() and focus policy stuff
- TQObject* pNewChild = TQT_TQOBJECT(( ( TQChildEvent* ) e ) ->child());
- if ( ( pNewChild != 0L ) && ::tqqt_cast<TQWidget*>( pNewChild ) )
+ TQObject* pNewChild = ( ( TQChildEvent* ) e ) ->child();
+ if ( ( pNewChild != 0L ) && ::tqt_cast<TQWidget*>( pNewChild ) )
{
- TQWidget * pNewWidget = TQT_TQWIDGET( pNewChild );
- TQObjectList *list = pNewWidget->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQWidget * pNewWidget = static_cast<TQWidget*>( pNewChild );
+ TQObjectList *list = pNewWidget->queryList( "TQWidget" );
list->insert( 0, pNewChild ); // add the new child to the list too, just to save code
TQObjectListIt it( *list ); // iterate over all new child widgets
TQObject * obj;
@@ -1188,7 +1188,7 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e )
{ // for each found object...
TQWidget * widg = ( TQWidget* ) obj;
++it;
- if ( !::tqqt_cast<TQPopupMenu*>( widg ) )
+ if ( !::tqt_cast<TQPopupMenu*>( widg ) )
{
widg->installEventFilter( this );
}
@@ -1234,11 +1234,11 @@ TQPopupMenu* KMdiChildFrm::systemMenu() const
if ( KMdiMainFrm::frameDecorOfAttachedViews() != KMdi::Win95Look )
{
- m_pSystemMenu->insertItem( i18n( "&Restore" ), this, TQT_SLOT( restorePressed() ) );
- m_pSystemMenu->insertItem( i18n( "&Move" ), m_pCaption, TQT_SLOT( slot_moveViaSystemMenu() ) );
- m_pSystemMenu->insertItem( i18n( "R&esize" ), this, TQT_SLOT( slot_resizeViaSystemMenu() ) );
- m_pSystemMenu->insertItem( i18n( "M&inimize" ), this, TQT_SLOT( minimizePressed() ) );
- m_pSystemMenu->insertItem( i18n( "M&aximize" ), this, TQT_SLOT( maximizePressed() ) );
+ m_pSystemMenu->insertItem( i18n( "&Restore" ), this, TQ_SLOT( restorePressed() ) );
+ m_pSystemMenu->insertItem( i18n( "&Move" ), m_pCaption, TQ_SLOT( slot_moveViaSystemMenu() ) );
+ m_pSystemMenu->insertItem( i18n( "R&esize" ), this, TQ_SLOT( slot_resizeViaSystemMenu() ) );
+ m_pSystemMenu->insertItem( i18n( "M&inimize" ), this, TQ_SLOT( minimizePressed() ) );
+ m_pSystemMenu->insertItem( i18n( "M&aximize" ), this, TQ_SLOT( maximizePressed() ) );
if ( state() == Normal )
m_pSystemMenu->setItemEnabled( m_pSystemMenu->idAt( 0 ), false );
else if ( state() == Maximized )
@@ -1256,20 +1256,20 @@ TQPopupMenu* KMdiChildFrm::systemMenu() const
else
{
if ( state() != Normal )
- m_pSystemMenu->insertItem( i18n( "&Restore" ), this, TQT_SLOT( restorePressed() ) );
+ m_pSystemMenu->insertItem( i18n( "&Restore" ), this, TQ_SLOT( restorePressed() ) );
if ( state() != Maximized )
- m_pSystemMenu->insertItem( i18n( "&Maximize" ), this, TQT_SLOT( maximizePressed() ) );
+ m_pSystemMenu->insertItem( i18n( "&Maximize" ), this, TQ_SLOT( maximizePressed() ) );
if ( state() != Minimized )
- m_pSystemMenu->insertItem( i18n( "&Minimize" ), this, TQT_SLOT( minimizePressed() ) );
+ m_pSystemMenu->insertItem( i18n( "&Minimize" ), this, TQ_SLOT( minimizePressed() ) );
if ( state() != Maximized )
- m_pSystemMenu->insertItem( i18n( "M&ove" ), m_pCaption, TQT_SLOT( slot_moveViaSystemMenu() ) );
+ m_pSystemMenu->insertItem( i18n( "M&ove" ), m_pCaption, TQ_SLOT( slot_moveViaSystemMenu() ) );
if ( state() == Normal )
- m_pSystemMenu->insertItem( i18n( "&Resize" ), this, TQT_SLOT( slot_resizeViaSystemMenu() ) );
+ m_pSystemMenu->insertItem( i18n( "&Resize" ), this, TQ_SLOT( slot_resizeViaSystemMenu() ) );
}
- m_pSystemMenu->insertItem( i18n( "&Undock" ), this, TQT_SLOT( undockPressed() ) );
+ m_pSystemMenu->insertItem( i18n( "&Undock" ), this, TQ_SLOT( undockPressed() ) );
m_pSystemMenu->insertSeparator();
- m_pSystemMenu->insertItem( i18n( "&Close" ), this, TQT_SLOT( closePressed() ) );
+ m_pSystemMenu->insertItem( i18n( "&Close" ), this, TQ_SLOT( closePressed() ) );
return m_pSystemMenu;
}
@@ -1301,8 +1301,8 @@ void KMdiChildFrm::switchToMinimizeLayout()
// temporary use of minimize button for restore function
m_pMinimize->setPixmap( *m_pRestoreButtonPixmap );
- TQObject::disconnect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( minimizePressed() ) );
- TQObject::connect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( restorePressed() ) );
+ TQObject::disconnect( m_pMinimize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( minimizePressed() ) );
+ TQObject::connect( m_pMinimize, TQ_SIGNAL( clicked() ), this, TQ_SLOT( restorePressed() ) );
// resizing
resize( 300, minimumHeight() );
@@ -1405,5 +1405,3 @@ TQRect KMdiChildFrm::mdiAreaContentsRect() const
return empty;
}
}
-
-// kate: indent-mode csands; tab-width 4; space-indent off; replace-tabs off;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.h b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.h
index 6de8b922..c9a7faa6 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrm.h
@@ -51,7 +51,7 @@ class TQToolButton;
*/
class KMDI_EXPORT KMdiWin32IconButton : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMdiWin32IconButton( TQWidget* parent, const char* name = 0 );
@@ -133,7 +133,7 @@ class KMDI_EXPORT KMdiChildFrm : public TQFrame
friend class KMdiChildArea;
friend class KMdiChildFrmCaption;
- Q_OBJECT
+ TQ_OBJECT
// attributes
@@ -424,13 +424,13 @@ protected:
* Restore the focus policies for _all_ widgets in the view using the list given as parameter.
* Install the event filter for all direct child widgets of this. (See KMdiChildFrm::eventFilter)
*/
- void linkChildren( TQDict<TQ_FocusPolicy>* pFocPolDict );
+ void linkChildren( TQDict<TQWidget::FocusPolicy>* pFocPolDict );
/**
* Backups all focus policies of _all_ child widgets in the MDI childview since they get lost during a reparent.
* Remove all event filters for all direct child widgets of this. (See KMdiChildFrm::eventFilter)
*/
- TQDict<TQ_FocusPolicy>* unlinkChildren();
+ TQDict<TQWidget::FocusPolicy>* unlinkChildren();
/**
* Calculates the corner id for the resize cursor. The return value can be tested for:
@@ -444,5 +444,3 @@ private:
};
#endif //_TDEMDI_CHILD_FRM_H_
-
-// kate: space-indent off; replace-tabs off; tab-width 4; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.cpp
index 5b069a47..4fd24174 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.cpp
@@ -72,7 +72,7 @@ KMdiChildFrmCaption::KMdiChildFrmCaption( KMdiChildFrm *parent )
m_bActive = false;
m_pParent = parent;
setBackgroundMode( NoBackground );
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
m_bChildInDrag = false;
}
@@ -85,7 +85,7 @@ KMdiChildFrmCaption::~KMdiChildFrmCaption()
void KMdiChildFrmCaption::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
{
setMouseTracking( false );
if ( KMdiMainFrm::frameDecorOfAttachedViews() != KMdi::Win95Look )
@@ -95,7 +95,7 @@ void KMdiChildFrmCaption::mousePressEvent( TQMouseEvent *e )
m_pParent->m_bDragging = true;
m_offset = mapToParent( e->pos() );
}
- else if ( e->button() == Qt::RightButton )
+ else if ( e->button() == TQt::RightButton )
{
m_pParent->systemMenu()->popup( mapToGlobal( e->pos() ) );
}
@@ -105,7 +105,7 @@ void KMdiChildFrmCaption::mousePressEvent( TQMouseEvent *e )
void KMdiChildFrmCaption::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
{
if ( KMdiMainFrm::frameDecorOfAttachedViews() != KMdi::Win95Look )
TQApplication::restoreOverrideCursor();
@@ -146,7 +146,7 @@ void KMdiChildFrmCaption::mouseMoveEvent( TQMouseEvent *e )
TQPoint relMousePosInChildArea = m_pParent->m_pManager->mapFromGlobal( e->globalPos() );
// mouse out of child area? stop child frame dragging
- if ( !TQT_TQRECT_OBJECT(m_pParent->m_pManager->rect()).contains( relMousePosInChildArea ) )
+ if ( !m_pParent->m_pManager->rect().contains( relMousePosInChildArea ) )
{
if ( relMousePosInChildArea.x() < 0 )
relMousePosInChildArea.rx() = 0;
@@ -318,5 +318,3 @@ void KMdiChildFrmCaption::slot_moveViaSystemMenu()
m_pParent->m_bDragging = true;
m_offset = mapFromGlobal( TQCursor::pos() );
}
-
-// kate: space-indent off; replace-tabs off; indent-mode csands; tab-width 4;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.h b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.h
index 984fe00f..4aaf1af7 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildfrmcaption.h
@@ -43,7 +43,7 @@ class KMdiChildFrmCaptionPrivate;
*/
class KMDI_EXPORT KMdiChildFrmCaption : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -142,5 +142,3 @@ private:
};
#endif //_TDEMDI_CHILD_FRM_CAPTION_H_
-
-// kate: space-indent off; replace-tabs off; indent-mode csands; tab-width 4;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildview.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdichildview.cpp
index ddc313ab..76d3b56e 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildview.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildview.cpp
@@ -63,7 +63,7 @@ KMdiChildView::KMdiChildView( const TQString& caption, TQWidget* parentWidget, c
m_szCaption = i18n( "Unnamed" );
m_sTabCaption = m_szCaption;
- setFocusPolicy( TQ_ClickFocus );
+ setFocusPolicy( TQWidget::ClickFocus );
installEventFilter( this );
// store the current time
@@ -87,7 +87,7 @@ KMdiChildView::KMdiChildView( TQWidget* parentWidget, const char* name, WFlags f
setGeometry( 0, 0, 0, 0 ); // reset
m_szCaption = i18n( "Unnamed" );
m_sTabCaption = m_szCaption;
- setFocusPolicy( TQ_ClickFocus );
+ setFocusPolicy( TQWidget::ClickFocus );
installEventFilter( this );
// store the current time
@@ -362,7 +362,7 @@ void KMdiChildView::youAreDetached()
if ( myIconPtr() )
setIcon( *( myIconPtr() ) );
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
emit isDetachedNow();
}
@@ -492,10 +492,10 @@ void KMdiChildView::slot_childDestroyed()
// if we lost a child we uninstall ourself as event filter for the lost
// child and its children
- const TQObject * pLostChild = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(TQT_BASE_OBJECT_NAME::sender()));
+ const TQObject * pLostChild = TQObject::sender();
if ( pLostChild && ( pLostChild->isWidgetType() ) )
{
- TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( "TQWidget" );
list->insert( 0, pLostChild ); // add the lost child to the list too, just to save code
TQObjectListIt it( *list ); // iterate over all lost child widgets
TQObject* obj;
@@ -526,8 +526,8 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
if ( ke->key() == TQt::Key_Tab )
{
TQWidget* w = ( TQWidget* ) obj;
- TQ_FocusPolicy wfp = w->focusPolicy();
- if ( wfp == TQ_StrongFocus || wfp == TQ_TabFocus || w->focusPolicy() == TQ_WheelFocus )
+ TQWidget::FocusPolicy wfp = w->focusPolicy();
+ if ( wfp == TQWidget::StrongFocus || wfp == TQWidget::TabFocus || w->focusPolicy() == TQWidget::WheelFocus )
{
if ( m_lastFocusableChildWidget != 0 )
{
@@ -544,7 +544,7 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
{
if ( obj->isWidgetType() )
{
- TQObjectList * list = queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList * list = queryList( "TQWidget" );
if ( list->find( obj ) != -1 )
m_focusedChildWidget = ( TQWidget* ) obj;
@@ -565,10 +565,10 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
{
// if we lost a child we uninstall ourself as event filter for the lost
// child and its children
- TQObject * pLostChild = TQT_TQOBJECT(( ( TQChildEvent* ) e ) ->child());
+ TQObject * pLostChild = ( ( TQChildEvent* ) e ) ->child();
if ( ( pLostChild != 0L ) && ( pLostChild->isWidgetType() ) )
{
- TQObjectList * list = pLostChild->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList * list = pLostChild->queryList( "TQWidget" );
list->insert( 0, pLostChild ); // add the lost child to the list too, just to save code
TQObjectListIt it( *list ); // iterate over all lost child widgets
TQObject * o;
@@ -577,8 +577,8 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
TQWidget * widg = ( TQWidget* ) o;
++it;
widg->removeEventFilter( this );
- TQ_FocusPolicy wfp = widg->focusPolicy();
- if ( wfp == TQ_StrongFocus || wfp == TQ_TabFocus || widg->focusPolicy() == TQ_WheelFocus )
+ TQWidget::FocusPolicy wfp = widg->focusPolicy();
+ if ( wfp == TQWidget::StrongFocus || wfp == TQWidget::TabFocus || widg->focusPolicy() == TQWidget::WheelFocus )
{
if ( m_firstFocusableChildWidget == widg )
m_firstFocusableChildWidget = 0L; // reset first widget
@@ -595,13 +595,13 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
// if we got a new child and we are attached to the MDI system we
// install ourself as event filter for the new child and its children
// (as we did when we were added to the MDI system).
- TQObject * pNewChild = TQT_TQOBJECT(( ( TQChildEvent* ) e ) ->child());
+ TQObject * pNewChild = ( ( TQChildEvent* ) e ) ->child();
if ( ( pNewChild != 0L ) && ( pNewChild->isWidgetType() ) )
{
TQWidget * pNewWidget = ( TQWidget* ) pNewChild;
if ( pNewWidget->testWFlags( TQt::WType_Dialog | TQt::WShowModal ) )
return false;
- TQObjectList *list = pNewWidget->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList *list = pNewWidget->queryList( "TQWidget" );
list->insert( 0, pNewChild ); // add the new child to the list too, just to save code
TQObjectListIt it( *list ); // iterate over all new child widgets
TQObject * o;
@@ -610,9 +610,9 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
TQWidget * widg = ( TQWidget* ) o;
++it;
widg->installEventFilter( this );
- connect( widg, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slot_childDestroyed() ) );
- TQ_FocusPolicy wfp = widg->focusPolicy();
- if ( wfp == TQ_StrongFocus || wfp == TQ_TabFocus || widg->focusPolicy() == TQ_WheelFocus )
+ connect( widg, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slot_childDestroyed() ) );
+ TQWidget::FocusPolicy wfp = widg->focusPolicy();
+ if ( wfp == TQWidget::StrongFocus || wfp == TQWidget::TabFocus || widg->focusPolicy() == TQWidget::WheelFocus )
{
if ( m_firstFocusableChildWidget == 0 )
m_firstFocusableChildWidget = widg; // first widge
@@ -628,14 +628,14 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
if ( e->type() == TQEvent::IconChange )
{
// tqDebug("KMDiChildView:: TQEvent:IconChange intercepted\n");
- if ( TQT_BASE_OBJECT(obj) == this )
+ if ( obj == this )
iconUpdated( this, icon() ? ( *icon() ) : TQPixmap() );
- else if ( TQT_BASE_OBJECT(obj) == m_trackChanges )
+ else if ( obj == m_trackChanges )
setIcon( m_trackChanges->icon() ? ( *( m_trackChanges->icon() ) ) : TQPixmap() );
}
if ( e->type() == TQEvent::CaptionChange )
{
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this) )
+ if ( obj == this )
captionUpdated( this, caption() );
}
}
@@ -646,7 +646,7 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
/** Switches interposing in event loop of all current child widgets off. */
void KMdiChildView::removeEventFilterForAllChildren()
{
- TQObjectList* list = queryList( TQWIDGET_OBJECT_NAME_STRING );
+ TQObjectList* list = queryList( "TQWidget" );
TQObjectListIt it( *list ); // iterate over all child widgets
TQObject* obj;
while ( ( obj = it.current() ) != 0 )
@@ -769,5 +769,3 @@ void KMdiChildView::raise()
TQWidget::raise();
}
-
-// kate: space-indent off; replace-tabs off; indent-mode csands; tab-width 4;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdichildview.h b/lib/compatibility/tdemdi/qextmdi/tdemdichildview.h
index 42251495..90e5f3ae 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdichildview.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdichildview.h
@@ -94,7 +94,7 @@ class KMdiChildViewPrivate;
* flags = KMdi::Hide;
* }
* // set the accelerators for Toplevel MDI mode (each toplevel window needs its own accels
- * connect( m_pParent, TQT_SIGNAL(childViewIsDetachedNow(TQWidget*)), this, TQT_SLOT(initKeyAccel(TQWidget*)) );
+ * connect( m_pParent, TQ_SIGNAL(childViewIsDetachedNow(TQWidget*)), this, TQ_SLOT(initKeyAccel(TQWidget*)) );
*
* m_pParent->addWindow( pMDICover, flags);
* // correct the default settings of KMdi ('cause we haven't a tab order for subwidget focuses)
@@ -109,7 +109,7 @@ class KMDI_EXPORT KMdiChildView : public TQWidget
{
friend class KMdiMainFrm;
friend class KMdiChildFrm;
- Q_OBJECT
+ TQ_OBJECT
// attributes
@@ -612,5 +612,3 @@ inline KMdiChildFrm *KMdiChildView::mdiParent() const
}
#endif //_TDEMDI_CHILD_VIEW_H_
-
-// kate: space-indent off; replace-tabs off; indent-mode csands; tab-width 4;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp
index a8a4dc37..738711e7 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp
@@ -220,7 +220,7 @@ void KMdiDockContainer::insertWidget ( KDockWidget *dwdg, TQPixmap pixmap, const
m_overlapButtons.insert( w, btn );
btn->setOn( !isOverlapMode() );
- connect( btn, TQT_SIGNAL( clicked() ), this, TQT_SLOT( changeOverlapMode() ) );
+ connect( btn, TQ_SIGNAL( clicked() ), this, TQ_SLOT( changeOverlapMode() ) );
}
m_tb->appendTab( pixmap.isNull() ? SmallIcon( "misc" ) : pixmap, tab, w->tabPageLabel() );
@@ -228,7 +228,7 @@ void KMdiDockContainer::insertWidget ( KDockWidget *dwdg, TQPixmap pixmap, const
kdDebug( 760 ) << k_funcinfo << "Added tab with label " << w->tabPageLabel() <<
" to the tabbar" << endl;
- connect( m_tb->tab( tab ), TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( tabClicked( int ) ) );
+ connect( m_tb->tab( tab ), TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( tabClicked( int ) ) );
mTabCnt++;
m_inserted = tab;
@@ -277,7 +277,7 @@ bool KMdiDockContainer::eventFilter( TQObject *obj, TQEvent *event )
}
m_dockManager = w->dockManager();
- m_dragPanel = TQT_TQOBJECT(hdr->dragPanel());
+ m_dragPanel = hdr->dragPanel();
if ( m_dragPanel )
m_movingState = WaitingForMoveStart;
@@ -300,7 +300,7 @@ bool KMdiDockContainer::eventFilter( TQObject *obj, TQEvent *event )
TQPoint p( ( ( TQMouseEvent* ) event )->pos() - m_startEvent->pos() );
if ( p.manhattanLength() > TDEGlobalSettings::dndEventDelay() )
{
- m_dockManager->eventFilter( m_dragPanel, TQT_TQEVENT(m_startEvent) );
+ m_dockManager->eventFilter( m_dragPanel, m_startEvent );
m_dockManager->eventFilter( m_dragPanel, event );
m_movingState = Moving;
}
@@ -610,7 +610,7 @@ void KMdiDockContainer::load( TQDomElement& dockEl )
if ( it.key() ->name() == raise )
{
m_delayedRaise = it.data();
- TQTimer::singleShot( 0, this, TQT_SLOT( delayedRaise() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( delayedRaise() ) );
kdDebug( 760 ) << k_funcinfo << "raising " << it.key()->name() << endl;
break;
}
@@ -618,7 +618,7 @@ void KMdiDockContainer::load( TQDomElement& dockEl )
}
if ( m_delayedRaise == -1 )
- TQTimer::singleShot( 0, this, TQT_SLOT( init() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( init() ) );
}
void KMdiDockContainer::save( TDEConfig* cfg, const TQString& group_or_prefix )
@@ -742,7 +742,7 @@ void KMdiDockContainer::load( TDEConfig* cfg, const TQString& group_or_prefix )
kapp->syncX();*/
m_delayedRaise = it.data();
- TQTimer::singleShot( 0, this, TQT_SLOT( delayedRaise() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( delayedRaise() ) );
kdDebug( 760 ) << k_funcinfo << "raising" << it.key() ->name() << endl;
break;
}
@@ -750,7 +750,7 @@ void KMdiDockContainer::load( TDEConfig* cfg, const TQString& group_or_prefix )
}
if ( m_delayedRaise == -1 )
- TQTimer::singleShot( 0, this, TQT_SLOT( init() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( init() ) );
cfg->setGroup( grp );
}
@@ -852,5 +852,3 @@ void KMdiDockContainer::nextToolView()
m_tb->setTab( tab->id(), true );
tabClicked( tab->id() );
}
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.h b/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.h
index e6aeb5a0..613505cf 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.h
@@ -36,7 +36,7 @@ class KDockButton_Private;
class KMDI_EXPORT KMdiDockContainer: public TQWidget, public KDockContainer
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -164,5 +164,3 @@ signals:
};
#endif
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.cpp
index fe60b25f..0f8b5396 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.cpp
@@ -20,7 +20,7 @@ KMdiDocumentViewTabWidget::KMdiDocumentViewTabWidget( TQWidget* parent, const ch
setHoverCloseButton( true );
#endif
- connect( this, TQT_SIGNAL( closeRequest( TQWidget* ) ), this, TQT_SLOT( closeTab( TQWidget* ) ) );
+ connect( this, TQ_SIGNAL( closeRequest( TQWidget* ) ), this, TQ_SLOT( closeTab( TQWidget* ) ) );
}
KMdiDocumentViewTabWidget::~KMdiDocumentViewTabWidget()
@@ -147,6 +147,3 @@ KMdi::TabWidgetVisibility KMdiDocumentViewTabWidget::tabWidgetVisibility( )
#ifndef NO_INCLUDE_MOCFILES
#include "tdemdidocumentviewtabwidget.moc"
#endif
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.h b/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.h
index 9c47cf27..2e05039b 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdidocumentviewtabwidget.h
@@ -22,7 +22,7 @@ class TDEPopupMenu;
class KMDI_EXPORT KMdiDocumentViewTabWidget:
public KTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMdiDocumentViewTabWidget( TQWidget* parent, const char* name = 0 );
@@ -120,5 +120,3 @@ signals:
#endif
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.cpp
index a4592e38..edabbae4 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.cpp
@@ -31,19 +31,19 @@ void KMdiFocusList::addWidgetTree( TQWidget* w )
{
//this method should never be called twice on the same hierarchy
m_list.insert( w, w->focusPolicy() );
- w->setFocusPolicy( TQ_ClickFocus );
+ w->setFocusPolicy( TQWidget::ClickFocus );
kdDebug( 760 ) << "KMdiFocusList::addWidgetTree: adding toplevel" << endl;
- connect( w, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( objectHasBeenDestroyed( TQObject* ) ) );
- TQObjectList *l = w->queryList( TQWIDGET_OBJECT_NAME_STRING );
+ connect( w, TQ_SIGNAL( destroyed( TQObject * ) ), this, TQ_SLOT( objectHasBeenDestroyed( TQObject* ) ) );
+ TQObjectList *l = w->queryList( "TQWidget" );
TQObjectListIt it( *l );
TQObject *obj;
while ( ( obj = it.current() ) != 0 )
{
TQWidget * wid = ( TQWidget* ) obj;
m_list.insert( wid, wid->focusPolicy() );
- wid->setFocusPolicy( TQ_ClickFocus );
+ wid->setFocusPolicy( TQWidget::ClickFocus );
kdDebug( 760 ) << "KMdiFocusList::addWidgetTree: adding widget" << endl;
- connect( wid, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( objectHasBeenDestroyed( TQObject* ) ) );
+ connect( wid, TQ_SIGNAL( destroyed( TQObject * ) ), this, TQ_SLOT( objectHasBeenDestroyed( TQObject* ) ) );
++it;
}
delete l;
@@ -51,7 +51,7 @@ void KMdiFocusList::addWidgetTree( TQWidget* w )
void KMdiFocusList::restore()
{
- for ( TQMap<TQWidget*, TQ_FocusPolicy>::const_iterator it = m_list.constBegin();it != m_list.constEnd();++it )
+ for ( TQMap<TQWidget*, TQWidget::FocusPolicy>::const_iterator it = m_list.constBegin();it != m_list.constEnd();++it )
{
it.key() ->setFocusPolicy( it.data() );
}
@@ -66,5 +66,3 @@ void KMdiFocusList::objectHasBeenDestroyed( TQObject * o )
TQWidget *w = ( TQWidget* ) o;
m_list.remove( w );
}
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.h b/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.h
index f3c70ad1..63290687 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdifocuslist.h
@@ -25,7 +25,7 @@
class KMDI_EXPORT KMdiFocusList: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMdiFocusList( TQObject *parent );
@@ -35,9 +35,8 @@ public:
protected slots:
void objectHasBeenDestroyed( TQObject* );
private:
- TQMap<TQWidget*, TQ_FocusPolicy> m_list;
+ TQMap<TQWidget*, TQWidget::FocusPolicy> m_list;
};
#endif
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp
index 2e0076a1..d718601b 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp
@@ -63,9 +63,9 @@ ToggleToolViewAction::ToggleToolViewAction( const TQString& text, const TDEShort
{
if ( m_dw )
{
- connect( this, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotToggled( bool ) ) );
- connect( m_dw->dockManager(), TQT_SIGNAL( change() ), this, TQT_SLOT( anDWChanged() ) );
- connect( m_dw, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotWidgetDestroyed() ) );
+ connect( this, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotToggled( bool ) ) );
+ connect( m_dw->dockManager(), TQ_SIGNAL( change() ), this, TQ_SLOT( anDWChanged() ) );
+ connect( m_dw, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotWidgetDestroyed() ) );
setChecked( m_dw->mayBeHide() );
}
}
@@ -104,8 +104,8 @@ void ToggleToolViewAction::slotToggled( bool t )
void ToggleToolViewAction::slotWidgetDestroyed()
{
- disconnect( m_dw->dockManager(), TQT_SIGNAL( change() ), this, TQT_SLOT( anDWChanged() ) );
- disconnect( this, TQT_SIGNAL( toggled( bool ) ), 0, 0 );
+ disconnect( m_dw->dockManager(), TQ_SIGNAL( change() ), this, TQ_SLOT( anDWChanged() ) );
+ disconnect( this, TQ_SIGNAL( toggled( bool ) ), 0, 0 );
unplugAll();
deleteLater();
}
@@ -116,8 +116,8 @@ KMDIGUIClient::KMDIGUIClient( KMdiMainFrm* mdiMainFrm, bool showMDIModeAction, c
{
m_mdiMode = KMdi::ChildframeMode;
m_mdiMainFrm = mdiMainFrm;
- connect( mdiMainFrm->guiFactory(), TQT_SIGNAL( clientAdded( KXMLGUIClient * ) ),
- this, TQT_SLOT( clientAdded( KXMLGUIClient * ) ) );
+ connect( mdiMainFrm->guiFactory(), TQ_SIGNAL( clientAdded( KXMLGUIClient * ) ),
+ this, TQ_SLOT( clientAdded( KXMLGUIClient * ) ) );
/* re-use an existing resource file if it exists. can happen if the user launches the
* toolbar editor */
@@ -143,27 +143,27 @@ KMDIGUIClient::KMDIGUIClient( KMdiMainFrm* mdiMainFrm, bool showMDIModeAction, c
TQStringList modes;
modes << i18n( "&Toplevel Mode" ) << i18n( "C&hildframe Mode" ) << i18n( "Ta&b Page Mode" ) << i18n( "I&DEAl Mode" );
m_mdiModeAction->setItems( modes );
- connect( m_mdiModeAction, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( changeViewMode( int ) ) );
+ connect( m_mdiModeAction, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( changeViewMode( int ) ) );
}
else
m_mdiModeAction = 0;
- connect( m_mdiMainFrm, TQT_SIGNAL( mdiModeHasBeenChangedTo( KMdi::MdiMode ) ),
- this, TQT_SLOT( mdiModeHasBeenChangedTo( KMdi::MdiMode ) ) );
+ connect( m_mdiMainFrm, TQ_SIGNAL( mdiModeHasBeenChangedTo( KMdi::MdiMode ) ),
+ this, TQ_SLOT( mdiModeHasBeenChangedTo( KMdi::MdiMode ) ) );
m_gotoToolDockMenu = new TDEActionMenu( i18n( "Tool &Docks" ), actionCollection(), "tdemdi_tooldock_menu" );
- m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Top Dock" ), ALT + CTRL + SHIFT + Key_T, TQT_TQOBJECT(this), TQT_SIGNAL( toggleTop() ),
+ m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Top Dock" ), ALT + CTRL + SHIFT + Key_T, this, TQ_SIGNAL( toggleTop() ),
actionCollection(), "tdemdi_activate_top" ) );
- m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Left Dock" ), ALT + CTRL + SHIFT + Key_L, TQT_TQOBJECT(this), TQT_SIGNAL( toggleLeft() ),
+ m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Left Dock" ), ALT + CTRL + SHIFT + Key_L, this, TQ_SIGNAL( toggleLeft() ),
actionCollection(), "tdemdi_activate_left" ) );
- m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Right Dock" ), ALT + CTRL + SHIFT + Key_R, TQT_TQOBJECT(this), TQT_SIGNAL( toggleRight() ),
+ m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Right Dock" ), ALT + CTRL + SHIFT + Key_R, this, TQ_SIGNAL( toggleRight() ),
actionCollection(), "tdemdi_activate_right" ) );
- m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Bottom Dock" ), ALT + CTRL + SHIFT + Key_B, TQT_TQOBJECT(this), TQT_SIGNAL( toggleBottom() ),
+ m_gotoToolDockMenu->insert( new TDEAction( i18n( "Switch Bottom Dock" ), ALT + CTRL + SHIFT + Key_B, this, TQ_SIGNAL( toggleBottom() ),
actionCollection(), "tdemdi_activate_bottom" ) );
m_gotoToolDockMenu->insert( new TDEActionSeparator( actionCollection(), "tdemdi_goto_menu_separator" ) );
- m_gotoToolDockMenu->insert( new TDEAction( i18n( "Previous Tool View" ), ALT + CTRL + Key_Left, TQT_TQOBJECT(m_mdiMainFrm), TQT_SLOT( prevToolViewInDock() ),
+ m_gotoToolDockMenu->insert( new TDEAction( i18n( "Previous Tool View" ), ALT + CTRL + Key_Left, m_mdiMainFrm, TQ_SLOT( prevToolViewInDock() ),
actionCollection(), "tdemdi_prev_toolview" ) );
- m_gotoToolDockMenu->insert( new TDEAction( i18n( "Next Tool View" ), ALT + CTRL + Key_Right, TQT_TQOBJECT(m_mdiMainFrm), TQT_SLOT( nextToolViewInDock() ),
+ m_gotoToolDockMenu->insert( new TDEAction( i18n( "Next Tool View" ), ALT + CTRL + Key_Right, m_mdiMainFrm, TQ_SLOT( nextToolViewInDock() ),
actionCollection(), "tdemdi_next_toolview" ) );
actionCollection() ->readShortcutSettings( "Shortcuts", kapp->config() );
@@ -225,7 +225,7 @@ void KMDIGUIClient::setupActions()
// m_toolBars = builder.toolBars();
// m_toolViewActions.append(new TDEAction( "TESTKMDIGUICLIENT", TQString(), 0,
- // this, TQT_SLOT(blah()),actionCollection(),"nothing"));
+ // this, TQ_SLOT(blah()),actionCollection(),"nothing"));
TQPtrList<TDEAction> addList;
if ( m_toolViewActions.count() < 3 )
@@ -265,7 +265,7 @@ void KMDIGUIClient::addToolView( KMdiToolViewAccessor* mtva )
( ( ToggleToolViewAction* ) a ) ->setCheckedState( i18n( "Hide %1" ).arg( mtva->wrappedWidget() ->caption() ) );
#endif
- connect( a, TQT_SIGNAL( destroyed( TQObject* ) ), this, TQT_SLOT( actionDeleted( TQObject* ) ) );
+ connect( a, TQ_SIGNAL( destroyed( TQObject* ) ), this, TQ_SLOT( actionDeleted( TQObject* ) ) );
m_toolViewActions.append( a );
m_toolMenu->insert( a );
mtva->d->action = a;
@@ -315,6 +315,3 @@ void KMDIGUIClient::mdiModeHasBeenChangedTo( KMdi::MdiMode mode )
setupActions();
}
-
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.h b/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.h
index cf853428..60004a7b 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.h
@@ -41,7 +41,7 @@ namespace KMDIPrivate
class KMDI_EXPORT KMDIGUIClient : public TQObject,
public KXMLGUIClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -121,7 +121,7 @@ private:
*/
class KMDI_EXPORT ToggleToolViewAction: public TDEToggleAction
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -145,4 +145,3 @@ protected slots:
}
#endif
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdiiterator.h b/lib/compatibility/tdemdi/qextmdi/tdemdiiterator.h
index 57c49d0c..9bdb5234 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdiiterator.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdiiterator.h
@@ -47,5 +47,3 @@ protected:
;
#endif // _TDEMDIITERATOR_H_
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdilistiterator.h b/lib/compatibility/tdemdi/qextmdi/tdemdilistiterator.h
index ead83413..a4738fd3 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdilistiterator.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdilistiterator.h
@@ -57,5 +57,3 @@ private:
};
#endif // _TDEMDILISTITERATOR_H_
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp
index 2b1dfea6..779e3388 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp
@@ -33,7 +33,9 @@
* ATTENTION: please do you part to try to make this file legible. It's
* extremely hard to read already. Especially follow the indenting rules.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <assert.h>
@@ -183,7 +185,7 @@ KMdiMainFrm::KMdiMainFrm( TQWidget* parentWidget, const char* name, KMdi::MdiMod
m_pToolViews = new TQMap<TQWidget*, KMdiToolViewAccessor*>;
// This seems to be needed (re-check it after TQt2.0 comed out)
- setFocusPolicy( TQ_ClickFocus );
+ setFocusPolicy( TQWidget::ClickFocus );
// create the central widget
createMdiManager();
@@ -206,7 +208,7 @@ KMdiMainFrm::KMdiMainFrm( TQWidget* parentWidget, const char* name, KMdi::MdiMod
m_pWindowMenu = new TQPopupMenu( this, "window_menu" );
m_pWindowMenu->setCheckable( true );
- TQObject::connect( m_pWindowMenu, TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( fillWindowMenu() ) );
+ TQObject::connect( m_pWindowMenu, TQ_SIGNAL( aboutToShow() ), this, TQ_SLOT( fillWindowMenu() ) );
m_pDockMenu = new TQPopupMenu( this, "dock_menu" );
m_pDockMenu->setCheckable( true );
@@ -222,7 +224,7 @@ KMdiMainFrm::KMdiMainFrm( TQWidget* parentWidget, const char* name, KMdi::MdiMod
#else
0,
#endif
- TQT_TQOBJECT(this), TQT_SLOT(closeActiveView()), actionCollection(), "window_close");
+ this, TQ_SLOT(closeActiveView()), actionCollection(), "window_close");
// the MDI view taskbar
createTaskBar();
@@ -253,11 +255,11 @@ KMdiMainFrm::KMdiMainFrm( TQWidget* parentWidget, const char* name, KMdi::MdiMod
// drag end timer
m_pDragEndTimer = new TQTimer();
- connect( m_pDragEndTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( dragEndTimeOut() ) );
- connect( guiFactory(), TQT_SIGNAL( clientAdded( KXMLGUIClient* ) ),
- this, TQT_SLOT( verifyToplevelHeight() ) );
- connect( guiFactory(), TQT_SIGNAL( clientRemoved( KXMLGUIClient* ) ),
- this, TQT_SLOT( verifyToplevelHeight() ) );
+ connect( m_pDragEndTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( dragEndTimeOut() ) );
+ connect( guiFactory(), TQ_SIGNAL( clientAdded( KXMLGUIClient* ) ),
+ this, TQ_SLOT( verifyToplevelHeight() ) );
+ connect( guiFactory(), TQ_SIGNAL( clientRemoved( KXMLGUIClient* ) ),
+ this, TQ_SLOT( verifyToplevelHeight() ) );
}
void KMdiMainFrm::verifyToplevelHeight()
@@ -275,21 +277,21 @@ void KMdiMainFrm::verifyToplevelHeight()
void KMdiMainFrm::setStandardMDIMenuEnabled( bool showModeMenu )
{
m_mdiGUIClient = new KMDIPrivate::KMDIGUIClient( this, showModeMenu );
- connect( m_mdiGUIClient, TQT_SIGNAL( toggleTop() ), this, TQT_SIGNAL( toggleTop() ) );
- connect( m_mdiGUIClient, TQT_SIGNAL( toggleLeft() ), this, TQT_SIGNAL( toggleLeft() ) );
- connect( m_mdiGUIClient, TQT_SIGNAL( toggleRight() ), this, TQT_SIGNAL( toggleRight() ) );
- connect( m_mdiGUIClient, TQT_SIGNAL( toggleBottom() ), this, TQT_SIGNAL( toggleBottom() ) );
+ connect( m_mdiGUIClient, TQ_SIGNAL( toggleTop() ), this, TQ_SIGNAL( toggleTop() ) );
+ connect( m_mdiGUIClient, TQ_SIGNAL( toggleLeft() ), this, TQ_SIGNAL( toggleLeft() ) );
+ connect( m_mdiGUIClient, TQ_SIGNAL( toggleRight() ), this, TQ_SIGNAL( toggleRight() ) );
+ connect( m_mdiGUIClient, TQ_SIGNAL( toggleBottom() ), this, TQ_SIGNAL( toggleBottom() ) );
if ( m_mdiMode == KMdi::IDEAlMode )
{
if ( m_topContainer )
- connect( this, TQT_SIGNAL( toggleTop() ), m_topContainer->getWidget(), TQT_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( toggleTop() ), m_topContainer->getWidget(), TQ_SLOT( toggle() ) );
if ( m_leftContainer )
- connect( this, TQT_SIGNAL( toggleLeft() ), m_leftContainer->getWidget(), TQT_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( toggleLeft() ), m_leftContainer->getWidget(), TQ_SLOT( toggle() ) );
if ( m_rightContainer )
- connect( this, TQT_SIGNAL( toggleRight() ), m_rightContainer->getWidget(), TQT_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( toggleRight() ), m_rightContainer->getWidget(), TQ_SLOT( toggle() ) );
if ( m_bottomContainer )
- connect( this, TQT_SIGNAL( toggleBottom() ), m_bottomContainer->getWidget(), TQT_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( toggleBottom() ), m_bottomContainer->getWidget(), TQ_SLOT( toggle() ) );
}
emit mdiModeHasBeenChangedTo( m_mdiMode );
@@ -367,16 +369,16 @@ void KMdiMainFrm::createMdiManager()
kdDebug(760) << k_funcinfo << "creating MDI manager" << endl;
m_pMdi = new KMdiChildArea( this );
setCentralWidget( m_pMdi );
- TQObject::connect( m_pMdi, TQT_SIGNAL( nowMaximized( bool ) ),
- this, TQT_SLOT( setEnableMaximizedChildFrmMode( bool ) ) );
- TQObject::connect( m_pMdi, TQT_SIGNAL( noMaximizedChildFrmLeft( KMdiChildFrm* ) ),
- this, TQT_SLOT( switchOffMaximizeModeForMenu( KMdiChildFrm* ) ) );
- TQObject::connect( m_pMdi, TQT_SIGNAL( sysButtonConnectionsMustChange( KMdiChildFrm*, KMdiChildFrm* ) ),
- this, TQT_SLOT( updateSysButtonConnections( KMdiChildFrm*, KMdiChildFrm* ) ) );
- TQObject::connect( m_pMdi, TQT_SIGNAL( popupWindowMenu( TQPoint ) ),
- this, TQT_SLOT( popupWindowMenu( TQPoint ) ) );
- TQObject::connect( m_pMdi, TQT_SIGNAL( lastChildFrmClosed() ),
- this, TQT_SIGNAL( lastChildFrmClosed() ) );
+ TQObject::connect( m_pMdi, TQ_SIGNAL( nowMaximized( bool ) ),
+ this, TQ_SLOT( setEnableMaximizedChildFrmMode( bool ) ) );
+ TQObject::connect( m_pMdi, TQ_SIGNAL( noMaximizedChildFrmLeft( KMdiChildFrm* ) ),
+ this, TQ_SLOT( switchOffMaximizeModeForMenu( KMdiChildFrm* ) ) );
+ TQObject::connect( m_pMdi, TQ_SIGNAL( sysButtonConnectionsMustChange( KMdiChildFrm*, KMdiChildFrm* ) ),
+ this, TQ_SLOT( updateSysButtonConnections( KMdiChildFrm*, KMdiChildFrm* ) ) );
+ TQObject::connect( m_pMdi, TQ_SIGNAL( popupWindowMenu( TQPoint ) ),
+ this, TQ_SLOT( popupWindowMenu( TQPoint ) ) );
+ TQObject::connect( m_pMdi, TQ_SIGNAL( lastChildFrmClosed() ),
+ this, TQ_SIGNAL( lastChildFrmClosed() ) );
}
//============ createTaskBar ==============//
@@ -462,14 +464,14 @@ void KMdiMainFrm::addWindow( KMdiChildView* pWnd, int flags, int index )
d->closeWindowAction->setEnabled(true);
// common connections used when under MDI control
- TQObject::connect( pWnd, TQT_SIGNAL( clickedInWindowMenu( int ) ), this, TQT_SLOT( windowMenuItemActivated( int ) ) );
- TQObject::connect( pWnd, TQT_SIGNAL( focusInEventOccurs( KMdiChildView* ) ), this, TQT_SLOT( activateView( KMdiChildView* ) ) );
- TQObject::connect( pWnd, TQT_SIGNAL( childWindowCloseRequest( KMdiChildView* ) ), this, TQT_SLOT( childWindowCloseRequest( KMdiChildView* ) ) );
- TQObject::connect( pWnd, TQT_SIGNAL( attachWindow( KMdiChildView*, bool ) ), this, TQT_SLOT( attachWindow( KMdiChildView*, bool ) ) );
- TQObject::connect( pWnd, TQT_SIGNAL( detachWindow( KMdiChildView*, bool ) ), this, TQT_SLOT( detachWindow( KMdiChildView*, bool ) ) );
- TQObject::connect( pWnd, TQT_SIGNAL( clickedInDockMenu( int ) ), this, TQT_SLOT( dockMenuItemActivated( int ) ) );
- TQObject::connect( pWnd, TQT_SIGNAL( activated( KMdiChildView* ) ), this, TQT_SIGNAL( viewActivated( KMdiChildView* ) ) );
- TQObject::connect( pWnd, TQT_SIGNAL( deactivated( KMdiChildView* ) ), this, TQT_SIGNAL( viewDeactivated( KMdiChildView* ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( clickedInWindowMenu( int ) ), this, TQ_SLOT( windowMenuItemActivated( int ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( focusInEventOccurs( KMdiChildView* ) ), this, TQ_SLOT( activateView( KMdiChildView* ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( childWindowCloseRequest( KMdiChildView* ) ), this, TQ_SLOT( childWindowCloseRequest( KMdiChildView* ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( attachWindow( KMdiChildView*, bool ) ), this, TQ_SLOT( attachWindow( KMdiChildView*, bool ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( detachWindow( KMdiChildView*, bool ) ), this, TQ_SLOT( detachWindow( KMdiChildView*, bool ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( clickedInDockMenu( int ) ), this, TQ_SLOT( dockMenuItemActivated( int ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( activated( KMdiChildView* ) ), this, TQ_SIGNAL( viewActivated( KMdiChildView* ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( deactivated( KMdiChildView* ) ), this, TQ_SIGNAL( viewDeactivated( KMdiChildView* ) ) );
if ( index == -1 )
m_pDocumentViews->append( pWnd );
@@ -479,7 +481,7 @@ void KMdiMainFrm::addWindow( KMdiChildView* pWnd, int flags, int index )
if ( m_pTaskBar )
{
KMdiTaskBarButton* but = m_pTaskBar->addWinButton( pWnd );
- TQObject::connect( pWnd, TQT_SIGNAL( tabCaptionChanged( const TQString& ) ), but, TQT_SLOT( setNewText( const TQString& ) ) );
+ TQObject::connect( pWnd, TQ_SIGNAL( tabCaptionChanged( const TQString& ) ), but, TQ_SLOT( setNewText( const TQString& ) ) );
}
// embed the view depending on the current MDI mode
@@ -491,8 +493,8 @@ void KMdiMainFrm::addWindow( KMdiChildView* pWnd, int flags, int index )
m_documentTabWidget->insertTab( pWnd, pixmap, pWnd->tabCaption(), index );
- connect( pWnd, TQT_SIGNAL( iconUpdated( TQWidget*, TQPixmap ) ), m_documentTabWidget, TQT_SLOT( updateIconInView( TQWidget*, TQPixmap ) ) );
- connect( pWnd, TQT_SIGNAL( captionUpdated( TQWidget*, const TQString& ) ), m_documentTabWidget, TQT_SLOT( updateCaptionInView( TQWidget*, const TQString& ) ) );
+ connect( pWnd, TQ_SIGNAL( iconUpdated( TQWidget*, TQPixmap ) ), m_documentTabWidget, TQ_SLOT( updateIconInView( TQWidget*, TQPixmap ) ) );
+ connect( pWnd, TQ_SIGNAL( captionUpdated( TQWidget*, const TQString& ) ), m_documentTabWidget, TQ_SLOT( updateCaptionInView( TQWidget*, const TQString& ) ) );
}
else
{
@@ -740,19 +742,19 @@ void KMdiMainFrm::removeWindowFromMdi( KMdiChildView *pWnd )
if ( m_pWinList->count() == 0 )
m_pCurrentWindow = 0L;
- TQObject::disconnect( pWnd, TQT_SIGNAL( attachWindow( KMdiChildView*, bool ) ), this, TQT_SLOT( attachWindow( KMdiChildView*, bool ) ) );
- TQObject::disconnect( pWnd, TQT_SIGNAL( detachWindow( KMdiChildView*, bool ) ), this, TQT_SLOT( detachWindow( KMdiChildView*, bool ) ) );
- TQObject::disconnect( pWnd, TQT_SIGNAL( focusInEventOccurs( KMdiChildView* ) ), this, TQT_SLOT( activateView( KMdiChildView* ) ) );
- TQObject::disconnect( pWnd, TQT_SIGNAL( childWindowCloseRequest( KMdiChildView* ) ), this, TQT_SLOT( childWindowCloseRequest( KMdiChildView* ) ) );
- TQObject::disconnect( pWnd, TQT_SIGNAL( clickedInWindowMenu( int ) ), this, TQT_SLOT( windowMenuItemActivated( int ) ) );
- TQObject::disconnect( pWnd, TQT_SIGNAL( clickedInDockMenu( int ) ), this, TQT_SLOT( dockMenuItemActivated( int ) ) );
+ TQObject::disconnect( pWnd, TQ_SIGNAL( attachWindow( KMdiChildView*, bool ) ), this, TQ_SLOT( attachWindow( KMdiChildView*, bool ) ) );
+ TQObject::disconnect( pWnd, TQ_SIGNAL( detachWindow( KMdiChildView*, bool ) ), this, TQ_SLOT( detachWindow( KMdiChildView*, bool ) ) );
+ TQObject::disconnect( pWnd, TQ_SIGNAL( focusInEventOccurs( KMdiChildView* ) ), this, TQ_SLOT( activateView( KMdiChildView* ) ) );
+ TQObject::disconnect( pWnd, TQ_SIGNAL( childWindowCloseRequest( KMdiChildView* ) ), this, TQ_SLOT( childWindowCloseRequest( KMdiChildView* ) ) );
+ TQObject::disconnect( pWnd, TQ_SIGNAL( clickedInWindowMenu( int ) ), this, TQ_SLOT( windowMenuItemActivated( int ) ) );
+ TQObject::disconnect( pWnd, TQ_SIGNAL( clickedInDockMenu( int ) ), this, TQ_SLOT( dockMenuItemActivated( int ) ) );
if ( m_pTaskBar )
{
KMdiTaskBarButton * but = m_pTaskBar->getButton( pWnd );
if ( but != 0L )
{
- TQObject::disconnect( pWnd, TQT_SIGNAL( tabCaptionChanged( const TQString& ) ), but, TQT_SLOT( setNewText( const TQString& ) ) );
+ TQObject::disconnect( pWnd, TQ_SIGNAL( tabCaptionChanged( const TQString& ) ), but, TQ_SLOT( setNewText( const TQString& ) ) );
}
m_pTaskBar->removeWinButton( pWnd );
}
@@ -993,19 +995,19 @@ TQPopupMenu* KMdiMainFrm::taskBarPopup( KMdiChildView *pWnd, bool /*bIncludeWind
m_pTaskBarPopup->clear();
if ( pWnd->isAttached() )
{
- m_pTaskBarPopup->insertItem( i18n( "Undock" ), pWnd, TQT_SLOT( detach() ) );
+ m_pTaskBarPopup->insertItem( i18n( "Undock" ), pWnd, TQ_SLOT( detach() ) );
m_pTaskBarPopup->insertSeparator();
if ( pWnd->isMinimized() || pWnd->isMaximized() )
- m_pTaskBarPopup->insertItem( i18n( "Restore" ), pWnd, TQT_SLOT( restore() ) );
+ m_pTaskBarPopup->insertItem( i18n( "Restore" ), pWnd, TQ_SLOT( restore() ) );
if ( !pWnd->isMaximized() )
- m_pTaskBarPopup->insertItem( i18n( "Maximize" ), pWnd, TQT_SLOT( maximize() ) );
+ m_pTaskBarPopup->insertItem( i18n( "Maximize" ), pWnd, TQ_SLOT( maximize() ) );
if ( !pWnd->isMinimized() )
- m_pTaskBarPopup->insertItem( i18n( "Minimize" ), pWnd, TQT_SLOT( minimize() ) );
+ m_pTaskBarPopup->insertItem( i18n( "Minimize" ), pWnd, TQ_SLOT( minimize() ) );
}
else
- m_pTaskBarPopup->insertItem( i18n( "Dock" ), pWnd, TQT_SLOT( attach() ) );
+ m_pTaskBarPopup->insertItem( i18n( "Dock" ), pWnd, TQ_SLOT( attach() ) );
m_pTaskBarPopup->insertSeparator();
- m_pTaskBarPopup->insertItem( i18n( "Close" ), pWnd, TQT_SLOT( close() ) );
+ m_pTaskBarPopup->insertItem( i18n( "Close" ), pWnd, TQ_SLOT( close() ) );
// the window has a view...get the window popup
m_pTaskBarPopup->insertSeparator();
m_pTaskBarPopup->insertItem( i18n( "Operations" ), windowPopup( pWnd, false ) ); //alvoid recursion
@@ -1295,12 +1297,12 @@ void KMdiMainFrm::findRootDockWidgets( TQPtrList<KDockWidget>* rootDockWidgetLis
KDockWidget* dockWindow = 0L; /* pDockW */
KDockWidget* rootDockWindow = 0L; /* pRootDockWindow */
KDockWidget* undockCandidate = 0L; /* pUndockCandidate */
- TQWidget* pW = TQT_TQWIDGET( ( *it ) );
+ TQWidget* pW = static_cast<TQWidget*>( ( *it ) );
// find the oldest ancestor of the current dockwidget that can be undocked
while ( !pW->isTopLevel() )
{
- if ( ::tqqt_cast<KDockWidget*>( pW ) || pW->inherits( "KDockWidget_Compat::KDockWidget" ) )
+ if ( ::tqt_cast<KDockWidget*>( pW ) || pW->inherits( "KDockWidget_Compat::KDockWidget" ) )
{
undockCandidate = static_cast<KDockWidget*>( pW );
if ( undockCandidate->enableDocking() != KDockWidget::DockNone )
@@ -1637,7 +1639,7 @@ void KMdiMainFrm::switchToTabPageMode()
if ( m_pClose )
{
- TQObject::connect( m_pClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( closeViewButtonPressed() ) );
+ TQObject::connect( m_pClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( closeViewButtonPressed() ) );
if ( m_pDocumentViews->count() > 0 )
m_pClose->show();
}
@@ -1654,7 +1656,7 @@ void KMdiMainFrm::finishTabPageMode()
if ( m_mdiMode == KMdi::TabPageMode )
{
m_pClose->hide();
- TQObject::disconnect( m_pClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( closeViewButtonPressed() ) );
+ TQObject::disconnect( m_pClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( closeViewButtonPressed() ) );
TQPtrListIterator<KMdiChildView> it( *m_pDocumentViews );
for ( ; it.current(); ++it )
@@ -1719,7 +1721,7 @@ void KMdiMainFrm::setupTabbedDocumentViewSpace()
#endif
delete m_documentTabWidget;
m_documentTabWidget = new KMdiDocumentViewTabWidget( m_pDockbaseAreaOfDocumentViews );
- connect( m_documentTabWidget, TQT_SIGNAL( currentChanged( TQWidget* ) ), this, TQT_SLOT( slotDocCurrentChanged( TQWidget* ) ) );
+ connect( m_documentTabWidget, TQ_SIGNAL( currentChanged( TQWidget* ) ), this, TQ_SLOT( slotDocCurrentChanged( TQWidget* ) ) );
m_pDockbaseAreaOfDocumentViews->setWidget( m_documentTabWidget );
m_documentTabWidget->show();
TQPtrListIterator<KMdiChildView> it4( *m_pDocumentViews );
@@ -1728,11 +1730,11 @@ void KMdiMainFrm::setupTabbedDocumentViewSpace()
KMdiChildView* pView = it4.current();
m_documentTabWidget->addTab( pView, pView->icon() ? *( pView->icon() ) : TQPixmap(), pView->tabCaption() );
/*
- connect(pView,TQT_SIGNAL(iconOrCaptionUdpated(TQWidget*,TQPixmap,const TQString&)),
- m_documentTabWidget,TQT_SLOT(updateView(TQWidget*,TQPixmap,const TQString&)));
+ connect(pView,TQ_SIGNAL(iconOrCaptionUdpated(TQWidget*,TQPixmap,const TQString&)),
+ m_documentTabWidget,TQ_SLOT(updateView(TQWidget*,TQPixmap,const TQString&)));
*/
- connect( pView, TQT_SIGNAL( iconUpdated( TQWidget*, TQPixmap ) ), m_documentTabWidget, TQT_SLOT( updateIconInView( TQWidget*, TQPixmap ) ) );
- connect( pView, TQT_SIGNAL( captionUpdated( TQWidget*, const TQString& ) ), m_documentTabWidget, TQT_SLOT( updateCaptionInView( TQWidget*, const TQString& ) ) );
+ connect( pView, TQ_SIGNAL( iconUpdated( TQWidget*, TQPixmap ) ), m_documentTabWidget, TQ_SLOT( updateIconInView( TQWidget*, TQPixmap ) ) );
+ connect( pView, TQ_SIGNAL( captionUpdated( TQWidget*, const TQString& ) ), m_documentTabWidget, TQ_SLOT( updateCaptionInView( TQWidget*, const TQString& ) ) );
}
}
@@ -1862,7 +1864,7 @@ void KMdiMainFrm::switchToIDEAlMode()
if ( m_pClose )
{
- TQObject::connect( m_pClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( closeViewButtonPressed() ) );
+ TQObject::connect( m_pClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( closeViewButtonPressed() ) );
if ( m_pDocumentViews->count() > 0 )
m_pClose->show();
}
@@ -1903,7 +1905,7 @@ void KMdiMainFrm::findToolViewsDockedToMain( TQPtrList<KDockWidget>* list, KDock
KDockWidget* widget = mainDock->findNearestDockWidget( dprtmw );
if ( widget && widget->parentDockTabGroup() )
{
- widget = static_cast<KDockWidget*>( TQT_TQWIDGET(widget->parentDockTabGroup() ->parent()) );
+ widget = static_cast<KDockWidget*>( widget->parentDockTabGroup() ->parent() );
if ( widget )
{
@@ -1935,7 +1937,7 @@ void KMdiMainFrm::setupToolViewsForIDEALMode()
KDockWidget *mainDock = getMainDockWidget();
KDockWidget *w = mainDock;
if ( mainDock->parentDockTabGroup() )
- w = static_cast<KDockWidget*>( TQT_TQWIDGET(mainDock->parentDockTabGroup()->parent()) );
+ w = static_cast<KDockWidget*>( mainDock->parentDockTabGroup()->parent() );
TQPtrList<KDockWidget> leftReparentWidgets;
TQPtrList<KDockWidget> rightReparentWidgets;
@@ -1943,7 +1945,7 @@ void KMdiMainFrm::setupToolViewsForIDEALMode()
TQPtrList<KDockWidget> topReparentWidgets;
if ( mainDock->parentDockTabGroup() )
- mainDock = static_cast<KDockWidget*>( TQT_TQWIDGET(mainDock->parentDockTabGroup() ->parent()) );
+ mainDock = static_cast<KDockWidget*>( mainDock->parentDockTabGroup() ->parent() );
findToolViewsDockedToMain( &leftReparentWidgets, KDockWidget::DockLeft );
findToolViewsDockedToMain( &rightReparentWidgets, KDockWidget::DockRight );
@@ -1960,40 +1962,40 @@ void KMdiMainFrm::setupToolViewsForIDEALMode()
m_leftContainer->manualDock( mainDock, KDockWidget::DockLeft, 20 );
tmpDC->init();
if ( m_mdiGUIClient )
- connect ( this, TQT_SIGNAL( toggleLeft() ), tmpDC, TQT_SLOT( toggle() ) );
- connect( this, TQT_SIGNAL( collapseOverlapContainers() ), tmpDC, TQT_SLOT( collapseOverlapped() ) );
- connect( tmpDC, TQT_SIGNAL( activated( KMdiDockContainer* ) ), this, TQT_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
- connect( tmpDC, TQT_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQT_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
+ connect ( this, TQ_SIGNAL( toggleLeft() ), tmpDC, TQ_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( collapseOverlapContainers() ), tmpDC, TQ_SLOT( collapseOverlapped() ) );
+ connect( tmpDC, TQ_SIGNAL( activated( KMdiDockContainer* ) ), this, TQ_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
+ connect( tmpDC, TQ_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQ_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
m_rightContainer->setWidget( tmpDC = new KMdiDockContainer( m_rightContainer, this, KDockWidget::DockRight, d->m_styleIDEAlMode ) );
m_rightContainer->setEnableDocking( KDockWidget::DockRight );
m_rightContainer->manualDock( mainDock, KDockWidget::DockRight, 80 );
tmpDC->init();
if ( m_mdiGUIClient )
- connect ( this, TQT_SIGNAL( toggleRight() ), tmpDC, TQT_SLOT( toggle() ) );
- connect( this, TQT_SIGNAL( collapseOverlapContainers() ), tmpDC, TQT_SLOT( collapseOverlapped() ) );
- connect( tmpDC, TQT_SIGNAL( activated( KMdiDockContainer* ) ), this, TQT_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
- connect( tmpDC, TQT_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQT_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
+ connect ( this, TQ_SIGNAL( toggleRight() ), tmpDC, TQ_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( collapseOverlapContainers() ), tmpDC, TQ_SLOT( collapseOverlapped() ) );
+ connect( tmpDC, TQ_SIGNAL( activated( KMdiDockContainer* ) ), this, TQ_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
+ connect( tmpDC, TQ_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQ_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
m_topContainer->setWidget( tmpDC = new KMdiDockContainer( m_topContainer, this, KDockWidget::DockTop, d->m_styleIDEAlMode ) );
m_topContainer->setEnableDocking( KDockWidget::DockTop );
m_topContainer->manualDock( mainDock, KDockWidget::DockTop, 20 );
tmpDC->init();
if ( m_mdiGUIClient )
- connect ( this, TQT_SIGNAL( toggleTop() ), tmpDC, TQT_SLOT( toggle() ) );
- connect( this, TQT_SIGNAL( collapseOverlapContainers() ), tmpDC, TQT_SLOT( collapseOverlapped() ) );
- connect( tmpDC, TQT_SIGNAL( activated( KMdiDockContainer* ) ), this, TQT_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
- connect( tmpDC, TQT_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQT_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
+ connect ( this, TQ_SIGNAL( toggleTop() ), tmpDC, TQ_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( collapseOverlapContainers() ), tmpDC, TQ_SLOT( collapseOverlapped() ) );
+ connect( tmpDC, TQ_SIGNAL( activated( KMdiDockContainer* ) ), this, TQ_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
+ connect( tmpDC, TQ_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQ_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
m_bottomContainer->setWidget( tmpDC = new KMdiDockContainer( m_bottomContainer, this, KDockWidget::DockBottom, d->m_styleIDEAlMode ) );
m_bottomContainer->setEnableDocking( KDockWidget::DockBottom );
m_bottomContainer->manualDock( mainDock, KDockWidget::DockBottom, 80 );
tmpDC->init();
if ( m_mdiGUIClient )
- connect ( this, TQT_SIGNAL( toggleBottom() ), tmpDC, TQT_SLOT( toggle() ) );
- connect( this, TQT_SIGNAL( collapseOverlapContainers() ), tmpDC, TQT_SLOT( collapseOverlapped() ) );
- connect( tmpDC, TQT_SIGNAL( activated( KMdiDockContainer* ) ), this, TQT_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
- connect( tmpDC, TQT_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQT_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
+ connect ( this, TQ_SIGNAL( toggleBottom() ), tmpDC, TQ_SLOT( toggle() ) );
+ connect( this, TQ_SIGNAL( collapseOverlapContainers() ), tmpDC, TQ_SLOT( collapseOverlapped() ) );
+ connect( tmpDC, TQ_SIGNAL( activated( KMdiDockContainer* ) ), this, TQ_SLOT( setActiveToolDock( KMdiDockContainer* ) ) );
+ connect( tmpDC, TQ_SIGNAL( deactivated( KMdiDockContainer* ) ), this, TQ_SLOT( removeFromActiveDockList( KMdiDockContainer* ) ) );
m_leftContainer->setDockSite( KDockWidget::DockCenter );
m_rightContainer->setDockSite( KDockWidget::DockCenter );
@@ -2028,7 +2030,7 @@ void KMdiMainFrm::finishIDEAlMode( bool full )
{
assert( m_pClose );
m_pClose->hide();
- TQObject::disconnect( m_pClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( closeViewButtonPressed() ) );
+ TQObject::disconnect( m_pClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( closeViewButtonPressed() ) );
TQStringList leftNames;
@@ -2141,7 +2143,7 @@ void KMdiMainFrm::idealToolViewsToStandardTabs( TQStringList widgetNames, KDockW
KDockWidget * mainDock = getMainDockWidget();
if ( mainDock->parentDockTabGroup() )
{
- mainDock = static_cast<KDockWidget*>( TQT_TQWIDGET(mainDock->parentDockTabGroup() ->parent()) );
+ mainDock = static_cast<KDockWidget*>( mainDock->parentDockTabGroup() ->parent() );
}
if ( widgetNames.count() > 0 )
@@ -2436,23 +2438,23 @@ void KMdiMainFrm::setEnableMaximizedChildFrmMode( bool enableMaxChildFrameMode )
if ( !pCurrentChild || !m_pMainMenuBar )
return ;
- TQObject::connect( m_pUndock, TQT_SIGNAL( clicked() ), pCurrentChild, TQT_SLOT( undockPressed() ) );
- TQObject::connect( m_pMinimize, TQT_SIGNAL( clicked() ), pCurrentChild, TQT_SLOT( minimizePressed() ) );
- TQObject::connect( m_pRestore, TQT_SIGNAL( clicked() ), pCurrentChild, TQT_SLOT( maximizePressed() ) );
+ TQObject::connect( m_pUndock, TQ_SIGNAL( clicked() ), pCurrentChild, TQ_SLOT( undockPressed() ) );
+ TQObject::connect( m_pMinimize, TQ_SIGNAL( clicked() ), pCurrentChild, TQ_SLOT( minimizePressed() ) );
+ TQObject::connect( m_pRestore, TQ_SIGNAL( clicked() ), pCurrentChild, TQ_SLOT( maximizePressed() ) );
m_pMinimize->show();
m_pUndock->show();
m_pRestore->show();
if ( frameDecorOfAttachedViews() == KMdi::KDELaptopLook )
{
- m_pMainMenuBar->insertItem( TQPixmap( kde2laptop_closebutton_menu ), m_pMdi->topChild(), TQT_SLOT( closePressed() ), 0, -1, 0 );
+ m_pMainMenuBar->insertItem( TQPixmap( kde2laptop_closebutton_menu ), m_pMdi->topChild(), TQ_SLOT( closePressed() ), 0, -1, 0 );
}
else
{
m_pMainMenuBar->insertItem( *pCurrentChild->icon(), pCurrentChild->systemMenu(), -1, 0 );
if ( m_pClose )
{
- TQObject::connect( m_pClose, TQT_SIGNAL( clicked() ), pCurrentChild, TQT_SLOT( closePressed() ) );
+ TQObject::connect( m_pClose, TQ_SIGNAL( clicked() ), pCurrentChild, TQ_SLOT( closePressed() ) );
m_pClose->show();
}
else
@@ -2488,10 +2490,10 @@ void KMdiMainFrm::switchOffMaximizeModeForMenu( KMdiChildFrm* oldChild )
if ( oldChild )
{
Q_ASSERT( m_pClose );
- TQObject::disconnect( m_pUndock, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( undockPressed() ) );
- TQObject::disconnect( m_pMinimize, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( minimizePressed() ) );
- TQObject::disconnect( m_pRestore, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( maximizePressed() ) );
- TQObject::disconnect( m_pClose, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( closePressed() ) );
+ TQObject::disconnect( m_pUndock, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( undockPressed() ) );
+ TQObject::disconnect( m_pMinimize, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( minimizePressed() ) );
+ TQObject::disconnect( m_pRestore, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( maximizePressed() ) );
+ TQObject::disconnect( m_pClose, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( closePressed() ) );
}
m_pUndock->hide();
m_pMinimize->hide();
@@ -2510,7 +2512,7 @@ void KMdiMainFrm::updateSysButtonConnections( KMdiChildFrm* oldChild, KMdiChildF
if ( newChild )
{
if ( frameDecorOfAttachedViews() == KMdi::KDELaptopLook )
- m_pMainMenuBar->insertItem( TQPixmap( kde2laptop_closebutton_menu ), newChild, TQT_SLOT( closePressed() ), 0, -1, 0 );
+ m_pMainMenuBar->insertItem( TQPixmap( kde2laptop_closebutton_menu ), newChild, TQ_SLOT( closePressed() ), 0, -1, 0 );
else
m_pMainMenuBar->insertItem( *newChild->icon(), newChild->systemMenu(), -1, 0 );
}
@@ -2519,18 +2521,18 @@ void KMdiMainFrm::updateSysButtonConnections( KMdiChildFrm* oldChild, KMdiChildF
{
m_pMainMenuBar->removeItem( m_pMainMenuBar->idAt( 1 ) );
Q_ASSERT( m_pClose );
- TQObject::disconnect( m_pUndock, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( undockPressed() ) );
- TQObject::disconnect( m_pMinimize, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( minimizePressed() ) );
- TQObject::disconnect( m_pRestore, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( maximizePressed() ) );
- TQObject::disconnect( m_pClose, TQT_SIGNAL( clicked() ), oldChild, TQT_SLOT( closePressed() ) );
+ TQObject::disconnect( m_pUndock, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( undockPressed() ) );
+ TQObject::disconnect( m_pMinimize, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( minimizePressed() ) );
+ TQObject::disconnect( m_pRestore, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( maximizePressed() ) );
+ TQObject::disconnect( m_pClose, TQ_SIGNAL( clicked() ), oldChild, TQ_SLOT( closePressed() ) );
}
if ( newChild )
{
Q_ASSERT( m_pClose );
- TQObject::connect( m_pUndock, TQT_SIGNAL( clicked() ), newChild, TQT_SLOT( undockPressed() ) );
- TQObject::connect( m_pMinimize, TQT_SIGNAL( clicked() ), newChild, TQT_SLOT( minimizePressed() ) );
- TQObject::connect( m_pRestore, TQT_SIGNAL( clicked() ), newChild, TQT_SLOT( maximizePressed() ) );
- TQObject::connect( m_pClose, TQT_SIGNAL( clicked() ), newChild, TQT_SLOT( closePressed() ) );
+ TQObject::connect( m_pUndock, TQ_SIGNAL( clicked() ), newChild, TQ_SLOT( undockPressed() ) );
+ TQObject::connect( m_pMinimize, TQ_SIGNAL( clicked() ), newChild, TQ_SLOT( minimizePressed() ) );
+ TQObject::connect( m_pRestore, TQ_SIGNAL( clicked() ), newChild, TQ_SLOT( maximizePressed() ) );
+ TQObject::connect( m_pClose, TQ_SIGNAL( clicked() ), newChild, TQ_SLOT( closePressed() ) );
}
}
@@ -2578,7 +2580,7 @@ void KMdiMainFrm::fillWindowMenu()
d->closeWindowAction->plug(m_pWindowMenu);
- int closeAllId = m_pWindowMenu->insertItem( i18n( "Close &All" ), this, TQT_SLOT( closeAllViews() ) );
+ int closeAllId = m_pWindowMenu->insertItem( i18n( "Close &All" ), this, TQ_SLOT( closeAllViews() ) );
if ( noViewOpened )
{
d->closeWindowAction->setEnabled(false);
@@ -2587,7 +2589,7 @@ void KMdiMainFrm::fillWindowMenu()
if ( !tabPageMode && !IDEAlMode )
{
- int iconifyId = m_pWindowMenu->insertItem( i18n( "&Minimize All" ), this, TQT_SLOT( iconifyAllViews() ) );
+ int iconifyId = m_pWindowMenu->insertItem( i18n( "&Minimize All" ), this, TQ_SLOT( iconifyAllViews() ) );
if ( noViewOpened )
m_pWindowMenu->setItemEnabled( iconifyId, false );
}
@@ -2595,10 +2597,10 @@ void KMdiMainFrm::fillWindowMenu()
m_pWindowMenu->insertSeparator();
m_pWindowMenu->insertItem( i18n( "&MDI Mode" ), m_pMdiModeMenu );
m_pMdiModeMenu->clear();
- m_pMdiModeMenu->insertItem( i18n( "&Toplevel Mode" ), this, TQT_SLOT( switchToToplevelMode() ) );
- m_pMdiModeMenu->insertItem( i18n( "C&hildframe Mode" ), this, TQT_SLOT( switchToChildframeMode() ) );
- m_pMdiModeMenu->insertItem( i18n( "Ta&b Page Mode" ), this, TQT_SLOT( switchToTabPageMode() ) );
- m_pMdiModeMenu->insertItem( i18n( "I&DEAl Mode" ), this, TQT_SLOT( switchToIDEAlMode() ) );
+ m_pMdiModeMenu->insertItem( i18n( "&Toplevel Mode" ), this, TQ_SLOT( switchToToplevelMode() ) );
+ m_pMdiModeMenu->insertItem( i18n( "C&hildframe Mode" ), this, TQ_SLOT( switchToChildframeMode() ) );
+ m_pMdiModeMenu->insertItem( i18n( "Ta&b Page Mode" ), this, TQ_SLOT( switchToTabPageMode() ) );
+ m_pMdiModeMenu->insertItem( i18n( "I&DEAl Mode" ), this, TQ_SLOT( switchToIDEAlMode() ) );
switch ( m_mdiMode )
{
case KMdi::ToplevelMode:
@@ -2622,13 +2624,13 @@ void KMdiMainFrm::fillWindowMenu()
{
int placMenuId = m_pWindowMenu->insertItem( i18n( "&Tile" ), m_pPlacingMenu );
m_pPlacingMenu->clear();
- m_pPlacingMenu->insertItem( i18n( "Ca&scade Windows" ), m_pMdi, TQT_SLOT( cascadeWindows() ) );
- m_pPlacingMenu->insertItem( i18n( "Cascade &Maximized" ), m_pMdi, TQT_SLOT( cascadeMaximized() ) );
- m_pPlacingMenu->insertItem( i18n( "Expand &Vertically" ), m_pMdi, TQT_SLOT( expandVertical() ) );
- m_pPlacingMenu->insertItem( i18n( "Expand &Horizontally" ), m_pMdi, TQT_SLOT( expandHorizontal() ) );
- m_pPlacingMenu->insertItem( i18n( "Tile &Non-Overlapped" ), m_pMdi, TQT_SLOT( tileAnodine() ) );
- m_pPlacingMenu->insertItem( i18n( "Tile Overla&pped" ), m_pMdi, TQT_SLOT( tilePragma() ) );
- m_pPlacingMenu->insertItem( i18n( "Tile V&ertically" ), m_pMdi, TQT_SLOT( tileVertically() ) );
+ m_pPlacingMenu->insertItem( i18n( "Ca&scade Windows" ), m_pMdi, TQ_SLOT( cascadeWindows() ) );
+ m_pPlacingMenu->insertItem( i18n( "Cascade &Maximized" ), m_pMdi, TQ_SLOT( cascadeMaximized() ) );
+ m_pPlacingMenu->insertItem( i18n( "Expand &Vertically" ), m_pMdi, TQ_SLOT( expandVertical() ) );
+ m_pPlacingMenu->insertItem( i18n( "Expand &Horizontally" ), m_pMdi, TQ_SLOT( expandHorizontal() ) );
+ m_pPlacingMenu->insertItem( i18n( "Tile &Non-Overlapped" ), m_pMdi, TQ_SLOT( tileAnodine() ) );
+ m_pPlacingMenu->insertItem( i18n( "Tile Overla&pped" ), m_pMdi, TQ_SLOT( tilePragma() ) );
+ m_pPlacingMenu->insertItem( i18n( "Tile V&ertically" ), m_pMdi, TQ_SLOT( tileVertically() ) );
if ( m_mdiMode == KMdi::ToplevelMode )
{
m_pWindowMenu->setItemEnabled( placMenuId, false );
@@ -2690,7 +2692,7 @@ void KMdiMainFrm::fillWindowMenu()
}
if ( putHere )
{
- m_pWindowMenu->insertItem( item, pView, TQT_SLOT( slot_clickedInWindowMenu() ), 0, -1, indx + entryCount );
+ m_pWindowMenu->insertItem( item, pView, TQ_SLOT( slot_clickedInWindowMenu() ), 0, -1, indx + entryCount );
if ( pView == m_pCurrentWindow )
{
m_pWindowMenu->setItemChecked( m_pWindowMenu->idAt( indx + entryCount ), true );
@@ -2698,7 +2700,7 @@ void KMdiMainFrm::fillWindowMenu()
pView->setWindowMenuID( i );
if ( !tabPageMode )
{
- m_pDockMenu->insertItem( item, pView, TQT_SLOT( slot_clickedInDockMenu() ), 0, -1, indx );
+ m_pDockMenu->insertItem( item, pView, TQ_SLOT( slot_clickedInDockMenu() ), 0, -1, indx );
if ( pView->isAttached() )
{
m_pDockMenu->setItemChecked( m_pDockMenu->idAt( indx ), true );
@@ -2711,7 +2713,7 @@ void KMdiMainFrm::fillWindowMenu()
}
if ( !inserted )
{ // append it
- m_pWindowMenu->insertItem( item, pView, TQT_SLOT( slot_clickedInWindowMenu() ), 0, -1, windowItemCount + entryCount );
+ m_pWindowMenu->insertItem( item, pView, TQ_SLOT( slot_clickedInWindowMenu() ), 0, -1, windowItemCount + entryCount );
if ( pView == m_pCurrentWindow )
{
m_pWindowMenu->setItemChecked( m_pWindowMenu->idAt( windowItemCount + entryCount ), true );
@@ -2719,7 +2721,7 @@ void KMdiMainFrm::fillWindowMenu()
pView->setWindowMenuID( i );
if ( !tabPageMode )
{
- m_pDockMenu->insertItem( item, pView, TQT_SLOT( slot_clickedInDockMenu() ), 0, -1, windowItemCount );
+ m_pDockMenu->insertItem( item, pView, TQ_SLOT( slot_clickedInDockMenu() ), 0, -1, windowItemCount );
if ( pView->isAttached() )
{
m_pDockMenu->setItemChecked( m_pDockMenu->idAt( windowItemCount ), true );
@@ -2936,6 +2938,3 @@ KTabWidget * KMdiMainFrm::tabWidget() const
}
#include "tdemdimainfrm.moc"
-
-// vim: ts=2 sw=2 et
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.h b/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.h
index c1a0f1d4..733c2b62 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.h
@@ -240,7 +240,7 @@ class KMDI_EXPORT KMdiMainFrm : public KParts::DockMainWindow
{
friend class KMdiChildView;
friend class KMdiTaskBar;
- Q_OBJECT
+ TQ_OBJECT
friend class KMdiToolViewAccessor;
@@ -869,5 +869,3 @@ signals:
};
#endif //_TDEMDIMAINFRM_H_
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdinulliterator.h b/lib/compatibility/tdemdi/qextmdi/tdemdinulliterator.h
index 59ffed85..b018564f 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdinulliterator.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdinulliterator.h
@@ -45,5 +45,3 @@ public:
};
#endif // _TDEMDINULLITERATOR_H_
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.cpp b/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.cpp
index 207217dc..1d5c9ab7 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.cpp
@@ -63,7 +63,7 @@ KMdiTaskBarButton::KMdiTaskBarButton( KMdiTaskBar *pTaskBar, KMdiChildView *win_
m_pWindow = win_ptr;
TQToolTip::add
( this, win_ptr->caption() );
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
}
KMdiTaskBarButton::~KMdiTaskBarButton()
@@ -73,10 +73,10 @@ void KMdiTaskBarButton::mousePressEvent( TQMouseEvent* e )
{
switch ( e->button() )
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
emit leftMouseButtonClicked( m_pWindow );
break;
- case Qt::RightButton:
+ case TQt::RightButton:
emit rightMouseButtonClicked( m_pWindow );
break;
default:
@@ -152,7 +152,7 @@ KMdiTaskBar::KMdiTaskBar( KMdiMainFrm *parent, TQMainWindow::ToolBarDock dock )
m_pButtonList->setAutoDelete( true );
//QT30 setFontPropagation(TQWidget::SameFont);
setMinimumWidth( 1 );
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
parent->moveToolBar( this, dock ); //XXX obsolete!
}
@@ -171,11 +171,11 @@ KMdiTaskBarButton * KMdiTaskBar::addWinButton( KMdiChildView *win_ptr )
}
KMdiTaskBarButton *b = new KMdiTaskBarButton( this, win_ptr );
- TQObject::connect( b, TQT_SIGNAL( clicked() ), win_ptr, TQT_SLOT( setFocus() ) );
- TQObject::connect( b, TQT_SIGNAL( clicked( KMdiChildView* ) ), this, TQT_SLOT( setActiveButton( KMdiChildView* ) ) );
- TQObject::connect( b, TQT_SIGNAL( leftMouseButtonClicked( KMdiChildView* ) ), m_pFrm, TQT_SLOT( activateView( KMdiChildView* ) ) );
- TQObject::connect( b, TQT_SIGNAL( rightMouseButtonClicked( KMdiChildView* ) ), m_pFrm, TQT_SLOT( taskbarButtonRightClicked( KMdiChildView* ) ) );
- TQObject::connect( b, TQT_SIGNAL( buttonTextChanged( int ) ), this, TQT_SLOT( layoutTaskBar( int ) ) );
+ TQObject::connect( b, TQ_SIGNAL( clicked() ), win_ptr, TQ_SLOT( setFocus() ) );
+ TQObject::connect( b, TQ_SIGNAL( clicked( KMdiChildView* ) ), this, TQ_SLOT( setActiveButton( KMdiChildView* ) ) );
+ TQObject::connect( b, TQ_SIGNAL( leftMouseButtonClicked( KMdiChildView* ) ), m_pFrm, TQ_SLOT( activateView( KMdiChildView* ) ) );
+ TQObject::connect( b, TQ_SIGNAL( rightMouseButtonClicked( KMdiChildView* ) ), m_pFrm, TQ_SLOT( taskbarButtonRightClicked( KMdiChildView* ) ) );
+ TQObject::connect( b, TQ_SIGNAL( buttonTextChanged( int ) ), this, TQ_SLOT( layoutTaskBar( int ) ) );
m_pButtonList->append( b );
b->setToggleButton( true );
b->setText( win_ptr->tabCaption() );
@@ -359,7 +359,7 @@ void KMdiTaskBar::layoutTaskBar( int taskBarWidth )
newButtonWidth = buttonAreaWidth / buttonCount;
else
newButtonWidth = 0;
- if ( orientation() == Qt::Vertical )
+ if ( orientation() == TQt::Vertical )
newButtonWidth = 80;
if ( newButtonWidth > 0 )
for ( b = m_pButtonList->first();b;b = m_pButtonList->next() )
@@ -386,5 +386,3 @@ void KMdiTaskBar::resizeEvent( TQResizeEvent* rse )
}
TDEToolBar::resizeEvent( rse );
}
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.h b/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.h
index 59ccfadb..5071e076 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemditaskbar.h
@@ -50,7 +50,7 @@ class KMdiTaskBarButtonPrivate;
*/
class KMdiTaskBarButton : public TQPushButton
{
- Q_OBJECT
+ TQ_OBJECT
// methods
public:
@@ -129,7 +129,7 @@ class KMdiTaskBarPrivate;
*/
class KMDI_EXPORT KMdiTaskBar : public TDEToolBar
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -217,5 +217,3 @@ private:
};
#endif //_TDEMDITASKBAR_H_
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.cpp b/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.cpp
index ce6fcca0..25562e34 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.cpp
@@ -95,7 +95,7 @@ TQWidget *KMdiToolViewAccessor::wrapperWidget()
if ( !d->widgetContainer )
{
d->widgetContainer = mdiMainFrm->createDockWidget( "KMdiToolViewAccessor::null", TQPixmap() );
- connect( d->widgetContainer, TQT_SIGNAL( widgetSet( TQWidget* ) ), this, TQT_SLOT( setWidgetToWrap( TQWidget* ) ) );
+ connect( d->widgetContainer, TQ_SIGNAL( widgetSet( TQWidget* ) ), this, TQ_SLOT( setWidgetToWrap( TQWidget* ) ) );
}
return d->widgetContainer;
}
@@ -110,7 +110,7 @@ void KMdiToolViewAccessor::setWidgetToWrap( TQWidget *widgetToWrap, const TQStri
{
Q_ASSERT( !( d->widget ) );
Q_ASSERT( !widgetToWrap->inherits( "KDockWidget" ) );
- disconnect( d->widgetContainer, TQT_SIGNAL( widgetSet( TQWidget* ) ), this, TQT_SLOT( setWidgetToWrap( TQWidget* ) ) );
+ disconnect( d->widgetContainer, TQ_SIGNAL( widgetSet( TQWidget* ) ), this, TQ_SLOT( setWidgetToWrap( TQWidget* ) ) );
delete d->widget;
d->widget = widgetToWrap;
KDockWidget *tmp = d->widgetContainer;
@@ -265,5 +265,3 @@ void KMdiToolViewAccessor::show()
#ifndef NO_INCLUDE_MOCFILES
#include "tdemditoolviewaccessor.moc"
#endif
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.h b/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.h
index f5bbcf6c..244c1487 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemditoolviewaccessor.h
@@ -37,7 +37,7 @@ class KMDIGUIClient;
class KMDI_EXPORT KMdiToolViewAccessor : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
@@ -83,5 +83,3 @@ protected:
#endif //_TDEMDITOOLVIEWACCESSOR_H_
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
-
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.cpp b/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.cpp
index b33fc27f..422e1aa9 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.cpp
@@ -395,7 +395,7 @@ KMultiTabBarButton::KMultiTabBarButton(const TQPixmap& pic,const TQString& text,
setFixedWidth(24);
m_id=id;
TQToolTip::add(this,text);
- connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
+ connect(this,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotClicked()));
}
KMultiTabBarButton::KMultiTabBarButton(const TQString& text, TQPopupMenu *popup,
@@ -410,7 +410,7 @@ KMultiTabBarButton::KMultiTabBarButton(const TQString& text, TQPopupMenu *popup,
setFixedWidth(24);
m_id=id;
TQToolTip::add(this,text);
- connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
+ connect(this,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotClicked()));
}
KMultiTabBarButton::~KMultiTabBarButton() {
@@ -492,7 +492,7 @@ TQSize KMultiTabBarButton::sizeHint() const
h = TQMAX(h, sz.height());
}
- return (style().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
+ return (style().sizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
expandedTo(TQApplication::globalStrut()));
}
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.h b/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.h
index be5bf4a5..42e3f545 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemultitabbar.h
@@ -53,7 +53,7 @@ class KMultiTabBarInternal;
*/
class TDEUTILS_EXPORT KMultiTabBar: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum KMultiTabBarMode{Horizontal,Vertical};
@@ -154,7 +154,7 @@ private:
*/
class TDEUTILS_EXPORT KMultiTabBarButton: public TQPushButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMultiTabBarButton(const TQPixmap& pic,const TQString&, TQPopupMenu *popup,
@@ -207,7 +207,7 @@ protected slots:
*/
class TDEUTILS_EXPORT KMultiTabBarTab: public KMultiTabBarButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMultiTabBarTab(const TQPixmap& pic,const TQString&,int id,TQWidget *parent,
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemultitabbar_p.h b/lib/compatibility/tdemdi/qextmdi/tdemultitabbar_p.h
index 878f3ff0..203d436d 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemultitabbar_p.h
+++ b/lib/compatibility/tdemdi/qextmdi/tdemultitabbar_p.h
@@ -29,7 +29,7 @@
class KMultiTabBarInternal: public TQScrollView
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMultiTabBarInternal(TQWidget *parent,KMultiTabBar::KMultiTabBarMode bm);
diff --git a/lib/ksavealldialog.cpp b/lib/ksavealldialog.cpp
index d8b04b5e..e303b1f6 100644
--- a/lib/ksavealldialog.cpp
+++ b/lib/ksavealldialog.cpp
@@ -79,9 +79,9 @@ KSaveSelectDialog::KSaveSelectDialog( KURL::List const & filelist, KURL::List co
++it;
}
- connect( this, TQT_SIGNAL(closeClicked()), this, TQT_SLOT(cancel()) );
- connect( this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(save()) );
- connect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(saveNone()) );
+ connect( this, TQ_SIGNAL(closeClicked()), this, TQ_SLOT(cancel()) );
+ connect( this, TQ_SIGNAL(okClicked()), this, TQ_SLOT(save()) );
+ connect( this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(saveNone()) );
}
KSaveSelectDialog::~KSaveSelectDialog() {}
@@ -159,9 +159,9 @@ KSaveAllDialog::KSaveAllDialog( const TQStringList& filenames, TQWidget* parent
setButtonTip( User1, i18n("Lose all modifications") );
setButtonTip( Close, i18n("Cancels the action") );
- connect( this, TQT_SIGNAL(closeClicked()), this, TQT_SLOT(cancel()) );
- connect( this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(saveAll()) );
- connect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(revert()) );
+ connect( this, TQ_SIGNAL(closeClicked()), this, TQ_SLOT(cancel()) );
+ connect( this, TQ_SIGNAL(okClicked()), this, TQ_SLOT(saveAll()) );
+ connect( this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(revert()) );
}
KSaveAllDialog::~KSaveAllDialog()
diff --git a/lib/ksavealldialog.h b/lib/ksavealldialog.h
index fcd63fc0..59a16f87 100644
--- a/lib/ksavealldialog.h
+++ b/lib/ksavealldialog.h
@@ -35,7 +35,7 @@ Dialog to save selected files.
*/
class KSaveSelectDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -61,7 +61,7 @@ Dialog to save all files.
*/
class KSaveAllDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/qextfileinfo.cpp b/lib/qextfileinfo.cpp
index 094e1f77..72cdb56d 100644
--- a/lib/qextfileinfo.cpp
+++ b/lib/qextfileinfo.cpp
@@ -300,10 +300,10 @@ KURL::List QExtFileInfo::allFilesInternal(const KURL& startURL, const TQString&
TDEIO::ListJob *job = TDEIO::listRecursive(startURL, false, true);
job->setWindow(window);
m_listJobCount = 1;
- connect(job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList&)),
- this, TQT_SLOT(slotNewEntries(TDEIO::Job *, const TDEIO::UDSEntryList&)));
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotListResult (TDEIO::Job *) ) );
+ connect(job, TQ_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList&)),
+ this, TQ_SLOT(slotNewEntries(TDEIO::Job *, const TDEIO::UDSEntryList&)));
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotListResult (TDEIO::Job *) ) );
m_listStartURL = startURL.url();
//kdDebug(24000) << "Now listing: " << startURL.url() << endl;
@@ -338,10 +338,10 @@ TQDict<KFileItem> QExtFileInfo::allFilesDetailedInternal(const KURL& startURL, c
TDEIO::ListJob *job = TDEIO::listRecursive(startURL, false, true);
job->setWindow(window);
m_listJobCount = 1;
- connect(job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList&)),
- this, TQT_SLOT(slotNewDetailedEntries(TDEIO::Job *, const TDEIO::UDSEntryList&)));
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotListResult (TDEIO::Job *) ) );
+ connect(job, TQ_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList&)),
+ this, TQ_SLOT(slotNewDetailedEntries(TDEIO::Job *, const TDEIO::UDSEntryList&)));
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotListResult (TDEIO::Job *) ) );
m_listStartURL = startURL.url();
//kdDebug(24000) << "Now listing: " << startURL.url() << endl;
enter_loop();
@@ -397,11 +397,11 @@ bool QExtFileInfo::internalExists(const KURL& url, bool readingOnly, TQWidget *w
job->setWindow(window);
job->setDetails(0);
job->setSide(readingOnly);
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
//To avoid lock-ups, start a timer.
- TQTimer::singleShot(60*1000, this,TQT_SLOT(slotTimeout()));
+ TQTimer::singleShot(60*1000, this,TQ_SLOT(slotTimeout()));
//kdDebug(24000)<<"QExtFileInfo::internalExists:before enter_loop"<<endl;
enter_loop();
//kdDebug(24000)<<"QExtFileInfo::internalExists:after enter_loop"<<endl;
@@ -417,8 +417,8 @@ bool QExtFileInfo::internalCopy(const KURL& src, const KURL& target, int permiss
TDEIO::Job * job = TDEIO::file_copy( src, target, permissions, overwrite, resume, false );
// TDEIO::Job * job2 = TDEIO::del(target, false );
//job2->setWindow (window);
- //connect( job2, TQT_SIGNAL( result (TDEIO::Job *) ),
-// this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ //connect( job2, TQ_SIGNAL( result (TDEIO::Job *) ),
+// this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
//enter_loop();
//if (bJobOK)
@@ -426,8 +426,8 @@ bool QExtFileInfo::internalCopy(const KURL& src, const KURL& target, int permiss
// kdDebug(24000) << "Copying " << src << " to " << target << endl;
// TDEIO::Job *job = TDEIO::copy( src, target, false );
job->setWindow (window);
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
enter_loop();
}
return bJobOK;
@@ -440,7 +440,7 @@ void tqt_leave_modal( TQWidget *widget );
void QExtFileInfo::enter_loop()
{
TQWidget dummy(0,0,WType_Dialog | WShowModal);
- dummy.setFocusPolicy( TQ_NoFocus );
+ dummy.setFocusPolicy( TQWidget::NoFocus );
tqt_enter_modal(&dummy);
//kdDebug(24000)<<"QExtFileInfo::enter_loop:before tqApp->enter_loop()"<< endl;
tqApp->enter_loop();
@@ -536,10 +536,10 @@ void QExtFileInfo::slotNewEntries(TDEIO::Job *job, const TDEIO::UDSEntryList& ud
TDEIO::ListJob *ljob = TDEIO::listRecursive((*it)->url(), false, true);
m_listJobCount++;
//kdDebug(24000) << "Now listing: " << (*it)->url() << endl;
- connect( ljob, TQT_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
- this,TQT_SLOT (slotNewEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
- connect( ljob, TQT_SIGNAL(result(TDEIO::Job *)),
- this,TQT_SLOT (slotListResult(TDEIO::Job *)));
+ connect( ljob, TQ_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
+ this,TQ_SLOT (slotNewEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
+ connect( ljob, TQ_SIGNAL(result(TDEIO::Job *)),
+ this,TQ_SLOT (slotListResult(TDEIO::Job *)));
}
}
@@ -603,10 +603,10 @@ void QExtFileInfo::slotNewDetailedEntries(TDEIO::Job *job, const TDEIO::UDSEntry
TDEIO::ListJob *ljob = TDEIO::listRecursive((*it)->url(), false, true);
m_listJobCount++;
// kdDebug(24000) << "Now listing: " << (*it)->url() << endl;
- connect( ljob, TQT_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
- this,TQT_SLOT (slotNewDetailedEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
- connect( ljob, TQT_SIGNAL(result(TDEIO::Job *)),
- this,TQT_SLOT (slotListResult(TDEIO::Job *)));
+ connect( ljob, TQ_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
+ this,TQ_SLOT (slotNewDetailedEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
+ connect( ljob, TQ_SIGNAL(result(TDEIO::Job *)),
+ this,TQ_SLOT (slotListResult(TDEIO::Job *)));
}
}
diff --git a/lib/qextfileinfo.h b/lib/qextfileinfo.h
index bb3f3c05..df2267ec 100644
--- a/lib/qextfileinfo.h
+++ b/lib/qextfileinfo.h
@@ -24,7 +24,7 @@
class QExtFileInfo:public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
QExtFileInfo() {};
diff --git a/quanta/CMakeL10n.txt b/quanta/CMakeL10n.txt
index 295a764d..9ba75ab1 100644
--- a/quanta/CMakeL10n.txt
+++ b/quanta/CMakeL10n.txt
@@ -43,3 +43,9 @@ tde_l10n_create_template(
"data/config/actions.rc:action,text"
"*.tag:tag,comment"
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/quanta-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/quanta/components/CMakeLists.txt b/quanta/components/CMakeLists.txt
index 7e0cad97..34642e38 100644
--- a/quanta/components/CMakeLists.txt
+++ b/quanta/components/CMakeLists.txt
@@ -11,8 +11,11 @@
# FIXME cvsservice is not ported
-add_subdirectory( csseditor )
+add_subdirectory( csseditor )
add_subdirectory( framewizard )
add_subdirectory( tableeditor )
-add_subdirectory( debugger )
-# add_subdirectory( cvsservice )
+add_subdirectory( debugger )
+
+if( WITH_QUANTA_CVSSERVICE )
+add_subdirectory( cvsservice )
+endif()
diff --git a/quanta/components/csseditor/CMakeLists.txt b/quanta/components/csseditor/CMakeLists.txt
index 83e9068c..82113e59 100644
--- a/quanta/components/csseditor/CMakeLists.txt
+++ b/quanta/components/csseditor/CMakeLists.txt
@@ -18,6 +18,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/project
${CMAKE_SOURCE_DIR}/quanta/parsers
${CMAKE_SOURCE_DIR}/quanta/utility
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/components/csseditor/colorrequester.cpp b/quanta/components/csseditor/colorrequester.cpp
index 2548917b..395889dd 100644
--- a/quanta/components/csseditor/colorrequester.cpp
+++ b/quanta/components/csseditor/colorrequester.cpp
@@ -31,7 +31,7 @@ class colorRequester::colorRequesterPrivate{
KLineEdit *edit;
colorRequesterPrivate() { edit = 0L; }
void setText( const TQString& text ) { edit->setText( text ); }
- void connectSignals( TQObject *receiver ) { connect( edit, TQT_SIGNAL( textChanged( const TQString& )),receiver, TQT_SIGNAL( textChanged( const TQString& ))); }
+ void connectSignals( TQObject *receiver ) { connect( edit, TQ_SIGNAL( textChanged( const TQString& )),receiver, TQ_SIGNAL( textChanged( const TQString& ))); }
};
colorRequester::colorRequester(TQWidget *parent, const char* name) : miniEditor(parent,name){
@@ -45,7 +45,7 @@ colorRequester::~colorRequester(){
}
void colorRequester::connectToPropertySetter(propertySetter* p){
- connect( this, TQT_SIGNAL(textChanged(const TQString&)), p, TQT_SIGNAL(valueChanged(const TQString&)));
+ connect( this, TQ_SIGNAL(textChanged(const TQString&)), p, TQ_SIGNAL(valueChanged(const TQString&)));
}
void colorRequester::init()
@@ -67,12 +67,12 @@ void colorRequester::init()
TQWidget *widget = (TQWidget*) d->edit;
setFocusProxy( widget );
- d->connectSignals( TQT_TQOBJECT(this) );
- connect( myButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( openColorDialog() ));
- connect( d->edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( setInitialValue(/*const TQString&*/ ) ));
+ d->connectSignals( this );
+ connect( myButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( openColorDialog() ));
+ connect( d->edit, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( setInitialValue(/*const TQString&*/ ) ));
TDEAccel *accel = new TDEAccel( this );
- accel->insert( TDEStdAccel::Open, TQT_TQOBJECT(this), TQT_SLOT( openColorDialog() ));
+ accel->insert( TDEStdAccel::Open, this, TQ_SLOT( openColorDialog() ));
accel->readSettings();
}
diff --git a/quanta/components/csseditor/colorrequester.h b/quanta/components/csseditor/colorrequester.h
index 75d74d98..1f7b5bd0 100644
--- a/quanta/components/csseditor/colorrequester.h
+++ b/quanta/components/csseditor/colorrequester.h
@@ -24,7 +24,7 @@
class KLineEdit;
class KColorDialog;
class colorRequester : public miniEditor{
- Q_OBJECT
+ TQ_OBJECT
public:
colorRequester(TQWidget *parent, const char* name=0);
diff --git a/quanta/components/csseditor/colorslider.cpp b/quanta/components/csseditor/colorslider.cpp
index d8d2b0f6..8191d8c6 100644
--- a/quanta/components/csseditor/colorslider.cpp
+++ b/quanta/components/csseditor/colorslider.cpp
@@ -43,13 +43,13 @@ colorSlider::colorSlider(const TQString& fn,const TQString& l,const TQString& c,
leftLabel->setTextFormat (TQt::RichText ) ;
centerLabel->setTextFormat ( TQt::RichText ) ;
rightLabel->setTextFormat (TQt::RichText ) ;
- m_leftValue = new TQSlider ( 0, 255, 1, 0, Qt::Horizontal , leftBox);
- m_centerValue = new TQSlider ( 0, 255, 1, 0, Qt::Horizontal , centerBox);
- m_rightValue = new TQSlider ( 0, 255, 1, 0, Qt::Horizontal , rightBox);
+ m_leftValue = new TQSlider ( 0, 255, 1, 0, TQt::Horizontal , leftBox);
+ m_centerValue = new TQSlider ( 0, 255, 1, 0, TQt::Horizontal , centerBox);
+ m_rightValue = new TQSlider ( 0, 255, 1, 0, TQt::Horizontal , rightBox);
setSpacing(10);
- connect(m_leftValue, TQT_SIGNAL(valueChanged ( int)), this, TQT_SLOT(convertLeftValue(int)));
- connect(m_centerValue, TQT_SIGNAL(valueChanged ( int)), this, TQT_SLOT(convertCenterValue(int)));
- connect(m_rightValue, TQT_SIGNAL(valueChanged ( int)), this, TQT_SLOT(convertRightValue(int)));
+ connect(m_leftValue, TQ_SIGNAL(valueChanged ( int)), this, TQ_SLOT(convertLeftValue(int)));
+ connect(m_centerValue, TQ_SIGNAL(valueChanged ( int)), this, TQ_SLOT(convertCenterValue(int)));
+ connect(m_rightValue, TQ_SIGNAL(valueChanged ( int)), this, TQ_SLOT(convertRightValue(int)));
}
colorSlider::~colorSlider(){
@@ -59,7 +59,7 @@ colorSlider::~colorSlider(){
}
void colorSlider::connectToPropertySetter(propertySetter* p){
- connect( this, TQT_SIGNAL(valueChanged(const TQString&)), p, TQT_SIGNAL(valueChanged(const TQString&)));
+ connect( this, TQ_SIGNAL(valueChanged(const TQString&)), p, TQ_SIGNAL(valueChanged(const TQString&)));
}
void colorSlider::convertLeftValue(int i){
diff --git a/quanta/components/csseditor/colorslider.h b/quanta/components/csseditor/colorslider.h
index 33c75c30..b1c350bb 100644
--- a/quanta/components/csseditor/colorslider.h
+++ b/quanta/components/csseditor/colorslider.h
@@ -29,7 +29,7 @@
*/
class colorSlider : public miniEditor {
- Q_OBJECT
+ TQ_OBJECT
private :
TQString m_functionName;
@@ -52,7 +52,7 @@ class colorSlider : public miniEditor {
};
class RGBcolorSlider : public colorSlider {
- Q_OBJECT
+ TQ_OBJECT
public:
RGBcolorSlider(TQWidget *parent=0, const char *name=0);
@@ -61,7 +61,7 @@ class RGBcolorSlider : public colorSlider {
//FOR CSS3
/*class HSLcolorSlider : public colorSlider {
- Q_OBJECT
+ TQ_OBJECT
public:
HSLcolorSlider(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/components/csseditor/csseditor.cpp b/quanta/components/csseditor/csseditor.cpp
index c449b184..34ea4a23 100644
--- a/quanta/components/csseditor/csseditor.cpp
+++ b/quanta/components/csseditor/csseditor.cpp
@@ -117,7 +117,7 @@ void CSSEditor::appendSub(TQDomNodeList l, myCheckListItem *cli){
unsigned int i;
for(i=0;i<l.length();i++) {
myCheckListItem *item = new myCheckListItem(cli,l.item(i).toElement().tagName());
- item->connect(TQT_TQOBJECT(this),TQT_SLOT(removeProperty(const TQVariant&)));
+ item->connect(this,TQ_SLOT(removeProperty(const TQVariant&)));
if(l.item(i).toElement().attribute("hasSub") == "yes")
appendSub(l.item(i).childNodes(),item);
}
@@ -127,7 +127,7 @@ void CSSEditor::buildListView(TQDomNodeList l, TQListView *lv){
unsigned int i;
for(i=0;i<l.length();i++) {
myCheckListItem *item = new myCheckListItem(lv,l.item(i).toElement().tagName());
- item->connect(TQT_TQOBJECT(this),TQT_SLOT(removeProperty(const TQVariant&)));
+ item->connect(this,TQ_SLOT(removeProperty(const TQVariant&)));
if(l.item(i).toElement().attribute("hasSub") == "yes") {
TQDomNodeList listSub = l.item(i).childNodes();
appendSub(listSub,item);
@@ -184,7 +184,7 @@ void CSSEditor::hidePreviewer(){
void CSSEditor::initialize(){
m_config = kapp->config();
- connect(pbOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(toggleShortendForm()));
+ connect(pbOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(toggleShortendForm()));
m_config->setGroup("CSSEditor Options");
SHckb->setChecked(m_config->readBoolEntry("Shorthand form enabled",false));
@@ -243,7 +243,7 @@ void CSSEditor::initialize(){
m_ps = new propertySetter(fEditing);
fEditingLayout->addWidget(m_ps);
- connect(m_ps, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(checkProperty(const TQString&)));
+ connect(m_ps, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(checkProperty(const TQString&)));
TQStringList props;
TQString temp;
@@ -592,12 +592,12 @@ void CSSEditor::checkProperty(const TQString& v){
}
void CSSEditor::Connect(){
- connect(this, TQT_SIGNAL(signalUpdatePreview()), this, TQT_SLOT(updatePreview()));
- connect(lvVisual,TQT_SIGNAL(selectionChanged ( TQListViewItem * )),this,TQT_SLOT(setMiniEditors ( TQListViewItem * )));
- connect(lvAll,TQT_SIGNAL( selectionChanged( TQListViewItem * )),this,TQT_SLOT(setMiniEditors ( TQListViewItem * )));
- connect(lvAural,TQT_SIGNAL( selectionChanged( TQListViewItem * )),this,TQT_SLOT(setMiniEditors ( TQListViewItem * )));
- connect(lvInteractive,TQT_SIGNAL( selectionChanged( TQListViewItem * )),this,TQT_SLOT(setMiniEditors ( TQListViewItem * )));
- connect(lvPaged,TQT_SIGNAL( selectionChanged( TQListViewItem * )),this,TQT_SLOT(setMiniEditors ( TQListViewItem * )));
+ connect(this, TQ_SIGNAL(signalUpdatePreview()), this, TQ_SLOT(updatePreview()));
+ connect(lvVisual,TQ_SIGNAL(selectionChanged ( TQListViewItem * )),this,TQ_SLOT(setMiniEditors ( TQListViewItem * )));
+ connect(lvAll,TQ_SIGNAL( selectionChanged( TQListViewItem * )),this,TQ_SLOT(setMiniEditors ( TQListViewItem * )));
+ connect(lvAural,TQ_SIGNAL( selectionChanged( TQListViewItem * )),this,TQ_SLOT(setMiniEditors ( TQListViewItem * )));
+ connect(lvInteractive,TQ_SIGNAL( selectionChanged( TQListViewItem * )),this,TQ_SLOT(setMiniEditors ( TQListViewItem * )));
+ connect(lvPaged,TQ_SIGNAL( selectionChanged( TQListViewItem * )),this,TQ_SLOT(setMiniEditors ( TQListViewItem * )));
}
void CSSEditor::removeProperty(const TQVariant& v){
diff --git a/quanta/components/csseditor/csseditor.h b/quanta/components/csseditor/csseditor.h
index 0df95553..dd72a2fc 100644
--- a/quanta/components/csseditor/csseditor.h
+++ b/quanta/components/csseditor/csseditor.h
@@ -55,7 +55,7 @@ class myCheckListItem : public TQCheckListItem
/** CSSEditor is the base class of the project */
class CSSEditor : public CSSEditorS
{
- Q_OBJECT
+ TQ_OBJECT
private:
TQMyHighlighter *m_myhi;
diff --git a/quanta/components/csseditor/csseditor_globals.cpp b/quanta/components/csseditor/csseditor_globals.cpp
index c2be79c0..ef2227cf 100644
--- a/quanta/components/csseditor/csseditor_globals.cpp
+++ b/quanta/components/csseditor/csseditor_globals.cpp
@@ -19,13 +19,13 @@
#include "csseditor_globals.h"
mySpinBox::mySpinBox(TQWidget * parent , const char * name ) : TQSpinBox (parent, name){
- connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(checkSuffix( const TQString & )));
- connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SIGNAL(valueChanged( const TQString & )));
+ connect( editor(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(checkSuffix( const TQString & )));
+ connect( editor(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SIGNAL(valueChanged( const TQString & )));
}
mySpinBox::mySpinBox( int minValue, int maxValue, int step, TQWidget * parent, const char * name ) : TQSpinBox( minValue, maxValue, step, parent,name ){
- connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(checkSuffix( const TQString & )));
- connect( editor(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SIGNAL(valueChanged( const TQString & )));
+ connect( editor(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(checkSuffix( const TQString & )));
+ connect( editor(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SIGNAL(valueChanged( const TQString & )));
}
mySpinBox::~mySpinBox(){}
diff --git a/quanta/components/csseditor/csseditor_globals.h b/quanta/components/csseditor/csseditor_globals.h
index e63a9f20..88223c9c 100644
--- a/quanta/components/csseditor/csseditor_globals.h
+++ b/quanta/components/csseditor/csseditor_globals.h
@@ -50,7 +50,7 @@ const TQStringList HTMLColors(TQStringList::split(",",TQString("aliceblue,antiqu
class mySpinBox : public TQSpinBox{
- Q_OBJECT
+ TQ_OBJECT
public:
mySpinBox(TQWidget * parent = 0, const char * name = 0 );
diff --git a/quanta/components/csseditor/csseditors.ui b/quanta/components/csseditor/csseditors.ui
index 2661d75d..fe769a0e 100644
--- a/quanta/components/csseditor/csseditors.ui
+++ b/quanta/components/csseditor/csseditors.ui
@@ -405,7 +405,7 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/components/csseditor/cssselector.cpp b/quanta/components/csseditor/cssselector.cpp
index 1124273e..c624a696 100644
--- a/quanta/components/csseditor/cssselector.cpp
+++ b/quanta/components/csseditor/cssselector.cpp
@@ -110,34 +110,34 @@ CSSSelector::~CSSSelector(){
void CSSSelector::Connect(){
- connect(cbDTD,TQT_SIGNAL(activated(const TQString&)),this,TQT_SLOT(setDTDTags(const TQString&)));
-
- connect(pbAddTag,TQT_SIGNAL(clicked()), this ,TQT_SLOT(addTag()));
- connect(pbAddClass,TQT_SIGNAL(clicked()), this ,TQT_SLOT(addClass()));
- connect(pbAddID,TQT_SIGNAL(clicked()), this ,TQT_SLOT(addID()));
- connect(pbAddPseudo,TQT_SIGNAL(clicked()), this ,TQT_SLOT(addPseudo()));
-
- connect(lvTags, TQT_SIGNAL(doubleClicked( TQListViewItem * )), this, TQT_SLOT(openCSSEditor(TQListViewItem *)));
- connect(lvClasses, TQT_SIGNAL(doubleClicked( TQListViewItem * )), this, TQT_SLOT(openCSSEditor(TQListViewItem *)));
- connect(lvIDs, TQT_SIGNAL(doubleClicked( TQListViewItem * )), this, TQT_SLOT(openCSSEditor(TQListViewItem *)));
- connect(lvPseudo, TQT_SIGNAL(doubleClicked( TQListViewItem * )), this, TQT_SLOT(openCSSEditor(TQListViewItem *)));
-
- connect(lvTags, TQT_SIGNAL(selectionChanged( TQListViewItem * )), this, TQT_SLOT(setCurrentItem(TQListViewItem *)));
- connect(lvClasses, TQT_SIGNAL(selectionChanged( TQListViewItem * )), this, TQT_SLOT(setCurrentItem(TQListViewItem *)));
- connect(lvIDs, TQT_SIGNAL(selectionChanged( TQListViewItem * )), this, TQT_SLOT(setCurrentItem(TQListViewItem *)));
- connect(lvPseudo, TQT_SIGNAL( selectionChanged( TQListViewItem * )), this, TQT_SLOT(setCurrentItem(TQListViewItem *)));
-
- connect(pbRemoveSelectedTag,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeSelected()));
- connect(pbRemoveSelectedClass,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeSelected()));
- connect(pbRemoveSelectedID,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeSelected()));
- connect(pbRemoveSelectedPseudo,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeSelected()));
-
- connect(twSelectors,TQT_SIGNAL(currentChanged ( TQWidget * )), this ,TQT_SLOT(setCurrentListView( TQWidget * )));
-
- connect(pbRemoveAllTags,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeAll()));
- connect(pbRemoveAllClasses,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeAll()));
- connect(pbRemoveAllIDs,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeAll()));
- connect(pbRemoveAllPseudo,TQT_SIGNAL(clicked()), this ,TQT_SLOT(removeAll()));
+ connect(cbDTD,TQ_SIGNAL(activated(const TQString&)),this,TQ_SLOT(setDTDTags(const TQString&)));
+
+ connect(pbAddTag,TQ_SIGNAL(clicked()), this ,TQ_SLOT(addTag()));
+ connect(pbAddClass,TQ_SIGNAL(clicked()), this ,TQ_SLOT(addClass()));
+ connect(pbAddID,TQ_SIGNAL(clicked()), this ,TQ_SLOT(addID()));
+ connect(pbAddPseudo,TQ_SIGNAL(clicked()), this ,TQ_SLOT(addPseudo()));
+
+ connect(lvTags, TQ_SIGNAL(doubleClicked( TQListViewItem * )), this, TQ_SLOT(openCSSEditor(TQListViewItem *)));
+ connect(lvClasses, TQ_SIGNAL(doubleClicked( TQListViewItem * )), this, TQ_SLOT(openCSSEditor(TQListViewItem *)));
+ connect(lvIDs, TQ_SIGNAL(doubleClicked( TQListViewItem * )), this, TQ_SLOT(openCSSEditor(TQListViewItem *)));
+ connect(lvPseudo, TQ_SIGNAL(doubleClicked( TQListViewItem * )), this, TQ_SLOT(openCSSEditor(TQListViewItem *)));
+
+ connect(lvTags, TQ_SIGNAL(selectionChanged( TQListViewItem * )), this, TQ_SLOT(setCurrentItem(TQListViewItem *)));
+ connect(lvClasses, TQ_SIGNAL(selectionChanged( TQListViewItem * )), this, TQ_SLOT(setCurrentItem(TQListViewItem *)));
+ connect(lvIDs, TQ_SIGNAL(selectionChanged( TQListViewItem * )), this, TQ_SLOT(setCurrentItem(TQListViewItem *)));
+ connect(lvPseudo, TQ_SIGNAL( selectionChanged( TQListViewItem * )), this, TQ_SLOT(setCurrentItem(TQListViewItem *)));
+
+ connect(pbRemoveSelectedTag,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeSelected()));
+ connect(pbRemoveSelectedClass,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeSelected()));
+ connect(pbRemoveSelectedID,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeSelected()));
+ connect(pbRemoveSelectedPseudo,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeSelected()));
+
+ connect(twSelectors,TQ_SIGNAL(currentChanged ( TQWidget * )), this ,TQ_SLOT(setCurrentListView( TQWidget * )));
+
+ connect(pbRemoveAllTags,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeAll()));
+ connect(pbRemoveAllClasses,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeAll()));
+ connect(pbRemoveAllIDs,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeAll()));
+ connect(pbRemoveAllPseudo,TQ_SIGNAL(clicked()), this ,TQ_SLOT(removeAll()));
}
void CSSSelector::setDTDTags(const TQString& s){
@@ -209,7 +209,7 @@ void CSSSelector::openCSSEditor(TQListViewItem * i){
TQListView *lv = i->listView();
TQListViewItem *temp;
TQString s;
- TQObjectList *l = queryList( TQLISTVIEW_OBJECT_NAME_STRING );
+ TQObjectList *l = queryList( "TQListView" );
TQObjectListIt it( *l ); // iterate over the listviews
TQObject *obj;
@@ -291,8 +291,8 @@ void CSSSelector::openCSSEditor(TQListViewItem * i){
}
void CSSSelector::setCurrentListView(TQWidget* w){
- TQObjectList *l = w->queryList( TQLISTVIEW_OBJECT_NAME_STRING );
- m_currentListView = static_cast<TQListView*>(TQT_TQWIDGET(l->first()));
+ TQObjectList *l = w->queryList( "TQListView" );
+ m_currentListView = static_cast<TQListView*>(l->first());
}
void CSSSelector::removeAll(){
@@ -315,7 +315,7 @@ void CSSSelector::removeSelected(){
void CSSSelector::loadCSSContent(const TQString& s){
stylesheetParser p(s);
- connect(&p,TQT_SIGNAL(errorOccurred(const TQString&)), this, TQT_SLOT(setStylesheetProcessing(const TQString&)));
+ connect(&p,TQ_SIGNAL(errorOccurred(const TQString&)), this, TQ_SLOT(setStylesheetProcessing(const TQString&)));
p.parse();
m_orderNumber = p.orderNumber();
diff --git a/quanta/components/csseditor/cssselector.h b/quanta/components/csseditor/cssselector.h
index a71f587b..5bee0f48 100644
--- a/quanta/components/csseditor/cssselector.h
+++ b/quanta/components/csseditor/cssselector.h
@@ -29,7 +29,7 @@ class TQStringList;
*/
class CSSSelector : public CSSSelectorS {
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/csseditor/cssselectors.ui b/quanta/components/csseditor/cssselectors.ui
index cb4ed81b..b4062318 100644
--- a/quanta/components/csseditor/cssselectors.ui
+++ b/quanta/components/csseditor/cssselectors.ui
@@ -976,10 +976,9 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/components/csseditor/doubleeditors.cpp b/quanta/components/csseditor/doubleeditors.cpp
index e877e2ac..18e18ce4 100644
--- a/quanta/components/csseditor/doubleeditors.cpp
+++ b/quanta/components/csseditor/doubleeditors.cpp
@@ -58,8 +58,8 @@ void doubleEditorBase::dxValueSlot(const TQString& v){
m_ssbDx->insertItem("pt");
m_ssbDx->insertItem("px");
- connect(m_ssbSx, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(sxValueSlot(const TQString&)));
- connect(m_ssbDx, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(dxValueSlot(const TQString&)));
+ connect(m_ssbSx, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(sxValueSlot(const TQString&)));
+ connect(m_ssbDx, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(dxValueSlot(const TQString&)));
}
doubleLengthEditor::~doubleLengthEditor(){
@@ -68,7 +68,7 @@ doubleLengthEditor::~doubleLengthEditor(){
}
void doubleLengthEditor::connectToPropertySetter(propertySetter* p){
- connect(this, TQT_SIGNAL(valueChanged(const TQString&)), p ,TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(this, TQ_SIGNAL(valueChanged(const TQString&)), p ,TQ_SIGNAL(valueChanged(const TQString&)));
}
void doubleLengthEditor::setInitialValue(const TQString& sx, const TQString& dx){
@@ -79,8 +79,8 @@ void doubleLengthEditor::setInitialValue(const TQString& sx, const TQString& dx)
doubleComboBoxEditor::doubleComboBoxEditor(TQWidget *parent, const char *name) : doubleEditorBase(parent,name){
m_cbSx = new TQComboBox(this);
m_cbDx = new TQComboBox(this);
- connect(m_cbSx, TQT_SIGNAL(activated ( const TQString & )), this, TQT_SLOT(sxValueSlot(const TQString&)));
- connect(m_cbDx, TQT_SIGNAL(activated ( const TQString & )), this, TQT_SLOT(dxValueSlot(const TQString&)));
+ connect(m_cbSx, TQ_SIGNAL(activated ( const TQString & )), this, TQ_SLOT(sxValueSlot(const TQString&)));
+ connect(m_cbDx, TQ_SIGNAL(activated ( const TQString & )), this, TQ_SLOT(dxValueSlot(const TQString&)));
}
doubleComboBoxEditor::~doubleComboBoxEditor(){
@@ -89,7 +89,7 @@ doubleComboBoxEditor::~doubleComboBoxEditor(){
}
void doubleComboBoxEditor::connectToPropertySetter(propertySetter* p){
- connect(this, TQT_SIGNAL(valueChanged(const TQString&)), p ,TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(this, TQ_SIGNAL(valueChanged(const TQString&)), p ,TQ_SIGNAL(valueChanged(const TQString&)));
}
doublePercentageEditor::doublePercentageEditor(TQWidget *parent, const char *name) : doubleEditorBase(parent,name){
@@ -97,8 +97,8 @@ doublePercentageEditor::doublePercentageEditor(TQWidget *parent, const char *nam
m_sbDx = new mySpinBox(this);
m_sbSx->setSuffix("%");
m_sbDx->setSuffix("%");
- connect(m_sbSx,TQT_SIGNAL(valueChanged(const TQString&)),this,TQT_SLOT(sxValueSlot(const TQString&)));
- connect(m_sbDx,TQT_SIGNAL(valueChanged(const TQString&)),this,TQT_SLOT(dxValueSlot(const TQString&)));
+ connect(m_sbSx,TQ_SIGNAL(valueChanged(const TQString&)),this,TQ_SLOT(sxValueSlot(const TQString&)));
+ connect(m_sbDx,TQ_SIGNAL(valueChanged(const TQString&)),this,TQ_SLOT(dxValueSlot(const TQString&)));
}
doublePercentageEditor::~doublePercentageEditor(){
@@ -107,7 +107,7 @@ doublePercentageEditor::~doublePercentageEditor(){
}
void doublePercentageEditor::connectToPropertySetter(propertySetter* p){
- connect(this, TQT_SIGNAL(valueChanged(const TQString&)), p ,TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(this, TQ_SIGNAL(valueChanged(const TQString&)), p ,TQ_SIGNAL(valueChanged(const TQString&)));
}
void doublePercentageEditor::setInitialValue(const TQString& a_sx, const TQString& a_dx){
diff --git a/quanta/components/csseditor/doubleeditors.h b/quanta/components/csseditor/doubleeditors.h
index 94cbf164..396a13c5 100644
--- a/quanta/components/csseditor/doubleeditors.h
+++ b/quanta/components/csseditor/doubleeditors.h
@@ -24,7 +24,7 @@
class TQComboBox;
class doubleEditorBase : public miniEditor {
- Q_OBJECT
+ TQ_OBJECT
protected:
TQString m_sxValue,
@@ -45,7 +45,7 @@ class doubleEditorBase : public miniEditor {
};
class doublePercentageEditor : public doubleEditorBase {
- Q_OBJECT
+ TQ_OBJECT
private:
mySpinBox *m_sbSx,
@@ -59,7 +59,7 @@ class doublePercentageEditor : public doubleEditorBase {
};
class doubleComboBoxEditor : public doubleEditorBase {
- Q_OBJECT
+ TQ_OBJECT
private:
TQComboBox *m_cbSx,
@@ -74,7 +74,7 @@ class doubleComboBoxEditor : public doubleEditorBase {
};
class doubleLengthEditor : public doubleEditorBase {
- Q_OBJECT
+ TQ_OBJECT
private:
specialSB *m_ssbSx,
diff --git a/quanta/components/csseditor/encodingselector.h b/quanta/components/csseditor/encodingselector.h
index 6ee05ccd..eddcdc1d 100644
--- a/quanta/components/csseditor/encodingselector.h
+++ b/quanta/components/csseditor/encodingselector.h
@@ -27,7 +27,7 @@
*/
class encodingSelector : public encodingSelectorS {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/csseditor/fontfamilychooser.cpp b/quanta/components/csseditor/fontfamilychooser.cpp
index 8a64d589..cab7efbb 100644
--- a/quanta/components/csseditor/fontfamilychooser.cpp
+++ b/quanta/components/csseditor/fontfamilychooser.cpp
@@ -69,17 +69,17 @@ fontFamilyChooser::fontFamilyChooser(TQWidget* parent, const char *name) : fontF
pbMoveDown->setIconSet(iconSet);
pbMoveDown->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
- connect(pbAdd, TQT_SIGNAL(clicked()), this ,TQT_SLOT( addFont() ));
- connect( lbAvailable, TQT_SIGNAL( highlighted( const TQString& ) ), this, TQT_SLOT( updatePreview( const TQString&) ) );
- connect( lbAvailable, TQT_SIGNAL( highlighted( const TQString& ) ), this, TQT_SLOT( setCurrentSelectedAvailableFamilyFont( const TQString&) ) );
- connect( lbGeneric, TQT_SIGNAL( highlighted( const TQString& ) ), this, TQT_SLOT( updatePreview( const TQString&) ) );
- connect( lbGeneric, TQT_SIGNAL( highlighted( const TQString& ) ), this, TQT_SLOT( setCurrentSelectedGenericFamilyFont( const TQString&) ) );
- connect( lbSelected, TQT_SIGNAL( highlighted( const TQString& ) ), this, TQT_SLOT( updatePreview( const TQString&) ) );
- connect( lbSelected, TQT_SIGNAL( highlighted( int ) ), this, TQT_SLOT( setCurrentSelectedFont( int ) ) );
- connect( lbSelected, TQT_SIGNAL( highlighted( const TQString& ) ), this, TQT_SLOT( setCurrentSelectedFont( const TQString&) ) );
- connect( pbRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( removeFont() ) );
- connect( pbMoveUp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveFontUp() ) );
- connect( pbMoveDown, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveFontDown() ) );
+ connect(pbAdd, TQ_SIGNAL(clicked()), this ,TQ_SLOT( addFont() ));
+ connect( lbAvailable, TQ_SIGNAL( highlighted( const TQString& ) ), this, TQ_SLOT( updatePreview( const TQString&) ) );
+ connect( lbAvailable, TQ_SIGNAL( highlighted( const TQString& ) ), this, TQ_SLOT( setCurrentSelectedAvailableFamilyFont( const TQString&) ) );
+ connect( lbGeneric, TQ_SIGNAL( highlighted( const TQString& ) ), this, TQ_SLOT( updatePreview( const TQString&) ) );
+ connect( lbGeneric, TQ_SIGNAL( highlighted( const TQString& ) ), this, TQ_SLOT( setCurrentSelectedGenericFamilyFont( const TQString&) ) );
+ connect( lbSelected, TQ_SIGNAL( highlighted( const TQString& ) ), this, TQ_SLOT( updatePreview( const TQString&) ) );
+ connect( lbSelected, TQ_SIGNAL( highlighted( int ) ), this, TQ_SLOT( setCurrentSelectedFont( int ) ) );
+ connect( lbSelected, TQ_SIGNAL( highlighted( const TQString& ) ), this, TQ_SLOT( setCurrentSelectedFont( const TQString&) ) );
+ connect( pbRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeFont() ) );
+ connect( pbMoveUp, TQ_SIGNAL( clicked() ), this, TQ_SLOT( moveFontUp() ) );
+ connect( pbMoveDown, TQ_SIGNAL( clicked() ), this, TQ_SLOT( moveFontDown() ) );
TQWhatsThis::add(lbAvailable,i18n("These are the names of the available fonts on your system"));
TQWhatsThis::add(lbGeneric,i18n("These are the names of the generic fonts "));
diff --git a/quanta/components/csseditor/fontfamilychooser.h b/quanta/components/csseditor/fontfamilychooser.h
index 70d359eb..58d52299 100644
--- a/quanta/components/csseditor/fontfamilychooser.h
+++ b/quanta/components/csseditor/fontfamilychooser.h
@@ -23,7 +23,7 @@ class TQStringList;
class fontFamilyChooser : public fontFamilyChooserS
{
- Q_OBJECT
+ TQ_OBJECT
private:
enum FontOrigin { available, generic };
diff --git a/quanta/components/csseditor/fontfamilychoosers.ui b/quanta/components/csseditor/fontfamilychoosers.ui
index 7675741a..77a0f915 100644
--- a/quanta/components/csseditor/fontfamilychoosers.ui
+++ b/quanta/components/csseditor/fontfamilychoosers.ui
@@ -430,12 +430,7 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/components/csseditor/percentageeditor.cpp b/quanta/components/csseditor/percentageeditor.cpp
index b02a1615..f6363563 100644
--- a/quanta/components/csseditor/percentageeditor.cpp
+++ b/quanta/components/csseditor/percentageeditor.cpp
@@ -23,7 +23,7 @@ percentageEditor::percentageEditor(const TQString& initialValue, TQWidget *paren
m_sb = new mySpinBox(0,9999,1,this);
m_sb->setValue(temp.remove("%").toInt());
m_sb->setSuffix("%");
- connect(m_sb, TQT_SIGNAL(valueChanged ( const TQString & )), this, TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(m_sb, TQ_SIGNAL(valueChanged ( const TQString & )), this, TQ_SIGNAL(valueChanged(const TQString&)));
}
percentageEditor::~percentageEditor()
@@ -32,7 +32,7 @@ percentageEditor::~percentageEditor()
}
void percentageEditor::connectToPropertySetter(propertySetter* p){
- connect( this, TQT_SIGNAL(valueChanged(const TQString&)), p, TQT_SIGNAL(valueChanged(const TQString&)));
+ connect( this, TQ_SIGNAL(valueChanged(const TQString&)), p, TQ_SIGNAL(valueChanged(const TQString&)));
}
#include "percentageeditor.moc"
diff --git a/quanta/components/csseditor/percentageeditor.h b/quanta/components/csseditor/percentageeditor.h
index 34cf3903..eae4261d 100644
--- a/quanta/components/csseditor/percentageeditor.h
+++ b/quanta/components/csseditor/percentageeditor.h
@@ -37,7 +37,7 @@ class KPushButton;
class propertySetter;
class percentageEditor : public miniEditor {
- Q_OBJECT
+ TQ_OBJECT
private:
mySpinBox *m_sb;
diff --git a/quanta/components/csseditor/propertysetter.cpp b/quanta/components/csseditor/propertysetter.cpp
index cbaabe5c..c4a46ca7 100644
--- a/quanta/components/csseditor/propertysetter.cpp
+++ b/quanta/components/csseditor/propertysetter.cpp
@@ -60,8 +60,8 @@ void propertySetter::reset(){
void propertySetter::setComboBox()
{
m_cb = new TQComboBox(this);
- connect(m_cb, TQT_SIGNAL(activated(const TQString&)), this, TQT_SIGNAL(valueChanged(const TQString&)));
- connect(m_cb, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(m_cb, TQ_SIGNAL(activated(const TQString&)), this, TQ_SIGNAL(valueChanged(const TQString&)));
+ connect(m_cb, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SIGNAL(valueChanged(const TQString&)));
m_list.append(m_cb);
}
@@ -70,14 +70,14 @@ void propertySetter::setSpinBox(const TQString& initialValue, const TQString& mi
mySpinBox *editor = new mySpinBox(min.toInt(), max.toInt(), 1, this);
editor->setSuffix(s);
editor->setValue(initialValue.toInt());
- connect(editor, TQT_SIGNAL(valueChanged(const TQString&)), this ,TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(editor, TQ_SIGNAL(valueChanged(const TQString&)), this ,TQ_SIGNAL(valueChanged(const TQString&)));
m_list.append(editor);
}
void propertySetter::setLineEdit()
{
TQLineEdit *editor = new TQLineEdit(this);
- connect(editor,TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SIGNAL(valueChanged ( const TQString & )));
+ connect(editor,TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SIGNAL(valueChanged ( const TQString & )));
m_list.append(editor);
}
@@ -85,7 +85,7 @@ void propertySetter::setPredefinedColorListEditor()
{
TQComboBox *editor = new TQComboBox(this);
editor->insertStringList(CSSEditorGlobals::HTMLColors);
- connect(editor, TQT_SIGNAL(activated(const TQString&)), this, TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(editor, TQ_SIGNAL(activated(const TQString&)), this, TQ_SIGNAL(valueChanged(const TQString&)));
m_list.append(editor);
}
@@ -118,7 +118,7 @@ void propertySetter::addButton(){
m_pb->setIconSet(iconSet);
m_pb->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
m_pb->hide();
- connect(m_pb, TQT_SIGNAL(clicked()), this ,TQT_SLOT(Show()));
+ connect(m_pb, TQ_SIGNAL(clicked()), this ,TQ_SLOT(Show()));
}
void propertySetter::installMiniEditor(miniEditor *m){
diff --git a/quanta/components/csseditor/propertysetter.h b/quanta/components/csseditor/propertysetter.h
index a49f585c..2095d6d5 100644
--- a/quanta/components/csseditor/propertysetter.h
+++ b/quanta/components/csseditor/propertysetter.h
@@ -32,7 +32,7 @@ class KPushButton;
*/
class propertySetter : public TQHBox {
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/csseditor/specialsb.cpp b/quanta/components/csseditor/specialsb.cpp
index 6edf110c..2c725e03 100644
--- a/quanta/components/csseditor/specialsb.cpp
+++ b/quanta/components/csseditor/specialsb.cpp
@@ -26,16 +26,16 @@ specialSB::specialSB(TQWidget *parent, const char *name, bool useLineEdit ) : mi
{
m_lineEdit = new KLineEdit(this);
m_sb = 0L;
- connect(m_lineEdit, TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SLOT(lineEditValueSlot ( const TQString & )));
+ connect(m_lineEdit, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT(lineEditValueSlot ( const TQString & )));
}
else
{
m_sb=new mySpinBox(this);
- connect(m_sb, TQT_SIGNAL(valueChanged ( const TQString & )), this, TQT_SLOT(sbValueSlot(const TQString&)));
+ connect(m_sb, TQ_SIGNAL(valueChanged ( const TQString & )), this, TQ_SLOT(sbValueSlot(const TQString&)));
m_lineEdit = 0L;
}
m_cb = new TQComboBox(this);
- connect(m_cb, TQT_SIGNAL(activated ( const TQString & )), this, TQT_SLOT(cbValueSlot(const TQString&)));
+ connect(m_cb, TQ_SIGNAL(activated ( const TQString & )), this, TQ_SLOT(cbValueSlot(const TQString&)));
}
specialSB::~specialSB(){
@@ -45,7 +45,7 @@ specialSB::~specialSB(){
}
void specialSB::connectToPropertySetter(propertySetter* p){
- connect(this, TQT_SIGNAL(valueChanged(const TQString&)), p,TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(this, TQ_SIGNAL(valueChanged(const TQString&)), p,TQ_SIGNAL(valueChanged(const TQString&)));
}
diff --git a/quanta/components/csseditor/specialsb.h b/quanta/components/csseditor/specialsb.h
index ef74213f..cda9b040 100644
--- a/quanta/components/csseditor/specialsb.h
+++ b/quanta/components/csseditor/specialsb.h
@@ -28,7 +28,7 @@ class KLineEdit;
*/
class specialSB : public miniEditor {
- Q_OBJECT
+ TQ_OBJECT
protected:
TQComboBox *m_cb;
@@ -54,28 +54,28 @@ class specialSB : public miniEditor {
};
class angleEditor : public specialSB {
- Q_OBJECT
+ TQ_OBJECT
public:
angleEditor(TQWidget *parent=0, const char *name=0);
};
class frequencyEditor : public specialSB {
- Q_OBJECT
+ TQ_OBJECT
public:
frequencyEditor(TQWidget *parent=0, const char *name=0);
};
class timeEditor : public specialSB {
- Q_OBJECT
+ TQ_OBJECT
public:
timeEditor(TQWidget *parent=0, const char *name=0);
};
class lengthEditor : public specialSB {
- Q_OBJECT
+ TQ_OBJECT
public:
lengthEditor(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/components/csseditor/styleeditor.cpp b/quanta/components/csseditor/styleeditor.cpp
index d40812ed..c523115a 100644
--- a/quanta/components/csseditor/styleeditor.cpp
+++ b/quanta/components/csseditor/styleeditor.cpp
@@ -40,7 +40,7 @@
#include "csseditor.h"
StyleEditor::StyleEditor(TQWidget *parent, const char* name) : TLPEditor(parent,name){
- connect(m_pb, TQT_SIGNAL(clicked()), this, TQT_SLOT(openCSSEditor()));
+ connect(m_pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(openCSSEditor()));
setToolTip(i18n("Open css dialog"));
TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("stylesheet"));
TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal );
diff --git a/quanta/components/csseditor/styleeditor.h b/quanta/components/csseditor/styleeditor.h
index 83b54349..206033a6 100644
--- a/quanta/components/csseditor/styleeditor.h
+++ b/quanta/components/csseditor/styleeditor.h
@@ -24,7 +24,7 @@
//forward declarations
class propertySetter;
class StyleEditor : public TLPEditor{
- Q_OBJECT
+ TQ_OBJECT
private:
int m_iconWidth,
diff --git a/quanta/components/csseditor/stylesheetparser.h b/quanta/components/csseditor/stylesheetparser.h
index c5183dfe..4d1b1233 100644
--- a/quanta/components/csseditor/stylesheetparser.h
+++ b/quanta/components/csseditor/stylesheetparser.h
@@ -27,7 +27,7 @@
*/
class stylesheetParser : public TQObject{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/csseditor/tlpeditors.cpp b/quanta/components/csseditor/tlpeditors.cpp
index 678ba827..4aa738d7 100644
--- a/quanta/components/csseditor/tlpeditors.cpp
+++ b/quanta/components/csseditor/tlpeditors.cpp
@@ -73,19 +73,19 @@ URIEditor::URIEditor(TQWidget *parent, const char* name) : TLPEditor(parent,name
setButtonIcon("document-open");
setToolTip(i18n("Open the URI selector"));
- connect(m_pb, TQT_SIGNAL(clicked()), this, TQT_SLOT(openFileDialog()));
+ connect(m_pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(openFileDialog()));
}
void URIEditor::connectToPropertySetter(propertySetter* p){
- connect(this,TQT_SIGNAL(valueChanged(const TQString&)), p ,TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(this,TQ_SIGNAL(valueChanged(const TQString&)), p ,TQ_SIGNAL(valueChanged(const TQString&)));
}
void URIEditor::setMode(const mode& m) {
m_Mode = m ;
if( m_Mode == Single )
- connect(m_le, TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SLOT(selectedURI(const TQString&)));
+ connect(m_le, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT(selectedURI(const TQString&)));
else{
- connect(m_le, TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SLOT(selectedURIs(const TQStringList&)));
+ connect(m_le, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT(selectedURIs(const TQStringList&)));
}
}
@@ -156,12 +156,12 @@ fontEditor::fontEditor(TQWidget *parent, const char* name) : TLPEditor(parent,na
setLabelText(i18n("Font family:"));
setButtonIcon("fonts");
setToolTip(i18n("Open font family chooser"));
- connect(m_pb, TQT_SIGNAL(clicked()), this, TQT_SLOT(openFontChooser()));
- connect(m_le, TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SIGNAL( valueChanged( const TQString& ) ) );
+ connect(m_pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(openFontChooser()));
+ connect(m_le, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SIGNAL( valueChanged( const TQString& ) ) );
}
void fontEditor::connectToPropertySetter(propertySetter* p){
- connect(this, TQT_SIGNAL(valueChanged(const TQString&)), p, TQT_SIGNAL(valueChanged(const TQString&)));
+ connect(this, TQ_SIGNAL(valueChanged(const TQString&)), p, TQ_SIGNAL(valueChanged(const TQString&)));
}
void fontEditor::openFontChooser(){
diff --git a/quanta/components/csseditor/tlpeditors.h b/quanta/components/csseditor/tlpeditors.h
index 09c2e1f8..5a341b81 100644
--- a/quanta/components/csseditor/tlpeditors.h
+++ b/quanta/components/csseditor/tlpeditors.h
@@ -30,7 +30,7 @@ class TQLabel;
class TLPEditor : public miniEditor { //editor with a line text and a button calling a dialog
- Q_OBJECT
+ TQ_OBJECT
protected:
@@ -55,7 +55,7 @@ class TLPEditor : public miniEditor { //editor with a line text and a button cal
};
class fontEditor : public TLPEditor{
- Q_OBJECT
+ TQ_OBJECT
private:
TQString m_initialValue;
@@ -70,7 +70,7 @@ class fontEditor : public TLPEditor{
};
class URIEditor : public TLPEditor {
- Q_OBJECT
+ TQ_OBJECT
public:
enum mode{ Multi, Single };
diff --git a/quanta/components/cvsservice/CMakeLists.txt b/quanta/components/cvsservice/CMakeLists.txt
new file mode 100644
index 00000000..7f0a83c8
--- /dev/null
+++ b/quanta/components/cvsservice/CMakeLists.txt
@@ -0,0 +1,24 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib
+ ${CMAKE_SOURCE_DIR}/quanta/src
+ ${CMAKE_SOURCE_DIR}/quanta/project
+ ${CMAKE_SOURCE_DIR}/quanta/parsers
+ ${CMAKE_SOURCE_DIR}/quanta/utility
+)
+
+include_directories( SYSTEM
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+##### cvsservice (static)
+
+tde_add_library( cvsservice STATIC_PIC AUTOMOC
+
+ SOURCES
+ cvsservicedcopif.skel
+ cvscommitdlgs.ui
+ cvsupdatetodlgs.ui
+ cvsservice.cpp
+)
diff --git a/quanta/components/cvsservice/cvscommitdlgs.ui b/quanta/components/cvsservice/cvscommitdlgs.ui
index f63b910e..9ff2c938 100644
--- a/quanta/components/cvsservice/cvscommitdlgs.ui
+++ b/quanta/components/cvsservice/cvscommitdlgs.ui
@@ -144,7 +144,9 @@
<tabstop>cancelButton</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/components/cvsservice/cvsservice.cpp b/quanta/components/cvsservice/cvsservice.cpp
index 735eb2c8..4035ed2f 100644
--- a/quanta/components/cvsservice/cvsservice.cpp
+++ b/quanta/components/cvsservice/cvsservice.cpp
@@ -47,30 +47,30 @@
CVSService::CVSService(TDEActionCollection *ac)
{
m_menu = new TDEPopupMenu();
- TDEAction *action = new TDEAction(i18n("&Commit..."), "vcs_commit", 0, this, TQT_SLOT(slotCommit()), ac, "vcs_commit");
+ TDEAction *action = new TDEAction(i18n("&Commit..."), "vcs_commit", 0, this, TQ_SLOT(slotCommit()), ac, "vcs_commit");
action->plug(m_menu);
- action = new TDEAction(i18n("&Update"), "vcs_update", 0, this, TQT_SLOT(slotUpdate()), ac, "vcs_update");
+ action = new TDEAction(i18n("&Update"), "vcs_update", 0, this, TQ_SLOT(slotUpdate()), ac, "vcs_update");
action->plug(m_menu);
TDEPopupMenu *updateToMenu = new TDEPopupMenu(m_menu);
m_menu->insertItem(SmallIconSet("vcs_update"), i18n("Update &To"), updateToMenu);
- action = new TDEAction(i18n("&Tag/Date..."), "vcs_update", 0, this, TQT_SLOT(slotUpdateToTag()), ac, "vcs_update_tag_date");
+ action = new TDEAction(i18n("&Tag/Date..."), "vcs_update", 0, this, TQ_SLOT(slotUpdateToTag()), ac, "vcs_update_tag_date");
action->plug(updateToMenu);
- action = new TDEAction(i18n("&HEAD"), "vcs_update", 0, this, TQT_SLOT(slotUpdateToHead()), ac, "vcs_update_head");
+ action = new TDEAction(i18n("&HEAD"), "vcs_update", 0, this, TQ_SLOT(slotUpdateToHead()), ac, "vcs_update_head");
action->plug(updateToMenu);
- action = new TDEAction(i18n("Re&vert"), "reload", 0, this, TQT_SLOT(slotRevert()), ac, "vcs_revert");
+ action = new TDEAction(i18n("Re&vert"), "reload", 0, this, TQ_SLOT(slotRevert()), ac, "vcs_revert");
action->plug(m_menu);
m_menu->insertSeparator();
- action = new TDEAction(i18n("&Add to Repository..."), "vcs_add", 0, this, TQT_SLOT(slotAdd()), ac, "vcs_add");
+ action = new TDEAction(i18n("&Add to Repository..."), "vcs_add", 0, this, TQ_SLOT(slotAdd()), ac, "vcs_add");
action->plug(m_menu);
- action = new TDEAction(i18n("&Remove From Repository..."), "vcs_remove", 0, this, TQT_SLOT(slotRemove()), ac, "vcs_remove");
+ action = new TDEAction(i18n("&Remove From Repository..."), "vcs_remove", 0, this, TQ_SLOT(slotRemove()), ac, "vcs_remove");
action->plug(m_menu);
- action = new TDEAction(i18n("&Ignore in CVS Operations"), 0, this, TQT_SLOT(slotAddToCVSIgnore()), ac);
+ action = new TDEAction(i18n("&Ignore in CVS Operations"), 0, this, TQ_SLOT(slotAddToCVSIgnore()), ac);
action->plug(m_menu);
- action = new TDEAction(i18n("Do &Not Ignore in CVS Operations"), 0, this, TQT_SLOT(slotRemoveFromCVSIgnore()), ac);
+ action = new TDEAction(i18n("Do &Not Ignore in CVS Operations"), 0, this, TQ_SLOT(slotRemoveFromCVSIgnore()), ac);
action->plug(m_menu);
m_menu->insertSeparator();
- action = new TDEAction(i18n("Show &Log Messages"), 0, this, TQT_SLOT(slotBrowseLog()), ac);
+ action = new TDEAction(i18n("Show &Log Messages"), 0, this, TQ_SLOT(slotBrowseLog()), ac);
action->plug(m_menu);
m_cvsJob = 0L;
@@ -79,7 +79,7 @@ CVSService::CVSService(TDEActionCollection *ac)
m_commitDlg = new CVSCommitDlgS();
m_updateToDlg = new CVSUpdateToDlgS();
m_timer = new TQTimer(this);
- connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout()));
+ connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout()));
}
CVSService::~CVSService()
@@ -180,7 +180,7 @@ void CVSService::slotUpdateToTag(const TQStringList &files)
} else
{
extraOpts = "-D " + m_updateToDlg->dateLineEdit->text();
- commandStr = i18n("Updating to the version from %1 ...").arg(+ m_updateToDlg->dateLineEdit->text());
+ commandStr = i18n("Updating to the version from %1 ...").arg(m_updateToDlg->dateLineEdit->text());
}
emit clearMessages();
emit showMessage(commandStr + "\n", false);
diff --git a/quanta/components/cvsservice/cvsservice.h b/quanta/components/cvsservice/cvsservice.h
index 5c12d91a..0f0fd4f1 100644
--- a/quanta/components/cvsservice/cvsservice.h
+++ b/quanta/components/cvsservice/cvsservice.h
@@ -40,7 +40,7 @@ class CVSUpdateToDlgS;
*/
class CVSService : public TQObject, public CVSServiceDCOPIf
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/cvsservice/cvsupdatetodlgs.ui b/quanta/components/cvsservice/cvsupdatetodlgs.ui
index d4d2dc7b..bdec051a 100644
--- a/quanta/components/cvsservice/cvsupdatetodlgs.ui
+++ b/quanta/components/cvsservice/cvsupdatetodlgs.ui
@@ -195,4 +195,9 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/CMakeLists.txt b/quanta/components/debugger/CMakeLists.txt
index 6a9e7609..58d8c1f2 100644
--- a/quanta/components/debugger/CMakeLists.txt
+++ b/quanta/components/debugger/CMakeLists.txt
@@ -24,6 +24,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/messages
${CMAKE_SOURCE_DIR}/quanta/parts/preview
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/components/debugger/backtracelistview.cpp b/quanta/components/debugger/backtracelistview.cpp
index 637f76a4..1e02305f 100644
--- a/quanta/components/debugger/backtracelistview.cpp
+++ b/quanta/components/debugger/backtracelistview.cpp
@@ -64,7 +64,7 @@ BacktraceListview::BacktraceListview(TQWidget *parent, const char *name)
setAllColumnsShowFocus(true);
// Jump to bt
- connect(this, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(slotBacktraceDoubleClick( TQListViewItem *, const TQPoint &, int)));
+ connect(this, TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQ_SLOT(slotBacktraceDoubleClick( TQListViewItem *, const TQPoint &, int)));
}
diff --git a/quanta/components/debugger/backtracelistview.h b/quanta/components/debugger/backtracelistview.h
index 01c34c45..d821ad5a 100644
--- a/quanta/components/debugger/backtracelistview.h
+++ b/quanta/components/debugger/backtracelistview.h
@@ -70,7 +70,7 @@ class BacktraceListviewItem : public TDEListViewItem
class BacktraceListview : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/conditionalbreakpointdialog.cpp b/quanta/components/debugger/conditionalbreakpointdialog.cpp
index 055512da..630fbf8b 100644
--- a/quanta/components/debugger/conditionalbreakpointdialog.cpp
+++ b/quanta/components/debugger/conditionalbreakpointdialog.cpp
@@ -40,11 +40,11 @@ ConditionalBreakpointDialog::ConditionalBreakpointDialog(const TQString& express
buttonClearClass->setPixmap(SmallIcon("clear_left"));
buttonClearFunction->setPixmap(SmallIcon("clear_left"));
- connect(comboExpression, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotExpressionChanged()));
+ connect(comboExpression, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotExpressionChanged()));
- connect(buttonClearFile, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotClearFile()));
- connect(buttonClearClass, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotClearClass()));
- connect(buttonClearFunction, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotClearFunction()));
+ connect(buttonClearFile, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotClearFile()));
+ connect(buttonClearClass, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotClearClass()));
+ connect(buttonClearFunction, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotClearFunction()));
slotExpressionChanged();
}
diff --git a/quanta/components/debugger/conditionalbreakpointdialog.h b/quanta/components/debugger/conditionalbreakpointdialog.h
index 5fb8a1bd..8dd15371 100644
--- a/quanta/components/debugger/conditionalbreakpointdialog.h
+++ b/quanta/components/debugger/conditionalbreakpointdialog.h
@@ -22,7 +22,7 @@
class ConditionalBreakpointDialog : public ConditionalBreakpointDialogS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/conditionalbreakpointdialogs.ui b/quanta/components/debugger/conditionalbreakpointdialogs.ui
index fcd4b1db..109abfbd 100644
--- a/quanta/components/debugger/conditionalbreakpointdialogs.ui
+++ b/quanta/components/debugger/conditionalbreakpointdialogs.ui
@@ -76,9 +76,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -93,9 +90,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -321,9 +315,9 @@
<tabstop>buttonCancel</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kled.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/dbgp/CMakeLists.txt b/quanta/components/debugger/dbgp/CMakeLists.txt
index 0652c64d..2d4550eb 100644
--- a/quanta/components/debugger/dbgp/CMakeLists.txt
+++ b/quanta/components/debugger/dbgp/CMakeLists.txt
@@ -13,6 +13,9 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/quanta/components/debugger
${CMAKE_SOURCE_DIR}/quanta/components/debugger/interfaces
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -24,7 +27,11 @@ link_directories(
##### other data ################################
-install( FILES quantadebuggerdbgp.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE quantadebuggerdbgp.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
##### quantadebuggerdbgp (module) ###############
diff --git a/quanta/components/debugger/dbgp/dbgpnetwork.cpp b/quanta/components/debugger/dbgp/dbgpnetwork.cpp
index 7730960d..03fb82aa 100644
--- a/quanta/components/debugger/dbgp/dbgpnetwork.cpp
+++ b/quanta/components/debugger/dbgp/dbgpnetwork.cpp
@@ -48,11 +48,11 @@ void DBGpNetwork::sessionStart(bool useproxy, const TQString& server, const TQSt
if(m_socket)
{
// m_socket->setBufferSize(-1);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KNetwork::KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
- connect(m_socket, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotSocketDestroyed()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KNetwork::KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotSocketDestroyed()));
m_socket->connect();
emit active(false);
kdDebug(24002) << k_funcinfo << ", proxy:" << server << ", " << service << endl;
@@ -65,8 +65,8 @@ void DBGpNetwork::sessionStart(bool useproxy, const TQString& server, const TQSt
m_server = new KNetwork::TDEServerSocket(service);
m_server->setAddressReuseable(true);
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
- connect(m_server, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
if(m_server->listen())
{
@@ -91,7 +91,7 @@ void DBGpNetwork::sessionEnd()
if(m_socket)
{
m_socket->flush();
- disconnect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
+ disconnect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
if (m_socket)
m_socket->close();
delete m_socket;
@@ -146,7 +146,7 @@ void DBGpNetwork::slotReadyAccept()
kdDebug(24002) << k_funcinfo << ", m_server: " << m_server << ", m_socket" << m_socket << endl;
if(!m_socket)
{
- disconnect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ disconnect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
m_socket = (KNetwork::KStreamSocket *)m_server->accept(); // TDESocketServer returns a KStreamSocket (!)
if(m_socket)
@@ -156,10 +156,10 @@ void DBGpNetwork::slotReadyAccept()
m_socket->setAddressReuseable(true);
// m_socket->setSocketFlags(KExtendedSocket::inetSocket | KExtendedSocket::inputBufferedSocket);
// m_socket->setBufferSize(-1);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
connected();
}
else
@@ -215,7 +215,7 @@ void DBGpNetwork::slotConnectionClosed()
}
if(m_server)
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
// Disable all session related actions and enable connection action
emit connected(false);
diff --git a/quanta/components/debugger/dbgp/dbgpnetwork.h b/quanta/components/debugger/dbgp/dbgpnetwork.h
index 1ac8e2f4..8c8f7ca9 100644
--- a/quanta/components/debugger/dbgp/dbgpnetwork.h
+++ b/quanta/components/debugger/dbgp/dbgpnetwork.h
@@ -30,7 +30,7 @@ class KResolverEntry;
class DBGpNetwork : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/dbgp/dbgpsettings.cpp b/quanta/components/debugger/dbgp/dbgpsettings.cpp
index e9bbc249..13b1f46c 100644
--- a/quanta/components/debugger/dbgp/dbgpsettings.cpp
+++ b/quanta/components/debugger/dbgp/dbgpsettings.cpp
@@ -24,7 +24,7 @@ DBGpSettings::DBGpSettings(const TQString &protocolversion)
: DBGpSettingsS(0, "DBGpSettings", false, 0)
{
textAbout->setText(textAbout->text().replace("%PROTOCOLVERSION%", protocolversion));
- connect(checkLocalProject, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotLocalProjectToggle(bool)));
+ connect(checkLocalProject, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotLocalProjectToggle(bool)));
}
DBGpSettings::~DBGpSettings()
diff --git a/quanta/components/debugger/dbgp/dbgpsettings.h b/quanta/components/debugger/dbgp/dbgpsettings.h
index 96a25f25..c5e96afe 100644
--- a/quanta/components/debugger/dbgp/dbgpsettings.h
+++ b/quanta/components/debugger/dbgp/dbgpsettings.h
@@ -21,7 +21,7 @@
class DBGpSettings : public DBGpSettingsS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/dbgp/dbgpsettingss.ui b/quanta/components/debugger/dbgp/dbgpsettingss.ui
index 10888885..b8dba8de 100644
--- a/quanta/components/debugger/dbgp/dbgpsettingss.ui
+++ b/quanta/components/debugger/dbgp/dbgpsettingss.ui
@@ -60,9 +60,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -285,9 +282,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
@@ -402,9 +396,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="whatsThis" stdset="0">
<string>If this checkbox is checked, the profiler output filename will be mapped using the basedirs just like the remote script files.</string>
</property>
@@ -440,9 +431,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="whatsThis" stdset="0">
<string>If this checkbox is checked, the profiler output will be opened automatically once the session ends.</string>
</property>
@@ -716,13 +704,13 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotLocalProjectToggled(bool)</slot>
<slot>checkLocalProject_toggled(bool)</slot>
<slot>slotLocalProjectToggle(bool)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp b/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp
index 6e2ec6ce..f4204ec2 100644
--- a/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp
+++ b/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp
@@ -59,10 +59,10 @@ QuantaDebuggerDBGp::QuantaDebuggerDBGp (TQObject *parent, const char*, const TQS
setExecutionState(m_defaultExecutionState);
emit updateStatus(DebuggerUI::NoSession);
- connect(&m_network, TQT_SIGNAL(command(const TQString&)), this, TQT_SLOT(processCommand(const TQString&)));
- connect(&m_network, TQT_SIGNAL(active(bool)), this, TQT_SLOT(slotNetworkActive(bool)));
- connect(&m_network, TQT_SIGNAL(connected(bool)), this, TQT_SLOT(slotNetworkConnected(bool)));
- connect(&m_network, TQT_SIGNAL(networkError(const TQString &, bool)), this, TQT_SLOT(slotNetworkError(const TQString &, bool)));
+ connect(&m_network, TQ_SIGNAL(command(const TQString&)), this, TQ_SLOT(processCommand(const TQString&)));
+ connect(&m_network, TQ_SIGNAL(active(bool)), this, TQ_SLOT(slotNetworkActive(bool)));
+ connect(&m_network, TQ_SIGNAL(connected(bool)), this, TQ_SLOT(slotNetworkConnected(bool)));
+ connect(&m_network, TQ_SIGNAL(networkError(const TQString &, bool)), this, TQ_SLOT(slotNetworkError(const TQString &, bool)));
}
diff --git a/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop b/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop
index 462c4919..4873243a 100644
--- a/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop
+++ b/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop
@@ -1,44 +1,9 @@
[Desktop Entry]
-Type=Service
Name=DBGp
+
Comment=DBGp debugger plugin, see http://xdebug.org
-Comment[bg]=Приставка на дебъгер DBGp, http://xdebug.org
-Comment[ca]=Connector de depuració DBGp, consulteu http://xdebug.org
-Comment[cs]=DBGp debugger plugin, viz http://xdebug.org
-Comment[da]=DBGp fejlretter-plugin, se http://xdebug.org
-Comment[de]=DBGp Debugger Plugin, siehe http://xdebug.org
-Comment[el]=Πρόσθετο αποσφαλματωτή DBGp, δείτε το http://xdebug.org
-Comment[es]=Extensión para el depurador DBGp, vea http://xdebug.org
-Comment[et]=DBGp siluri plugin, vaata http://xdebug.org
-Comment[eu]=DBGp araztailearen plugina, ikusi http://xdebug.org
-Comment[fa]=وصلۀ اشکال‌زدای DBGp، http://xdebug.org را ببینید
-Comment[fi]=DBGp-debugliitännäinen, katso http://xdebug.org
-Comment[fr]=Module de débogage DBGp, consultez http://xdebug.org
-Comment[ga]=Breiseán dífhabhtóra DBGp, féach ar http://xdebug.org
-Comment[gl]=Extensión DBGp para o depurador, vexa tamén http://xdebug.org
-Comment[hu]=DBGp nyomkövető modul, lásd: http://xdebug.org
-Comment[is]=DBGp aflúsunaríforrit. Sjá http://xdebug.org
-Comment[it]=Plugin di degub DBGp, vedi http://xdebug.org
-Comment[ja]=DBGp デバッガ プラグイン。http://xdebug.org をご覧ください。
-Comment[ka]=DBGp განბზიკვის მოდული, იხილეთ http://xdebug.org
-Comment[lt]=DBGp derintuvės priedas, žr. http://xdebug.org
-Comment[ms]=Plugin nyahpepijat DBGp, lihat http://xdebug.org
-Comment[nds]=Fehlersöök-Moduul för't DBGp, kiek bi http://xdebug.org
-Comment[ne]=DBGp त्रुटिमोचक प्लगइन, http://xdebug.org हेर्नुहोस्
-Comment[nl]=DBGp-debugger-plugin, zie http://xdebug.org
-Comment[pl]=Wtyczka debugera DBGp, patrz http://xdebug.org
-Comment[pt]='Plugin' de depuração DBGp, veja http://xdebug.org
-Comment[pt_BR]=Plugin de depuração DBGp, veja http://xdebug.org
-Comment[ru]=Модуль для отладчика DBGp, http://xdebug.org
-Comment[sk]=DBGp debuger modul, pozri http://xdebug.org
-Comment[sl]=Vstavek za razhoroščevanje DBGp, glej http://xdebug.org
-Comment[sr]=DBGp прикључак, види http://xdebug.org
-Comment[sr@Latn]=DBGp priključak, vidi http://xdebug.org
-Comment[sv]=DBGp-insticksprogram för felsökning, se http://xdebug.org
-Comment[uk]=Втулок зневаджувача DBGp, див. http://xdebug.org
-Comment[zh_CN]=DBGp 调试器插件,参看 http://xdebug.org
-Comment[zh_HK]=DBGp 除錯器外掛程式,請參閱 http://xdebug.org
-Comment[zh_TW]=DBGp 除錯器外掛程式,請參閱 http://xdebug.org
+
+Type=Service
Icon=kdbg
X-TDE-ServiceTypes=Quanta/Debugger
X-TDE-Library=quantadebuggerdbgp
diff --git a/quanta/components/debugger/dbgp/quantadebuggerdbgp.h b/quanta/components/debugger/dbgp/quantadebuggerdbgp.h
index 5d7d551b..37d776db 100644
--- a/quanta/components/debugger/dbgp/quantadebuggerdbgp.h
+++ b/quanta/components/debugger/dbgp/quantadebuggerdbgp.h
@@ -31,7 +31,7 @@ typedef TQMap<TQString, TQString> StringMap;
class QuantaDebuggerDBGp : public DebuggerClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/debuggerbreakpointview.cpp b/quanta/components/debugger/debuggerbreakpointview.cpp
index 7cb4c097..140ee4b7 100644
--- a/quanta/components/debugger/debuggerbreakpointview.cpp
+++ b/quanta/components/debugger/debuggerbreakpointview.cpp
@@ -67,12 +67,12 @@ DebuggerBreakpointView::DebuggerBreakpointView(TQWidget *parent, const char *nam
setAllColumnsShowFocus(true);
m_breakpointPopup = new TDEPopupMenu(this);
- m_breakpointPopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQT_SLOT(slotRemoveSelected()));
+ m_breakpointPopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQ_SLOT(slotRemoveSelected()));
- connect(this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQT_SLOT(slotBreakpointContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
+ connect(this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQ_SLOT(slotBreakpointContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
// Jump to bp
- connect(this, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(slotBreakpointDoubleClick( TQListViewItem *, const TQPoint &, int)));
+ connect(this, TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQ_SLOT(slotBreakpointDoubleClick( TQListViewItem *, const TQPoint &, int)));
}
diff --git a/quanta/components/debugger/debuggerbreakpointview.h b/quanta/components/debugger/debuggerbreakpointview.h
index 074de811..0686a4ac 100644
--- a/quanta/components/debugger/debuggerbreakpointview.h
+++ b/quanta/components/debugger/debuggerbreakpointview.h
@@ -43,7 +43,7 @@ class DebuggerBreakpointViewItem : public TDEListViewItem
class DebuggerBreakpointView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/debuggermanager.cpp b/quanta/components/debugger/debuggermanager.cpp
index ff41b764..b672617c 100644
--- a/quanta/components/debugger/debuggermanager.cpp
+++ b/quanta/components/debugger/debuggermanager.cpp
@@ -67,7 +67,7 @@ void DebuggerManager::slotNewProjectLoaded(const TQString &projectname, const KU
if(m_client)
{
- disconnect(m_client, TQT_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQT_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
+ disconnect(m_client, TQ_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQ_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
delete m_client;
m_client = NULL;
@@ -143,7 +143,7 @@ void DebuggerManager::slotNewProjectLoaded(const TQString &projectname, const KU
// recreate UI
m_debuggerui = new DebuggerUI(this, "debuggerui");
- connect(m_client, TQT_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQT_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
+ connect(m_client, TQ_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQ_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
// Load saved breakpoints
if(Project::ref()->debuggerPersistentBreakpoints())
@@ -212,65 +212,65 @@ void DebuggerManager::initActions()
return;
//Debugger, breakpoint
- newaction = new TDEAction(i18n("Toggle &Breakpoint"), SmallIcon("debug_breakpoint"), TQt::CTRL+TQt::SHIFT+TQt::Key_B, this, TQT_SLOT(toggleBreakpoint()), ac, "debug_breakpoints_toggle");
+ newaction = new TDEAction(i18n("Toggle &Breakpoint"), SmallIcon("debug_breakpoint"), TQt::CTRL+TQt::SHIFT+TQt::Key_B, this, TQ_SLOT(toggleBreakpoint()), ac, "debug_breakpoints_toggle");
newaction->setToolTip(i18n("Toggles a breakpoint at the current cursor location"));
- newaction = new TDEAction(i18n("&Clear Breakpoints"), 0, this, TQT_SLOT(clearBreakpoints()), ac, "debug_breakpoints_clear");
+ newaction = new TDEAction(i18n("&Clear Breakpoints"), 0, this, TQ_SLOT(clearBreakpoints()), ac, "debug_breakpoints_clear");
newaction->setToolTip(i18n("Clears all breakpoints"));
- newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQT_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_break");
+ newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQ_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_break");
newaction->setToolTip(i18n("Adds a new conditional breakpoint"));
- newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQT_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_breakdialog");
+ newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQ_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_breakdialog");
newaction->setToolTip(i18n("Adds a new conditional breakpoint"));
// Execution
- newaction = new TDEAction(i18n("Send HTTP R&equest"), SmallIcon("debug_currentline"), 0, this, TQT_SLOT(slotDebugRequest()), ac, "debug_request");
+ newaction = new TDEAction(i18n("Send HTTP R&equest"), SmallIcon("debug_currentline"), 0, this, TQ_SLOT(slotDebugRequest()), ac, "debug_request");
newaction->setToolTip(i18n("Initiate HTTP Request to the server with debugging activated"));
- newaction = new TDEAction(i18n("&Trace"), SmallIcon("debug_run"), 0, this, TQT_SLOT(slotDebugTrace()), ac, "debug_trace");
+ newaction = new TDEAction(i18n("&Trace"), SmallIcon("debug_run"), 0, this, TQ_SLOT(slotDebugTrace()), ac, "debug_trace");
newaction->setToolTip(i18n("Traces through the script. If a script is currently not being debugged, it will start in trace mode when started"));
- newaction = new TDEAction(i18n("&Run"), SmallIcon("debug_leap"), 0, this, TQT_SLOT(slotDebugRun()), ac, "debug_run");
+ newaction = new TDEAction(i18n("&Run"), SmallIcon("debug_leap"), 0, this, TQ_SLOT(slotDebugRun()), ac, "debug_run");
newaction->setToolTip(i18n("Runs the script. If a script is currently not being debugged, it will start in run mode when started"));
- newaction = new TDEAction(i18n("&Step"), SmallIcon("debug_stepover"), 0, this, TQT_SLOT(slotDebugStepOver()), ac, "debug_stepover");
+ newaction = new TDEAction(i18n("&Step"), SmallIcon("debug_stepover"), 0, this, TQ_SLOT(slotDebugStepOver()), ac, "debug_stepover");
newaction->setToolTip(i18n("Executes the next line of execution, but does not step into functions or includes"));
- newaction = new TDEAction(i18n("Step &Into"), SmallIcon("debug_stepinto"), 0, this, TQT_SLOT(slotDebugStepInto()), ac, "debug_stepinto");
+ newaction = new TDEAction(i18n("Step &Into"), SmallIcon("debug_stepinto"), 0, this, TQ_SLOT(slotDebugStepInto()), ac, "debug_stepinto");
newaction->setToolTip(i18n("Executes the next line of execution and steps into it if it is a function call or inclusion of a file"));
- newaction = new TDEAction(i18n("S&kip"), SmallIcon("debug_skip"), 0, this, TQT_SLOT(slotDebugSkip()), ac, "debug_skip");
+ newaction = new TDEAction(i18n("S&kip"), SmallIcon("debug_skip"), 0, this, TQ_SLOT(slotDebugSkip()), ac, "debug_skip");
newaction->setToolTip(i18n("Skips the next command of execution and makes the next command the current one"));
- newaction = new TDEAction(i18n("Step &Out"), SmallIcon("debug_stepout"), 0, this, TQT_SLOT(slotDebugStepOut()), ac, "debug_stepout");
+ newaction = new TDEAction(i18n("Step &Out"), SmallIcon("debug_stepout"), 0, this, TQ_SLOT(slotDebugStepOut()), ac, "debug_stepout");
newaction->setToolTip(i18n("Executes the rest of the commands in the current function/file and pauses when it is done (when it reaches a higher level in the backtrace)"));
- newaction = new TDEAction(i18n("&Pause"), SmallIcon("debug_pause"), 0, this, TQT_SLOT(slotDebugPause()), ac, "debug_pause");
+ newaction = new TDEAction(i18n("&Pause"), SmallIcon("debug_pause"), 0, this, TQ_SLOT(slotDebugPause()), ac, "debug_pause");
newaction->setToolTip(i18n("Pauses the scripts if it is running or tracing. If a script is currently not being debugged, it will start in paused mode when started"));
- newaction = new TDEAction(i18n("Kill"), SmallIcon("debug_kill"), 0, this, TQT_SLOT(slotDebugKill()), ac, "debug_kill");
+ newaction = new TDEAction(i18n("Kill"), SmallIcon("debug_kill"), 0, this, TQ_SLOT(slotDebugKill()), ac, "debug_kill");
newaction->setToolTip(i18n("Kills the currently running script"));
- newaction = new TDEAction(i18n("Start Session"), SmallIcon("debug_connect"), 0, this, TQT_SLOT(slotDebugStartSession()), ac, "debug_connect");
+ newaction = new TDEAction(i18n("Start Session"), SmallIcon("debug_connect"), 0, this, TQ_SLOT(slotDebugStartSession()), ac, "debug_connect");
newaction->setToolTip(i18n("Starts the debugger internally (Makes debugging possible)"));
- newaction = new TDEAction(i18n("End Session"), SmallIcon("debug_disconnect"), 0, this, TQT_SLOT(slotDebugEndSession()), ac, "debug_disconnect");
+ newaction = new TDEAction(i18n("End Session"), SmallIcon("debug_disconnect"), 0, this, TQ_SLOT(slotDebugEndSession()), ac, "debug_disconnect");
newaction->setToolTip(i18n("Stops the debugger internally (debugging not longer possible)"));
// Variables
- newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQT_SLOT(slotAddWatch()), ac, "debug_addwatch");
+ newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQ_SLOT(slotAddWatch()), ac, "debug_addwatch");
newaction->setToolTip(i18n("Adds a variable to the watch list"));
- newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQT_SLOT(slotAddWatch()), ac, "debug_addwatchdialog");
+ newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQ_SLOT(slotAddWatch()), ac, "debug_addwatchdialog");
newaction->setToolTip(i18n("Adds a variable to the watch list"));
- newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQT_SLOT(slotVariableSet()), ac, "debug_variable_set");
+ newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQ_SLOT(slotVariableSet()), ac, "debug_variable_set");
newaction->setToolTip(i18n("Changes the value of a variable"));
- newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQT_SLOT(slotVariableSet()), ac, "debug_variable_setdialog");
+ newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQ_SLOT(slotVariableSet()), ac, "debug_variable_setdialog");
newaction->setToolTip(i18n("Changes the value of a variable"));
- newaction = new TDEAction(i18n("Open Profiler Output"), SmallIcon("launch"), 0, this, TQT_SLOT(slotProfilerOpen()), ac, "debug_profiler_open");
+ newaction = new TDEAction(i18n("Open Profiler Output"), SmallIcon("launch"), 0, this, TQ_SLOT(slotProfilerOpen()), ac, "debug_profiler_open");
newaction->setToolTip(i18n("Opens the profiler output file"));
enableAction("*", false);
@@ -299,7 +299,7 @@ DebuggerManager::~DebuggerManager()
if(m_client)
{
- disconnect(m_client, TQT_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQT_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
+ disconnect(m_client, TQ_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQ_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
delete m_client;
m_client = 0L;
@@ -642,20 +642,20 @@ void DebuggerManager::setMark(const TQString& filename, long line, bool set, int
void DebuggerManager::connectBreakpointSignals(Document* qdoc)
{
- connect(qdoc, TQT_SIGNAL(breakpointMarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointMarked(Document*, int)));
+ connect(qdoc, TQ_SIGNAL(breakpointMarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointMarked(Document*, int)));
- connect(qdoc, TQT_SIGNAL(breakpointUnmarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointUnmarked(Document*, int)));
+ connect(qdoc, TQ_SIGNAL(breakpointUnmarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointUnmarked(Document*, int)));
}
void DebuggerManager::disconnectBreakpointSignals(Document* qdoc)
{
- disconnect(qdoc, TQT_SIGNAL(breakpointMarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointMarked(Document*, int)));
+ disconnect(qdoc, TQ_SIGNAL(breakpointMarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointMarked(Document*, int)));
- disconnect(qdoc, TQT_SIGNAL(breakpointUnmarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointUnmarked(Document*, int)));
+ disconnect(qdoc, TQ_SIGNAL(breakpointUnmarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointUnmarked(Document*, int)));
}
// Show a status message and optionally put it on the log
diff --git a/quanta/components/debugger/debuggermanager.h b/quanta/components/debugger/debuggermanager.h
index 1a4bec52..ef91551a 100644
--- a/quanta/components/debugger/debuggermanager.h
+++ b/quanta/components/debugger/debuggermanager.h
@@ -32,7 +32,7 @@ class Document;
class DebuggerManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
// client
diff --git a/quanta/components/debugger/debuggerui.cpp b/quanta/components/debugger/debuggerui.cpp
index 9f512460..1fcdc7da 100644
--- a/quanta/components/debugger/debuggerui.cpp
+++ b/quanta/components/debugger/debuggerui.cpp
@@ -64,14 +64,14 @@ DebuggerUI::DebuggerUI(TQObject *parent, const char *name)
m_preview->view()->setIcon(UserIcon("debug_run"));
m_preview->view()->setCaption(i18n("Debug Output"));
m_previewTVA = quantaApp->addToolWindow(m_preview->view(), quantaApp->prevDockPosition(m_preview->view(), KDockWidget::DockBottom), quantaApp->getMainDockWidget());
- connect(m_preview, TQT_SIGNAL(openFile(const KURL&, const TQString&, bool)), quantaApp, TQT_SLOT(slotFileOpen(const KURL&, const TQString&, bool)));
+ connect(m_preview, TQ_SIGNAL(openFile(const KURL&, const TQString&, bool)), quantaApp, TQ_SLOT(slotFileOpen(const KURL&, const TQString&, bool)));
// Show debugger toolbar
quantaApp->toolBar("debugger_toolbar")->show();
- connect(m_variablesListView, TQT_SIGNAL(removeVariable(DebuggerVariable* )), parent, TQT_SLOT(slotRemoveVariable(DebuggerVariable* )));
+ connect(m_variablesListView, TQ_SIGNAL(removeVariable(DebuggerVariable* )), parent, TQ_SLOT(slotRemoveVariable(DebuggerVariable* )));
- connect(m_debuggerBreakpointView, TQT_SIGNAL(removeBreakpoint(DebuggerBreakpoint* )), parent, TQT_SLOT(slotRemoveBreakpoint(DebuggerBreakpoint* )));
+ connect(m_debuggerBreakpointView, TQ_SIGNAL(removeBreakpoint(DebuggerBreakpoint* )), parent, TQ_SLOT(slotRemoveBreakpoint(DebuggerBreakpoint* )));
showMenu();
}
diff --git a/quanta/components/debugger/debuggerui.h b/quanta/components/debugger/debuggerui.h
index 04db4e94..4d972d08 100644
--- a/quanta/components/debugger/debuggerui.h
+++ b/quanta/components/debugger/debuggerui.h
@@ -34,7 +34,7 @@ class KURL;
class DebuggerUI : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/debuggervariablesets.ui b/quanta/components/debugger/debuggervariablesets.ui
index f8d674d5..2616edab 100644
--- a/quanta/components/debugger/debuggervariablesets.ui
+++ b/quanta/components/debugger/debuggervariablesets.ui
@@ -60,9 +60,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -77,9 +74,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/quanta/components/debugger/gubed/CMakeLists.txt b/quanta/components/debugger/gubed/CMakeLists.txt
index b528b30a..b25bb6f3 100644
--- a/quanta/components/debugger/gubed/CMakeLists.txt
+++ b/quanta/components/debugger/gubed/CMakeLists.txt
@@ -13,6 +13,9 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/quanta/components/debugger
${CMAKE_SOURCE_DIR}/quanta/components/debugger/interfaces
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -24,7 +27,11 @@ link_directories(
##### other data ################################
-install( FILES quantadebuggergubed.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE quantadebuggergubed.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
##### quantadebuggergubed (module) ##############
diff --git a/quanta/components/debugger/gubed/gubedsettings.h b/quanta/components/debugger/gubed/gubedsettings.h
index ab07a6c6..300287bd 100644
--- a/quanta/components/debugger/gubed/gubedsettings.h
+++ b/quanta/components/debugger/gubed/gubedsettings.h
@@ -21,7 +21,7 @@
class GubedSettings : public GubedSettingsS
{
- Q_OBJECT
+ TQ_OBJECT
public slots:
diff --git a/quanta/components/debugger/gubed/gubedsettingss.ui b/quanta/components/debugger/gubed/gubedsettingss.ui
index c9caa54c..a9e80bc2 100644
--- a/quanta/components/debugger/gubed/gubedsettingss.ui
+++ b/quanta/components/debugger/gubed/gubedsettingss.ui
@@ -60,9 +60,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -752,11 +749,11 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot specifier="pure virtual">slotUseProxyToggle( bool )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.cpp b/quanta/components/debugger/gubed/quantadebuggergubed.cpp
index 14d46941..086ff878 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.cpp
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.cpp
@@ -98,10 +98,10 @@ void QuantaDebuggerGubed::startSession()
{
m_socket = new KNetwork::KStreamSocket(m_serverHost, m_serverPort);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
m_socket->connect();
debuggerInterface()->enableAction("debug_connect", true);
@@ -119,7 +119,7 @@ void QuantaDebuggerGubed::startSession()
m_server = new KNetwork::TDEServerSocket(m_listenPort);
m_server->setAddressReuseable(true);
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
if(m_server->listen())
{
@@ -280,7 +280,7 @@ void QuantaDebuggerGubed::slotReadyAccept()
{
// Perhaps this shouldnt be disconnected - instead check if connections are available at disconnect?
- disconnect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ disconnect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
m_socket = (KNetwork::KStreamSocket *)m_server->accept(); // TDESocketServer returns a KStreamSocket (!)
if(m_socket)
@@ -288,10 +288,10 @@ void QuantaDebuggerGubed::slotReadyAccept()
kdDebug(24002) << k_funcinfo << ", ready" << endl;
m_socket->enableRead(true);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
connected();
emit updateStatus(DebuggerUI::Connected);
@@ -339,7 +339,7 @@ void QuantaDebuggerGubed::slotConnectionClosed()
}
if(m_server)
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
// Disable all session related actions and enable connection action
debuggerInterface()->enableAction("*", false);
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.desktop b/quanta/components/debugger/gubed/quantadebuggergubed.desktop
index f86c706a..587225ad 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.desktop
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.desktop
@@ -1,48 +1,9 @@
[Desktop Entry]
-Type=Service
Name=Gubed
-Name[ne]=ग्युब्ड
-Name[ta]=குபெட்
+
Comment=Quanta debugger plugin to interact with the Gubed PHP debugger, see http://gubed.sf.net
-Comment[bg]=Приставка на Quanta за връзка с дебъгера Gubed PHP, http://gubed.sf.net
-Comment[ca]=Connector de depuració pel Quanta que interactua amb el depurador Gubed PHP, consulteu http://gubed.sf.net
-Comment[cs]=Ladicí modul Quanty s Gubed PHP debuggerem, viz http://gubed.sf.net
-Comment[da]=Quanta fejlretter-plugin til at virke sammen med Gubed PHP fejlretter, se http://gubed.sf.net
-Comment[de]=Debug-Komponente von Quanta für die Unterstützung des Gubed PHP-Debuggers. Näheres siehe http://gubed.sf.net
-Comment[el]=Αποσφαλματωτής Quanta σε συνεργασία με το αποσφαλματωτή Gubed PHP, δείτε http://gubed.sf.net
-Comment[es]=Accesorio de depuración de Quanta, para interactuar con el depurador de PHP Gubed. Vea http://gubed.sf.net
-Comment[et]=Quanta siluriplugin koostööks PHP siluriga Gubed (vaata http://gubed.sf.net)
-Comment[eu]=Gubed PHP araztailearekin lan egiteko Quanta araztailearen plugina, ikusi http://gubed.sf.net
-Comment[fa]=وصلۀ اشکال‌زدای Quanta برای تعامل با اشکال‌زدای Gubed PHP، http://gubed.sf.net را ببینید
-Comment[fi]=Gubed PHP debuggerin plugin Quantan debuggeriin (katso http://gubed.sf.net)
-Comment[fr]=Module de débogage de Quanta pour interagir avec le débogueur PHP Gubed ; consulter http://gubed.sf.net.
-Comment[gl]=Plugin de depuración de Quanta para interactuar co depurador de PHP Gubed, vexa tamén http://gubed.sf.net
-Comment[hu]=Quanta-nyomkövető (bővítőmodulként) a Gubed PHP-nyomkövetőhöz, lásd: http://gubed.sf.net
-Comment[is]=Quanta aflúsunaríforrit til samskipta við Gubed PHP aflúsarann. Sjá http://gubed.sf.net
-Comment[it]=Plugin debugger di Quanta per interagire con il debugger PHP Gubed, vedi http://gubed.sf.net
-Comment[ja]=Gubed PHP デバッガと対話する Quanta デバッガ。詳細は http://gubed.sf.net
-Comment[ka]=Quanta-ს განბზიკვის მოდული Gubed PHP განბზიკავთან დასაკავშირებლად, იხილეთ http://gubed.sf.net
-Comment[lt]=Quanta derintuvės priedas skirtas dirbti su Gubed PHP derintuve, žr.http://gubed.sf.net
-Comment[ms]=Plug masuk penyah-ralat Quanta untuk berinteraksi dengan penyah-ralat Gubed PHP, lihat http://gubed.sf.net
-Comment[nds]=Fehlersöök-Moduul för Quanta för't Tosamenwarken mit den PHP-Fehlersöker "Gubed", kiek op http://gubed.sf.net
-Comment[ne]=ग्युब्ड पीएचपी त्रुटिमोचकसँग अन्तर्क्रिया गर्नका लागि क्वान्टा त्रुटिमोचक प्लगइन, http://gubed.sf.net हेर्नुहोस्
-Comment[nl]=Quanta debugger plugin om te communiceren met de Gubed PHP debugger, zie http://gubed.sf.net
-Comment[pl]=Wtyczka debuggera Quanty współpracująca z debuggerem PHP Gubed , patrz http://gubed.sf.net
-Comment[pt]='Plugin' de Depuração do Quanta para interagir com o depurador de PHP Gubed, veja http://gubed.sf.net
-Comment[pt_BR]=Plugin do debugger do Quanta para interagir com o debugger PHP Gubed, olhe http://gubed.sf.net
-Comment[ru]=Модуль отладчика Quanta для связи с Gubed, отладчиком PHP, см. http://gubed.sf.net
-Comment[sk]=Quanta debuger modul pre interakciu s Gubed PHP debugerom, pozrihttp://gubed.sf.net
-Comment[sl]=Vstavek razhroščevanja v Quanti, ki sodeluje z razhroščevalnikom Gubed PHP, glejte http://gubed.sf.net
-Comment[sr]=Исправљачки прикључак Quanta-е за интеракцију са исправљачем PHP-а Gubed, погледајте http://gubed.sf.net
-Comment[sr@Latn]=Ispravljački priključak Quanta-e za interakciju sa ispravljačem PHP-a Gubed, pogledajte http://gubed.sf.net
-Comment[sv]=Quanta-insticksprogram för felsökning som fungerar med PHP-felsökaren Gubed, se http://gubed.sf.net
-Comment[ta]=குவாண்டா வழுநீக்கி உள்ளீடு குபெட்PHP வழுநீக்கியோடு தொடர்புக் கொண்டிருக்கிறது, பார்க்கவும் http://gubed.sf.net
-Comment[tg]=Модули ғалатёби Quanta барои алоқаи аз Gubed, ғалатёби PHP, нишон кунед http://gubed.sf.net
-Comment[tr]=Gubed PHP hata ayıklayıcısıyla iletişim kurmayı sağlayan Quanta hata ayıklama eklentisi, http://gubed.sf.net adresini ziyaret edin
-Comment[uk]=Втулок зневадження Quanta для зв'язку зі зневаджувачем PHP -- Gubed, див. http://gubed.sf.net
-Comment[zh_CN]=与 Gubed PHP 调试器交互 Quanta 调试器插件,见 http://gubed.sf.net
-Comment[zh_HK]=Quanta 對於 Gubed PHP 除錯器的通訊外掛程式, 請參閱 http://gubed.sf.net
-Comment[zh_TW]=Quanta 對於 Gubed PHP 除錯器的通訊外掛程式, 請參閱 http://gubed.sf.net
+
+Type=Service
Icon=kdbg
X-TDE-ServiceTypes=Quanta/Debugger
X-TDE-Library=quantadebuggergubed
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.h b/quanta/components/debugger/gubed/quantadebuggergubed.h
index ead8ffd5..e6d33fd7 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.h
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.h
@@ -30,7 +30,7 @@ typedef TQMap<TQString, TQString> StringMap;
class QuantaDebuggerGubed : public DebuggerClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/interfaces/CMakeLists.txt b/quanta/components/debugger/interfaces/CMakeLists.txt
index 9778dbe0..8307ab2c 100644
--- a/quanta/components/debugger/interfaces/CMakeLists.txt
+++ b/quanta/components/debugger/interfaces/CMakeLists.txt
@@ -12,11 +12,18 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/quanta/components/debugger
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
-install( FILES quantadebugger.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE quantadebugger.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
##### debuggerinterface (static) ################
diff --git a/quanta/components/debugger/interfaces/debuggerclient.h b/quanta/components/debugger/interfaces/debuggerclient.h
index adc914f8..ca51566e 100644
--- a/quanta/components/debugger/interfaces/debuggerclient.h
+++ b/quanta/components/debugger/interfaces/debuggerclient.h
@@ -62,7 +62,7 @@ namespace DebuggerClientCapabilities
class DebuggerClient : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/interfaces/debuggerinterface.h b/quanta/components/debugger/interfaces/debuggerinterface.h
index fc8f0f2f..e62cd8c4 100644
--- a/quanta/components/debugger/interfaces/debuggerinterface.h
+++ b/quanta/components/debugger/interfaces/debuggerinterface.h
@@ -30,7 +30,7 @@ class PathMapper;
class DebuggerInterface : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/interfaces/quantadebugger.desktop b/quanta/components/debugger/interfaces/quantadebugger.desktop
index 0c5d5bbf..c46e3c35 100644
--- a/quanta/components/debugger/interfaces/quantadebugger.desktop
+++ b/quanta/components/debugger/interfaces/quantadebugger.desktop
@@ -1,45 +1,5 @@
[Desktop Entry]
+Comment=A Quanta Debugger plugin
+
Type=ServiceType
X-TDE-ServiceType=TQuanta/Debugger
-Comment=A Quanta Debugger plugin
-Comment[bg]=Приставка на Quanta за дебъгване
-Comment[br]=Ul lugent dizraener Quanta
-Comment[ca]=Un connector de depuració pel Quanta
-Comment[cs]=Ladicí modul Quanty
-Comment[da]=Et Quanta fejlretter-plugin
-Comment[de]=Eine Quanta Debugger-Komponente
-Comment[el]=Πρόσθετο αποσφαλματωτή Quanta
-Comment[es]=Un accesorio para un depurador de Quanta
-Comment[et]=Quanta siluriplugin
-Comment[eu]=Quanta araztailearen plugina
-Comment[fa]=وصلۀ اشکال‌زدای Quanta
-Comment[fi]=Quantan debuggerin plugin
-Comment[fr]=Un module de débogage pour Quanta
-Comment[ga]=Breiseán dífhabhtóra Quanta
-Comment[gl]=Un plugin para o depurador de Quanta
-Comment[hu]=Quanta nyomkövető-modul
-Comment[is]=Quanta aflúsunaríforrit
-Comment[it]=Un plugin debugger di Quanta
-Comment[ja]=Quanta デバッガプラグイン
-Comment[ka]=Quanta-ს განბზიკვის მოდული
-Comment[lt]=Quanta derintuvės priedas
-Comment[ms]=Plug masuk penyah-ralat Quanta
-Comment[nds]=En Fehlersöök-Komponent för Quanta
-Comment[ne]=एउटा क्वान्टा त्रुटिमोचक प्लगइन
-Comment[nl]=Een Quanta debugger-plugin
-Comment[pl]=Wtyczka debuggera Quanty
-Comment[pt]=Um 'plugin' de depuração para o Quanta
-Comment[pt_BR]=Um plugin do Debugger do Quanta
-Comment[ru]=Модуль отладки Quanta
-Comment[sk]=Quanta debuger modul
-Comment[sl]=Vstavek razhroščevanja v Quanti
-Comment[sr]=Исправљачки прикључак Quanta-е
-Comment[sr@Latn]=Ispravljački priključak Quanta-e
-Comment[sv]=Ett Quanta-insticksprogram för felsökning
-Comment[ta]=குவாண்டா வழுநீக்கி சொருகு
-Comment[tg]=Модули ғалатёби Quanta
-Comment[tr]=Bir Quanta Hata Ayıklayıcı eklentisi
-Comment[uk]=Втулок зневадження Quanta
-Comment[zh_CN]=Quanta 调试器插件
-Comment[zh_HK]=一個 Quanta 除錯器的外掛程式
-Comment[zh_TW]=一個 Quanta 除錯器的外掛程式
diff --git a/quanta/components/debugger/pathmapper.h b/quanta/components/debugger/pathmapper.h
index f7d2c44a..d012189c 100644
--- a/quanta/components/debugger/pathmapper.h
+++ b/quanta/components/debugger/pathmapper.h
@@ -27,7 +27,7 @@ class KURL;
class PathMapper : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/pathmapperdialog.cpp b/quanta/components/debugger/pathmapperdialog.cpp
index 7f6f4027..343b55f3 100644
--- a/quanta/components/debugger/pathmapperdialog.cpp
+++ b/quanta/components/debugger/pathmapperdialog.cpp
@@ -32,9 +32,9 @@ PathMapperDialog::PathMapperDialog(const TQString& path, const PathMapperDialog:
if(m_direction == LocalToServer)
ledTranslationExists->hide();
- connect(listHistory, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()));
- connect(lineLocalPath, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPathsChanged()));
- connect(lineServerPath, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPathsChanged()));
+ connect(listHistory, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(lineLocalPath, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotPathsChanged()));
+ connect(lineServerPath, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotPathsChanged()));
}
PathMapperDialog::~PathMapperDialog()
diff --git a/quanta/components/debugger/pathmapperdialog.h b/quanta/components/debugger/pathmapperdialog.h
index 8c198416..922c9512 100644
--- a/quanta/components/debugger/pathmapperdialog.h
+++ b/quanta/components/debugger/pathmapperdialog.h
@@ -21,7 +21,7 @@
class PathMapperDialog : public PathMapperDialogS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/pathmapperdialogs.ui b/quanta/components/debugger/pathmapperdialogs.ui
index 58a79167..22bedbf4 100644
--- a/quanta/components/debugger/pathmapperdialogs.ui
+++ b/quanta/components/debugger/pathmapperdialogs.ui
@@ -123,9 +123,6 @@ The quanta will know that files starting with "/home/user/project/" on the local
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -140,9 +137,6 @@ The quanta will know that files starting with "/home/user/project/" on the local
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -335,11 +329,11 @@ The quanta will know that files starting with "/home/user/project/" on the local
<slot>reject()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>slotHistoryclicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kled.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/quantadebuggerinterface.h b/quanta/components/debugger/quantadebuggerinterface.h
index 736bf517..4bdf6e1c 100644
--- a/quanta/components/debugger/quantadebuggerinterface.h
+++ b/quanta/components/debugger/quantadebuggerinterface.h
@@ -27,7 +27,7 @@ class DebuggerManager;
class QuantaDebuggerInterface : public DebuggerInterface
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/variableslistview.cpp b/quanta/components/debugger/variableslistview.cpp
index 9624416f..8fc97aaf 100644
--- a/quanta/components/debugger/variableslistview.cpp
+++ b/quanta/components/debugger/variableslistview.cpp
@@ -60,16 +60,16 @@ VariablesListView::VariablesListView(TQWidget *parent, const char *name)
setSorting(-1); // No sorting
m_variablePopup = new TDEPopupMenu(this);
- m_variablePopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQT_SLOT(slotRemoveSelected()), 0, removeWatch);
+ m_variablePopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQ_SLOT(slotRemoveSelected()), 0, removeWatch);
if(quantaApp->debugger()->client()->supports(DebuggerClientCapabilities::VariableSetValue))
- m_variablePopup->insertItem(SmallIcon("edit"), i18n("&Set Value"), this, TQT_SLOT(slotVariableSetValue()), 0, setValue);
+ m_variablePopup->insertItem(SmallIcon("edit"), i18n("&Set Value"), this, TQ_SLOT(slotVariableSetValue()), 0, setValue);
- m_variablePopup->insertItem(SmallIcon("viewmag"), i18n("&Dump in Messages Log"), this, TQT_SLOT(slotVariableDump()), 0, dumpValue);
+ m_variablePopup->insertItem(SmallIcon("viewmag"), i18n("&Dump in Messages Log"), this, TQ_SLOT(slotVariableDump()), 0, dumpValue);
- m_variablePopup->insertItem(SmallIcon("edit-copy"), i18n("&Copy to Clipboard"), this, TQT_SLOT(slotVariableCopyToClipboard()), 0, copyValue);
+ m_variablePopup->insertItem(SmallIcon("edit-copy"), i18n("&Copy to Clipboard"), this, TQ_SLOT(slotVariableCopyToClipboard()), 0, copyValue);
- connect(this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQT_SLOT(slotVariableContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
+ connect(this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQ_SLOT(slotVariableContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
}
diff --git a/quanta/components/debugger/variableslistview.h b/quanta/components/debugger/variableslistview.h
index 69b27852..296fa7d9 100644
--- a/quanta/components/debugger/variableslistview.h
+++ b/quanta/components/debugger/variableslistview.h
@@ -27,7 +27,7 @@ class DebuggerVariable;
class VariablesListView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
enum menuitems
diff --git a/quanta/components/framewizard/CMakeLists.txt b/quanta/components/framewizard/CMakeLists.txt
index 0a1f83a1..c745467b 100644
--- a/quanta/components/framewizard/CMakeLists.txt
+++ b/quanta/components/framewizard/CMakeLists.txt
@@ -14,6 +14,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}/quanta/project
${CMAKE_SOURCE_DIR}/quanta/components/framewizard
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/components/framewizard/areaattributedb.h b/quanta/components/framewizard/areaattributedb.h
index a4e3a837..2d986a3b 100644
--- a/quanta/components/framewizard/areaattributedb.h
+++ b/quanta/components/framewizard/areaattributedb.h
@@ -25,7 +25,7 @@
*/
class areaAttribute : public TQObject{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/framewizard/fmfpeditor.h b/quanta/components/framewizard/fmfpeditor.h
index 9080cc4d..d74ffa2e 100644
--- a/quanta/components/framewizard/fmfpeditor.h
+++ b/quanta/components/framewizard/fmfpeditor.h
@@ -25,7 +25,7 @@
*/
class fmFPeditor : public fmFPeditorS {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/framewizard/fmfpeditors.ui b/quanta/components/framewizard/fmfpeditors.ui
index 3e024de5..fbd189b5 100644
--- a/quanta/components/framewizard/fmfpeditors.ui
+++ b/quanta/components/framewizard/fmfpeditors.ui
@@ -538,4 +538,7 @@
</connections>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/quanta/components/framewizard/fmrceditor.h b/quanta/components/framewizard/fmrceditor.h
index abebe4ee..aff4e960 100644
--- a/quanta/components/framewizard/fmrceditor.h
+++ b/quanta/components/framewizard/fmrceditor.h
@@ -25,7 +25,7 @@
*/
class fmRCeditor : public fmRCeditorS {
- Q_OBJECT
+ TQ_OBJECT
public:
fmRCeditor();
diff --git a/quanta/components/framewizard/framewizard.cpp b/quanta/components/framewizard/framewizard.cpp
index 97cfadf0..6992d78e 100644
--- a/quanta/components/framewizard/framewizard.cpp
+++ b/quanta/components/framewizard/framewizard.cpp
@@ -33,14 +33,14 @@ m_hasSelected(false),m_saved(false)
{
m_hasSelected = false;
m_currSA=vfe->internalTree()->root()->label();
- connect(this, TQT_SIGNAL(launchDraw()), this, TQT_SLOT(draw()));
- connect(vfe, TQT_SIGNAL(areaSelected(const TQString &)), this, TQT_SLOT(catchSelectedArea(const TQString &)));
+ connect(this, TQ_SIGNAL(launchDraw()), this, TQ_SLOT(draw()));
+ connect(vfe, TQ_SIGNAL(areaSelected(const TQString &)), this, TQ_SLOT(catchSelectedArea(const TQString &)));
- connect(pbHorizontal, TQT_SIGNAL(clicked()), this, TQT_SLOT(split()));
- connect(pbVertical, TQT_SIGNAL(clicked()), this, TQT_SLOT(split()));
- connect(pbEditFrame, TQT_SIGNAL(clicked()), this, TQT_SLOT(showFrameEditorDlg()));
- connect(pbReset, TQT_SIGNAL(clicked()), this, TQT_SLOT(reset()));
- connect(pbDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(remove()));
+ connect(pbHorizontal, TQ_SIGNAL(clicked()), this, TQ_SLOT(split()));
+ connect(pbVertical, TQ_SIGNAL(clicked()), this, TQ_SLOT(split()));
+ connect(pbEditFrame, TQ_SIGNAL(clicked()), this, TQ_SLOT(showFrameEditorDlg()));
+ connect(pbReset, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()));
+ connect(pbDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(remove()));
}
FrameWizard::~FrameWizard(){
@@ -57,7 +57,7 @@ void FrameWizard::split(){
if(m_hasSelected) {
int split = 0;
TQString currNodeLabel = m_currSA;
- TQString senderName=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name();
+ TQString senderName=sender()->name();
if(senderName=="pbHorizontal"){
split = showRCeditorDlg(i18n("Enter the desired number of rows:"));
if(split>=2) vfe->split(currNodeLabel,split,HORIZONTAL);
diff --git a/quanta/components/framewizard/framewizard.h b/quanta/components/framewizard/framewizard.h
index c71a4e5a..fb40b029 100644
--- a/quanta/components/framewizard/framewizard.h
+++ b/quanta/components/framewizard/framewizard.h
@@ -25,7 +25,7 @@ class TQStringList;
/** FrameWizard is the base class of the project */
class FrameWizard : public FrameWizardS
{
- Q_OBJECT
+ TQ_OBJECT
private:
bool m_hasSelected,
diff --git a/quanta/components/framewizard/framewizards.ui b/quanta/components/framewizard/framewizards.ui
index 3a3a1efd..22a702c0 100644
--- a/quanta/components/framewizard/framewizards.ui
+++ b/quanta/components/framewizard/framewizards.ui
@@ -363,7 +363,7 @@
</connections>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>visualframeeditor.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">visualframeeditor.h</include>
+</includes>
</UI>
diff --git a/quanta/components/framewizard/selectablearea.h b/quanta/components/framewizard/selectablearea.h
index 0efccc72..b31f3ab4 100644
--- a/quanta/components/framewizard/selectablearea.h
+++ b/quanta/components/framewizard/selectablearea.h
@@ -28,7 +28,7 @@
class SelectableArea : public TDEHTMLPart {
- Q_OBJECT
+ TQ_OBJECT
public :
diff --git a/quanta/components/framewizard/visualframeeditor.cpp b/quanta/components/framewizard/visualframeeditor.cpp
index 4b1f62f3..3f74574f 100644
--- a/quanta/components/framewizard/visualframeeditor.cpp
+++ b/quanta/components/framewizard/visualframeeditor.cpp
@@ -231,7 +231,7 @@ void VisualFrameEditor::paintEvent ( TQPaintEvent * ){
delete m_firstInsertedSA;
m_firstInsertedSA = 0L;
- TQObjectList* splitterList = queryList(TQSPLITTER_OBJECT_NAME_STRING);
+ TQObjectList* splitterList = queryList("TQSplitter");
for (uint i = 0; i < splitterList->count(); i++) {
TQObject* o = splitterList->at(i);
removeChild(o); //this will delete all childr of "o"
@@ -289,8 +289,8 @@ void VisualFrameEditor::drawGUI(treeNode *n, TQWidget* parent){
TQSplitter *splitter = new TQSplitter(parent,splitterName.ascii());
if(SIZES.contains(splitterName)) splitter->setSizes( SIZES[splitterName] );
switch( n->splitType() ){
- case VERTICAL : splitter->setOrientation(Qt::Horizontal);break;
- case HORIZONTAL : splitter->setOrientation(Qt::Vertical);break;
+ case VERTICAL : splitter->setOrientation(TQt::Horizontal);break;
+ case HORIZONTAL : splitter->setOrientation(TQt::Vertical);break;
default:break;
}
n->firstChild();
@@ -301,14 +301,14 @@ void VisualFrameEditor::drawGUI(treeNode *n, TQWidget* parent){
}
else {
SelectableArea *sa=new SelectableArea(parent,n->label().ascii());
- if(parent->isA(TQSPLITTER_OBJECT_NAME_STRING)) dynamic_cast<TQSplitter *>(parent)->setResizeMode(sa->view(),TQSplitter::KeepSize );
+ if(parent->isA("TQSplitter")) dynamic_cast<TQSplitter *>(parent)->setResizeMode(sa->view(),TQSplitter::KeepSize );
else
if(!m_firstInsertedSA) m_firstInsertedSA = sa;
sa->view()->setGeometry(n->atts()->geometry());
sa->setIdLabel( n->label() );
sa->setSource( n->atts()->src() );
- connect(sa, TQT_SIGNAL(Resized(TQRect)), m_internalTree->findNode(sa->idLabel())->atts(), TQT_SLOT(setGeometry(TQRect)));
- connect(sa, TQT_SIGNAL(selected(const TQString &)),this, TQT_SIGNAL(areaSelected(const TQString &)));
+ connect(sa, TQ_SIGNAL(Resized(TQRect)), m_internalTree->findNode(sa->idLabel())->atts(), TQ_SLOT(setGeometry(TQRect)));
+ connect(sa, TQ_SIGNAL(selected(const TQString &)),this, TQ_SIGNAL(areaSelected(const TQString &)));
}
}
diff --git a/quanta/components/framewizard/visualframeeditor.h b/quanta/components/framewizard/visualframeeditor.h
index 57ac82fe..69c51702 100644
--- a/quanta/components/framewizard/visualframeeditor.h
+++ b/quanta/components/framewizard/visualframeeditor.h
@@ -28,7 +28,7 @@
class VisualFrameEditor : public TQHBox {
- Q_OBJECT
+ TQ_OBJECT
private:
enum MarkupLanguage{XHTML,HTML};
diff --git a/quanta/components/tableeditor/CMakeLists.txt b/quanta/components/tableeditor/CMakeLists.txt
index e6a7d8a9..699d1aa6 100644
--- a/quanta/components/tableeditor/CMakeLists.txt
+++ b/quanta/components/tableeditor/CMakeLists.txt
@@ -15,6 +15,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/parsers
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/dialogs/tagdialogs
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/components/tableeditor/tableeditor.cpp b/quanta/components/tableeditor/tableeditor.cpp
index 258f7783..96c5ccf8 100644
--- a/quanta/components/tableeditor/tableeditor.cpp
+++ b/quanta/components/tableeditor/tableeditor.cpp
@@ -52,21 +52,21 @@ TableEditor::TableEditor(TQWidget* parent, const char* name)
: TableEditorS(parent, name)
{
m_popup = new TDEPopupMenu();
- m_cellEditId = m_popup->insertItem(i18n("&Edit Cell Properties"), this ,TQT_SLOT(slotEditCell()));
- m_rowEditId = m_popup->insertItem(i18n("Edit &Row Properties"), this ,TQT_SLOT(slotEditRow()));
- // m_colEditId = m_popup->insertItem(i18n("Edit &Column Properties"), this ,TQT_SLOT(slotEditCol()));
+ m_cellEditId = m_popup->insertItem(i18n("&Edit Cell Properties"), this ,TQ_SLOT(slotEditCell()));
+ m_rowEditId = m_popup->insertItem(i18n("Edit &Row Properties"), this ,TQ_SLOT(slotEditRow()));
+ // m_colEditId = m_popup->insertItem(i18n("Edit &Column Properties"), this ,TQ_SLOT(slotEditCol()));
m_mergeSeparatorId = m_popup->insertSeparator();
- m_mergeCellsId = m_popup->insertItem(i18n("Merge Cells"), this, TQT_SLOT(slotMergeCells()));
- m_unmergeCellsId = m_popup->insertItem(i18n("Break Merging"), this, TQT_SLOT(slotUnmergeCells()));
+ m_mergeCellsId = m_popup->insertItem(i18n("Merge Cells"), this, TQ_SLOT(slotMergeCells()));
+ m_unmergeCellsId = m_popup->insertItem(i18n("Break Merging"), this, TQ_SLOT(slotUnmergeCells()));
m_popup->insertSeparator();
- m_popup->insertItem(i18n("&Insert Row"), this, TQT_SLOT(slotInsertRow()));
- m_popup->insertItem(i18n("Insert Co&lumn"), this, TQT_SLOT(slotInsertCol()));
- m_popup->insertItem(i18n("Remove Row"), this, TQT_SLOT(slotRemoveRow()));
- m_popup->insertItem(i18n("Remove Column"), this, TQT_SLOT(slotRemoveCol()));
+ m_popup->insertItem(i18n("&Insert Row"), this, TQ_SLOT(slotInsertRow()));
+ m_popup->insertItem(i18n("Insert Co&lumn"), this, TQ_SLOT(slotInsertCol()));
+ m_popup->insertItem(i18n("Remove Row"), this, TQ_SLOT(slotRemoveRow()));
+ m_popup->insertItem(i18n("Remove Column"), this, TQ_SLOT(slotRemoveCol()));
m_popup->insertSeparator();
- m_popup->insertItem(i18n("Edit &Table Properties"), this, TQT_SLOT(slotEditTable()));
- m_editChildId = m_popup->insertItem(i18n("Edit Child Table"), this, TQT_SLOT(slotEditChildTable()));
+ m_popup->insertItem(i18n("Edit &Table Properties"), this, TQ_SLOT(slotEditTable()));
+ m_editChildId = m_popup->insertItem(i18n("Edit Child Table"), this, TQ_SLOT(slotEditChildTable()));
buttonOk->setIconSet(SmallIconSet("button_ok"));
buttonCancel->setIconSet(SmallIconSet("button_cancel"));
@@ -90,27 +90,27 @@ TableEditor::TableEditor(TQWidget* parent, const char* name)
m_createNodes = true;
newNum += 7;
- connect(headerColSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotAddRemoveCol(int)));
- connect(headerRowSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotAddRemoveRow(int)));
- connect(rowSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotAddRemoveRow(int)));
- connect(colSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotAddRemoveCol(int)));
- connect(footerRowSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotAddRemoveRow(int)));
- connect(footerColSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotAddRemoveCol(int)));
- connect(tableData, TQT_SIGNAL(contextMenuRequested(int,int,const TQPoint&)),
- TQT_SLOT(slotContextMenuRequested(int,int,const TQPoint&)));
- connect(pushButton7, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditTable()));
- connect(pushButton7_2, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditTableBody()));
- connect(pushButton7_3, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditTableHeader()));
- connect(pushButton7_4, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditTableFooter()));
- connect(headerTableData, TQT_SIGNAL(contextMenuRequested(int,int,const TQPoint&)),
- TQT_SLOT(slotContextMenuRequested(int,int,const TQPoint&)));
- connect(footerTableData, TQT_SIGNAL(contextMenuRequested(int,int,const TQPoint&)),
- TQT_SLOT(slotContextMenuRequested(int,int,const TQPoint&)));
- connect(tabWidget, TQT_SIGNAL(currentChanged(TQWidget*)), TQT_SLOT(slotTabChanged(TQWidget*)));
- connect(buttonHelp, TQT_SIGNAL(clicked()), TQT_SLOT(slotHelpInvoked()));
- connect(tableData, TQT_SIGNAL(valueChanged(int,int)), TQT_SLOT(slotEditCellText(int,int)));
- connect(headerTableData, TQT_SIGNAL(valueChanged(int,int)), TQT_SLOT(slotEditCellText(int,int)));
- connect(footerTableData, TQT_SIGNAL(valueChanged(int,int)), TQT_SLOT(slotEditCellText(int,int)));
+ connect(headerColSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotAddRemoveCol(int)));
+ connect(headerRowSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotAddRemoveRow(int)));
+ connect(rowSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotAddRemoveRow(int)));
+ connect(colSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotAddRemoveCol(int)));
+ connect(footerRowSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotAddRemoveRow(int)));
+ connect(footerColSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotAddRemoveCol(int)));
+ connect(tableData, TQ_SIGNAL(contextMenuRequested(int,int,const TQPoint&)),
+ TQ_SLOT(slotContextMenuRequested(int,int,const TQPoint&)));
+ connect(pushButton7, TQ_SIGNAL(clicked()), TQ_SLOT(slotEditTable()));
+ connect(pushButton7_2, TQ_SIGNAL(clicked()), TQ_SLOT(slotEditTableBody()));
+ connect(pushButton7_3, TQ_SIGNAL(clicked()), TQ_SLOT(slotEditTableHeader()));
+ connect(pushButton7_4, TQ_SIGNAL(clicked()), TQ_SLOT(slotEditTableFooter()));
+ connect(headerTableData, TQ_SIGNAL(contextMenuRequested(int,int,const TQPoint&)),
+ TQ_SLOT(slotContextMenuRequested(int,int,const TQPoint&)));
+ connect(footerTableData, TQ_SIGNAL(contextMenuRequested(int,int,const TQPoint&)),
+ TQ_SLOT(slotContextMenuRequested(int,int,const TQPoint&)));
+ connect(tabWidget, TQ_SIGNAL(currentChanged(TQWidget*)), TQ_SLOT(slotTabChanged(TQWidget*)));
+ connect(buttonHelp, TQ_SIGNAL(clicked()), TQ_SLOT(slotHelpInvoked()));
+ connect(tableData, TQ_SIGNAL(valueChanged(int,int)), TQ_SLOT(slotEditCellText(int,int)));
+ connect(headerTableData, TQ_SIGNAL(valueChanged(int,int)), TQ_SLOT(slotEditCellText(int,int)));
+ connect(footerTableData, TQ_SIGNAL(valueChanged(int,int)), TQ_SLOT(slotEditCellText(int,int)));
}
TableEditor::~TableEditor()
diff --git a/quanta/components/tableeditor/tableeditor.h b/quanta/components/tableeditor/tableeditor.h
index 171cb9c1..445d1590 100644
--- a/quanta/components/tableeditor/tableeditor.h
+++ b/quanta/components/tableeditor/tableeditor.h
@@ -46,7 +46,7 @@ class Parser;
class TableEditor : public TableEditorS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/tableeditor/tableeditors.ui b/quanta/components/tableeditor/tableeditors.ui
index 29511351..24a05ed4 100644
--- a/quanta/components/tableeditor/tableeditors.ui
+++ b/quanta/components/tableeditor/tableeditors.ui
@@ -54,9 +54,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -639,4 +636,7 @@
<tabstop>footerTableData</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/components/tableeditor/tableitem.cpp b/quanta/components/tableeditor/tableitem.cpp
index f236ef76..ba10c9bb 100644
--- a/quanta/components/tableeditor/tableitem.cpp
+++ b/quanta/components/tableeditor/tableitem.cpp
@@ -48,13 +48,13 @@ TQWidget* TableItem::createEditor() const
Editor->setVScrollBarMode(TQScrollView::AlwaysOff);
Editor->setBold(m_header);
Editor->setText(text());
- TQObject::connect(Editor, TQT_SIGNAL(textChanged()), table(), TQT_SLOT(doValueChanged()));
+ TQObject::connect(Editor, TQ_SIGNAL(textChanged()), table(), TQ_SLOT(doValueChanged()));
return Editor;
}
void TableItem::setContentFromEditor(TQWidget *w)
{
- if (w->inherits( TQTEXTEDIT_OBJECT_NAME_STRING ))
+ if (w->inherits( "TQTextEdit" ))
setText(((TQTextEdit*)w)->text());
else
TQTableItem::setContentFromEditor(w);
diff --git a/quanta/data/config/CMakeLists.txt b/quanta/data/config/CMakeLists.txt
index fa091c93..2a839156 100644
--- a/quanta/data/config/CMakeLists.txt
+++ b/quanta/data/config/CMakeLists.txt
@@ -13,6 +13,8 @@ install( FILES
plugins.rc actions.rc quantaui.rc
DESTINATION ${DATA_INSTALL_DIR}/quanta )
-install( FILES
- quanta_preview_config.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE quanta_preview_config.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
diff --git a/quanta/data/config/quanta_preview_config.desktop b/quanta/data/config/quanta_preview_config.desktop
index 70125b00..6917f55e 100644
--- a/quanta/data/config/quanta_preview_config.desktop
+++ b/quanta/data/config/quanta_preview_config.desktop
@@ -1,44 +1,7 @@
[Desktop Entry]
+Name=Configure TDEHTML Browser Part
+
Type=Service
Exec=tdecmshell --caption %c %i tdehtml_behavior tdehtml_java_js tdehtml_fonts cookies cache proxy kcmcss crypto useragent tdehtml_plugins
Icon=konqueror
X-DocPath=konqueror/index.html
-Name=Configure TDEHTML Browser Part
-Name[ca]=Configura la part del fullejador TDEHTML
-Name[cs]=Nastavení TDEHTML Part
-Name[da]=Indstil TDEHTML browser-part
-Name[de]=Einrichten der TDEHTML-Browserkomponente
-Name[el]=Ρύθμιση του TDEHTML περιηγητή
-Name[es]=Configurara la parte del navegador TDEHTML
-Name[et]=TDEHTML brauseri komponendi seadistamine
-Name[eu]=Konfiguratu TDEHTML arakatzailearen partea
-Name[fa]=پیکربندی جزء مرورگر TDEHTML
-Name[fi]=TDEHTML selaimen komponentti
-Name[fr]=Configurer le composant de navigation TDEHTML
-Name[gl]=Configurar a parte do navegador TDEHTML
-Name[hu]=A TDEHTML böngészőobjektum beállításai
-Name[is]=Stilla TDEHTML vafrahluti
-Name[it]=Parte browser configura TDEHTML
-Name[ja]=TDEHTML ブラウザ部を設定
-Name[ka]=TDEHTML ბროუზერის ნაწილის კონფიგურაცია
-Name[lt]=Konfigūruoti TDEHTML naršyklės dalį
-Name[ms]=Selaraskan Bahagian Pelayar TDEHTML
-Name[nds]=TDEHTML-Browserkomponent inrichten
-Name[ne]=केडीई एचटीएमएल ब्राउजर भाग कन्फिगर गर्नुहोस्
-Name[nl]=TDEHTML Browser Part configuratie
-Name[pl]=Konfiguracja osadzalnej części przeglądarki TDEHTML
-Name[pt]=Configurar a Parte de Navegação HTML
-Name[pt_BR]=Configurar o Componente TDEHTML do Navegador
-Name[ru]=Настроить компонент просмтра TDEHTML
-Name[sk]=Nastaviť TDEHTML prehliadač Part
-Name[sl]=Nastavite del brskalnika TDEHTML
-Name[sr]=Део за подешавање TDEHTML прегледача
-Name[sr@Latn]=Deo za podešavanje TDEHTML pregledača
-Name[sv]=Anpassa delprogrammet för webbläsning TDEHTML
-Name[ta]=TDEHTML உலாவி பகுதி உள்ளமை
-Name[tg]=Танзими қисми браузери TDEHTML
-Name[tr]=TDEHTML Tarayıcısı Parçasını Yapılandır
-Name[uk]=Налаштувати компонент перегляду TDEHTML
-Name[zh_CN]=配置 TDEHTML 浏览器部件
-Name[zh_HK]=設定 TDEHTML 瀏覽器元件
-Name[zh_TW]=設定 TDEHTML 瀏覽器 Part
diff --git a/quanta/data/dtep/CMakeLists.txt b/quanta/data/dtep/CMakeLists.txt
index 235aa073..ae310636 100644
--- a/quanta/data/dtep/CMakeLists.txt
+++ b/quanta/data/dtep/CMakeLists.txt
@@ -10,6 +10,7 @@
#################################################
add_subdirectory( html )
+add_subdirectory( html5 )
add_subdirectory( html-frameset )
add_subdirectory( html-strict )
add_subdirectory( tagxml )
diff --git a/quanta/data/dtep/Makefile.am b/quanta/data/dtep/Makefile.am
index 8adf55fa..51ddb8e5 100644
--- a/quanta/data/dtep/Makefile.am
+++ b/quanta/data/dtep/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = html html-frameset html-strict tagxml php xhtml xhtml-basic xhtml-frameset xhtml-strict xhtml11 xslt wml-1-2 css docbook-4.2 schema cfml cffunct kde-docbook-4.1.2 kde-docbook-4.2 relaxng empty dtd
+SUBDIRS = html html5 html-frameset html-strict tagxml php xhtml xhtml-basic xhtml-frameset xhtml-strict xhtml11 xslt wml-1-2 css docbook-4.2 schema cfml cffunct kde-docbook-4.1.2 kde-docbook-4.2 relaxng empty dtd
install-data-local:
# rm -f `find ${quanta_datadir}/tags -type f -name "*"`
# rmdir `find ${quanta_datadir}/tags -type d -name "*"`
diff --git a/quanta/data/dtep/html-frameset/common.tag b/quanta/data/dtep/html-frameset/common.tag
index e5adf8f7..47adb16b 100644
--- a/quanta/data/dtep/html-frameset/common.tag
+++ b/quanta/data/dtep/html-frameset/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="style" type="css-style">
</attr>
diff --git a/quanta/data/dtep/html-strict/common.tag b/quanta/data/dtep/html-strict/common.tag
index e5adf8f7..47adb16b 100644
--- a/quanta/data/dtep/html-strict/common.tag
+++ b/quanta/data/dtep/html-strict/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="style" type="css-style">
</attr>
diff --git a/quanta/data/dtep/html/common.tag b/quanta/data/dtep/html/common.tag
index e5adf8f7..47adb16b 100644
--- a/quanta/data/dtep/html/common.tag
+++ b/quanta/data/dtep/html/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="style" type="css-style">
</attr>
diff --git a/quanta/data/dtep/html5/CMakeLists.txt b/quanta/data/dtep/html5/CMakeLists.txt
new file mode 100644
index 00000000..f5f1acb3
--- /dev/null
+++ b/quanta/data/dtep/html5/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ abbr.tag acronym.tag address.tag applet.tag area.tag article.tag
+ aside.tag a.tag audio.tag base.tag bdi.tag bdo.tag
+ big.tag blockquote.tag body.tag br.tag b.tag button.tag
+ caption.tag center.tag cite.tag code.tag colgroup.tag col.tag
+ common.tag data.tag dd.tag del.tag description.rc details.tag
+ dfn.tag dir.tag div.tag dl.tag dt.tag embed.tag
+ empty.tag em.tag fieldset.tag figcaption.tag figure.tag footer.tag
+ form.tag header.tag headings.tag head.tag hr.tag html.tag
+ img.tag input.tag ins.tag i.tag kbd.tag label.tag
+ legend.tag link.tag li.tag main.tag map.tag mark.tag
+ meta.tag nav.tag noscript.tag object.tag ol.tag optgroup.tag
+ option.tag param.tag picture.tag pre.tag p.tag q.tag
+ rbc.tag rb.tag rp.tag rtc.tag rt.tag ruby.tag
+ samp.tag script.tag section.tag select.tag small.tag source.tag
+ span.tag strong.tag style.tag sub.tag sup.tag svg.tag
+ table.tag tbody.tag td.tag textarea.tag tfoot.tag thead.tag
+ th.tag time.tag title.tag track.tag tr.tag tt.tag
+ ul.tag u.tag var.tag video.tag wbr.tag
+ DESTINATION ${DATA_INSTALL_DIR}/quanta/dtep/html5 )
diff --git a/quanta/data/dtep/html5/Makefile.am b/quanta/data/dtep/html5/Makefile.am
new file mode 100644
index 00000000..e2190890
--- /dev/null
+++ b/quanta/data/dtep/html5/Makefile.am
@@ -0,0 +1,20 @@
+quanta_DATA = abbr.tag acronym.tag address.tag applet.tag area.tag article.tag \
+ aside.tag a.tag audio.tag base.tag bdi.tag bdo.tag \
+ big.tag blockquote.tag body.tag br.tag b.tag button.tag \
+ caption.tag center.tag cite.tag code.tag colgroup.tag col.tag \
+ common.tag data.tag dd.tag del.tag description.rc details.tag \
+ dfn.tag dir.tag div.tag dl.tag dt.tag embed.tag \
+ empty.tag em.tag fieldset.tag figcaption.tag figure.tag footer.tag \
+ form.tag header.tag headings.tag head.tag hr.tag html.tag \
+ img.tag input.tag ins.tag i.tag kbd.tag label.tag \
+ legend.tag link.tag li.tag main.tag map.tag mark.tag \
+ meta.tag nav.tag noscript.tag object.tag ol.tag optgroup.tag \
+ option.tag param.tag picture.tag pre.tag p.tag q.tag \
+ rbc.tag rb.tag rp.tag rtc.tag rt.tag ruby.tag \
+ samp.tag script.tag section.tag select.tag small.tag source.tag \
+ span.tag strong.tag style.tag sub.tag sup.tag svg.tag \
+ table.tag tbody.tag td.tag textarea.tag tfoot.tag thead.tag \
+ th.tag time.tag title.tag track.tag tr.tag tt.tag \
+ ul.tag u.tag var.tag video.tag wbr.tag
+quantadir = ${quanta_datadir}/dtep/html5
+
diff --git a/quanta/data/dtep/html5/a.tag b/quanta/data/dtep/html5/a.tag
new file mode 100644
index 00000000..50a40f53
--- /dev/null
+++ b/quanta/data/dtep/html5/a.tag
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="a" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="href" type="input" source="selection">
+ <text>href</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="3"/>
+ </attr>
+
+ <attr name="rel" type="input">
+ <text>rel</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" />
+ </attr>
+
+ <attr name="rev" type="input">
+ <text>rev</text>
+ <textlocation col="2" row="2" />
+ <location col="3" row="2" />
+ </attr>
+
+ <attr name="type" type="list">
+ <text>type</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" />
+ <items>
+ <item>text/html</item>
+ <item>image/jpeg</item>
+ <item>image/gif</item>
+ <item>image/png</item>
+ <item>model/vrml</item>
+ <item>video/quicktime</item>
+ <item>application/java</item>
+ <item>application/mathml+xml</item>
+ <item>application/rss+xml</item>
+ <item>application/xhtml+xml</item>
+ <item>application/xml</item>
+ <item>text/css</item>
+ <item>text/javascript</item>
+ <item>text/xml</item>
+ </items>
+ </attr>
+
+ <attr name="onfocus" type="input">
+ <text>onfocus</text>
+ <textlocation col="0" row="8" />
+ <location col="1" row="8" colspan="3" />
+ </attr>
+
+ <attr name="onblur" type="input">
+ <text>onblur</text>
+ <textlocation col="0" row="9" />
+ <location col="1" row="9" colspan="3" />
+ </attr>
+
+ <attr name="hreflang" type="input" />
+ <attr name="charset" type="input" />
+ <attr name="accesskey" type="input" />
+ <attr name="tabindex" type="input" />
+ <attr name="shape" type="list">
+ <items>
+ <item>rect</item>
+ <item>circle</item>
+ <item>poly</item>
+ <item>default</item>
+ </items>
+ </attr>
+ <attr name="coords" type="input" />
+
+<children>
+<child name="#text" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/abbr.tag b/quanta/data/dtep/html5/abbr.tag
new file mode 100644
index 00000000..e2c74acd
--- /dev/null
+++ b/quanta/data/dtep/html5/abbr.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="abbr" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/acronym.tag b/quanta/data/dtep/html5/acronym.tag
new file mode 100644
index 00000000..407b5ecd
--- /dev/null
+++ b/quanta/data/dtep/html5/acronym.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="acronym" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/address.tag b/quanta/data/dtep/html5/address.tag
new file mode 100644
index 00000000..512364ce
--- /dev/null
+++ b/quanta/data/dtep/html5/address.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="address" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/applet.tag b/quanta/data/dtep/html5/applet.tag
new file mode 100644
index 00000000..df3c0c4f
--- /dev/null
+++ b/quanta/data/dtep/html5/applet.tag
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="applet" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="archive" type="input">
+ <text>archive</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="classid" type="input">
+ <text>classid</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="codebase" type="input">
+ <text>codebase</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="code" type="input">
+ <text>code</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="object" type="input">
+ <text>object</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="2" />
+ </attr>
+
+ <attr name="align" type="input">
+ <text>align</text>
+ <textlocation col="2" row="7" />
+ <location col="3" row="7" colspan="1" />
+ </attr>
+
+ <attr name="hspace" type="input">
+ <text>hspace</text>
+ <textlocation col="2" row="8" />
+ <location col="3" row="8" colspan="1" />
+ </attr>
+
+ <attr name="vspace" type="input">
+ <text>vspace</text>
+ <textlocation col="2" row="9" />
+ <location col="3" row="9" colspan="1" />
+ </attr>
+
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="di" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="param" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/area.tag b/quanta/data/dtep/html5/area.tag
new file mode 100644
index 00000000..dac881d1
--- /dev/null
+++ b/quanta/data/dtep/html5/area.tag
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="area" hasFocus="1" hasCore="1" hasI18n="1" hasScript="1" single="1">
+
+ <attr name="shape" type="list">
+ <text>shape</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2"/>
+ <items>
+ <item>rect</item>
+ <item>circle</item>
+ <item>poly</item>
+ <item>default</item>
+ </items>
+ </attr>
+
+ <attr name="coords" type="text">
+ <text>coords</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2"/>
+ </attr>
+
+ <attr name="href" type="url">
+ <text>href</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2"/>
+ </attr>
+
+ <attr name="accesskey" type="input">
+ <text>accesskey</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="1" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="2"/>
+ </attr>
+
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/article.tag b/quanta/data/dtep/html5/article.tag
new file mode 100644
index 00000000..1765735e
--- /dev/null
+++ b/quanta/data/dtep/html5/article.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="article" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/aside.tag b/quanta/data/dtep/html5/aside.tag
new file mode 100644
index 00000000..381fb796
--- /dev/null
+++ b/quanta/data/dtep/html5/aside.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="aside" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/audio.tag b/quanta/data/dtep/html5/audio.tag
new file mode 100644
index 00000000..69476078
--- /dev/null
+++ b/quanta/data/dtep/html5/audio.tag
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="audio" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="longdesc" type="url">
+ <text>longdesc</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="src" type="url">
+ <text>src</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="3" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>usemap</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="3" />
+ </attr>
+
+ <attr name="ismap" type="check">
+ <text>ismap</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="3" />
+ </attr>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/b.tag b/quanta/data/dtep/html5/b.tag
new file mode 100644
index 00000000..033d36b5
--- /dev/null
+++ b/quanta/data/dtep/html5/b.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="b" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/base.tag b/quanta/data/dtep/html5/base.tag
new file mode 100644
index 00000000..200f1c1d
--- /dev/null
+++ b/quanta/data/dtep/html5/base.tag
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="base" single="1">
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" > <text>Id</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="href" type="input">
+ <text>Href</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" />
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/bdi.tag b/quanta/data/dtep/html5/bdi.tag
new file mode 100644
index 00000000..c1f20363
--- /dev/null
+++ b/quanta/data/dtep/html5/bdi.tag
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="bdi" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="dir" type="list">
+ <text>dir</text>
+ <textlocation col="0" row="1" />
+ <tooltip>This is not widely supported</tooltip>
+ <location col="1" row="1" colspan="2" />
+ <items>
+ <item>ltr</item>
+ <item>rtl</item>
+ </items>
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/bdo.tag b/quanta/data/dtep/html5/bdo.tag
new file mode 100644
index 00000000..1c5ba5a6
--- /dev/null
+++ b/quanta/data/dtep/html5/bdo.tag
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="bdo" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="dir" type="list">
+ <text>dir</text>
+ <textlocation col="0" row="1" />
+ <tooltip>This is not widely supported</tooltip>
+ <location col="1" row="1" colspan="2" />
+ <items>
+ <item>ltr</item>
+ <item>rtl</item>
+ </items>
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/big.tag b/quanta/data/dtep/html5/big.tag
new file mode 100644
index 00000000..17b8b52c
--- /dev/null
+++ b/quanta/data/dtep/html5/big.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="big" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/blockquote.tag b/quanta/data/dtep/html5/blockquote.tag
new file mode 100644
index 00000000..25a9c4c3
--- /dev/null
+++ b/quanta/data/dtep/html5/blockquote.tag
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="blockquote" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="cite" type="input">
+ <text>cite</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+<children>
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="blockquote" />
+<child name="del" />
+<child name="di" />
+<child name="dl" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="ins" />
+<child name="noscript" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="script" />
+<child name="table" />
+<child name="ul" />
+<child name="dir" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/body.tag b/quanta/data/dtep/html5/body.tag
new file mode 100644
index 00000000..29c38226
--- /dev/null
+++ b/quanta/data/dtep/html5/body.tag
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="body" hasCore="1" hasI18n="1" hasScript="1">
+ <attr name="onload" type="input">
+ <text>onload</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="onunload" type="input">
+ <text>onunload</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+<children>
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="blockquote" />
+<child name="del" />
+<child name="div" />
+<child name="dl" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="ins" />
+<child name="noscript" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="script" />
+<child name="table" />
+<child name="ul" />
+<child name="dir" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/br.tag b/quanta/data/dtep/html5/br.tag
new file mode 100644
index 00000000..d4d2bb06
--- /dev/null
+++ b/quanta/data/dtep/html5/br.tag
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="br" hasCore="1" single="1" />
+</TAGS>
diff --git a/quanta/data/dtep/html5/button.tag b/quanta/data/dtep/html5/button.tag
new file mode 100644
index 00000000..039443b1
--- /dev/null
+++ b/quanta/data/dtep/html5/button.tag
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="button" hasFocus="1" hasCore="1" hasI18n="1" hasScript="1">
+
+<attr name="value" type="input" />
+
+<attr name="type" type="list">
+<items>
+<item>submit</item>
+<item>button</item>
+<item>reset</item>
+</items>
+</attr>
+
+<attr name="disabled" type="check" />
+
+<children>
+<child name="#text" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="ins" />
+<child name="kbd" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/caption.tag b/quanta/data/dtep/html5/caption.tag
new file mode 100644
index 00000000..10d69177
--- /dev/null
+++ b/quanta/data/dtep/html5/caption.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="caption" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/center.tag b/quanta/data/dtep/html5/center.tag
new file mode 100644
index 00000000..7ed9dcac
--- /dev/null
+++ b/quanta/data/dtep/html5/center.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="center" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/cite.tag b/quanta/data/dtep/html5/cite.tag
new file mode 100644
index 00000000..6dc55aef
--- /dev/null
+++ b/quanta/data/dtep/html5/cite.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="cite" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/code.tag b/quanta/data/dtep/html5/code.tag
new file mode 100644
index 00000000..df071b02
--- /dev/null
+++ b/quanta/data/dtep/html5/code.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="code" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/col.tag b/quanta/data/dtep/html5/col.tag
new file mode 100644
index 00000000..54f5b93c
--- /dev/null
+++ b/quanta/data/dtep/html5/col.tag
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="col" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="0" />
+ <tooltip>Use % for percent or it will set pixels
+You can add multiple values with commas</tooltip>
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="span" type="input">
+ <text>span</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" />
+ </attr>
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="2" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="2" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="0" row="3" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="1" row="3" colspan="1" />
+ </attr>
+
+ <attr name="char" type="input">
+ <text>char</text>
+ <textlocation col="0" row="4" />
+ <tooltip>alignment character for cells</tooltip>
+ <location col="1" row="4" />
+ </attr>
+
+ <attr name="charoff" type="input">
+ <text>charoff</text>
+ <textlocation col="0" row="5" />
+ <tooltip>alignment character offset</tooltip>
+ <location col="1" row="5" />
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/colgroup.tag b/quanta/data/dtep/html5/colgroup.tag
new file mode 100644
index 00000000..53ef59ee
--- /dev/null
+++ b/quanta/data/dtep/html5/colgroup.tag
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="colgroup" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="0" />
+ <tooltip>Use % for percent or it will set pixels
+You can add multiple values with commas</tooltip>
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="span" type="input">
+ <text>span</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" />
+ </attr>
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="2" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="2" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="0" row="3" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="1" row="3" colspan="1" />
+ </attr>
+
+ <attr name="char" type="input">
+ <text>char</text>
+ <textlocation col="0" row="4" />
+ <tooltip>alignment character for cells</tooltip>
+ <location col="1" row="4" />
+ </attr>
+
+ <attr name="charoff" type="input">
+ <text>charoff</text>
+ <textlocation col="0" row="5" />
+ <tooltip>alignment character offset</tooltip>
+ <location col="1" row="5" />
+ </attr>
+<children>
+<child name="col" usage="required" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/common.tag b/quanta/data/dtep/html5/common.tag
new file mode 100644
index 00000000..a380f05b
--- /dev/null
+++ b/quanta/data/dtep/html5/common.tag
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="Core" common="yes">
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
+ </attr>
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
+ </attr>
+ <attr name="style" type="css-style">
+ </attr>
+ <attr name="title" type="input">
+ </attr>
+</tag>
+
+<tag name="I18n" common="yes">
+ <attr name="xml:lang" type="input">
+ </attr>
+ <attr name="dir" type="input">
+ </attr>
+</tag>
+
+<tag name="Script" common="yes">
+ <attr name="onclick" type="input">
+ </attr>
+ <attr name="ondblclick" type="input">
+ </attr>
+ <attr name="onmousedown" type="input">
+ </attr>
+ <attr name="onmouseup" type="input">
+ </attr>
+ <attr name="onmouseover" type="input">
+ </attr>
+ <attr name="onmousemove" type="input">
+ </attr>
+ <attr name="onmouseout" type="input">
+ </attr>
+ <attr name="onkeypress" type="input">
+ </attr>
+ <attr name="onkeydown" type="input">
+ </attr>
+ <attr name="onkeyup" type="input">
+ </attr>
+</tag>
+
+<tag name="Focus" common="yes">
+ <attr name="accesskey" type="input">
+ </attr>
+ <attr name="tabindex" type="input">
+ </attr>
+ <attr name="onfocus" type="input">
+ </attr>
+ <attr name="onblur" type="input">
+ </attr>
+</tag>
+
+</TAGS> \ No newline at end of file
diff --git a/quanta/data/dtep/html5/data.tag b/quanta/data/dtep/html5/data.tag
new file mode 100644
index 00000000..098bf906
--- /dev/null
+++ b/quanta/data/dtep/html5/data.tag
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="del" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="value" type="input">
+ <text>value</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/dd.tag b/quanta/data/dtep/html5/dd.tag
new file mode 100644
index 00000000..0e377f4e
--- /dev/null
+++ b/quanta/data/dtep/html5/dd.tag
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="dd" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/del.tag b/quanta/data/dtep/html5/del.tag
new file mode 100644
index 00000000..b6515eb5
--- /dev/null
+++ b/quanta/data/dtep/html5/del.tag
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="del" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="cite" type="input">
+ <text>cite</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="datetime" type="input">
+ <text>datetime</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/description.rc b/quanta/data/dtep/html5/description.rc
new file mode 100644
index 00000000..02e1f8cd
--- /dev/null
+++ b/quanta/data/dtep/html5/description.rc
@@ -0,0 +1,58 @@
+[General]
+Name = HTML 5
+NickName = HTML 5
+URL = https://www.w3.org/TR/html5/syntax.html#the-doctype
+DoctypeString = html
+MimeTypes = text/html
+DefaultExtension = html
+Groups = Core, I18n, Script,Focus
+NumOfPages = 3
+CaseSensitive = true
+Documentation = HTML
+
+[Toolbars]
+Location = html5
+Names = base, style, meta, tools
+
+[Page1]
+Title = Core and i18n
+Groups = Core, I18n
+
+[Page2]
+Title = Events
+Groups = Script
+
+[Page3]
+Title = Focus
+Groups = Focus
+
+[Extra rules]
+BooleanAttributes = simple
+Single Tag Style = XML
+StructGroupsCount = 3
+
+[Parsing rules]
+SpecialTags = script(language)
+MayContain = php, css
+
+[StructGroup_1]
+Name = Images (anchor)
+No_Name = No Images (anchor)
+Icon = image
+Tag = img(src)
+HasFileName = true
+
+[StructGroup_2]
+Name = Links
+No_Name = No Links
+Icon = www
+Tag = a(name,href)
+HasFileName = true
+FileNameRx = .*\||#.*
+
+[StructGroup_3]
+Name = Resources (link)
+No_Name = No Links (link)
+Icon = www
+Tag = link(href)
+HasFileName = true
diff --git a/quanta/data/dtep/html5/details.tag b/quanta/data/dtep/html5/details.tag
new file mode 100644
index 00000000..13522d41
--- /dev/null
+++ b/quanta/data/dtep/html5/details.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="details" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/dfn.tag b/quanta/data/dtep/html5/dfn.tag
new file mode 100644
index 00000000..30f9107f
--- /dev/null
+++ b/quanta/data/dtep/html5/dfn.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="dfn" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/dir.tag b/quanta/data/dtep/html5/dir.tag
new file mode 100644
index 00000000..ac27af08
--- /dev/null
+++ b/quanta/data/dtep/html5/dir.tag
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="dir" hasCore="1" hasI18n="1" hasScript="1">
+
+<children>
+<child name="li" usage="required" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/div.tag b/quanta/data/dtep/html5/div.tag
new file mode 100644
index 00000000..24537952
--- /dev/null
+++ b/quanta/data/dtep/html5/div.tag
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="div" hasCore="1" hasI18n="1" hasScript="1" scope="paragraph">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/dl.tag b/quanta/data/dtep/html5/dl.tag
new file mode 100644
index 00000000..430067b8
--- /dev/null
+++ b/quanta/data/dtep/html5/dl.tag
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="dl" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="dt" />
+<child name="dd" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/dt.tag b/quanta/data/dtep/html5/dt.tag
new file mode 100644
index 00000000..59f005d5
--- /dev/null
+++ b/quanta/data/dtep/html5/dt.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="dt" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/em.tag b/quanta/data/dtep/html5/em.tag
new file mode 100644
index 00000000..7022b925
--- /dev/null
+++ b/quanta/data/dtep/html5/em.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="em" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/embed.tag b/quanta/data/dtep/html5/embed.tag
new file mode 100644
index 00000000..c8faddae
--- /dev/null
+++ b/quanta/data/dtep/html5/embed.tag
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="embed" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="longdesc" type="url">
+ <text>longdesc</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="src" type="url">
+ <text>src</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="3" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>usemap</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="3" />
+ </attr>
+
+ <attr name="ismap" type="check">
+ <text>ismap</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="3" />
+ </attr>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/empty.tag b/quanta/data/dtep/html5/empty.tag
new file mode 100644
index 00000000..06fe883c
--- /dev/null
+++ b/quanta/data/dtep/html5/empty.tag
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="">
+
+ <attr name="rows" type="input">
+ <text>Rows</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" />
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/fieldset.tag b/quanta/data/dtep/html5/fieldset.tag
new file mode 100644
index 00000000..3af076cd
--- /dev/null
+++ b/quanta/data/dtep/html5/fieldset.tag
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="fieldset" hasScript="1" hasCore="1">
+
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="attr" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="legend" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/figcaption.tag b/quanta/data/dtep/html5/figcaption.tag
new file mode 100644
index 00000000..187a181c
--- /dev/null
+++ b/quanta/data/dtep/html5/figcaption.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="figcaption" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/figure.tag b/quanta/data/dtep/html5/figure.tag
new file mode 100644
index 00000000..5b4a3428
--- /dev/null
+++ b/quanta/data/dtep/html5/figure.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="figure" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/footer.tag b/quanta/data/dtep/html5/footer.tag
new file mode 100644
index 00000000..628f7aca
--- /dev/null
+++ b/quanta/data/dtep/html5/footer.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="footer" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/form.tag b/quanta/data/dtep/html5/form.tag
new file mode 100644
index 00000000..af33b0e1
--- /dev/null
+++ b/quanta/data/dtep/html5/form.tag
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="form" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="action" type="url">
+ <text>action</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="3" />
+ </attr>
+
+ <attr name="method" type="list">
+ <text>method</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1"/>
+ <items>
+ <item>GET</item>
+ <item>POST</item>
+ </items>
+ </attr>
+
+ <attr name="enctype" type="list">
+ <text>enctype</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="3"/>
+ <items>
+ <item>application/x-www-form-urlencoded</item>
+ <item>multipart/form-data</item>
+ </items>
+ </attr>
+
+ <attr name="accept-charset" type="input">
+ <text>acceptcharset</text>
+ <textlocation col="2" row="3" />
+ <location col="3" row="3"/>
+ </attr>
+
+ <attr name="accept" type="list">
+ <text>accept</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="3"/>
+ <items>
+ <item>application/x-www-form-urlencoded</item>
+ <item>multipart/form-data</item>
+ </items>
+ </attr>
+
+ <attr name="onsubmit" type="input">
+ <text>onsubmit</text>
+ <textlocation col="2" row="5" />
+ <location col="3" row="5"/>
+ </attr>
+
+ <attr name="onreset" type="input">
+ <text>onreset</text>
+ <textlocation col="2" row="6" />
+ <location col="3" row="6"/>
+ </attr>
+
+<children>
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="blockquote" />
+<child name="del" />
+<child name="div" />
+<child name="dl" />
+<child name="fieldset" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="ins" />
+<child name="noscript" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="script" />
+<child name="table" />
+<child name="ul" />
+<child name="dir" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/head.tag b/quanta/data/dtep/html5/head.tag
new file mode 100644
index 00000000..b53932b3
--- /dev/null
+++ b/quanta/data/dtep/html5/head.tag
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="head" hasI18n="1">
+
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
+ <text>id</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="profile" type="url">
+ <text>profile</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+<children>
+<child name="base" />
+<child name="link" />
+<child name="meta" usage="required" />
+<child name="object" />
+<child name="title" usage="required" />
+<child name="script" />
+<child name="style" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/header.tag b/quanta/data/dtep/html5/header.tag
new file mode 100644
index 00000000..9ddd3550
--- /dev/null
+++ b/quanta/data/dtep/html5/header.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="header" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/headings.tag b/quanta/data/dtep/html5/headings.tag
new file mode 100644
index 00000000..3951989c
--- /dev/null
+++ b/quanta/data/dtep/html5/headings.tag
@@ -0,0 +1,311 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+
+<tag name="h1" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+
+<tag name="h2" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+
+<tag name="h3" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+
+<tag name="h4" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+
+<tag name="h5" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+
+<tag name="h6" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+
+</TAGS>
diff --git a/quanta/data/dtep/html5/hr.tag b/quanta/data/dtep/html5/hr.tag
new file mode 100644
index 00000000..2bc7e29c
--- /dev/null
+++ b/quanta/data/dtep/html5/hr.tag
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="hr" hasScript="1" single="1" hasCore="1" single="1" />
+</TAGS>
diff --git a/quanta/data/dtep/html5/html.tag b/quanta/data/dtep/html5/html.tag
new file mode 100644
index 00000000..22894f8d
--- /dev/null
+++ b/quanta/data/dtep/html5/html.tag
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="html" hasI18n="1">
+
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
+ <text>id</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="xmlns" type="list">
+ <text>xmlns</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ <items><item>http://www.w3.org/1999/xhtml</item></items>
+ </attr>
+
+<children>
+<child name="body" />
+<child name="head" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/i.tag b/quanta/data/dtep/html5/i.tag
new file mode 100644
index 00000000..2bf4dae2
--- /dev/null
+++ b/quanta/data/dtep/html5/i.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="i" hasCore="1" hasI18n="1" hasScript="1" scope="word">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/img.tag b/quanta/data/dtep/html5/img.tag
new file mode 100644
index 00000000..edeb3729
--- /dev/null
+++ b/quanta/data/dtep/html5/img.tag
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="img" hasCore="1" hasI18n="1" hasScript="1" single="1">
+
+ <attr name="longdesc" type="url">
+ <text>longdesc</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="src" type="url">
+ <text>src</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="3" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>usemap</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="3" />
+ </attr>
+
+ <attr name="ismap" type="check">
+ <text>ismap</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="3" />
+ </attr>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/input.tag b/quanta/data/dtep/html5/input.tag
new file mode 100644
index 00000000..d9e54de6
--- /dev/null
+++ b/quanta/data/dtep/html5/input.tag
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="input" hasFocus="1" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="type" type="list">
+ <text>type</text>
+ <textlocation col="0" row="0" colspan="1" />
+ <items>
+ <item>text</item>
+ <item>password</item>
+ <item>checkbox</item>
+ <item>radio</item>
+ <item>submit</item>
+ <item>reset</item>
+ <item>file</item>
+ <item>hidden</item>
+ <item>image</item>
+ <item>button</item>
+ </items>
+ <location col="1" row="0" colspan="1" />
+ </attr>
+
+ <attr name="disabled" type="check">
+ <text>disabled</text>
+ <location col="2" row="0" colspan="1" />
+ <tooltip>Disable the element</tooltip>
+ </attr>
+
+ <attr name="checked" type="check">
+ <text>checked</text>
+ <location col="3" row="0" colspan="1" />
+ <tooltip>For radio button or check box</tooltip>
+ </attr>
+
+ <attr name="value" type="input">
+ <text>value</text>
+ <textlocation col="2" row="1" colspan="1" />
+ <location col="3" row="1" colspan="1" />
+ </attr>
+
+ <attr name="size" type="input">
+ <text>size</text>
+ <textlocation col="0" row="2" colspan="1" />
+ <location col="1" row="2" colspan="1" />
+ <tooltip>No of characters for text input</tooltip>
+ </attr>
+
+ <attr name="maxlength" type="input">
+ <text>maxlength</text>
+ <textlocation col="2" row="2" colspan="1" />
+ <location col="3" row="2" colspan="1" />
+ <tooltip>Max characters allowed</tooltip>
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="3" colspan="1" />
+ <location col="1" row="3" colspan="3" />
+ <tooltip>Alternate text for image</tooltip>
+ </attr>
+
+ <attr name="src" type="url">
+ <text>src</text>
+ <textlocation col="0" row="4" colspan="1" />
+ <location col="1" row="4" colspan="3" />
+ <tooltip>URL for image to use</tooltip>
+ </attr>
+
+ <attr name="accept" type="list">
+ <text>accept</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="3"/>
+ <items>
+ <item>application/x-www-form-urlencoded</item>
+ <item>multipart/form-data</item>
+ </items>
+ </attr>
+
+ <attr name="readonly" type="check">
+ <text>readonly</text>
+ <location col="3" row="5" colspan="1" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>use</text>
+ <textlocation col="0" row="3" colspan="1" />
+ <location col="1" row="3" colspan="3" />
+ </attr>
+
+ <attr name="onselect" type="input">
+ <text>onselect</text>
+ <textlocation col="0" row="3" colspan="1" />
+ <location col="1" row="3" colspan="3" />
+ </attr>
+
+ <attr name="onchange" type="input">
+ <text>onchange</text>
+ <textlocation col="0" row="3" colspan="1" />
+ <location col="1" row="3" colspan="3" />
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/ins.tag b/quanta/data/dtep/html5/ins.tag
new file mode 100644
index 00000000..486d4169
--- /dev/null
+++ b/quanta/data/dtep/html5/ins.tag
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="ins" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="cite" type="url">
+ <text>cite</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="datetime" type="input">
+ <text>datetime</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/kbd.tag b/quanta/data/dtep/html5/kbd.tag
new file mode 100644
index 00000000..92075861
--- /dev/null
+++ b/quanta/data/dtep/html5/kbd.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="kbd" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/label.tag b/quanta/data/dtep/html5/label.tag
new file mode 100644
index 00000000..7e7f0bf1
--- /dev/null
+++ b/quanta/data/dtep/html5/label.tag
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="label" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="accesskey" type="input">
+ <text>accesskey</text>
+ <textlocation col="2" row="0" colspan="1" />
+ <location col="3" row="0" colspan="1" />
+ <tooltip>Shortcut</tooltip>
+ </attr>
+
+ <attr name="for" type="input">
+ <text>for</text>
+ <textlocation col="2" row="1" colspan="1" />
+ <location col="3" row="1" colspan="1" />
+ </attr>
+ <attr name="onfocus" type="input">
+ <text>onfocus</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" />
+ </attr>
+
+ <attr name="onblur" type="input">
+ <text>onblur</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" />
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/legend.tag b/quanta/data/dtep/html5/legend.tag
new file mode 100644
index 00000000..aaa7ab25
--- /dev/null
+++ b/quanta/data/dtep/html5/legend.tag
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="legend" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="accesskey" type="input">
+ <text>accesskey</text>
+ <textlocation col="2" row="0" colspan="1" />
+ <location col="3" row="0" colspan="1" />
+ <tooltip>Shortcut</tooltip>
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/li.tag b/quanta/data/dtep/html5/li.tag
new file mode 100644
index 00000000..3b8149aa
--- /dev/null
+++ b/quanta/data/dtep/html5/li.tag
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="li" hasCore="1" hasI18n="1" hasScript="1">
+
+ <stoppingtags>
+ <stoppingtag name="li" />
+ </stoppingtags>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/link.tag b/quanta/data/dtep/html5/link.tag
new file mode 100644
index 00000000..367ee800
--- /dev/null
+++ b/quanta/data/dtep/html5/link.tag
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="link" hasCore="1" hasI18n="1" hasScript="1" single="1">
+ <attr name="rel" type="input">
+ <text>rel</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="rev" type="input">
+ <text>rev</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="href" type="url">
+ <text>href</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="type" type="list">
+ <text>type</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ <items>
+ <item>text/html</item>
+ <item>image/jpeg</item>
+ <item>image/gif</item>
+ <item>image/png</item>
+ <item>model/vrml</item>
+ <item>video/quicktime</item>
+ <item>application/java</item>
+ <item>text/css</item>
+ <item>text/javascript</item>
+ </items>
+ </attr>
+
+ <attr name="media" type="list">
+ <text>media</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="2" />
+ <items>
+ <item>screen</item>
+ <item>tty</item>
+ <item>tv</item>
+ <item>projection</item>
+ <item>handheld</item>
+ <item>print</item>
+ <item>braille</item>
+ <item>aural</item>
+ <item>all</item>
+ </items>
+ </attr>
+
+ <attr name="hreflang" type="input">
+ <text>hreflang</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="2" />
+ </attr>
+
+ <attr name="charset" type="input">
+ <text>charset</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="2" />
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/main.tag b/quanta/data/dtep/html5/main.tag
new file mode 100644
index 00000000..f5105db0
--- /dev/null
+++ b/quanta/data/dtep/html5/main.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="main" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/map.tag b/quanta/data/dtep/html5/map.tag
new file mode 100644
index 00000000..e13496b4
--- /dev/null
+++ b/quanta/data/dtep/html5/map.tag
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="map" hasCore="1" hasI18n="1" hasScript="1">
+
+<children>
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="area" />
+<child name="blockquote" />
+<child name="del" />
+<child name="div" />
+<child name="dl" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="ins" />
+<child name="noscript" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="script" />
+<child name="table" />
+<child name="ul" />
+<child name="dir" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/mark.tag b/quanta/data/dtep/html5/mark.tag
new file mode 100644
index 00000000..50e592eb
--- /dev/null
+++ b/quanta/data/dtep/html5/mark.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="mark" hasCore="1" hasI18n="1" hasScript="1" scope="word">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/meta.tag b/quanta/data/dtep/html5/meta.tag
new file mode 100644
index 00000000..794eb693
--- /dev/null
+++ b/quanta/data/dtep/html5/meta.tag
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="meta" hasI18n="1" single="1">
+
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
+ <text>id</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="http-equiv" type="input">
+ <text>http-equiv</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="content" type="input">
+ <text>content</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="scheme" type="input">
+ <text>scheme</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/nav.tag b/quanta/data/dtep/html5/nav.tag
new file mode 100644
index 00000000..151e0bf8
--- /dev/null
+++ b/quanta/data/dtep/html5/nav.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="nav" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/noscript.tag b/quanta/data/dtep/html5/noscript.tag
new file mode 100644
index 00000000..32533805
--- /dev/null
+++ b/quanta/data/dtep/html5/noscript.tag
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="noscript" hasCore="1" hasI18n="1" hasScript="1">
+
+<children>
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="blockquote" />
+<child name="del" />
+<child name="di" />
+<child name="dl" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="ins" />
+<child name="noscript" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="script" />
+<child name="table" />
+<child name="ul" />
+<child name="dir" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/object.tag b/quanta/data/dtep/html5/object.tag
new file mode 100644
index 00000000..2550a7d3
--- /dev/null
+++ b/quanta/data/dtep/html5/object.tag
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="object" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="archive" type="input">
+ <text>archive</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="classid" type="input">
+ <text>classid</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="codebase" type="input">
+ <text>codebase</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="codetype" type="list">
+ <text>codetype</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ <items>
+ <item>image/jpeg</item>
+ <item>image/gif</item>
+ <item>image/png</item>
+ <item>model/vrml</item>
+ <item>video/quicktime</item>
+ <item>application/java</item>
+ <item>audio/basic</item>
+ <item>text/html</item>
+ <item>text/css</item>
+ </items>
+ </attr>
+
+ <attr name="type" type="list">
+ <text>type</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="2" />
+ <items>
+ <item>image/jpeg</item>
+ <item>image/gif</item>
+ <item>image/png</item>
+ <item>model/vrml</item>
+ <item>video/quicktime</item>
+ <item>application/java</item>
+ <item>audio/basic</item>
+ <item>text/html</item>
+ <item>text/css</item>
+ </items>
+ </attr>
+
+ <attr name="data" type="url">
+ <text>data</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="7" />
+ <location col="1" row="7" colspan="2" />
+ </attr>
+
+ <attr name="tabindex" type="input">
+ <text>tabindex</text>
+ <textlocation col="0" row="8" />
+ <location col="1" row="8" colspan="1" />
+ </attr>
+
+ <attr name="standby" type="input">
+ <text>standby</text>
+ <textlocation col="2" row="9" />
+ <location col="3" row="9" colspan="1" />
+ </attr>
+
+ <attr name="declare" type="check">
+ <text>declare</text>
+ <textlocation col="2" row="10" />
+ <location col="3" row="10" colspan="1" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>usemap</text>
+ <textlocation col="2" row="11" />
+ <location col="3" row="11" colspan="1" />
+ </attr>
+
+ <attr name="align" type="input">
+ <text>align</text>
+ <textlocation col="2" row="12" />
+ <location col="3" row="12" colspan="1" />
+ </attr>
+
+ <attr name="border" type="input">
+ <text>border</text>
+ <textlocation col="2" row="13" />
+ <location col="3" row="13" colspan="1" />
+ </attr>
+
+ <attr name="hspace" type="input">
+ <text>hspace</text>
+ <textlocation col="2" row="14" />
+ <location col="3" row="14" colspan="1" />
+ </attr>
+
+ <attr name="vspace" type="input">
+ <text>vspace</text>
+ <textlocation col="2" row="15" />
+ <location col="3" row="15" colspan="1" />
+ </attr>
+
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="di" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="param" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/ol.tag b/quanta/data/dtep/html5/ol.tag
new file mode 100644
index 00000000..afd6bcc2
--- /dev/null
+++ b/quanta/data/dtep/html5/ol.tag
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="ol" hasCore="1" hasI18n="1" hasScript="1">
+
+<children>
+<child name="li" usage="required" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/optgroup.tag b/quanta/data/dtep/html5/optgroup.tag
new file mode 100644
index 00000000..82452057
--- /dev/null
+++ b/quanta/data/dtep/html5/optgroup.tag
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="optgroup" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="disabled" type="check">
+ <text>disabled</text>
+ <location col="2" row="0" colspan="1" />
+ <tooltip>Disable the element</tooltip>
+ </attr>
+
+ <attr name="label" type="input">
+ <text>label</text>
+ <textlocation col="0" row="1" colspan="1" />
+ <location col="1" row="1" colspan="1" />
+ </attr>
+
+<children>
+<child name="option" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/option.tag b/quanta/data/dtep/html5/option.tag
new file mode 100644
index 00000000..ea08093f
--- /dev/null
+++ b/quanta/data/dtep/html5/option.tag
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="option" hasFocus="1" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="value" type="input">
+ <text>value</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="selected" type="list">
+ <text>Selected</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" />
+ <items>
+ <item>selected</item>
+ </items>
+ </attr>
+
+ <attr name="disabled" type="list">
+ <text>Disabled</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" />
+ <items>
+ <item>disabled</item>
+ </items>
+ </attr>
+
+ <attr name="label" type="input">
+ <text>label</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" />
+ </attr>
+
+ <stoppingtags>
+ <stoppingtag name="option" />
+ </stoppingtags>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/p.tag b/quanta/data/dtep/html5/p.tag
new file mode 100644
index 00000000..21bcfe71
--- /dev/null
+++ b/quanta/data/dtep/html5/p.tag
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="p" hasCore="1" hasI18n="1" hasScript="1">
+
+ <stoppingtags>
+ <stoppingtag name="p" />
+ <stoppingtag name="li" />
+ <stoppingtag name="td" />
+ <stoppingtag name="tr" />
+ <stoppingtag name="th" />
+ <stoppingtag name="dt" />
+ <stoppingtag name="dd" />
+ </stoppingtags>
+
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/param.tag b/quanta/data/dtep/html5/param.tag
new file mode 100644
index 00000000..4211b9c2
--- /dev/null
+++ b/quanta/data/dtep/html5/param.tag
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="param" single="1">
+
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
+ <text>id</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="type" type="list">
+ <text>type</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ <items>
+ <item>image/jpeg</item>
+ <item>image/gif</item>
+ <item>image/png</item>
+ <item>model/vrml</item>
+ <item>video/quicktime</item>
+ <item>application/java</item>
+ <item>audio/basic</item>
+ <item>text/html</item>
+ <item>text/css</item>
+ </items>
+ </attr>
+
+ <attr name="value" type="input">
+ <text>value</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="1" />
+ </attr>
+
+ <attr name="valuetype" type="list">
+ <text>valuetype</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ <items>
+ <item>data</item>
+ <item>ref</item>
+ <item>object</item>
+ </items>
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/picture.tag b/quanta/data/dtep/html5/picture.tag
new file mode 100644
index 00000000..86591f24
--- /dev/null
+++ b/quanta/data/dtep/html5/picture.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="picture" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/pre.tag b/quanta/data/dtep/html5/pre.tag
new file mode 100644
index 00000000..89855428
--- /dev/null
+++ b/quanta/data/dtep/html5/pre.tag
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="pre" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="xml:space" type="list">
+ <text>xml:space</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ <items>
+ <item>preserve</item>
+ </items>
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="span" />
+<child name="strong" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/q.tag b/quanta/data/dtep/html5/q.tag
new file mode 100644
index 00000000..99f030a1
--- /dev/null
+++ b/quanta/data/dtep/html5/q.tag
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="q" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="cite" type="input">
+ <text>cite</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/rb.tag b/quanta/data/dtep/html5/rb.tag
new file mode 100644
index 00000000..6c465cd9
--- /dev/null
+++ b/quanta/data/dtep/html5/rb.tag
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="rb" hasCore="1" hasI18n="1" hasScript="1">
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/rbc.tag b/quanta/data/dtep/html5/rbc.tag
new file mode 100644
index 00000000..fbd5b7ec
--- /dev/null
+++ b/quanta/data/dtep/html5/rbc.tag
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="rbc" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="rb" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/rp.tag b/quanta/data/dtep/html5/rp.tag
new file mode 100644
index 00000000..36df8a3a
--- /dev/null
+++ b/quanta/data/dtep/html5/rp.tag
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="rp" hasCore="1" hasI18n="1" hasScript="1">
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/rt.tag b/quanta/data/dtep/html5/rt.tag
new file mode 100644
index 00000000..da0098ed
--- /dev/null
+++ b/quanta/data/dtep/html5/rt.tag
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="rt" hasCore="1" hasI18n="1" hasScript="1">
+
+<attr name="rbspan" type="input" />
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/rtc.tag b/quanta/data/dtep/html5/rtc.tag
new file mode 100644
index 00000000..97c21176
--- /dev/null
+++ b/quanta/data/dtep/html5/rtc.tag
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="rtc" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="rt" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/ruby.tag b/quanta/data/dtep/html5/ruby.tag
new file mode 100644
index 00000000..d133114f
--- /dev/null
+++ b/quanta/data/dtep/html5/ruby.tag
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="ruby" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="rb" />
+<child name="rt" />
+<child name="rp" />
+<child name="rtc" />
+<child name="rbc" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/samp.tag b/quanta/data/dtep/html5/samp.tag
new file mode 100644
index 00000000..6e5b3662
--- /dev/null
+++ b/quanta/data/dtep/html5/samp.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="samp" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/script.tag b/quanta/data/dtep/html5/script.tag
new file mode 100644
index 00000000..2dccc895
--- /dev/null
+++ b/quanta/data/dtep/html5/script.tag
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="script">
+
+ <attr name="type" type="list">
+ <text>Type</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ <items>
+ <item>text/html</item>
+ <item>text/css</item>
+ <item>text/php</item>
+ <item>text/javascript</item>
+ <item>application/x-javascript</item>
+ </items>
+ </attr>
+
+ <attr name="src" type="url">
+ <text>Source</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="charset" type="input">
+ <text>Charset</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="defer" type="check">
+ <text>Defer (script execution may wait)</text>
+ <location col="0" row="3" colspan="2" />
+ </attr>
+
+ <attr name="xml:space" type="list">
+ <text>xml:space</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="2" />
+ <items>
+ <item>preserve</item>
+ </items>
+ </attr>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/section.tag b/quanta/data/dtep/html5/section.tag
new file mode 100644
index 00000000..1d13fcc6
--- /dev/null
+++ b/quanta/data/dtep/html5/section.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="section" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/select.tag b/quanta/data/dtep/html5/select.tag
new file mode 100644
index 00000000..c3143fc2
--- /dev/null
+++ b/quanta/data/dtep/html5/select.tag
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="select" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="multiple" type="check">
+ <text>multiple</text>
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="disabled" type="check">
+ <text>disabled</text>
+ <location col="1" row="1" />
+ </attr>
+
+ <attr name="tabindex" type="input">
+ <text>tabindex</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" />
+ </attr>
+
+ <attr name="size" type="input">
+ <text>size</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" />
+ </attr>
+
+ <attr name="onfocus" type="input">
+ <text>onfocus</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" />
+ </attr>
+
+ <attr name="onblur" type="input">
+ <text>onblur</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" />
+ </attr>
+
+ <attr name="onchange" type="input">
+ <text>onchange</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" />
+ </attr>
+
+ <stoppingtags>
+ <stoppingtag name="select" />
+ </stoppingtags>
+
+<children>
+<child name="optgroup" />
+<child name="option" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/small.tag b/quanta/data/dtep/html5/small.tag
new file mode 100644
index 00000000..92871b73
--- /dev/null
+++ b/quanta/data/dtep/html5/small.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="small" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/source.tag b/quanta/data/dtep/html5/source.tag
new file mode 100644
index 00000000..306db28b
--- /dev/null
+++ b/quanta/data/dtep/html5/source.tag
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="source" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="longdesc" type="url">
+ <text>longdesc</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="src" type="url">
+ <text>src</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="3" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>usemap</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="3" />
+ </attr>
+
+ <attr name="ismap" type="check">
+ <text>ismap</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="3" />
+ </attr>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/span.tag b/quanta/data/dtep/html5/span.tag
new file mode 100644
index 00000000..73b4e932
--- /dev/null
+++ b/quanta/data/dtep/html5/span.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="span" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/strong.tag b/quanta/data/dtep/html5/strong.tag
new file mode 100644
index 00000000..33ecd419
--- /dev/null
+++ b/quanta/data/dtep/html5/strong.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="strong" hasCore="1" hasI18n="1" hasScript="1" scope="word">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/style.tag b/quanta/data/dtep/html5/style.tag
new file mode 100644
index 00000000..d3c16a0e
--- /dev/null
+++ b/quanta/data/dtep/html5/style.tag
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="style" hasI18n="1">
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
+ <text>id</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+ <attr name="type" type="list">
+ <text>type</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ <items>
+ <item>text/css</item>
+ </items>
+ </attr>
+
+ <attr name="media" type="list">
+ <text>media</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ <items>
+ <item>screen</item>
+ <item>tty</item>
+ <item>tv</item>
+ <item>projection</item>
+ <item>handheld</item>
+ <item>print</item>
+ <item>braille</item>
+ <item>aural</item>
+ <item>all</item>
+ </items>
+ </attr>
+
+ <attr name="title" type="input">
+ <text>title</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="xml:space" type="list">
+ <text>xml:space</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="2" />
+ <items>
+ <item>preserve</item>
+ </items>
+ </attr>
+
+ <attr name="defer" type="check">
+ <text>defer</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="2" />
+ </attr>
+ <children>
+ <child name="#text" />
+ </children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/sub.tag b/quanta/data/dtep/html5/sub.tag
new file mode 100644
index 00000000..33e41e0c
--- /dev/null
+++ b/quanta/data/dtep/html5/sub.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="sub" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/sup.tag b/quanta/data/dtep/html5/sup.tag
new file mode 100644
index 00000000..441688dd
--- /dev/null
+++ b/quanta/data/dtep/html5/sup.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="sup" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/svg.tag b/quanta/data/dtep/html5/svg.tag
new file mode 100644
index 00000000..b08e5913
--- /dev/null
+++ b/quanta/data/dtep/html5/svg.tag
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="svg" hasFocus="1" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="shape" type="list">
+ <text>shape</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2"/>
+ <items>
+ <item>rect</item>
+ <item>circle</item>
+ <item>poly</item>
+ <item>default</item>
+ </items>
+ </attr>
+
+ <attr name="coords" type="text">
+ <text>coords</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2"/>
+ </attr>
+
+ <attr name="href" type="url">
+ <text>href</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2"/>
+ </attr>
+
+ <attr name="accesskey" type="input">
+ <text>accesskey</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="1" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="2"/>
+ </attr>
+
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/table.tag b/quanta/data/dtep/html5/table.tag
new file mode 100644
index 00000000..97d9b2be
--- /dev/null
+++ b/quanta/data/dtep/html5/table.tag
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="table" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="0" />
+ <tooltip>Use % for percent or it will set pixels</tooltip>
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="cellspacing" type="input">
+ <text>cellspacing</text>
+ <textlocation col="2" row="0" />
+ <location col="3" row="0" />
+ </attr>
+
+ <attr name="border" type="input">
+ <text>border</text>
+ <textlocation col="0" row="1" />
+ <tooltip>Set in pixels</tooltip>
+ <location col="1" row="1" />
+ </attr>
+
+ <attr name="cellpadding" type="input">
+ <text>cellpadding</text>
+ <textlocation col="2" row="1" />
+ <location col="3" row="1" />
+ </attr>
+
+ <attr name="frame" type="list">
+ <text>frame</text>
+ <textlocation col="0" row="2" />
+ <items>
+ <item>above</item>
+ <item>below</item>
+ <item>border</item>
+ <item>box</item>
+ <item>hsides</item>
+ <item>lhs</item>
+ <item>rhs</item>
+ <item>void</item>
+ <item>vsides</item>
+ </items>
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="rules" type="list">
+ <text>rules</text>
+ <textlocation col="0" row="3" />
+ <items>
+ <item>none</item>
+ <item>groups</item>
+ <item>rows</item>
+ <item>cols</item>
+ <item>all</item>
+ </items>
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="summary" type="input">
+ <text>summary</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="2"/>
+ </attr>
+
+<children>
+<child name="caption" />
+<child name="col" />
+<child name="colgroup" />
+<child name="thead" />
+<child name="tfoot" />
+<child name="tbody" />
+<child name="tr" usage="required" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/tbody.tag b/quanta/data/dtep/html5/tbody.tag
new file mode 100644
index 00000000..a59a4a5b
--- /dev/null
+++ b/quanta/data/dtep/html5/tbody.tag
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="tbody" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="0" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="0" colspan="1" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="0" row="1" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="1" row="1" colspan="1" />
+ </attr>
+
+ <attr name="char" type="input" />
+ <attr name="charoff" type="input" />
+
+<children>
+<child name="tr" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/td.tag b/quanta/data/dtep/html5/td.tag
new file mode 100644
index 00000000..67a3efd6
--- /dev/null
+++ b/quanta/data/dtep/html5/td.tag
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="td" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="0" />
+ <tooltip>use % for percent or it will set pixels</tooltip>
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="colspan" type="input">
+ <text>colspan</text>
+ <textlocation col="2" row="0" />
+ <location col="3" row="0" />
+ </attr>
+
+ <attr name="rowspan" type="input">
+ <text>rowspan</text>
+ <textlocation col="2" row="1" />
+ <location col="3" row="1" />
+ </attr>
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="2" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="2" colspan="1" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="2" row="2" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="3" row="2" colspan="1" />
+ </attr>
+
+ <attr name="headers" type="input" />
+
+ <attr name="abbr" type="input" />
+
+ <attr name="scope" type="list">
+ <items>
+ <item>row</item>
+ <item>col</item>
+ <item>rowgroup</item>
+ <item>colgroup</item>
+ </items>
+ </attr>
+
+ <attr name="axis" type="input" />
+
+ <attr name="char" type="input" />
+
+ <attr name="charoff" type="input" />
+
+ <stoppingtags>
+ <stoppingtag name="td" />
+ <stoppingtag name="tr" />
+ <stoppingtag name="th" />
+ </stoppingtags>
+
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/textarea.tag b/quanta/data/dtep/html5/textarea.tag
new file mode 100644
index 00000000..5ede1af6
--- /dev/null
+++ b/quanta/data/dtep/html5/textarea.tag
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="textarea" hasFocus="1" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="cols" type="input">
+ <text>cols</text>
+ <textlocation col="0" row="0" colspan="1" />
+ <location col="1" row="0" colspan="1" />
+ </attr>
+
+ <attr name="rows" type="input">
+ <text>rows</text>
+ <textlocation col="2" row="1" colspan="1" />
+ <location col="3" row="1" colspan="1" />
+ </attr>
+
+ <attr name="disabled" type="check">
+ <text>disabled</text>
+ <location col="0" row="2" colspan="2" />
+ </attr>
+
+ <attr name="readonly" type="check">
+ <text>readonly</text>
+ <location col="0" row="3" colspan="2" />
+ </attr>
+
+ <attr name="onselect" type="input">
+ <text>onselect</text>
+ <textlocation col="2" row="4" colspan="1" />
+ <location col="3" row="4" colspan="1" />
+ </attr>
+
+ <attr name="onchange" type="input">
+ <text>onchange</text>
+ <textlocation col="2" row="5" colspan="1" />
+ <location col="3" row="5" colspan="1" />
+ </attr>
+ <children>
+ <child name="#text" />
+ </children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/tfoot.tag b/quanta/data/dtep/html5/tfoot.tag
new file mode 100644
index 00000000..7ddd2033
--- /dev/null
+++ b/quanta/data/dtep/html5/tfoot.tag
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="tfoot" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="0" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="0" colspan="1" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="0" row="1" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="1" row="1" colspan="1" />
+ </attr>
+
+ <attr name="char" type="input" />
+ <attr name="charoff" type="input" />
+
+<children>
+<child name="tr" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/th.tag b/quanta/data/dtep/html5/th.tag
new file mode 100644
index 00000000..a0e8acac
--- /dev/null
+++ b/quanta/data/dtep/html5/th.tag
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="th" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="0" />
+ <tooltip>use % for percent or it will set pixels</tooltip>
+ <location col="1" row="0" />
+ </attr>
+
+ <attr name="colspan" type="input">
+ <text>colspan</text>
+ <textlocation col="2" row="0" />
+ <location col="3" row="0" />
+ </attr>
+
+ <attr name="rowspan" type="input">
+ <text>rowspan</text>
+ <textlocation col="2" row="1" />
+ <location col="3" row="1" />
+ </attr>
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="2" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="2" colspan="1" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="2" row="2" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="3" row="2" colspan="1" />
+ </attr>
+
+ <attr name="headers" type="input" />
+
+ <attr name="abbr" type="input" />
+
+ <attr name="scope" type="list">
+ <items>
+ <item>row</item>
+ <item>col</item>
+ <item>rowgroup</item>
+ <item>colgroup</item>
+ </items>
+ </attr>
+
+ <attr name="axis" type="input" />
+
+ <attr name="char" type="input" />
+
+ <attr name="charoff" type="input" />
+
+ <stoppingtags>
+ <stoppingtag name="td" />
+ <stoppingtag name="tr" />
+ <stoppingtag name="th" />
+ </stoppingtags>
+
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/thead.tag b/quanta/data/dtep/html5/thead.tag
new file mode 100644
index 00000000..b77c577a
--- /dev/null
+++ b/quanta/data/dtep/html5/thead.tag
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="thead" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="0" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="0" colspan="1" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="0" row="1" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="1" row="1" colspan="1" />
+ </attr>
+
+ <attr name="char" type="input" />
+ <attr name="charoff" type="input" />
+
+<children>
+<child name="tr" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/time.tag b/quanta/data/dtep/html5/time.tag
new file mode 100644
index 00000000..aa214373
--- /dev/null
+++ b/quanta/data/dtep/html5/time.tag
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="del" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="datetime" type="input">
+ <text>datetime</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="address" />
+<child name="article" />
+<child name="aside" />
+<child name="center" />
+<child name="details" />
+<child name="figcaption" />
+<child name="figure" />
+<child name="footer" />
+<child name="header" />
+<child name="main" />
+<child name="nav" />
+<child name="picture" />
+<child name="section" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="blockquote" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="div" />
+<child name="dl" />
+<child name="em" />
+<child name="fieldset" />
+<child name="form" />
+<child name="h1" />
+<child name="h2" />
+<child name="h3" />
+<child name="h4" />
+<child name="h5" />
+<child name="h6" />
+<child name="hr" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="noscript" />
+<child name="object" />
+<child name="ol" />
+<child name="p" />
+<child name="pre" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="table" />
+<child name="textarea" />
+<child name="tt" />
+<child name="ul" />
+<child name="dir" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/title.tag b/quanta/data/dtep/html5/title.tag
new file mode 100644
index 00000000..4c9f61b7
--- /dev/null
+++ b/quanta/data/dtep/html5/title.tag
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="title" hasI18n="1">
+ <attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
+ <text>id</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+</attr>
+<children>
+ <child name="#text" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/tr.tag b/quanta/data/dtep/html5/tr.tag
new file mode 100644
index 00000000..990b7415
--- /dev/null
+++ b/quanta/data/dtep/html5/tr.tag
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="tr" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="align" type="list">
+ <text>align</text>
+ <textlocation col="0" row="0" />
+ <items>
+ <item>left</item>
+ <item>center</item>
+ <item>right</item>
+ <item>justify</item>
+ <item>char</item>
+ </items>
+ <location col="1" row="0" colspan="1" />
+ </attr>
+
+ <attr name="valign" type="list">
+ <text>valign</text>
+ <textlocation col="0" row="1" />
+ <items>
+ <item>baseline</item>
+ <item>bottom</item>
+ <item>middle</item>
+ <item>top</item>
+ </items>
+ <location col="1" row="1" colspan="1" />
+ </attr>
+
+ <attr name="char" type="input" />
+ <attr name="charoff" type="input" />
+
+ <stoppingtags>
+ <stoppingtag name="tr" />
+ <stoppingtag name="tfoot" />
+ </stoppingtags>
+
+<children>
+<child name="th" />
+<child name="td" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/track.tag b/quanta/data/dtep/html5/track.tag
new file mode 100644
index 00000000..6cd3561a
--- /dev/null
+++ b/quanta/data/dtep/html5/track.tag
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="track" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="longdesc" type="url">
+ <text>longdesc</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="src" type="url">
+ <text>src</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="3" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>usemap</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="3" />
+ </attr>
+
+ <attr name="ismap" type="check">
+ <text>ismap</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="3" />
+ </attr>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/tt.tag b/quanta/data/dtep/html5/tt.tag
new file mode 100644
index 00000000..78bba25d
--- /dev/null
+++ b/quanta/data/dtep/html5/tt.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="tt" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/u.tag b/quanta/data/dtep/html5/u.tag
new file mode 100644
index 00000000..56f60724
--- /dev/null
+++ b/quanta/data/dtep/html5/u.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="u" hasCore="1" hasI18n="1" hasScript="1" scope="word">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/ul.tag b/quanta/data/dtep/html5/ul.tag
new file mode 100644
index 00000000..2f9fd1be
--- /dev/null
+++ b/quanta/data/dtep/html5/ul.tag
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="ul" hasCore="1" hasI18n="1" hasScript="1">
+
+<children>
+<child name="li" usage="required" />
+</children>
+
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/var.tag b/quanta/data/dtep/html5/var.tag
new file mode 100644
index 00000000..10503a11
--- /dev/null
+++ b/quanta/data/dtep/html5/var.tag
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="var" hasCore="1" hasI18n="1" hasScript="1">
+<children>
+<child name="#text" />
+<child name="a" />
+<child name="abbr" />
+<child name="acronym" />
+<child name="b" />
+<child name="bdi" />
+<child name="bdo" />
+<child name="big" />
+<child name="br" />
+<child name="wbr" />
+<child name="button" />
+<child name="cite" />
+<child name="code" />
+<child name="del" />
+<child name="dfn" />
+<child name="em" />
+<child name="i" />
+<child name="mark" />
+<child name="u" />
+<child name="data" />
+<child name="time" />
+<child name="img" />
+<child name="audio" />
+<child name="embed" />
+<child name="source" />
+<child name="track" />
+<child name="video" />
+<child name="svg" />
+<child name="input" />
+<child name="ins" />
+<child name="kbd" />
+<child name="label" />
+<child name="map" />
+<child name="object" />
+<child name="q" />
+<child name="samp" />
+<child name="script" />
+<child name="select" />
+<child name="small" />
+<child name="span" />
+<child name="strong" />
+<child name="sub" />
+<child name="sup" />
+<child name="textarea" />
+<child name="tt" />
+<child name="var" />
+</children>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/video.tag b/quanta/data/dtep/html5/video.tag
new file mode 100644
index 00000000..fc212862
--- /dev/null
+++ b/quanta/data/dtep/html5/video.tag
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="video" hasCore="1" hasI18n="1" hasScript="1">
+
+ <attr name="longdesc" type="url">
+ <text>longdesc</text>
+ <textlocation col="0" row="0" />
+ <location col="1" row="0" colspan="2" />
+ </attr>
+
+ <attr name="src" type="url">
+ <text>src</text>
+ <textlocation col="0" row="1" />
+ <location col="1" row="1" colspan="2" />
+ </attr>
+
+ <attr name="height" type="input">
+ <text>height</text>
+ <textlocation col="0" row="2" />
+ <location col="1" row="2" colspan="2" />
+ </attr>
+
+ <attr name="width" type="input">
+ <text>width</text>
+ <textlocation col="0" row="3" />
+ <location col="1" row="3" colspan="2" />
+ </attr>
+
+ <attr name="alt" type="input">
+ <text>alt</text>
+ <textlocation col="0" row="4" />
+ <location col="1" row="4" colspan="3" />
+ </attr>
+
+ <attr name="usemap" type="input">
+ <text>usemap</text>
+ <textlocation col="0" row="5" />
+ <location col="1" row="5" colspan="3" />
+ </attr>
+
+ <attr name="ismap" type="check">
+ <text>ismap</text>
+ <textlocation col="0" row="6" />
+ <location col="1" row="6" colspan="3" />
+ </attr>
+</tag>
+</TAGS>
diff --git a/quanta/data/dtep/html5/wbr.tag b/quanta/data/dtep/html5/wbr.tag
new file mode 100644
index 00000000..529cf947
--- /dev/null
+++ b/quanta/data/dtep/html5/wbr.tag
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE TAGS>
+<TAGS>
+<tag name="wbr" hasCore="1" single="1" />
+</TAGS>
diff --git a/quanta/data/dtep/wml-1-2/common.tag b/quanta/data/dtep/wml-1-2/common.tag
index 7be9453e..c59bda3c 100644
--- a/quanta/data/dtep/wml-1-2/common.tag
+++ b/quanta/data/dtep/wml-1-2/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
</tag>
diff --git a/quanta/data/dtep/xhtml-basic/common.tag b/quanta/data/dtep/xhtml-basic/common.tag
index 25baba50..b8418b20 100644
--- a/quanta/data/dtep/xhtml-basic/common.tag
+++ b/quanta/data/dtep/xhtml-basic/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="title" type="input">
</attr>
diff --git a/quanta/data/dtep/xhtml-frameset/common.tag b/quanta/data/dtep/xhtml-frameset/common.tag
index 72c0d679..e0148338 100644
--- a/quanta/data/dtep/xhtml-frameset/common.tag
+++ b/quanta/data/dtep/xhtml-frameset/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="style" type="css-style">
</attr>
diff --git a/quanta/data/dtep/xhtml-strict/common.tag b/quanta/data/dtep/xhtml-strict/common.tag
index e52f08ea..cb7e6e30 100644
--- a/quanta/data/dtep/xhtml-strict/common.tag
+++ b/quanta/data/dtep/xhtml-strict/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="style" type="css-style">
</attr>
diff --git a/quanta/data/dtep/xhtml/common.tag b/quanta/data/dtep/xhtml/common.tag
index 1fd94db2..c8f53e0b 100644
--- a/quanta/data/dtep/xhtml/common.tag
+++ b/quanta/data/dtep/xhtml/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="style" type="css-style">
</attr>
diff --git a/quanta/data/dtep/xhtml11/common.tag b/quanta/data/dtep/xhtml11/common.tag
index 0ff1796a..a380f05b 100644
--- a/quanta/data/dtep/xhtml11/common.tag
+++ b/quanta/data/dtep/xhtml11/common.tag
@@ -4,7 +4,7 @@
<tag name="Core" common="yes">
<attr name="id" type="list" source="dcop" interface="QuantaIf" method="idSelectors()" arguments="" >
</attr>
- <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(QString)" arguments="%tagname%" >
+ <attr name="class" type="list" source="dcop" interface="QuantaIf" method="selectors(TQString)" arguments="%tagname%" >
</attr>
<attr name="style" type="css-style">
</attr>
diff --git a/quanta/data/icons/22x22/CMakeLists.txt b/quanta/data/icons/22x22/CMakeLists.txt
index 896d99a1..18584447 100644
--- a/quanta/data/icons/22x22/CMakeLists.txt
+++ b/quanta/data/icons/22x22/CMakeLists.txt
@@ -10,61 +10,92 @@
#################################################
install( FILES
- ball.png check_clear.png check_grey.png
- check.png css.png date.png debug_leap.png
- debug_run.png debug_skip.png debug_stepinto.png
- debug_stepout.png debug_stepover.png
- div_center.png div_justify.png div_left.png
- div_right.png font_dec.png font_inc.png form.png
- frame.png ftab.png ftpclient.png lineedit.png
+ ball.png button.png check_clear.png
+ check_grey.png check.png css.png
+ date.png debug_leap.png debug_run.png
+ debug_skip.png debug_stepinto.png debug_stepout.png
+ debug_stepover.png div_center.png div_justify.png
+ div_left.png div_right.png font_dec.png
+ font_inc.png form.png frame.png
+ ftab.png ftpclient.png html5_abbr.png
+ html5_address.png html5_a.png html5_area.png
+ html5_article.png html5_aside.png html5_audio.png
+ html5_base.png html5_bdi.png html5_bdo.png
+ html5_big.png html5_blockquote.png html5_body.png
+ html5_b.png html5_br.png html5_caption.png
+ html5_center.png html5_cite.png html5_code.png
+ html5_colgroup.png html5_col.png html5_com.png
+ html5_data.png html5_dd.png html5_del.png
+ html5_details.png html5_dir.png html5_div.png
+ html5_dl.png html5_dt.png html5_DT.png
+ html5_embed.png html5_figcaption.png html5_figure.png
+ html5_font.png html5_footer.png html5_h1.png
+ html5_h2.png html5_h3.png html5_h4.png
+ html5_h5.png html5_h6.png html5_header.png
+ html5_head.png html5_hr.png html5_html.png
+ html5_img.png html5_ins.png html5_i.png
+ html5_kbd.png html5_link.png html5_li.png
+ html5_main.png html5_map.png html5_mark.png
+ html5_meta.png html5_nav.png html5_noscript.png
+ html5_object.png html5_ol.png html5_picture.png
+ html5_p.png html5_pre.png html5_q.png
+ html5_rp.png html5_rt.png html5_ruby.png
+ html5_samp.png html5_script.png html5_section.png
+ html5_small.png html5_source.png html5_span.png
+ html5_strong.png html5_style.png html5_sub.png
+ html5_sup.png html5_svg.png html5_table.png
+ html5_tbody.png html5_td.png html5_tfoot.png
+ html5_thead.png html5_th.png html5_time.png
+ html5_title.png html5_track.png html5_tr.png
+ html5_ul.png html5_u.png html5_var.png
+ html5_video.png html5_wbr.png lineedit.png
linepas.png output_win.png preview.png
ptab.png quick_list.png quick-screenshot.png
quick_start.png quick_table.png radio.png
- replace.png reset.png select.png submit.png
- button.png table_data.png table_head.png
- tag_access.png tag_all.png tag_anyAttribute.png
- tag_any.png tag_a.png tag_appInfo.png
- tag_attributeGroup.png tag_attribute.png
+ replace.png reset.png select.png
+ submit.png table_data.png table_head.png
+ tag_access.png tag_all.png tag_amp.png
+ tag_anyAttribute.png tag_any.png tag_a.png
+ tag_appInfo.png tag_attributeGroup.png tag_attribute.png
tag_attr.png tag_a_url.png tag_bold.png
tag_br.png tag_caption.png tag_card.png
- tag_chapter.png tag_choice.png tag_comm.png
- tag_complexContent.png tag_complexType.png
+ tag_cdata.png tag_chapter.png tag_choice.png
+ tag_comm.png tag_complexContent.png tag_complexType.png
tag_dd.png tag_dl.png tag_documenation.png
- tag_do.png tag_dt.png tag_element.png tag_em.png
- tag_example.png tag_extension.png tag_field.png
- tag_font_base.png tag_font.png tag_footnote.png
- tag_footnoteref.png tag_fractionDigits.png
+ tag_do.png tag_dt.png tag_element.png
+ tag_em.png tag_example.png tag_extension.png
+ tag_field.png tag_font_base.png tag_font.png
+ tag_footnote.png tag_footnoteref.png tag_fractionDigits.png
tag_go.png tag_group.png tag_guimenuitem.png
tag_guimenu.png tag_guisubmenu.png tag_h1.png
- tag_h2.png tag_h3.png tag_h4.png tag_h5.png
- tag_head.png tag_hr.png tag_imagedata.png
- tag_image.png tag_import.png tag_include.png
- tag_informalexample.png tag_inlinemediaobject.png
+ tag_h2.png tag_h3.png tag_h4.png
+ tag_h5.png tag_head.png tag_hr.png
+ tag_imagedata.png tag_image.png tag_import.png
+ tag_include.png tag_informalexample.png tag_inlinemediaobject.png
tag_i.png tag_keycap.png tag_keycombo.png
tag_key.png tag_keyref.png tag_label.png
tag_link.png tag_li.png tag_listitem.png
tag_list.png tag_loc.png tag_mail.png
- tag_member.png tag_menuchoice.png
- tag_menu.png tag_meta.png tag_misc.png
- tag_nbsp.png tag_noop.png tag_notation.png
- tag_ol.png tag_onevent.png tag_para.png
- tag_postfield.png tag_p.png tag_pre.png
- tag_procedure.png tag_redefine.png
- tag_restriction.png tag_schema.png
- tag_screenshotinfo.png tag_screenshot.png
- tag_sect1.png tag_sect2.png tag_sect3.png
- tag_sect4.png tag_sect5.png tag_selector.png
- tag_sequence.png tag_setvar.png tag_shortcut.png
- tag_simpleContent.png tag_simpleType.png
- tag_step.png tag_sub.png tag_substeps.png
- tag_sup.png tag_table_body.png tag_table.png
- tag_table_row.png tag_tag.png tag_tbody.png
- tag_td.png tag_term.png tag_tgroup.png tag_th.png
- tag_title.png tag_tr.png tag_ulink.png tag_ul.png
+ tag_member.png tag_menuchoice.png tag_menu.png
+ tag_meta.png tag_misc.png tag_nbsp.png
+ tag_noop.png tag_notation.png tag_ol.png
+ tag_onevent.png tag_para.png tag_postfield.png
+ tag_p.png tag_pre.png tag_procedure.png
+ tag_redefine.png tag_restriction.png tag_schema.png
+ tag_screenshotinfo.png tag_screenshot.png tag_sect1.png
+ tag_sect2.png tag_sect3.png tag_sect4.png
+ tag_sect5.png tag_selector.png tag_sequence.png
+ tag_setvar.png tag_shortcut.png tag_simpleContent.png
+ tag_simpleType.png tag_step.png tag_sub.png
+ tag_substeps.png tag_sup.png tag_table_body.png
+ tag_table.png tag_table_row.png tag_tag.png
+ tag_tbody.png tag_td.png tag_term.png
+ tag_tgroup.png tag_th.png tag_title.png
+ tag_tr.png tag_ulink.png tag_ul.png
tag_union.png tag_unique.png tag_u.png
- tag_variablelist.png tag_varlistentry.png
- tag_varlistitem.png tag_what.png tag_wml.png
- tag_xref.png textarea.png tree_win.png ttab.png
- view_text.png vpl.png vpl_text.png xmlval.png
- xsltproc.png tag_amp.png tag_cdata.png
+ tag_variablelist.png tag_varlistentry.png tag_varlistitem.png
+ tag_what.png tag_wml.png tag_xref.png
+ textarea.png tree_win.png ttab.png
+ view_text.png vpl.png vpl_text.png
+ xmlval.png xsltproc.png
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbar )
diff --git a/quanta/data/icons/22x22/Makefile.am b/quanta/data/icons/22x22/Makefile.am
index 7eb10c7d..4cd1e390 100644
--- a/quanta/data/icons/22x22/Makefile.am
+++ b/quanta/data/icons/22x22/Makefile.am
@@ -1,5 +1,6 @@
quantadir = ${quanta_datadir}/toolbar
quanta_DATA = ball.png \
+button.png \
check_clear.png \
check_grey.png \
check.png \
@@ -21,6 +22,99 @@ form.png \
frame.png \
ftab.png \
ftpclient.png \
+html5_abbr.png \
+html5_address.png \
+html5_a.png \
+html5_area.png \
+html5_article.png \
+html5_aside.png \
+html5_audio.png \
+html5_base.png \
+html5_bdi.png \
+html5_bdo.png \
+html5_big.png \
+html5_blockquote.png \
+html5_body.png \
+html5_b.png \
+html5_br.png \
+html5_caption.png \
+html5_center.png \
+html5_cite.png \
+html5_code.png \
+html5_colgroup.png \
+html5_col.png \
+html5_com.png \
+html5_data.png \
+html5_dd.png \
+html5_del.png \
+html5_details.png \
+html5_dir.png \
+html5_div.png \
+html5_dl.png \
+html5_dt.png \
+html5_DT.png \
+html5_embed.png \
+html5_figcaption.png \
+html5_figure.png \
+html5_font.png \
+html5_footer.png \
+html5_h1.png \
+html5_h2.png \
+html5_h3.png \
+html5_h4.png \
+html5_h5.png \
+html5_h6.png \
+html5_header.png \
+html5_head.png \
+html5_hr.png \
+html5_html.png \
+html5_img.png \
+html5_ins.png \
+html5_i.png \
+html5_kbd.png \
+html5_link.png \
+html5_li.png \
+html5_main.png \
+html5_map.png \
+html5_mark.png \
+html5_meta.png \
+html5_nav.png \
+html5_noscript.png \
+html5_object.png \
+html5_ol.png \
+html5_picture.png \
+html5_p.png \
+html5_pre.png \
+html5_q.png \
+html5_rp.png \
+html5_rt.png \
+html5_ruby.png \
+html5_samp.png \
+html5_script.png \
+html5_section.png \
+html5_small.png \
+html5_source.png \
+html5_span.png \
+html5_strong.png \
+html5_style.png \
+html5_sub.png \
+html5_sup.png \
+html5_svg.png \
+html5_table.png \
+html5_tbody.png \
+html5_td.png \
+html5_tfoot.png \
+html5_thead.png \
+html5_th.png \
+html5_time.png \
+html5_title.png \
+html5_track.png \
+html5_tr.png \
+html5_ul.png \
+html5_u.png \
+html5_var.png \
+html5_video.png \
+html5_wbr.png \
lineedit.png \
linepas.png \
output_win.png \
@@ -35,11 +129,11 @@ replace.png \
reset.png \
select.png \
submit.png \
-button.png \
table_data.png \
table_head.png \
tag_access.png \
tag_all.png \
+tag_amp.png \
tag_anyAttribute.png \
tag_any.png \
tag_a.png \
@@ -52,6 +146,7 @@ tag_bold.png \
tag_br.png \
tag_caption.png \
tag_card.png \
+tag_cdata.png \
tag_chapter.png \
tag_choice.png \
tag_comm.png \
@@ -166,7 +261,4 @@ view_text.png \
vpl.png \
vpl_text.png \
xmlval.png \
-xsltproc.png \
-tag_amp.png \
-tag_cdata.png
-
+xsltproc.png
diff --git a/quanta/data/icons/22x22/html5_DT.png b/quanta/data/icons/22x22/html5_DT.png
new file mode 100644
index 00000000..a1453930
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_DT.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_a.png b/quanta/data/icons/22x22/html5_a.png
new file mode 100644
index 00000000..e9ff6a72
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_a.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_abbr.png b/quanta/data/icons/22x22/html5_abbr.png
new file mode 100644
index 00000000..42af2587
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_abbr.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_address.png b/quanta/data/icons/22x22/html5_address.png
new file mode 100644
index 00000000..75fc33a9
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_address.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_area.png b/quanta/data/icons/22x22/html5_area.png
new file mode 100644
index 00000000..caad509c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_area.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_article.png b/quanta/data/icons/22x22/html5_article.png
new file mode 100644
index 00000000..c2aa738f
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_article.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_aside.png b/quanta/data/icons/22x22/html5_aside.png
new file mode 100644
index 00000000..da321bee
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_aside.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_audio.png b/quanta/data/icons/22x22/html5_audio.png
new file mode 100644
index 00000000..e2fd30dc
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_audio.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_b.png b/quanta/data/icons/22x22/html5_b.png
new file mode 100644
index 00000000..29c3c4cc
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_b.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_base.png b/quanta/data/icons/22x22/html5_base.png
new file mode 100644
index 00000000..abc2013b
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_base.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_bdi.png b/quanta/data/icons/22x22/html5_bdi.png
new file mode 100644
index 00000000..78cdbcad
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_bdi.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_bdo.png b/quanta/data/icons/22x22/html5_bdo.png
new file mode 100644
index 00000000..ab8a5b10
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_bdo.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_big.png b/quanta/data/icons/22x22/html5_big.png
new file mode 100644
index 00000000..79ad4075
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_big.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_blockquote.png b/quanta/data/icons/22x22/html5_blockquote.png
new file mode 100644
index 00000000..9e50c2e1
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_blockquote.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_body.png b/quanta/data/icons/22x22/html5_body.png
new file mode 100644
index 00000000..f48cbf42
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_body.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_br.png b/quanta/data/icons/22x22/html5_br.png
new file mode 100644
index 00000000..cd047a22
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_br.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_caption.png b/quanta/data/icons/22x22/html5_caption.png
new file mode 100644
index 00000000..b5d2d71a
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_caption.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_center.png b/quanta/data/icons/22x22/html5_center.png
new file mode 100644
index 00000000..a830104a
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_center.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_cite.png b/quanta/data/icons/22x22/html5_cite.png
new file mode 100644
index 00000000..ae7cabac
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_cite.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_code.png b/quanta/data/icons/22x22/html5_code.png
new file mode 100644
index 00000000..880e08fd
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_code.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_col.png b/quanta/data/icons/22x22/html5_col.png
new file mode 100644
index 00000000..e7d926d8
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_col.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_colgroup.png b/quanta/data/icons/22x22/html5_colgroup.png
new file mode 100644
index 00000000..ea7d23d0
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_colgroup.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_com.png b/quanta/data/icons/22x22/html5_com.png
new file mode 100644
index 00000000..244fd8f2
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_com.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_data.png b/quanta/data/icons/22x22/html5_data.png
new file mode 100644
index 00000000..eae99c74
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_data.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_dd.png b/quanta/data/icons/22x22/html5_dd.png
new file mode 100644
index 00000000..958ada02
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_dd.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_del.png b/quanta/data/icons/22x22/html5_del.png
new file mode 100644
index 00000000..228bbdaa
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_del.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_details.png b/quanta/data/icons/22x22/html5_details.png
new file mode 100644
index 00000000..81c02d37
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_details.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_dir.png b/quanta/data/icons/22x22/html5_dir.png
new file mode 100644
index 00000000..1c21f7e9
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_dir.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_div.png b/quanta/data/icons/22x22/html5_div.png
new file mode 100644
index 00000000..03d700e3
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_div.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_dl.png b/quanta/data/icons/22x22/html5_dl.png
new file mode 100644
index 00000000..51e9cc6a
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_dl.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_dt.png b/quanta/data/icons/22x22/html5_dt.png
new file mode 100644
index 00000000..87da2ffe
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_dt.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_embed.png b/quanta/data/icons/22x22/html5_embed.png
new file mode 100644
index 00000000..6a684cba
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_embed.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_figcaption.png b/quanta/data/icons/22x22/html5_figcaption.png
new file mode 100644
index 00000000..19204936
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_figcaption.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_figure.png b/quanta/data/icons/22x22/html5_figure.png
new file mode 100644
index 00000000..3d38ea0e
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_figure.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_font.png b/quanta/data/icons/22x22/html5_font.png
new file mode 100644
index 00000000..4483a7e2
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_font.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_footer.png b/quanta/data/icons/22x22/html5_footer.png
new file mode 100644
index 00000000..73e6aefe
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_footer.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_h1.png b/quanta/data/icons/22x22/html5_h1.png
new file mode 100644
index 00000000..7274abc7
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_h1.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_h2.png b/quanta/data/icons/22x22/html5_h2.png
new file mode 100644
index 00000000..f54219a4
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_h2.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_h3.png b/quanta/data/icons/22x22/html5_h3.png
new file mode 100644
index 00000000..08ee9d14
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_h3.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_h4.png b/quanta/data/icons/22x22/html5_h4.png
new file mode 100644
index 00000000..6a7880fb
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_h4.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_h5.png b/quanta/data/icons/22x22/html5_h5.png
new file mode 100644
index 00000000..73f153d9
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_h5.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_h6.png b/quanta/data/icons/22x22/html5_h6.png
new file mode 100644
index 00000000..bcc80a1e
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_h6.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_head.png b/quanta/data/icons/22x22/html5_head.png
new file mode 100644
index 00000000..d9aa4777
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_head.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_header.png b/quanta/data/icons/22x22/html5_header.png
new file mode 100644
index 00000000..62a99473
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_header.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_hr.png b/quanta/data/icons/22x22/html5_hr.png
new file mode 100644
index 00000000..a73694e7
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_hr.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_html.png b/quanta/data/icons/22x22/html5_html.png
new file mode 100644
index 00000000..c7c11c8c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_html.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_i.png b/quanta/data/icons/22x22/html5_i.png
new file mode 100644
index 00000000..860abe10
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_i.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_img.png b/quanta/data/icons/22x22/html5_img.png
new file mode 100644
index 00000000..271a9989
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_img.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_ins.png b/quanta/data/icons/22x22/html5_ins.png
new file mode 100644
index 00000000..849661ae
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_ins.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_kbd.png b/quanta/data/icons/22x22/html5_kbd.png
new file mode 100644
index 00000000..06c8c9f0
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_kbd.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_li.png b/quanta/data/icons/22x22/html5_li.png
new file mode 100644
index 00000000..ec8bcf45
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_li.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_link.png b/quanta/data/icons/22x22/html5_link.png
new file mode 100644
index 00000000..88d956c3
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_link.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_main.png b/quanta/data/icons/22x22/html5_main.png
new file mode 100644
index 00000000..2dc24c6f
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_main.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_map.png b/quanta/data/icons/22x22/html5_map.png
new file mode 100644
index 00000000..e7adaa5a
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_map.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_mark.png b/quanta/data/icons/22x22/html5_mark.png
new file mode 100644
index 00000000..2e869a6c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_mark.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_meta.png b/quanta/data/icons/22x22/html5_meta.png
new file mode 100644
index 00000000..6a169691
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_meta.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_nav.png b/quanta/data/icons/22x22/html5_nav.png
new file mode 100644
index 00000000..af3aa6ac
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_nav.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_noscript.png b/quanta/data/icons/22x22/html5_noscript.png
new file mode 100644
index 00000000..52180391
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_noscript.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_object.png b/quanta/data/icons/22x22/html5_object.png
new file mode 100644
index 00000000..0bdcd70c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_object.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_ol.png b/quanta/data/icons/22x22/html5_ol.png
new file mode 100644
index 00000000..27ab357f
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_ol.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_p.png b/quanta/data/icons/22x22/html5_p.png
new file mode 100644
index 00000000..ae8dc38c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_p.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_picture.png b/quanta/data/icons/22x22/html5_picture.png
new file mode 100644
index 00000000..89524cb1
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_picture.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_pre.png b/quanta/data/icons/22x22/html5_pre.png
new file mode 100644
index 00000000..b5b8fd74
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_pre.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_q.png b/quanta/data/icons/22x22/html5_q.png
new file mode 100644
index 00000000..a78c998e
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_q.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_rp.png b/quanta/data/icons/22x22/html5_rp.png
new file mode 100644
index 00000000..83195c19
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_rp.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_rt.png b/quanta/data/icons/22x22/html5_rt.png
new file mode 100644
index 00000000..002dbbf2
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_rt.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_ruby.png b/quanta/data/icons/22x22/html5_ruby.png
new file mode 100644
index 00000000..5eb2e561
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_ruby.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_samp.png b/quanta/data/icons/22x22/html5_samp.png
new file mode 100644
index 00000000..05ca7536
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_samp.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_script.png b/quanta/data/icons/22x22/html5_script.png
new file mode 100644
index 00000000..766c2ff7
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_script.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_section.png b/quanta/data/icons/22x22/html5_section.png
new file mode 100644
index 00000000..3a428273
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_section.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_small.png b/quanta/data/icons/22x22/html5_small.png
new file mode 100644
index 00000000..c941d93d
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_small.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_source.png b/quanta/data/icons/22x22/html5_source.png
new file mode 100644
index 00000000..c1a91e70
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_source.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_span.png b/quanta/data/icons/22x22/html5_span.png
new file mode 100644
index 00000000..06223aaf
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_span.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_strong.png b/quanta/data/icons/22x22/html5_strong.png
new file mode 100644
index 00000000..8145590e
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_strong.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_style.png b/quanta/data/icons/22x22/html5_style.png
new file mode 100644
index 00000000..ec6e0861
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_style.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_sub.png b/quanta/data/icons/22x22/html5_sub.png
new file mode 100644
index 00000000..ae053aeb
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_sub.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_sup.png b/quanta/data/icons/22x22/html5_sup.png
new file mode 100644
index 00000000..0ea37e0e
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_sup.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_svg.png b/quanta/data/icons/22x22/html5_svg.png
new file mode 100644
index 00000000..1e6050c2
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_svg.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_table.png b/quanta/data/icons/22x22/html5_table.png
new file mode 100644
index 00000000..e8dd8e03
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_table.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_tbody.png b/quanta/data/icons/22x22/html5_tbody.png
new file mode 100644
index 00000000..c84522c8
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_tbody.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_td.png b/quanta/data/icons/22x22/html5_td.png
new file mode 100644
index 00000000..38d3ea97
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_td.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_tfoot.png b/quanta/data/icons/22x22/html5_tfoot.png
new file mode 100644
index 00000000..dc633655
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_tfoot.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_th.png b/quanta/data/icons/22x22/html5_th.png
new file mode 100644
index 00000000..28f5fc82
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_th.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_thead.png b/quanta/data/icons/22x22/html5_thead.png
new file mode 100644
index 00000000..bcabca1a
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_thead.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_time.png b/quanta/data/icons/22x22/html5_time.png
new file mode 100644
index 00000000..7b53c65c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_time.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_title.png b/quanta/data/icons/22x22/html5_title.png
new file mode 100644
index 00000000..157e4109
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_title.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_tr.png b/quanta/data/icons/22x22/html5_tr.png
new file mode 100644
index 00000000..f4eb080a
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_tr.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_track.png b/quanta/data/icons/22x22/html5_track.png
new file mode 100644
index 00000000..8df75171
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_track.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_u.png b/quanta/data/icons/22x22/html5_u.png
new file mode 100644
index 00000000..5ba3034c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_u.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_ul.png b/quanta/data/icons/22x22/html5_ul.png
new file mode 100644
index 00000000..8c4e1f6d
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_ul.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_var.png b/quanta/data/icons/22x22/html5_var.png
new file mode 100644
index 00000000..467eba4c
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_var.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_video.png b/quanta/data/icons/22x22/html5_video.png
new file mode 100644
index 00000000..68baec39
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_video.png
Binary files differ
diff --git a/quanta/data/icons/22x22/html5_wbr.png b/quanta/data/icons/22x22/html5_wbr.png
new file mode 100644
index 00000000..6ea9f6b8
--- /dev/null
+++ b/quanta/data/icons/22x22/html5_wbr.png
Binary files differ
diff --git a/quanta/data/templates/documents/CMakeLists.txt b/quanta/data/templates/documents/CMakeLists.txt
index e114aeb6..e37e5927 100644
--- a/quanta/data/templates/documents/CMakeLists.txt
+++ b/quanta/data/templates/documents/CMakeLists.txt
@@ -10,6 +10,7 @@
#################################################
add_subdirectory( html )
+add_subdirectory( html5 )
add_subdirectory( others )
add_subdirectory( scripts )
diff --git a/quanta/data/templates/documents/Makefile.am b/quanta/data/templates/documents/Makefile.am
index eb6533cd..f35b06b6 100644
--- a/quanta/data/templates/documents/Makefile.am
+++ b/quanta/data/templates/documents/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = html others scripts
+SUBDIRS = html html5 others scripts
templatesdocumentsdir = ${quanta_datadir}/templates/documents
templatesdocuments_DATA = dirinfo
diff --git a/quanta/data/templates/documents/html5/CMakeLists.txt b/quanta/data/templates/documents/html5/CMakeLists.txt
new file mode 100644
index 00000000..352ba774
--- /dev/null
+++ b/quanta/data/templates/documents/html5/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ demo.html
+ DESTINATION ${DATA_INSTALL_DIR}/quanta/templates/documents/html5 )
diff --git a/quanta/data/templates/documents/html5/Makefile.am b/quanta/data/templates/documents/html5/Makefile.am
new file mode 100644
index 00000000..a4b04fe0
--- /dev/null
+++ b/quanta/data/templates/documents/html5/Makefile.am
@@ -0,0 +1,2 @@
+templatesdocumentshtmldir = ${quanta_datadir}/templates/documents/html5
+templatesdocumentshtml_DATA = demo.html
diff --git a/quanta/data/templates/documents/html5/demo.html b/quanta/data/templates/documents/html5/demo.html
new file mode 100644
index 00000000..d2974677
--- /dev/null
+++ b/quanta/data/templates/documents/html5/demo.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title></title>
+</head>
+<body>
+</body>
+</html>
diff --git a/quanta/data/templates/pages/CMakeLists.txt b/quanta/data/templates/pages/CMakeLists.txt
index 965a9475..9aca96f7 100644
--- a/quanta/data/templates/pages/CMakeLists.txt
+++ b/quanta/data/templates/pages/CMakeLists.txt
@@ -11,6 +11,7 @@
add_subdirectory( php )
add_subdirectory( html )
+add_subdirectory( html5 )
add_subdirectory( docbook )
install( FILES dirinfo
diff --git a/quanta/data/templates/pages/Makefile.am b/quanta/data/templates/pages/Makefile.am
index 6eaaa6a8..f7b47129 100644
--- a/quanta/data/templates/pages/Makefile.am
+++ b/quanta/data/templates/pages/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = php html docbook
+SUBDIRS = php html html5 docbook
templatespagesdir = ${quanta_datadir}/templates/pages
templatespages_DATA = dirinfo
diff --git a/quanta/data/templates/pages/docbook/tde-doc-template.docbook b/quanta/data/templates/pages/docbook/tde-doc-template.docbook
index 18870bd7..1a45a424 100644
--- a/quanta/data/templates/pages/docbook/tde-doc-template.docbook
+++ b/quanta/data/templates/pages/docbook/tde-doc-template.docbook
@@ -554,15 +554,3 @@ dicer-toaster daemon first, or &tdemyapplication; won't work !</para>
&documentation.index;
</book>
-
-<!--
-Local Variables:
-mode: xml
-sgml-minimize-attributes:nil
-sgml-general-insert-case:lower
-sgml-indent-step:0
-sgml-indent-data:nil
-End:
-
-vim:tabstop=2:shiftwidth=2:expandtab
--->
diff --git a/quanta/data/templates/pages/html5/CMakeLists.txt b/quanta/data/templates/pages/html5/CMakeLists.txt
new file mode 100644
index 00000000..0bddf292
--- /dev/null
+++ b/quanta/data/templates/pages/html5/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ base.html
+ DESTINATION ${DATA_INSTALL_DIR}/quanta/templates/pages/html5 )
diff --git a/quanta/data/templates/pages/html5/Makefile.am b/quanta/data/templates/pages/html5/Makefile.am
new file mode 100644
index 00000000..21dded22
--- /dev/null
+++ b/quanta/data/templates/pages/html5/Makefile.am
@@ -0,0 +1,2 @@
+templatespageshtml401dir = ${quanta_datadir}/templates/pages/html5
+templatespageshtml401_DATA = base.html
diff --git a/quanta/data/templates/pages/html5/base.html b/quanta/data/templates/pages/html5/base.html
new file mode 100644
index 00000000..d2974677
--- /dev/null
+++ b/quanta/data/templates/pages/html5/base.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title></title>
+</head>
+<body>
+</body>
+</html>
diff --git a/quanta/data/toolbars/Makefile.am b/quanta/data/toolbars/Makefile.am
index bc03a375..4a279373 100644
--- a/quanta/data/toolbars/Makefile.am
+++ b/quanta/data/toolbars/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = html xml wml-1-2 tagxml schema cfml kde-docbook docbook css
+SUBDIRS = html html5 xml wml-1-2 tagxml schema cfml kde-docbook docbook css
toolbarsdir = ${quanta_datadir}/toolbars
toolbars_DATA = debug.toolbar.tgz
diff --git a/quanta/data/toolbars/html5/CMakeLists.txt b/quanta/data/toolbars/html5/CMakeLists.txt
new file mode 100644
index 00000000..2ebdff25
--- /dev/null
+++ b/quanta/data/toolbars/html5/CMakeLists.txt
@@ -0,0 +1,26 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# (C) 2019 Slávek Banko
+# slavek.banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+
+##### style data ################################
+
+foreach( _toolbar base meta style tools )
+
+ tde_create_tarball(
+ TARGET ${_toolbar}.toolbar.tgz
+ FILES ${_toolbar}.actions ${_toolbar}.toolbar
+ DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/html5
+ )
+
+endforeach( )
diff --git a/quanta/data/toolbars/html5/Makefile.am b/quanta/data/toolbars/html5/Makefile.am
new file mode 100644
index 00000000..353c7dad
--- /dev/null
+++ b/quanta/data/toolbars/html5/Makefile.am
@@ -0,0 +1,14 @@
+htmltemplatedir = ${quanta_datadir}/toolbars/html5
+htmltemplate_DATA = base.toolbar.tgz meta.toolbar.tgz style.toolbar.tgz tools.toolbar.tgz
+
+base.toolbar.tgz: base.actions base.toolbar
+ tar cfz $@ -C $(<D) $(^F)
+
+meta.toolbar.tgz: meta.actions meta.toolbar
+ tar cfz $@ -C $(<D) $(^F)
+
+style.toolbar.tgz: style.actions style.toolbar
+ tar cfz $@ -C $(<D) $(^F)
+
+tools.toolbar.tgz: tools.actions tools.toolbar
+ tar cfz $@ -C $(<D) $(^F)
diff --git a/quanta/data/toolbars/html5/base.actions b/quanta/data/toolbars/html5/base.actions
new file mode 100644
index 00000000..2fa3cebb
--- /dev/null
+++ b/quanta/data/toolbars/html5/base.actions
@@ -0,0 +1,126 @@
+<!DOCTYPE actionsconfig>
+<actions>
+ <action shortcut="" icon="html5_h1" type="tag" tooltip="" name="h1" text="h1" >
+ <tag useDialog="false" >&lt;h1&gt;</tag>
+ <xtag use="true" >&lt;/h1&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_h2" type="tag" tooltip="" name="h2" text="h2" >
+ <tag useDialog="false" >&lt;h2&gt;</tag>
+ <xtag use="true" >&lt;/h2&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_h3" type="tag" tooltip="" name="h3" text="h3" >
+ <tag useDialog="false" >&lt;h3&gt;</tag>
+ <xtag use="true" >&lt;/h3&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_h4" type="tag" tooltip="" name="h4" text="h4" >
+ <tag useDialog="false" >&lt;h4&gt;</tag>
+ <xtag use="true" >&lt;/h4&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_h5" type="tag" tooltip="" name="h5" text="h5" >
+ <tag useDialog="false" >&lt;h5&gt;</tag>
+ <xtag use="true" >&lt;/h5&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_h6" type="tag" tooltip="" name="h6" text="h6" >
+ <tag useDialog="false" >&lt;h6&gt;</tag>
+ <xtag use="true" >&lt;/h6&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_p" type="tag" tooltip="" name="p" text="p" >
+ <tag useDialog="false" >&lt;p&gt;</tag>
+ <xtag use="true" >&lt;/p&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_pre" type="tag" tooltip="" name="pre" text="pre" >
+ <tag useDialog="false" >&lt;pre&gt;</tag>
+ <xtag use="true" >&lt;/pre&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_div" type="tag" tooltip="" name="div" text="div" >
+ <tag useDialog="false" >&lt;div&gt;</tag>
+ <xtag use="true" >&lt;/div&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_blockquote" type="tag" tooltip="" name="blockquote" text="blockquote" >
+ <tag useDialog="false" >&lt;blockquote&gt;</tag>
+ <xtag use="true" >&lt;/blockquote&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_details" type="tag" tooltip="" name="details" text="details" >
+ <tag useDialog="false" >&lt;details&gt;</tag>
+ <xtag use="true" >&lt;/details&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_center" type="tag" tooltip="" name="center" text="center" >
+ <tag useDialog="false" >&lt;center&gt;</tag>
+ <xtag use="true" >&lt;/center&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_hr" type="tag" tooltip="" name="hr" text="hr" >
+ <tag useDialog="false" >&lt;hr&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_com" type="tag" tooltip="" name="com" text="com" >
+ <tag useDialog="false" >&lt;!-- </tag>
+ <xtag use="true" > --&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_ul" type="tag" tooltip="" name="ul" text="ul" >
+ <tag useDialog="false" >&lt;ul&gt;</tag>
+ <xtag use="true" >&lt;/ul&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_ol" type="tag" tooltip="" name="ol" text="ol" >
+ <tag useDialog="false" >&lt;ol&gt;</tag>
+ <xtag use="true" >&lt;/ol&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_li" type="tag" tooltip="" name="li" text="li" >
+ <tag useDialog="false" >&lt;li&gt;</tag>
+ <xtag use="true" >&lt;/li&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_dir" type="tag" tooltip="" name="dir" text="dir" >
+ <tag useDialog="false" >&lt;dir&gt;</tag>
+ <xtag use="true" >&lt;/dir&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_dl" type="tag" tooltip="" name="dl" text="dl" >
+ <tag useDialog="false" >&lt;dl&gt;</tag>
+ <xtag use="true" >&lt;/dl&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_dt" type="tag" tooltip="" name="dt" text="dt" >
+ <tag useDialog="false" >&lt;dt&gt;</tag>
+ <xtag use="true" >&lt;/dt&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_dd" type="tag" tooltip="" name="dd" text="dd" >
+ <tag useDialog="false" >&lt;dd&gt;</tag>
+ <xtag use="true" >&lt;/dd&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_table" type="tag" tooltip="" name="table" text="table" >
+ <tag useDialog="false" >&lt;table&gt;</tag>
+ <xtag use="true" >&lt;/table&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_tbody" type="tag" tooltip="" name="tbody" text="tbody" >
+ <tag useDialog="false" >&lt;tbody&gt;</tag>
+ <xtag use="true" >&lt;/tbody&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_thead" type="tag" tooltip="" name="thead" text="thead" >
+ <tag useDialog="false" >&lt;thead&gt;</tag>
+ <xtag use="true" >&lt;/thead&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_tfoot" type="tag" tooltip="" name="tfoot" text="tfoot" >
+ <tag useDialog="false" >&lt;tfoot&gt;</tag>
+ <xtag use="true" >&lt;/tfoot&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_tr" type="tag" tooltip="" name="tr" text="tr" >
+ <tag useDialog="false" >&lt;tr&gt;</tag>
+ <xtag use="true" >&lt;/tr&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_colgroup" type="tag" tooltip="" name="colgroup" text="colgroup" >
+ <tag useDialog="false" >&lt;colgroup&gt;</tag>
+ <xtag use="true" >&lt;/colgroup&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_col" type="tag" tooltip="" name="col" text="col" >
+ <tag useDialog="false" >&lt;col&gt;</tag>
+ <xtag use="true" >&lt;/col&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_td" type="tag" tooltip="" name="td" text="td" >
+ <tag useDialog="false" >&lt;td&gt;</tag>
+ <xtag use="true" >&lt;/td&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_th" type="tag" tooltip="" name="th" text="th" >
+ <tag useDialog="false" >&lt;th&gt;</tag>
+ <xtag use="true" >&lt;/th&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_caption" type="tag" tooltip="" name="caption" text="caption" >
+ <tag useDialog="false" >&lt;caption&gt;</tag>
+ <xtag use="true" >&lt;/caption&gt;</xtag>
+ </action>
+</actions>
diff --git a/quanta/data/toolbars/html5/base.toolbar b/quanta/data/toolbars/html5/base.toolbar
new file mode 100644
index 00000000..e4e786cf
--- /dev/null
+++ b/quanta/data/toolbars/html5/base.toolbar
@@ -0,0 +1,37 @@
+<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
+<kpartgui name="quanta" version="2">
+ <ToolBar tabname="Base" noMerge="1" name="base" >
+ <text>Base</text>
+ <Action name="h1" />
+ <Action name="h2" />
+ <Action name="h3" />
+ <Action name="h4" />
+ <Action name="h5" />
+ <Action name="h6" />
+ <Action name="p" />
+ <Action name="pre" />
+ <Action name="div" />
+ <Action name="blockquote" />
+ <Action name="details" />
+ <Action name="center" />
+ <Action name="hr" />
+ <Action name="com" />
+ <Action name="ul" />
+ <Action name="ol" />
+ <Action name="li" />
+ <Action name="dir" />
+ <Action name="dl" />
+ <Action name="dt" />
+ <Action name="dd" />
+ <Action name="table" />
+ <Action name="tbody" />
+ <Action name="thead" />
+ <Action name="tfoot" />
+ <Action name="tr" />
+ <Action name="colgroup" />
+ <Action name="col" />
+ <Action name="td" />
+ <Action name="th" />
+ <Action name="caption" />
+ </ToolBar>
+</kpartgui>
diff --git a/quanta/data/toolbars/html5/meta.actions b/quanta/data/toolbars/html5/meta.actions
new file mode 100644
index 00000000..0ea1ee5a
--- /dev/null
+++ b/quanta/data/toolbars/html5/meta.actions
@@ -0,0 +1,125 @@
+<!DOCTYPE actionsconfig>
+<actions>
+ <action shortcut="" icon="html5_img" type="tag" tooltip="" name="img" text="img" >
+ <tag useDialog="false" >&lt;img src=""&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_map" type="tag" tooltip="" name="map" text="map" >
+ <tag useDialog="false" >&lt;map name=""&gt;</tag>
+ <xtag use="true" >&lt;/map&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_area" type="tag" tooltip="" name="area" text="area" >
+ <tag useDialog="false" >&lt;area shape="" coords=",,," alt="" href=""&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_picture" type="tag" tooltip="" name="picture" text="picture" >
+ <tag useDialog="false" >&lt;picture&gt;</tag>
+ <xtag use="true" >&lt;/picture&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_figure" type="tag" tooltip="" name="figure" text="figure" >
+ <tag useDialog="false" >&lt;figure&gt;</tag>
+ <xtag use="true" >&lt;/figure&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_figcaption" type="tag" tooltip="" name="figcaption" text="figcaption" >
+ <tag useDialog="false" >&lt;figcaption&gt;</tag>
+ <xtag use="true" >&lt;/figcaption&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_svg" type="tag" tooltip="" name="svg" text="svg" >
+ <tag useDialog="false" >&lt;svg&gt;</tag>
+ <xtag use="true" >&lt;/svg&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_audio" type="tag" tooltip="" name="audio" text="audio" >
+ <tag useDialog="false" >&lt;audio src=""&gt;</tag>
+ <xtag use="true" >&lt;/audio&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_video" type="tag" tooltip="" name="video" text="video" >
+ <tag useDialog="false" >&lt;video src=""&gt;</tag>
+ <xtag use="true" >&lt;/video&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_track" type="tag" tooltip="" name="track" text="track" >
+ <tag useDialog="false" >&lt;track src=""&gt;</tag>
+ <xtag use="true" >&lt;/track&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_embed" type="tag" tooltip="" name="embed" text="embed" >
+ <tag useDialog="false" >&lt;embed src=""&gt;</tag>
+ <xtag use="true" >&lt;/embed&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_object" type="tag" tooltip="" name="object" text="object" >
+ <tag useDialog="false" >&lt;object data=""&gt;</tag>
+ <xtag use="true" >&lt;/object&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_source" type="tag" tooltip="" name="source" text="source" >
+ <tag useDialog="false" >&lt;source src=""&gt;</tag>
+ <xtag use="true" >&lt;/source&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_header" type="tag" tooltip="" name="header" text="header" >
+ <tag useDialog="false" >&lt;header&gt;</tag>
+ <xtag use="true" >&lt;/header&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_nav" type="tag" tooltip="" name="nav" text="nav" >
+ <tag useDialog="false" >&lt;nav&gt;</tag>
+ <xtag use="true" >&lt;/nav&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_main" type="tag" tooltip="" name="main" text="main" >
+ <tag useDialog="false" >&lt;main&gt;</tag>
+ <xtag use="true" >&lt;/main&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_aside" type="tag" tooltip="" name="aside" text="aside" >
+ <tag useDialog="false" >&lt;aside&gt;</tag>
+ <xtag use="true" >&lt;/aside&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_footer" type="tag" tooltip="" name="footer" text="footer" >
+ <tag useDialog="false" >&lt;footer&gt;</tag>
+ <xtag use="true" >&lt;/footer&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_article" type="tag" tooltip="" name="article" text="article" >
+ <tag useDialog="false" >&lt;article&gt;</tag>
+ <xtag use="true" >&lt;/article&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_address" type="tag" tooltip="" name="address" text="address" >
+ <tag useDialog="false" >&lt;address&gt;</tag>
+ <xtag use="true" >&lt;/address&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_section" type="tag" tooltip="" name="section" text="section" >
+ <tag useDialog="false" >&lt;section&gt;</tag>
+ <xtag use="true" >&lt;/section&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_DT" type="tag" tooltip="" name="DT" text="DT" >
+ <tag useDialog="false" >&lt;!DOCTYPE html&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_html" type="tag" tooltip="" name="html" text="html" >
+ <tag useDialog="false" >&lt;html&gt;</tag>
+ <xtag use="true" >&lt;/html&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_head" type="tag" tooltip="" name="head" text="head" >
+ <tag useDialog="false" >&lt;head&gt;</tag>
+ <xtag use="true" >&lt;/head&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_body" type="tag" tooltip="" name="body" text="body" >
+ <tag useDialog="false" >&lt;body&gt;</tag>
+ <xtag use="true" >&lt;/body&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_title" type="tag" tooltip="" name="title" text="title" >
+ <tag useDialog="false" >&lt;title&gt;</tag>
+ <xtag use="true" >&lt;/title&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_meta" type="tag" tooltip="" name="meta" text="meta" >
+ <tag useDialog="false" >&lt;meta charset="utf-8"&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_base" type="tag" tooltip="" name="base" text="base" >
+ <tag useDialog="false" >&lt;base href=""&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_link" type="tag" tooltip="" name="link" text="link" >
+ <tag useDialog="false" >&lt;link rel="" type="" href=""&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_style" type="tag" tooltip="" name="style" text="style" >
+ <tag useDialog="false" >&lt;style&gt;</tag>
+ <xtag use="true" >&lt;/style&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_script" type="tag" tooltip="" name="script" text="script" >
+ <tag useDialog="false" >&lt;script&gt;</tag>
+ <xtag use="true" >&lt;/script&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_noscript" type="tag" tooltip="" name="noscript" text="noscript" >
+ <tag useDialog="false" >&lt;noscript&gt;</tag>
+ <xtag use="true" >&lt;/noscript&gt;</xtag>
+ </action>
+</actions>
diff --git a/quanta/data/toolbars/html5/meta.toolbar b/quanta/data/toolbars/html5/meta.toolbar
new file mode 100644
index 00000000..2c3c8446
--- /dev/null
+++ b/quanta/data/toolbars/html5/meta.toolbar
@@ -0,0 +1,38 @@
+<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
+<kpartgui name="quanta" version="2">
+ <ToolBar tabname="Meta" noMerge="1" name="meta" >
+ <text>Meta</text>
+ <Action name="img" />
+ <Action name="map" />
+ <Action name="area" />
+ <Action name="picture" />
+ <Action name="figure" />
+ <Action name="figcaption" />
+ <Action name="svg" />
+ <Action name="audio" />
+ <Action name="video" />
+ <Action name="track" />
+ <Action name="embed" />
+ <Action name="object" />
+ <Action name="source" />
+ <Action name="header" />
+ <Action name="nav" />
+ <Action name="main" />
+ <Action name="aside" />
+ <Action name="footer" />
+ <Action name="article" />
+ <Action name="address" />
+ <Action name="section" />
+ <Action name="DT" />
+ <Action name="html" />
+ <Action name="head" />
+ <Action name="body" />
+ <Action name="title" />
+ <Action name="meta" />
+ <Action name="base" />
+ <Action name="link" />
+ <Action name="style" />
+ <Action name="script" />
+ <Action name="noscript" />
+ </ToolBar>
+</kpartgui>
diff --git a/quanta/data/toolbars/html5/style.actions b/quanta/data/toolbars/html5/style.actions
new file mode 100644
index 00000000..39b8e124
--- /dev/null
+++ b/quanta/data/toolbars/html5/style.actions
@@ -0,0 +1,121 @@
+<!DOCTYPE actionsconfig>
+<actions>
+ <action shortcut="" icon="html5_a" type="tag" tooltip="" name="a" text="a" >
+ <tag useDialog="false" >&lt;a href=""&gt;</tag>
+ <xtag use="true" >&lt;/a&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_strong" type="tag" tooltip="" name="strong" text="strong" >
+ <tag useDialog="false" >&lt;strong&gt;</tag>
+ <xtag use="true" >&lt;/strong&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_i" type="tag" tooltip="" name="i" text="i" >
+ <tag useDialog="false" >&lt;i&gt;</tag>
+ <xtag use="true" >&lt;/i&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_b" type="tag" tooltip="" name="b" text="b" >
+ <tag useDialog="false" >&lt;b&gt;</tag>
+ <xtag use="true" >&lt;/b&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_del" type="tag" tooltip="" name="del" text="del" >
+ <tag useDialog="false" >&lt;del&gt;</tag>
+ <xtag use="true" >&lt;/del&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_small" type="tag" tooltip="" name="small" text="small" >
+ <tag useDialog="false" >&lt;small&gt;</tag>
+ <xtag use="true" >&lt;/small&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_big" type="tag" tooltip="" name="big" text="big" >
+ <tag useDialog="false" >&lt;big&gt;</tag>
+ <xtag use="true" >&lt;/big&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_font" type="tag" tooltip="" name="font" text="font" >
+ <tag useDialog="false" >&lt;font&gt;</tag>
+ <xtag use="true" >&lt;/font&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_code" type="tag" tooltip="" name="code" text="code" >
+ <tag useDialog="false" >&lt;code&gt;</tag>
+ <xtag use="true" >&lt;/code&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_var" type="tag" tooltip="" name="var" text="var" >
+ <tag useDialog="false" >&lt;var&gt;</tag>
+ <xtag use="true" >&lt;/var&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_kbd" type="tag" tooltip="" name="kbd" text="kbd" >
+ <tag useDialog="false" >&lt;kbd&gt;</tag>
+ <xtag use="true" >&lt;/kbd&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_samp" type="tag" tooltip="" name="samp" text="samp" >
+ <tag useDialog="false" >&lt;samp&gt;</tag>
+ <xtag use="true" >&lt;/samp&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_sup" type="tag" tooltip="" name="sup" text="sup" >
+ <tag useDialog="false" >&lt;sup&gt;</tag>
+ <xtag use="true" >&lt;/sup&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_sub" type="tag" tooltip="" name="sub" text="sub" >
+ <tag useDialog="false" >&lt;sub&gt;</tag>
+ <xtag use="true" >&lt;/sub&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_q" type="tag" tooltip="" name="q" text="q" >
+ <tag useDialog="false" >&lt;q&gt;</tag>
+ <xtag use="true" >&lt;/q&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_ins" type="tag" tooltip="" name="ins" text="ins" >
+ <tag useDialog="false" >&lt;ins&gt;</tag>
+ <xtag use="true" >&lt;/ins&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_cite" type="tag" tooltip="" name="cite" text="cite" >
+ <tag useDialog="false" >&lt;cite&gt;</tag>
+ <xtag use="true" >&lt;/cite&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_time" type="tag" tooltip="" name="time" text="time" >
+ <tag useDialog="false" >&lt;time&gt;</tag>
+ <xtag use="true" >&lt;/time&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_abbr" type="tag" tooltip="" name="abbr" text="abbr" >
+ <tag useDialog="false" >&lt;abbr title=""&gt;</tag>
+ <xtag use="true" >&lt;/abbr&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_data" type="tag" tooltip="" name="data" text="data" >
+ <tag useDialog="false" >&lt;data value=""&gt;</tag>
+ <xtag use="true" >&lt;/data&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_mark" type="tag" tooltip="" name="mark" text="mark" >
+ <tag useDialog="false" >&lt;mark&gt;</tag>
+ <xtag use="true" >&lt;/mark&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_u" type="tag" tooltip="" name="u" text="u" >
+ <tag useDialog="false" >&lt;u&gt;</tag>
+ <xtag use="true" >&lt;/u&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_bdi" type="tag" tooltip="" name="bdi" text="bdi" >
+ <tag useDialog="false" >&lt;bdi&gt;</tag>
+ <xtag use="true" >&lt;/bdi&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_bdo" type="tag" tooltip="" name="bdo" text="bdo" >
+ <tag useDialog="false" >&lt;bdo dir=""&gt;</tag>
+ <xtag use="true" >&lt;/bdo&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_ruby" type="tag" tooltip="" name="ruby" text="ruby" >
+ <tag useDialog="false" >&lt;ruby&gt;</tag>
+ <xtag use="true" >&lt;/ruby&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_rt" type="tag" tooltip="" name="rt" text="rt" >
+ <tag useDialog="false" >&lt;rt&gt;</tag>
+ <xtag use="true" >&lt;/rt&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_rp" type="tag" tooltip="" name="rp" text="rp" >
+ <tag useDialog="false" >&lt;rp&gt;</tag>
+ <xtag use="true" >&lt;/rp&gt;</xtag>
+ </action>
+ <action shortcut="" icon="html5_br" type="tag" tooltip="" name="br" text="br" >
+ <tag useDialog="false" >&lt;br&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_wbr" type="tag" tooltip="" name="wbr" text="wbr" >
+ <tag useDialog="false" >&lt;wbr&gt;</tag>
+ </action>
+ <action shortcut="" icon="html5_span" type="tag" tooltip="" name="span" text="span" >
+ <tag useDialog="false" >&lt;span&gt;</tag>
+ <xtag use="true" >&lt;/span&gt;</xtag>
+ </action>
+</actions>
diff --git a/quanta/data/toolbars/html5/style.toolbar b/quanta/data/toolbars/html5/style.toolbar
new file mode 100644
index 00000000..99f215cd
--- /dev/null
+++ b/quanta/data/toolbars/html5/style.toolbar
@@ -0,0 +1,36 @@
+<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
+<kpartgui name="quanta" version="2">
+ <ToolBar tabname="Style" noMerge="1" name="style" >
+ <text>Style</text>
+ <Action name="a" />
+ <Action name="strong" />
+ <Action name="i" />
+ <Action name="b" />
+ <Action name="del" />
+ <Action name="small" />
+ <Action name="big" />
+ <Action name="font" />
+ <Action name="code" />
+ <Action name="var" />
+ <Action name="kbd" />
+ <Action name="samp" />
+ <Action name="sup" />
+ <Action name="sub" />
+ <Action name="q" />
+ <Action name="ins" />
+ <Action name="cite" />
+ <Action name="time" />
+ <Action name="abbr" />
+ <Action name="data" />
+ <Action name="mark" />
+ <Action name="u" />
+ <Action name="bdi" />
+ <Action name="bdo" />
+ <Action name="ruby" />
+ <Action name="rt" />
+ <Action name="rp" />
+ <Action name="br" />
+ <Action name="wbr" />
+ <Action name="span" />
+ </ToolBar>
+</kpartgui>
diff --git a/quanta/data/toolbars/html5/tools.actions b/quanta/data/toolbars/html5/tools.actions
new file mode 100644
index 00000000..bbae9334
--- /dev/null
+++ b/quanta/data/toolbars/html5/tools.actions
@@ -0,0 +1,6 @@
+<!DOCTYPE actionsconfig>
+<actions>
+ <action shortcut="" icon="quick_start.png" type="script" tooltip="Kommander Quick Start Dialog" name="tag_quick_start_html5" text="Quick Start Dialog" >
+ <script output="new" error="message" input="none" >kmdr-executor -c quanta %scriptdir/htmlquickstart5.kmdr</script>
+ </action>
+</actions>
diff --git a/quanta/data/toolbars/html5/tools.toolbar b/quanta/data/toolbars/html5/tools.toolbar
new file mode 100644
index 00000000..348dbc03
--- /dev/null
+++ b/quanta/data/toolbars/html5/tools.toolbar
@@ -0,0 +1,13 @@
+<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
+<kpartgui name="quanta" version="2">
+ <ToolBar tabname="Tools" noMerge="1" name="tools" >
+ <text>Tools</text>
+ <Action name="tag_quick_start_html5" />
+ <Action name="insert_css" />
+ <Action name="tag_color" />
+ <Action name="tag_edit_table" />
+ <Action name="tag_quick_list" />
+ <Action name="tag_nbsp" />
+ <Action name="insert_char" />
+ </ToolBar>
+</kpartgui>
diff --git a/quanta/dialogs/CMakeLists.txt b/quanta/dialogs/CMakeLists.txt
index 22debbf3..69d43876 100644
--- a/quanta/dialogs/CMakeLists.txt
+++ b/quanta/dialogs/CMakeLists.txt
@@ -19,6 +19,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/dialogs
${CMAKE_SOURCE_DIR}/quanta/src
${CMAKE_SOURCE_DIR}/quanta/parsers
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/dialogs/actionconfigdialog.cpp b/quanta/dialogs/actionconfigdialog.cpp
index a1a53eab..b93e9bcd 100644
--- a/quanta/dialogs/actionconfigdialog.cpp
+++ b/quanta/dialogs/actionconfigdialog.cpp
@@ -63,18 +63,18 @@ ActionConfigDialog::ActionConfigDialog(const TQDict<ToolbarEntry> &toolbarList,
currentAction = 0L;
m_toolbarItem = 0L;
- connect(actionTreeView, TQT_SIGNAL(contextMenu(TDEListView *,TQListViewItem *,const TQPoint &)),
- TQT_SLOT(slotContextMenu(TDEListView *,TQListViewItem *,const TQPoint &)));
- connect(actionTreeView, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- TQT_SLOT(slotSelectionChanged(TQListViewItem *)));
- connect(shortcutKeyButton, TQT_SIGNAL(capturedShortcut(const TDEShortcut &)),
- TQT_SLOT(slotShortcutCaptured(const TDEShortcut &)));
- connect(scriptPath, TQT_SIGNAL(activated(const TQString&)),
- TQT_SLOT(slotTextChanged(const TQString&)));
- connect(this, TQT_SIGNAL(addToolbar()), m_mainWindow, TQT_SLOT(slotAddToolbar()));
- connect(this, TQT_SIGNAL(removeToolbar(const TQString&)), m_mainWindow, TQT_SLOT(slotRemoveToolbar(const TQString&)));
- connect(this, TQT_SIGNAL(deleteUserAction(TDEAction*)), m_mainWindow, TQT_SLOT(slotDeleteAction(TDEAction*)));
- connect(this, TQT_SIGNAL(configureToolbars(const TQString&)), m_mainWindow, TQT_SLOT(slotConfigureToolbars(const TQString&)));
+ connect(actionTreeView, TQ_SIGNAL(contextMenu(TDEListView *,TQListViewItem *,const TQPoint &)),
+ TQ_SLOT(slotContextMenu(TDEListView *,TQListViewItem *,const TQPoint &)));
+ connect(actionTreeView, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ TQ_SLOT(slotSelectionChanged(TQListViewItem *)));
+ connect(shortcutKeyButton, TQ_SIGNAL(capturedShortcut(const TDEShortcut &)),
+ TQ_SLOT(slotShortcutCaptured(const TDEShortcut &)));
+ connect(scriptPath, TQ_SIGNAL(activated(const TQString&)),
+ TQ_SLOT(slotTextChanged(const TQString&)));
+ connect(this, TQ_SIGNAL(addToolbar()), m_mainWindow, TQ_SLOT(slotAddToolbar()));
+ connect(this, TQ_SIGNAL(removeToolbar(const TQString&)), m_mainWindow, TQ_SLOT(slotRemoveToolbar(const TQString&)));
+ connect(this, TQ_SIGNAL(deleteUserAction(TDEAction*)), m_mainWindow, TQ_SLOT(slotDeleteAction(TDEAction*)));
+ connect(this, TQ_SIGNAL(configureToolbars(const TQString&)), m_mainWindow, TQ_SLOT(slotConfigureToolbars(const TQString&)));
//fill up the tree view with the toolbars and actions
actionTreeView->setSorting(-1);
allActionsItem = new TDEListViewItem(actionTreeView, i18n("All"));
@@ -148,9 +148,9 @@ ActionConfigDialog::ActionConfigDialog(const TQDict<ToolbarEntry> &toolbarList,
allActionsItem->sortChildItems(0, true);
treeMenu = new TDEPopupMenu(actionTreeView);
- treeMenu->insertItem(i18n("&Add New Toolbar"), this, TQT_SLOT(slotAddToolbar()));
- treeMenu->insertItem(i18n("&Remove Toolbar"), this, TQT_SLOT(slotRemoveToolbar()));
- treeMenu->insertItem(i18n("&Edit Toolbar"), this, TQT_SLOT(slotEditToolbar()));
+ treeMenu->insertItem(i18n("&Add New Toolbar"), this, TQ_SLOT(slotAddToolbar()));
+ treeMenu->insertItem(i18n("&Remove Toolbar"), this, TQ_SLOT(slotRemoveToolbar()));
+ treeMenu->insertItem(i18n("&Edit Toolbar"), this, TQ_SLOT(slotEditToolbar()));
globalShortcuts = TDEGlobal::config()->entryMap( "Global Shortcuts" );
}
@@ -193,7 +193,7 @@ void ActionConfigDialog::slotRemoveToolbar()
if ( KMessageBox::warningContinueCancel(this, i18n("Do you really want to remove the \"%1\" toolbar?").arg(s),TQString(),KStdGuiItem::del()) == KMessageBox::Continue )
{
m_toolbarItem = item;
- connect(m_mainWindow, TQT_SIGNAL(toolbarRemoved(const TQString&)), TQT_SLOT(slotToolbarRemoved(const TQString&)));
+ connect(m_mainWindow, TQ_SIGNAL(toolbarRemoved(const TQString&)), TQ_SLOT(slotToolbarRemoved(const TQString&)));
emit removeToolbar(s.lower());
}
}
@@ -204,7 +204,7 @@ void ActionConfigDialog::slotToolbarRemoved(const TQString &/*name*/)
actionTreeView->setCurrentItem(allActionsItem);
delete m_toolbarItem;
m_toolbarItem = 0L;
- disconnect(m_mainWindow, TQT_SIGNAL(toolbarRemoved(const TQString&)), this, TQT_SLOT(slotToolbarRemoved(const TQString&)));
+ disconnect(m_mainWindow, TQ_SIGNAL(toolbarRemoved(const TQString&)), this, TQ_SLOT(slotToolbarRemoved(const TQString&)));
}
void ActionConfigDialog::slotEditToolbar()
diff --git a/quanta/dialogs/actionconfigdialog.h b/quanta/dialogs/actionconfigdialog.h
index 853d839a..bd13c11b 100644
--- a/quanta/dialogs/actionconfigdialog.h
+++ b/quanta/dialogs/actionconfigdialog.h
@@ -41,7 +41,7 @@ struct ToolbarEntry {
class ActionConfigDialog: public ActionConfigDialogS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/dialogs/actionconfigdialogs.ui b/quanta/dialogs/actionconfigdialogs.ui
index fae092c2..1a56c42b 100644
--- a/quanta/dialogs/actionconfigdialogs.ui
+++ b/quanta/dialogs/actionconfigdialogs.ui
@@ -972,11 +972,7 @@
<tabstop>buttonApply</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kkeybutton.h</include>
- <include location="global" impldecl="in implementation">kpushbutton.h</include>
-</includes>
-<Q_SLOTS>
+<slots>
<slot>buttonOk_clicked()</slot>
<slot>slotNewAction()</slot>
<slot>slotDeleteAction()</slot>
@@ -989,13 +985,14 @@
<slot>shortcutKeyButton_toggled(bool)</slot>
<slot>slotToggled(bool)</slot>
<slot>slotTextChanged()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
- <includehint>kicondialog.h</includehint>
- <includehint>kkeybutton.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>filecombo.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kkeybutton.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">kicondialog.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">filecombo.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/copyto.cpp b/quanta/dialogs/copyto.cpp
index b5c53356..a7d5a55b 100644
--- a/quanta/dialogs/copyto.cpp
+++ b/quanta/dialogs/copyto.cpp
@@ -63,8 +63,8 @@ KURL CopyTo::copy(const KURL& urlToCopy, const KURL& destination)
destURL.adjustPath(1);
TDEIO::CopyJob *job = TDEIO::copy(urlToCopy, destURL, true);
- connect( job, TQT_SIGNAL(result( TDEIO::Job *)),
- TQT_SLOT (slotResult( TDEIO::Job *)));
+ connect( job, TQ_SIGNAL(result( TDEIO::Job *)),
+ TQ_SLOT (slotResult( TDEIO::Job *)));
TQString path = destURL.path();
if (path != "." && path != "..")
@@ -117,8 +117,8 @@ KURL::List CopyTo::copy(const KURL::List& sourceList, const KURL& destination )
}
TDEIO::CopyJob *job = TDEIO::copy(sourceList, targetDirURL, true);
- connect( job, TQT_SIGNAL(result( TDEIO::Job *)),
- TQT_SLOT (slotResult( TDEIO::Job *)));
+ connect( job, TQ_SIGNAL(result( TDEIO::Job *)),
+ TQ_SLOT (slotResult( TDEIO::Job *)));
}
return m_destList;
diff --git a/quanta/dialogs/copyto.h b/quanta/dialogs/copyto.h
index 3e021e0a..212bd014 100644
--- a/quanta/dialogs/copyto.h
+++ b/quanta/dialogs/copyto.h
@@ -29,7 +29,7 @@
class KURL;
class CopyTo : public TQObject{
-Q_OBJECT
+TQ_OBJECT
public:
CopyTo(const KURL& dirURL);
diff --git a/quanta/dialogs/dirtydlg.cpp b/quanta/dialogs/dirtydlg.cpp
index 720c3d8a..6f8f2b6c 100644
--- a/quanta/dialogs/dirtydlg.cpp
+++ b/quanta/dialogs/dirtydlg.cpp
@@ -56,7 +56,7 @@ void DirtyDlg::slotOk()
TDEProcess *proc = new TDEProcess();
*proc << "kompare" << m_src.path() << m_dest.path();
proc->start();
- connect(proc, TQT_SIGNAL(processExited(TDEProcess*)),TQT_SLOT(slotCompareDone(TDEProcess*)));
+ connect(proc, TQ_SIGNAL(processExited(TDEProcess*)),TQ_SLOT(slotCompareDone(TDEProcess*)));
enableButton(KDialogBase::Ok, false);
enableButton(KDialogBase::Cancel, false);
} else
@@ -88,8 +88,8 @@ void DirtyDlg::slotCompareDone(TDEProcess* proc)
//TODO: Replace with TDEIO::NetAccess::file_move, when KDE 3.1 support
//is dropped
TDEIO::FileCopyJob *job = TDEIO::file_move(m_dest, m_src, m_permissions, true, false,false );
- connect( job, TQT_SIGNAL(result( TDEIO::Job *)),
- TQT_SLOT (slotResult( TDEIO::Job *)));
+ connect( job, TQ_SIGNAL(result( TDEIO::Job *)),
+ TQ_SLOT (slotResult( TDEIO::Job *)));
}
diff --git a/quanta/dialogs/dirtydlg.h b/quanta/dialogs/dirtydlg.h
index 5fd14e36..f8264a1c 100644
--- a/quanta/dialogs/dirtydlg.h
+++ b/quanta/dialogs/dirtydlg.h
@@ -27,7 +27,7 @@ class TDEProcess;
class TQCloseEvent;
class DirtyDlg : public KDialogBase {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/dialogs/donationdialog.ui b/quanta/dialogs/donationdialog.ui
index 2914bef2..0d632baf 100644
--- a/quanta/dialogs/donationdialog.ui
+++ b/quanta/dialogs/donationdialog.ui
@@ -143,13 +143,12 @@ is the future of software, but it is no guarantee of success. How many open sour
<tabstop>KTextBrowser2</tabstop>
<tabstop>closeButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>init()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
- <includehint>ktextbrowser.h</includehint>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/dtdselectdialog.ui b/quanta/dialogs/dtdselectdialog.ui
index cd6a079b..21b08abf 100644
--- a/quanta/dialogs/dtdselectdialog.ui
+++ b/quanta/dialogs/dtdselectdialog.ui
@@ -105,8 +105,8 @@ Dialog message2:</string>
<includes>
<include location="local" impldecl="in implementation">dtdselectdialog.ui.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>init()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/quanta/dialogs/dtepeditdlg.h b/quanta/dialogs/dtepeditdlg.h
index a570881d..e53a2988 100644
--- a/quanta/dialogs/dtepeditdlg.h
+++ b/quanta/dialogs/dtepeditdlg.h
@@ -55,7 +55,7 @@ struct StructGroup {
class DTEPEditDlg : public DTEPEditDlgS
{
- Q_OBJECT
+ TQ_OBJECT
public:
DTEPEditDlg(const TQString& descriptionFile, TQWidget *parent = 0, const char *name = 0);
diff --git a/quanta/dialogs/dtepeditdlgs.ui b/quanta/dialogs/dtepeditdlgs.ui
index 32e6c8f7..ca68fcff 100644
--- a/quanta/dialogs/dtepeditdlgs.ui
+++ b/quanta/dialogs/dtepeditdlgs.ui
@@ -1957,11 +1957,16 @@ Example: &lt;b&gt;//&amp;nbsp;EOL,&amp;nbsp;/*&amp;nbsp;*/&lt;/b&gt;</string>
<tabstop>editStructButton</tabstop>
<tabstop>deleteStructButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">slotEditStructGroup()</slot>
<slot>slotAddStructGroup()</slot>
<slot>slotDeleteStructGroup()</slot>
<slot>slotFamilyChanged(int)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/dtepstructureeditdlgs.ui b/quanta/dialogs/dtepstructureeditdlgs.ui
index ce90582b..0a8de386 100644
--- a/quanta/dialogs/dtepstructureeditdlgs.ui
+++ b/quanta/dialogs/dtepstructureeditdlgs.ui
@@ -640,7 +640,9 @@ The first captured area (between "&lt;b&gt;(&lt;/b&gt;" and "&lt;b&gt;)&lt;/b&gt
<tabstop>classGroup</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kicondialog.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kicondialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/filecombo.cpp b/quanta/dialogs/filecombo.cpp
index 1293d8b4..2f5938f1 100644
--- a/quanta/dialogs/filecombo.cpp
+++ b/quanta/dialogs/filecombo.cpp
@@ -47,9 +47,9 @@ FileCombo::FileCombo(const KURL& a_baseURL, TQWidget *parent, const char *name )
layout ->addWidget( combo );
layout ->addWidget( button );
- connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFileSelect()) );
- connect( combo, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotComboActivated(const TQString&)));
- connect( combo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotComboActivated(const TQString&)));
+ connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFileSelect()) );
+ connect( combo, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotComboActivated(const TQString&)));
+ connect( combo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotComboActivated(const TQString&)));
setFocusProxy(combo);
}
@@ -69,9 +69,9 @@ FileCombo::FileCombo( TQWidget *parent, const char *name )
layout ->addWidget( combo );
layout ->addWidget( button );
- connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFileSelect()) );
- connect( combo, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotComboActivated(const TQString&)));
- connect( combo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotComboActivated(const TQString&)));
+ connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFileSelect()) );
+ connect( combo, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotComboActivated(const TQString&)));
+ connect( combo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotComboActivated(const TQString&)));
setFocusProxy(combo);
}
diff --git a/quanta/dialogs/filecombo.h b/quanta/dialogs/filecombo.h
index 3288cd85..ebeef6fe 100644
--- a/quanta/dialogs/filecombo.h
+++ b/quanta/dialogs/filecombo.h
@@ -30,7 +30,7 @@ class TQPushButton;
class KURL;
class FileCombo : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
FileCombo(const KURL& a_baseURL, TQWidget *parent=0, const char *name=0);
diff --git a/quanta/dialogs/fourbuttonmessagebox.ui b/quanta/dialogs/fourbuttonmessagebox.ui
index ec85fa91..924eb83e 100644
--- a/quanta/dialogs/fourbuttonmessagebox.ui
+++ b/quanta/dialogs/fourbuttonmessagebox.ui
@@ -147,16 +147,17 @@
</connections>
<includes>
<include location="local" impldecl="in implementation">fourbuttonmessagebox.ui.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
<variables>
<variable>int m_status;</variable>
</variables>
-<Q_SLOTS>
+<slots>
<slot>cancelButton_clicked()</slot>
<slot>user1Button_clicked()</slot>
<slot>user2Button_clicked()</slot>
<slot>user3Button_clicked()</slot>
-</Q_SLOTS>
+</slots>
<functions>
<function specifier="non virtual" returnType="int">status()</function>
</functions>
diff --git a/quanta/dialogs/loadentitydlgs.ui b/quanta/dialogs/loadentitydlgs.ui
index 10950ae7..d6adcd29 100644
--- a/quanta/dialogs/loadentitydlgs.ui
+++ b/quanta/dialogs/loadentitydlgs.ui
@@ -69,4 +69,8 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/settings/CMakeLists.txt b/quanta/dialogs/settings/CMakeLists.txt
index c5d96b02..74396c31 100644
--- a/quanta/dialogs/settings/CMakeLists.txt
+++ b/quanta/dialogs/settings/CMakeLists.txt
@@ -14,6 +14,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/parsers
${CMAKE_SOURCE_DIR}/quanta/src
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/dialogs/settings/abbreviation.cpp b/quanta/dialogs/settings/abbreviation.cpp
index 85d3065b..8d3aa45c 100644
--- a/quanta/dialogs/settings/abbreviation.cpp
+++ b/quanta/dialogs/settings/abbreviation.cpp
@@ -98,7 +98,7 @@ void AbbreviationDlg::slotNewGroup()
if (qConfig.abbreviations.contains(groupName))
{
KMessageBox::error(this, i18n("<qt>There is already an abbreviation group called <b>%1</b>. Choose an unique name for the new group.</qt>").arg(groupName), i18n("Group already exists"));
- TQTimer::singleShot(0, this, TQT_SLOT(slotNewGroup()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotNewGroup()));
} else
{
groupCombo->insertItem(groupName);
diff --git a/quanta/dialogs/settings/abbreviation.h b/quanta/dialogs/settings/abbreviation.h
index 39f49ff3..35120764 100644
--- a/quanta/dialogs/settings/abbreviation.h
+++ b/quanta/dialogs/settings/abbreviation.h
@@ -26,7 +26,7 @@ struct DTDStruct;
class AbbreviationDlg : public AbbreviationDlgS
{
- Q_OBJECT
+ TQ_OBJECT
public:
AbbreviationDlg(TQWidget *parent, const char *name = 0);
diff --git a/quanta/dialogs/settings/abbreviations.ui b/quanta/dialogs/settings/abbreviations.ui
index fc53fe16..7782617d 100644
--- a/quanta/dialogs/settings/abbreviations.ui
+++ b/quanta/dialogs/settings/abbreviations.ui
@@ -337,7 +337,7 @@
<forwards>
<forward>class TQListViewItem;</forward>
</forwards>
-<Q_SLOTS>
+<slots>
<slot>slotTemplateSelectionChanged(TQListViewItem*)</slot>
<slot>dtdCombo_activated(const TQString&amp;)</slot>
<slot>slotGroupChanged(const TQString&amp;)</slot>
@@ -348,10 +348,12 @@
<slot>slotAddDTEP()</slot>
<slot>slotRemoveDTEP()</slot>
<slot>slotNewGroup()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/settings/codetemplatedlgs.ui b/quanta/dialogs/settings/codetemplatedlgs.ui
index 7a1367b9..d7e28e55 100644
--- a/quanta/dialogs/settings/codetemplatedlgs.ui
+++ b/quanta/dialogs/settings/codetemplatedlgs.ui
@@ -72,10 +72,10 @@
<tabstop>templateEdit</tabstop>
<tabstop>descriptionEdit</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>accept()</slot>
<slot>reject()</slot>
<slot>pushButton4_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/quanta/dialogs/settings/filemasks.cpp b/quanta/dialogs/settings/filemasks.cpp
index fee135f8..5688b920 100644
--- a/quanta/dialogs/settings/filemasks.cpp
+++ b/quanta/dialogs/settings/filemasks.cpp
@@ -26,7 +26,7 @@
FileMasks::FileMasks(TQWidget *parent, const char *name)
:FileMasksS(parent,name)
{
- connect(buttonDefault, TQT_SIGNAL(clicked()), this, TQT_SLOT(setToDefault()));
+ connect(buttonDefault, TQ_SIGNAL(clicked()), this, TQ_SLOT(setToDefault()));
}
FileMasks::~FileMasks(){
diff --git a/quanta/dialogs/settings/filemasks.h b/quanta/dialogs/settings/filemasks.h
index 1a76334e..08f49cb1 100644
--- a/quanta/dialogs/settings/filemasks.h
+++ b/quanta/dialogs/settings/filemasks.h
@@ -23,7 +23,7 @@
class FileMasks : public FileMasksS
{
- Q_OBJECT
+ TQ_OBJECT
public:
FileMasks(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/dialogs/settings/parseroptions.h b/quanta/dialogs/settings/parseroptions.h
index 89058786..bd37836b 100644
--- a/quanta/dialogs/settings/parseroptions.h
+++ b/quanta/dialogs/settings/parseroptions.h
@@ -22,7 +22,7 @@ class TDEConfig;
class ParserOptions : public ParserOptionsUI
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/dialogs/settings/previewoptions.h b/quanta/dialogs/settings/previewoptions.h
index f688d02d..d92315ed 100644
--- a/quanta/dialogs/settings/previewoptions.h
+++ b/quanta/dialogs/settings/previewoptions.h
@@ -23,7 +23,7 @@
class TDEConfig;
class PreviewOptions : public PreviewOptionsS {
- Q_OBJECT
+ TQ_OBJECT
public:
PreviewOptions(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/dialogs/specialchardialog.cpp b/quanta/dialogs/specialchardialog.cpp
index b9f90264..378c0c22 100644
--- a/quanta/dialogs/specialchardialog.cpp
+++ b/quanta/dialogs/specialchardialog.cpp
@@ -31,13 +31,13 @@
SpecialCharDialog::SpecialCharDialog( TQWidget* parent, const char* name, bool modal, WFlags fl)
:SpecialCharDialogS( parent, name, modal, fl )
{
- connect ( FilterLineEdit, TQT_SIGNAL(textChanged(const TQString&)),
- TQT_SLOT(filterChars(const TQString&)) );
- connect ( CharsListBox, TQT_SIGNAL(doubleClicked(TQListBoxItem*)),
- TQT_SLOT(insertCode()) );
- connect (buttonOk, TQT_SIGNAL(clicked()), TQT_SLOT(insertCode()));
- connect (buttonChar, TQT_SIGNAL(clicked()), TQT_SLOT(insertChar()));
- connect (buttonCancel, TQT_SIGNAL(clicked()), TQT_SLOT(cancel()));
+ connect ( FilterLineEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ TQ_SLOT(filterChars(const TQString&)) );
+ connect ( CharsListBox, TQ_SIGNAL(doubleClicked(TQListBoxItem*)),
+ TQ_SLOT(insertCode()) );
+ connect (buttonOk, TQ_SIGNAL(clicked()), TQ_SLOT(insertCode()));
+ connect (buttonChar, TQ_SIGNAL(clicked()), TQ_SLOT(insertChar()));
+ connect (buttonCancel, TQ_SIGNAL(clicked()), TQ_SLOT(cancel()));
filterChars("");
}
diff --git a/quanta/dialogs/specialchardialog.h b/quanta/dialogs/specialchardialog.h
index 807ece8f..75cc935b 100644
--- a/quanta/dialogs/specialchardialog.h
+++ b/quanta/dialogs/specialchardialog.h
@@ -23,7 +23,7 @@
class SpecialCharDialog : public SpecialCharDialogS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/dialogs/specialchardialogs.ui b/quanta/dialogs/specialchardialogs.ui
index c10bc62e..136e181b 100644
--- a/quanta/dialogs/specialchardialogs.ui
+++ b/quanta/dialogs/specialchardialogs.ui
@@ -94,9 +94,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -146,8 +143,8 @@
<tabstop>buttonCancel</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/tagdialogs/CMakeLists.txt b/quanta/dialogs/tagdialogs/CMakeLists.txt
index 7d478f6d..7a53c140 100644
--- a/quanta/dialogs/tagdialogs/CMakeLists.txt
+++ b/quanta/dialogs/tagdialogs/CMakeLists.txt
@@ -18,6 +18,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/src
${CMAKE_SOURCE_DIR}/quanta/parts/kafka
${CMAKE_SOURCE_DIR}/quanta/components/csseditor
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -33,4 +36,6 @@ tde_add_library( tagdialogs STATIC_PIC AUTOMOC
tagimgdlg.cpp tagxml.cpp tagwidget.cpp
colorcombo.cpp tagimgdlgdata.cpp tagmiscdlg.cpp
tagmail.ui
+ LINK
+ tdeabc-shared
)
diff --git a/quanta/dialogs/tagdialogs/colorcombo.cpp b/quanta/dialogs/tagdialogs/colorcombo.cpp
index 5b735fcf..c12f2136 100644
--- a/quanta/dialogs/tagdialogs/colorcombo.cpp
+++ b/quanta/dialogs/tagdialogs/colorcombo.cpp
@@ -78,8 +78,8 @@ ColorCombo::ColorCombo( TQWidget *parent, const char *name )
addColors();
- connect( this, TQT_SIGNAL( activated(int) ), TQT_SLOT( slotActivated(int) ) );
- connect( this, TQT_SIGNAL( highlighted(int) ), TQT_SLOT( slotHighlighted(int) ) );
+ connect( this, TQ_SIGNAL( activated(int) ), TQ_SLOT( slotActivated(int) ) );
+ connect( this, TQ_SIGNAL( highlighted(int) ), TQ_SLOT( slotHighlighted(int) ) );
}
ColorCombo::~ColorCombo()
diff --git a/quanta/dialogs/tagdialogs/colorcombo.h b/quanta/dialogs/tagdialogs/colorcombo.h
index 0c05dc5a..ad6209d1 100644
--- a/quanta/dialogs/tagdialogs/colorcombo.h
+++ b/quanta/dialogs/tagdialogs/colorcombo.h
@@ -39,7 +39,7 @@
*/
class ColorCombo : public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
ColorCombo( TQWidget *parent = 0L, const char *name = 0L );
diff --git a/quanta/dialogs/tagdialogs/listdlg.cpp b/quanta/dialogs/tagdialogs/listdlg.cpp
index eeb6bfc2..413add61 100644
--- a/quanta/dialogs/tagdialogs/listdlg.cpp
+++ b/quanta/dialogs/tagdialogs/listdlg.cpp
@@ -42,7 +42,7 @@ ListDlg::ListDlg(TQStringList &entryList,TQWidget* parent, const char *name )
adjustSize();
resize(sizeHint());
- connect(listbox,TQT_SIGNAL(doubleClicked( TQListBoxItem * )), TQT_SLOT(slotOk()));
+ connect(listbox,TQ_SIGNAL(doubleClicked( TQListBoxItem * )), TQ_SLOT(slotOk()));
}
ListDlg::~ListDlg(){
diff --git a/quanta/dialogs/tagdialogs/listdlg.h b/quanta/dialogs/tagdialogs/listdlg.h
index 3d190ae7..74663c1f 100644
--- a/quanta/dialogs/tagdialogs/listdlg.h
+++ b/quanta/dialogs/tagdialogs/listdlg.h
@@ -31,7 +31,7 @@ selected item with the getEntry() method.
*/
class ListDlg : public KDialogBase {
-Q_OBJECT
+TQ_OBJECT
public:
ListDlg(TQStringList &entryList,TQWidget* parent=0, const char *name =0);
diff --git a/quanta/dialogs/tagdialogs/pictureview.h b/quanta/dialogs/tagdialogs/pictureview.h
index 2ee4cfd0..759ee335 100644
--- a/quanta/dialogs/tagdialogs/pictureview.h
+++ b/quanta/dialogs/tagdialogs/pictureview.h
@@ -28,7 +28,7 @@ used by TagImgDlg
*/
class PictureView : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
PictureView(TQWidget *parent=0, char *file=0, const char *name=0);
diff --git a/quanta/dialogs/tagdialogs/tagdialog.cpp b/quanta/dialogs/tagdialogs/tagdialog.cpp
index 7db3c307..b788bb3a 100644
--- a/quanta/dialogs/tagdialogs/tagdialog.cpp
+++ b/quanta/dialogs/tagdialogs/tagdialog.cpp
@@ -118,8 +118,8 @@ void TagDialog::init(TQTag *a_dtdTag, KURL a_baseURL)
setOkButton(KStdGuiItem::ok().text());
setCancelButton(KStdGuiItem::cancel().text());
- connect( this, TQT_SIGNAL(applyButtonPressed()), TQT_SLOT(slotAccept()) );
- connect( this, TQT_SIGNAL(cancelButtonPressed()), TQT_SLOT(reject()) );
+ connect( this, TQ_SIGNAL(applyButtonPressed()), TQ_SLOT(slotAccept()) );
+ connect( this, TQ_SIGNAL(cancelButtonPressed()), TQ_SLOT(reject()) );
if (!a_dtdTag) //the tag is invalid, let's create a default one
{
diff --git a/quanta/dialogs/tagdialogs/tagdialog.h b/quanta/dialogs/tagdialogs/tagdialog.h
index 21ad7b0f..4d9c3fb5 100644
--- a/quanta/dialogs/tagdialogs/tagdialog.h
+++ b/quanta/dialogs/tagdialogs/tagdialog.h
@@ -38,7 +38,7 @@ class KURL;
class TQShowEvent;
class TagDialog : public TQTabDialog {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/dialogs/tagdialogs/tagimgdlg.cpp b/quanta/dialogs/tagdialogs/tagimgdlg.cpp
index 4c9531ee..02e61726 100644
--- a/quanta/dialogs/tagdialogs/tagimgdlg.cpp
+++ b/quanta/dialogs/tagdialogs/tagimgdlg.cpp
@@ -36,7 +36,7 @@
TagImgDlg::TagImgDlg(const DTDStruct *dtd, TQWidget *parent, const char *name)
- : TQWidget(parent,name), TagWidget(TQT_TQOBJECT(parent),name)
+ : TQWidget(parent,name), TagWidget(parent,name)
{
m_dtd = dtd;
img = 0L;
@@ -45,9 +45,9 @@ TagImgDlg::TagImgDlg(const DTDStruct *dtd, TQWidget *parent, const char *name)
initDialog();
- connect( buttonImgSource, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFileSelect()) );
- connect( buttonRecalcImgSize, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRecalcImgSize()) );
- connect( lineImgSource, TQT_SIGNAL( returnPressed()), this, TQT_SLOT(slotLineFileSelect()) );
+ connect( buttonImgSource, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFileSelect()) );
+ connect( buttonRecalcImgSize, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRecalcImgSize()) );
+ connect( lineImgSource, TQ_SIGNAL( returnPressed()), this, TQ_SLOT(slotLineFileSelect()) );
}
TagImgDlg::~TagImgDlg()
diff --git a/quanta/dialogs/tagdialogs/tagimgdlg.h b/quanta/dialogs/tagdialogs/tagimgdlg.h
index 09d3a3ee..e09634ff 100644
--- a/quanta/dialogs/tagdialogs/tagimgdlg.h
+++ b/quanta/dialogs/tagdialogs/tagimgdlg.h
@@ -39,7 +39,7 @@ class TQImage;
*/
class TagImgDlg : public TQWidget, TagWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
TagImgDlg(const DTDStruct *dtd, TQWidget *parent=0, const char *name=0);
diff --git a/quanta/dialogs/tagdialogs/tagmail.ui b/quanta/dialogs/tagdialogs/tagmail.ui
index e7a71fa1..4072c177 100644
--- a/quanta/dialogs/tagdialogs/tagmail.ui
+++ b/quanta/dialogs/tagdialogs/tagmail.ui
@@ -127,4 +127,7 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/tagdialogs/tagmaildlg.cpp b/quanta/dialogs/tagdialogs/tagmaildlg.cpp
index ff91277d..925d79c0 100644
--- a/quanta/dialogs/tagdialogs/tagmaildlg.cpp
+++ b/quanta/dialogs/tagdialogs/tagmaildlg.cpp
@@ -40,9 +40,9 @@ TagMailDlg::TagMailDlg(TQWidget *parent, const char *name)
setCaption(name);
setModal(true);
- connect( buttonOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) );
- connect( buttonCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) );
- connect( buttonAddressSelect, TQT_SIGNAL(clicked()), TQT_SLOT(slotSelectAddress()) );
+ connect( buttonOk, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) );
+ connect( buttonCancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) );
+ connect( buttonAddressSelect, TQ_SIGNAL(clicked()), TQ_SLOT(slotSelectAddress()) );
buttonOk->setIconSet(SmallIconSet("button_ok"));
buttonCancel->setIconSet(SmallIconSet("button_cancel"));
lineEmail->setFocus();
diff --git a/quanta/dialogs/tagdialogs/tagmaildlg.h b/quanta/dialogs/tagdialogs/tagmaildlg.h
index 9cb82e5d..8a1a6e21 100644
--- a/quanta/dialogs/tagdialogs/tagmaildlg.h
+++ b/quanta/dialogs/tagdialogs/tagmaildlg.h
@@ -23,7 +23,7 @@
*/
class TagMailDlg : public TagMail {
-Q_OBJECT
+TQ_OBJECT
public:
TagMailDlg(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/dialogs/tagdialogs/tagmiscdlg.cpp b/quanta/dialogs/tagdialogs/tagmiscdlg.cpp
index bea9a81f..b95fe0e9 100644
--- a/quanta/dialogs/tagdialogs/tagmiscdlg.cpp
+++ b/quanta/dialogs/tagdialogs/tagmiscdlg.cpp
@@ -23,7 +23,7 @@ TagMiscDlg::TagMiscDlg( TQWidget* parent, const char* name, bool addClosingTag,
:KDialogBase( parent, name, true, i18n("Misc. Tag"), KDialogBase::Ok | KDialogBase::Cancel )
{
miscWidget = new TagMisc(this);
- connect( miscWidget->elementName, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotMiscTagChanged(const TQString & ) ) );
+ connect( miscWidget->elementName, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotMiscTagChanged(const TQString & ) ) );
setMainWidget(miscWidget);
miscWidget->addClosingTag->setChecked(addClosingTag);
miscWidget->elementName->setText(element);
diff --git a/quanta/dialogs/tagdialogs/tagmiscdlg.h b/quanta/dialogs/tagdialogs/tagmiscdlg.h
index 222d6bab..3c56ec07 100644
--- a/quanta/dialogs/tagdialogs/tagmiscdlg.h
+++ b/quanta/dialogs/tagdialogs/tagmiscdlg.h
@@ -23,7 +23,7 @@ class TagMisc;
class TagMiscDlg : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/dialogs/tagdialogs/tagquicklistdlg.cpp b/quanta/dialogs/tagdialogs/tagquicklistdlg.cpp
index 7a9edbdb..f070eeaf 100644
--- a/quanta/dialogs/tagdialogs/tagquicklistdlg.cpp
+++ b/quanta/dialogs/tagdialogs/tagquicklistdlg.cpp
@@ -33,8 +33,8 @@ TagQuickListDlg::TagQuickListDlg(TQWidget *parent, const char *name)
groupBox->insert(radioOrdered);
groupBox->insert(radioUnordered);
- connect( buttonOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) );
- connect( buttonCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) );
+ connect( buttonOk, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) );
+ connect( buttonCancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) );
}
TagQuickListDlg::~TagQuickListDlg(){
diff --git a/quanta/dialogs/tagdialogs/tagquicklistdlg.h b/quanta/dialogs/tagdialogs/tagquicklistdlg.h
index 946efb67..c0f0f310 100644
--- a/quanta/dialogs/tagdialogs/tagquicklistdlg.h
+++ b/quanta/dialogs/tagdialogs/tagquicklistdlg.h
@@ -32,7 +32,7 @@ class TQButtonGroup;
*/
class TagQuickListDlg : public TQDialog {
- Q_OBJECT
+ TQ_OBJECT
public:
TagQuickListDlg(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/dialogs/tagdialogs/tagxml.cpp b/quanta/dialogs/tagdialogs/tagxml.cpp
index 2db18a3e..c94146bb 100644
--- a/quanta/dialogs/tagdialogs/tagxml.cpp
+++ b/quanta/dialogs/tagdialogs/tagxml.cpp
@@ -30,13 +30,13 @@
#include "styleeditor.h"
Tagxml::Tagxml( TQDomNode &d, TQTag *dtdTag, TQWidget *parent, const char *name)
- :TQWidget(parent,name), TagWidget(TQT_TQOBJECT(parent),name), doc(d)
+ :TQWidget(parent,name), TagWidget(parent,name), doc(d)
{
initialize(d, dtdTag);
}
Tagxml::Tagxml( TQDomNode &d, TQTag *dtdTag, const TQString& selection, TQWidget *parent, const char *name)
- : TQWidget(parent,name), TagWidget(TQT_TQOBJECT(parent),name), doc(d), m_selection(selection)
+ : TQWidget(parent,name), TagWidget(parent,name), doc(d), m_selection(selection)
{
initialize(d, dtdTag);
}
diff --git a/quanta/dialogs/tagdialogs/tagxml.h b/quanta/dialogs/tagdialogs/tagxml.h
index ec25e7ed..13013056 100644
--- a/quanta/dialogs/tagdialogs/tagxml.h
+++ b/quanta/dialogs/tagdialogs/tagxml.h
@@ -27,7 +27,7 @@
#include "qtag.h"
class Tagxml : public TQWidget, TagWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
/** construtor */
diff --git a/quanta/messages/CMakeLists.txt b/quanta/messages/CMakeLists.txt
index 8e2d1d40..9552040a 100644
--- a/quanta/messages/CMakeLists.txt
+++ b/quanta/messages/CMakeLists.txt
@@ -16,6 +16,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/project
${CMAKE_SOURCE_DIR}/quanta/parsers
${CMAKE_SOURCE_DIR}/quanta/utility
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/messages/annotationoutput.cpp b/quanta/messages/annotationoutput.cpp
index 418f7f17..892f6dc9 100644
--- a/quanta/messages/annotationoutput.cpp
+++ b/quanta/messages/annotationoutput.cpp
@@ -50,7 +50,7 @@ AnnotationOutput::AnnotationOutput(TQWidget *parent, const char *name)
m_yourAnnotations->setLineWidth(2);
addTab(m_yourAnnotations, i18n("For You"));
- connect(m_yourAnnotations, TQT_SIGNAL(executed(TQListViewItem*)), TQT_SLOT(yourAnnotationsItemExecuted(TQListViewItem *)));
+ connect(m_yourAnnotations, TQ_SIGNAL(executed(TQListViewItem*)), TQ_SLOT(yourAnnotationsItemExecuted(TQListViewItem *)));
m_allAnnotations = new TDEListView(this);
m_allAnnotations->addColumn("1", -1);
@@ -59,14 +59,14 @@ AnnotationOutput::AnnotationOutput(TQWidget *parent, const char *name)
m_allAnnotations->header()->hide();
m_allAnnotations->setSorting(1);
m_allAnnotations->setLineWidth(2);
- connect(m_allAnnotations, TQT_SIGNAL(executed(TQListViewItem*)), TQT_SLOT(allAnnotationsItemExecuted(TQListViewItem *)));
+ connect(m_allAnnotations, TQ_SIGNAL(executed(TQListViewItem*)), TQ_SLOT(allAnnotationsItemExecuted(TQListViewItem *)));
addTab(m_allAnnotations, i18n("All Files"));
- connect(this, TQT_SIGNAL(currentChanged(TQWidget*)), TQT_SLOT(tabChanged(TQWidget*)));
+ connect(this, TQ_SIGNAL(currentChanged(TQWidget*)), TQ_SLOT(tabChanged(TQWidget*)));
m_updateTimer = new TQTimer(this);
- connect(m_updateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateNextFile()));
+ connect(m_updateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateNextFile()));
m_yourAnnotationsNum = 0;
}
@@ -324,7 +324,7 @@ void AnnotationOutput::updateAnnotationForFile(const KURL& url)
} else
pos++;
int pos2 = line.find(rx);
- annotations.insert(i, tqMakePair(line.mid(pos, pos2 - pos).stripWhiteSpace(), receiver));
+ annotations.insert(i, qMakePair(line.mid(pos, pos2 - pos).stripWhiteSpace(), receiver));
}
++i;
}
diff --git a/quanta/messages/annotationoutput.h b/quanta/messages/annotationoutput.h
index 850b3e7c..d2060142 100644
--- a/quanta/messages/annotationoutput.h
+++ b/quanta/messages/annotationoutput.h
@@ -36,7 +36,7 @@ enum AnnotationScope
class AnnotationOutput : public KTabWidget
{
-Q_OBJECT
+TQ_OBJECT
public:
AnnotationOutput(TQWidget *parent = 0, const char *name = 0);
diff --git a/quanta/messages/messageoutput.cpp b/quanta/messages/messageoutput.cpp
index 06625c74..1abab263 100644
--- a/quanta/messages/messageoutput.cpp
+++ b/quanta/messages/messageoutput.cpp
@@ -38,20 +38,20 @@ MessageOutput::MessageOutput(TQWidget *parent, const char *name )
m_maxItems = 2000;
TQPalette pal = palette();
- pal.setColor(TQColorGroup::HighlightedText, pal.color(TQPalette::Normal, TQColorGroup::Text));
- pal.setColor(TQColorGroup::Highlight, pal.color(TQPalette::Normal, TQColorGroup::Mid));
+ pal.setColor(TQColorGroup::HighlightedText, pal.color(TQPalette::Active, TQColorGroup::Text));
+ pal.setColor(TQColorGroup::Highlight, pal.color(TQPalette::Active, TQColorGroup::Mid));
setPalette(pal);
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
m_popupMenu = new TDEPopupMenu(this);
- connect(this, TQT_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)),
- this, TQT_SLOT(showMenu(TQListBoxItem*, const TQPoint&)));
- m_popupMenu->insertItem( SmallIconSet("edit-copy"), i18n("&Copy"), this, TQT_SLOT(copyContent()) ) ;
- m_popupMenu->insertItem( SmallIconSet("document-save-as"), i18n("&Save As..."), this, TQT_SLOT(saveContent()) ) ;
+ connect(this, TQ_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)),
+ this, TQ_SLOT(showMenu(TQListBoxItem*, const TQPoint&)));
+ m_popupMenu->insertItem( SmallIconSet("edit-copy"), i18n("&Copy"), this, TQ_SLOT(copyContent()) ) ;
+ m_popupMenu->insertItem( SmallIconSet("document-save-as"), i18n("&Save As..."), this, TQ_SLOT(saveContent()) ) ;
m_popupMenu->insertSeparator();
- m_popupMenu->insertItem( SmallIconSet("edit-clear"), i18n("Clear"), this, TQT_SLOT(clear()) ) ;
+ m_popupMenu->insertItem( SmallIconSet("edit-clear"), i18n("Clear"), this, TQ_SLOT(clear()) ) ;
- connect( this, TQT_SIGNAL(clicked(TQListBoxItem*)), TQT_SLOT(clickItem(TQListBoxItem*)) );
+ connect( this, TQ_SIGNAL(clicked(TQListBoxItem*)), TQ_SLOT(clickItem(TQListBoxItem*)) );
}
MessageOutput::~MessageOutput()
diff --git a/quanta/messages/messageoutput.h b/quanta/messages/messageoutput.h
index f958ac00..8a67922b 100644
--- a/quanta/messages/messageoutput.h
+++ b/quanta/messages/messageoutput.h
@@ -31,7 +31,7 @@ weblint output
*/
class MessageOutput : public TQListBox {
- Q_OBJECT
+ TQ_OBJECT
public:
MessageOutput(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/parsers/CMakeLists.txt b/quanta/parsers/CMakeLists.txt
index 53536e0b..a7c6adc4 100644
--- a/quanta/parsers/CMakeLists.txt
+++ b/quanta/parsers/CMakeLists.txt
@@ -19,6 +19,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/treeviews
${CMAKE_SOURCE_DIR}/quanta/parts/kafka
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/parsers/dtd/CMakeLists.txt b/quanta/parsers/dtd/CMakeLists.txt
index 7997cc5a..5d767f5e 100644
--- a/quanta/parsers/dtd/CMakeLists.txt
+++ b/quanta/parsers/dtd/CMakeLists.txt
@@ -9,13 +9,20 @@
#
#################################################
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/quanta/dialogs
${CMAKE_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}/quanta/parsers
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/dialogs
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
diff --git a/quanta/parsers/dtd/dtdparser.cpp b/quanta/parsers/dtd/dtdparser.cpp
index 502551fd..9de0f39a 100644
--- a/quanta/parsers/dtd/dtdparser.cpp
+++ b/quanta/parsers/dtd/dtdparser.cpp
@@ -13,6 +13,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
//qt includes
#include <tqcheckbox.h>
#include <tqfile.h>
@@ -32,10 +36,6 @@
#include <tdeio/netaccess.h>
//other includes
-#ifdef LIBXML_2_5
-#include <libxml/hash.h>
-#endif
-
#include <libxml/parser.h>
#include <libxml/valid.h>
@@ -82,8 +82,8 @@ bool DTDParser::parse(const TQString &targetDir, bool entitiesOnly)
if( DTD::dtd_ptr == NULL )
{
TQString errorStr = i18n("Unknown");
-#ifndef LIBXML_2_5
- xmlErrorPtr errorPtr = xmlGetLastError();
+ // The type used is either xmlErrorPtr or const xmlError*
+ auto errorPtr = xmlGetLastError();
if (errorPtr != NULL)
{
TQString s = TQString::fromLatin1(errorPtr->message);
@@ -99,9 +99,8 @@ bool DTDParser::parse(const TQString &targetDir, bool entitiesOnly)
if (!s.isEmpty())
errorStr += "<br>" + s;
errorStr += TQString("(%1, %2)").arg(errorPtr->line).arg(errorPtr->int2);
- xmlResetError(errorPtr);
+ xmlResetLastError();
}
-#endif
KMessageBox::error(0, i18n("<qt>Error while parsing the DTD.<br>The error message is:<br><i>%1</i></qt>").arg(errorStr));
return false;
}
@@ -144,7 +143,7 @@ bool DTDParser::parse(const TQString &targetDir, bool entitiesOnly)
TQFile file( DTD::dirName + "entities.tag" );
if ( file.open( IO_WriteOnly ) )
{
- DTD::entityStream.setDevice(TQT_TQIODEVICE(&file));
+ DTD::entityStream.setDevice(&file);
DTD::entityStream.setEncoding(TQTextStream::UnicodeUTF8);
DTD::entityStream << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << endl;
DTD::entityStream << "<!DOCTYPE TAGS>" << endl
diff --git a/quanta/parsers/parser.cpp b/quanta/parsers/parser.cpp
index cfca7279..f789f911 100644
--- a/quanta/parsers/parser.cpp
+++ b/quanta/parsers/parser.cpp
@@ -79,10 +79,10 @@ Parser::Parser()
m_parsingNeeded = true;
m_parseIncludedFiles = true;
m_saParser = new SAParser();
- connect(m_saParser, TQT_SIGNAL(rebuildStructureTree(bool)), TQT_SIGNAL(rebuildStructureTree(bool)));
- connect(m_saParser, TQT_SIGNAL(cleanGroups()), TQT_SLOT(cleanGroups()));
+ connect(m_saParser, TQ_SIGNAL(rebuildStructureTree(bool)), TQ_SIGNAL(rebuildStructureTree(bool)));
+ connect(m_saParser, TQ_SIGNAL(cleanGroups()), TQ_SLOT(cleanGroups()));
ParserCommon::includeWatch = new KDirWatch();
- connect(ParserCommon::includeWatch, TQT_SIGNAL(dirty(const TQString&)), TQT_SLOT(slotIncludedFileChanged(const TQString&)));
+ connect(ParserCommon::includeWatch, TQ_SIGNAL(dirty(const TQString&)), TQ_SLOT(slotIncludedFileChanged(const TQString&)));
}
Parser::~Parser()
@@ -567,7 +567,7 @@ Node *Parser::parse(Document *w, bool force)
emit nodeTreeChanged();
if (saParserEnabled)
- TQTimer::singleShot(0, this, TQT_SLOT(slotParseInDetail()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotParseInDetail()));
return m_node;
}
@@ -1244,7 +1244,7 @@ Node *Parser::rebuild(Document *w)
m_saParser->init(m_node, w);
if (saParserEnabled)
- TQTimer::singleShot(0, this, TQT_SLOT(slotParseInDetail()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotParseInDetail()));
emit nodeTreeChanged();
m_parsingNeeded = false;
return m_node;
@@ -1297,7 +1297,7 @@ void Parser::clearGroups()
ParserCommon::includedFilesDTD.clear();
delete ParserCommon::includeWatch;
ParserCommon::includeWatch = new KDirWatch();
- connect(ParserCommon::includeWatch, TQT_SIGNAL(dirty(const TQString&)), TQT_SLOT(slotIncludedFileChanged(const TQString&)));
+ connect(ParserCommon::includeWatch, TQ_SIGNAL(dirty(const TQString&)), TQ_SLOT(slotIncludedFileChanged(const TQString&)));
m_parseIncludedFiles = true;
}
@@ -1345,7 +1345,7 @@ void Parser::cleanGroups()
{
delete ParserCommon::includeWatch;
ParserCommon::includeWatch = new KDirWatch();
- connect(ParserCommon::includeWatch, TQT_SIGNAL(dirty(const TQString&)), TQT_SLOT(slotIncludedFileChanged(const TQString&)));
+ connect(ParserCommon::includeWatch, TQ_SIGNAL(dirty(const TQString&)), TQ_SLOT(slotIncludedFileChanged(const TQString&)));
parseIncludedFiles();
}
}
diff --git a/quanta/parsers/parser.h b/quanta/parsers/parser.h
index d717f6f2..e3869b6b 100644
--- a/quanta/parsers/parser.h
+++ b/quanta/parsers/parser.h
@@ -44,7 +44,7 @@ typedef TQMap<TQString, IncludedGroupElements> IncludedGroupElementsMap;
class Parser: public TQObject {
-Q_OBJECT
+TQ_OBJECT
public:
diff --git a/quanta/parsers/sagroupparser.cpp b/quanta/parsers/sagroupparser.cpp
index 000ba002..1b665ebf 100644
--- a/quanta/parsers/sagroupparser.cpp
+++ b/quanta/parsers/sagroupparser.cpp
@@ -46,7 +46,7 @@ SAGroupParser::SAGroupParser(SAParser *parent, Document *write, Node *startNode,
m_write = write;
m_count = 0;
m_parseForGroupTimer = new TQTimer(this);
- connect(m_parseForGroupTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotParseForScriptGroup()));
+ connect(m_parseForGroupTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotParseForScriptGroup()));
}
void SAGroupParser::slotParseForScriptGroup()
diff --git a/quanta/parsers/sagroupparser.h b/quanta/parsers/sagroupparser.h
index ca4add8f..83ec62ef 100644
--- a/quanta/parsers/sagroupparser.h
+++ b/quanta/parsers/sagroupparser.h
@@ -31,7 +31,7 @@ class SAParser;
*/
class SAGroupParser : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
public:
diff --git a/quanta/parsers/saparser.cpp b/quanta/parsers/saparser.cpp
index 691c2d2e..fcf9b17d 100644
--- a/quanta/parsers/saparser.cpp
+++ b/quanta/parsers/saparser.cpp
@@ -44,9 +44,9 @@ SAParser::SAParser()
m_parsingEnabled = true;
m_synchronous = true;
m_parseOneLineTimer = new TQTimer(this);
- connect(m_parseOneLineTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotParseOneLine()));
+ connect(m_parseOneLineTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotParseOneLine()));
m_parseInDetailTimer = new TQTimer(this);
- connect(m_parseInDetailTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotParseNodeInDetail()));
+ connect(m_parseInDetailTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotParseNodeInDetail()));
}
SAParser::~SAParser()
@@ -396,9 +396,9 @@ bool SAParser::slotParseOneLine()
}
}
SAGroupParser *groupParser = new SAGroupParser(this, write(), g_node, g_endNode, m_synchronous, parsingLastNode, true);
- connect(groupParser, TQT_SIGNAL(rebuildStructureTree(bool)), TQT_SIGNAL(rebuildStructureTree(bool)));
- connect(groupParser, TQT_SIGNAL(cleanGroups()), TQT_SIGNAL(cleanGroups()));
- connect(groupParser, TQT_SIGNAL(parsingDone(SAGroupParser*)), TQT_SLOT(slotGroupParsingDone(SAGroupParser*)));
+ connect(groupParser, TQ_SIGNAL(rebuildStructureTree(bool)), TQ_SIGNAL(rebuildStructureTree(bool)));
+ connect(groupParser, TQ_SIGNAL(cleanGroups()), TQ_SIGNAL(cleanGroups()));
+ connect(groupParser, TQ_SIGNAL(parsingDone(SAGroupParser*)), TQ_SLOT(slotGroupParsingDone(SAGroupParser*)));
groupParser->slotParseForScriptGroup();
m_groupParsers.append(groupParser);
}
@@ -818,9 +818,9 @@ Node *SAParser::parsingDone()
if (!m_synchronous)
{
SAGroupParser *groupParser = new SAGroupParser(this, write(), g_node, 0L, m_synchronous, true /*last node*/, true);
- connect(groupParser, TQT_SIGNAL(rebuildStructureTree(bool)), TQT_SIGNAL(rebuildStructureTree(bool)));
- connect(groupParser, TQT_SIGNAL(cleanGroups()), TQT_SIGNAL(cleanGroups()));
- connect(groupParser, TQT_SIGNAL(parsingDone(SAGroupParser*)), TQT_SLOT(slotGroupParsingDone(SAGroupParser*)));
+ connect(groupParser, TQ_SIGNAL(rebuildStructureTree(bool)), TQ_SIGNAL(rebuildStructureTree(bool)));
+ connect(groupParser, TQ_SIGNAL(cleanGroups()), TQ_SIGNAL(cleanGroups()));
+ connect(groupParser, TQ_SIGNAL(parsingDone(SAGroupParser*)), TQ_SLOT(slotGroupParsingDone(SAGroupParser*)));
groupParser->slotParseForScriptGroup();
m_groupParsers.append(groupParser);
}
diff --git a/quanta/parsers/saparser.h b/quanta/parsers/saparser.h
index 463cf1b9..8360985d 100644
--- a/quanta/parsers/saparser.h
+++ b/quanta/parsers/saparser.h
@@ -40,7 +40,7 @@ class SAGroupParser;
*/
class SAParser: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/parts/kafka/CMakeLists.txt b/quanta/parts/kafka/CMakeLists.txt
index 19519b44..eebfe2f1 100644
--- a/quanta/parts/kafka/CMakeLists.txt
+++ b/quanta/parts/kafka/CMakeLists.txt
@@ -9,7 +9,7 @@
#
#################################################
-# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS)
+# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) # add_compile_options( -fexceptions )
add_subdirectory( pics )
@@ -21,6 +21,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/parsers
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/treeviews
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/parts/kafka/domtreeview.cpp b/quanta/parts/kafka/domtreeview.cpp
index 1c5c572d..6c74b132 100644
--- a/quanta/parts/kafka/domtreeview.cpp
+++ b/quanta/parts/kafka/domtreeview.cpp
@@ -38,8 +38,8 @@ DOMTreeView::DOMTreeView(TQWidget *parent, TDEHTMLPart *currentpart, const char
addColumn("");
setSorting(-1);
part = currentpart;
- connect(part, TQT_SIGNAL(nodeActivated(const DOM::Node &)), this, TQT_SLOT(showTree(const DOM::Node &)));
- connect(this, TQT_SIGNAL(clicked(TQListViewItem *)), this, TQT_SLOT(slotItemClicked(TQListViewItem *)));
+ connect(part, TQ_SIGNAL(nodeActivated(const DOM::Node &)), this, TQ_SLOT(showTree(const DOM::Node &)));
+ connect(this, TQ_SIGNAL(clicked(TQListViewItem *)), this, TQ_SLOT(slotItemClicked(TQListViewItem *)));
m_nodedict.setAutoDelete(true);
title = "";
titleItem = new TQListViewItem(static_cast<TQListView *>(this), title, "");
diff --git a/quanta/parts/kafka/domtreeview.h b/quanta/parts/kafka/domtreeview.h
index bd67d9fd..45e00176 100644
--- a/quanta/parts/kafka/domtreeview.h
+++ b/quanta/parts/kafka/domtreeview.h
@@ -37,7 +37,7 @@ class TQGridLayout;
class DOMTreeView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
DOMTreeView(TQWidget *parent, TDEHTMLPart *part, const char * name = 0);
@@ -66,7 +66,7 @@ class DOMTreeView : public TDEListView
class KafkaDOMTreeDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
KafkaDOMTreeDialog(TQWidget *parent = 0, TDEHTMLPart *part = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
diff --git a/quanta/parts/kafka/htmldocumentproperties.cpp b/quanta/parts/kafka/htmldocumentproperties.cpp
index c997ffee..ce078a8c 100644
--- a/quanta/parts/kafka/htmldocumentproperties.cpp
+++ b/quanta/parts/kafka/htmldocumentproperties.cpp
@@ -69,7 +69,7 @@ htmlDocumentProperties::htmlDocumentProperties( TQWidget* parent, bool forceInse
ok->setAutoDefault(true);
//set the taborder and disable focus for some widgets.
- currentDTD->setFocusPolicy(TQ_NoFocus);
+ currentDTD->setFocusPolicy(TQWidget::NoFocus);
TQWidget::setTabOrder(title, metaItems);
TQWidget::setTabOrder(metaItems, metaItemsAdd);
TQWidget::setTabOrder(metaItemsAdd, metaItemsDelete);
@@ -98,7 +98,7 @@ htmlDocumentProperties::htmlDocumentProperties( TQWidget* parent, bool forceInse
cssRules->addColumn(i18n("Rule"));
cssRules->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
cssRules->setLineWidth( 2 );
- //cssRules->setFocusPolicy(TQ_ClickFocus);
+ //cssRules->setFocusPolicy(TQWidget::ClickFocus);
cssRules->setSorting(-1);
//search for the head, html, title Node
@@ -230,20 +230,20 @@ htmlDocumentProperties::htmlDocumentProperties( TQWidget* parent, bool forceInse
cancel->setIconSet(SmallIconSet("button_cancel"));
//connect buttons
- connect(ok, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(cssRulesAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(newCSSRule()));
- connect(cssRulesEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(editCSSRule()));
- connect (cssRulesDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteCurrentCSSRule()));
- connect(metaItemsAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(newMetaItem()));
- connect(metaItemsDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteCurrentMetaItem()));
- connect(title, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(titleChanged(const TQString &)));
- connect(metaItems, TQT_SIGNAL(itemModified( TQListViewItem * )),
- this, TQT_SLOT(metaChanged(TQListViewItem * )));
- connect(cssRules, TQT_SIGNAL(itemModified( TQListViewItem * )),
- this, TQT_SLOT(CSSChanged(TQListViewItem * )));
- connect(cssStylesheet, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(linkChanged( const TQString& )));
+ connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(cssRulesAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(newCSSRule()));
+ connect(cssRulesEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(editCSSRule()));
+ connect (cssRulesDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteCurrentCSSRule()));
+ connect(metaItemsAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(newMetaItem()));
+ connect(metaItemsDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteCurrentMetaItem()));
+ connect(title, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(titleChanged(const TQString &)));
+ connect(metaItems, TQ_SIGNAL(itemModified( TQListViewItem * )),
+ this, TQ_SLOT(metaChanged(TQListViewItem * )));
+ connect(cssRules, TQ_SIGNAL(itemModified( TQListViewItem * )),
+ this, TQ_SLOT(CSSChanged(TQListViewItem * )));
+ connect(cssStylesheet, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(linkChanged( const TQString& )));
}
htmlDocumentProperties::~htmlDocumentProperties()
diff --git a/quanta/parts/kafka/htmldocumentproperties.h b/quanta/parts/kafka/htmldocumentproperties.h
index 2d264366..2d4e2706 100644
--- a/quanta/parts/kafka/htmldocumentproperties.h
+++ b/quanta/parts/kafka/htmldocumentproperties.h
@@ -44,7 +44,7 @@ public:
*/
class htmlDocumentProperties : public htmlDocumentPropertiesui
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/quanta/parts/kafka/htmldocumentpropertiesui.ui b/quanta/parts/kafka/htmldocumentpropertiesui.ui
index c826dd73..b5e18f2c 100644
--- a/quanta/parts/kafka/htmldocumentpropertiesui.ui
+++ b/quanta/parts/kafka/htmldocumentpropertiesui.ui
@@ -441,7 +441,7 @@
<tabstop>ok</tabstop>
<tabstop>cancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected" specifier="pure virtual">newMetaItem()</slot>
<slot access="protected" specifier="pure virtual">deleteCurrentMetaItem()</slot>
<slot access="protected" specifier="pure virtual">newCSSRule()</slot>
@@ -451,6 +451,11 @@
<slot access="protected" specifier="pure virtual">metaChanged(TQListViewItem * )</slot>
<slot access="protected" specifier="pure virtual">CSSChanged(TQListViewItem * )</slot>
<slot access="protected" specifier="pure virtual">linkChanged( const TQString&amp; )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/parts/kafka/kafkadragobject.h b/quanta/parts/kafka/kafkadragobject.h
index 00946ce7..aa73a630 100644
--- a/quanta/parts/kafka/kafkadragobject.h
+++ b/quanta/parts/kafka/kafkadragobject.h
@@ -28,7 +28,7 @@ class Node;
*/
class KafkaDragObject: public TQStoredDrag
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/parts/kafka/kafkahtmlpart.cpp b/quanta/parts/kafka/kafkahtmlpart.cpp
index a1e78aa5..fc0460ad 100644
--- a/quanta/parts/kafka/kafkahtmlpart.cpp
+++ b/quanta/parts/kafka/kafkahtmlpart.cpp
@@ -85,7 +85,7 @@ public:
KafkaWidget::KafkaWidget(TQWidget *parent, TQWidget *widgetParent, KafkaDocument *part,
const char *name)
- : TDEHTMLPart(widgetParent, name, TQT_TQOBJECT(parent), name),
+ : TDEHTMLPart(widgetParent, name, parent, name),
w(part)
{
m_contextPopupMenu = new TQPopupMenu();
@@ -99,15 +99,17 @@ KafkaWidget::KafkaWidget(TQWidget *parent, TQWidget *widgetParent, KafkaDocument
m_modifs = 0L;
+ view()->setInputMethodEnabled(true);
+
// With the mix of Leo Savernik's caret Mode and the current editing
// functions, it will be kind of VERY messy
setCaretMode(true);
- connect(this, TQT_SIGNAL(caretPositionChanged(const DOM::Node &, long)),
- this, TQT_SLOT(slotNewCursorPos(const DOM::Node &, long)));
+ connect(this, TQ_SIGNAL(caretPositionChanged(const DOM::Node &, long)),
+ this, TQ_SLOT(slotNewCursorPos(const DOM::Node &, long)));
setCaretDisplayPolicyNonFocused(TDEHTMLPart::CaretVisible);
- connect(this, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)),
- this, TQT_SLOT(slotContextMenuRequested(const TQString&, const TQPoint&)));
+ connect(this, TQ_SIGNAL(popupMenu(const TQString&, const TQPoint&)),
+ this, TQ_SLOT(slotContextMenuRequested(const TQString&, const TQPoint&)));
view()->setMouseTracking(true);
view()->installEventFilter(this);
@@ -184,7 +186,7 @@ void KafkaWidget::insertText(DOM::Node node, const TQString &text, int position)
kdDebug(25001) << "KafkaWidget::insertText() - added text - 1" << endl;
#endif
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
return;
}
}
@@ -261,7 +263,7 @@ void KafkaWidget::insertText(DOM::Node node, const TQString &text, int position)
}
//document().updateRendering();
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
}
void KafkaWidget::slotDelayedSetCaretPosition()
@@ -465,7 +467,7 @@ void KafkaWidget::keyReturn(bool specialPressed)
kdDebug(25001)<< "CURNODE : " << m_currentNode.nodeName().string() << ":"
<< m_currentNode.nodeValue().string() << " : " << d->m_cursorOffset << endl;
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
kdDebug(25001)<< "CURNODE : " << m_currentNode.nodeName().string() << ":"
<< m_currentNode.nodeValue().string() << " : " << d->m_cursorOffset << endl;
//emit domNodeNewCursorPos(m_currentNode, d->m_cursorOffset);
@@ -476,7 +478,7 @@ void KafkaWidget::keyReturn(bool specialPressed)
<< m_currentNode.nodeValue().string() << " : " << d->m_cursorOffset << endl;
#endif
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
}
bool KafkaWidget::eventFilter(TQObject *, TQEvent *event)
@@ -504,9 +506,9 @@ bool KafkaWidget::eventFilter(TQObject *, TQEvent *event)
emit hasFocus(false);
}
- if(event->type() == TQEvent::KeyPress)
+ if(event->type() == TQEvent::KeyPress || event->type() == TQEvent::IMEnd)
{
- TQKeyEvent *keyevent = TQT_TQKEYEVENT(event);
+ TQKeyEvent *keyevent = static_cast<TQKeyEvent*>(event);
//Create a new NodeModifsSet where the changes will be logged.
m_modifs = new NodeModifsSet();
@@ -655,13 +657,13 @@ bool KafkaWidget::eventFilter(TQObject *, TQEvent *event)
kdDebug(25001) << "KafkaWidget::eventFilter() Text - " <<
keyevent->text() << endl;
#endif
- //if(( keyevent->state() & TQt::ShiftButton) || ( keyevent->state() == Qt::NoButton))
+ //if(( keyevent->state() & TQt::ShiftButton) || ( keyevent->state() == TQt::NoButton))
if( keyevent->text().length() &&
( !( keyevent->state() & ControlButton ) &&
!( keyevent->state() & AltButton ) &&
!( keyevent->state() & MetaButton ) ||
( ( (keyevent->state()&ControlButton) | AltButton ) == (ControlButton|AltButton) ) ) &&
- ( !keyevent->ascii() || keyevent->ascii() >= 32 || keyevent->text() == "\t" ) )
+ ( !keyevent->ascii() || keyevent->ascii() >= 32 || keyevent->text() == "\t" ) || event->type() == TQEvent::IMEnd )
{
if(hasSelection())
removeSelection();
@@ -1531,7 +1533,7 @@ void KafkaWidget::keyBackspace()
emit domNodeModified(temp, m_modifs);
if(boolTmp)
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
}
}
@@ -1597,7 +1599,7 @@ void KafkaWidget::keyBackspace()
{
m_currentNode = _nodePrev;
d->m_cursorOffset += (static_cast<DOM::CharacterData>(_nodePrev)).length();
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
}
_nodePrev.setNodeValue(_nodePrev.nodeValue() + _node.nodeValue());
emit domNodeModified(_nodePrev, m_modifs);
@@ -1618,7 +1620,7 @@ void KafkaWidget::keyBackspace()
m_currentNode = m_currentNode.previousSibling();
d->m_cursorOffset = 0;
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
}
else if(!m_currentNode.nextSibling().isNull())
{
@@ -2088,7 +2090,7 @@ void KafkaWidget::setCurrentNode(DOM::Node node, int offset)
d->m_cursorOffset = offset;
makeCursorVisible();
if(!m_currentNode.isNull() && m_currentNode.nodeName().string() != "#document")
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
//setCaretPosition(m_currentNode, (long)d->m_cursorOffset);
}
@@ -2139,7 +2141,7 @@ void KafkaWidget::putCursorAtFirstAvailableLocation()
}
m_currentNode = node;
d->m_cursorOffset = 0;
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
#ifdef LIGHT_DEBUG
@@ -2236,7 +2238,7 @@ void KafkaWidget::removeSelection()
setCurrentNode(m_currentNode, domNodeCursorOffset);
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCaretPosition()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCaretPosition()));
NodeSelection* cursorPos = new NodeSelection();
cursorPos->setCursorNode(cursorNode);
@@ -2261,7 +2263,7 @@ void KafkaWidget::applyQueuedToggableTagActions()
{
if(tag_action->name() == *it)
{
- tag_action->slotActionActivated(TDEAction::EmulatedActivation, Qt::NoButton);
+ tag_action->slotActionActivated(TDEAction::EmulatedActivation, TQt::NoButton);
break;
}
}
diff --git a/quanta/parts/kafka/kafkahtmlpart.h b/quanta/parts/kafka/kafkahtmlpart.h
index e8416be2..dd3f2b0d 100644
--- a/quanta/parts/kafka/kafkahtmlpart.h
+++ b/quanta/parts/kafka/kafkahtmlpart.h
@@ -45,7 +45,7 @@ class TQPopupMenu;
class KafkaWidget : public TDEHTMLPart
{
- Q_OBJECT
+ TQ_OBJECT
public:
KafkaWidget(TQWidget *parent, TQWidget *widgetParent, KafkaDocument *part,
diff --git a/quanta/parts/kafka/kafkasyncoptions.h b/quanta/parts/kafka/kafkasyncoptions.h
index 75c8c4f5..3bf6ef6b 100644
--- a/quanta/parts/kafka/kafkasyncoptions.h
+++ b/quanta/parts/kafka/kafkasyncoptions.h
@@ -24,7 +24,7 @@ class TDEConfig;
class KafkaSyncOptions : public KafkaSyncOptionsUI
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/parts/kafka/wkafkapart.cpp b/quanta/parts/kafka/wkafkapart.cpp
index 8cb3c05c..483454ee 100644
--- a/quanta/parts/kafka/wkafkapart.cpp
+++ b/quanta/parts/kafka/wkafkapart.cpp
@@ -116,17 +116,17 @@ TQString ab = i18n("Ident all");
file.close();
}
- connect(m_kafkaPart, TQT_SIGNAL(domNodeInserted(DOM::Node, bool, NodeModifsSet*)),
- this, TQT_SLOT(slotDomNodeInserted(DOM::Node, bool, NodeModifsSet*)));
- connect(m_kafkaPart, TQT_SIGNAL(domNodeModified(DOM::Node, NodeModifsSet*)),
- this, TQT_SLOT(slotDomNodeModified(DOM::Node, NodeModifsSet*)));
- connect(m_kafkaPart, TQT_SIGNAL(domNodeIsAboutToBeRemoved(DOM::Node, bool, NodeModifsSet*)),
- this, TQT_SLOT(slotDomNodeAboutToBeRemoved(DOM::Node, bool, NodeModifsSet*)));
- connect(m_kafkaPart, TQT_SIGNAL(domNodeIsAboutToBeMoved(DOM::Node, DOM::Node, DOM::Node, NodeModifsSet*)),
- this, TQT_SLOT(slotDomNodeIsAboutToBeMoved(DOM::Node, DOM::Node, DOM::Node, NodeModifsSet*)));
-
- connect(m_kafkaPart, TQT_SIGNAL(domNodeNewCursorPos(DOM::Node, int)),
- this, TQT_SLOT(slotdomNodeNewCursorPos(DOM::Node, int)));
+ connect(m_kafkaPart, TQ_SIGNAL(domNodeInserted(DOM::Node, bool, NodeModifsSet*)),
+ this, TQ_SLOT(slotDomNodeInserted(DOM::Node, bool, NodeModifsSet*)));
+ connect(m_kafkaPart, TQ_SIGNAL(domNodeModified(DOM::Node, NodeModifsSet*)),
+ this, TQ_SLOT(slotDomNodeModified(DOM::Node, NodeModifsSet*)));
+ connect(m_kafkaPart, TQ_SIGNAL(domNodeIsAboutToBeRemoved(DOM::Node, bool, NodeModifsSet*)),
+ this, TQ_SLOT(slotDomNodeAboutToBeRemoved(DOM::Node, bool, NodeModifsSet*)));
+ connect(m_kafkaPart, TQ_SIGNAL(domNodeIsAboutToBeMoved(DOM::Node, DOM::Node, DOM::Node, NodeModifsSet*)),
+ this, TQ_SLOT(slotDomNodeIsAboutToBeMoved(DOM::Node, DOM::Node, DOM::Node, NodeModifsSet*)));
+
+ connect(m_kafkaPart, TQ_SIGNAL(domNodeNewCursorPos(DOM::Node, int)),
+ this, TQ_SLOT(slotdomNodeNewCursorPos(DOM::Node, int)));
}
diff --git a/quanta/parts/kafka/wkafkapart.h b/quanta/parts/kafka/wkafkapart.h
index 5aea1c0e..b17b39b3 100644
--- a/quanta/parts/kafka/wkafkapart.h
+++ b/quanta/parts/kafka/wkafkapart.h
@@ -49,7 +49,7 @@ class NodeModifsSet;
*/
class KafkaDocument : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
/** Returns a reference to the KafkaDocument object */
diff --git a/quanta/parts/preview/CMakeLists.txt b/quanta/parts/preview/CMakeLists.txt
index 8a0493c5..39fde475 100644
--- a/quanta/parts/preview/CMakeLists.txt
+++ b/quanta/parts/preview/CMakeLists.txt
@@ -12,6 +12,9 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/quanta/utility
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/parts/preview/whtmlpart.cpp b/quanta/parts/preview/whtmlpart.cpp
index 86de0b2d..2de57fbf 100644
--- a/quanta/parts/preview/whtmlpart.cpp
+++ b/quanta/parts/preview/whtmlpart.cpp
@@ -53,11 +53,11 @@ WHTMLPart::WHTMLPart(TQWidget *parentWidget, const char *widgetName, bool enable
if (m_enableViewSource)
{
m_contextMenu = new TDEPopupMenu(parentWidget);
- m_contextMenu->insertItem(i18n("View &Document Source"), this, TQT_SLOT(slotViewSource()));
+ m_contextMenu->insertItem(i18n("View &Document Source"), this, TQ_SLOT(slotViewSource()));
- connect(this, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)), TQT_SLOT(popupMenu(const TQString&, const TQPoint&)));
+ connect(this, TQ_SIGNAL(popupMenu(const TQString&, const TQPoint&)), TQ_SLOT(popupMenu(const TQString&, const TQPoint&)));
}
- connect(browserExtension(), TQT_SIGNAL(openURLRequest (const KURL &, const KParts::URLArgs &)), this, TQT_SLOT(openURL(const KURL&)));
+ connect(browserExtension(), TQ_SIGNAL(openURLRequest (const KURL &, const KParts::URLArgs &)), this, TQ_SLOT(openURL(const KURL&)));
// setCharset( konqConfig.readEntry("DefaultEncoding") );
// setEncoding( konqConfig.readEntry("DefaultEncoding") );
@@ -160,10 +160,10 @@ KParts::ReadOnlyPart *WHTMLPart::createPart( TQWidget * parentWidget, const char
bool WHTMLPart::eventFilter(TQObject *watched, TQEvent *e)
{
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(view()) && e->type() == TQEvent::FocusOut && (!m_contextMenu || !m_contextMenu->hasFocus()))
+ if (watched == view() && e->type() == TQEvent::FocusOut && (!m_contextMenu || !m_contextMenu->hasFocus()))
emit previewHasFocus(false);
else
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(view()) && e->type() == TQEvent::FocusIn)
+ if (watched == view() && e->type() == TQEvent::FocusIn)
emit previewHasFocus(true);
return false;
}
diff --git a/quanta/parts/preview/whtmlpart.h b/quanta/parts/preview/whtmlpart.h
index 73bd23e5..1b8e2b87 100644
--- a/quanta/parts/preview/whtmlpart.h
+++ b/quanta/parts/preview/whtmlpart.h
@@ -28,7 +28,7 @@ class TDEPopupMenu;
*/
class WHTMLPart : public TDEHTMLPart {
- Q_OBJECT
+ TQ_OBJECT
public:
WHTMLPart(TQWidget *parentWidget = 0, const char *widgetname = 0, bool enableViewSource = false,
diff --git a/quanta/plugins/CMakeLists.txt b/quanta/plugins/CMakeLists.txt
index 21be0e70..f4e84be9 100644
--- a/quanta/plugins/CMakeLists.txt
+++ b/quanta/plugins/CMakeLists.txt
@@ -16,6 +16,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/parsers
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/messages
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/plugins/pluginconfig.ui b/quanta/plugins/pluginconfig.ui
index 05766e6b..aa692c44 100644
--- a/quanta/plugins/pluginconfig.ui
+++ b/quanta/plugins/pluginconfig.ui
@@ -259,12 +259,9 @@
<includes>
<include location="global" impldecl="in implementation">kicondialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>pluginType_highlighted(const TQString&amp;)</slot>
<slot>slotPluginTypeHighlighted(const TQString&amp;)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kicondialog.h</includehint>
-</includehints>
</UI>
diff --git a/quanta/plugins/quantaplugin.cpp b/quanta/plugins/quantaplugin.cpp
index 19cc5981..71b6fe1d 100644
--- a/quanta/plugins/quantaplugin.cpp
+++ b/quanta/plugins/quantaplugin.cpp
@@ -73,7 +73,7 @@ void QuantaPlugin::setPluginName(const TQString &a_name)
m_name = a_name;
if (!m_action)
{
- m_action = new TDEToggleAction(i18n(a_name.utf8()), 0, this, TQT_SLOT(toggle()), quantaApp->actionCollection(), a_name.ascii());
+ m_action = new TDEToggleAction(i18n(a_name.utf8()), 0, this, TQ_SLOT(toggle()), quantaApp->actionCollection(), a_name.ascii());
}
m_action->setText(a_name);
}
@@ -114,9 +114,9 @@ bool QuantaPlugin::load()
TQString ow = outputWindow();
m_targetWidget = new TQWidget(quantaApp);
if (m_readOnlyPart)
- m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadOnlyPart>(partInfo.baseName().latin1(), m_targetWidget, 0, TQT_TQOBJECT(m_targetWidget), 0 );
+ m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadOnlyPart>(partInfo.baseName().latin1(), m_targetWidget, 0, m_targetWidget, 0 );
else
- m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadWritePart>(partInfo.baseName().latin1(), m_targetWidget, 0, TQT_TQOBJECT(m_targetWidget), 0 );
+ m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadWritePart>(partInfo.baseName().latin1(), m_targetWidget, 0, m_targetWidget, 0 );
if(!m_part)
{
KMessageBox::error(quantaApp, i18n("<qt>The <b>%1</b> plugin could not be loaded.<br>Possible reasons are:<br> - <b>%2</b> is not installed;<br> - the file <i>%3</i> is not installed or it is not reachable.").arg(m_name).arg(m_name).arg(m_fileName));
@@ -126,7 +126,7 @@ bool QuantaPlugin::load()
}
m_part->setName(m_name.ascii()); // for better debug output
m_part->widget()->setName(m_name.ascii()); //needed to be able to dock the same plugin twice in separate toolviews
- m_part->widget()->setFocusPolicy(TQ_ClickFocus);
+ m_part->widget()->setFocusPolicy(TQWidget::ClickFocus);
quantaApp->slotNewPart(m_part, false); // register the part in the partmanager
return true;
}
@@ -184,8 +184,8 @@ bool QuantaPlugin::run()
}
addWidget();
setRunning(true);
- connect( m_part, TQT_SIGNAL(setStatusBarText(const TQString &)),
- quantaApp, TQT_SLOT(slotStatusMsg( const TQString & )));
+ connect( m_part, TQ_SIGNAL(setStatusBarText(const TQString &)),
+ quantaApp, TQ_SLOT(slotStatusMsg( const TQString & )));
emit pluginStarted();
@@ -287,8 +287,8 @@ bool QuantaPlugin::unload(bool remove)
if(!isLoaded())
return false;
- disconnect( m_part, TQT_SIGNAL(setStatusBarText(const TQString &)),
- quantaApp, TQT_SLOT(slotStatusMsg( const TQString & )));
+ disconnect( m_part, TQ_SIGNAL(setStatusBarText(const TQString &)),
+ quantaApp, TQ_SLOT(slotStatusMsg( const TQString & )));
delete (KParts::ReadOnlyPart*) m_part;
m_part = 0;
diff --git a/quanta/plugins/quantaplugin.h b/quanta/plugins/quantaplugin.h
index 5f022797..a222909a 100644
--- a/quanta/plugins/quantaplugin.h
+++ b/quanta/plugins/quantaplugin.h
@@ -38,7 +38,7 @@ class QuantaView;
class QuantaPlugin : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
QuantaPlugin();
diff --git a/quanta/plugins/quantapluginconfig.cpp b/quanta/plugins/quantapluginconfig.cpp
index 57488d2f..f4f509d7 100644
--- a/quanta/plugins/quantapluginconfig.cpp
+++ b/quanta/plugins/quantapluginconfig.cpp
@@ -47,8 +47,8 @@ QuantaPluginConfig::QuantaPluginConfig(TQWidget *a_parent, const char *a_name)
m_pluginConfigWidget->outputWindow->insertStringList(windows);
m_pluginConfigWidget->iconButton->setStrictIconSize(false);
- connect(m_pluginConfigWidget->pluginName, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(nameChanged(const TQString &)));
- connect(m_pluginConfigWidget->locationButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(selectLocation()));
+ connect(m_pluginConfigWidget->pluginName, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(nameChanged(const TQString &)));
+ connect(m_pluginConfigWidget->locationButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(selectLocation()));
setMainWidget(m_pluginConfigWidget);
}
diff --git a/quanta/plugins/quantapluginconfig.h b/quanta/plugins/quantapluginconfig.h
index 6b5dc328..113a252d 100644
--- a/quanta/plugins/quantapluginconfig.h
+++ b/quanta/plugins/quantapluginconfig.h
@@ -29,7 +29,7 @@ class TQString;
class QuantaPluginConfig : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
QuantaPluginConfig(TQWidget *, const char *);
diff --git a/quanta/plugins/quantaplugineditor.cpp b/quanta/plugins/quantaplugineditor.cpp
index ba5294f2..a3ec85bb 100644
--- a/quanta/plugins/quantaplugineditor.cpp
+++ b/quanta/plugins/quantaplugineditor.cpp
@@ -52,14 +52,14 @@ QuantaPluginEditor::QuantaPluginEditor(TQWidget *a_parent, const char *a_name)
m_pluginEditorWidget->pluginList->setAllColumnsShowFocus(true);
m_pluginEditorWidget->pluginList->setColumnAlignment(2, TQt::AlignHCenter);
- connect(this, TQT_SIGNAL(pluginsChanged()), TQT_SLOT(refreshPlugins()));
- connect(m_pluginEditorWidget->refreshButton, TQT_SIGNAL(clicked()), TQT_SLOT(refreshPlugins()));
- connect(m_pluginEditorWidget->addButton, TQT_SIGNAL(clicked()), TQT_SLOT(addPlugin()));
- connect(m_pluginEditorWidget->removeButton, TQT_SIGNAL(clicked()), TQT_SLOT(removePlugin()));
- connect(m_pluginEditorWidget->addSearchPathButton, TQT_SIGNAL(clicked()), TQT_SLOT(addSearchPath()));
- connect(m_pluginEditorWidget->configureButton, TQT_SIGNAL(clicked()), TQT_SLOT(configurePlugin()));
- connect(m_pluginEditorWidget->pluginList, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
- TQT_SLOT(configurePlugin(TQListViewItem*, const TQPoint&, int)));
+ connect(this, TQ_SIGNAL(pluginsChanged()), TQ_SLOT(refreshPlugins()));
+ connect(m_pluginEditorWidget->refreshButton, TQ_SIGNAL(clicked()), TQ_SLOT(refreshPlugins()));
+ connect(m_pluginEditorWidget->addButton, TQ_SIGNAL(clicked()), TQ_SLOT(addPlugin()));
+ connect(m_pluginEditorWidget->removeButton, TQ_SIGNAL(clicked()), TQ_SLOT(removePlugin()));
+ connect(m_pluginEditorWidget->addSearchPathButton, TQ_SIGNAL(clicked()), TQ_SLOT(addSearchPath()));
+ connect(m_pluginEditorWidget->configureButton, TQ_SIGNAL(clicked()), TQ_SLOT(configurePlugin()));
+ connect(m_pluginEditorWidget->pluginList, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
+ TQ_SLOT(configurePlugin(TQListViewItem*, const TQPoint&, int)));
}
QuantaPluginEditor::~QuantaPluginEditor()
diff --git a/quanta/plugins/quantaplugineditor.h b/quanta/plugins/quantaplugineditor.h
index 3149f008..750ae12c 100644
--- a/quanta/plugins/quantaplugineditor.h
+++ b/quanta/plugins/quantaplugineditor.h
@@ -41,7 +41,7 @@ class PluginEditor;
class QuantaPluginEditor : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/plugins/quantaplugininterface.cpp b/quanta/plugins/quantaplugininterface.cpp
index ce838550..d963f3a1 100644
--- a/quanta/plugins/quantaplugininterface.cpp
+++ b/quanta/plugins/quantaplugininterface.cpp
@@ -42,7 +42,7 @@ QuantaPluginInterface::QuantaPluginInterface(TQWidget *parent)
{
m_parent = parent;
(void) new TDEAction( i18n( "Configure &Plugins..." ), 0, 0,
- this, TQT_SLOT( slotPluginsEdit() ),
+ this, TQ_SLOT( slotPluginsEdit() ),
((TDEMainWindow*)parent)->actionCollection(), "configure_plugins" );
m_pluginMenu = 0L;
// m_plugins.setAutoDelete(true);
diff --git a/quanta/plugins/quantaplugininterface.h b/quanta/plugins/quantaplugininterface.h
index 28458fad..d045a41d 100644
--- a/quanta/plugins/quantaplugininterface.h
+++ b/quanta/plugins/quantaplugininterface.h
@@ -37,7 +37,7 @@ class QuantaPlugin;
*/
class QuantaPluginInterface : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/quanta/project/CMakeLists.txt b/quanta/project/CMakeLists.txt
index 6f3c6f8f..ba5015ad 100644
--- a/quanta/project/CMakeLists.txt
+++ b/quanta/project/CMakeLists.txt
@@ -22,6 +22,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/dialogs/tagdialogs
${CMAKE_SOURCE_DIR}/quanta/components/debugger
${CMAKE_SOURCE_DIR}/quanta/components/debugger/interfaces
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/project/eventconfigurationdlg.h b/quanta/project/eventconfigurationdlg.h
index b7c64779..9f44580e 100644
--- a/quanta/project/eventconfigurationdlg.h
+++ b/quanta/project/eventconfigurationdlg.h
@@ -26,7 +26,7 @@ typedef TQMap<TQString, TQValueList<EventAction> > EventActions;
class EventConfigurationDlg : public EventConfigurationDlgS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/project/eventconfigurationdlgs.ui b/quanta/project/eventconfigurationdlgs.ui
index 73bb8666..06247c75 100644
--- a/quanta/project/eventconfigurationdlgs.ui
+++ b/quanta/project/eventconfigurationdlgs.ui
@@ -211,13 +211,14 @@
<tabstop>editButton</tabstop>
<tabstop>deleteButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotEditEvent()</slot>
<slot>slotAddEvent()</slot>
<slot>slotDeleteEvent()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/project/eventeditordlg.h b/quanta/project/eventeditordlg.h
index 45b94a95..7dbcea90 100644
--- a/quanta/project/eventeditordlg.h
+++ b/quanta/project/eventeditordlg.h
@@ -26,7 +26,7 @@ class KComboBox;
class EventEditorDlg : public EventEditorDlgS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/project/eventeditordlgs.ui b/quanta/project/eventeditordlgs.ui
index 995aa1d4..0cc9a0cd 100644
--- a/quanta/project/eventeditordlgs.ui
+++ b/quanta/project/eventeditordlgs.ui
@@ -229,8 +229,11 @@
<slot>slotActionChanged(const TQString&amp;)</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>slotActionChanged(const TQString &amp;name)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/project/membereditdlg.h b/quanta/project/membereditdlg.h
index 32d26633..2e1b5a51 100644
--- a/quanta/project/membereditdlg.h
+++ b/quanta/project/membereditdlg.h
@@ -24,7 +24,7 @@
*/
class MemberEditDlg : public MemberEditDlgS
{
-Q_OBJECT
+TQ_OBJECT
public:
MemberEditDlg(TQWidget *parent = 0, const char *name = 0);
diff --git a/quanta/project/membereditdlgs.ui b/quanta/project/membereditdlgs.ui
index 1d972b7b..ab625a5e 100644
--- a/quanta/project/membereditdlgs.ui
+++ b/quanta/project/membereditdlgs.ui
@@ -175,22 +175,16 @@
<tabstop>subprojectCombo</tabstop>
<tabstop>editSubprojectsButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotRoleSelected(const TQString&amp; roleName)</slot>
<slot>slotEditSubprojects()</slot>
<slot>slotMemberSelected()</slot>
<slot>slotSelectFromAddrBook()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/project/project.cpp b/quanta/project/project.cpp
index 107ba14a..48e13beb 100644
--- a/quanta/project/project.cpp
+++ b/quanta/project/project.cpp
@@ -72,7 +72,7 @@ Project::Project(TDEMainWindow *parent)
: TQObject()
{
d = new ProjectPrivate(this);
- connect(d, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
+ connect(d, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
d->m_mainWindow = parent;
d->m_uploadDialog = 0L;
keepPasswd = true;
@@ -131,8 +131,8 @@ void Project::insertFile(const KURL& nameURL, bool repaint )
if ( !destination.isEmpty() )
{
CopyTo *dlg = new CopyTo(d->baseURL);
- connect(dlg, TQT_SIGNAL(deleteDialog(CopyTo*)), d,
- TQT_SLOT(slotDeleteCopytoDlg(CopyTo*)));
+ connect(dlg, TQ_SIGNAL(deleteDialog(CopyTo*)), d,
+ TQ_SLOT(slotDeleteCopytoDlg(CopyTo*)));
url = dlg->copy( nameURL, destination );
}
else // Copy canceled, addition aborted
@@ -307,10 +307,10 @@ void Project::slotAddDirectory(const KURL& p_dirURL, bool showDlg)
(!destination.isEmpty()) )
{
CopyTo *dlg = new CopyTo(d->baseURL);
- connect(dlg, TQT_SIGNAL(addFilesToProject(const KURL::List&)),
- TQT_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
- connect(dlg, TQT_SIGNAL(deleteDialog(CopyTo *)), d,
- TQT_SLOT (slotDeleteCopytoDlg(CopyTo *)));
+ connect(dlg, TQ_SIGNAL(addFilesToProject(const KURL::List&)),
+ TQ_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
+ connect(dlg, TQ_SIGNAL(deleteDialog(CopyTo *)), d,
+ TQ_SLOT (slotDeleteCopytoDlg(CopyTo *)));
//if ( rdir.right(1) == "/" ) rdir.remove( rdir.length()-1,1);
dirURL = dlg->copy(dirURL, destination);
return;
@@ -477,10 +477,10 @@ void Project::slotOptions()
optionsPage.lineEmail->setText( d->email );
// Signals to handle debugger settings
- connect(optionsPage.buttonDebuggerOptions, TQT_SIGNAL(clicked()),
- d, TQT_SLOT(slotDebuggerOptions()));
- connect(optionsPage.comboDebuggerClient, TQT_SIGNAL(activated(const TQString &)),
- d, TQT_SLOT(slotDebuggerChanged(const TQString &)));
+ connect(optionsPage.buttonDebuggerOptions, TQ_SIGNAL(clicked()),
+ d, TQ_SLOT(slotDebuggerOptions()));
+ connect(optionsPage.comboDebuggerClient, TQ_SIGNAL(activated(const TQString &)),
+ d, TQ_SLOT(slotDebuggerChanged(const TQString &)));
// Debuggers Combo
@@ -863,7 +863,7 @@ void Project::slotUpload()
if (!d->m_uploadDialog)
{
d->m_uploadDialog = new ProjectUpload(KURL(), "", false, false, false, i18n("Upload project items...").ascii());
- connect(d->m_uploadDialog, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
+ connect(d->m_uploadDialog, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
d->m_uploadDialog->show();
} else
d->m_uploadDialog->raise();
@@ -878,7 +878,7 @@ void Project::slotUploadURL(const KURL& urlToUpload, const TQString& profileName
if (!d->m_uploadDialog)
{
d->m_uploadDialog = new ProjectUpload(url, profileName, false, quickUpload, markOnly, i18n("Upload project items...").ascii());
- connect(d->m_uploadDialog, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
+ connect(d->m_uploadDialog, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), this, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )));
d->m_uploadDialog->show();
} else
d->m_uploadDialog->raise();
@@ -1052,8 +1052,8 @@ void Project::slotReloadProjectDocs()
{
delete d->m_dirWatch;
d->m_dirWatch = new KDirWatch(this);
- connect(d->m_dirWatch, TQT_SIGNAL(dirty(const TQString &)), TQT_SIGNAL(reloadProjectDocs()));
- connect(d->m_dirWatch, TQT_SIGNAL(deleted(const TQString &)), TQT_SIGNAL(reloadProjectDocs()));
+ connect(d->m_dirWatch, TQ_SIGNAL(dirty(const TQString &)), TQ_SIGNAL(reloadProjectDocs()));
+ connect(d->m_dirWatch, TQ_SIGNAL(deleted(const TQString &)), TQ_SIGNAL(reloadProjectDocs()));
if (d->baseURL.isLocalFile())
d->m_dirWatch->addDir(d->baseURL.path() + "/doc");
KURL url;
diff --git a/quanta/project/project.h b/quanta/project/project.h
index e1487ad7..7c55cfef 100644
--- a/quanta/project/project.h
+++ b/quanta/project/project.h
@@ -52,7 +52,7 @@ struct SubProject {
};
class Project : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
friend class ProjectPrivate; // need this because I use the signals
diff --git a/quanta/project/projectnewfinal.h b/quanta/project/projectnewfinal.h
index 654af85a..2b3304ce 100644
--- a/quanta/project/projectnewfinal.h
+++ b/quanta/project/projectnewfinal.h
@@ -25,7 +25,7 @@
*/
class ProjectNewFinal : public ProjectNewFinalS {
- Q_OBJECT
+ TQ_OBJECT
public:
ProjectNewFinal(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/project/projectnewgeneral.cpp b/quanta/project/projectnewgeneral.cpp
index ce9faf08..1503b951 100644
--- a/quanta/project/projectnewgeneral.cpp
+++ b/quanta/project/projectnewgeneral.cpp
@@ -67,21 +67,21 @@ ProjectNewGeneral::ProjectNewGeneral(TQWidget *parent, const char *name )
linePrjTmpl->setText("templates");
linePrjToolbar->setText("toolbars");
- connect(comboProtocol, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotProtocolChanged(const TQString &)));
- connect( linePrjFile, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( linePrjName, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( linePrjDir, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( buttonDir, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotButtonDir()));
- connect( linePrjName, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotChangeNames(const TQString &)));
- connect( linePrjTmpl, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( buttonTmpl, TQT_SIGNAL(clicked()), TQT_SLOT(slotButtonTmpl()));
- connect( linePrjToolbar, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( buttonToolbar, TQT_SIGNAL(clicked()), TQT_SLOT(slotButtonToolbar()));
+ connect(comboProtocol, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotProtocolChanged(const TQString &)));
+ connect( linePrjFile, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( linePrjName, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( linePrjDir, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( buttonDir, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotButtonDir()));
+ connect( linePrjName, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotChangeNames(const TQString &)));
+ connect( linePrjTmpl, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( buttonTmpl, TQ_SIGNAL(clicked()), TQ_SLOT(slotButtonTmpl()));
+ connect( linePrjToolbar, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( buttonToolbar, TQ_SIGNAL(clicked()), TQ_SLOT(slotButtonToolbar()));
linePrjTmpl->installEventFilter(this);
linePrjToolbar->installEventFilter(this);
@@ -218,7 +218,7 @@ bool ProjectNewGeneral::eventFilter ( TQObject * watched, TQEvent * e )
{
if (e->type() == TQEvent::FocusOut)
{
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(linePrjTmpl))
+ if (watched == linePrjTmpl)
{
KURL url = baseUrl;
QuantaCommon::setUrl(url, linePrjTmpl->text());
@@ -231,7 +231,7 @@ bool ProjectNewGeneral::eventFilter ( TQObject * watched, TQEvent * e )
} else
emit enableNextButton(this, true);
} else
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(linePrjToolbar))
+ if (watched == linePrjToolbar)
{
KURL url = baseUrl;
QuantaCommon::setUrl(url, linePrjToolbar->text());
diff --git a/quanta/project/projectnewgeneral.h b/quanta/project/projectnewgeneral.h
index 6a1839b7..ea475989 100644
--- a/quanta/project/projectnewgeneral.h
+++ b/quanta/project/projectnewgeneral.h
@@ -27,7 +27,7 @@
class KURL;
class ProjectNewGeneral : public ProjectNewGeneralS {
- Q_OBJECT
+ TQ_OBJECT
public:
ProjectNewGeneral(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/project/projectnewlocal.cpp b/quanta/project/projectnewlocal.cpp
index 1f4750b1..6964b030 100644
--- a/quanta/project/projectnewlocal.cpp
+++ b/quanta/project/projectnewlocal.cpp
@@ -59,13 +59,13 @@ ProjectNewLocal::ProjectNewLocal(TQWidget *parent, const char *name )
checkInsertWeb->setChecked( true );
- connect( checkInsert, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetFiles(bool)));
- connect( checkInsertWeb, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetFiles(bool)));
- connect( checkInsertWithMask, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetFiles(bool)));
+ connect( checkInsert, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetFiles(bool)));
+ connect( checkInsertWeb, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetFiles(bool)));
+ connect( checkInsertWithMask, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetFiles(bool)));
- connect(addFiles, TQT_SIGNAL(clicked()),this,TQT_SLOT(slotAddFiles()));
- connect(addFolder, TQT_SIGNAL(clicked()),this,TQT_SLOT(slotAddFolder()));
- connect(clearList, TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClearList()));
+ connect(addFiles, TQ_SIGNAL(clicked()),this,TQ_SLOT(slotAddFiles()));
+ connect(addFolder, TQ_SIGNAL(clicked()),this,TQ_SLOT(slotAddFolder()));
+ connect(clearList, TQ_SIGNAL(clicked()),this,TQ_SLOT(slotClearList()));
}
ProjectNewLocal::~ProjectNewLocal(){
@@ -202,10 +202,10 @@ void ProjectNewLocal::slotAddFiles()
if ( !destination.isEmpty())
{
CopyTo *dlg = new CopyTo( baseURL);
- connect(dlg, TQT_SIGNAL(addFilesToProject(const KURL::List&)),
- TQT_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
- connect(dlg, TQT_SIGNAL(deleteDialog(CopyTo *)),
- TQT_SLOT (slotDeleteCopyToDialog(CopyTo *)));
+ connect(dlg, TQ_SIGNAL(addFilesToProject(const KURL::List&)),
+ TQ_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
+ connect(dlg, TQ_SIGNAL(deleteDialog(CopyTo *)),
+ TQ_SLOT (slotDeleteCopyToDialog(CopyTo *)));
list = dlg->copy( list, destination );
return;
} else
@@ -263,10 +263,10 @@ void ProjectNewLocal::slotAddFolder()
if ( !destination.isEmpty())
{
CopyTo *dlg = new CopyTo( baseURL);
- connect(dlg, TQT_SIGNAL(addFilesToProject(const KURL::List&)),
- TQT_SLOT (slotInsertFolderAfterCopying(const KURL::List&)));
- connect(dlg, TQT_SIGNAL(deleteDialog(CopyTo *)),
- TQT_SLOT (slotDeleteCopyToDialog(CopyTo *)));
+ connect(dlg, TQ_SIGNAL(addFilesToProject(const KURL::List&)),
+ TQ_SLOT (slotInsertFolderAfterCopying(const KURL::List&)));
+ connect(dlg, TQ_SIGNAL(deleteDialog(CopyTo *)),
+ TQ_SLOT (slotDeleteCopyToDialog(CopyTo *)));
dirURL = dlg->copy(dirURL, destination);
return;
} else
diff --git a/quanta/project/projectnewlocal.h b/quanta/project/projectnewlocal.h
index 84952553..2663eaeb 100644
--- a/quanta/project/projectnewlocal.h
+++ b/quanta/project/projectnewlocal.h
@@ -29,7 +29,7 @@
class CopyTo;
class ProjectNewLocal : public ProjectNewLocalS {
- Q_OBJECT
+ TQ_OBJECT
public:
ProjectNewLocal(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/project/projectnewlocals.ui b/quanta/project/projectnewlocals.ui
index a23e8de7..4da60b9d 100644
--- a/quanta/project/projectnewlocals.ui
+++ b/quanta/project/projectnewlocals.ui
@@ -338,7 +338,7 @@
<tabstop>clearList</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>uploadtreeview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">uploadtreeview.h</include>
+</includes>
</UI>
diff --git a/quanta/project/projectnewweb.cpp b/quanta/project/projectnewweb.cpp
index d1692ab6..7e904fe8 100644
--- a/quanta/project/projectnewweb.cpp
+++ b/quanta/project/projectnewweb.cpp
@@ -49,14 +49,14 @@ ProjectNewWeb::ProjectNewWeb(TQWidget *parent, const char *name )
listView->removeColumn(1);
listView->removeColumn(1);
- connect( commandLine, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT (enableStart(const TQString&)));
- connect( siteUrl, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT (setCommandL(const TQString&)));
- connect( button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT (slotStart()));
- connect( protocolCombo,TQT_SIGNAL(highlighted(const TQString&)),
- this, TQT_SLOT (setProtocol(const TQString&)));
+ connect( commandLine, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT (enableStart(const TQString&)));
+ connect( siteUrl, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT (setCommandL(const TQString&)));
+ connect( button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT (slotStart()));
+ connect( protocolCombo,TQ_SIGNAL(highlighted(const TQString&)),
+ this, TQ_SLOT (setProtocol(const TQString&)));
start = false;
KLed1->setState(KLed::Off);
@@ -115,12 +115,12 @@ void ProjectNewWeb::slotStart()
*proc << *it;
}
- connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this,
- TQT_SLOT( slotGetWgetOutput(TDEProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this,
- TQT_SLOT( slotGetWgetOutput(TDEProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(processExited( TDEProcess *)), this,
- TQT_SLOT( slotGetWgetExited(TDEProcess *)));
+ connect( proc, TQ_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this,
+ TQ_SLOT( slotGetWgetOutput(TDEProcess*,char*,int)));
+ connect( proc, TQ_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this,
+ TQ_SLOT( slotGetWgetOutput(TDEProcess*,char*,int)));
+ connect( proc, TQ_SIGNAL(processExited( TDEProcess *)), this,
+ TQ_SLOT( slotGetWgetExited(TDEProcess *)));
if (proc->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput))
{
diff --git a/quanta/project/projectnewweb.h b/quanta/project/projectnewweb.h
index 5c6e2b5e..50681b09 100644
--- a/quanta/project/projectnewweb.h
+++ b/quanta/project/projectnewweb.h
@@ -33,7 +33,7 @@ class TDEProcess;
class KURL;
class ProjectNewWeb : public ProjectNewWebS {
- Q_OBJECT
+ TQ_OBJECT
public:
ProjectNewWeb(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/project/projectnewwebs.ui b/quanta/project/projectnewwebs.ui
index df0d8539..c499d194 100644
--- a/quanta/project/projectnewwebs.ui
+++ b/quanta/project/projectnewwebs.ui
@@ -284,9 +284,8 @@
<tabstop>button</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kled.h</includehint>
- <includehint>uploadtreeview.h</includehint>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">uploadtreeview.h</include>
+ <include location="global" impldecl="in implementation">kled.h</include>
+</includes>
</UI>
diff --git a/quanta/project/projectoptions.ui b/quanta/project/projectoptions.ui
index 5d2e8cc8..ba95e7e2 100644
--- a/quanta/project/projectoptions.ui
+++ b/quanta/project/projectoptions.ui
@@ -435,9 +435,6 @@
<property name="text">
<string>Remember watches across sessions</string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
</grid>
</widget>
@@ -531,10 +528,10 @@
<includes>
<include location="local" impldecl="in implementation">projectoptions.ui.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>buttonTemplate_clicked()</slot>
<slot>buttonToolbar_clicked()</slot>
<slot>comboDebuggerClient_activated( int idx )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/quanta/project/projectprivate.cpp b/quanta/project/projectprivate.cpp
index 21040079..f1e13c5d 100644
--- a/quanta/project/projectprivate.cpp
+++ b/quanta/project/projectprivate.cpp
@@ -83,73 +83,73 @@ ProjectPrivate::~ProjectPrivate()
void ProjectPrivate::initActions(TDEActionCollection *ac)
{
(void) new TDEAction( i18n( "&New Project..." ), "window-new", 0,
- this, TQT_SLOT( slotNewProject() ),
+ this, TQ_SLOT( slotNewProject() ),
ac, "project_new" );
(void) new TDEAction( i18n( "&Open Project..." ), "project_open", 0,
- this, TQT_SLOT( slotOpenProject() ),
+ this, TQ_SLOT( slotOpenProject() ),
ac, "project_open" );
m_projectRecent =
- KStdAction::openRecent(parent, TQT_SLOT(slotOpenProject(const KURL&)),
+ KStdAction::openRecent(parent, TQ_SLOT(slotOpenProject(const KURL&)),
ac, "project_open_recent");
m_projectRecent->setText(i18n("Open Recent Project"));
m_projectRecent->setIcon("project_open");
m_projectRecent->setToolTip(i18n("Open/Open recent project"));
- connect(m_projectRecent, TQT_SIGNAL(activated()), this, TQT_SLOT(slotOpenProject()));
+ connect(m_projectRecent, TQ_SIGNAL(activated()), this, TQ_SLOT(slotOpenProject()));
closeprjAction = new TDEAction( i18n( "&Close Project" ), "window-close", 0,
- this, TQT_SLOT( slotCloseProject() ),
+ this, TQ_SLOT( slotCloseProject() ),
ac, "project_close" );
openPrjViewAction = new TDESelectAction( i18n( "Open Project &View..." ), 0,
ac, "project_view_open" );
- connect(openPrjViewAction, TQT_SIGNAL(activated(const TQString &)),
- this, TQT_SLOT(slotOpenProjectView(const TQString &)));
+ connect(openPrjViewAction, TQ_SIGNAL(activated(const TQString &)),
+ this, TQ_SLOT(slotOpenProjectView(const TQString &)));
openPrjViewAction->setToolTip(i18n("Open project view"));
savePrjViewAction = new TDEAction( i18n( "&Save Project View" ), "document-save", 0,
- this, TQT_SLOT( slotSaveProjectView() ),
+ this, TQ_SLOT( slotSaveProjectView() ),
ac, "project_view_save" );
saveAsPrjViewAction = new TDEAction( i18n( "Save Project View &As..." ), "document-save-as", 0,
- this, TQT_SLOT( slotSaveAsProjectView() ),
+ this, TQ_SLOT( slotSaveAsProjectView() ),
ac, "project_view_save_as" );
deletePrjViewAction = new TDESelectAction( i18n( "&Delete Project View" ), "edit-delete", 0,
ac, "project_view_delete" );
- connect(deletePrjViewAction, TQT_SIGNAL(activated(const TQString &)),
- this, TQT_SLOT(slotDeleteProjectView(const TQString &)));
+ connect(deletePrjViewAction, TQ_SIGNAL(activated(const TQString &)),
+ this, TQ_SLOT(slotDeleteProjectView(const TQString &)));
deletePrjViewAction->setToolTip(i18n("Close project view"));
insertFileAction = new TDEAction( i18n( "&Insert Files..." ), 0,
- this, TQT_SLOT( slotAddFiles() ),
+ this, TQ_SLOT( slotAddFiles() ),
ac, "project_insert_file" );
insertDirAction = new TDEAction( i18n( "Inser&t Folder..." ), 0,
- this, TQT_SLOT( slotAddDirectory() ),
+ this, TQ_SLOT( slotAddDirectory() ),
ac, "project_insert_directory" );
rescanPrjDirAction = new TDEAction( i18n( "&Rescan Project Folder..." ), "reload", 0,
- parent, TQT_SLOT( slotRescanPrjDir() ),
+ parent, TQ_SLOT( slotRescanPrjDir() ),
ac, "project_rescan" );
uploadProjectAction = new TDEAction( i18n( "&Upload Project..." ), "go-up", Key_F8,
- parent, TQT_SLOT( slotUpload() ),
+ parent, TQ_SLOT( slotUpload() ),
ac, "project_upload" );
projectOptionAction = new TDEAction( i18n( "&Project Properties" ), "configure", SHIFT + Key_F7,
- parent, TQT_SLOT( slotOptions() ),
+ parent, TQ_SLOT( slotOptions() ),
ac, "project_options" );
saveAsProjectTemplateAction =
new TDEAction( i18n( "Save as Project Template..." ), 0,
- TQT_TQOBJECT(m_mainWindow), TQT_SLOT( slotFileSaveAsProjectTemplate() ),
+ m_mainWindow, TQ_SLOT( slotFileSaveAsProjectTemplate() ),
ac, "save_project_template" );
saveSelectionAsProjectTemplateAction =
new TDEAction( i18n( "Save Selection to Project Template File..." ), 0,
- TQT_TQOBJECT(m_mainWindow), TQT_SLOT( slotFileSaveSelectionAsProjectTemplate() ),
+ m_mainWindow, TQ_SLOT( slotFileSaveSelectionAsProjectTemplate() ),
ac, "save_selection_project_template" );
adjustActions();
}
@@ -1145,27 +1145,27 @@ void ProjectPrivate::slotNewProject()
wiz->setNextEnabled ( pnf, false );
wiz->setFinishEnabled( pnf, true );
- connect( png, TQT_SIGNAL(enableNextButton(TQWidget *,bool)),
- wiz, TQT_SLOT(setNextEnabled(TQWidget*,bool)));
- connect( png, TQT_SIGNAL(setBaseURL(const KURL&)),
- pnl, TQT_SLOT( setBaseURL(const KURL&)));
- connect( png, TQT_SIGNAL(setBaseURL(const KURL&)),
- pnw, TQT_SLOT( setBaseURL(const KURL&)));
- connect( this,TQT_SIGNAL(setLocalFiles(bool)),
- pnl, TQT_SLOT(slotSetFiles(bool)));
+ connect( png, TQ_SIGNAL(enableNextButton(TQWidget *,bool)),
+ wiz, TQ_SLOT(setNextEnabled(TQWidget*,bool)));
+ connect( png, TQ_SIGNAL(setBaseURL(const KURL&)),
+ pnl, TQ_SLOT( setBaseURL(const KURL&)));
+ connect( png, TQ_SIGNAL(setBaseURL(const KURL&)),
+ pnw, TQ_SLOT( setBaseURL(const KURL&)));
+ connect( this,TQ_SIGNAL(setLocalFiles(bool)),
+ pnl, TQ_SLOT(slotSetFiles(bool)));
- connect(wiz, TQT_SIGNAL(selected(const TQString &)),
- this, TQT_SLOT (slotSelectProjectType(const TQString &)));
- connect(wiz, TQT_SIGNAL(helpClicked()), TQT_SLOT(slotNewProjectHelpClicked()));
-
- connect( pnw, TQT_SIGNAL(enableMessagesWidget()),
- parent, TQT_SIGNAL(enableMessageWidget()));
- connect( pnw, TQT_SIGNAL(messages(const TQString&)),
- parent, TQT_SLOT (slotGetMessages(const TQString&)));
- connect( pnw, TQT_SIGNAL(enableNextButton(TQWidget *,bool)),
- wiz, TQT_SLOT(setNextEnabled(TQWidget*,bool)));
- connect( pnw, TQT_SIGNAL(enableNextButton(TQWidget *,bool)),
- wiz, TQT_SLOT(setBackEnabled(TQWidget*,bool)));
+ connect(wiz, TQ_SIGNAL(selected(const TQString &)),
+ this, TQ_SLOT (slotSelectProjectType(const TQString &)));
+ connect(wiz, TQ_SIGNAL(helpClicked()), TQ_SLOT(slotNewProjectHelpClicked()));
+
+ connect( pnw, TQ_SIGNAL(enableMessagesWidget()),
+ parent, TQ_SIGNAL(enableMessageWidget()));
+ connect( pnw, TQ_SIGNAL(messages(const TQString&)),
+ parent, TQ_SLOT (slotGetMessages(const TQString&)));
+ connect( pnw, TQ_SIGNAL(enableNextButton(TQWidget *,bool)),
+ wiz, TQ_SLOT(setNextEnabled(TQWidget*,bool)));
+ connect( pnw, TQ_SIGNAL(enableNextButton(TQWidget *,bool)),
+ wiz, TQ_SLOT(setBackEnabled(TQWidget*,bool)));
TQStringList lst = DTDs::ref()->nickNameList(true);
pnf->dtdCombo->insertStringList(lst);
@@ -1204,13 +1204,13 @@ void ProjectPrivate::slotNewProject()
void ProjectPrivate::slotCloseProject()
{
if (!parent->hasProject()) return;
- connect(ViewManager::ref(), TQT_SIGNAL(filesClosed(bool)), this, TQT_SLOT(slotProceedWithCloseProject(bool)));
+ connect(ViewManager::ref(), TQ_SIGNAL(filesClosed(bool)), this, TQ_SLOT(slotProceedWithCloseProject(bool)));
parent->closeFiles();
}
void ProjectPrivate::slotProceedWithCloseProject(bool success)
{
- disconnect(ViewManager::ref(), TQT_SIGNAL(filesClosed(bool)), this, TQT_SLOT(slotProceedWithCloseProject(bool)));
+ disconnect(ViewManager::ref(), TQ_SIGNAL(filesClosed(bool)), this, TQ_SLOT(slotProceedWithCloseProject(bool)));
if (!success) return;
emit eventHappened("before_project_close", baseURL.url(), TQString());
if (!uploadProjectFile())
@@ -1446,10 +1446,10 @@ void ProjectPrivate::slotAddFiles()
if ( !destination.isEmpty())
{
CopyTo *dlg = new CopyTo( baseURL);
- connect(dlg, TQT_SIGNAL(deleteDialog(CopyTo*)),
- TQT_SLOT (slotDeleteCopytoDlg(CopyTo*)));
- connect(dlg, TQT_SIGNAL(addFilesToProject(const KURL::List&)), parent,
- TQT_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
+ connect(dlg, TQ_SIGNAL(deleteDialog(CopyTo*)),
+ TQ_SLOT (slotDeleteCopytoDlg(CopyTo*)));
+ connect(dlg, TQ_SIGNAL(addFilesToProject(const KURL::List&)), parent,
+ TQ_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
list = dlg->copy( list, destination );
return;
}
diff --git a/quanta/project/projectprivate.h b/quanta/project/projectprivate.h
index d67d27d3..f7421e8e 100644
--- a/quanta/project/projectprivate.h
+++ b/quanta/project/projectprivate.h
@@ -50,7 +50,7 @@ typedef TQMap<TQString, TQValueList<EventAction> > EventActions;
class ProjectPrivate
: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
ProjectPrivate(Project *p);
diff --git a/quanta/project/projectupload.cpp b/quanta/project/projectupload.cpp
index 481ea134..8c949951 100644
--- a/quanta/project/projectupload.cpp
+++ b/quanta/project/projectupload.cpp
@@ -83,7 +83,7 @@ ProjectUpload::ProjectUpload(const KURL& url, const TQString& profileName, bool
{
if (markOnly)
markAsUploaded->setChecked(true);
- TQTimer::singleShot(10, this, TQT_SLOT(slotBuildTree()));
+ TQTimer::singleShot(10, this, TQ_SLOT(slotBuildTree()));
currentItem = 0L;
}
}
@@ -149,7 +149,7 @@ void ProjectUpload::initProjectInfo(const TQString& defaultProfile)
buttonRemoveProfile->setEnabled(comboProfile->count() > 1);
keepPasswords->setChecked(m_project->keepPasswd);
uploadInProgress = false;
- connect( this, TQT_SIGNAL( uploadNext() ), TQT_SLOT( slotUploadNext() ) );
+ connect( this, TQ_SIGNAL( uploadNext() ), TQ_SLOT( slotUploadNext() ) );
setProfileTooltip();
}
@@ -456,12 +456,12 @@ void ProjectUpload::upload()
emit eventHappened("before_upload", from.url(), to.url());
TDEIO::FileCopyJob *job = TDEIO::file_copy( from, to, fileItem->permissions(), true, false, false );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),this,
- TQT_SLOT( uploadFinished( TDEIO::Job * ) ) );
- connect( job, TQT_SIGNAL( percent( TDEIO::Job *,unsigned long ) ),
- this, TQT_SLOT( uploadProgress( TDEIO::Job *,unsigned long ) ) );
- connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job *,const TQString& ) ),
- this, TQT_SLOT( uploadMessage( TDEIO::Job *,const TQString& ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),this,
+ TQ_SLOT( uploadFinished( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( percent( TDEIO::Job *,unsigned long ) ),
+ this, TQ_SLOT( uploadProgress( TDEIO::Job *,unsigned long ) ) );
+ connect( job, TQ_SIGNAL( infoMessage( TDEIO::Job *,const TQString& ) ),
+ this, TQ_SLOT( uploadMessage( TDEIO::Job *,const TQString& ) ) );
labelCurFile->setText(i18n("Current: %1").arg(currentURL.fileName()));
currentProgress->setProgress( 0 );
diff --git a/quanta/project/projectupload.h b/quanta/project/projectupload.h
index c3071899..2e99c615 100644
--- a/quanta/project/projectupload.h
+++ b/quanta/project/projectupload.h
@@ -37,7 +37,7 @@ class UploadProfileDlgS;
class ProjectUpload : public ProjectUploadS
{
- Q_OBJECT
+ TQ_OBJECT
public:
/** Initializes the dialog. If showOnlyProfiles is true, the dialog
diff --git a/quanta/project/projectuploads.ui b/quanta/project/projectuploads.ui
index 5c91636f..2c8cf68c 100644
--- a/quanta/project/projectuploads.ui
+++ b/quanta/project/projectuploads.ui
@@ -476,7 +476,7 @@
<includes>
<include location="global" impldecl="in declaration">../treeviews/uploadtreeview.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>clearSelection()</slot>
<slot>startUpload()</slot>
<slot>selectAll()</slot>
@@ -489,9 +489,12 @@
<slot>slotEditProfile()</slot>
<slot>slotRemoveProfile()</slot>
<slot>slotNewProfileSelected(const TQString&amp;)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>uploadtreeview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">uploadtreeview.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">kprogress.h</include>
+</includes>
</UI>
diff --git a/quanta/project/rescanprj.cpp b/quanta/project/rescanprj.cpp
index e78eb438..89c65e86 100644
--- a/quanta/project/rescanprj.cpp
+++ b/quanta/project/rescanprj.cpp
@@ -56,22 +56,22 @@ RescanPrj::RescanPrj(const ProjectList &p_prjFileList, const KURL& p_baseURL, co
TDEIO::ListJob *job = TDEIO::listRecursive( baseURL, false );
m_listJobCount = 1;
- connect( job, TQT_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
- this,TQT_SLOT (addEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
- connect( job, TQT_SIGNAL(result(TDEIO::Job *)),
- this,TQT_SLOT (slotListDone(TDEIO::Job *)));
-
-
- connect( buttonSelect, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSelect()));
- connect( buttonDeselect, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotDeselect()));
- connect( buttonInvert, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotInvert()));
- connect( buttonExpand, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotExpand()));
- connect( buttonCollapse, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotCollapse()));
+ connect( job, TQ_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
+ this,TQ_SLOT (addEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
+ connect( job, TQ_SIGNAL(result(TDEIO::Job *)),
+ this,TQ_SLOT (slotListDone(TDEIO::Job *)));
+
+
+ connect( buttonSelect, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSelect()));
+ connect( buttonDeselect, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotDeselect()));
+ connect( buttonInvert, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotInvert()));
+ connect( buttonExpand, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotExpand()));
+ connect( buttonCollapse, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotCollapse()));
}
RescanPrj::~RescanPrj()
@@ -151,10 +151,10 @@ void RescanPrj::addEntries(TDEIO::Job *job,const TDEIO::UDSEntryList &list)
TDEIO::ListJob *ljob = TDEIO::listRecursive( (*it)->url(), false );
m_listJobCount++;
- connect( ljob, TQT_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
- this,TQT_SLOT (addEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
- connect( ljob, TQT_SIGNAL(result(TDEIO::Job *)),
- this,TQT_SLOT (slotListDone(TDEIO::Job *)));
+ connect( ljob, TQ_SIGNAL(entries(TDEIO::Job *,const TDEIO::UDSEntryList &)),
+ this,TQ_SLOT (addEntries(TDEIO::Job *,const TDEIO::UDSEntryList &)));
+ connect( ljob, TQ_SIGNAL(result(TDEIO::Job *)),
+ this,TQ_SLOT (slotListDone(TDEIO::Job *)));
}
}
diff --git a/quanta/project/rescanprj.h b/quanta/project/rescanprj.h
index 5c36efb9..d985ecfd 100644
--- a/quanta/project/rescanprj.h
+++ b/quanta/project/rescanprj.h
@@ -33,7 +33,7 @@ struct URLListEntry{
};
class RescanPrj : public RescanPrjDir {
- Q_OBJECT
+ TQ_OBJECT
public:
RescanPrj(const ProjectList &p_prjFileList, const KURL& p_baseURL, const TQRegExp &p_excludeRx,
diff --git a/quanta/project/rescanprjdir.ui b/quanta/project/rescanprjdir.ui
index 8fb4b774..f35469e1 100644
--- a/quanta/project/rescanprjdir.ui
+++ b/quanta/project/rescanprjdir.ui
@@ -248,8 +248,8 @@
<tabstop>buttonHelp</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kprogress.h</includehint>
- <includehint>uploadtreeview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kprogress.h</include>
+ <include location="global" impldecl="in implementation">uploadtreeview.h</include>
+</includes>
</UI>
diff --git a/quanta/project/subprojecteditdlgs.ui b/quanta/project/subprojecteditdlgs.ui
index d1a0a168..dd60b002 100644
--- a/quanta/project/subprojecteditdlgs.ui
+++ b/quanta/project/subprojecteditdlgs.ui
@@ -70,4 +70,7 @@
<tabstop>createNew</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/project/teammembersdlg.h b/quanta/project/teammembersdlg.h
index 2e7d900e..f01ed28b 100644
--- a/quanta/project/teammembersdlg.h
+++ b/quanta/project/teammembersdlg.h
@@ -24,7 +24,7 @@
*/
class TeamMembersDlg : public TeamMembersDlgS
{
-Q_OBJECT
+TQ_OBJECT
public:
TeamMembersDlg(TQWidget *parent = 0, const char *name = 0);
diff --git a/quanta/project/teammembersdlgs.ui b/quanta/project/teammembersdlgs.ui
index 512c02ca..4a72e738 100644
--- a/quanta/project/teammembersdlgs.ui
+++ b/quanta/project/teammembersdlgs.ui
@@ -231,19 +231,16 @@
<tabstop>deleteMemberButton</tabstop>
<tabstop>setToYourselfButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotAddMember()</slot>
<slot>slotEditMember()</slot>
<slot>slotDeleteMember()</slot>
<slot>slotSetToYourself()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/quanta/project/uploadprofiledlgs.ui b/quanta/project/uploadprofiledlgs.ui
index de6521e6..9830013f 100644
--- a/quanta/project/uploadprofiledlgs.ui
+++ b/quanta/project/uploadprofiledlgs.ui
@@ -307,4 +307,9 @@ is obscured, saving the password in any file is a security risk. Use this option
<tabstop>cancelButton</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpassdlg.h</include>
+</includes>
</UI>
diff --git a/quanta/project/uploadprofilespage.ui b/quanta/project/uploadprofilespage.ui
index a5a87110..6806dfab 100644
--- a/quanta/project/uploadprofilespage.ui
+++ b/quanta/project/uploadprofilespage.ui
@@ -118,8 +118,11 @@
<includes>
<include location="local" impldecl="in implementation">uploadprofilespage.ui.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>buttonEditProfiles_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/quanta.tdevelop b/quanta/quanta.tdevelop
index 3d76a479..924e93b2 100644
--- a/quanta/quanta.tdevelop
+++ b/quanta/quanta.tdevelop
@@ -81,8 +81,8 @@
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
- <cflags>-DKDE_NO_COMPAT -DTQT_NO_COMPAT</cflags>
- <cxxflags>-DKDE_NO_COMPAT -DTQT_NO_COMPAT -DDEBUG_PARSER</cxxflags>
+ <cflags>-DKDE_NO_COMPAT</cflags>
+ <cxxflags>-DKDE_NO_COMPAT -DDEBUG_PARSER</cxxflags>
<f77flags/>
<topsourcedir>/data/development/sources/kde-3.5/tdewebdev</topsourcedir>
<cppflags/>
@@ -136,7 +136,7 @@
<cxxcompilerbinary/>
<f77compilerbinary/>
<cflags/>
- <cxxflags>-DKDE_NO_COMPAT -DTQT_NO_COMPAT</cxxflags>
+ <cxxflags>-DKDE_NO_COMPAT</cxxflags>
<f77flags/>
</withoutkafka>
<final>
@@ -151,8 +151,8 @@
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
- <cflags>-DKDE_NO_COMPAT -DTQT_NO_COMPAT</cflags>
- <cxxflags>-DKDE_NO_COMPAT -DTQT_NO_COMPAT</cxxflags>
+ <cflags>-DKDE_NO_COMPAT</cflags>
+ <cxxflags>-DKDE_NO_COMPAT</cxxflags>
<f77flags/>
</final>
</configurations>
diff --git a/quanta/quanta_uml.xmi b/quanta/quanta_uml.xmi
index ac5b3ffa..d266e9fa 100644
--- a/quanta/quanta_uml.xmi
+++ b/quanta/quanta_uml.xmi
@@ -13,12 +13,12 @@
<umlobjects>
<UML:Class stereotype="" package="" xmi.id="74" abstract="0" documentation="This should contain a &quot;view&quot; of the document. This is not clearly implemented. The class contains a set of tabs, and each tab can hold one Document object. I think the tab (and such the MDI) handling should go to the QuantaApp class and here only the document view related things should be. Just as the Document/View model requests." name="QuantaView" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="86" type="" abstract="0" documentation="" name="QuantaView" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="87" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="87" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="88" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="89" type="void" abstract="0" documentation="" name="addWrite" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="90" value="" type="Document *" abstract="0" documentation="" name="w" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="91" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="label" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="91" value="" type="TQString" abstract="0" documentation="" name="label" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="92" type="KURL" abstract="0" documentation="" name="baseURL" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="93" type="virtual void" abstract="0" documentation="" name="dragEnterEvent" static="0" scope="202" >
@@ -31,8 +31,8 @@
<UML:Operation stereotype="" package="" xmi.id="98" type="void" abstract="0" documentation="" name="initActions" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="99" type="void" abstract="0" documentation="" name="initMenu" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="100" type="void" abstract="0" documentation="" name="insertNewTag" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="101" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="102" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attr" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="101" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="102" value="" type="TQString" abstract="0" documentation="" name="attr" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="103" value="" type="bool" abstract="0" documentation="" name="insertInLine" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="104" type="void" abstract="0" documentation="" name="insertTag" static="0" scope="200" >
@@ -49,11 +49,11 @@
<UML:Attribute stereotype="" package="" xmi.id="76" value="" type="bool" abstract="0" documentation="" name="beginOfScriptOutput" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="77" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="78" value="" type="QuantaDoc *" abstract="0" documentation="" name="doc" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="79" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dontShowSavePreview" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="79" value="" type="TQString" abstract="0" documentation="" name="dontShowSavePreview" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="80" value="" type="Document *" abstract="0" documentation="" name="oldWrite" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="81" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="scriptErrorDest" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="82" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="scriptOutputDest" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="83" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="space" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="81" value="" type="TQString" abstract="0" documentation="" name="scriptErrorDest" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="82" value="" type="TQString" abstract="0" documentation="" name="scriptOutputDest" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="83" value="" type="TQString" abstract="0" documentation="" name="space" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="84" value="" type="QTabWidget *" abstract="0" documentation="" name="toolbarTab" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="85" value="" type="QTabWidget *" abstract="0" documentation="" name="writeTab" static="0" scope="200" />
</UML:Class>
@@ -61,13 +61,13 @@
<UML:Operation stereotype="" package="" xmi.id="205" type="" abstract="0" documentation="Some initializations goes here." name="QuantaApp" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="206" type="QDomDocument *" abstract="0" documentation="" name="actions" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="207" type="bool" abstract="0" documentation="Returns true if the current DTD does not have any toolbars, or if all of the toolbars are removed or if the &quot;Shov DTD Toolbar&quot; is unchecked." name="allToolbarsHidden" static="0" scope="202" />
- <UML:Operation stereotype="" package="" xmi.id="208" type="QWidget *" abstract="0" documentation="" name="createContainer" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="209" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="208" type="TQWidget *" abstract="0" documentation="" name="createContainer" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="209" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="210" value="" type="int" abstract="0" documentation="" name="index" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="211" value="" type="const QDomElement &amp;" abstract="0" documentation="" name="element" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="212" value="" type="int &amp;" abstract="0" documentation="" name="id" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="213" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="Returns the project default encoding if a project is loaded, otherwise it returns the global default encoding." name="defaultEncoding" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="213" type="TQString" abstract="0" documentation="Returns the project default encoding if a project is loaded, otherwise it returns the global default encoding." name="defaultEncoding" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="214" type="virtual void" abstract="0" documentation="Sets the focus to the editor window and checkes for changes in the edited file when the application gets back the focus." name="focusInEvent" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="215" value="" type="QFocusEvent *" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
@@ -85,36 +85,36 @@
<UML:Operation stereotype="" package="" xmi.id="227" type="void" abstract="0" documentation="" name="initTagDict" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="228" type="void" abstract="0" documentation="" name="initView" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="229" type="void" abstract="0" documentation="" name="loadInitialProject" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="230" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="url" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="230" value="" type="TQString" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="231" type="void" abstract="0" documentation="" name="loadToolbarForDTD" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="232" value="" type="const QString &amp;" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="232" value="" type="const TQString &amp;" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="233" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="newFileType" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="233" type="TQString" abstract="0" documentation="" name="newFileType" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="234" type="KDockWidget *" abstract="0" documentation="" name="outputDockWidget" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="235" type="QPopupMenu *" abstract="0" documentation="" name="pluginMenu" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="236" type="void" abstract="0" documentation="" name="processDTD" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="237" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="documentType" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="237" value="" type="TQString" abstract="0" documentation="" name="documentType" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="238" type="KURL" abstract="0" documentation="" name="projectBaseURL" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="239" type="virtual bool" abstract="0" documentation="" name="queryClose" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="240" type="void" abstract="0" documentation="" name="readOptions" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="241" type="void" abstract="0" documentation="" name="readTagDir" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="242" value="" type="QString &amp;" abstract="0" documentation="" name="dirName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="242" value="" type="TQString &amp;" abstract="0" documentation="" name="dirName" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="243" type="uint" abstract="0" documentation="" name="readTagFile" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="244" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="fileName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="244" value="" type="TQString" abstract="0" documentation="" name="fileName" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="245" value="" type="DTDStruct *" abstract="0" documentation="" name="parentDTD" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="246" value="" type="QTagList *" abstract="0" documentation="" name="tagList" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="247" type="void" abstract="0" documentation="" name="removeContainer" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="248" value="" type="QWidget *" abstract="0" documentation="" name="container" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="249" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="248" value="" type="TQWidget *" abstract="0" documentation="" name="container" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="249" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="250" value="" type="QDomElement &amp;" abstract="0" documentation="" name="element" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="251" value="" type="int" abstract="0" documentation="" name="id" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="252" type="void" abstract="0" documentation="" name="removeToolbar" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="253" value="" type="const QString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="253" value="" type="const TQString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="254" type="void" abstract="0" documentation="" name="saveAsTemplate" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="255" value="" type="bool" abstract="0" documentation="" name="projectTemplate" static="0" scope="200" />
@@ -123,7 +123,7 @@
<UML:Operation stereotype="" package="" xmi.id="257" type="void" abstract="0" documentation="" name="saveModifiedToolbars" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="258" type="void" abstract="0" documentation="" name="saveOptions" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="259" type="KURL" abstract="0" documentation="" name="saveToolBar" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="260" value="" type="const QString &amp;" abstract="0" documentation="" name="toolbarName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="260" value="" type="const TQString &amp;" abstract="0" documentation="" name="toolbarName" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="261" value="" type="const KURL &amp;" abstract="0" documentation="" name="destFile" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="262" type="void" abstract="0" documentation="" name="setAttributes" static="0" scope="202" >
@@ -138,7 +138,7 @@
<UML:Parameter stereotype="" package="" xmi.id="269" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="270" type="QPopupMenu *" abstract="0" documentation="" name="toolbarMenu" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="271" value="" type="const QString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="271" value="" type="const TQString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="272" type="QWidgetStack *" abstract="0" documentation="" name="widgetStackOfHtmlPart" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="273" type="" abstract="0" documentation="" name="~QuantaApp" static="0" scope="200" />
@@ -148,11 +148,11 @@
<UML:Attribute stereotype="" package="" xmi.id="116" value="" type="QWidgetStack *" abstract="0" documentation="" name="bottomWidgetStack" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="117" value="" type="TDEAction *" abstract="0" documentation="" name="closeprjAction" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="118" value="" type="TDEConfig *" abstract="0" documentation="" name="config" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="119" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="currentToolbarDTD" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="119" value="" type="TQString" abstract="0" documentation="" name="currentToolbarDTD" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="120" value="" type="DocTreeView *" abstract="0" documentation="" name="dTab" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="121" value="" type="PHP3Debugger *" abstract="0" documentation="" name="dbg3" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="122" value="" type="PHP4Debugger *" abstract="0" documentation="" name="dbg4" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="123" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="debuggerStyle" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="123" value="" type="TQString" abstract="0" documentation="" name="debuggerStyle" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="124" value="" type="QuantaDoc *" abstract="0" documentation="" name="doc" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="125" value="" type="KDockWidget *" abstract="0" documentation="" name="dtabdock" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="126" value="" type="TDEAction *" abstract="0" documentation="" name="editRedo" static="0" scope="201" />
@@ -206,8 +206,8 @@
<UML:Attribute stereotype="" package="" xmi.id="174" value="" type="TDEAction *" abstract="0" documentation="" name="saveSelectionAsLocalTemplateAction" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="175" value="" type="TDEAction *" abstract="0" documentation="" name="saveSelectionAsProjectTemplateAction" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="176" value="" type="TDEAction *" abstract="0" documentation="" name="saveprjAction" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="177" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="scriptBeginRxStr" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="178" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="scriptEndRxStr" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="177" value="" type="TQString" abstract="0" documentation="" name="scriptBeginRxStr" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="178" value="" type="TQString" abstract="0" documentation="" name="scriptEndRxStr" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="179" value="" type="TDESelectAction *" abstract="0" documentation="" name="setEndOfLine" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="180" value="" type="TDEToggleAction *" abstract="0" documentation="" name="showDTDToolbar" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="181" value="" type="TDEToggleAction *" abstract="0" documentation="" name="showDTabAction" static="0" scope="201" />
@@ -238,7 +238,7 @@
<UML:Class stereotype="" package="" xmi.id="274" abstract="0" documentation="The document handling class. This is somewhat weird, as the Document class should handle all the document related things. The job is distrivute now between this the QuantaView and the QuantaApp class. This must be clearly seperated...
See the operations in order to get a picture what's here." name="QuantaDoc" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="276" type="" abstract="0" documentation="" name="QuantaDoc" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="277" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="277" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="278" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="279" type="void" abstract="0" documentation="" name="changeFileTabName" static="0" scope="200" >
@@ -257,7 +257,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="289" type="void" abstract="0" documentation="" name="nextDocument" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="290" type="void" abstract="0" documentation="" name="openDocument" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="291" value="" type="const KURL &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="292" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="encoding" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="292" value="" type="TQString" abstract="0" documentation="" name="encoding" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="293" type="void" abstract="0" documentation="" name="prevDocument" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="294" type="void" abstract="0" documentation="" name="readConfig" static="0" scope="200" >
@@ -282,36 +282,36 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="307" abstract="0" documentation="Common static functions used everywhere in the code. " name="QuantaCommon" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="308" type="" abstract="0" documentation="" name="QuantaCommon" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="309" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attrCase" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="310" value="" type="const QString" abstract="0" documentation="" name="attr" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="309" type="TQString" abstract="0" documentation="" name="attrCase" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="310" value="" type="const TQString" abstract="0" documentation="" name="attr" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="311" type="bool" abstract="0" documentation="" name="checkExactMimeType" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="312" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="313" value="" type="const QString &amp;" abstract="0" documentation="" name="type" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="313" value="" type="const TQString &amp;" abstract="0" documentation="" name="type" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="314" type="bool" abstract="0" documentation="" name="checkMimeGroup" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="315" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="316" value="" type="const QString &amp;" abstract="0" documentation="" name="type" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="316" value="" type="const TQString &amp;" abstract="0" documentation="" name="type" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="317" type="bool" abstract="0" documentation="" name="checkMimeType" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="318" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="319" value="" type="const QString &amp;" abstract="0" documentation="" name="type" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="319" value="" type="const TQString &amp;" abstract="0" documentation="" name="type" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="320" type="KURL" abstract="0" documentation="" name="convertToPath" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="321" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="322" type="void" abstract="0" documentation="" name="dirCreationError" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="323" value="" type="QWidget *" abstract="0" documentation="" name="widget" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="323" value="" type="TQWidget *" abstract="0" documentation="" name="widget" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="324" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="325" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="getDTDNameFromNickName" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="326" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="nickName" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="325" type="TQString" abstract="0" documentation="" name="getDTDNameFromNickName" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="326" value="" type="TQString" abstract="0" documentation="" name="nickName" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="327" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="getDTDNickNameFromName" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="328" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="327" type="TQString" abstract="0" documentation="" name="getDTDNickNameFromName" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="328" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="329" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="i18n2normal" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="330" value="" type="const QString &amp;" abstract="0" documentation="" name="a_str" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="329" type="TQString" abstract="0" documentation="" name="i18n2normal" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="330" value="" type="const TQString &amp;" abstract="0" documentation="" name="a_str" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="331" type="int" abstract="0" documentation="" name="isBetween" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="332" value="" type="int" abstract="0" documentation="" name="line" static="0" scope="200" />
@@ -322,51 +322,51 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="337" value="" type="int" abstract="0" documentation="" name="eCol" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="338" type="bool" abstract="0" documentation="" name="isKnownTag" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="339" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="340" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="339" value="" type="TQString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="340" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="341" type="bool" abstract="0" documentation="" name="isOptionalTag" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="342" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="343" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="342" value="" type="TQString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="343" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="344" type="bool" abstract="0" documentation="" name="isSingleTag" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="345" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="346" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="345" value="" type="TQString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="346" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="347" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="makeRxCompatible" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="348" value="" type="const QString" abstract="0" documentation="" name="s" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="347" type="TQString" abstract="0" documentation="" name="makeRxCompatible" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="348" value="" type="const TQString" abstract="0" documentation="" name="s" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="349" type="TDEStandardDirs *" abstract="0" documentation="" name="pluginDirs" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="350" value="" type="const char *" abstract="0" documentation="" name="type" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="351" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="qUrl" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="351" type="TQString" abstract="0" documentation="" name="qUrl" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="352" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="353" type="void" abstract="0" documentation="" name="setUrl" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="354" value="" type="KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="355" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="urlString" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="355" value="" type="TQString" abstract="0" documentation="" name="urlString" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="356" type="QStringList *" abstract="0" documentation="" name="tagAttributeValues" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="357" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="358" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="359" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attribute" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="357" value="" type="TQString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="358" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="359" value="" type="TQString" abstract="0" documentation="" name="attribute" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="360" type="AttributeList *" abstract="0" documentation="" name="tagAttributes" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="361" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="362" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="361" value="" type="TQString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="362" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="363" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tagCase" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="364" value="" type="const QString" abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="363" type="TQString" abstract="0" documentation="" name="tagCase" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="364" value="" type="const TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="365" type="QTag *" abstract="0" documentation="" name="tagFromDTD" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="366" value="" type="DTDStruct *" abstract="0" documentation="" name="dtd" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="367" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="367" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="368" type="QTag *" abstract="0" documentation="" name="tagFromDTD" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="369" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="370" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tag" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="369" value="" type="TQString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="370" value="" type="TQString" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="371" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="xmlFromAttributes" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="371" type="TQString" abstract="0" documentation="" name="xmlFromAttributes" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="372" value="" type="AttributeList *" abstract="0" documentation="" name="attributes" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="373" type="" abstract="0" documentation="" name="~QuantaCommon" static="0" scope="200" />
@@ -390,8 +390,8 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="390" type="KURL" abstract="0" documentation="" name="path" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="391" value="" type="const KURL &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="392" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="shortName" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="393" value="" type="const QString &amp;" abstract="0" documentation="" name="fname" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="392" type="TQString" abstract="0" documentation="" name="shortName" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="393" value="" type="const TQString &amp;" abstract="0" documentation="" name="fname" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="394" type="KURL" abstract="0" documentation="" name="toAbsolute" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="395" value="" type="const KURL &amp;" abstract="0" documentation="" name="urlToConvert" static="0" scope="200" />
@@ -403,7 +403,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="400" type="" abstract="0" documentation="" name="~QExtFileInfo" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="375" value="" type="bool" abstract="0" documentation="" name="bJobOK" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="376" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="lastErrorMsg" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="376" value="" type="TQString" abstract="0" documentation="" name="lastErrorMsg" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="377" value="" type="QPtrList" abstract="0" documentation="" name="lstFilters" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="378" value="" type="QTimer *" abstract="0" documentation="" name="timer" static="0" scope="201" />
</UML:Class>
@@ -420,13 +420,13 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="428" value="" type="KTextEditor :: Document *" abstract="0" documentation="" name="doc" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="429" value="" type="Project *" abstract="0" documentation="" name="project" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="430" value="" type="QuantaPluginInterface *" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="431" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="431" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="432" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="433" value="" type="WFlags" abstract="0" documentation="" name="f" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="434" type="void" abstract="0" documentation="" name="changeTag" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="435" value="" type="Tag *" abstract="0" documentation="" name="tag" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="436" value="" type="QDict &lt; QString > *" abstract="0" documentation="" name="dict" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="436" value="" type="QDict &lt; TQString > *" abstract="0" documentation="" name="dict" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="437" type="void" abstract="0" documentation="" name="checkDirtyStatus" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="438" type="int" abstract="0" documentation="" name="checkOverwrite" static="0" scope="200" >
@@ -443,9 +443,9 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="447" type="DTDStruct *" abstract="0" documentation="" name="defaultDTD" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="448" type="bool" abstract="0" documentation="" name="dirty" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="449" type="bool" abstract="0" documentation="" name="evenQuotes" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="450" value="" type="const QString &amp;" abstract="0" documentation="" name="text" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="450" value="" type="const TQString &amp;" abstract="0" documentation="" name="text" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="451" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="find" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="451" type="TQString" abstract="0" documentation="" name="find" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="452" value="" type="const QRegExp &amp;" abstract="0" documentation="" name="rx" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="453" value="" type="int" abstract="0" documentation="" name="sLine" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="454" value="" type="int" abstract="0" documentation="" name="sCol" static="0" scope="200" />
@@ -454,10 +454,10 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="457" value="" type="int &amp;" abstract="0" documentation="" name="feLine" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="458" value="" type="int &amp;" abstract="0" documentation="" name="feCol" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="459" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="findDTDName" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="459" type="TQString" abstract="0" documentation="" name="findDTDName" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="460" value="" type="Tag * *" abstract="0" documentation="" name="tag" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="461" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="findRev" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="461" type="TQString" abstract="0" documentation="" name="findRev" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="462" value="" type="const QRegExp &amp;" abstract="0" documentation="" name="rx" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="463" value="" type="int" abstract="0" documentation="" name="sLine" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="464" value="" type="int" abstract="0" documentation="" name="sCol" static="0" scope="200" />
@@ -466,8 +466,8 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="467" value="" type="int &amp;" abstract="0" documentation="" name="feLine" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="468" value="" type="int &amp;" abstract="0" documentation="" name="feCol" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="469" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="findWordRev" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="470" value="" type="const QString &amp;" abstract="0" documentation="" name="textToSearch" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="469" type="TQString" abstract="0" documentation="" name="findWordRev" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="470" value="" type="const TQString &amp;" abstract="0" documentation="" name="textToSearch" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="471" type="Tag *" abstract="0" documentation="" name="findXMLTag" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="472" value="" type="int" abstract="0" documentation="" name="line" static="0" scope="200" />
@@ -477,24 +477,24 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="476" type="QValueList *" abstract="0" documentation="" name="getAttributeCompletions" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="477" value="" type="DTDStruct *" abstract="0" documentation="" name="dtd" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="478" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tagName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="479" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="startsWith" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="478" value="" type="TQString" abstract="0" documentation="" name="tagName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="479" value="" type="TQString" abstract="0" documentation="" name="startsWith" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="480" type="QValueList *" abstract="0" documentation="" name="getAttributeValueCompletions" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="481" value="" type="DTDStruct *" abstract="0" documentation="" name="dtd" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="482" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tagName" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="483" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attribute" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="484" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="startsWith" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="482" value="" type="TQString" abstract="0" documentation="" name="tagName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="483" value="" type="TQString" abstract="0" documentation="" name="attribute" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="484" value="" type="TQString" abstract="0" documentation="" name="startsWith" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="485" type="QValueList *" abstract="0" documentation="" name="getCharacterCompletions" static="0" scope="202" />
- <UML:Operation stereotype="" package="" xmi.id="486" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="getDTDIdentifier" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="487" type=TQPOINT_OBJECT_NAME_STRING abstract="0" documentation="" name="getGlobalCursorPos" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="486" type="TQString" abstract="0" documentation="" name="getDTDIdentifier" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="487" type="TQPoint" abstract="0" documentation="" name="getGlobalCursorPos" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="488" type="QValueList *" abstract="0" documentation="" name="getTagCompletions" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="489" value="" type="DTDStruct *" abstract="0" documentation="" name="dtd" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="490" value="" type="int" abstract="0" documentation="" name="line" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="491" value="" type="int" abstract="0" documentation="" name="col" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="492" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="getTagNameAt" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="492" type="TQString" abstract="0" documentation="" name="getTagNameAt" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="493" value="" type="int" abstract="0" documentation="" name="line" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="494" value="" type="int" abstract="0" documentation="" name="col" static="0" scope="200" />
</UML:Operation>
@@ -507,22 +507,22 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="500" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="501" type="void" abstract="0" documentation="" name="insertTag" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="502" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="s1" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="503" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="s2" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="502" value="" type="TQString" abstract="0" documentation="" name="s1" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="503" value="" type="TQString" abstract="0" documentation="" name="s2" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="504" type="void" abstract="0" documentation="" name="insertText" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="505" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="505" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="506" value="" type="bool" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="507" type="bool" abstract="0" documentation="" name="isModified" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="508" type="bool" abstract="0" documentation="" name="isUntitled" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="509" type="void" abstract="0" documentation="" name="parseVariables" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="510" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="parsingDTD" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="510" type="TQString" abstract="0" documentation="" name="parsingDTD" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="511" type="void" abstract="0" documentation="" name="readConfig" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="512" value="" type="TDEConfig *" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="513" type="void" abstract="0" documentation="" name="replaceSelected" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="514" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="s" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="514" value="" type="TQString" abstract="0" documentation="" name="s" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="515" type="void" abstract="0" documentation="" name="resizeEvent" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="516" value="" type="QResizeEvent *" abstract="0" documentation="" name="e" static="0" scope="200" />
@@ -533,7 +533,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="520" value="" type="DTDStruct *" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="521" value="" type="int" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="522" value="" type="int" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="523" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="523" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="524" type="bool" abstract="0" documentation="" name="scriptCodeCompletion" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="525" value="" type="DTDStruct *" abstract="0" documentation="" name="dtd" static="0" scope="200" />
@@ -547,7 +547,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="532" value="" type="int" abstract="0" documentation="" name="y2" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="533" type="void" abstract="0" documentation="" name="setDTDIdentifier" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="534" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="id" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="534" value="" type="TQString" abstract="0" documentation="" name="id" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="535" type="void" abstract="0" documentation="" name="setDirtyStatus" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="536" value="" type="bool" abstract="0" documentation="" name="status" static="0" scope="200" />
@@ -556,16 +556,16 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="538" value="" type="bool" abstract="0" documentation="" name="flag" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="539" type="void" abstract="0" documentation="" name="setParsingDTD" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="540" value="" type="const QString &amp;" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="540" value="" type="const TQString &amp;" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="541" type="void" abstract="0" documentation="" name="setUntitledUrl" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="542" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="542" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="543" type="void" abstract="0" documentation="" name="showCodeCompletions" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="544" value="" type="QValueList &lt; KTextEditor :: CompletionEntry > *" abstract="0" documentation="" name="completions" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="545" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tempFileName" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="546" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="text" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="545" type="TQString" abstract="0" documentation="" name="tempFileName" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="546" type="TQString" abstract="0" documentation="" name="text" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="547" value="" type="int" abstract="0" documentation="" name="bLine" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="548" value="" type="int" abstract="0" documentation="" name="bCol" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="549" value="" type="int" abstract="0" documentation="" name="eLine" static="0" scope="200" />
@@ -579,7 +579,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="555" value="" type="DTDStruct *" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="556" value="" type="int" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="557" value="" type="int" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="558" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="558" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="559" type="bool" abstract="0" documentation="" name="xmlCodeCompletion" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="560" value="" type="DTDStruct *" abstract="0" documentation="" name="dtd" static="0" scope="200" />
@@ -590,21 +590,21 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Attribute stereotype="" package="" xmi.id="408" value="" type="KURL" abstract="0" documentation="" name="baseURL" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="409" value="" type="bool" abstract="0" documentation="" name="busy" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="410" value="" type="bool" abstract="0" documentation="" name="completionInProgress" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="411" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdName" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="412" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="includeList" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="411" value="" type="TQString" abstract="0" documentation="" name="dtdName" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="412" value="" type="TQStringList" abstract="0" documentation="" name="includeList" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="413" value="" type="bool" abstract="0" documentation="" name="m_dirty" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="414" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_parsingDTD" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="414" value="" type="TQString" abstract="0" documentation="" name="m_parsingDTD" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="415" value="" type="QuantaPluginInterface *" abstract="0" documentation="" name="m_pluginInterface" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="416" value="" type="Project *" abstract="0" documentation="" name="m_project" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="417" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_tempFileName" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="417" value="" type="TQString" abstract="0" documentation="" name="m_tempFileName" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="418" value="" type="bool" abstract="0" documentation="" name="oldstat" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="419" value="" type="int" abstract="0" documentation="" name="spellMoved" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="420" value="" type="QValueList *" abstract="0" documentation="" name="spellPos" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="421" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="spellText" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="421" value="" type="TQString" abstract="0" documentation="" name="spellText" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="422" value="" type="KTempFile *" abstract="0" documentation="" name="tempFile" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="423" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="untitledUrl" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="423" value="" type="TQString" abstract="0" documentation="" name="untitledUrl" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="424" value="" type="QTagList" abstract="0" documentation="" name="userTagList" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="425" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="variableList" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="425" value="" type="TQStringList" abstract="0" documentation="" name="variableList" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="564" abstract="0" documentation="" name="KQApplication" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="565" type="" abstract="0" documentation="" name="KQApplication" static="0" scope="200" />
@@ -641,11 +641,11 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="605" type="" abstract="0" documentation="" name="Tag" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="606" value="" type="const Tag &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="607" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attribute" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="607" type="TQString" abstract="0" documentation="" name="attribute" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="608" value="" type="int" abstract="0" documentation="" name="index" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="609" type="int" abstract="0" documentation="" name="attributeIndex" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="610" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attr" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="610" value="" type="TQString" abstract="0" documentation="" name="attr" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="611" type="int" abstract="0" documentation="" name="attributeIndexAtPos" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="612" value="" type="int" abstract="0" documentation="" name="line" static="0" scope="200" />
@@ -656,10 +656,10 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="616" value="" type="int &amp;" abstract="0" documentation="" name="line" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="617" value="" type="int &amp;" abstract="0" documentation="" name="col" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="618" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attributeValue" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="619" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attr" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="618" type="TQString" abstract="0" documentation="" name="attributeValue" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="619" value="" type="TQString" abstract="0" documentation="" name="attr" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="620" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attributeValue" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="620" type="TQString" abstract="0" documentation="" name="attributeValue" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="621" value="" type="int" abstract="0" documentation="" name="index" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="622" type="void" abstract="0" documentation="" name="attributeValuePos" static="0" scope="200" >
@@ -676,22 +676,22 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="631" value="" type="int &amp;" abstract="0" documentation="" name="eCol" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="632" type="bool" abstract="0" documentation="" name="hasAttribute" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="633" value="" type="const QString &amp;" abstract="0" documentation="" name="attr" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="633" value="" type="const TQString &amp;" abstract="0" documentation="" name="attr" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="634" type="bool" abstract="0" documentation="" name="isQuotedAttribute" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="635" value="" type="int" abstract="0" documentation="" name="index" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="636" type="void" abstract="0" documentation="" name="parse" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="637" value="" type="const QString &amp;" abstract="0" documentation="" name="p_tagStr" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="637" value="" type="const TQString &amp;" abstract="0" documentation="" name="p_tagStr" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="638" value="" type="Document *" abstract="0" documentation="" name="p_write" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="639" type="void" abstract="0" documentation="" name="parseAttr" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="640" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="text" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="640" value="" type="TQString" abstract="0" documentation="" name="text" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="641" value="" type="int &amp;" abstract="0" documentation="" name="line" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="642" value="" type="int &amp;" abstract="0" documentation="" name="col" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="643" type="void" abstract="0" documentation="" name="setStr" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="644" value="" type="const QString &amp;" abstract="0" documentation="" name="p_tagStr" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="644" value="" type="const TQString &amp;" abstract="0" documentation="" name="p_tagStr" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="645" type="void" abstract="0" documentation="" name="setTagPosition" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="646" value="" type="int" abstract="0" documentation="" name="bLine" static="0" scope="200" />
@@ -702,7 +702,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="650" type="void" abstract="0" documentation="" name="setWrite" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="651" value="" type="Document *" abstract="0" documentation="" name="p_write" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="652" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tagStr" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="652" type="TQString" abstract="0" documentation="" name="tagStr" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="653" type="int" abstract="0" documentation="" name="valueIndexAtPos" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="654" value="" type="int" abstract="0" documentation="" name="line" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="655" value="" type="int" abstract="0" documentation="" name="col" static="0" scope="200" />
@@ -713,16 +713,16 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Attribute stereotype="" package="" xmi.id="588" value="" type="TagAttr []" abstract="0" documentation="" name="attrs" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="589" value="" type="int" abstract="0" documentation="" name="beginCol" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="590" value="" type="int" abstract="0" documentation="" name="beginLine" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="591" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="cleanStr" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="591" value="" type="TQString" abstract="0" documentation="" name="cleanStr" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="592" value="" type="bool" abstract="0" documentation="" name="closingMissing" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="593" value="" type="DTDStruct *" abstract="0" documentation="" name="dtd" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="594" value="" type="int" abstract="0" documentation="" name="endCol" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="595" value="" type="int" abstract="0" documentation="" name="endLine" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="596" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_tagStr" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="596" value="" type="TQString" abstract="0" documentation="" name="m_tagStr" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="597" value="" type="Document *" abstract="0" documentation="" name="m_write" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="598" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="598" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="599" value="" type="bool" abstract="0" documentation="" name="single" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="600" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="structBeginStr" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="600" value="" type="TQString" abstract="0" documentation="" name="structBeginStr" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="601" value="" type="int" abstract="0" documentation="" name="type" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="658" abstract="0" documentation="" name="QTag" static="0" scope="200" >
@@ -737,22 +737,22 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="675" value="" type="Attribute *" abstract="0" documentation="" name="attr" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="676" type="Attribute *" abstract="0" documentation="" name="attribute" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="677" value="" type="QString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="677" value="" type="TQString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="678" type="Attribute *" abstract="0" documentation="" name="attributeAt" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="679" value="" type="int" abstract="0" documentation="" name="index" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="680" type="int" abstract="0" documentation="" name="attributeCount" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="681" type="AttributeList *" abstract="0" documentation="" name="attributes" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="682" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="fileName" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="682" type="TQString" abstract="0" documentation="" name="fileName" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="683" type="bool" abstract="0" documentation="" name="isOptional" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="684" type="bool" abstract="0" documentation="" name="isSingle" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="685" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="685" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="686" type="void" abstract="0" documentation="" name="setFileName" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="687" value="" type="QString &amp;" abstract="0" documentation="" name="fileName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="687" value="" type="TQString &amp;" abstract="0" documentation="" name="fileName" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="688" type="void" abstract="0" documentation="" name="setName" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="689" value="" type="const QString &amp;" abstract="0" documentation="" name="theName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="689" value="" type="const TQString &amp;" abstract="0" documentation="" name="theName" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="690" type="void" abstract="0" documentation="" name="setOptional" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="691" value="" type="bool" abstract="0" documentation="" name="isOptional" static="0" scope="200" />
@@ -762,15 +762,15 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="694" type="" abstract="0" documentation="" name="~QTag" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="659" value="" type="AttributeList" abstract="0" documentation="" name="attrs" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="660" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="commonGroups" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="661" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_fileName" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="660" value="" type="TQStringList" abstract="0" documentation="" name="commonGroups" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="661" value="" type="TQString" abstract="0" documentation="" name="m_fileName" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="662" value="" type="bool" abstract="0" documentation="" name="optional" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="663" value="" type="DTDStruct *" abstract="0" documentation="" name="parentDTD" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="664" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="returnType" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="664" value="" type="TQString" abstract="0" documentation="" name="returnType" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="665" value="" type="bool" abstract="0" documentation="" name="single" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="666" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="stoppingTags" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="667" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="tagName" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="668" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="type" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="666" value="" type="TQStringList" abstract="0" documentation="" name="stoppingTags" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="667" value="" type="TQString" abstract="0" documentation="" name="tagName" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="668" value="" type="TQString" abstract="0" documentation="" name="type" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="695" abstract="0" documentation="" name="Parser" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="704" type="" abstract="0" documentation="" name="Parser" static="0" scope="200" />
@@ -803,9 +803,9 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="724" type="" abstract="0" documentation="" name="~Parser" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="696" value="" type="QValueList" abstract="0" documentation="" name="dtdList" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="697" value="" type="DTDStruct *" abstract="0" documentation="" name="m_dtd" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="698" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_dtdName" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="698" value="" type="TQString" abstract="0" documentation="" name="m_dtdName" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="699" value="" type="Node *" abstract="0" documentation="" name="m_node" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="700" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_text" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="700" value="" type="TQString" abstract="0" documentation="" name="m_text" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="701" value="" type="int" abstract="0" documentation="" name="maxLines" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="702" value="" type="int" abstract="0" documentation="" name="oldMaxLines" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="703" value="" type="Document *" abstract="0" documentation="" name="write" static="0" scope="201" />
@@ -814,7 +814,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="728" type="" abstract="0" documentation="" name="QuantaCmdPlugin" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="729" type="virtual bool" abstract="0" documentation="" name="isLoaded" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="730" type="virtual bool" abstract="0" documentation="" name="load" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="731" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="makeQString" static="0" scope="202" >
+ <UML:Operation stereotype="" package="" xmi.id="731" type="TQString" abstract="0" documentation="" name="makeQString" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="732" value="" type="const char *" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="733" value="" type="int" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
@@ -839,11 +839,11 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="747" abstract="0" documentation="Editor for the plugins that manages configuration" name="QuantaPluginEditor" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="749" type="" abstract="0" documentation="" name="QuantaPluginEditor" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="750" value="" type="QWidget *" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="750" value="" type="TQWidget *" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="751" value="" type="const char *" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="752" type="QDict" abstract="0" documentation="" name="plugins" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="753" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="searchPathList" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="753" type="TQStringList" abstract="0" documentation="" name="searchPathList" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="754" type="void" abstract="0" documentation="" name="setSearchPaths" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="755" value="" type="const QStringList &amp;" abstract="0" documentation="" name="paths" static="0" scope="200" />
</UML:Operation>
@@ -858,7 +858,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="762" abstract="0" documentation="Dialog to configure a plugin's options" name="QuantaPluginConfig" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="763" type="" abstract="0" documentation="" name="QuantaPluginConfig" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="764" value="" type="QWidget *" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="764" value="" type="TQWidget *" abstract="0" documentation="" name="" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="765" value="" type="const char *" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="766" type="" abstract="0" documentation="" name="~QuantaPluginConfig" static="0" scope="200" />
@@ -866,7 +866,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="767" abstract="0" documentation="This class handles the spellchecking. It should work with all KTextEditor's, not only Kate.
This is not a real plugin. The code is based on SpellPlugin for Kate." name="SpellChecker" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="771" type="" abstract="0" documentation="" name="SpellChecker" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="772" value="" type="QObject *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="772" value="" type="TQObject *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="773" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="774" type="void" abstract="0" documentation="" name="locatePosition" static="0" scope="202" >
@@ -900,38 +900,38 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="793" abstract="0" documentation="" name="QuantaPlugin" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="805" type="" abstract="0" documentation="" name="QuantaPlugin" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="806" type="" abstract="0" documentation="" name="QuantaPlugin" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="807" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="808" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="809" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="810" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="811" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="812" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="813" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- </UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="814" type="virtual QString" abstract="0" documentation="" name="arguments" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="815" type="virtual QString" abstract="0" documentation="" name="fileName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="807" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="808" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="809" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="810" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="811" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="812" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="813" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ </UML:Operation>
+ <UML:Operation stereotype="" package="" xmi.id="814" type="virtual TQString" abstract="0" documentation="" name="arguments" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="815" type="virtual TQString" abstract="0" documentation="" name="fileName" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="816" type="virtual bool" abstract="0" documentation="" name="isLoaded" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="817" type="virtual bool" abstract="0" documentation="" name="isRunning" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="818" type="virtual bool" abstract="0" documentation="" name="isStandard" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="819" type="virtual bool" abstract="0" documentation="" name="load" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="820" type="virtual QString" abstract="0" documentation="" name="location" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="821" type="virtual QString" abstract="0" documentation="" name="outputWindow" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="822" type="virtual QString" abstract="0" documentation="" name="pluginName" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="820" type="virtual TQString" abstract="0" documentation="" name="location" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="821" type="virtual TQString" abstract="0" documentation="" name="outputWindow" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="822" type="virtual TQString" abstract="0" documentation="" name="pluginName" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="823" type="virtual bool" abstract="0" documentation="" name="run" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="824" type="virtual void" abstract="0" documentation="" name="setArguments" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="825" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="825" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="826" type="virtual void" abstract="0" documentation="" name="setFileName" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="827" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="827" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="828" type="virtual void" abstract="0" documentation="" name="setLocation" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="829" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="829" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="830" type="virtual void" abstract="0" documentation="" name="setOutputWindow" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="831" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="831" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="832" type="virtual void" abstract="0" documentation="" name="setPluginName" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="833" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="833" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="834" type="virtual void" abstract="0" documentation="" name="setRunning" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="835" value="" type="bool" abstract="0" documentation="" name="" static="0" scope="200" />
@@ -940,73 +940,73 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="837" value="" type="bool" abstract="0" documentation="" name="isStandard" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="838" type="virtual void" abstract="0" documentation="" name="setType" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="839" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="839" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="840" type="virtual bool" abstract="0" documentation="" name="toggle" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="841" type="virtual QString" abstract="0" documentation="" name="type" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="841" type="virtual TQString" abstract="0" documentation="" name="type" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="842" type="virtual bool" abstract="0" documentation="" name="unload" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="843" type="bool" abstract="0" documentation="" name="validatePlugin" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="844" value="" type="QuantaPlugin *" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="845" type="bool" abstract="0" documentation="" name="validatePluginInfo" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="846" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="847" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="848" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="849" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="850" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="851" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="846" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="847" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="848" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="849" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="850" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="851" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="852" type="" abstract="0" documentation="" name="~QuantaPlugin" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="794" value="" type="TDEToggleAction *" abstract="0" documentation="" name="m_action" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="795" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_arguments" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="796" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_fileName" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="797" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_icon" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="795" value="" type="TQString" abstract="0" documentation="" name="m_arguments" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="796" value="" type="TQString" abstract="0" documentation="" name="m_fileName" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="797" value="" type="TQString" abstract="0" documentation="" name="m_icon" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="798" value="" type="bool" abstract="0" documentation="" name="m_isRunning" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="799" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_location" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="800" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_name" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="801" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_outputWindow" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="799" value="" type="TQString" abstract="0" documentation="" name="m_location" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="800" value="" type="TQString" abstract="0" documentation="" name="m_name" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="801" value="" type="TQString" abstract="0" documentation="" name="m_outputWindow" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="802" value="" type="bool" abstract="0" documentation="" name="m_standard" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="803" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_standardName" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="804" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_type" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="803" value="" type="TQString" abstract="0" documentation="" name="m_standardName" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="804" value="" type="TQString" abstract="0" documentation="" name="m_type" static="0" scope="202" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="853" abstract="0" documentation="Provides an interface to the installed plugins. " name="QuantaPluginInterface" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="856" type="" abstract="0" documentation="" name="QuantaPluginInterface" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="857" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="outputWindows" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="858" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="857" type="TQStringList" abstract="0" documentation="" name="outputWindows" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="858" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="859" type="virtual QuantaPlugin *" abstract="0" documentation="" name="plugin" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="860" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="860" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="861" type="bool" abstract="0" documentation="" name="pluginAvailable" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="862" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="862" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="863" type="virtual QStringList" abstract="0" documentation="" name="pluginNames" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="864" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="pluginTypes" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="864" type="TQStringList" abstract="0" documentation="" name="pluginTypes" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="865" type="QDict" abstract="0" documentation="" name="plugins" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="866" type="virtual void" abstract="0" documentation="" name="readConfig" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="867" type="virtual QStringList" abstract="0" documentation="" name="searchPaths" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="868" type="virtual void" abstract="0" documentation="" name="setPluginNames" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="869" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="869" value="" type="TQStringList" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="870" type="void" abstract="0" documentation="" name="setPlugins" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="871" value="" type="QDict &lt; QuantaPlugin >" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="872" type="virtual void" abstract="0" documentation="" name="setSearchPaths" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="873" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="873" value="" type="TQStringList" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="874" type="virtual void" abstract="0" documentation="" name="writeConfig" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="875" type="" abstract="0" documentation="" name="~QuantaPluginInterface" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="854" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="m_pluginNames" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="854" value="" type="TQStringList" abstract="0" documentation="" name="m_pluginNames" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="855" value="" type="QDict" abstract="0" documentation="" name="m_plugins" static="0" scope="202" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="876" abstract="0" documentation="" name="Project" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="907" type="" abstract="0" documentation="" name="Project" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="908" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="908" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="909" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="910" type="bool" abstract="0" documentation="" name="createEmptyDom" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="911" type="virtual const QString &amp;" abstract="0" documentation="" name="defaultDTD" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="912" type="virtual const QString &amp;" abstract="0" documentation="" name="defaultEncoding" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="911" type="virtual const TQString &amp;" abstract="0" documentation="" name="defaultDTD" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="912" type="virtual const TQString &amp;" abstract="0" documentation="" name="defaultEncoding" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="913" type="bool" abstract="0" documentation="" name="hasProject" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="914" type="void" abstract="0" documentation="" name="insertFile" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="915" value="" type="const KURL &amp;" abstract="0" documentation="" name="nameURL" static="0" scope="200" />
@@ -1017,11 +1017,11 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="919" type="void" abstract="0" documentation="" name="insertFiles" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="920" value="" type="const KURL &amp;" abstract="0" documentation="" name="pathURL" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="921" value="" type="const QString &amp;" abstract="0" documentation="" name="mask" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="921" value="" type="const TQString &amp;" abstract="0" documentation="" name="mask" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="922" type="bool" abstract="0" documentation="" name="isModified" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="923" type="void" abstract="0" documentation="" name="loadProjectXML" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="924" type="virtual const QString &amp;" abstract="0" documentation="" name="newFileType" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="924" type="virtual const TQString &amp;" abstract="0" documentation="" name="newFileType" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="925" type="void" abstract="0" documentation="" name="openCurrentView" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="926" type="void" abstract="0" documentation="" name="readConfig" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="927" value="" type="TDEConfig *" abstract="0" documentation="" name="" static="0" scope="200" />
@@ -1030,7 +1030,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="929" value="" type="TDEConfig *" abstract="0" documentation="" name="c" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="930" type="virtual void" abstract="0" documentation="" name="setDefaultDTD" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="931" value="" type="const QString &amp;" abstract="0" documentation="" name="p_defaultDTD" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="931" value="" type="const TQString &amp;" abstract="0" documentation="" name="p_defaultDTD" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="932" type="KURL" abstract="0" documentation="" name="urlWithPrefix" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="933" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
@@ -1039,28 +1039,28 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="935" value="" type="TDEConfig *" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="936" type="" abstract="0" documentation="" name="~Project" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="877" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="author" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="877" value="" type="TQString" abstract="0" documentation="" name="author" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="878" value="" type="KURL" abstract="0" documentation="" name="baseURL" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="879" value="" type="QBuffer" abstract="0" documentation="" name="buff" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="880" value="" type="TDEConfig *" abstract="0" documentation="" name="config" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="881" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="currentProjectView" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="881" value="" type="TQString" abstract="0" documentation="" name="currentProjectView" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="882" value="" type="QDomDocument" abstract="0" documentation="" name="dom" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="883" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="email" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="883" value="" type="TQString" abstract="0" documentation="" name="email" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="884" value="" type="bool" abstract="0" documentation="" name="keepPasswd" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="885" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_defaultDTD" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="886" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_defaultEncoding" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="887" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="m_newFileType" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="885" value="" type="TQString" abstract="0" documentation="" name="m_defaultDTD" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="886" value="" type="TQString" abstract="0" documentation="" name="m_defaultEncoding" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="887" value="" type="TQString" abstract="0" documentation="" name="m_newFileType" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="888" value="" type="bool" abstract="0" documentation="" name="modified" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="889" value="" type="KURL" abstract="0" documentation="" name="newURL" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="890" value="" type="KURL" abstract="0" documentation="" name="oldURL" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="891" value="" type="bool" abstract="0" documentation="" name="olfwprj" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="892" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="passwd" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="892" value="" type="TQString" abstract="0" documentation="" name="passwd" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="893" value="" type="ProjectNewFinal *" abstract="0" documentation="" name="pnf" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="894" value="" type="ProjectNewGeneral *" abstract="0" documentation="" name="png" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="895" value="" type="ProjectNewLocal *" abstract="0" documentation="" name="pnl" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="896" value="" type="ProjectNewWeb *" abstract="0" documentation="" name="pnw" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="897" value="" type="KURL" abstract="0" documentation="" name="previewPrefix" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="898" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="projectName" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="898" value="" type="TQString" abstract="0" documentation="" name="projectName" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="899" value="" type="TDERecentFilesAction *" abstract="0" documentation="" name="projectRecent" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="900" value="" type="KURL" abstract="0" documentation="" name="projectURL" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="901" value="" type="KURL" abstract="0" documentation="" name="remoteDir" static="0" scope="200" />
@@ -1072,19 +1072,19 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="937" abstract="0" documentation="" name="FilesListView" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="940" type="" abstract="0" documentation="" name="FilesListView" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="941" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dir" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="942" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="topList" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="943" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="941" value="" type="TQString" abstract="0" documentation="" name="dir" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="942" value="" type="TQStringList" abstract="0" documentation="" name="topList" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="943" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="944" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="945" type="virtual QString" abstract="0" documentation="" name="currentFileName" static="0" scope="202" />
+ <UML:Operation stereotype="" package="" xmi.id="945" type="virtual TQString" abstract="0" documentation="" name="currentFileName" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="946" type="void" abstract="0" documentation="" name="loadDir" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="947" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="path" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="947" value="" type="TQString" abstract="0" documentation="" name="path" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="948" type="virtual void" abstract="0" documentation="" name="slotReload" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="949" type="" abstract="0" documentation="" name="~FilesListView" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="938" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dir" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="939" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="dirList" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="938" value="" type="TQString" abstract="0" documentation="" name="dir" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="939" value="" type="TQStringList" abstract="0" documentation="" name="dirList" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="950" abstract="0" documentation="An extended TDEListViewItem for folders." name="FilesTreeFolder" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="955" type="" abstract="0" documentation="" name="FilesTreeFolder" static="0" scope="200" >
@@ -1094,7 +1094,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="959" type="" abstract="0" documentation="" name="FilesTreeFolder" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="960" value="" type="QListView *" abstract="0" documentation="" name="parentListView" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="961" value="" type="const QString &amp;" abstract="0" documentation="" name="p_name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="961" value="" type="const TQString &amp;" abstract="0" documentation="" name="p_name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="962" value="" type="const KURL &amp;" abstract="0" documentation="" name="p_url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="963" type="virtual bool" abstract="0" documentation="" name="acceptDrop" static="0" scope="200" >
@@ -1103,9 +1103,9 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="965" type="virtual void" abstract="0" documentation="" name="dropped" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="966" value="" type="QDropEvent *" abstract="0" documentation="" name="e" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="967" type="virtual QString" abstract="0" documentation="" name="fullName" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="967" type="virtual TQString" abstract="0" documentation="" name="fullName" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="968" type="void" abstract="0" documentation="" name="init" static="0" scope="202" />
- <UML:Operation stereotype="" package="" xmi.id="969" type="virtual QString" abstract="0" documentation="" name="key" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="969" type="virtual TQString" abstract="0" documentation="" name="key" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="970" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="971" value="" type="bool" abstract="0" documentation="" name="ascending" static="0" scope="200" />
</UML:Operation>
@@ -1117,11 +1117,11 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="976" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="977" value="" type="bool" abstract="0" documentation="" name="ascending" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="978" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="text" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="978" type="TQString" abstract="0" documentation="" name="text" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="979" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="980" type="virtual " abstract="0" documentation="" name="~FilesTreeFolder" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="951" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="951" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="952" value="" type="FilesTreeFolder *" abstract="0" documentation="" name="parentFolder" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="953" value="" type="FilesTreeView *" abstract="0" documentation="" name="parentView" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="954" value="" type="KURL" abstract="0" documentation="" name="url" static="0" scope="200" />
@@ -1129,12 +1129,12 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="981" abstract="0" documentation="An extended KLIstViewItem for files." name="FilesTreeFile" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="984" type="" abstract="0" documentation="" name="FilesTreeFile" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="985" value="" type="FilesTreeFolder *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="986" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="986" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="987" value="" type="const KURL &amp;" abstract="0" documentation="" name="p_url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="988" type="" abstract="0" documentation="" name="FilesTreeFile" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="989" value="" type="QListView *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="990" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="990" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="991" value="" type="const KURL &amp;" abstract="0" documentation="" name="p_url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="992" type="void" abstract="0" documentation="" name="setDirIcon" static="0" scope="200" />
@@ -1152,45 +1152,45 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="999" abstract="0" documentation="" name="DocItem" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1002" type="" abstract="0" documentation="" name="DocItem" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1003" value="" type="QListView *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1004" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="_name" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1005" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="_url" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1004" value="" type="TQString" abstract="0" documentation="" name="_name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1005" value="" type="TQString" abstract="0" documentation="" name="_url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1006" type="" abstract="0" documentation="" name="DocItem" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1007" value="" type="QListViewItem *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1008" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="_name" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1009" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="_url" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1008" value="" type="TQString" abstract="0" documentation="" name="_name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1009" value="" type="TQString" abstract="0" documentation="" name="_url" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1010" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="text" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="1010" type="TQString" abstract="0" documentation="" name="text" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1011" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1012" type="" abstract="0" documentation="" name="~DocItem" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="1000" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="1001" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="url" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="1000" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="1001" value="" type="TQString" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1013" abstract="0" documentation="" name="DocFolder" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1017" type="" abstract="0" documentation="" name="DocFolder" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1018" value="" type="QListView *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1019" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="_name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1019" value="" type="TQString" abstract="0" documentation="" name="_name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1020" value="" type="TDEConfig *" abstract="0" documentation="" name="config" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1021" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="basePath" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1021" value="" type="TQString" abstract="0" documentation="" name="basePath" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1022" type="" abstract="0" documentation="" name="DocFolder" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1023" value="" type="QListViewItem *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1024" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="_name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1024" value="" type="TQString" abstract="0" documentation="" name="_name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1025" value="" type="TDEConfig *" abstract="0" documentation="" name="config" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1026" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="basePath" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1026" value="" type="TQString" abstract="0" documentation="" name="basePath" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1027" type="void" abstract="0" documentation="" name="setOpen" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1028" value="" type="bool" abstract="0" documentation="" name="o" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1029" type="void" abstract="0" documentation="" name="setup" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="1030" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="text" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="1030" type="TQString" abstract="0" documentation="" name="text" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1031" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1032" type="" abstract="0" documentation="" name="~DocFolder" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="1014" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="1014" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1015" value="" type="bool" abstract="0" documentation="" name="topLevel" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="1016" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="url" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="1016" value="" type="TQString" abstract="0" documentation="" name="url" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1033" abstract="0" documentation="" name="UploadTreeFolder" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1036" type="" abstract="0" documentation="" name="UploadTreeFolder" static="0" scope="200" >
@@ -1203,8 +1203,8 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="1042" value="" type="UploadTreeFolder *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1043" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1044" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="fullName" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="1045" type="virtual QString" abstract="0" documentation="" name="key" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="1044" type="TQString" abstract="0" documentation="" name="fullName" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="1045" type="virtual TQString" abstract="0" documentation="" name="key" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1046" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1047" value="" type="bool" abstract="0" documentation="" name="ascending" static="0" scope="200" />
</UML:Operation>
@@ -1212,7 +1212,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="1049" value="" type="bool" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1050" type="void" abstract="0" documentation="" name="setWhichPixmap" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1051" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="pixmap" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1051" value="" type="TQString" abstract="0" documentation="" name="pixmap" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1052" type="void" abstract="0" documentation="" name="setup" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1053" type="KURL" abstract="0" documentation="" name="url" static="0" scope="200" />
@@ -1228,7 +1228,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1063" type="" abstract="0" documentation="" name="ProjectTreeFolder" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1064" value="" type="QListView *" abstract="0" documentation="" name="parentListView" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1065" value="" type="const QString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1065" value="" type="const TQString &amp;" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1066" value="" type="const KURL &amp;" abstract="0" documentation="" name="p_url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1067" type="bool" abstract="0" documentation="" name="contains" static="0" scope="200" >
@@ -1252,37 +1252,37 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="1081" type="" abstract="0" documentation="" name="~ProjectTreeFolder" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1056" value="" type="QPtrList" abstract="0" documentation="" name="filesTreeList" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1057" value="" type="ProjectTreeView *" abstract="0" documentation="" name="parentView" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="1058" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="path" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="1058" value="" type="TQString" abstract="0" documentation="" name="path" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1082" abstract="0" documentation="Item for project files. It's different from a standard file as the project files are basically XML tag elements." name="ProjectTreeFile" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1084" type="" abstract="0" documentation="" name="ProjectTreeFile" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1085" value="" type="ProjectTreeFolder *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1086" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="name" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1086" value="" type="TQString" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1087" value="" type="const KURL &amp;" abstract="0" documentation="" name="p_url" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1088" type="" abstract="0" documentation="" name="~ProjectTreeFile" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="1083" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="fname" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="1083" value="" type="TQString" abstract="0" documentation="" name="fname" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1089" abstract="0" documentation="" name="DocTreeView" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1091" type="" abstract="0" documentation="" name="DocTreeView" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1092" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1092" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1093" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1094" type="QString *" abstract="0" documentation="" name="contextHelp" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1095" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="keyword" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="1094" type="TQString *" abstract="0" documentation="" name="contextHelp" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="1095" value="" type="TQString" abstract="0" documentation="" name="keyword" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1096" type="" abstract="0" documentation="" name="~DocTreeView" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1090" value="" type="QDict *" abstract="0" documentation="" name="contextHelpDict" static="0" scope="201" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1097" abstract="0" documentation="A tree view used to display a set of files/directories explicitly added to it. It is used in several dialogs, e.g in Project Upload dialog, Rescan Project dialog, add files/folders to project dialogs." name="UploadTreeView" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1098" type="" abstract="0" documentation="" name="UploadTreeView" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1099" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1099" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1100" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1101" type="UploadTreeFile *" abstract="0" documentation="" name="addItem" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1102" value="" type="const KURL &amp;" abstract="0" documentation="" name="a_url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1103" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1104" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1103" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1104" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1105" type="int" abstract="0" documentation="" name="checkboxTree" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1106" value="" type="QListViewItem *" abstract="0" documentation="" name="it" static="0" scope="200" />
@@ -1295,10 +1295,10 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1111" type="UploadTreeFolder *" abstract="0" documentation="" name="findFolder" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="1112" value="" type="UploadTreeFolder *" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1113" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1113" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1114" type="QListViewItem *" abstract="0" documentation="" name="findItem" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1115" value="" type="const QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1115" value="" type="const TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1116" type="void" abstract="0" documentation="" name="invertAll" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1117" value="" type="QListViewItem *" abstract="0" documentation="" name="" static="0" scope="200" />
@@ -1308,7 +1308,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1120" type="UploadTreeFolder *" abstract="0" documentation="" name="printTree" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="1121" value="" type="UploadTreeFolder *" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1122" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1122" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1123" type="virtual void" abstract="0" documentation="" name="selectAll" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1124" value="" type="bool" abstract="0" documentation="" name="select" static="0" scope="200" />
@@ -1319,7 +1319,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="1144" type="" abstract="0" documentation="" name="StructTreeView" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1145" value="" type="Parser *" abstract="0" documentation="" name="parser" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1146" value="" type="TDEConfig *" abstract="0" documentation="" name="config" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1147" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1147" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1148" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1149" type="void" abstract="0" documentation="" name="buildTree" static="0" scope="202" >
@@ -1336,7 +1336,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="1158" value="" type="bool" abstract="0" documentation="" name="open" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1159" type="void" abstract="0" documentation="" name="setParsingDTD" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1160" value="" type="const QString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1160" value="" type="const TQString" abstract="0" documentation="" name="dtdName" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1161" type="virtual void" abstract="0" documentation="" name="showEvent" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="1162" value="" type="QShowEvent *" abstract="0" documentation="" name="" static="0" scope="200" />
@@ -1347,7 +1347,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1166" type="" abstract="0" documentation="" name="~StructTreeView" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1127" value="" type="TDEConfig *" abstract="0" documentation="" name="config" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="1128" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="dtdList" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="1128" value="" type="TQStringList" abstract="0" documentation="" name="dtdList" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1129" value="" type="QPopupMenu *" abstract="0" documentation="" name="dtdMenu" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1130" value="" type="bool" abstract="0" documentation="" name="followCursorFlag" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1131" value="" type="int" abstract="0" documentation="" name="followCursorId" static="0" scope="201" />
@@ -1368,21 +1368,21 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="1170" type="" abstract="0" documentation="" name="UploadTreeFile" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1171" value="" type="QListView *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1172" value="" type="const KURL &amp;" abstract="0" documentation="" name="a_url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1173" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1174" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1173" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1174" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1175" type="" abstract="0" documentation="" name="UploadTreeFile" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1176" value="" type="UploadTreeFolder *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1177" value="" type="const KURL &amp;" abstract="0" documentation="" name="a_url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1178" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1179" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1178" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1179" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1180" type="virtual QString" abstract="0" documentation="" name="key" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="1180" type="virtual TQString" abstract="0" documentation="" name="key" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1181" value="" type="int" abstract="0" documentation="" name="column" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1182" value="" type="bool" abstract="0" documentation="" name="ascending" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1183" type="void" abstract="0" documentation="" name="setWhichPixmap" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1184" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1184" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1185" type="KURL" abstract="0" documentation="" name="url" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1186" type="" abstract="0" documentation="" name="~UploadTreeFile" static="0" scope="200" />
@@ -1392,7 +1392,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="1187" abstract="0" documentation="TreeView for templates. As the templates are standard directories, it inherits from FilesTreeView." name="TemplatesTreeView" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1195" type="" abstract="0" documentation="" name="TemplatesTreeView" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1196" value="" type="const KURL &amp;" abstract="0" documentation="" name="projectBaseURL" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1197" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1197" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1198" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1199" type="void" abstract="0" documentation="" name="contentsDropEvent" static="0" scope="202" >
@@ -1400,14 +1400,14 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1201" type="virtual QDragObject *" abstract="0" documentation="" name="dragObject" static="0" scope="202" />
<UML:Operation stereotype="" package="" xmi.id="1202" type="void" abstract="0" documentation="" name="readDirInfo" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1203" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="startDir" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1203" value="" type="TQString" abstract="0" documentation="" name="startDir" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1204" type="virtual void" abstract="0" documentation="" name="slotInsertTag" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1205" type="virtual void" abstract="0" documentation="" name="slotProperties" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1206" type="virtual void" abstract="0" documentation="" name="slotPropertiesApplied" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1207" type="virtual void" abstract="0" documentation="" name="slotReload" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1208" type="void" abstract="0" documentation="" name="writeDirInfo" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1209" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="dirInfoFile" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1209" value="" type="TQString" abstract="0" documentation="" name="dirInfoFile" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1210" type="" abstract="0" documentation="" name="~TemplatesTreeView" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1188" value="" type="KURL" abstract="0" documentation="" name="baseURL" static="0" scope="201" />
@@ -1421,24 +1421,24 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="1211" abstract="0" documentation="TDEListViewItem specific for the structure tree." name="StructTreeTag" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1213" type="" abstract="0" documentation="" name="StructTreeTag" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1214" value="" type="QListView *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1215" value="" type="const QString" abstract="0" documentation="" name="a_title" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1215" value="" type="const TQString" abstract="0" documentation="" name="a_title" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1216" type="" abstract="0" documentation="" name="StructTreeTag" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1217" value="" type="StructTreeTag *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1218" value="" type="Node *" abstract="0" documentation="" name="a_node" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1219" value="" type="const QString" abstract="0" documentation="" name="a_title" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1219" value="" type="const TQString" abstract="0" documentation="" name="a_title" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1220" value="" type="QListViewItem *" abstract="0" documentation="" name="after" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1221" type="" abstract="0" documentation="" name="StructTreeTag" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1222" value="" type="StructTreeTag *" abstract="0" documentation="" name="parent" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1223" value="" type="const QString" abstract="0" documentation="" name="a_title" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1223" value="" type="const TQString" abstract="0" documentation="" name="a_title" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1224" type="" abstract="0" documentation="" name="~StructTreeTag" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1212" value="" type="Node *" abstract="0" documentation="" name="node" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1225" abstract="0" documentation="A project specific TDEListView." name="ProjectTreeView" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1231" type="" abstract="0" documentation="" name="ProjectTreeView" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1232" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1232" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1233" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1234" type="virtual KURL" abstract="0" documentation="" name="currentURL" static="0" scope="202" />
@@ -1454,16 +1454,16 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Attribute stereotype="" package="" xmi.id="1227" value="" type="int" abstract="0" documentation="" name="openInQuantaId" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1228" value="" type="ProjectTreeFolder *" abstract="0" documentation="" name="projectDir" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1229" value="" type="QPopupMenu *" abstract="0" documentation="" name="projectMenu" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="1230" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="projectName" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="1230" value="" type="TQString" abstract="0" documentation="" name="projectName" static="0" scope="201" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1241" abstract="0" documentation="Extended FileManage to handle remote and local directory structures in a tree." name="FilesTreeView" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1242" type="" abstract="0" documentation="" name="FilesTreeView" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1243" value="" type="KURL :: List" abstract="0" documentation="" name="topList" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1244" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1244" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1245" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1246" type="" abstract="0" documentation="" name="FilesTreeView" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1247" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1247" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1248" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1249" type="void" abstract="0" documentation="" name="addFileInfoPage" static="0" scope="202" >
@@ -1494,7 +1494,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="1267" abstract="0" documentation="A treeview which has some common file managing methods. It inherits from TDEListView." name="FileManage" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1272" type="" abstract="0" documentation="" name="FileManage" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1273" type="" abstract="0" documentation="" name="FileManage" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1274" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1274" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1275" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1276" type="virtual KURL" abstract="0" documentation="" name="currentURL" static="0" scope="202" />
@@ -1537,7 +1537,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="1326" type="" abstract="0" documentation="" name="ProjectUpload" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1327" value="" type="Project *" abstract="0" documentation="" name="p" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1328" value="" type="const KURL &amp;" abstract="0" documentation="" name="url" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1329" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1329" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1330" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1331" value="" type="bool" abstract="0" documentation="" name="modal" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1332" value="" type="WFlags" abstract="0" documentation="" name="fl" static="0" scope="200" />
@@ -1561,7 +1561,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1340" abstract="0" documentation="Create a new project from tdeio accessible files and folders." name="ProjectNewLocal" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1342" type="" abstract="0" documentation="" name="ProjectNewLocal" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1343" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1343" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1344" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1345" type="virtual void" abstract="0" documentation="" name="resizeEvent" static="0" scope="200" >
@@ -1574,7 +1574,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Operation stereotype="" package="" xmi.id="1351" type="" abstract="0" documentation="" name="RescanPrj" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1352" value="" type="KURL :: List" abstract="0" documentation="" name="p_prjFileList" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1353" value="" type="const KURL &amp;" abstract="0" documentation="" name="p_baseURL" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1354" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1354" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1355" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1356" value="" type="bool" abstract="0" documentation="" name="modal" static="0" scope="200" />
</UML:Operation>
@@ -1587,7 +1587,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1360" abstract="0" documentation="" name="ProjectNewFinal" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1361" type="" abstract="0" documentation="" name="ProjectNewFinal" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1362" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1362" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1363" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1364" type="void" abstract="0" documentation="" name="setMargin" static="0" scope="200" >
@@ -1597,7 +1597,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1367" abstract="0" documentation="Create a new project with the help of wget." name="ProjectNewWeb" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1372" type="" abstract="0" documentation="" name="ProjectNewWeb" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1373" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1373" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1374" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1375" type="virtual void" abstract="0" documentation="" name="resizeEvent" static="0" scope="200" >
@@ -1605,19 +1605,19 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1377" type="" abstract="0" documentation="" name="~ProjectNewWeb" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1368" value="" type="KURL" abstract="0" documentation="" name="baseURL" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="1369" value="" type=TQSTRINGLIST_OBJECT_NAME_STRING abstract="0" documentation="" name="filesList" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="1369" value="" type="TQStringList" abstract="0" documentation="" name="filesList" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1370" value="" type="TDEProcess *" abstract="0" documentation="" name="proc" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1371" value="" type="bool" abstract="0" documentation="" name="start" static="0" scope="201" />
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1378" abstract="0" documentation="" name="ProjectNewGeneral" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1379" type="" abstract="0" documentation="" name="ProjectNewGeneral" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1380" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1380" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1381" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1382" type="void" abstract="0" documentation="" name="setMargin" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1383" value="" type="int" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1384" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="type" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="1384" type="TQString" abstract="0" documentation="" name="type" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1385" type="" abstract="0" documentation="" name="~ProjectNewGeneral" static="0" scope="200" />
</UML:Class>
<UML:Association nameb="" stereotype="" assoctype="dependency" rolea="1378" roleb="307" multia="" multib="" package="" xmi.id="1386" abstract="0" documentation="" name="" static="0" scope="200" namea="" />
@@ -1626,21 +1626,21 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Association nameb="" stereotype="" assoctype="dependency" rolea="1318" roleb="307" multia="" multib="" package="" xmi.id="1389" abstract="0" documentation="" name="" static="0" scope="200" namea="" />
<UML:Class stereotype="" package="" xmi.id="1390" abstract="0" documentation="" name="CSSSelectorEditor" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1391" type="" abstract="0" documentation="" name="CSSSelectorEditor" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1392" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="code" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1392" value="" type="TQString" abstract="0" documentation="" name="code" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1393" value="" type="bool" abstract="0" documentation="" name="editSelector" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1394" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1394" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1395" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1396" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="code" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="1396" type="TQString" abstract="0" documentation="" name="code" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1397" type="void" abstract="0" documentation="" name="splitValueTRBL" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="1398" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="value" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1399" value="" type="QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1400" value="" type="QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1401" value="" type="QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1402" value="" type="QString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1398" value="" type="TQString" abstract="0" documentation="" name="value" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1399" value="" type="TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1400" value="" type="TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1401" value="" type="TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1402" value="" type="TQString &amp;" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1403" type="void" abstract="0" documentation="" name="widgetFromCode" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="1404" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1404" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1405" type="" abstract="0" documentation="" name="~CSSSelectorEditor" static="0" scope="200" />
</UML:Class>
@@ -1648,7 +1648,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="1407" abstract="0" documentation="" name="TagDialog" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1415" type="" abstract="0" documentation="" name="TagDialog" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1416" value="" type="QTag *" abstract="0" documentation="" name="dtdTag" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1417" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attrs" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1417" value="" type="TQString" abstract="0" documentation="" name="attrs" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1418" value="" type="KURL" abstract="0" documentation="" name="a_baseURL" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1419" type="" abstract="0" documentation="" name="TagDialog" static="0" scope="200" >
@@ -1657,25 +1657,25 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="1422" value="" type="KURL" abstract="0" documentation="" name="a_baseURL" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1423" type="KURL" abstract="0" documentation="" name="baseURL" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="1424" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="getAttribute" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1425" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attr" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="1424" type="TQString" abstract="0" documentation="" name="getAttribute" static="0" scope="200" >
+ <UML:Parameter stereotype="" package="" xmi.id="1425" value="" type="TQString" abstract="0" documentation="" name="attr" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1426" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="getAttributeString" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="1426" type="TQString" abstract="0" documentation="" name="getAttributeString" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1427" type="QDict *" abstract="0" documentation="" name="getAttributes" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1428" type="void" abstract="0" documentation="" name="init" static="0" scope="202" >
<UML:Parameter stereotype="" package="" xmi.id="1429" value="" type="QTag *" abstract="0" documentation="" name="dtdTag" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1430" value="" type="KURL" abstract="0" documentation="" name="a_baseURL" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1431" type="void" abstract="0" documentation="" name="insertAttribute" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1432" value="" type="QString *" abstract="0" documentation="" name="attr" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1433" value="" type="QString *" abstract="0" documentation="" name="value" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1432" value="" type="TQString *" abstract="0" documentation="" name="attr" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1433" value="" type="TQString *" abstract="0" documentation="" name="value" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1434" type="void" abstract="0" documentation="" name="insertTag" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1435" value="" type="Document *" abstract="0" documentation="" name="w" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1436" value="" type="bool" abstract="0" documentation="" name="insertInLine" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1437" type="void" abstract="0" documentation="" name="parseAttributes" static="0" scope="202" >
- <UML:Parameter stereotype="" package="" xmi.id="1438" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="attrs" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1438" value="" type="TQString" abstract="0" documentation="" name="attrs" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1439" type="void" abstract="0" documentation="" name="parseTag" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1440" type="" abstract="0" documentation="" name="~TagDialog" static="0" scope="200" />
@@ -1685,12 +1685,12 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Attribute stereotype="" package="" xmi.id="1411" value="" type="QPtrList *" abstract="0" documentation="" name="extraPageList" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1412" value="" type="KURL" abstract="0" documentation="" name="m_baseURL" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1413" value="" type="Tag *" abstract="0" documentation="" name="m_tag" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="1414" value="" type="QWidget *" abstract="0" documentation="" name="mainDlg" static="0" scope="200" />
+ <UML:Attribute stereotype="" package="" xmi.id="1414" value="" type="TQWidget *" abstract="0" documentation="" name="mainDlg" static="0" scope="200" />
</UML:Class>
<UML:Association nameb="" stereotype="" assoctype="dependency" rolea="1407" roleb="307" multia="" multib="" package="" xmi.id="1441" abstract="0" documentation="" name="" static="0" scope="200" namea="" />
<UML:Class stereotype="" package="" xmi.id="1442" abstract="0" documentation="" name="TagImgDlg" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1465" type="" abstract="0" documentation="" name="TagImgDlg" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1466" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1466" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1467" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1468" type="void" abstract="0" documentation="" name="initDialog" static="0" scope="200" />
@@ -1707,7 +1707,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Attribute stereotype="" package="" xmi.id="1452" value="" type="QPushButton *" abstract="0" documentation="" name="buttonOk" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1453" value="" type="QPushButton *" abstract="0" documentation="" name="buttonRecalcImgSize" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1454" value="" type="QComboBox *" abstract="0" documentation="" name="comboAlign" static="0" scope="200" />
- <UML:Attribute stereotype="" package="" xmi.id="1455" value="" type="QImage *" abstract="0" documentation="" name="img" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="1455" value="" type="TQImage *" abstract="0" documentation="" name="img" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1456" value="" type="QLabel *" abstract="0" documentation="" name="labelImgSource" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1457" value="" type="KLineEdit *" abstract="0" documentation="" name="lineAltText" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1458" value="" type="KLineEdit *" abstract="0" documentation="" name="lineHSpace" static="0" scope="200" />
@@ -1721,7 +1721,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="1470" abstract="0" documentation="" name="TagQuickTable" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1472" type="" abstract="0" documentation="" name="TagQuickTable" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1473" value="" type="Document *" abstract="0" documentation="" name="write" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1474" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1474" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1475" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1476" type="" abstract="0" documentation="" name="~TagQuickTable" static="0" scope="200" />
@@ -1755,8 +1755,8 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Attribute stereotype="" package="" xmi.id="1481" value="" type="bool" abstract="0" documentation="" name="firstOutput" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1482" value="" type="QuantaView *" abstract="0" documentation="" name="m_view" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1483" value="" type="TDEProcess *" abstract="0" documentation="" name="proc" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="1484" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="scriptErrorDest" static="0" scope="201" />
- <UML:Attribute stereotype="" package="" xmi.id="1485" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="scriptOutputDest" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="1484" value="" type="TQString" abstract="0" documentation="" name="scriptErrorDest" static="0" scope="201" />
+ <UML:Attribute stereotype="" package="" xmi.id="1485" value="" type="TQString" abstract="0" documentation="" name="scriptOutputDest" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="1486" value="" type="QDomElement" abstract="0" documentation="" name="tag" static="0" scope="201" />
</UML:Class>
<UML:Association nameb="" stereotype="" assoctype="dependency" rolea="1479" roleb="307" multia="" multib="" package="" xmi.id="1504" abstract="0" documentation="" name="" static="0" scope="200" namea="" />
@@ -1769,7 +1769,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="1512" abstract="0" documentation="" name="CopyTo" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1515" type="" abstract="0" documentation="" name="CopyTo" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1516" value="" type="const KURL &amp;" abstract="0" documentation="" name="dirURL" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1517" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1517" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1518" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1519" type="KURL" abstract="0" documentation="" name="copy" static="0" scope="200" >
@@ -1790,7 +1790,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Class stereotype="" package="" xmi.id="1530" abstract="0" documentation="" name="TagQuickStart" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1532" type="" abstract="0" documentation="" name="TagQuickStart" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1533" value="" type="const KURL &amp;" abstract="0" documentation="" name="a_baseURL" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1534" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1534" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1535" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1536" type="" abstract="0" documentation="" name="~TagQuickStart" static="0" scope="200" />
@@ -1798,12 +1798,12 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
</UML:Class>
<UML:Class stereotype="" package="" xmi.id="1537" abstract="0" documentation="" name="FileCombo" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="1542" type="" abstract="0" documentation="" name="FileCombo" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1543" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1543" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1544" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1545" type="" abstract="0" documentation="" name="FileCombo" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1546" value="" type="const KURL &amp;" abstract="0" documentation="" name="a_baseURL" static="0" scope="200" />
- <UML:Parameter stereotype="" package="" xmi.id="1547" value="" type="QWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1547" value="" type="TQWidget *" abstract="0" documentation="" name="parent" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1548" value="" type="const char *" abstract="0" documentation="" name="name" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1549" type="void" abstract="0" documentation="" name="setBaseURL" static="0" scope="200" >
@@ -1813,9 +1813,9 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="1552" value="" type="bool" abstract="0" documentation="" name="absolutePath" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="1553" type="void" abstract="0" documentation="" name="setText" static="0" scope="200" >
- <UML:Parameter stereotype="" package="" xmi.id="1554" value="" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="" static="0" scope="200" />
+ <UML:Parameter stereotype="" package="" xmi.id="1554" value="" type="TQString" abstract="0" documentation="" name="" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="1555" type=TQSTRING_OBJECT_NAME_STRING abstract="0" documentation="" name="text" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="1555" type="TQString" abstract="0" documentation="" name="text" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="1556" type="" abstract="0" documentation="" name="~FileCombo" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="1538" value="" type="KURL" abstract="0" documentation="" name="baseURL" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="1539" value="" type="QPushButton *" abstract="0" documentation="" name="button" static="0" scope="202" />
diff --git a/quanta/scripts/CMakeLists.txt b/quanta/scripts/CMakeLists.txt
index 03099cac..2d58a86b 100644
--- a/quanta/scripts/CMakeLists.txt
+++ b/quanta/scripts/CMakeLists.txt
@@ -13,7 +13,7 @@ install( FILES
scriptinfo.kmdr.info dwt.pl dwt.kmdr.info
tidy.kmdr.info checkxml.kmdr.info
meinproc.kmdr.info xmlval.kmdr.info
- xsltproc.kmdr.info htmlquickstart.kmdr.info
+ xsltproc.kmdr.info htmlquickstart.kmdr.info htmlquickstart5.kmdr.info
TemplateMagic.pl TemplateMagic.pl.info
info.css externalpreview.sh info.xsl
externalpreview.sh.info dwt.pl.info
@@ -23,7 +23,7 @@ install( FILES
install( PROGRAMS
scriptinfo.kmdr dwt.kmdr tidy.kmdr checkxml.kmdr
meinproc.kmdr xmlval.kmdr xsltproc.kmdr
- htmlquickstart.kmdr gubed_install.kmdr
+ htmlquickstart.kmdr htmlquickstart5.kmdr gubed_install.kmdr
listwizard.kmdr picturewizard.kmdr
tablewizard.kmdr docbook_table.kmdr
DESTINATION ${DATA_INSTALL_DIR}/quanta/scripts )
diff --git a/quanta/scripts/Makefile.am b/quanta/scripts/Makefile.am
index 00a74dea..5353f514 100644
--- a/quanta/scripts/Makefile.am
+++ b/quanta/scripts/Makefile.am
@@ -2,7 +2,7 @@ quantadir = ${quanta_datadir}/scripts
quanta_DATA = scriptinfo.kmdr.info dwt.pl dwt.kmdr.info \
tidy.kmdr.info checkxml.kmdr.info meinproc.kmdr.info \
- xmlval.kmdr.info xsltproc.kmdr.info htmlquickstart.kmdr.info \
+ xmlval.kmdr.info xsltproc.kmdr.info htmlquickstart.kmdr.info htmlquickstart5.kmdr.info \
TemplateMagic.pl TemplateMagic.pl.info info.css externalpreview.sh \
info.xsl externalpreview.sh.info dwt.pl.info gubed_install.kmdr.info
@@ -12,6 +12,6 @@ execquantadir = ${quanta_datadir}/scripts
execquanta_SCRIPTS = scriptinfo.kmdr dwt.kmdr tidy.kmdr \
checkxml.kmdr meinproc.kmdr \
xmlval.kmdr xsltproc.kmdr \
- htmlquickstart.kmdr \
+ htmlquickstart.kmdr htmlquickstart5.kmdr \
gubed_install.kmdr \
listwizard.kmdr picturewizard.kmdr tablewizard.kmdr docbook_table.kmdr
diff --git a/quanta/scripts/TemplateMagic.pl b/quanta/scripts/TemplateMagic.pl
index 400187d1..8b91e0d0 100644
--- a/quanta/scripts/TemplateMagic.pl
+++ b/quanta/scripts/TemplateMagic.pl
@@ -228,7 +228,7 @@ sub createUI() {
=pod
Structure for label widget: height is 20
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
@@ -292,7 +292,7 @@ Structure for a text widget: height is 30
for $k (0..$#OrderedVars) {
$Layouts{$OrderedVars[$k][0]}{y}=$y_loc;
print OFH <<E
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>LBL_$OrderedVars[$k][0]</cstring>
</property>
diff --git a/quanta/scripts/checkxml.kmdr b/quanta/scripts/checkxml.kmdr
index c20778a0..f07170b4 100644
--- a/quanta/scripts/checkxml.kmdr
+++ b/quanta/scripts/checkxml.kmdr
@@ -34,7 +34,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout26</cstring>
</property>
@@ -48,7 +48,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout7</cstring>
</property>
@@ -162,7 +162,7 @@ checkXML index.docbook 2&gt;&amp;1</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout10</cstring>
</property>
@@ -216,7 +216,7 @@ checkXML index.docbook 2&gt;&amp;1</string>
</spacer>
</hbox>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
diff --git a/quanta/scripts/docbook_table.kmdr b/quanta/scripts/docbook_table.kmdr
index 48403654..184df7b7 100644
--- a/quanta/scripts/docbook_table.kmdr
+++ b/quanta/scripts/docbook_table.kmdr
@@ -27,7 +27,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -80,7 +80,7 @@ echo '&lt;/table&gt;'
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -108,7 +108,7 @@ echo '&lt;/table&gt;'
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel5</cstring>
</property>
@@ -116,7 +116,7 @@ echo '&lt;/table&gt;'
<string>Description:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -147,7 +147,7 @@ done
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
diff --git a/quanta/scripts/dwt.kmdr b/quanta/scripts/dwt.kmdr
index ec4b5ff5..bf8f2308 100644
--- a/quanta/scripts/dwt.kmdr
+++ b/quanta/scripts/dwt.kmdr
@@ -52,7 +52,7 @@
<property name="name">
<cstring>tabMain</cstring>
</property>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -69,7 +69,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>lblProject</cstring>
</property>
@@ -98,7 +98,7 @@
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>lblScript</cstring>
</property>
@@ -135,7 +135,7 @@
</spacer>
</grid>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -152,7 +152,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>txtHelp</cstring>
</property>
diff --git a/quanta/scripts/gubed_install.kmdr b/quanta/scripts/gubed_install.kmdr
index ace8e554..b1b44c53 100644
--- a/quanta/scripts/gubed_install.kmdr
+++ b/quanta/scripts/gubed_install.kmdr
@@ -94,7 +94,7 @@
</rect>
</property>
</spacer>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -116,7 +116,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -124,7 +124,7 @@
<string>Target directory:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
diff --git a/quanta/scripts/htmlquickstart.kmdr b/quanta/scripts/htmlquickstart.kmdr
index 402d6f0e..2ce28aa9 100644
--- a/quanta/scripts/htmlquickstart.kmdr
+++ b/quanta/scripts/htmlquickstart.kmdr
@@ -61,7 +61,7 @@ fi
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0" rowspan="1" colspan="4">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -186,7 +186,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -815,7 +815,7 @@ echo "\"$TAGEND"</string>
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
diff --git a/quanta/scripts/htmlquickstart5.kmdr b/quanta/scripts/htmlquickstart5.kmdr
new file mode 100755
index 00000000..cc145dea
--- /dev/null
+++ b/quanta/scripts/htmlquickstart5.kmdr
@@ -0,0 +1,997 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>quickStartForm</class>
+<widget class="Dialog">
+ <property name="name">
+ <cstring>quickStartForm</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>473</width>
+ <height>577</height>
+ </rect>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="caption">
+ <string>Quick Start</string>
+ </property>
+ <property name="populationText">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string></string>
+ <string>@execBegin
+quanta=`dcop quanta-@parentPid`
+if [ -z "$quanta" ]; then
+ quanta=`dcop quanta`
+ if [ ! -z "$quanta" ]; then
+ quantadcop=quanta
+ fi
+else
+ quantadcop=quanta-@parentPid
+fi
+
+if [ ! -z "$quantadcop" ]; then
+ encoding=`dcop $quantadcop SettingsIf encoding`
+ dcop @dcopid KommanderIf setSelection ComboMetachar $encoding
+ dcop @dcopid KommanderIf setChecked CBMetaChar true
+ dtep=`dcop $quantadcop SettingsIf dtep`
+ dcop @dcopid KommanderIf setCurrentListItem DTEPselect "$dtep"
+fi
+@execEnd</string>
+ <string></string>
+ </stringlist>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>11</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="4">
+ <property name="name">
+ <cstring>TextLabel1</cstring>
+ </property>
+ <property name="font">
+ <font>
+ <family>Sans Serif</family>
+ <pointsize>12</pointsize>
+ <bold>1</bold>
+ </font>
+ </property>
+ <property name="text">
+ <string>Quanta Plus Kommander Quick Start</string>
+ </property>
+ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+ <spacer row="2" column="0">
+ <property name="name">
+ <cstring>Spacer6_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>33</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="GroupBox" row="1" column="0" rowspan="1" colspan="4">
+ <property name="name">
+ <cstring>dialogScript</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="title">
+ <string></string>
+ </property>
+ <property name="flat">
+ <bool>false</bool>
+ </property>
+ <property name="populationText">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>#############################
+# Globals
+
+# The indentation level. We have only
+# one level of indentation
+PADDING=' '
+
+# This sets the DTD var
+@DTEPselect
+
+# set parameters that depend on DTD
+if echo $DTD | grep -q xhtml
+then
+ XHTML=true
+ TAGEND=' /&gt;'
+ HTML='&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;'
+else
+ XHTML=FALSE
+ TAGEND='&gt;'
+ HTML='&lt;html&gt;'
+fi
+
+##############################
+# Finally generate the page
+
+@CBDTD
+echo $HTML
+echo '@CBCVS'
+@CBHead
+
+echo '&lt;body&gt;'
+echo '@CBPHPHeader'
+echo '@CBPHPFooter'
+echo '&lt;/body&gt;'
+echo '&lt;/html&gt;'
+
+quanta=`dcop quanta-@parentPid`
+if [ -z "$quanta" ]; then
+ quanta=`dcop quanta`
+ if [ ! -z "$quanta" ]; then
+ quantadcop=quanta
+ fi
+else
+ quantadcop=quanta-@parentPid
+fi
+
+if [ ! -z "$quantadcop" ]; then
+ dcop $quantadcop WindowManagerIf setDtep "@DTEPselect.text" false
+fi</string>
+ </stringlist>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>11</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <widget class="TQLabel" row="0" column="0">
+ <property name="name">
+ <cstring>TextLabel1_2</cstring>
+ </property>
+ <property name="text">
+ <string>DTD / Schema:</string>
+ </property>
+ </widget>
+ <widget class="GroupBox" row="4" column="0" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>GroupBox3</cstring>
+ </property>
+ <property name="title">
+ <string>Body Area</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>&lt;body&gt;
+@CBPHPHeader
+@CBPHPFooter
+&lt;/body&gt;</string>
+ </stringlist>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>11</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <widget class="LineEdit" row="0" column="1">
+ <property name="name">
+ <cstring>phpHeaderFile</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="LineEdit" row="1" column="1">
+ <property name="name">
+ <cstring>phpFooterFile</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="1" column="0">
+ <property name="name">
+ <cstring>CBPHPFooter</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;PHP footer include:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>&lt;? include_once("@phpFooterFile") ?&gt;</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="0" column="0">
+ <property name="name">
+ <cstring>CBPHPHeader</cstring>
+ </property>
+ <property name="text">
+ <string>PHP header include:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>&lt;? include_once("@phpHeaderFile") ?&gt;</string>
+ </stringlist>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ <widget class="CheckBox" row="1" column="0">
+ <property name="name">
+ <cstring>CBDTD</cstring>
+ </property>
+ <property name="text">
+ <string>Show &amp;DTD</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string>@DTEPselect
+echo "$DTD"</string>
+ <string>echo "$DTD"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="ComboBox" row="0" column="1">
+ <item>
+ <property name="text">
+ <string>HTML 5</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>HTML 4.01 Transitional</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>HTML 4.01 Strict</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>HTML 4.01 Frameset</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>XHTML 1.0 Transitional</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>XHTML 1.0 Strict</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>XHTML 1.0 Frameset</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>XHTML 1.0 Basic</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>XHTML 1.1</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>DTEPselect</cstring>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>################################
+# This script sets the DTD var
+
+
+# The various DTD's
+
+html5='&lt;!DOCTYPE html&gt;'
+
+htmltrans='&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;'
+
+strict='&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;'
+
+frameset='&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"&gt;'
+
+xhtml1trans='&lt;?xml version="1.0" encoding="@ComboMetachar"?&gt;
+&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;'
+
+xhtml1strict='&lt;?xml version="1.0" encoding="@ComboMetachar"?&gt;
+&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;'
+
+xhtml1frameset='&lt;?xml version="1.0" encoding="@ComboMetachar"?&gt;
+&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt;'
+
+xhtml1basic='&lt;?xml version="1.0" encoding="@ComboMetachar"?&gt;
+&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"&gt;'
+
+xhtml11='&lt;?xml version="1.0" encoding="@ComboMetachar"?&gt;
+&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;'
+
+################################
+# Set the DTD based on user selection
+
+case "@widgetText" in
+"HTML 5" )
+ DTD="$html5"
+;;
+"HTML 4.01 Transitional" )
+ DTD="$htmltrans"
+;;
+"HTML 4.01 Strict" )
+ DTD="$strict"
+;;
+"HTML 4.01 Frameset" )
+ DTD="$frameset"
+;;
+"XHTML 1.0 Transitional" )
+ DTD="$xhtml1trans"
+;;
+"XHTML 1.0 Strict" )
+ DTD="$xhtml1strict"
+;;
+"XHTML 1.0 Frameset" )
+ DTD="$xhtml1frameset"
+;;
+"XHTML 1.0 Basic" )
+ DTD="$xhtml1basic"
+;;
+"XHTML 1.1" )
+ DTD="$xhtml11"
+;;
+* )
+ echo "No Match"
+;;
+esac
+</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="2" column="0">
+ <property name="name">
+ <cstring>CBHead</cstring>
+ </property>
+ <property name="text">
+ <string>Head &amp;area</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo '&lt;head&gt;'
+@LETitle
+@CBBasedir
+@CBMetaQuanta
+@CBMetaAuthor
+@CBMetaChar
+@CBMetaKeywords
+@CBStyle
+@CBStyleArea
+@CBJavascript
+echo '&lt;/head&gt;'</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="1" column="1">
+ <property name="name">
+ <cstring>CBCVS</cstring>
+ </property>
+ <property name="text">
+ <string>CVS tag &amp;in comment</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>&lt;!-- $Id$ --&gt;</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="GroupBox" row="3" column="0" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>GroupBox2</cstring>
+ </property>
+ <property name="title">
+ <string></string>
+ </property>
+ <property name="populationText">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string></string>
+ </stringlist>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>11</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <widget class="CheckBox" row="2" column="0">
+ <property name="name">
+ <cstring>CBMetaAuthor</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Meta author:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo "$PADDING&lt;meta name=\"AUTHOR\" content=\"@LEMetaAuthor\"$TAGEND"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="3" column="0">
+ <property name="name">
+ <cstring>CBMetaChar</cstring>
+ </property>
+ <property name="text">
+ <string>Meta character set:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo "$PADDING&lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=@ComboMetachar\"$TAGEND"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="7" column="0">
+ <property name="name">
+ <cstring>CBStyleArea</cstring>
+ </property>
+ <property name="text">
+ <string>St&amp;yle area</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo "$PADDING&lt;style type=\"text/css\"&gt;"
+if [ $XHTML = true ]; then
+ echo "$PADDING/* &lt;![CDATA[ */"
+ echo "$PADDING"
+ echo "$PADDING/* ]]&gt; */"
+fi
+echo "$PADDING&lt;/style&gt;"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="LineEdit" row="1" column="1">
+ <property name="name">
+ <cstring>LEBasedir</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="LineEdit" row="2" column="1">
+ <property name="name">
+ <cstring>LEMetaAuthor</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="ComboBox" row="3" column="1">
+ <item>
+ <property name="text">
+ <string>iso-8859-1</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-2</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-3</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-4</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-5</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-6</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-7</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-8</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-8i</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-9</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-10</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-11</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-12</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-13</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-14</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>iso-8859-15</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>utf-8</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>utf-16</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>koi8-r</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>koi8-u</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1250</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1251</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1252</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1253</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1254</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1255</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1256</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1257</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>windows-1258</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>ComboMetachar</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="LineEdit" row="4" column="1">
+ <property name="name">
+ <cstring>LEMetaKeywords</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>limit to 8, separate with commas</string>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="1" column="0">
+ <property name="name">
+ <cstring>CBBasedir</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Base directory:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo "$PADDING&lt;base href=\"@LEBasedir\"$TAGEND"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="6" column="0">
+ <property name="name">
+ <cstring>CBMetaQuanta</cstring>
+ </property>
+ <property name="text">
+ <string>Meta &amp;Quanta</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo "$PADDING&lt;meta name=\"GENERATOR\" content=\"Quanta Plus\"$TAGEND"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="4" column="0">
+ <property name="name">
+ <cstring>CBMetaKeywords</cstring>
+ </property>
+ <property name="text">
+ <string>Meta &amp;keywords:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo -n "$PADDING&lt;meta name=\"KEYWORDS\" content=\""
+echo -n '@LEMetaKeywords'
+echo "\"$TAGEND"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="5" column="0">
+ <property name="name">
+ <cstring>CBStyle</cstring>
+ </property>
+ <property name="text">
+ <string>Li&amp;nked style sheet:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>echo "$PADDING&lt;link rel=\"stylesheet\" type=\"text/css\" href=\"@cssFile\"$TAGEND"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="LineEdit" row="5" column="1">
+ <property name="name">
+ <cstring>cssFile</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="LineEdit" row="0" column="1">
+ <property name="name">
+ <cstring>LETitle</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>echo "$PADDING&lt;title&gt;@widgetText&lt;/title&gt;"</string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="TQLabel" row="0" column="0">
+ <property name="name">
+ <cstring>TextLabel2</cstring>
+ </property>
+ <property name="text">
+ <string>Title:</string>
+ </property>
+ </widget>
+ <widget class="CheckBox" row="7" column="1">
+ <property name="name">
+ <cstring>CBJavascript</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;JavaScript area</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@null</string>
+ <string></string>
+ <string>if echo $DTD | grep -q strict
+then
+ echo "$PADDING&lt;script type=\"text/javascript\"&gt;"
+else
+ echo "$PADDING&lt;script language=\"javascript\" type=\"text/javascript\"&gt;"
+fi
+
+
+if [ $XHTML = true ]; then
+ echo "$PADDING/* &lt;![CDATA[ */"
+ echo "$PADDING"
+ echo "$PADDING/* ]]&gt; */"
+else
+ echo "$PADDING// &lt;!--"
+ echo "$PADDING"
+ echo "$PADDING// --&gt;"
+fi
+
+echo "$PADDING&lt;/script&gt;"</string>
+ </stringlist>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ </grid>
+ </widget>
+ <widget class="CloseButton" row="2" column="3">
+ <property name="name">
+ <cstring>CloseButton1_2</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="flat">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string></string>
+ </stringlist>
+ </property>
+ <property name="writeStdout">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="CloseButton" row="2" column="1">
+ <property name="name">
+ <cstring>CloseButton1</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="flat">
+ <bool>false</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@dialogScript
+</string>
+ </stringlist>
+ </property>
+ <property name="writeStdout">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </grid>
+</widget>
+<connections>
+ <connection>
+ <sender>CBBasedir</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>LEBasedir</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>CBMetaAuthor</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>LEMetaAuthor</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>CBMetaKeywords</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>LEMetaKeywords</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>CBMetaChar</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>ComboMetachar</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>CBStyle</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>cssFile</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>CBHead</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>GroupBox2</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>CBPHPHeader</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>phpHeaderFile</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>CBPHPFooter</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>phpFooterFile</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>quickStartForm</sender>
+ <signal>widgetOpened()</signal>
+ <receiver>GroupBox2</receiver>
+ <slot>populate()</slot>
+ </connection>
+</connections>
+<tabstops>
+ <tabstop>DTEPselect</tabstop>
+ <tabstop>CBDTD</tabstop>
+ <tabstop>CBCVS</tabstop>
+ <tabstop>CBHead</tabstop>
+ <tabstop>LETitle</tabstop>
+ <tabstop>CBBasedir</tabstop>
+ <tabstop>LEBasedir</tabstop>
+ <tabstop>CBMetaAuthor</tabstop>
+ <tabstop>LEMetaAuthor</tabstop>
+ <tabstop>CBMetaChar</tabstop>
+ <tabstop>ComboMetachar</tabstop>
+ <tabstop>CBMetaKeywords</tabstop>
+ <tabstop>LEMetaKeywords</tabstop>
+ <tabstop>CBStyle</tabstop>
+ <tabstop>cssFile</tabstop>
+ <tabstop>CBMetaQuanta</tabstop>
+ <tabstop>CBStyleArea</tabstop>
+ <tabstop>CBJavascript</tabstop>
+ <tabstop>CBPHPHeader</tabstop>
+ <tabstop>phpHeaderFile</tabstop>
+ <tabstop>CBPHPFooter</tabstop>
+ <tabstop>phpFooterFile</tabstop>
+ <tabstop>CloseButton1</tabstop>
+ <tabstop>CloseButton1_2</tabstop>
+</tabstops>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>
diff --git a/quanta/scripts/htmlquickstart5.kmdr.info b/quanta/scripts/htmlquickstart5.kmdr.info
new file mode 100644
index 00000000..2602167a
--- /dev/null
+++ b/quanta/scripts/htmlquickstart5.kmdr.info
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE QuantaScriptInfo>
+<INFO>
+<options editor="kmdr-editor" interpreter="kmdr-executor -c quanta" />
+<name>htmlquickstart5</name>
+<author>Alexis Puente Montiel</author>
+<email>miscelaneanatural@yahoo.es</email>
+<website>http://quanta.sf.net/</website>
+<version>1.1</version>
+<license>GPL</license>
+<about>Enjoy!</about>
+</INFO>
diff --git a/quanta/scripts/listwizard.kmdr b/quanta/scripts/listwizard.kmdr
index 6333c60d..40ae570f 100644
--- a/quanta/scripts/listwizard.kmdr
+++ b/quanta/scripts/listwizard.kmdr
@@ -34,7 +34,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>Layout12</cstring>
</property>
@@ -150,7 +150,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout7</cstring>
</property>
@@ -183,7 +183,7 @@
<string>Select or enter in this spin box the number of list entries or steps that should be created by the wizard. After using the wizard, you can add (or remove) more entries or steps manually.</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -198,7 +198,7 @@
</widget>
</grid>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2_2</cstring>
</property>
diff --git a/quanta/scripts/meinproc.kmdr b/quanta/scripts/meinproc.kmdr
index 66f30040..e516aa03 100644
--- a/quanta/scripts/meinproc.kmdr
+++ b/quanta/scripts/meinproc.kmdr
@@ -124,7 +124,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout10</cstring>
</property>
@@ -181,7 +181,7 @@ fi</string>
</spacer>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout4</cstring>
</property>
@@ -195,7 +195,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
diff --git a/quanta/scripts/picturewizard.kmdr b/quanta/scripts/picturewizard.kmdr
index 1b965193..4b27f4e1 100644
--- a/quanta/scripts/picturewizard.kmdr
+++ b/quanta/scripts/picturewizard.kmdr
@@ -34,7 +34,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>Layout12</cstring>
</property>
@@ -125,7 +125,7 @@
</widget>
</grid>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2_2</cstring>
</property>
@@ -286,7 +286,7 @@ echo '&lt;/inlinemediaobject&gt;'</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -498,7 +498,7 @@ echo '&lt;/inlinemediaobject&gt;'</string>
<string>Enter the description of the image here. For instance, a screenshot of a configuration dialog should be described as "Configuration dialog.". This text will be used as caption text if the box below is checked.</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel2_2_2</cstring>
</property>
@@ -509,7 +509,7 @@ echo '&lt;/inlinemediaobject&gt;'</string>
<string>Select the image format here. The image format is usually reflects the file extension of your image file (.png corresponds to PNG in the drop down, .jpg corresponds to JPG, etc.).</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
@@ -536,7 +536,7 @@ echo '&lt;/inlinemediaobject&gt;'</string>
<string>Enter the file name of the image here, including the extension (.png, .jpg, etc.). Enter only the file name, not the location (path) of the image file. The image files should be located in the same folder as the DocBook sources.</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
diff --git a/quanta/scripts/scriptinfo.kmdr b/quanta/scripts/scriptinfo.kmdr
index 32c1cfd8..0e23c1ca 100644
--- a/quanta/scripts/scriptinfo.kmdr
+++ b/quanta/scripts/scriptinfo.kmdr
@@ -29,7 +29,7 @@
<property name="name">
<cstring>TabWidget1</cstring>
</property>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -46,7 +46,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="1" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel1_3</cstring>
</property>
@@ -61,7 +61,7 @@
<string>Please fill in all fields</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -90,7 +90,7 @@
<string>Enter the script name with the extension</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="8" column="0">
+ <widget class="TQLabel" row="8" column="0">
<property name="name">
<cstring>TextLabel5</cstring>
</property>
@@ -127,7 +127,7 @@
<string>The location of your up-to-date file on the web</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -135,7 +135,7 @@
<string>Script author:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="7" column="0">
+ <widget class="TQLabel" row="7" column="0">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -200,7 +200,7 @@
<string>If other include in about</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel1_4</cstring>
</property>
@@ -208,7 +208,7 @@
<string>Editor/Executor:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="4" column="0">
+ <widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -216,7 +216,7 @@
<string>Author email:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="5" column="0">
+ <widget class="TQLabel" row="5" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -224,7 +224,7 @@
<string>Web address:</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="6" column="0">
+ <widget class="TQLabel" row="6" column="0">
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
@@ -344,7 +344,7 @@
<string>Optional: External program executor</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="9" column="0">
+ <widget class="TQLabel" row="9" column="0">
<property name="name">
<cstring>TextLabel6</cstring>
</property>
@@ -397,7 +397,7 @@ $options&lt;name&gt;@Name&lt;/name&gt;
</widget>
</grid>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
diff --git a/quanta/scripts/tablewizard.kmdr b/quanta/scripts/tablewizard.kmdr
index 205a8b49..374f429a 100644
--- a/quanta/scripts/tablewizard.kmdr
+++ b/quanta/scripts/tablewizard.kmdr
@@ -27,7 +27,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>Layout10</cstring>
</property>
@@ -142,7 +142,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout12</cstring>
</property>
@@ -156,7 +156,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>ColumnLabel</cstring>
</property>
@@ -167,7 +167,7 @@
<string>Select or enter in this spin box the number of columns that should be created by the wizard.</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TableIdLabel</cstring>
</property>
@@ -243,7 +243,7 @@ done;
<string>Select or enter in this spin box the number of rows that should be created by the wizard. After using the wizard, you can add (or remove) more rows. To add more rows, add the same number of &lt;entry&gt; tags per &lt;row&gt; tag as in the rest of the table.</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>LinesLabel</cstring>
</property>
@@ -254,7 +254,7 @@ done;
<string>Select or enter in this spin box the number of rows that should be created by the wizard. After using the wizard, you can add (or remove) more rows. To add more rows, add the same number of &lt;entry&gt; tags per &lt;row&gt; tag as in the rest of the table.</string>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>TableTitleLabel5</cstring>
</property>
@@ -391,7 +391,7 @@ echo '&lt;/informaltable&gt;'</string>
</widget>
</grid>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TableTypeLabel</cstring>
</property>
diff --git a/quanta/scripts/tidy.kmdr b/quanta/scripts/tidy.kmdr
index 472750ab..e536d82a 100644
--- a/quanta/scripts/tidy.kmdr
+++ b/quanta/scripts/tidy.kmdr
@@ -29,7 +29,7 @@
<property name="name">
<cstring>TabWidget1</cstring>
</property>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -63,7 +63,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -108,7 +108,7 @@ instances of Quanta running.</string>
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -258,7 +258,7 @@ instances of Quanta running.</string>
</widget>
</grid>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -275,7 +275,7 @@ instances of Quanta running.</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -379,7 +379,7 @@ instances of Quanta running.</string>
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -443,7 +443,7 @@ instances of Quanta running.</string>
</stringlist>
</property>
</widget>
- <widget class=TQLABEL_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -515,7 +515,7 @@ instances of Quanta running.</string>
</widget>
</grid>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -791,7 +791,7 @@ instances of Quanta running.</string>
</widget>
</grid>
</widget>
- <widget class=TQWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -1069,9 +1069,9 @@ fi
</connection>
<connection>
<sender>ExecButton2</sender>
- <signal>widgetTextChanged(const QString&amp;)</signal>
+ <signal>widgetTextChanged(const TQString&amp;)</signal>
<receiver>GtidyPath</receiver>
- <slot>setWidgetText(const QString&amp;)</slot>
+ <slot>setWidgetText(const TQString&amp;)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
diff --git a/quanta/scripts/xmlval.kmdr b/quanta/scripts/xmlval.kmdr
index 494ca294..4bf423ba 100644
--- a/quanta/scripts/xmlval.kmdr
+++ b/quanta/scripts/xmlval.kmdr
@@ -70,7 +70,7 @@ CMDLINE="$VALSTR $FILE"</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout10</cstring>
</property>
@@ -130,7 +130,7 @@ fi</string>
</spacer>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout4</cstring>
</property>
@@ -144,7 +144,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -187,7 +187,7 @@ fi</string>
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -201,7 +201,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -296,7 +296,7 @@ esac</string>
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>Layout11</cstring>
</property>
@@ -352,7 +352,7 @@ fi
</spacer>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="4" column="0">
+ <widget class="TQLayoutWidget" row="4" column="0">
<property name="name">
<cstring>Layout6</cstring>
</property>
@@ -366,7 +366,7 @@ fi
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel5</cstring>
</property>
diff --git a/quanta/scripts/xsltproc.kmdr b/quanta/scripts/xsltproc.kmdr
index 3d2227eb..7070e962 100644
--- a/quanta/scripts/xsltproc.kmdr
+++ b/quanta/scripts/xsltproc.kmdr
@@ -27,7 +27,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -121,7 +121,7 @@ CMDLINE="-o $HOME/$OPFILE $STYLESHEET $FILE"</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>Layout17</cstring>
</property>
@@ -159,7 +159,7 @@ fi</string>
</stringlist>
</property>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout15</cstring>
</property>
@@ -173,7 +173,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -199,7 +199,7 @@ fi</string>
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout14</cstring>
</property>
@@ -213,7 +213,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -233,7 +233,7 @@ fi</string>
</widget>
</hbox>
</widget>
- <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout13</cstring>
</property>
@@ -247,7 +247,7 @@ fi</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class=TQLABEL_OBJECT_NAME_STRING>
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
diff --git a/quanta/src/CMakeLists.txt b/quanta/src/CMakeLists.txt
index ff7d5d4c..4ca5e552 100644
--- a/quanta/src/CMakeLists.txt
+++ b/quanta/src/CMakeLists.txt
@@ -19,6 +19,7 @@ include_directories(
${CMAKE_BINARY_DIR}/quanta/components/tableeditor
${CMAKE_BINARY_DIR}/quanta/components/csseditor
${CMAKE_BINARY_DIR}/quanta/components/framewizard
+ ${CMAKE_BINARY_DIR}/quanta/components/cvsservice
${CMAKE_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}/quanta/src
${CMAKE_SOURCE_DIR}/quanta/project
@@ -31,12 +32,16 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/components/tableeditor
${CMAKE_SOURCE_DIR}/quanta/components/csseditor
${CMAKE_SOURCE_DIR}/quanta/components/framewizard
+ ${CMAKE_SOURCE_DIR}/quanta/components/cvsservice
${CMAKE_SOURCE_DIR}/quanta/messages
${CMAKE_SOURCE_DIR}/quanta/treeviews
${CMAKE_SOURCE_DIR}/quanta/plugins
${CMAKE_SOURCE_DIR}/quanta/dialogs
${CMAKE_SOURCE_DIR}/quanta/dialogs/settings
${CMAKE_SOURCE_DIR}/quanta/dialogs/tagdialogs
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -48,8 +53,16 @@ link_directories(
##### other data ################################
-install( FILES quanta.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES x-webprj.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+tde_create_translated_desktop(
+ SOURCE quanta.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
+tde_create_translated_desktop(
+ SOURCE x-webprj.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR quanta-desktops
+)
##### quanta (executable) #######################
@@ -57,6 +70,7 @@ install( FILES x-webprj.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
set_property( SOURCE kqapp.cpp APPEND PROPERTY COMPILE_DEFINITIONS PREFIX="${CMAKE_INSTALL_PREFIX}" )
tde_add_executable( quanta AUTOMOC
+
SOURCES
quanta_init.cpp quantaview.cpp quantadoc.cpp
main.cpp document.cpp kqapp.cpp quanta.cpp
@@ -64,15 +78,19 @@ tde_add_executable( quanta AUTOMOC
dcopquantaif.skel dcopsettings.cpp dtds.cpp
dcopquanta.cpp viewmanager.cpp
LINK
- project-static plugins-static parser-static
- dtdparser-static treeviews-static dialogs-static
- debuggermanager-static tagdialogs-static
- settingsdialogs-static messages-static
- framewizard-static csseditor-static
- tableeditor-static preview-static
- utility-static quantamodule-static
- kafkalibrary-static tdemdi-shared tdehtml-shared
- tdenewstuff-shared tdeabc-shared tdetexteditor-shared
- ${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES}
+ tdecore-shared tdeui-shared tdeio-shared
+ katepartinterfaces-shared tdenewstuff-shared
+ tdeabc-shared tdetexteditor-shared
+ tdemdi-shared tdehtml-shared tdespell-shared
+ kafkalibrary-static project-static
+ plugins-static parser-static
+ dtdparser-static treeviews-static
+ dialogs-static debuggermanager-static
+ tagdialogs-static settingsdialogs-static
+ messages-static framewizard-static
+ csseditor-static tableeditor-static
+ preview-static utility-static quantamodule-static
+ ${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES} ${CVSSERVICE_LIBRARIES}
+
DESTINATION ${BIN_INSTALL_DIR}
)
diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp
index c5530dae..49b3d195 100644
--- a/quanta/src/document.cpp
+++ b/quanta/src/document.cpp
@@ -200,25 +200,25 @@ Document::Document(KTextEditor::Document *doc,
//path of the backup copy file of the document
m_backupPathValue = TQString();
- connect( m_doc, TQT_SIGNAL(charactersInteractivelyInserted (int ,int ,const TQString&)),
- this, TQT_SLOT(slotCharactersInserted(int ,int ,const TQString&)) );
+ connect( m_doc, TQ_SIGNAL(charactersInteractivelyInserted (int ,int ,const TQString&)),
+ this, TQ_SLOT(slotCharactersInserted(int ,int ,const TQString&)) );
- connect( m_view, TQT_SIGNAL(completionAborted()),
- this, TQT_SLOT( slotCompletionAborted()) );
+ connect( m_view, TQ_SIGNAL(completionAborted()),
+ this, TQ_SLOT( slotCompletionAborted()) );
- connect( m_view, TQT_SIGNAL(completionDone(KTextEditor::CompletionEntry)),
- this, TQT_SLOT( slotCompletionDone(KTextEditor::CompletionEntry)) );
+ connect( m_view, TQ_SIGNAL(completionDone(KTextEditor::CompletionEntry)),
+ this, TQ_SLOT( slotCompletionDone(KTextEditor::CompletionEntry)) );
- connect( m_view, TQT_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString *)),
- this, TQT_SLOT( slotFilterCompletion(KTextEditor::CompletionEntry*,TQString *)) );
- connect( m_doc, TQT_SIGNAL(textChanged()), TQT_SLOT(slotTextChanged()));
+ connect( m_view, TQ_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString *)),
+ this, TQ_SLOT( slotFilterCompletion(KTextEditor::CompletionEntry*,TQString *)) );
+ connect( m_doc, TQ_SIGNAL(textChanged()), TQ_SLOT(slotTextChanged()));
- connect(m_view, TQT_SIGNAL(gotFocus(Kate::View*)), TQT_SIGNAL(editorGotFocus()));
+ connect(m_view, TQ_SIGNAL(gotFocus(Kate::View*)), TQ_SIGNAL(editorGotFocus()));
- connect(fileWatcher, TQT_SIGNAL(dirty(const TQString&)), TQT_SLOT(slotFileDirty(const TQString&)));
+ connect(fileWatcher, TQ_SIGNAL(dirty(const TQString&)), TQ_SLOT(slotFileDirty(const TQString&)));
-// connect(m_doc, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(slotMarksChanged()));
- connect(m_doc, TQT_SIGNAL(markChanged(KTextEditor::Mark, KTextEditor::MarkInterfaceExtension::MarkChangeAction)), this, TQT_SLOT(slotMarkChanged(KTextEditor::Mark, KTextEditor::MarkInterfaceExtension::MarkChangeAction)));
+// connect(m_doc, TQ_SIGNAL(marksChanged()), this, TQ_SLOT(slotMarksChanged()));
+ connect(m_doc, TQ_SIGNAL(markChanged(KTextEditor::Mark, KTextEditor::MarkInterfaceExtension::MarkChangeAction)), this, TQ_SLOT(slotMarkChanged(KTextEditor::Mark, KTextEditor::MarkInterfaceExtension::MarkChangeAction)));
}
@@ -725,7 +725,7 @@ void Document::slotCompletionDone( KTextEditor::CompletionEntry completion )
/* if (completion.type == "charCompletion")
{
m_lastCompletionList = getCharacterCompletions(completion.userdata);
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedShowCodeCompletion()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedShowCodeCompletion()));
} else*/
if (completion.type == "attribute")
{
@@ -736,7 +736,7 @@ void Document::slotCompletionDone( KTextEditor::CompletionEntry completion )
if (tag)
{
m_lastCompletionList = getAttributeValueCompletions(tag->name(), completion.text);
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedShowCodeCompletion()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedShowCodeCompletion()));
}
}
} else
@@ -755,7 +755,7 @@ void Document::slotCompletionDone( KTextEditor::CompletionEntry completion )
{
m_lastLine = line;
m_lastCol = col - 1;
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedScriptAutoCompletion()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedScriptAutoCompletion()));
}
}
}
@@ -859,7 +859,7 @@ void Document::slotCharactersInserted(int line, int column, const TQString& stri
m_replaceLine = line;
m_replaceCol = column;
m_replaceStr = QuantaCommon::encodedChar(string[0].unicode());
- TQTimer::singleShot(0, this, TQT_SLOT(slotReplaceChar()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotReplaceChar()));
return;
}
}
@@ -872,7 +872,7 @@ void Document::slotCharactersInserted(int line, int column, const TQString& stri
m_replaceLine = line;
m_replaceCol = column;
m_replaceStr = QuantaCommon::encodedChar(c);
- TQTimer::singleShot(0, this, TQT_SLOT(slotReplaceChar()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotReplaceChar()));
return;
}
}
@@ -2236,7 +2236,7 @@ void Document::checkDirtyStatus()
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
m_md5sum = context.hexDigest();
f.close();
}
@@ -2252,7 +2252,7 @@ void Document::checkDirtyStatus()
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
md5sum = context.hexDigest();
kdDebug(24000) << "MD5 sum of current doc: " << m_md5sum << endl;
kdDebug(24000) << "MD5 sum of doc on disc : " << md5sum << endl;
@@ -2323,7 +2323,7 @@ bool Document::saveAs(const KURL& url)
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
m_md5sum = context.hexDigest();
f.close();
}
@@ -2367,7 +2367,7 @@ void Document::slotTextChanged()
{
kdDebug(24000) << "Delayed text changed called." << endl;
//delay the handling, otherwise we may get wrong values for (line,column)
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedTextChanged()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedTextChanged()));
delayedTextChangedEnabled = false;
}
}
@@ -2378,7 +2378,7 @@ void Document::slotDelayedTextChanged(bool forced)
{
kdDebug(24000) << "Reparsing delayed!" << endl;
parser->setParsingNeeded(true);
- TQTimer::singleShot(1000, this, TQT_SLOT(slotDelayedTextChanged()));
+ TQTimer::singleShot(1000, this, TQ_SLOT(slotDelayedTextChanged()));
reparseEnabled = false;
delayedTextChangedEnabled = false;
return;
@@ -2872,8 +2872,8 @@ void Document::open(const KURL &url, const TQString &encoding)
m_encoding = encoding;
m_codec = TQTextCodec::codecForName(m_encoding.ascii());
}
- connect(m_doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotOpeningCompleted()));
- connect(m_doc, TQT_SIGNAL(canceled(const TQString&)), this, TQT_SLOT(slotOpeningFailed(const TQString&)));
+ connect(m_doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotOpeningCompleted()));
+ connect(m_doc, TQ_SIGNAL(canceled(const TQString&)), this, TQ_SLOT(slotOpeningFailed(const TQString&)));
if (!openURL(url))
slotOpeningFailed(TQString());
if (!url.isLocalFile())
@@ -2897,8 +2897,8 @@ void Document::slotOpeningCompleted()
m_modifTime = TQFileInfo(u.path()).lastModified();
// kdDebug(24000) << "addFile[Document::open]: " << u.path() << endl;
}
- disconnect(m_doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotOpeningCompleted()));
- disconnect(m_doc, TQT_SIGNAL(canceled(const TQString&)), this, TQT_SLOT(slotOpeningFailed(const TQString&)));
+ disconnect(m_doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotOpeningCompleted()));
+ disconnect(m_doc, TQ_SIGNAL(canceled(const TQString&)), this, TQ_SLOT(slotOpeningFailed(const TQString&)));
m_dirty = false;
m_view->setFocus();
processDTD();
@@ -2911,8 +2911,8 @@ void Document::slotOpeningFailed(const TQString &errorMessage)
Q_UNUSED(errorMessage); //TODO: append the error message to our own error message
if (!url().isLocalFile())
tqApp->exit_loop();
- disconnect(m_doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotOpeningCompleted()));
- disconnect(m_doc, TQT_SIGNAL(canceled(const TQString&)), this, TQT_SLOT(slotOpeningFailed(const TQString&)));
+ disconnect(m_doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotOpeningCompleted()));
+ disconnect(m_doc, TQ_SIGNAL(canceled(const TQString&)), this, TQ_SLOT(slotOpeningFailed(const TQString&)));
emit openingFailed(url());
}
@@ -3115,7 +3115,7 @@ void Document::setAnnotationText(uint line, const TQString& text)
markIf->removeMark(line, KTextEditor::MarkInterface::markType08);
} else
{
- m_annotations.insert(line, tqMakePair(text, TQString("")));
+ m_annotations.insert(line, qMakePair(text, TQString("")));
if (markIf)
markIf->setMark(line, KTextEditor::MarkInterface::markType08);
uint line, column;
@@ -3147,7 +3147,7 @@ void Document::setAnnotationText(uint line, const TQString& text)
s.prepend(commentBegin + " ");
s.append(" " + commentEnd + "\n");
insertText(s, true, true);
- emit showAnnotation(line, "", tqMakePair(text, TQString("")));
+ emit showAnnotation(line, "", qMakePair(text, TQString("")));
}
}
@@ -3181,7 +3181,7 @@ bool Document::openURL(const KURL& url)
const char* c = "";
KMD5 context(c);
context.reset();
- context.update(*TQT_TQIODEVICE(&f));
+ context.update(f);
m_md5sum = context.hexDigest();
f.close();
}
diff --git a/quanta/src/document.h b/quanta/src/document.h
index 9d8de77d..e6f0fff1 100644
--- a/quanta/src/document.h
+++ b/quanta/src/document.h
@@ -67,7 +67,7 @@ namespace KTextEditor
}
class Document : public TQWidget{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/src/dtds.cpp b/quanta/src/dtds.cpp
index 737a3a00..bf257a0c 100644
--- a/quanta/src/dtds.cpp
+++ b/quanta/src/dtds.cpp
@@ -59,9 +59,9 @@ const TQString m_rcFilename("description.rc");
DTDs::DTDs(TQObject *parent)
:TQObject(parent)
{
- connect(this, TQT_SIGNAL(hideSplash()), parent, TQT_SLOT(slotHideSplash()));
- connect(this, TQT_SIGNAL(enableIdleTimer(bool)), parent, TQT_SLOT(slotEnableIdleTimer(bool)));
- connect(this, TQT_SIGNAL(loadToolbarForDTD(const TQString&)), parent, TQT_SLOT(slotLoadToolbarForDTD(const TQString&)));
+ connect(this, TQ_SIGNAL(hideSplash()), parent, TQ_SLOT(slotHideSplash()));
+ connect(this, TQ_SIGNAL(enableIdleTimer(bool)), parent, TQ_SLOT(slotEnableIdleTimer(bool)));
+ connect(this, TQ_SIGNAL(loadToolbarForDTD(const TQString&)), parent, TQ_SLOT(slotLoadToolbarForDTD(const TQString&)));
// kdDebug(24000) << "dtds::dtds" << endl;
m_dict = new TQDict<DTDStruct>(119, false); //optimized for max 119 DTD. This should be enough.
m_dict->setAutoDelete(true);
diff --git a/quanta/src/dtds.h b/quanta/src/dtds.h
index e1329b24..76c224d6 100644
--- a/quanta/src/dtds.h
+++ b/quanta/src/dtds.h
@@ -48,7 +48,7 @@ struct DTDStruct;
*/
class DTDs : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp
index fc826178..8bd35024 100644
--- a/quanta/src/kqapp.cpp
+++ b/quanta/src/kqapp.cpp
@@ -93,8 +93,8 @@ KQApplication::KQApplication()
{
sp = new KSplashScreen(UserIcon(SPLASH_PICTURE));
sp->show();
- connect(quantaApp, TQT_SIGNAL(showSplash(bool)), sp, TQT_SLOT(setShown(bool)));
- TQTimer::singleShot(10*1000, this, TQT_SLOT(slotSplashTimeout()));
+ connect(quantaApp, TQ_SIGNAL(showSplash(bool)), sp, TQ_SLOT(setShown(bool)));
+ TQTimer::singleShot(10*1000, this, TQ_SLOT(slotSplashTimeout()));
}
setMainWidget(quantaApp);
slotInit();
@@ -164,8 +164,8 @@ int KQUniqueApplication::newInstance()
{
sp = new KSplashScreen(UserIcon(SPLASH_PICTURE));
sp->show();
- connect(quantaApp, TQT_SIGNAL(showSplash(bool)), sp, TQT_SLOT(setShown(bool)));
- TQTimer::singleShot(10*1000, this, TQT_SLOT(slotSplashTimeout()));
+ connect(quantaApp, TQ_SIGNAL(showSplash(bool)), sp, TQ_SLOT(setShown(bool)));
+ TQTimer::singleShot(10*1000, this, TQ_SLOT(slotSplashTimeout()));
}
setMainWidget(quantaApp);
slotInit();
diff --git a/quanta/src/kqapp.h b/quanta/src/kqapp.h
index c99c152b..625bdaf6 100644
--- a/quanta/src/kqapp.h
+++ b/quanta/src/kqapp.h
@@ -27,7 +27,7 @@ class KSplashScreen;
class KSplash : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -51,7 +51,7 @@ class KQApplicationPrivate
class KQApplication : public TDEApplication, KQApplicationPrivate
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -64,7 +64,7 @@ class KQApplication : public TDEApplication, KQApplicationPrivate
class KQUniqueApplication : public KUniqueApplication, KQApplicationPrivate
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp
index dba88f38..46a098df 100644
--- a/quanta/src/quanta.cpp
+++ b/quanta/src/quanta.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
// include files for QT
@@ -206,7 +210,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
m_quantaInit = new QuantaInit(this);
dcopSettings = new DCOPSettings;
dcopQuanta = new DCOPQuanta;
- DTDs::ref(TQT_TQOBJECT(this));
+ DTDs::ref(this);
quantaStarted = true;
tempFileList.setAutoDelete(true);
m_toolbarList.setAutoDelete(true);
@@ -215,7 +219,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
currentToolbarDTD = TQString();
m_config=kapp->config();
idleTimer = new TQTimer(this);
- connect(idleTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotIdleTimerExpired()));
+ connect(idleTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotIdleTimerExpired()));
m_idleTimerEnabled = true;
qConfig.globalDataDir = TDEGlobal::dirs()->findResourceDir("data",resourceDir + "toolbar/quantalogo.png");
@@ -226,7 +230,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
kdWarning() << i18n("Quanta data files were not found.") << endl;
kdWarning() << i18n("You may have forgotten to run \"make install\", or your TDEDIR, TDEDIRS or PATH are not set correctly.") << endl;
kdWarning() << "***************************************************************************" << endl;
- TQTimer::singleShot(20, kapp, TQT_SLOT(quit()));
+ TQTimer::singleShot(20, kapp, TQ_SLOT(quit()));
return;
}
qConfig.enableDTDToolbar = true;
@@ -239,10 +243,10 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
m_partManager = new KParts::PartManager(this);
// When the manager says the active part changes,
// the builder updates (recreates) the GUI
- connect(m_partManager, TQT_SIGNAL(activePartChanged(KParts::Part * )),
- this, TQT_SLOT(slotActivePartChanged(KParts::Part * )));
- connect(this, TQT_SIGNAL(dockWidgetHasUndocked(KDockWidget *)), this, TQT_SLOT(slotDockWidgetHasUndocked(KDockWidget *)));
- connect(tabWidget(), TQT_SIGNAL(initiateDrag(TQWidget *)), this, TQT_SLOT(slotTabDragged(TQWidget*)));
+ connect(m_partManager, TQ_SIGNAL(activePartChanged(KParts::Part * )),
+ this, TQ_SLOT(slotActivePartChanged(KParts::Part * )));
+ connect(this, TQ_SIGNAL(dockWidgetHasUndocked(KDockWidget *)), this, TQ_SLOT(slotDockWidgetHasUndocked(KDockWidget *)));
+ connect(tabWidget(), TQ_SIGNAL(initiateDrag(TQWidget *)), this, TQ_SLOT(slotTabDragged(TQWidget*)));
m_oldKTextEditor = 0L;
m_previewToolView = 0L;
@@ -258,7 +262,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
m_parserEnabled = true;
cursorLine = 0;
cursorCol = 0;
- emit eventHappened("quanta_start", TQDateTime::currentDateTime().toString(Qt::ISODate), TQString());
+ emit eventHappened("quanta_start", TQDateTime::currentDateTime().toString(TQt::ISODate), TQString());
setAcceptDrops(true);
tabWidget()->installEventFilter(this);
}
@@ -276,9 +280,9 @@ QuantaApp::~QuantaApp()
m_newScriptStuff = 0L;
delete m_newDTEPStuff;
m_newDocStuff = 0L;
- // disconnect(m_htmlPart, TQT_SIGNAL(destroyed(TQObject *)));
- // disconnect(m_htmlPartDoc, TQT_SIGNAL(destroyed(TQObject *)));
- disconnect(this, TQT_SIGNAL(lastChildViewClosed()), ViewManager::ref(), TQT_SLOT(slotLastViewClosed()));
+ // disconnect(m_htmlPart, TQ_SIGNAL(destroyed(TQObject *)));
+ // disconnect(m_htmlPartDoc, TQ_SIGNAL(destroyed(TQObject *)));
+ disconnect(this, TQ_SIGNAL(lastChildViewClosed()), ViewManager::ref(), TQ_SLOT(slotLastViewClosed()));
//kdDebug(24000) << "QuantaApp::~QuantaApp" << endl;
#ifdef ENABLE_CVSSERVICE
delete CVSService::ref();
@@ -320,7 +324,7 @@ QuantaApp::~QuantaApp()
tmpDir = tmpDirs[0];
for (uint i = 0; i < tmpDirs.count(); i++)
{
- if (tmpDirs[i].contains("kde-"))
+ if (tmpDirs[i].contains("tde-"))
tmpDir = tmpDirs[i];
}
TQString infoCss = tmpDir;
@@ -1077,7 +1081,7 @@ void QuantaApp::slotConfigureToolbars(const TQString& defaultToolbar)
}
}
- connect(dlg, TQT_SIGNAL(newToolbarConfig()), TQT_SLOT(slotNewToolbarConfig()));
+ connect(dlg, TQ_SIGNAL(newToolbarConfig()), TQ_SLOT(slotNewToolbarConfig()));
dlg->exec();
delete dlg;
TQPopupMenu *menu = 0L;
@@ -1385,8 +1389,8 @@ void QuantaApp::slotShowPreviewWidget(bool show)
if (!m_previewToolView)
{
m_previewToolView= addToolWindow(m_htmlPart->view(), prevDockPosition(m_htmlPart->view(), KDockWidget::DockBottom), getMainDockWidget());
- connect(m_previewToolView->wrapperWidget(), TQT_SIGNAL(iMBeingClosed
-()), this, TQT_SLOT(slotPreviewBeingClosed()));
+ connect(m_previewToolView->wrapperWidget(), TQ_SIGNAL(iMBeingClosed
+()), this, TQ_SLOT(slotPreviewBeingClosed()));
}
m_htmlPart->view()->show();
m_previewToolView->show();
@@ -1790,7 +1794,7 @@ TQWidget* QuantaApp::createContainer( TQWidget *parent, int index, const TQDomEl
if ( element.tagName().lower() == "toolbar" && !tabname.isEmpty())
{
//avoid TQToolBar warning in the log
- TQtMsgHandler oldHandler = tqInstallMsgHandler( silenceTQToolBar );
+ TQtMsgHandler oldHandler = qInstallMsgHandler( silenceTQToolBar );
ToolbarTabWidget *toolbarTab = ToolbarTabWidget::ref();
TQWidget *w = new TQWidget(toolbarTab, TQString("ToolbarHoldingWidget" + element.attribute("name")).ascii());
QuantaToolBar *tb = new QuantaToolBar(w, element.attribute("name").ascii(), true, true);
@@ -1813,12 +1817,12 @@ TQWidget* QuantaApp::createContainer( TQWidget *parent, int index, const TQDomEl
kdDebug(24000) << "toolbarTab->tabHeight() " << toolbarTab->tabHeight() << endl;
*/
toolbarTab->insertTab(tb, tabname, idStr);
- tqInstallMsgHandler( oldHandler );
+ qInstallMsgHandler( oldHandler );
- connect(tb, TQT_SIGNAL(removeAction(const TQString&, const TQString&)),
- TQT_SLOT(slotRemoveAction(const TQString&, const TQString&)));
- connect(tb, TQT_SIGNAL(editAction(const TQString&)),
- TQT_SLOT(slotEditAction(const TQString&)));
+ connect(tb, TQ_SIGNAL(removeAction(const TQString&, const TQString&)),
+ TQ_SLOT(slotRemoveAction(const TQString&, const TQString&)));
+ connect(tb, TQ_SIGNAL(editAction(const TQString&)),
+ TQ_SLOT(slotEditAction(const TQString&)));
return tb;
}
@@ -3690,7 +3694,7 @@ void QuantaApp::slotDownloadDoc()
if (!m_newDocStuff)
{
m_newDocStuff = new QNewDocStuff("quanta documentation", this);
- connect(m_newDocStuff, TQT_SIGNAL(installFinished()), dTab, TQT_SLOT(slotRefreshTree()));
+ connect(m_newDocStuff, TQ_SIGNAL(installFinished()), dTab, TQ_SLOT(slotRefreshTree()));
}
m_newDocStuff->downloadResource();
}
@@ -4043,7 +4047,7 @@ void QuantaApp::slotReloadStructTreeView(bool groupOnly)
n->next->tag->beginPos(l, c);
else
n->tag->endPos(l, c);
- commentTag->write()->addAnnotation(l, tqMakePair(text, receiver));
+ commentTag->write()->addAnnotation(l, qMakePair(text, receiver));
}
}
node = node->nextSibling();
@@ -4141,7 +4145,7 @@ bool QuantaApp::queryClose()
{
saveOptions();
// kdDebug(24000) << "Quanta will exit" << endl;
- emit eventHappened("quanta_exit", TQDateTime::currentDateTime().toString(Qt::ISODate), TQString());
+ emit eventHappened("quanta_exit", TQDateTime::currentDateTime().toString(TQt::ISODate), TQString());
} else
slotFileNew();
return canExit;
@@ -4767,7 +4771,7 @@ void QuantaApp::slotViewInKFM()
}
if ( !w->isUntitled() )
{
- TDEProcess *show = new TDEProcess(TQT_TQOBJECT(this));
+ TDEProcess *show = new TDEProcess(this);
KURL url = Project::ref()->urlWithPrefix(w->url());
*show << "kfmclient" << "newTab" << url.url();
show->start( TDEProcess::DontCare );
@@ -4801,7 +4805,7 @@ void QuantaApp::slotViewInLynx()
}
if ( !w->isUntitled() )
{
- TDEProcess *show = new TDEProcess(TQT_TQOBJECT(this));
+ TDEProcess *show = new TDEProcess(this);
KURL url = Project::ref()->urlWithPrefix(w->url());
*show << "konsole"
<< "--nohist"
@@ -5088,8 +5092,8 @@ void QuantaApp::initTabWidget(bool closeButtonsOnly)
{
tab->setTabReorderingEnabled(true);
tab->setTabPosition(TQTabWidget::Bottom);
- connect(tab, TQT_SIGNAL( contextMenu( TQWidget *, const TQPoint & ) ), ViewManager::ref(), TQT_SLOT(slotTabContextMenu( TQWidget *, const TQPoint & ) ) );
- connect(tab, TQT_SIGNAL(initiateTabMove(int, int)), this, TQT_SLOT(slotTabAboutToMove(int, int))); connect(tab, TQT_SIGNAL(movedTab(int, int)), this, TQT_SLOT(slotTabMoved(int, int))); setTabWidgetVisibility(KMdi::AlwaysShowTabs);
+ connect(tab, TQ_SIGNAL( contextMenu( TQWidget *, const TQPoint & ) ), ViewManager::ref(), TQ_SLOT(slotTabContextMenu( TQWidget *, const TQPoint & ) ) );
+ connect(tab, TQ_SIGNAL(initiateTabMove(int, int)), this, TQ_SLOT(slotTabAboutToMove(int, int))); connect(tab, TQ_SIGNAL(movedTab(int, int)), this, TQ_SLOT(slotTabMoved(int, int))); setTabWidgetVisibility(KMdi::AlwaysShowTabs);
}
}
if (!closeButtonsOnly)
@@ -5263,10 +5267,10 @@ void QuantaApp::createPreviewPart()
m_htmlPart->view()->setIcon(UserIcon("preview"));
m_htmlPart->view()->setCaption(i18n("Preview"));
slotNewPart(m_htmlPart, false);
- connect(m_htmlPart, TQT_SIGNAL(previewHasFocus(bool)), this, TQT_SLOT(slotPreviewHasFocus(bool)));
- connect(m_htmlPart, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(slotHTMLPartDeleted(TQObject *)));
- connect(m_htmlPart, TQT_SIGNAL(openFile(const KURL&, const TQString&, bool)), this, TQT_SLOT(slotFileOpen(const KURL&, const TQString&, bool)));
- connect(m_htmlPart, TQT_SIGNAL(showPreview(bool)), this, TQT_SLOT(slotShowPreviewWidget(bool)));
+ connect(m_htmlPart, TQ_SIGNAL(previewHasFocus(bool)), this, TQ_SLOT(slotPreviewHasFocus(bool)));
+ connect(m_htmlPart, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(slotHTMLPartDeleted(TQObject *)));
+ connect(m_htmlPart, TQ_SIGNAL(openFile(const KURL&, const TQString&, bool)), this, TQ_SLOT(slotFileOpen(const KURL&, const TQString&, bool)));
+ connect(m_htmlPart, TQ_SIGNAL(showPreview(bool)), this, TQ_SLOT(slotShowPreviewWidget(bool)));
}
@@ -5277,7 +5281,7 @@ void QuantaApp::createDocPart()
m_htmlPartDoc->view()->setIcon(SmallIcon("contents"));
m_htmlPartDoc->view()->setCaption(i18n("Documentation"));
slotNewPart(m_htmlPartDoc, false);
- connect(m_htmlPartDoc, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(slotHTMLPartDeleted(TQObject *)));
+ connect(m_htmlPartDoc, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(slotHTMLPartDeleted(TQObject *)));
}
void QuantaApp::insertTagActionPoolItem(TQString const& action_item)
@@ -5316,14 +5320,14 @@ void QuantaApp::slotTabMoved(int from, int to)
KMdiChildView *view = m_pDocumentViews->at(from);
m_pDocumentViews->remove(from);
m_pDocumentViews->insert(to, view);
- connect(this, TQT_SIGNAL(viewActivated (KMdiChildView *)), ViewManager::ref(), TQT_SLOT(slotViewActivated(KMdiChildView*)));
+ connect(this, TQ_SIGNAL(viewActivated (KMdiChildView *)), ViewManager::ref(), TQ_SLOT(slotViewActivated(KMdiChildView*)));
}
void QuantaApp::slotTabAboutToMove(int from, int to)
{
Q_UNUSED(from);
Q_UNUSED(to);
- disconnect(this, TQT_SIGNAL(viewActivated (KMdiChildView *)), ViewManager::ref(), TQT_SLOT(slotViewActivated(KMdiChildView*)));
+ disconnect(this, TQ_SIGNAL(viewActivated (KMdiChildView *)), ViewManager::ref(), TQ_SLOT(slotViewActivated(KMdiChildView*)));
}
TQString QuantaApp::currentURL() const
diff --git a/quanta/src/quanta.desktop b/quanta/src/quanta.desktop
index 54f4f6dd..c9be0558 100644
--- a/quanta/src/quanta.desktop
+++ b/quanta/src/quanta.desktop
@@ -1,95 +1,13 @@
[Desktop Entry]
Name=Quanta Plus
-Name[br]=Quanta+
-Name[hi]=क्वांटा प्लस
-Name[ne]=क्वान्टा प्लस
-Name[sv]=Quanta plus
-Name[ta]=குவாண்டா ப்ளஸ்
+
+GenericName=Web Development Environment
+
+Comment=Web Development Environment
+
+Type=Application
Exec=quanta %U
Icon=quanta
-Type=Application
MimeType=text/html;application/x-webprj;
X-DocPath=quanta/index.html
-GenericName=Web Development Environment
-GenericName[bg]=Разработка на уеб приложения
-GenericName[ca]=Entorn de desenvolupament web
-GenericName[cs]=Vývojové prostředí pro web
-GenericName[da]=Internetudviklingsomgivelser
-GenericName[de]=Web-Entwicklungsumgebung
-GenericName[el]=Περιβάλλον ανάπτυξης ιστοσελίδων
-GenericName[es]=Entorno de desarrollo web
-GenericName[et]=Veebiarenduskeskkond
-GenericName[eu]=Web garapenerako ingurunea
-GenericName[fa]=محیط توسعۀ وب
-GenericName[fi]=WWW:n kehitysympäristö
-GenericName[fr]=Environnement de développement Internet
-GenericName[gl]=Entorno de desenvolvemento de páxinas web
-GenericName[hi]=वेब डेवलपमेंट वातावरण
-GenericName[hu]=Webfejlesztő környezet
-GenericName[is]=Vefþróunarumhverfi
-GenericName[it]=Ambiente per lo sviluppo Web
-GenericName[ja]=ウェブ開発環境
-GenericName[ka]=ვებ დამუშავების გარსი
-GenericName[lt]=Žiniatinklio kūrimo aplinka
-GenericName[ms]=Persekitaran Pembangunan Web
-GenericName[nds]=Ümgeven för Nett-Entwickeln
-GenericName[ne]=वेब विकास परिवेश
-GenericName[nl]=Omgeving voor webdevelopment
-GenericName[pl]=Środowisko do tworzenia stron WWW
-GenericName[pt]=Ambiente de Desenvolvimento Web
-GenericName[pt_BR]=Ambiente de Desenvolvimento Web
-GenericName[ru]=Среда web-разработки
-GenericName[sk]=Prostredie na vývoj Web aplikácií
-GenericName[sl]=Spletno razvijalno okolje
-GenericName[sr]=Окружење за веб развој
-GenericName[sr@Latn]=Okruženje za veb razvoj
-GenericName[sv]=Webbutvecklingsmiljö
-GenericName[ta]=இணைய மேம்பாட்டுச் சூழல்
-GenericName[tg]=Фазои тайёр кардани-Web
-GenericName[tr]=Web Geliştirme Ortamı
-GenericName[uk]=Середовище веб-розробки
-GenericName[zh_CN]=Web 开发环境
-GenericName[zh_HK]=網頁開發環境
-GenericName[zh_TW]=網頁開發環境
-Comment=Web Development Environment
-Comment[bg]=Среда за разработка на уеб приложения
-Comment[ca]=Entorn de desenvolupament web
-Comment[cs]=Vývojové prostředí pro web
-Comment[da]=Internetudviklingsomgivelser
-Comment[de]=Web-Entwicklungsumgebung
-Comment[el]=Περιβάλλον ανάπτυξης ιστοσελίδων
-Comment[es]=Entorno de desarrollo web
-Comment[et]=Veebiarenduskeskkond
-Comment[eu]=Web garapenerako ingurunea
-Comment[fa]=محیط توسعۀ وب
-Comment[fi]=WWW:n kehitysympäristö
-Comment[fr]=Environnement de développement Internet
-Comment[gl]=Entorno de desenvolvemento de páxinas web
-Comment[hi]=वेब डेवलपमेंट वातावरण
-Comment[hu]=Webfejlesztő környezet
-Comment[is]=Vefþróunarumhverfi
-Comment[it]=Ambiente per lo sviluppo Web
-Comment[ja]=ウェブ開発環境
-Comment[ka]=ვებ დამუშავების გარსი
-Comment[lt]=Žiniatinklio kūrimo aplinka
-Comment[ms]=Persekitaran Pembangunan Web
-Comment[nds]=Ümgeven för Nett-Entwickeln
-Comment[ne]=वेब विकास परिवेश
-Comment[nl]=Omgeving voor webdevelopment
-Comment[pl]=Środowisko do tworzenia stron WWW
-Comment[pt]=Ambiente de desenvolvimento Web
-Comment[pt_BR]=Ambiente de Desenvolvimento Web
-Comment[ru]=Среда web-разработки
-Comment[sk]=Prostredie na vývoj Web aplikácií
-Comment[sl]=Spletno razvijalno okolje
-Comment[sr]=Окружење за веб развој
-Comment[sr@Latn]=Okruženje za veb razvoj
-Comment[sv]=Webbutvecklingsmiljö
-Comment[ta]=இணைய மேம்பாட்டுச் சூழல்
-Comment[tg]=Фазои тайёр кардани-Web
-Comment[tr]=Web Geliştirme Ortamı
-Comment[uk]=Середовище веб-розробки
-Comment[zh_CN]=Web 开发环境
-Comment[zh_HK]=網頁開發環境
-Comment[zh_TW]=網頁開發環境
Categories=Qt;TDE;Development;WebDevelopment;
diff --git a/quanta/src/quanta.h b/quanta/src/quanta.h
index 942195de..0124c9fc 100644
--- a/quanta/src/quanta.h
+++ b/quanta/src/quanta.h
@@ -111,7 +111,7 @@ struct ToolbarEntry;
*/
class QuantaApp : public KMdiMainFrm, public DCOPWindowManagerIf
{
- Q_OBJECT
+ TQ_OBJECT
friend class QuantaInit;
diff --git a/quanta/src/quanta_be.desktop b/quanta/src/quanta_be.desktop
index 10f03ef3..82847d28 100644
--- a/quanta/src/quanta_be.desktop
+++ b/quanta/src/quanta_be.desktop
@@ -1,94 +1,13 @@
[Desktop Entry]
Name=Quanta Plus BE
-Name[br]=Quanta+ BE
-Name[ne]=क्वान्टा प्लस बीई
-Name[sv]=Quanta plus BE
-Name[ta]=குவாண்டா ப்ளஸ் BE
+
GenericName=Web Development Environment
-GenericName[bg]=Разработка на уеб приложения
-GenericName[ca]=Entorn de desenvolupament web
-GenericName[cs]=Vývojové prostředí pro web
-GenericName[da]=Internetudviklingsomgivelser
-GenericName[de]=Web-Entwicklungsumgebung
-GenericName[el]=Περιβάλλον ανάπτυξης ιστοσελίδων
-GenericName[es]=Entorno de desarrollo web
-GenericName[et]=Veebiarenduskeskkond
-GenericName[eu]=Web garapenerako ingurunea
-GenericName[fa]=محیط توسعۀ وب
-GenericName[fi]=WWW:n kehitysympäristö
-GenericName[fr]=Environnement de développement Internet
-GenericName[gl]=Entorno de desenvolvemento de páxinas web
-GenericName[hi]=वेब डेवलपमेंट वातावरण
-GenericName[hu]=Webfejlesztő környezet
-GenericName[is]=Vefþróunarumhverfi
-GenericName[it]=Ambiente per lo sviluppo Web
-GenericName[ja]=ウェブ開発環境
-GenericName[ka]=ვებ დამუშავების გარსი
-GenericName[lt]=Žiniatinklio kūrimo aplinka
-GenericName[ms]=Persekitaran Pembangunan Web
-GenericName[nds]=Ümgeven för Nett-Entwickeln
-GenericName[ne]=वेब विकास परिवेश
-GenericName[nl]=Omgeving voor webdevelopment
-GenericName[pl]=Środowisko do tworzenia stron WWW
-GenericName[pt]=Ambiente de Desenvolvimento Web
-GenericName[pt_BR]=Ambiente de Desenvolvimento Web
-GenericName[ru]=Среда web-разработки
-GenericName[sk]=Prostredie na vývoj Web aplikácií
-GenericName[sl]=Spletno razvijalno okolje
-GenericName[sr]=Окружење за веб развој
-GenericName[sr@Latn]=Okruženje za veb razvoj
-GenericName[sv]=Webbutvecklingsmiljö
-GenericName[ta]=இணைய மேம்பாட்டுச் சூழல்
-GenericName[tg]=Фазои тайёр кардани-Web
-GenericName[tr]=Web Geliştirme Ortamı
-GenericName[uk]=Середовище веб-розробки
-GenericName[zh_CN]=Web 开发环境
-GenericName[zh_HK]=網頁開發環境
-GenericName[zh_TW]=網頁開發環境
+
+Comment=Web Development Environment
+
+Type=Application
Exec=quanta_be
Icon=quanta_be
-Type=Application
MimeType=text/html;application/x-webprj
X-DocPath=quanta/index.html
-Comment=Web Development Environment
-Comment[bg]=Среда за разработка на уеб приложения
-Comment[ca]=Entorn de desenvolupament web
-Comment[cs]=Vývojové prostředí pro web
-Comment[da]=Internetudviklingsomgivelser
-Comment[de]=Web-Entwicklungsumgebung
-Comment[el]=Περιβάλλον ανάπτυξης ιστοσελίδων
-Comment[es]=Entorno de desarrollo web
-Comment[et]=Veebiarenduskeskkond
-Comment[eu]=Web garapenerako ingurunea
-Comment[fa]=محیط توسعۀ وب
-Comment[fi]=WWW:n kehitysympäristö
-Comment[fr]=Environnement de développement Internet
-Comment[gl]=Entorno de desenvolvemento de páxinas web
-Comment[hi]=वेब डेवलपमेंट वातावरण
-Comment[hu]=Webfejlesztő környezet
-Comment[is]=Vefþróunarumhverfi
-Comment[it]=Ambiente per lo sviluppo Web
-Comment[ja]=ウェブ開発環境
-Comment[ka]=ვებ დამუშავების გარსი
-Comment[lt]=Žiniatinklio kūrimo aplinka
-Comment[ms]=Persekitaran Pembangunan Web
-Comment[nds]=Ümgeven för Nett-Entwickeln
-Comment[ne]=वेब विकास परिवेश
-Comment[nl]=Omgeving voor webdevelopment
-Comment[pl]=Środowisko do tworzenia stron WWW
-Comment[pt]=Ambiente de desenvolvimento Web
-Comment[pt_BR]=Ambiente de Desenvolvimento Web
-Comment[ru]=Среда web-разработки
-Comment[sk]=Prostredie na vývoj Web aplikácií
-Comment[sl]=Spletno razvijalno okolje
-Comment[sr]=Окружење за веб развој
-Comment[sr@Latn]=Okruženje za veb razvoj
-Comment[sv]=Webbutvecklingsmiljö
-Comment[ta]=இணைய மேம்பாட்டுச் சூழல்
-Comment[tg]=Фазои тайёр кардани-Web
-Comment[tr]=Web Geliştirme Ortamı
-Comment[uk]=Середовище веб-розробки
-Comment[zh_CN]=Web 开发环境
-Comment[zh_HK]=網頁開發環境
-Comment[zh_TW]=網頁開發環境
Categories=Qt;TDE;Development;
diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp
index 37202d2f..42e72e38 100644
--- a/quanta/src/quanta_init.cpp
+++ b/quanta/src/quanta_init.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
// include files for QT
#include <tqdir.h>
#include <tqprinter.h>
@@ -119,7 +123,7 @@ QuantaInit::QuantaInit(QuantaApp * quantaApp)
: TQObject()
{
m_quanta = quantaApp;
- connect(this, TQT_SIGNAL(hideSplash()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotHideSplash()));
+ connect(this, TQ_SIGNAL(hideSplash()), m_quanta, TQ_SLOT(slotHideSplash()));
}
QuantaInit::~QuantaInit()
@@ -138,7 +142,7 @@ void QuantaInit::initQuanta()
tmpDir = tmpDirs[0];
for (uint i = 0; i < tmpDirs.count(); i++)
{
- if (tmpDirs[i].contains("kde-"))
+ if (tmpDirs[i].contains("tde-"))
tmpDir = tmpDirs[i];
}
dir.mkdir(tmpDir + "quanta");
@@ -170,12 +174,12 @@ void QuantaInit::initQuanta()
readAbbreviations();
// Initialize debugger
- m_quanta->m_debugger = new DebuggerManager(TQT_TQOBJECT(m_quanta));
- connect(Project::ref(), TQT_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
- m_quanta->m_debugger, TQT_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
- connect(Project::ref(), TQT_SIGNAL(eventHappened(const TQString &, const TQString &, const TQString &)),
- m_quanta->m_debugger, TQT_SLOT(slotHandleEvent(const TQString &, const TQString &, const TQString &)));
- connect(m_quanta->m_debugger, TQT_SIGNAL(hideSplash()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotHideSplash()));
+ m_quanta->m_debugger = new DebuggerManager(m_quanta);
+ connect(Project::ref(), TQ_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
+ m_quanta->m_debugger, TQ_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
+ connect(Project::ref(), TQ_SIGNAL(eventHappened(const TQString &, const TQString &, const TQString &)),
+ m_quanta->m_debugger, TQ_SLOT(slotHandleEvent(const TQString &, const TQString &, const TQString &)));
+ connect(m_quanta->m_debugger, TQ_SIGNAL(hideSplash()), m_quanta, TQ_SLOT(slotHideSplash()));
//m_quanta->KDockMainWindow::createGUI( TQString(), false /* conserveMemory */ );
m_quanta->createShellGUI(true);
@@ -209,7 +213,7 @@ void QuantaInit::initQuanta()
if (mdiMode == KMdi::ToplevelMode)
{
m_quanta->switchToChildframeMode();
- TQTimer::singleShot(0, TQT_TQOBJECT(m_quanta), TQT_SLOT(switchToToplevelMode()));
+ TQTimer::singleShot(0, m_quanta, TQ_SLOT(switchToToplevelMode()));
}
// Always hide debugger toolbar at this point
@@ -253,19 +257,19 @@ void QuantaInit::initQuanta()
toolviewMenu->plug(m_quanta->windowMenu());
TQPopupMenu *toolbarsMenu = (TQPopupMenu*)(m_quanta->guiFactory())->container("toolbars_load", m_quanta);
- connect(toolbarsMenu, TQT_SIGNAL(aboutToShow()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotBuildPrjToolbarsMenu()));
+ connect(toolbarsMenu, TQ_SIGNAL(aboutToShow()), m_quanta, TQ_SLOT(slotBuildPrjToolbarsMenu()));
TQPopupMenu *contextMenu = (TQPopupMenu*)(m_quanta->guiFactory())->container("popup_editor", m_quanta);
- connect(contextMenu, TQT_SIGNAL(aboutToShow()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotContextMenuAboutToShow()));
+ connect(contextMenu, TQ_SIGNAL(aboutToShow()), m_quanta, TQ_SLOT(slotContextMenuAboutToShow()));
- connect(m_quanta->m_messageOutput, TQT_SIGNAL(clicked(const TQString&, int, int)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(gotoFileAndLine(const TQString&, int, int)));
- connect(m_quanta->m_problemOutput, TQT_SIGNAL(clicked(const TQString&, int, int)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(gotoFileAndLine(const TQString&, int, int)));
- connect(m_quanta->m_annotationOutput->currentFileAnnotations(), TQT_SIGNAL(clicked(const TQString&, int, int)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(gotoFileAndLine(const TQString&, int, int)));
- connect(m_quanta->m_annotationOutput, TQT_SIGNAL(clicked(const TQString&, int, int)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(gotoFileAndLine(const TQString&, int, int)));
+ connect(m_quanta->m_messageOutput, TQ_SIGNAL(clicked(const TQString&, int, int)),
+ m_quanta, TQ_SLOT(gotoFileAndLine(const TQString&, int, int)));
+ connect(m_quanta->m_problemOutput, TQ_SIGNAL(clicked(const TQString&, int, int)),
+ m_quanta, TQ_SLOT(gotoFileAndLine(const TQString&, int, int)));
+ connect(m_quanta->m_annotationOutput->currentFileAnnotations(), TQ_SIGNAL(clicked(const TQString&, int, int)),
+ m_quanta, TQ_SLOT(gotoFileAndLine(const TQString&, int, int)));
+ connect(m_quanta->m_annotationOutput, TQ_SIGNAL(clicked(const TQString&, int, int)),
+ m_quanta, TQ_SLOT(gotoFileAndLine(const TQString&, int, int)));
m_quanta->slotFileNew();
m_quanta->slotNewStatus();
@@ -279,12 +283,12 @@ void QuantaInit::initQuanta()
qConfig.backupDirPath = TDEGlobal::instance()->dirs()->saveLocation("data", resourceDir + "backups/");
m_quanta->autosaveTimer = new TQTimer(m_quanta);
- connect(m_quanta->autosaveTimer, TQT_SIGNAL(timeout()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotAutosaveTimer()));
+ connect(m_quanta->autosaveTimer, TQ_SIGNAL(timeout()), m_quanta, TQ_SLOT(slotAutosaveTimer()));
m_quanta->autosaveTimer->start(qConfig.autosaveInterval * 60000, false);
- connect(m_quanta->m_doc, TQT_SIGNAL(hideSplash()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotHideSplash()));
- connect(parser, TQT_SIGNAL(rebuildStructureTree(bool)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotReloadStructTreeView(bool)));
+ connect(m_quanta->m_doc, TQ_SIGNAL(hideSplash()), m_quanta, TQ_SLOT(slotHideSplash()));
+ connect(parser, TQ_SIGNAL(rebuildStructureTree(bool)),
+ m_quanta, TQ_SLOT(slotReloadStructTreeView(bool)));
// Read list of characters
TQFile file(locate("appdata","chars"));
@@ -315,7 +319,7 @@ void QuantaInit::initQuanta()
ViewManager::ref()->activeDocument()->view()->setFocus();
m_quanta->refreshTimer = new TQTimer(m_quanta);
- connect(m_quanta->refreshTimer, TQT_SIGNAL(timeout()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotReparse()));
+ connect(m_quanta->refreshTimer, TQ_SIGNAL(timeout()), m_quanta, TQ_SLOT(slotReparse()));
m_quanta->refreshTimer->start( qConfig.refreshFrequency*1000, false ); //update the structure tree every 5 seconds
if (qConfig.instantUpdate || qConfig.refreshFrequency == 0)
{
@@ -333,8 +337,8 @@ void QuantaInit::initToolBars()
void QuantaInit::initStatusBar()
{
m_quanta->statusbarTimer = new TQTimer(m_quanta);
- connect(m_quanta->statusbarTimer,TQT_SIGNAL(timeout()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(statusBarTimeout()));
+ connect(m_quanta->statusbarTimer,TQ_SIGNAL(timeout()),
+ m_quanta, TQ_SLOT(statusBarTimeout()));
progressBar = new KProgress(m_quanta->statusBar());
progressBar->setTextEnabled(false);
@@ -356,111 +360,111 @@ void QuantaInit::initStatusBar()
void QuantaInit::initDocument()
{
m_quanta->m_doc = new QuantaDoc(0L);
- connect(m_quanta->m_doc, TQT_SIGNAL(newStatus()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotNewStatus()));
+ connect(m_quanta->m_doc, TQ_SIGNAL(newStatus()),
+ m_quanta, TQ_SLOT(slotNewStatus()));
}
void QuantaInit::initProject()
{
Project *m_project = Project::ref(m_quanta);
- connect(m_project, TQT_SIGNAL(getTreeStatus(TQStringList *)),
- pTab, TQT_SLOT(slotGetTreeStatus(TQStringList *)));
- connect(m_project, TQT_SIGNAL(loadToolbarFile(const KURL &)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotLoadToolbarFile(const KURL &)));
- connect(m_project, TQT_SIGNAL(getUserToolbarFiles(KURL::List *)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotGetUserToolbarFiles(KURL::List *)));
- connect(m_project, TQT_SIGNAL(openFiles(const KURL::List &, const TQString&)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotFileOpen(const KURL::List &, const TQString&)));
- connect(m_project, TQT_SIGNAL(openFile(const KURL &, const TQString&)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotFileOpen(const KURL &, const TQString&)));
- connect(m_project, TQT_SIGNAL(closeFile(const KURL &)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotFileClose(const KURL &)));
- connect(m_project, TQT_SIGNAL(reloadTree(ProjectList *, bool, const TQStringList &)),
- pTab, TQT_SLOT(slotReloadTree(ProjectList *, bool, const TQStringList &)));
- connect(m_project, TQT_SIGNAL(closeFiles()), ViewManager::ref(), TQT_SLOT(closeAll()));
- connect(m_project, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(TQT_TQOBJECT(m_quanta)), TQT_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
-
- connect(m_quanta->fTab, TQT_SIGNAL(insertDirInProject(const KURL&)),
- m_project, TQT_SLOT(slotAddDirectory(const KURL&)));
-
- connect(m_quanta->fTab, TQT_SIGNAL(insertFileInProject(const KURL&)),
- m_project, TQT_SLOT(slotInsertFile(const KURL&)));
-
- connect(TemplatesTreeView::ref(), TQT_SIGNAL(insertDirInProject(const KURL&)),
- m_project, TQT_SLOT(slotAddDirectory(const KURL&)));
-
- connect(TemplatesTreeView::ref(), TQT_SIGNAL(insertFileInProject(const KURL&)),
- m_project, TQT_SLOT(slotInsertFile(const KURL&)));
- connect(TemplatesTreeView::ref(), TQT_SIGNAL(downloadTemplate()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotDownloadTemplate()));
- connect(TemplatesTreeView::ref(), TQT_SIGNAL(uploadTemplate(const TQString&)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotUploadTemplate(const TQString&)));
+ connect(m_project, TQ_SIGNAL(getTreeStatus(TQStringList *)),
+ pTab, TQ_SLOT(slotGetTreeStatus(TQStringList *)));
+ connect(m_project, TQ_SIGNAL(loadToolbarFile(const KURL &)),
+ m_quanta, TQ_SLOT(slotLoadToolbarFile(const KURL &)));
+ connect(m_project, TQ_SIGNAL(getUserToolbarFiles(KURL::List *)),
+ m_quanta, TQ_SLOT(slotGetUserToolbarFiles(KURL::List *)));
+ connect(m_project, TQ_SIGNAL(openFiles(const KURL::List &, const TQString&)),
+ m_quanta, TQ_SLOT(slotFileOpen(const KURL::List &, const TQString&)));
+ connect(m_project, TQ_SIGNAL(openFile(const KURL &, const TQString&)),
+ m_quanta, TQ_SLOT(slotFileOpen(const KURL &, const TQString&)));
+ connect(m_project, TQ_SIGNAL(closeFile(const KURL &)),
+ m_quanta, TQ_SLOT(slotFileClose(const KURL &)));
+ connect(m_project, TQ_SIGNAL(reloadTree(ProjectList *, bool, const TQStringList &)),
+ pTab, TQ_SLOT(slotReloadTree(ProjectList *, bool, const TQStringList &)));
+ connect(m_project, TQ_SIGNAL(closeFiles()), ViewManager::ref(), TQ_SLOT(closeAll()));
+ connect(m_project, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(m_quanta), TQ_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
+
+ connect(m_quanta->fTab, TQ_SIGNAL(insertDirInProject(const KURL&)),
+ m_project, TQ_SLOT(slotAddDirectory(const KURL&)));
+
+ connect(m_quanta->fTab, TQ_SIGNAL(insertFileInProject(const KURL&)),
+ m_project, TQ_SLOT(slotInsertFile(const KURL&)));
+
+ connect(TemplatesTreeView::ref(), TQ_SIGNAL(insertDirInProject(const KURL&)),
+ m_project, TQ_SLOT(slotAddDirectory(const KURL&)));
+
+ connect(TemplatesTreeView::ref(), TQ_SIGNAL(insertFileInProject(const KURL&)),
+ m_project, TQ_SLOT(slotInsertFile(const KURL&)));
+ connect(TemplatesTreeView::ref(), TQ_SIGNAL(downloadTemplate()),
+ m_quanta, TQ_SLOT(slotDownloadTemplate()));
+ connect(TemplatesTreeView::ref(), TQ_SIGNAL(uploadTemplate(const TQString&)), m_quanta, TQ_SLOT(slotUploadTemplate(const TQString&)));
// inform project if something was renamed
- connect(pTab, TQT_SIGNAL(renamed(const KURL&, const KURL&)),
- m_project, TQT_SLOT(slotRenamed(const KURL&, const KURL&)));
- connect(m_quanta->fTab, TQT_SIGNAL(renamed(const KURL&, const KURL&)),
- m_project, TQT_SLOT(slotRenamed(const KURL&, const KURL&)));
- connect(tTab, TQT_SIGNAL(renamed(const KURL&, const KURL&)),
- m_project, TQT_SLOT(slotRenamed(const KURL&, const KURL&)));
-
- connect(pTab, TQT_SIGNAL(insertToProject(const KURL&)),
- m_project, TQT_SLOT(slotInsertFile(const KURL&)));
- connect(pTab, TQT_SIGNAL(removeFromProject(const KURL&)),
- m_project, TQT_SLOT(slotRemove(const KURL&)));
- connect(pTab, TQT_SIGNAL(uploadSingleURL(const KURL&, const TQString&, bool, bool)),
- m_project, TQT_SLOT(slotUploadURL(const KURL&, const TQString&, bool, bool)));
- connect(pTab, TQT_SIGNAL(rescanProjectDir()), m_project, TQT_SLOT(slotRescanPrjDir()));
- connect(pTab, TQT_SIGNAL(showProjectOptions()), m_project, TQT_SLOT(slotOptions()));
- connect(pTab, TQT_SIGNAL(uploadProject()), m_project, TQT_SLOT(slotUpload()));
-
- connect(m_quanta->dTab, TQT_SIGNAL(reloadProjectDocs()), m_project, TQT_SLOT(slotReloadProjectDocs()));
- connect(m_project, TQT_SIGNAL(reloadProjectDocs()), m_quanta->dTab, TQT_SLOT(slotReloadProjectDocs()));
- connect(m_project, TQT_SIGNAL(addProjectDoc(const KURL&)), m_quanta->dTab, TQT_SLOT(slotAddProjectDoc(const KURL&)));
-
- connect(m_project, TQT_SIGNAL(enableMessageWidget()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowMessagesView()));
-
- connect(m_project, TQT_SIGNAL(messages(const TQString&)),
- m_quanta->m_messageOutput, TQT_SLOT(showMessage(const TQString&)));
-
- connect(m_project, TQT_SIGNAL(newStatus()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotNewStatus()));
-
- connect(m_project, TQT_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
- TemplatesTreeView::ref(), TQT_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
- connect(m_project, TQT_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
- pTab, TQT_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
- connect(m_project, TQT_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
- m_quanta->fTab, TQT_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
- connect(m_project, TQT_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
- m_quanta->annotationOutput(), TQT_SLOT(updateAnnotations()));
-
- connect(pTab, TQT_SIGNAL(changeFileDescription(const KURL&, const TQString&)),
- m_project, TQT_SLOT(slotFileDescChanged(const KURL&, const TQString&)));
- connect(pTab, TQT_SIGNAL(changeUploadStatus(const KURL&, int)),
- m_project, TQT_SLOT(slotUploadStatusChanged(const KURL&, int)));
- connect(pTab, TQT_SIGNAL(changeDocumentFolderStatus(const KURL&, bool)),
- m_project, TQT_SLOT(slotChangeDocumentFolderStatus(const KURL&, bool)));
-
- connect(m_project, TQT_SIGNAL(hideSplash()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotHideSplash()));
-
- connect(m_project, TQT_SIGNAL(statusMsg(const TQString &)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotStatusMsg(const TQString & )));
+ connect(pTab, TQ_SIGNAL(renamed(const KURL&, const KURL&)),
+ m_project, TQ_SLOT(slotRenamed(const KURL&, const KURL&)));
+ connect(m_quanta->fTab, TQ_SIGNAL(renamed(const KURL&, const KURL&)),
+ m_project, TQ_SLOT(slotRenamed(const KURL&, const KURL&)));
+ connect(tTab, TQ_SIGNAL(renamed(const KURL&, const KURL&)),
+ m_project, TQ_SLOT(slotRenamed(const KURL&, const KURL&)));
+
+ connect(pTab, TQ_SIGNAL(insertToProject(const KURL&)),
+ m_project, TQ_SLOT(slotInsertFile(const KURL&)));
+ connect(pTab, TQ_SIGNAL(removeFromProject(const KURL&)),
+ m_project, TQ_SLOT(slotRemove(const KURL&)));
+ connect(pTab, TQ_SIGNAL(uploadSingleURL(const KURL&, const TQString&, bool, bool)),
+ m_project, TQ_SLOT(slotUploadURL(const KURL&, const TQString&, bool, bool)));
+ connect(pTab, TQ_SIGNAL(rescanProjectDir()), m_project, TQ_SLOT(slotRescanPrjDir()));
+ connect(pTab, TQ_SIGNAL(showProjectOptions()), m_project, TQ_SLOT(slotOptions()));
+ connect(pTab, TQ_SIGNAL(uploadProject()), m_project, TQ_SLOT(slotUpload()));
+
+ connect(m_quanta->dTab, TQ_SIGNAL(reloadProjectDocs()), m_project, TQ_SLOT(slotReloadProjectDocs()));
+ connect(m_project, TQ_SIGNAL(reloadProjectDocs()), m_quanta->dTab, TQ_SLOT(slotReloadProjectDocs()));
+ connect(m_project, TQ_SIGNAL(addProjectDoc(const KURL&)), m_quanta->dTab, TQ_SLOT(slotAddProjectDoc(const KURL&)));
+
+ connect(m_project, TQ_SIGNAL(enableMessageWidget()),
+ m_quanta, TQ_SLOT(slotShowMessagesView()));
+
+ connect(m_project, TQ_SIGNAL(messages(const TQString&)),
+ m_quanta->m_messageOutput, TQ_SLOT(showMessage(const TQString&)));
+
+ connect(m_project, TQ_SIGNAL(newStatus()),
+ m_quanta, TQ_SLOT(slotNewStatus()));
+
+ connect(m_project, TQ_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
+ TemplatesTreeView::ref(), TQ_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
+ connect(m_project, TQ_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
+ pTab, TQ_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
+ connect(m_project, TQ_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
+ m_quanta->fTab, TQ_SLOT(slotNewProjectLoaded(const TQString &, const KURL &, const KURL &)));
+ connect(m_project, TQ_SIGNAL(newProjectLoaded(const TQString &, const KURL &, const KURL &)),
+ m_quanta->annotationOutput(), TQ_SLOT(updateAnnotations()));
+
+ connect(pTab, TQ_SIGNAL(changeFileDescription(const KURL&, const TQString&)),
+ m_project, TQ_SLOT(slotFileDescChanged(const KURL&, const TQString&)));
+ connect(pTab, TQ_SIGNAL(changeUploadStatus(const KURL&, int)),
+ m_project, TQ_SLOT(slotUploadStatusChanged(const KURL&, int)));
+ connect(pTab, TQ_SIGNAL(changeDocumentFolderStatus(const KURL&, bool)),
+ m_project, TQ_SLOT(slotChangeDocumentFolderStatus(const KURL&, bool)));
+
+ connect(m_project, TQ_SIGNAL(hideSplash()), m_quanta, TQ_SLOT(slotHideSplash()));
+
+ connect(m_project, TQ_SIGNAL(statusMsg(const TQString &)),
+ m_quanta, TQ_SLOT(slotStatusMsg(const TQString & )));
}
void QuantaInit::initView()
{
- ViewManager *m_viewManager = ViewManager::ref(TQT_TQOBJECT(m_quanta));
- connect(m_quanta, TQT_SIGNAL(viewActivated (KMdiChildView *)), m_viewManager, TQT_SLOT(slotViewActivated(KMdiChildView*)));
- connect(m_quanta, TQT_SIGNAL(lastChildViewClosed()), m_viewManager, TQT_SLOT(slotLastViewClosed()));
-// connect(m_quanta, TQT_SIGNAL(viewDeactivated(KMdiChildView *)), m_viewManager, TQT_SLOT(slotViewDeactivated(KMdiChildView*)));
+ ViewManager *m_viewManager = ViewManager::ref(m_quanta);
+ connect(m_quanta, TQ_SIGNAL(viewActivated (KMdiChildView *)), m_viewManager, TQ_SLOT(slotViewActivated(KMdiChildView*)));
+ connect(m_quanta, TQ_SIGNAL(lastChildViewClosed()), m_viewManager, TQ_SLOT(slotLastViewClosed()));
+// connect(m_quanta, TQ_SIGNAL(viewDeactivated(KMdiChildView *)), m_viewManager, TQ_SLOT(slotViewDeactivated(KMdiChildView*)));
KafkaDocument *m_kafkaDocument = KafkaDocument::ref(0, 0, "KafkaPart");
m_kafkaDocument->getKafkaWidget()->view()->setMinimumHeight(50);
m_kafkaDocument->readConfig(quantaApp->config());
loadVPLConfig();
ToolbarTabWidget *toolBarTab = ToolbarTabWidget::ref(quantaApp);
- connect(toolBarTab, TQT_SIGNAL(iconTextModeChanged()), quantaApp, TQT_SLOT(slotRefreshActiveWindow()));
+ connect(toolBarTab, TQ_SIGNAL(iconTextModeChanged()), quantaApp, TQ_SLOT(slotRefreshActiveWindow()));
//set the toolview and close button style before the GUI is created
m_config->setGroup("General Options");
@@ -481,72 +485,72 @@ void QuantaInit::initView()
m_quanta->scriptTab = new ScriptTreeView(m_quanta, "Scripts");
m_quanta->m_messageOutput = new MessageOutput(m_quanta, "Messages");
- m_quanta->m_messageOutput->setFocusPolicy(TQ_NoFocus);
+ m_quanta->m_messageOutput->setFocusPolicy(TQWidget::NoFocus);
m_quanta->m_messageOutput->showMessage(i18n("Message Window..."));
- connect(m_quanta, TQT_SIGNAL(showMessage(const TQString&, bool)), m_quanta->m_messageOutput, TQT_SLOT(showMessage(const TQString&, bool)));
- connect(m_quanta, TQT_SIGNAL(clearMessages()), m_quanta->m_messageOutput, TQT_SLOT(clear()));
+ connect(m_quanta, TQ_SIGNAL(showMessage(const TQString&, bool)), m_quanta->m_messageOutput, TQ_SLOT(showMessage(const TQString&, bool)));
+ connect(m_quanta, TQ_SIGNAL(clearMessages()), m_quanta->m_messageOutput, TQ_SLOT(clear()));
m_quanta->m_problemOutput = new MessageOutput(m_quanta, "Problems");
- m_quanta->m_problemOutput->setFocusPolicy(TQ_NoFocus);
+ m_quanta->m_problemOutput->setFocusPolicy(TQWidget::NoFocus);
m_quanta->m_annotationOutput = new AnnotationOutput(m_quanta, "Annotations");
- m_quanta->m_annotationOutput->setFocusPolicy(TQ_NoFocus);
+ m_quanta->m_annotationOutput->setFocusPolicy(TQWidget::NoFocus);
m_quanta->createPreviewPart();
m_quanta->createDocPart();
- connect(m_quanta, TQT_SIGNAL(reloadAllTrees()),
- m_quanta->fTab, TQT_SLOT(slotReloadAllTrees()));
-
- connect(pTab, TQT_SIGNAL(loadToolbarFile (const KURL&)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotLoadToolbarFile(const KURL&)));
- connect(m_viewManager, TQT_SIGNAL(viewActivated(const KURL&)),
- pTab, TQT_SLOT(slotViewActivated(const KURL&)));
-
- connect(m_viewManager, TQT_SIGNAL(documentClosed(const KURL&)),
- pTab, TQT_SLOT(slotDocumentClosed(const KURL&)));
- connect(m_viewManager, TQT_SIGNAL(documentClosed(const KURL&)),
- tTab, TQT_SLOT(slotDocumentClosed(const KURL&)));
- connect(m_viewManager, TQT_SIGNAL(documentClosed(const KURL&)),
- m_quanta->scriptTab, TQT_SLOT(slotDocumentClosed(const KURL&)));
- connect(m_viewManager, TQT_SIGNAL(documentClosed(const KURL&)),
- m_quanta->fTab, TQT_SLOT(slotDocumentClosed(const KURL&)));
-
- connect(tTab, TQT_SIGNAL(insertFile (const KURL &)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotInsertFile(const KURL &)));
-
- connect(m_quanta->scriptTab, TQT_SIGNAL(openFileInPreview(const KURL &)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotOpenFileInPreview(const KURL &)));
- connect(m_quanta->scriptTab, TQT_SIGNAL(showPreviewWidget(bool)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowPreviewWidget(bool)));
- connect(m_quanta->scriptTab, TQT_SIGNAL(assignActionToScript(const KURL &, const TQString&)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotAssignActionToScript(const KURL &, const TQString&)));
- connect(m_quanta->scriptTab, TQT_SIGNAL(downloadScript()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotDownloadScript()));
- connect(m_quanta->scriptTab, TQT_SIGNAL(uploadScript(const TQString&)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotUploadScript(const TQString&)));
- connect(m_quanta->dTab, TQT_SIGNAL(downloadDoc()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotDownloadDoc()));
-
- connect(m_quanta->m_htmlPart, TQT_SIGNAL(onURL(const TQString&)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotStatusMsg(const TQString&)));
- connect(m_quanta->m_htmlPartDoc, TQT_SIGNAL(onURL(const TQString&)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotStatusMsg(const TQString&)));
-
- connect(sTab, TQT_SIGNAL(newCursorPosition(int,int)), TQT_TQOBJECT(m_quanta), TQT_SLOT(setCursorPosition(int,int)));
- connect(sTab, TQT_SIGNAL(selectArea(int,int,int,int)), TQT_TQOBJECT(m_quanta), TQT_SLOT( selectArea(int,int,int,int)));
- connect(sTab, TQT_SIGNAL(selectTagArea(Node*)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotSelectTagArea(Node*)));
- connect(sTab, TQT_SIGNAL(needReparse()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotForceReparse()));
- connect(sTab, TQT_SIGNAL(showGroupsForDTEP(const TQString&, bool)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowGroupsForDTEP(const TQString&, bool)));
- connect(sTab, TQT_SIGNAL(openFile(const KURL &)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT (slotFileOpen(const KURL &)));
- connect(sTab, TQT_SIGNAL(openImage (const KURL&)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotImageOpen(const KURL&)));
- connect(sTab, TQT_SIGNAL(showProblemMessage(const TQString&)),
- m_quanta->m_problemOutput, TQT_SLOT(showMessage(const TQString&)));
- connect(sTab, TQT_SIGNAL(clearProblemOutput()),
- m_quanta->m_problemOutput, TQT_SLOT(clear()));
- connect(parser, TQT_SIGNAL(nodeTreeChanged()), sTab, TQT_SLOT(slotNodeTreeChanged()));
-
- connect(m_quanta->dTab, TQT_SIGNAL(openURL(const TQString&)), TQT_TQOBJECT(m_quanta), TQT_SLOT(openDoc(const TQString&)));
-
- connect(m_viewManager, TQT_SIGNAL(dragInsert(TQDropEvent *)), tTab, TQT_SLOT(slotDragInsert(TQDropEvent *)));
+ connect(m_quanta, TQ_SIGNAL(reloadAllTrees()),
+ m_quanta->fTab, TQ_SLOT(slotReloadAllTrees()));
+
+ connect(pTab, TQ_SIGNAL(loadToolbarFile (const KURL&)),
+ m_quanta, TQ_SLOT(slotLoadToolbarFile(const KURL&)));
+ connect(m_viewManager, TQ_SIGNAL(viewActivated(const KURL&)),
+ pTab, TQ_SLOT(slotViewActivated(const KURL&)));
+
+ connect(m_viewManager, TQ_SIGNAL(documentClosed(const KURL&)),
+ pTab, TQ_SLOT(slotDocumentClosed(const KURL&)));
+ connect(m_viewManager, TQ_SIGNAL(documentClosed(const KURL&)),
+ tTab, TQ_SLOT(slotDocumentClosed(const KURL&)));
+ connect(m_viewManager, TQ_SIGNAL(documentClosed(const KURL&)),
+ m_quanta->scriptTab, TQ_SLOT(slotDocumentClosed(const KURL&)));
+ connect(m_viewManager, TQ_SIGNAL(documentClosed(const KURL&)),
+ m_quanta->fTab, TQ_SLOT(slotDocumentClosed(const KURL&)));
+
+ connect(tTab, TQ_SIGNAL(insertFile (const KURL &)),
+ m_quanta, TQ_SLOT(slotInsertFile(const KURL &)));
+
+ connect(m_quanta->scriptTab, TQ_SIGNAL(openFileInPreview(const KURL &)),
+ m_quanta, TQ_SLOT(slotOpenFileInPreview(const KURL &)));
+ connect(m_quanta->scriptTab, TQ_SIGNAL(showPreviewWidget(bool)),
+ m_quanta, TQ_SLOT(slotShowPreviewWidget(bool)));
+ connect(m_quanta->scriptTab, TQ_SIGNAL(assignActionToScript(const KURL &, const TQString&)),
+ m_quanta, TQ_SLOT(slotAssignActionToScript(const KURL &, const TQString&)));
+ connect(m_quanta->scriptTab, TQ_SIGNAL(downloadScript()), m_quanta, TQ_SLOT(slotDownloadScript()));
+ connect(m_quanta->scriptTab, TQ_SIGNAL(uploadScript(const TQString&)), m_quanta, TQ_SLOT(slotUploadScript(const TQString&)));
+ connect(m_quanta->dTab, TQ_SIGNAL(downloadDoc()), m_quanta, TQ_SLOT(slotDownloadDoc()));
+
+ connect(m_quanta->m_htmlPart, TQ_SIGNAL(onURL(const TQString&)),
+ m_quanta, TQ_SLOT(slotStatusMsg(const TQString&)));
+ connect(m_quanta->m_htmlPartDoc, TQ_SIGNAL(onURL(const TQString&)),
+ m_quanta, TQ_SLOT(slotStatusMsg(const TQString&)));
+
+ connect(sTab, TQ_SIGNAL(newCursorPosition(int,int)), m_quanta, TQ_SLOT(setCursorPosition(int,int)));
+ connect(sTab, TQ_SIGNAL(selectArea(int,int,int,int)), m_quanta, TQ_SLOT( selectArea(int,int,int,int)));
+ connect(sTab, TQ_SIGNAL(selectTagArea(Node*)), m_quanta, TQ_SLOT(slotSelectTagArea(Node*)));
+ connect(sTab, TQ_SIGNAL(needReparse()), m_quanta, TQ_SLOT(slotForceReparse()));
+ connect(sTab, TQ_SIGNAL(showGroupsForDTEP(const TQString&, bool)), m_quanta, TQ_SLOT(slotShowGroupsForDTEP(const TQString&, bool)));
+ connect(sTab, TQ_SIGNAL(openFile(const KURL &)),
+ m_quanta, TQ_SLOT (slotFileOpen(const KURL &)));
+ connect(sTab, TQ_SIGNAL(openImage (const KURL&)),
+ m_quanta, TQ_SLOT(slotImageOpen(const KURL&)));
+ connect(sTab, TQ_SIGNAL(showProblemMessage(const TQString&)),
+ m_quanta->m_problemOutput, TQ_SLOT(showMessage(const TQString&)));
+ connect(sTab, TQ_SIGNAL(clearProblemOutput()),
+ m_quanta->m_problemOutput, TQ_SLOT(clear()));
+ connect(parser, TQ_SIGNAL(nodeTreeChanged()), sTab, TQ_SLOT(slotNodeTreeChanged()));
+
+ connect(m_quanta->dTab, TQ_SIGNAL(openURL(const TQString&)), m_quanta, TQ_SLOT(openDoc(const TQString&)));
+
+ connect(m_viewManager, TQ_SIGNAL(dragInsert(TQDropEvent *)), tTab, TQ_SLOT(slotDragInsert(TQDropEvent *)));
qConfig.windowLayout = "Default";
}
@@ -706,75 +710,75 @@ void QuantaInit::loadInitialProject(const TQString& url)
void QuantaInit::initActions()
{
TDEActionCollection *ac = m_quanta->actionCollection();
- new TDEAction(i18n("Annotate..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotAnnotate()),ac, "annotate");
+ new TDEAction(i18n("Annotate..."), 0, m_quanta, TQ_SLOT(slotAnnotate()),ac, "annotate");
m_quanta->editTagAction = new TDEAction( i18n( "&Edit Current Tag..." ), CTRL+Key_E,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotEditCurrentTag() ),
- TQT_TQOBJECT(ac), "edit_current_tag" );
+ m_quanta, TQ_SLOT( slotEditCurrentTag() ),
+ ac, "edit_current_tag" );
m_quanta->selectTagAreaAction = new TDEAction( i18n( "&Select Current Tag Area" ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotSelectTagArea() ),
- TQT_TQOBJECT(ac), "select_tag_area" );
+ m_quanta, TQ_SLOT( slotSelectTagArea() ),
+ ac, "select_tag_area" );
new TDEAction( i18n( "E&xpand Abbreviation" ), CTRL+SHIFT+Key_J,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotExpandAbbreviation() ),
- TQT_TQOBJECT(ac), "expand_abbreviation" );
+ m_quanta, TQ_SLOT( slotExpandAbbreviation() ),
+ ac, "expand_abbreviation" );
- new TDEAction(i18n("&Report Bug..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotReportBug()), TQT_TQOBJECT(ac), "help_reportbug"); //needed, because quanta_be bugs should be reported for quanta
+ new TDEAction(i18n("&Report Bug..."), 0, m_quanta, TQ_SLOT(slotReportBug()), ac, "help_reportbug"); //needed, because quanta_be bugs should be reported for quanta
//Kate actions
//Edit menu
- KStdAction::undo(TQT_TQOBJECT(m_quanta), TQT_SLOT(slotUndo()), ac);
- KStdAction::redo(TQT_TQOBJECT(m_quanta), TQT_SLOT(slotRedo()), ac);
- KStdAction::cut(TQT_TQOBJECT(m_quanta), TQT_SLOT(slotCut()), ac);
- KStdAction::copy(TQT_TQOBJECT(m_quanta), TQT_SLOT(slotCopy()), ac) ;
- KStdAction::pasteText(TQT_TQOBJECT(m_quanta), TQT_SLOT(slotPaste()), ac);
+ KStdAction::undo(m_quanta, TQ_SLOT(slotUndo()), ac);
+ KStdAction::redo(m_quanta, TQ_SLOT(slotRedo()), ac);
+ KStdAction::cut(m_quanta, TQ_SLOT(slotCut()), ac);
+ KStdAction::copy(m_quanta, TQ_SLOT(slotCopy()), ac) ;
+ KStdAction::pasteText(m_quanta, TQ_SLOT(slotPaste()), ac);
//help
- (void) new TDEAction(i18n("Ti&p of the Day"), "idea", "", TQT_TQOBJECT(m_quanta),
- TQT_SLOT(slotHelpTip()), TQT_TQOBJECT(ac), "help_tip");
+ (void) new TDEAction(i18n("Ti&p of the Day"), "idea", "", m_quanta,
+ TQ_SLOT(slotHelpTip()), ac, "help_tip");
// File actions
//
- KStdAction::openNew( TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileNew() ), ac);
- KStdAction::open ( TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileOpen() ), ac, "file_open");
- (void) new TDEAction(i18n("Close Other Tabs"), 0, ViewManager::ref(), TQT_SLOT(slotCloseOtherTabs()), TQT_TQOBJECT(ac), "close_other_tabs");
+ KStdAction::openNew( m_quanta, TQ_SLOT( slotFileNew() ), ac);
+ KStdAction::open ( m_quanta, TQ_SLOT( slotFileOpen() ), ac, "file_open");
+ (void) new TDEAction(i18n("Close Other Tabs"), 0, ViewManager::ref(), TQ_SLOT(slotCloseOtherTabs()), ac, "close_other_tabs");
- m_quanta->fileRecent = KStdAction::openRecent(TQT_TQOBJECT(m_quanta), TQT_SLOT(slotFileOpenRecent(const KURL&)),
+ m_quanta->fileRecent = KStdAction::openRecent(m_quanta, TQ_SLOT(slotFileOpenRecent(const KURL&)),
ac, "file_open_recent");
m_quanta->fileRecent->setToolTip(i18n("Open / Open Recent"));
- connect(m_quanta->fileRecent, TQT_SIGNAL(activated()), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotFileOpen()));
+ connect(m_quanta->fileRecent, TQ_SIGNAL(activated()), m_quanta, TQ_SLOT(slotFileOpen()));
- (void) new TDEAction( i18n( "Close All" ), 0, TQT_TQOBJECT(m_quanta),
- TQT_SLOT( slotFileCloseAll() ),
- TQT_TQOBJECT(ac), "file_close_all" );
+ (void) new TDEAction( i18n( "Close All" ), 0, m_quanta,
+ TQ_SLOT( slotFileCloseAll() ),
+ ac, "file_close_all" );
- m_quanta->saveAction = KStdAction::save(TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileSave() ), ac);
+ m_quanta->saveAction = KStdAction::save(m_quanta, TQ_SLOT( slotFileSave() ), ac);
- KStdAction::saveAs( TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileSaveAs() ), ac );
+ KStdAction::saveAs( m_quanta, TQ_SLOT( slotFileSaveAs() ), ac );
m_quanta->saveAllAction = new TDEAction( i18n( "Save All..." ), "save_all", SHIFT+TDEStdAccel::shortcut(TDEStdAccel::Save).keyCodeQt(),
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileSaveAll() ),
- TQT_TQOBJECT(ac), "file_save_all" );
- (void) new TDEAction(i18n("Reloa&d"), "document-revert", SHIFT+Key_F5, TQT_TQOBJECT(m_quanta),
- TQT_SLOT(slotFileReload()), TQT_TQOBJECT(ac), "file_reload");
+ m_quanta, TQ_SLOT( slotFileSaveAll() ),
+ ac, "file_save_all" );
+ (void) new TDEAction(i18n("Reloa&d"), "document-revert", SHIFT+Key_F5, m_quanta,
+ TQ_SLOT(slotFileReload()), ac, "file_reload");
// (void) new TDEAction(i18n("Reload All "), 0, 0, m_quanta,
-// TQT_SLOT(slotFileReloadAll()), TQT_TQOBJECT(ac), "file_reload_all");
+// TQ_SLOT(slotFileReloadAll()), ac, "file_reload_all");
(void) new TDEAction( i18n( "Save as Local Template..." ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileSaveAsLocalTemplate() ),
- TQT_TQOBJECT(ac), "save_local_template" );
+ m_quanta, TQ_SLOT( slotFileSaveAsLocalTemplate() ),
+ ac, "save_local_template" );
(void) new TDEAction( i18n( "Save Selection to Local Template File..." ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileSaveSelectionAsLocalTemplate() ),
- TQT_TQOBJECT(ac), "save_selection_local_template" );
+ m_quanta, TQ_SLOT( slotFileSaveSelectionAsLocalTemplate() ),
+ ac, "save_selection_local_template" );
- KStdAction::quit( TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFileQuit() ), ac );
+ KStdAction::quit( m_quanta, TQ_SLOT( slotFileQuit() ), ac );
// Edit actions
(void) new TDEAction( i18n( "Find in Files..." ),
SmallIcon("filefind"), CTRL+ALT+Key_F,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotEditFindInFiles() ),
- TQT_TQOBJECT(ac), "find_in_files" );
+ m_quanta, TQ_SLOT( slotEditFindInFiles() ),
+ ac, "find_in_files" );
TDEAction* aux = TagActionManager::self()->actionCollection()->action("apply_source_indentation");
aux->setEnabled(false);
@@ -783,78 +787,78 @@ void QuantaInit::initActions()
// Tool actions
(void) new TDEAction( i18n( "&Context Help..." ), CTRL+Key_H,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotContextHelp() ),
- TQT_TQOBJECT(ac), "context_help" );
+ m_quanta, TQ_SLOT( slotContextHelp() ),
+ ac, "context_help" );
(void) new TDEAction( i18n( "Tag &Attributes..." ), ALT+Key_Down,
- m_quanta->m_doc, TQT_SLOT( slotAttribPopup() ),
- TQT_TQOBJECT(ac), "tag_attributes" );
+ m_quanta->m_doc, TQ_SLOT( slotAttribPopup() ),
+ ac, "tag_attributes" );
(void) new TDEAction( i18n( "&Change the DTD..." ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotChangeDTD() ),
- TQT_TQOBJECT(ac), "change_dtd" );
+ m_quanta, TQ_SLOT( slotChangeDTD() ),
+ ac, "change_dtd" );
(void) new TDEAction( i18n( "&Edit DTD Settings..." ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotEditDTD() ),
- TQT_TQOBJECT(ac), "edit_dtd" );
+ m_quanta, TQ_SLOT( slotEditDTD() ),
+ ac, "edit_dtd" );
(void) new TDEAction( i18n( "&Load && Convert DTD..." ), 0,
- DTDs::ref(), TQT_SLOT( slotLoadDTD() ),
- TQT_TQOBJECT(ac), "load_dtd" );
+ DTDs::ref(), TQ_SLOT( slotLoadDTD() ),
+ ac, "load_dtd" );
(void) new TDEAction( i18n( "Load DTD E&ntities..." ), 0,
- DTDs::ref(), TQT_SLOT( slotLoadEntities() ),
- TQT_TQOBJECT(ac), "load_entities" );
+ DTDs::ref(), TQ_SLOT( slotLoadEntities() ),
+ ac, "load_entities" );
(void) new TDEAction( i18n( "Load DTD &Package (DTEP)..." ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotLoadDTEP() ),
- TQT_TQOBJECT(ac), "load_dtep" );
+ m_quanta, TQ_SLOT( slotLoadDTEP() ),
+ ac, "load_dtep" );
(void) new TDEAction( i18n( "Send DTD Package (DTEP) in E&mail..." ), "mail-send", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotEmailDTEP() ),
- TQT_TQOBJECT(ac), "send_dtep" );
+ m_quanta, TQ_SLOT( slotEmailDTEP() ),
+ ac, "send_dtep" );
(void) new TDEAction( i18n( "&Download DTD Package (DTEP)..." ), "network", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotDownloadDTEP() ),
- TQT_TQOBJECT(ac), "download_dtep" );
+ m_quanta, TQ_SLOT( slotDownloadDTEP() ),
+ ac, "download_dtep" );
(void) new TDEAction( i18n( "&Upload DTD Package (DTEP)..." ), "network", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotUploadDTEP() ),
- TQT_TQOBJECT(ac), "upload_dtep" );
+ m_quanta, TQ_SLOT( slotUploadDTEP() ),
+ ac, "upload_dtep" );
/*
(void) new TDEAction( i18n( "&Upload DTD Package (DTEP)..." ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotUploadDTEP() ),
- TQT_TQOBJECT(ac), "send_dtep" );
+ m_quanta, TQ_SLOT( slotUploadDTEP() ),
+ ac, "send_dtep" );
*/
(void) new TDEAction( i18n( "&Document Properties" ), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotDocumentProperties() ),
- TQT_TQOBJECT(ac), "tools_document_properties" );
+ m_quanta, TQ_SLOT( slotDocumentProperties() ),
+ ac, "tools_document_properties" );
(void) new TDEAction ( i18n ("F&ormat XML Code"), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotCodeFormatting() ),
- TQT_TQOBJECT(ac), "tools_code_formatting");
+ m_quanta, TQ_SLOT( slotCodeFormatting() ),
+ ac, "tools_code_formatting");
(void) new TDEAction( i18n( "&Convert Tag && Attribute Case..."), 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotConvertCase()),
- TQT_TQOBJECT(ac), "tools_change_case");
+ m_quanta, TQ_SLOT(slotConvertCase()),
+ ac, "tools_change_case");
// View actions
m_quanta->showSourceAction =
new TDEToggleAction( i18n( "&Source Editor"), UserIcon ("view_text"), ALT+Key_F9,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotShowSourceEditor()),
- TQT_TQOBJECT(ac), "show_quanta_editor");
+ m_quanta, TQ_SLOT( slotShowSourceEditor()),
+ ac, "show_quanta_editor");
m_quanta->showSourceAction->setExclusiveGroup("view");
m_quanta->showVPLAction =
new TDEToggleAction( i18n( "&VPL Editor"), UserIcon ("vpl"), CTRL+SHIFT+Key_F9,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotShowVPLOnly() ),
- TQT_TQOBJECT(ac), "show_kafka_view");
+ m_quanta, TQ_SLOT( slotShowVPLOnly() ),
+ ac, "show_kafka_view");
m_quanta->showVPLAction->setExclusiveGroup("view");
m_quanta->showVPLSourceAction =
new TDEToggleAction( i18n("VPL && So&urce Editors"), UserIcon ("vpl_text"), Key_F9,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotShowVPLAndSourceEditor() ),
- TQT_TQOBJECT(ac), "show_kafka_and_quanta");
+ m_quanta, TQ_SLOT( slotShowVPLAndSourceEditor() ),
+ ac, "show_kafka_and_quanta");
m_quanta->showVPLSourceAction->setExclusiveGroup("view");
/**kafkaSelectAction = new TDESelectAction(i18n("Main &View"), 0, ac,"show_kafka");
TQStringList list2;
@@ -862,73 +866,73 @@ void QuantaInit::initActions()
list2.append(i18n("&VPL Editor (experimental)"));
list2.append(i18n("&Both Editors"));
kafkaSelectAction->setItems(list2);
- connect(kafkaSelectAction, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowKafkaPartl(int)));*/
+ connect(kafkaSelectAction, TQ_SIGNAL(activated(int)), m_quanta, TQ_SLOT(slotShowKafkaPartl(int)));*/
(void) new TDEAction( i18n( "&Reload Preview" ), "reload",
TDEStdAccel::shortcut(TDEStdAccel::Reload).keyCodeQt(),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotRepaintPreview()),
- TQT_TQOBJECT(ac), "reload" );
+ m_quanta, TQ_SLOT(slotRepaintPreview()),
+ ac, "reload" );
(void) new TDEAction( i18n( "&Previous File" ), "1leftarrow", TDEStdAccel::back(),
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotBack() ),
- TQT_TQOBJECT(ac), "previous_file" );
+ m_quanta, TQ_SLOT( slotBack() ),
+ ac, "previous_file" );
(void) new TDEAction( i18n( "&Next File" ), "1rightarrow", TDEStdAccel::forward(),
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotForward() ),
- TQT_TQOBJECT(ac), "next_file" );
+ m_quanta, TQ_SLOT( slotForward() ),
+ ac, "next_file" );
// Options actions
//
(void) new TDEAction( i18n( "Configure &Actions..." ), UserIcon("ball"),0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotOptionsConfigureActions() ),
- TQT_TQOBJECT(ac), "configure_actions" );
+ m_quanta, TQ_SLOT( slotOptionsConfigureActions() ),
+ ac, "configure_actions" );
- KStdAction::showMenubar(TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowMenuBar()), ac, "options_show_menubar");
- KStdAction::keyBindings(TQT_TQOBJECT(m_quanta), TQT_SLOT( slotOptionsConfigureKeys() ), ac, "configure_shortcuts");
- KStdAction::configureToolbars(TQT_TQOBJECT(m_quanta), TQT_SLOT( slotOptionsConfigureToolbars() ), ac, "options_configure_toolbars");
- KStdAction::preferences(TQT_TQOBJECT(m_quanta), TQT_SLOT( slotOptions() ), ac, "general_options");
- new TDEAction(i18n("Configure Pre&view..."), SmallIcon("konqueror"), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotPreviewOptions()), TQT_TQOBJECT(ac), "preview_options");
+ KStdAction::showMenubar(m_quanta, TQ_SLOT(slotShowMenuBar()), ac, "options_show_menubar");
+ KStdAction::keyBindings(m_quanta, TQ_SLOT( slotOptionsConfigureKeys() ), ac, "configure_shortcuts");
+ KStdAction::configureToolbars(m_quanta, TQ_SLOT( slotOptionsConfigureToolbars() ), ac, "options_configure_toolbars");
+ KStdAction::preferences(m_quanta, TQ_SLOT( slotOptions() ), ac, "general_options");
+ new TDEAction(i18n("Configure Pre&view..."), SmallIcon("konqueror"), 0, m_quanta, TQ_SLOT(slotPreviewOptions()), ac, "preview_options");
// Toolbars actions
m_quanta->projectToolbarFiles = new TDERecentFilesAction(i18n("Load &Project Toolbar"),0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotLoadToolbarFile(const KURL&)),
- TQT_TQOBJECT(ac), "toolbars_load_project");
-
- new TDEAction(i18n("Load &Global Toolbar..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotLoadGlobalToolbar()), TQT_TQOBJECT(ac), "toolbars_load_global");
- new TDEAction(i18n("Load &Local Toolbar..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotLoadToolbar()), TQT_TQOBJECT(ac), "toolbars_load_user");
- new TDEAction(i18n("Save as &Local Toolbar..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotSaveLocalToolbar()), TQT_TQOBJECT(ac), "toolbars_save_local");
- new TDEAction(i18n("Save as &Project Toolbar..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotSaveProjectToolbar()), TQT_TQOBJECT(ac), "toolbars_save_project");
- new TDEAction(i18n("&New User Toolbar..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotAddToolbar()), TQT_TQOBJECT(ac), "toolbars_add");
- new TDEAction(i18n("&Remove User Toolbar..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotRemoveToolbar()), TQT_TQOBJECT(ac), "toolbars_remove");
- new TDEAction(i18n("Re&name User Toolbar..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotRenameToolbar()), TQT_TQOBJECT(ac), "toolbars_rename");
- new TDEAction(i18n("Send Toolbar in E&mail..."), "mail-send", 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotSendToolbar()), TQT_TQOBJECT(ac), "toolbars_send");
- new TDEAction(i18n("&Upload Toolbar..." ), "network", 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotUploadToolbar()), TQT_TQOBJECT(ac), "toolbars_upload" );
- new TDEAction(i18n("&Download Toolbar..." ), "network", 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotDownloadToolbar()), TQT_TQOBJECT(ac), "toolbars_download" );
-
- TDEToggleAction *toggle = new TDEToggleAction( i18n("Smart Tag Insertion"), 0, TQT_TQOBJECT(ac), "smart_tag_insertion");
- connect(toggle, TQT_SIGNAL(toggled(bool)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotSmartTagInsertion()));
-
- m_quanta->showDTDToolbar=new TDEToggleAction(i18n("Show DTD Toolbar"), 0, TQT_TQOBJECT(ac), "view_dtd_toolbar");
-
- connect(m_quanta->showDTDToolbar, TQT_SIGNAL(toggled(bool)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotToggleDTDToolbar(bool)));
+ m_quanta, TQ_SLOT(slotLoadToolbarFile(const KURL&)),
+ ac, "toolbars_load_project");
+
+ new TDEAction(i18n("Load &Global Toolbar..."), 0, m_quanta, TQ_SLOT(slotLoadGlobalToolbar()), ac, "toolbars_load_global");
+ new TDEAction(i18n("Load &Local Toolbar..."), 0, m_quanta, TQ_SLOT(slotLoadToolbar()), ac, "toolbars_load_user");
+ new TDEAction(i18n("Save as &Local Toolbar..."), 0, m_quanta, TQ_SLOT(slotSaveLocalToolbar()), ac, "toolbars_save_local");
+ new TDEAction(i18n("Save as &Project Toolbar..."), 0, m_quanta, TQ_SLOT(slotSaveProjectToolbar()), ac, "toolbars_save_project");
+ new TDEAction(i18n("&New User Toolbar..."), 0, m_quanta, TQ_SLOT(slotAddToolbar()), ac, "toolbars_add");
+ new TDEAction(i18n("&Remove User Toolbar..."), 0, m_quanta, TQ_SLOT(slotRemoveToolbar()), ac, "toolbars_remove");
+ new TDEAction(i18n("Re&name User Toolbar..."), 0, m_quanta, TQ_SLOT(slotRenameToolbar()), ac, "toolbars_rename");
+ new TDEAction(i18n("Send Toolbar in E&mail..."), "mail-send", 0, m_quanta, TQ_SLOT(slotSendToolbar()), ac, "toolbars_send");
+ new TDEAction(i18n("&Upload Toolbar..." ), "network", 0, m_quanta, TQ_SLOT(slotUploadToolbar()), ac, "toolbars_upload" );
+ new TDEAction(i18n("&Download Toolbar..." ), "network", 0, m_quanta, TQ_SLOT(slotDownloadToolbar()), ac, "toolbars_download" );
+
+ TDEToggleAction *toggle = new TDEToggleAction( i18n("Smart Tag Insertion"), 0, ac, "smart_tag_insertion");
+ connect(toggle, TQ_SIGNAL(toggled(bool)), m_quanta, TQ_SLOT(slotSmartTagInsertion()));
+
+ m_quanta->showDTDToolbar=new TDEToggleAction(i18n("Show DTD Toolbar"), 0, ac, "view_dtd_toolbar");
+
+ connect(m_quanta->showDTDToolbar, TQ_SIGNAL(toggled(bool)), m_quanta, TQ_SLOT(slotToggleDTDToolbar(bool)));
m_quanta->showDTDToolbar->setCheckedState(i18n("Hide DTD Toolbar"));
new TDEAction(i18n("Complete Text"), CTRL+Key_Space,
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowCompletion()), ac,"show_completion");
+ m_quanta, TQ_SLOT(slotShowCompletion()), ac,"show_completion");
new TDEAction(i18n("Completion Hints"), CTRL+SHIFT+Key_Space,
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowCompletionHint()), ac,"show_completion_hint");
+ m_quanta, TQ_SLOT(slotShowCompletionHint()), ac,"show_completion_hint");
- KStdAction::back(TQT_TQOBJECT(m_quanta), TQT_SLOT( slotBack() ), ac, "w_back");
- KStdAction::forward(TQT_TQOBJECT(m_quanta), TQT_SLOT( slotForward() ), ac, "w_forward");
+ KStdAction::back(m_quanta, TQ_SLOT( slotBack() ), ac, "w_back");
+ KStdAction::forward(m_quanta, TQ_SLOT( slotForward() ), ac, "w_forward");
- new TDEAction(i18n("Open File: none"), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotOpenFileUnderCursor()), TQT_TQOBJECT(ac), "open_file_under_cursor");
- new TDEAction(i18n("Upload..."), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotUploadFile()), TQT_TQOBJECT(ac), "upload_file");
- new TDEAction(i18n("Delete File"), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotDeleteFile()), TQT_TQOBJECT(ac), "delete_file");
+ new TDEAction(i18n("Open File: none"), 0, m_quanta, TQ_SLOT(slotOpenFileUnderCursor()), ac, "open_file_under_cursor");
+ new TDEAction(i18n("Upload..."), 0, m_quanta, TQ_SLOT(slotUploadFile()), ac, "upload_file");
+ new TDEAction(i18n("Delete File"), 0, m_quanta, TQ_SLOT(slotDeleteFile()), ac, "delete_file");
TQString ss = i18n("Upload Opened Project Files...");
-/* new TDEAction(i18n("Upload Opened Project Files"), 0, TQT_TQOBJECT(m_quanta), TQT_SLOT(slotUploadOpenedFiles()), TQT_TQOBJECT(ac), "upload_opened_files"); */
+/* new TDEAction(i18n("Upload Opened Project Files"), 0, m_quanta, TQ_SLOT(slotUploadOpenedFiles()), ac, "upload_opened_files"); */
TQString error;
int el, ec;
@@ -989,17 +993,17 @@ void QuantaInit::initActions()
// create the preview action
m_quanta->showPreviewAction =
new TDEToolBarPopupAction( i18n( "&Preview" ), "preview", Key_F6,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotToggleShowPreview() ),
- TQT_TQOBJECT(ac), "show_preview" );
+ m_quanta, TQ_SLOT( slotToggleShowPreview() ),
+ ac, "show_preview" );
TDEAction *act = new TDEAction( i18n( "Preview Without Frames" ), "", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotShowNoFramesPreview()),
- TQT_TQOBJECT(ac), "show_preview_no_frames" );
+ m_quanta, TQ_SLOT(slotShowNoFramesPreview()),
+ ac, "show_preview_no_frames" );
act->plug(m_quanta->showPreviewAction->popupMenu());
act = new TDEAction( i18n( "View with &Konqueror" ), "konqueror", Key_F12,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotViewInKFM() ),
- TQT_TQOBJECT(ac), "view_with_konqueror" );
+ m_quanta, TQ_SLOT( slotViewInKFM() ),
+ ac, "view_with_konqueror" );
act->plug(m_quanta->showPreviewAction->popupMenu());
@@ -1020,62 +1024,62 @@ void QuantaInit::initActions()
act->plug(m_quanta->showPreviewAction->popupMenu());
act = new TDEAction( i18n( "View with L&ynx" ), "terminal", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotViewInLynx() ),
- TQT_TQOBJECT(ac), "view_with_lynx" );
+ m_quanta, TQ_SLOT( slotViewInLynx() ),
+ ac, "view_with_lynx" );
act->plug(m_quanta->showPreviewAction->popupMenu());
(void) new TDEAction( i18n( "Table Editor..." ), "quick_table", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotTagEditTable() ),
- TQT_TQOBJECT(ac), "tag_edit_table" );
+ m_quanta, TQ_SLOT( slotTagEditTable() ),
+ ac, "tag_edit_table" );
(void) new TDEAction( i18n( "Quick List..." ), "quick_list", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotTagQuickList() ),
- TQT_TQOBJECT(ac), "tag_quick_list" );
+ m_quanta, TQ_SLOT( slotTagQuickList() ),
+ ac, "tag_quick_list" );
(void) new TDEAction( i18n( "Color..." ), "colorize", CTRL+SHIFT+Key_C,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotTagColor() ),
- TQT_TQOBJECT(ac), "tag_color" );
+ m_quanta, TQ_SLOT( slotTagColor() ),
+ ac, "tag_color" );
(void) new TDEAction( i18n( "Email..." ), "tag_mail", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotTagMail() ),
- TQT_TQOBJECT(ac), "tag_mail" );
+ m_quanta, TQ_SLOT( slotTagMail() ),
+ ac, "tag_mail" );
(void) new TDEAction( i18n( "Misc. Tag..." ), "tag_misc", CTRL+SHIFT+Key_T,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotTagMisc() ),
- TQT_TQOBJECT(ac), "tag_misc" );
+ m_quanta, TQ_SLOT( slotTagMisc() ),
+ ac, "tag_misc" );
(void) new TDEAction( i18n( "Frame Wizard..." ), "frame", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotFrameWizard() ),
- TQT_TQOBJECT(ac), "tag_frame_wizard" );
+ m_quanta, TQ_SLOT( slotFrameWizard() ),
+ ac, "tag_frame_wizard" );
(void) new TDEAction( i18n( "Paste &HTML Quoted" ), "edit-paste", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotPasteHTMLQuoted() ),
- TQT_TQOBJECT(ac), "edit_paste_html_quoted" );
+ m_quanta, TQ_SLOT( slotPasteHTMLQuoted() ),
+ ac, "edit_paste_html_quoted" );
(void) new TDEAction( i18n( "Paste &URL Encoded" ), "edit-paste", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotPasteURLEncoded() ),
- TQT_TQOBJECT(ac), "edit_paste_url_encoded" );
+ m_quanta, TQ_SLOT( slotPasteURLEncoded() ),
+ ac, "edit_paste_url_encoded" );
(void) new TDEAction( i18n( "Insert CSS..." ),"css", 0,
- TQT_TQOBJECT(m_quanta), TQT_SLOT( slotInsertCSS() ),
- TQT_TQOBJECT(ac), "insert_css" );
+ m_quanta, TQ_SLOT( slotInsertCSS() ),
+ ac, "insert_css" );
// special-character combo
TDEAction* char_action = new TDEAction(
i18n( "Insert Special Character" ), "charset", 0,
- TQT_TQOBJECT(ac), "insert_char" );
- connect( char_action, TQT_SIGNAL(activated()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotInsertChar()) );
+ ac, "insert_char" );
+ connect( char_action, TQ_SIGNAL(activated()),
+ m_quanta, TQ_SLOT(slotInsertChar()) );
- connect(m_quanta, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(TQT_TQOBJECT(m_quanta)), TQT_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
- connect(m_quanta->doc(), TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(TQT_TQOBJECT(m_quanta)), TQT_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
- connect(ViewManager::ref(), TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(TQT_TQOBJECT(m_quanta)), TQT_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
+ connect(m_quanta, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(m_quanta), TQ_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
+ connect(m_quanta->doc(), TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(m_quanta), TQ_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
+ connect(ViewManager::ref(), TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(m_quanta), TQ_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
- QuantaBookmarks *m_bookmarks = new QuantaBookmarks(ViewManager::ref(TQT_TQOBJECT(m_quanta)));
+ QuantaBookmarks *m_bookmarks = new QuantaBookmarks(ViewManager::ref(m_quanta));
m_bookmarks->createActions(ac);
- connect(m_bookmarks, TQT_SIGNAL(gotoFileAndLine(const TQString&, int, int)), TQT_TQOBJECT(m_quanta), TQT_SLOT(gotoFileAndLine(const TQString&, int, int)));
+ connect(m_bookmarks, TQ_SIGNAL(gotoFileAndLine(const TQString&, int, int)), m_quanta, TQ_SLOT(gotoFileAndLine(const TQString&, int, int)));
}
/** Initialize the plugin architecture. */
@@ -1085,10 +1089,10 @@ void QuantaInit::initPlugins()
m_quanta->m_pluginInterface = QuantaPluginInterface::ref(m_quanta);
- connect(m_quanta->m_pluginInterface, TQT_SIGNAL(hideSplash()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotHideSplash()));
- connect(m_quanta->m_pluginInterface, TQT_SIGNAL(statusMsg(const TQString &)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotStatusMsg(const TQString & )));
+ connect(m_quanta->m_pluginInterface, TQ_SIGNAL(hideSplash()),
+ m_quanta, TQ_SLOT(slotHideSplash()));
+ connect(m_quanta->m_pluginInterface, TQ_SIGNAL(statusMsg(const TQString &)),
+ m_quanta, TQ_SLOT(slotStatusMsg(const TQString & )));
m_quanta->m_pluginInterface->readConfig();
if (!m_quanta->m_pluginInterface->pluginAvailable("TDEFileReplace"))
@@ -1272,12 +1276,12 @@ void QuantaInit::recoverCrashed(TQStringList& recoveredFileNameList)
TDEProcess *execCommand = new TDEProcess();
*(execCommand) << TQStringList::split(" ",cmd);
- connect(execCommand, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotGetScriptOutput(TDEProcess*,char*,int)));
- connect(execCommand, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotGetScriptError(TDEProcess*,char*,int)));
- connect(execCommand, TQT_SIGNAL(processExited(TDEProcess*)),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect(execCommand, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ m_quanta, TQ_SLOT(slotGetScriptOutput(TDEProcess*,char*,int)));
+ connect(execCommand, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ m_quanta, TQ_SLOT(slotGetScriptError(TDEProcess*,char*,int)));
+ connect(execCommand, TQ_SIGNAL(processExited(TDEProcess*)),
+ m_quanta, TQ_SLOT(slotProcessExited(TDEProcess*)));
if (!execCommand->start(TDEProcess::NotifyOnExit,TDEProcess::All))
{
@@ -1287,8 +1291,8 @@ void QuantaInit::recoverCrashed(TQStringList& recoveredFileNameList)
{
//To avoid lock-ups, start a timer.
TQTimer *timer = new TQTimer(m_quanta);
- connect(timer, TQT_SIGNAL(timeout()),
- TQT_TQOBJECT(m_quanta), TQT_SLOT(slotProcessTimeout()));
+ connect(timer, TQ_SIGNAL(timeout()),
+ m_quanta, TQ_SLOT(slotProcessTimeout()));
timer->start(180*1000, true);
QExtFileInfo internalFileInfo;
m_quanta->m_loopStarted = true;
@@ -1348,6 +1352,7 @@ TQString QuantaInit::retrievePID(const TQString& filename)
TQString strPID = TQString();
strPID = filename.mid(filename.findRev("P") + 1);
+
if (strPID.isEmpty())
strPID = filename.mid(filename.findRev("N") + 1);
@@ -1482,10 +1487,10 @@ void QuantaInit::checkRuntimeDependencies()
} else
{
CVSService::ref(m_quanta->actionCollection())->setAppId(appId);
- connect(CVSService::ref(), TQT_SIGNAL(clearMessages()), m_quanta->m_messageOutput, TQT_SLOT(clear()));
- connect(CVSService::ref(), TQT_SIGNAL(showMessage(const TQString&, bool)), m_quanta->m_messageOutput, TQT_SLOT(showMessage(const TQString&, bool)));
- connect(CVSService::ref(), TQT_SIGNAL(commandExecuted(const TQString&, const TQStringList&)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotCVSCommandExecuted(const TQString&, const TQStringList&)));
- //connect(CVSService::ref(), TQT_SIGNAL(statusMsg(const TQString &)), TQT_TQOBJECT(m_quanta), TQT_SLOT(slotStatusMsg(const TQString & )));
+ connect(CVSService::ref(), TQ_SIGNAL(clearMessages()), m_quanta->m_messageOutput, TQ_SLOT(clear()));
+ connect(CVSService::ref(), TQ_SIGNAL(showMessage(const TQString&, bool)), m_quanta->m_messageOutput, TQ_SLOT(showMessage(const TQString&, bool)));
+ connect(CVSService::ref(), TQ_SIGNAL(commandExecuted(const TQString&, const TQStringList&)), m_quanta, TQ_SLOT(slotCVSCommandExecuted(const TQString&, const TQStringList&)));
+ //connect(CVSService::ref(), TQ_SIGNAL(statusMsg(const TQString &)), m_quanta, TQ_SLOT(slotStatusMsg(const TQString & )));
m_quanta->fTab->plugCVSMenu();
pTab->plugCVSMenu();
}
diff --git a/quanta/src/quanta_init.h b/quanta/src/quanta_init.h
index 06e4cf07..5fec827e 100644
--- a/quanta/src/quanta_init.h
+++ b/quanta/src/quanta_init.h
@@ -41,7 +41,7 @@ class TDEConfig;
*/
class QuantaInit : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/src/quantadoc.cpp b/quanta/src/quantadoc.cpp
index 354cb464..b77e2341 100644
--- a/quanta/src/quantadoc.cpp
+++ b/quanta/src/quantadoc.cpp
@@ -82,7 +82,7 @@ QuantaDoc::QuantaDoc(TQWidget *parent, const char *name) : TQObject(parent, name
attribMenu = new TDEPopupMenu();
attribMenu->insertTitle(i18n("Tag"));
- connect( attribMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotInsertAttrib(int)));
+ connect( attribMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotInsertAttrib(int)));
}
QuantaDoc::~QuantaDoc()
@@ -175,10 +175,10 @@ void QuantaDoc::openDocument(const KURL& urlToOpen, const TQString &a_encoding,
{
if (encoding.isEmpty())
encoding = quantaApp->defaultEncoding();
- w->disconnect(TQT_SIGNAL(openingFailed(const KURL&)));
- connect(w, TQT_SIGNAL(openingFailed(const KURL&)), this, TQT_SLOT(slotOpeningFailed(const KURL&)));
- w->disconnect(TQT_SIGNAL(openingCompleted(const KURL&)));
- connect(w, TQT_SIGNAL(openingCompleted(const KURL&)), this, TQT_SLOT(slotOpeningCompleted(const KURL&)));
+ w->disconnect(TQ_SIGNAL(openingFailed(const KURL&)));
+ connect(w, TQ_SIGNAL(openingFailed(const KURL&)), this, TQ_SLOT(slotOpeningFailed(const KURL&)));
+ w->disconnect(TQ_SIGNAL(openingCompleted(const KURL&)));
+ connect(w, TQ_SIGNAL(openingCompleted(const KURL&)), this, TQ_SLOT(slotOpeningCompleted(const KURL&)));
w->open(url, encoding);
quantaApp->setTitle(url.prettyURL(0, KURL::StripFileProtocol));
}
@@ -302,7 +302,7 @@ void QuantaDoc::slotAttribPopup()
popUpMenu->setItemEnabled( menuId , false );
}
}
- connect( popUpMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotInsertAttrib(int)));
+ connect( popUpMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotInsertAttrib(int)));
attribMenu->insertItem(*it, popUpMenu);
}
@@ -367,7 +367,7 @@ void QuantaDoc::slotInsertAttrib( int id )
delete attribMenu;
attribMenu = new TDEPopupMenu();
attribMenu->insertTitle(i18n("Tag"));
- connect( attribMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotInsertAttrib(int)));
+ connect( attribMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotInsertAttrib(int)));
}
}
diff --git a/quanta/src/quantadoc.h b/quanta/src/quantadoc.h
index f2bb84d8..3f9d0b95 100644
--- a/quanta/src/quantadoc.h
+++ b/quanta/src/quantadoc.h
@@ -27,7 +27,7 @@ class KURL;
class QuantaDoc : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/src/quantaview.cpp b/quanta/src/quantaview.cpp
index 6d3ef86f..8e867d9a 100644
--- a/quanta/src/quantaview.cpp
+++ b/quanta/src/quantaview.cpp
@@ -86,8 +86,8 @@ QuantaView::QuantaView(TQWidget *parent, const char *name, const TQString &capti
{
setMDICaption(caption);
//Connect the VPL update timers
- connect(&m_sourceUpdateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(sourceUpdateTimerTimeout()));
- connect(&m_VPLUpdateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(VPLUpdateTimerTimeout()));
+ connect(&m_sourceUpdateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(sourceUpdateTimerTimeout()));
+ connect(&m_VPLUpdateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(VPLUpdateTimerTimeout()));
//create the source and VPL holding widgets
m_documentArea = new TQWidget(this);
@@ -95,10 +95,10 @@ QuantaView::QuantaView(TQWidget *parent, const char *name, const TQString &capti
//get the reference to the user toolbar holding widget
ToolbarTabWidget *m_toolbarTab = ToolbarTabWidget::ref();
m_toolbarTab->reparent(this, 0, TQPoint(), true);
- m_toolbarTab ->setFocusPolicy( TQ_NoFocus );
+ m_toolbarTab ->setFocusPolicy( TQWidget::NoFocus );
//create a splitter to separate the VPL and document area
- m_splitter = new TQSplitter(Qt::Vertical, this);
+ m_splitter = new TQSplitter(TQt::Vertical, this);
//place the widgets in a grid
m_viewLayout = new TQGridLayout(this, 2, 0);
m_viewLayout->setRowStretch(0, 0);
@@ -186,18 +186,18 @@ void QuantaView::addDocument(Document *document)
if (!document)
return;
m_document = document;
- connect(m_document, TQT_SIGNAL(editorGotFocus()), this, TQT_SLOT(slotSourceGetFocus()));
- connect(m_document->view(), TQT_SIGNAL(cursorPositionChanged()), this, TQT_SIGNAL(cursorPositionChanged()));
+ connect(m_document, TQ_SIGNAL(editorGotFocus()), this, TQ_SLOT(slotSourceGetFocus()));
+ connect(m_document->view(), TQ_SIGNAL(cursorPositionChanged()), this, TQ_SIGNAL(cursorPositionChanged()));
m_kafkaDocument = KafkaDocument::ref();
- connect(m_kafkaDocument->getKafkaWidget(), TQT_SIGNAL(hasFocus(bool)),
- this, TQT_SLOT(slotVPLGetFocus(bool)));
- connect(m_kafkaDocument, TQT_SIGNAL(newCursorPosition(int,int)),
- this, TQT_SLOT(slotSetCursorPositionInSource(int, int)));
- connect(m_kafkaDocument, TQT_SIGNAL(loadingError(Node *)),
- this, TQT_SLOT(slotVPLLoadingError(Node *)));
+ connect(m_kafkaDocument->getKafkaWidget(), TQ_SIGNAL(hasFocus(bool)),
+ this, TQ_SLOT(slotVPLGetFocus(bool)));
+ connect(m_kafkaDocument, TQ_SIGNAL(newCursorPosition(int,int)),
+ this, TQ_SLOT(slotSetCursorPositionInSource(int, int)));
+ connect(m_kafkaDocument, TQ_SIGNAL(loadingError(Node *)),
+ this, TQ_SLOT(slotVPLLoadingError(Node *)));
m_kafkaReloadingEnabled = true;
m_quantaReloadingEnabled = true;
@@ -1134,8 +1134,8 @@ bool QuantaView::saveDocument(const KURL& url)
{
KTextEditor::Document *doc = m_document->doc();
m_eventLoopStarted = false;
- connect(doc, TQT_SIGNAL(canceled(const TQString &)), this, TQT_SLOT(slotSavingFailed(const TQString &)));
- connect(doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotSavingCompleted()));
+ connect(doc, TQ_SIGNAL(canceled(const TQString &)), this, TQ_SLOT(slotSavingFailed(const TQString &)));
+ connect(doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotSavingCompleted()));
m_saveResult = m_document->saveAs(url);
if (m_saveResult)
{
@@ -1144,8 +1144,8 @@ bool QuantaView::saveDocument(const KURL& url)
m_eventLoopStarted = true;
internalFileInfo.enter_loop();
}
- disconnect(doc, TQT_SIGNAL(canceled(const TQString &)), this, TQT_SLOT(slotSavingFailed(const TQString &)));
- disconnect(doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotSavingCompleted()));
+ disconnect(doc, TQ_SIGNAL(canceled(const TQString &)), this, TQ_SLOT(slotSavingFailed(const TQString &)));
+ disconnect(doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotSavingCompleted()));
if (!m_saveResult) //there was an error while saving
{
if (oldURL.isLocalFile())
diff --git a/quanta/src/quantaview.h b/quanta/src/quantaview.h
index 1f59de19..2b8b30dd 100644
--- a/quanta/src/quantaview.h
+++ b/quanta/src/quantaview.h
@@ -63,7 +63,7 @@ class Node;
* @version KDevelop version 0.4 code generation */
class QuantaView : public KMdiChildView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/src/viewmanager.cpp b/quanta/src/viewmanager.cpp
index 831b81f0..2e70966b 100644
--- a/quanta/src/viewmanager.cpp
+++ b/quanta/src/viewmanager.cpp
@@ -12,6 +12,10 @@
*
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
//qt includes
#include <tqdir.h>
@@ -67,20 +71,20 @@ ViewManager::ViewManager(TQObject *parent, const char *name) : TQObject(parent,
m_lastActiveEditorView = 0L;
m_documentationView = 0L;
m_tabPopup = new TDEPopupMenu(quantaApp);
- m_tabPopup->insertItem(SmallIcon("window-close"), i18n("&Close"), this, TQT_SLOT(slotCloseView()));
- m_tabPopup->insertItem(i18n("Close &Other Tabs"), this, TQT_SLOT(slotCloseOtherTabs()));
- m_tabPopup->insertItem(i18n("Close &All"), this, TQT_SLOT(closeAll()));
- m_tabPopup->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQT_SLOT(slotReloadFile()), 0, RELOAD_ID);
- m_tabPopup->insertItem(SmallIcon("go-up"), i18n("&Upload File"), this, TQT_SLOT(slotUploadFile()), 0, UPLOAD_ID);
- m_tabPopup->insertItem(SmallIcon("edit-delete"), i18n("&Delete File"), this, TQT_SLOT(slotDeleteFile()), 0, DELETE_ID);
+ m_tabPopup->insertItem(SmallIcon("window-close"), i18n("&Close"), this, TQ_SLOT(slotCloseView()));
+ m_tabPopup->insertItem(i18n("Close &Other Tabs"), this, TQ_SLOT(slotCloseOtherTabs()));
+ m_tabPopup->insertItem(i18n("Close &All"), this, TQ_SLOT(closeAll()));
+ m_tabPopup->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQ_SLOT(slotReloadFile()), 0, RELOAD_ID);
+ m_tabPopup->insertItem(SmallIcon("go-up"), i18n("&Upload File"), this, TQ_SLOT(slotUploadFile()), 0, UPLOAD_ID);
+ m_tabPopup->insertItem(SmallIcon("edit-delete"), i18n("&Delete File"), this, TQ_SLOT(slotDeleteFile()), 0, DELETE_ID);
m_tabPopup->insertSeparator();
m_fileListPopup = new TDEPopupMenu(quantaApp);
- connect(m_fileListPopup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(slotFileListPopupAboutToShow()));
- connect(m_fileListPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotFileListPopupItemActivated(int)));
+ connect(m_fileListPopup, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(slotFileListPopupAboutToShow()));
+ connect(m_fileListPopup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotFileListPopupItemActivated(int)));
m_bookmarks = new QuantaBookmarks(this, QuantaBookmarks::Position, true);
m_bookmarksMenu = new TDEPopupMenu(quantaApp);
m_bookmarks->setBookmarksMenu(m_bookmarksMenu);
- connect(m_bookmarks, TQT_SIGNAL(gotoFileAndLine(const TQString&, int, int)), quantaApp, TQT_SLOT(gotoFileAndLine(const TQString&, int, int)));
+ connect(m_bookmarks, TQ_SIGNAL(gotoFileAndLine(const TQString&, int, int)), quantaApp, TQ_SLOT(gotoFileAndLine(const TQString&, int, int)));
m_bookmarksMenuId = m_tabPopup->insertItem(SmallIconSet("bookmark"), i18n("&Bookmarks"), m_bookmarksMenu);
m_tabPopup->insertItem(i18n("&Switch To"), m_fileListPopup);
m_contextView = 0L;
@@ -92,14 +96,14 @@ QuantaView* ViewManager::createView(const TQString &caption)
{
QuantaView *view = new QuantaView(quantaApp, "", caption);
quantaApp->addWindow(view);
- connect(view, TQT_SIGNAL(cursorPositionChanged()), quantaApp, TQT_SLOT(slotNewLineColumn()));
- connect(view, TQT_SIGNAL(title(const TQString &)), quantaApp, TQT_SLOT(slotNewLineColumn()));
- connect(view, TQT_SIGNAL(dragInsert(TQDropEvent*)), this, TQT_SIGNAL(dragInsert(TQDropEvent *)));
- connect(view, TQT_SIGNAL(hidePreview()), quantaApp, TQT_SLOT(slotChangePreviewStatus()));
- disconnect(view, TQT_SIGNAL(childWindowCloseRequest( KMdiChildView *)), 0, 0 );
- connect(view, TQT_SIGNAL(childWindowCloseRequest( KMdiChildView*)), this, TQT_SLOT(slotCloseRequest(KMdiChildView*)));
- connect(view, TQT_SIGNAL(documentClosed(const KURL&)), this, TQT_SLOT(slotDocumentClosed(const KURL&)));
- connect(view, TQT_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(), TQT_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
+ connect(view, TQ_SIGNAL(cursorPositionChanged()), quantaApp, TQ_SLOT(slotNewLineColumn()));
+ connect(view, TQ_SIGNAL(title(const TQString &)), quantaApp, TQ_SLOT(slotNewLineColumn()));
+ connect(view, TQ_SIGNAL(dragInsert(TQDropEvent*)), this, TQ_SIGNAL(dragInsert(TQDropEvent *)));
+ connect(view, TQ_SIGNAL(hidePreview()), quantaApp, TQ_SLOT(slotChangePreviewStatus()));
+ disconnect(view, TQ_SIGNAL(childWindowCloseRequest( KMdiChildView *)), 0, 0 );
+ connect(view, TQ_SIGNAL(childWindowCloseRequest( KMdiChildView*)), this, TQ_SLOT(slotCloseRequest(KMdiChildView*)));
+ connect(view, TQ_SIGNAL(documentClosed(const KURL&)), this, TQ_SLOT(slotDocumentClosed(const KURL&)));
+ connect(view, TQ_SIGNAL(eventHappened(const TQString&, const TQString&, const TQString& )), QPEvents::ref(), TQ_SLOT(slotEventHappened(const TQString&, const TQString&, const TQString& )));
return view;
}
@@ -118,10 +122,10 @@ void ViewManager::createNewDocument()
"KTextEditor::Document"
);
#else
- KTextEditor::Document *doc = KTextEditor::createDocument ("libkatepart", TQT_TQOBJECT(view), "KTextEditor::Document");
+ KTextEditor::Document *doc = KTextEditor::createDocument ("libkatepart", view, "KTextEditor::Document");
#endif
Document *w = new Document(doc, 0L);
- connect(w, TQT_SIGNAL(showAnnotation(uint, const TQString&, const TQPair<TQString, TQString>&)), quantaApp->annotationOutput(), TQT_SLOT(insertAnnotation(uint, const TQString&, const TQPair<TQString, TQString>&)));
+ connect(w, TQ_SIGNAL(showAnnotation(uint, const TQString&, const TQPair<TQString, TQString>&)), quantaApp->annotationOutput(), TQ_SLOT(insertAnnotation(uint, const TQString&, const TQPair<TQString, TQString>&)));
TQString encoding = quantaApp->defaultEncoding();
KTextEditor::EncodingInterface* encodingIf = dynamic_cast<KTextEditor::EncodingInterface*>(doc);
if (encodingIf)
@@ -130,7 +134,7 @@ void ViewManager::createNewDocument()
KTextEditor::View * v = w->view();
//[MB02] connect all kate views for drag and drop
- connect(w->view(), TQT_SIGNAL(dropEventPass(TQDropEvent *)), this, TQT_SIGNAL(dragInsert(TQDropEvent *)));
+ connect(w->view(), TQ_SIGNAL(dropEventPass(TQDropEvent *)), this, TQ_SIGNAL(dragInsert(TQDropEvent *)));
w->setUntitledUrl( fname );
KTextEditor::PopupMenuInterface* popupIf = dynamic_cast<KTextEditor::PopupMenuInterface*>(w->view());
@@ -138,8 +142,8 @@ void ViewManager::createNewDocument()
popupIf->installPopup((TQPopupMenu *)quantaApp->factory()->container("popup_editor", quantaApp));
quantaApp->setFocusProxy(w->view());
- w->view()->setFocusPolicy(TQ_WheelFocus);
- connect( v, TQT_SIGNAL(newStatus()), quantaApp, TQT_SLOT(slotNewStatus()));
+ w->view()->setFocusPolicy(TQWidget::WheelFocus);
+ connect( v, TQ_SIGNAL(newStatus()), quantaApp, TQ_SLOT(slotNewStatus()));
quantaApp->slotNewPart(doc, true); // register new part in partmanager and make active
view->addDocument(w);
@@ -182,7 +186,7 @@ bool ViewManager::removeView(QuantaView *view, bool force, bool createNew)
if (view == activeView())
ToolbarTabWidget::ref()->reparent(0L, 0, TQPoint(), false);
if (!createNew)
- disconnect(quantaApp, TQT_SIGNAL(lastChildViewClosed()), this, TQT_SLOT(slotLastViewClosed()));
+ disconnect(quantaApp, TQ_SIGNAL(lastChildViewClosed()), this, TQ_SLOT(slotLastViewClosed()));
quantaApp->closeWindow(view);
if (createNew)
{
@@ -191,7 +195,7 @@ bool ViewManager::removeView(QuantaView *view, bool force, bool createNew)
quantaApp->slotFileNew();
}
} else
- connect(quantaApp, TQT_SIGNAL(lastChildViewClosed()), this, TQT_SLOT(slotLastViewClosed()));
+ connect(quantaApp, TQ_SIGNAL(lastChildViewClosed()), this, TQ_SLOT(slotLastViewClosed()));
return true;
}
}
@@ -480,8 +484,8 @@ bool ViewManager::closeAll(bool createNew)
return false; //save aborted
}
}
- disconnect(quantaApp, TQT_SIGNAL(viewActivated (KMdiChildView *)), this, TQT_SLOT(slotViewActivated(KMdiChildView*)));
- disconnect(quantaApp, TQT_SIGNAL(lastChildViewClosed()), this, TQT_SLOT(slotLastViewClosed()));
+ disconnect(quantaApp, TQ_SIGNAL(viewActivated (KMdiChildView *)), this, TQ_SLOT(slotViewActivated(KMdiChildView*)));
+ disconnect(quantaApp, TQ_SIGNAL(lastChildViewClosed()), this, TQ_SLOT(slotLastViewClosed()));
ToolbarTabWidget::ref()->reparent(0L, 0, TQPoint(), false);
for (childIt = children.begin(); childIt != children.end(); ++childIt)
@@ -508,8 +512,8 @@ bool ViewManager::closeAll(bool createNew)
} else
{
//actually this code should be never executed
- connect(quantaApp, TQT_SIGNAL(viewActivated (KMdiChildView *)), this, TQT_SLOT(slotViewActivated(KMdiChildView*)));
- connect(quantaApp, TQT_SIGNAL(lastChildViewClosed()), this, TQT_SLOT(slotLastViewClosed()));
+ connect(quantaApp, TQ_SIGNAL(viewActivated (KMdiChildView *)), this, TQ_SLOT(slotViewActivated(KMdiChildView*)));
+ connect(quantaApp, TQ_SIGNAL(lastChildViewClosed()), this, TQ_SLOT(slotLastViewClosed()));
view->activated();
emit filesClosed(false);
return false;
@@ -523,8 +527,8 @@ bool ViewManager::closeAll(bool createNew)
}
}
}
- connect(quantaApp, TQT_SIGNAL(viewActivated (KMdiChildView *)), this, TQT_SLOT(slotViewActivated(KMdiChildView*)));
- connect(quantaApp, TQT_SIGNAL(lastChildViewClosed()), this, TQT_SLOT(slotLastViewClosed()));
+ connect(quantaApp, TQ_SIGNAL(viewActivated (KMdiChildView *)), this, TQ_SLOT(slotViewActivated(KMdiChildView*)));
+ connect(quantaApp, TQ_SIGNAL(lastChildViewClosed()), this, TQ_SLOT(slotLastViewClosed()));
if (createNew)
{
createNewDocument();
diff --git a/quanta/src/viewmanager.h b/quanta/src/viewmanager.h
index 1fc3d642..63fd8527 100644
--- a/quanta/src/viewmanager.h
+++ b/quanta/src/viewmanager.h
@@ -31,7 +31,7 @@ class KMdiChildView;
class ViewManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/** Returns a reference to the viewmanager object */
diff --git a/quanta/src/x-webprj.desktop b/quanta/src/x-webprj.desktop
index b2ccdf0e..92c79dea 100644
--- a/quanta/src/x-webprj.desktop
+++ b/quanta/src/x-webprj.desktop
@@ -1,48 +1,8 @@
[Desktop Entry]
Comment=Quanta Project
-Comment[bg]=Проект на Quanta
-Comment[br]=Raktres Quanta
-Comment[ca]=Projecte Quanta
-Comment[cs]=Quanta projekt
-Comment[da]=Quanta-projekt
-Comment[de]=Quanta Projekt
-Comment[el]=Έργο Quanta
-Comment[es]=Proyecto Quanta
-Comment[et]=Quanta projekt
-Comment[eu]=Quanta proiektua
-Comment[fa]=پروژۀ Quanta
-Comment[fi]=Quanta projekti
-Comment[fr]=Projet Quanta
-Comment[ga]=Tionscadal Quanta
-Comment[hu]=Quanta-projekt
-Comment[is]=Quanta verkefnið
-Comment[it]=Progetto Quanta
-Comment[ja]=Quanta プロジェクト
-Comment[ka]=Quanta პროექტი
-Comment[lt]=Quanta projektas
-Comment[ms]=Projek Quanta
-Comment[nds]=Quanta-Projekt
-Comment[ne]=क्वान्टा परियोजना
-Comment[nl]=Quanta project
-Comment[pl]=Projekt Quanta
-Comment[pt]=Projecto Quanta
-Comment[pt_BR]=Projeto do Quanta
-Comment[ro]=Proiect Quanta
-Comment[ru]=Проект Quanta
-Comment[sk]=Quanta projekt
-Comment[sl]=Projekt Quante
-Comment[sr]=Quanta пројекат
-Comment[sr@Latn]=Quanta projekat
-Comment[sv]=Quanta-projekt
-Comment[ta]=குவாண்டா திட்டப்பணி
-Comment[tg]=Нақшаи Quanta
-Comment[tr]=Quanta Projesi
-Comment[uk]=Проект Quanta
-Comment[zh_CN]=Quanta 工程
-Comment[zh_HK]=Quanta 專案
-Comment[zh_TW]=Quanta 專案
-Icon=quanta
+
Type=MimeType
+Icon=quanta
MimeType=application/x-webprj
Patterns=*.webprj
diff --git a/quanta/treeviews/CMakeLists.txt b/quanta/treeviews/CMakeLists.txt
index 094ab227..17754a1f 100644
--- a/quanta/treeviews/CMakeLists.txt
+++ b/quanta/treeviews/CMakeLists.txt
@@ -9,8 +9,11 @@
#
#################################################
+add_compile_options( ${ICU_CXXFLAGS} )
+
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/quanta/dialogs/tagdialogs
${CMAKE_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}/quanta/src
@@ -22,9 +25,14 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/messages
${CMAKE_SOURCE_DIR}/quanta/parts/kafka
${CMAKE_SOURCE_DIR}/quanta/components/csseditor
+ ${CMAKE_SOURCE_DIR}/quanta/components/cvsservice
${CMAKE_SOURCE_DIR}/quanta/plugins
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
${LIBXML_INCLUDE_DIRS}
)
diff --git a/quanta/treeviews/basetreeview.cpp b/quanta/treeviews/basetreeview.cpp
index 3a3a7029..e8929f84 100644
--- a/quanta/treeviews/basetreeview.cpp
+++ b/quanta/treeviews/basetreeview.cpp
@@ -303,32 +303,32 @@ BaseTreeView::BaseTreeView(TQWidget *parent, const char *name)
setLineWidth(2);
setFullWidth(true);
setShowSortIndicator(true);
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
setShowFolderOpenPixmap(false);
- connect(this, TQT_SIGNAL(returnPressed(TQListViewItem *)),
- this, TQT_SLOT(slotReturnPressed(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(returnPressed(TQListViewItem *)),
+ this, TQ_SLOT(slotReturnPressed(TQListViewItem *)));
- connect(this, TQT_SIGNAL(dropped(TQWidget *, TQDropEvent *, KURL::List&, KURL&)),
- this, TQT_SLOT(slotDropped(TQWidget *, TQDropEvent *, KURL::List&, KURL&)));
+ connect(this, TQ_SIGNAL(dropped(TQWidget *, TQDropEvent *, KURL::List&, KURL&)),
+ this, TQ_SLOT(slotDropped(TQWidget *, TQDropEvent *, KURL::List&, KURL&)));
- connect(this, TQT_SIGNAL(itemRenamed(TQListViewItem*, const TQString &, int )),
- this, TQT_SLOT(slotRenameItem(TQListViewItem*, const TQString &, int )));
+ connect(this, TQ_SIGNAL(itemRenamed(TQListViewItem*, const TQString &, int )),
+ this, TQ_SLOT(slotRenameItem(TQListViewItem*, const TQString &, int )));
- connect(this, TQT_SIGNAL(executed(TQListViewItem *)),
- this, TQT_SLOT(slotSelectFile(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(executed(TQListViewItem *)),
+ this, TQ_SLOT(slotSelectFile(TQListViewItem *)));
- connect(this, TQT_SIGNAL(openFile(const KURL &)),
- quantaApp, TQT_SLOT(slotFileOpen(const KURL &)));
+ connect(this, TQ_SIGNAL(openFile(const KURL &)),
+ quantaApp, TQ_SLOT(slotFileOpen(const KURL &)));
- connect(this, TQT_SIGNAL(openImage(const KURL &)),
- quantaApp, TQT_SLOT(slotImageOpen(const KURL &)));
+ connect(this, TQ_SIGNAL(openImage(const KURL &)),
+ quantaApp, TQ_SLOT(slotImageOpen(const KURL &)));
- connect(this, TQT_SIGNAL(closeFile(const KURL &)),
- quantaApp, TQT_SLOT(slotFileClose(const KURL &)));
+ connect(this, TQ_SIGNAL(closeFile(const KURL &)),
+ quantaApp, TQ_SLOT(slotFileClose(const KURL &)));
- connect(this, TQT_SIGNAL(insertTag(const KURL &, DirInfo)),
- quantaApp, TQT_SLOT(slotInsertTag(const KURL &, DirInfo)));
+ connect(this, TQ_SIGNAL(insertTag(const KURL &, DirInfo)),
+ quantaApp, TQ_SLOT(slotInsertTag(const KURL &, DirInfo)));
}
@@ -554,7 +554,7 @@ void BaseTreeView::slotOpenWith()
void BaseTreeView::slotOpenWithApplication()
{
- KService::Ptr ptr = KService::serviceByDesktopPath(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
+ KService::Ptr ptr = KService::serviceByDesktopPath(sender()->name());
if (ptr)
{
KURL::List list;
@@ -606,7 +606,7 @@ void BaseTreeView::insertOpenWithMenu(TDEPopupMenu *menu, int position)
for (it = offers.begin(); it != offers.end(); ++it)
{
TDEAction *action = new TDEAction((*it)->name(), (*it)->icon(), 0, 0, TQFile::encodeName((*it)->desktopEntryPath()).data());
- connect(action, TQT_SIGNAL(activated()), this, TQT_SLOT(slotOpenWithApplication()));
+ connect(action, TQ_SIGNAL(activated()), this, TQ_SLOT(slotOpenWithApplication()));
action->plug(m_openWithMenu);
m_openWithActions.append(action);
}
@@ -621,13 +621,13 @@ void BaseTreeView::insertOpenWithMenu(TDEPopupMenu *menu, int position)
int id = m_openWithMenu->insertItem(TDEGlobal::iconLoader()->loadIconSet(it2.current()->icon(),TDEIcon::Small), it2.current()->name());
m_pluginIds[id] = it2.current();
}
- connect(m_openWithMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOpenWithActivated(int)));
+ connect(m_openWithMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(slotOpenWithActivated(int)));
m_openWithMenu->insertSeparator();
}
- m_openWithMenu->insertItem(i18n("&Other..."), this, TQT_SLOT(slotOpenWith()));
+ m_openWithMenu->insertItem(i18n("&Other..."), this, TQ_SLOT(slotOpenWith()));
m_openWithMenuId = menu->insertItem(i18n("Open &With"), m_openWithMenu, -1, position);
} else
- m_openWithMenuId = menu->insertItem(i18n("Open &With..."), this, TQT_SLOT(slotOpenWith()), 0, -1, position);
+ m_openWithMenuId = menu->insertItem(i18n("Open &With..."), this, TQ_SLOT(slotOpenWith()), 0, -1, position);
}
void BaseTreeView::slotInsertTag()
@@ -740,7 +740,7 @@ void BaseTreeView::slotProperties()
{
fileInfoDlg = addFileInfoPage(propDlg);
}
- connect(propDlg, TQT_SIGNAL( applied() ), this, TQT_SLOT( slotPropertiesApplied()) );
+ connect(propDlg, TQ_SIGNAL( applied() ), this, TQ_SLOT( slotPropertiesApplied()) );
propDlg->exec();
}
@@ -915,11 +915,11 @@ void BaseTreeView::slotDropped (TQWidget *, TQDropEvent * /*e*/, KURL::List& fil
if (!job)
return;
- connect(job, TQT_SIGNAL( result(TDEIO::Job *) ),
- this, TQT_SLOT( slotJobFinished(TDEIO::Job *) ) );
+ connect(job, TQ_SIGNAL( result(TDEIO::Job *) ),
+ this, TQ_SLOT( slotJobFinished(TDEIO::Job *) ) );
progressBar->setTotalSteps(100);
- connect(job, TQT_SIGNAL(percent( TDEIO::Job *, unsigned long)),
- this, TQT_SLOT(slotPercent( TDEIO::Job *, unsigned long)));
+ connect(job, TQ_SIGNAL(percent( TDEIO::Job *, unsigned long)),
+ this, TQ_SLOT(slotPercent( TDEIO::Job *, unsigned long)));
}
diff --git a/quanta/treeviews/basetreeview.h b/quanta/treeviews/basetreeview.h
index 64401101..690113f2 100644
--- a/quanta/treeviews/basetreeview.h
+++ b/quanta/treeviews/basetreeview.h
@@ -83,7 +83,7 @@ public:
* @author Jens Herden <jens@kdewebdev.org>
*/
class BaseTreeBranch : public KFileTreeBranch {
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -133,7 +133,7 @@ public:
*
*/
class BaseTreeView : public KFileTreeView {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/treeviews/doctreeview.cpp b/quanta/treeviews/doctreeview.cpp
index 9b9e7d14..a379b512 100644
--- a/quanta/treeviews/doctreeview.cpp
+++ b/quanta/treeviews/doctreeview.cpp
@@ -54,17 +54,17 @@ DocTreeView::DocTreeView(TQWidget *parent, const char *name )
projectDocFolder = new TDEListViewItem(this, i18n("Project Documentation"));
projectDocFolder->setOpen(true);
slotRefreshTree();
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
- connect(this, TQT_SIGNAL(executed(TQListViewItem *)), TQT_SLOT(clickItem(TQListViewItem *)) );
- connect(this, TQT_SIGNAL(returnPressed(TQListViewItem *)), TQT_SLOT(clickItem(TQListViewItem *)));
- connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *)), TQT_SLOT(slotDoubleClicked(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(executed(TQListViewItem *)), TQ_SLOT(clickItem(TQListViewItem *)) );
+ connect(this, TQ_SIGNAL(returnPressed(TQListViewItem *)), TQ_SLOT(clickItem(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem *)), TQ_SLOT(slotDoubleClicked(TQListViewItem *)));
m_contextMenu = new TDEPopupMenu(this);
- m_menuReload = m_contextMenu->insertItem(i18n("&Reload"), this, TQT_SLOT(slotReloadProjectDocs()));
- m_contextMenu->insertItem(SmallIcon("network"), i18n("&Download Documentation..."), this, TQT_SIGNAL(downloadDoc()));
- connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ m_menuReload = m_contextMenu->insertItem(i18n("&Reload"), this, TQ_SLOT(slotReloadProjectDocs()));
+ m_contextMenu->insertItem(SmallIcon("network"), i18n("&Download Documentation..."), this, TQ_SIGNAL(downloadDoc()));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
}
diff --git a/quanta/treeviews/doctreeview.h b/quanta/treeviews/doctreeview.h
index 6e963de2..c9f5d66c 100644
--- a/quanta/treeviews/doctreeview.h
+++ b/quanta/treeviews/doctreeview.h
@@ -34,7 +34,7 @@ class TDEPopupMenu;
*/
class DocTreeView : public TDEListView {
- Q_OBJECT
+ TQ_OBJECT
public:
DocTreeView(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/treeviews/filestreeview.cpp b/quanta/treeviews/filestreeview.cpp
index 1de8333b..1884cc1b 100644
--- a/quanta/treeviews/filestreeview.cpp
+++ b/quanta/treeviews/filestreeview.cpp
@@ -15,6 +15,9 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
// KDE includes
#include <kdebug.h>
@@ -84,49 +87,49 @@ FilesTreeView::FilesTreeView(TDEConfig *config, TQWidget *parent, const char *na
m_fileMenu = new TDEPopupMenu(this);
- m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this ,TQT_SLOT(slotOpen()));
- m_fileMenu->insertItem(i18n("Insert &Tag"), this, TQT_SLOT(slotInsertTag()));
- m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQT_SLOT(slotClose()));
+ m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this ,TQ_SLOT(slotOpen()));
+ m_fileMenu->insertItem(i18n("Insert &Tag"), this, TQ_SLOT(slotInsertTag()));
+ m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQ_SLOT(slotClose()));
m_fileMenu->insertSeparator();
- m_insertFileInProject = m_fileMenu->insertItem(i18n("&Insert in Project..."), this, TQT_SLOT(slotInsertInProject()));
- m_fileMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQT_SLOT(slotCopy()));
- m_fileMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
- m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
+ m_insertFileInProject = m_fileMenu->insertItem(i18n("&Insert in Project..."), this, TQ_SLOT(slotInsertInProject()));
+ m_fileMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQ_SLOT(slotCopy()));
+ m_fileMenu->insertItem(i18n("Re&name"), this, TQ_SLOT(slotStartRename()));
+ m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
m_fileMenu->insertSeparator();
- m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
+ m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
TDEPopupMenu *createNewMenu = new TDEPopupMenu(this);
- createNewMenu->insertItem(SmallIcon("folder-new"), i18n("F&older..."), this, TQT_SLOT(slotCreateFolder()));
- createNewMenu->insertItem(SmallIcon("text-x-generic"), i18n("&File..."), this, TQT_SLOT(slotCreateFile()));
+ createNewMenu->insertItem(SmallIcon("folder-new"), i18n("F&older..."), this, TQ_SLOT(slotCreateFolder()));
+ createNewMenu->insertItem(SmallIcon("text-x-generic"), i18n("&File..."), this, TQ_SLOT(slotCreateFile()));
m_folderMenu = new TDEPopupMenu();
- m_folderMenu->insertItem(SmallIcon("folder-new"), i18n("New Top &Folder..."), this, TQT_SLOT(slotNewTopFolder()));
- m_menuTop = m_folderMenu->insertItem(i18n("&Add Folder to Top"), this, TQT_SLOT(slotAddToTop()));
- m_folderMenu->insertItem(i18n("Create Site &Template..."), this, TQT_SLOT(slotCreateSiteTemplate()));
+ m_folderMenu->insertItem(SmallIcon("folder-new"), i18n("New Top &Folder..."), this, TQ_SLOT(slotNewTopFolder()));
+ m_menuTop = m_folderMenu->insertItem(i18n("&Add Folder to Top"), this, TQ_SLOT(slotAddToTop()));
+ m_folderMenu->insertItem(i18n("Create Site &Template..."), this, TQ_SLOT(slotCreateSiteTemplate()));
m_folderMenu->insertItem(SmallIcon("application-x-zerosize"), i18n("&Create New"), createNewMenu);
m_folderMenu->insertSeparator();
- m_insertFolderInProject = m_folderMenu->insertItem(i18n("&Insert in Project..."), this, TQT_SLOT(slotInsertDirInProject()));
- m_folderMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQT_SLOT(slotCopy()));
- m_menuPasteFolder = m_folderMenu->insertItem(SmallIcon("edit-paste"), i18n("&Paste"), this, TQT_SLOT(slotPaste()));
- m_menuChangeAlias = m_folderMenu->insertItem(i18n("&Change Alias..."), this, TQT_SLOT(slotChangeAlias()));
- m_menuFolderRename = m_folderMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
- m_menuDel = m_folderMenu->insertItem( SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
+ m_insertFolderInProject = m_folderMenu->insertItem(i18n("&Insert in Project..."), this, TQ_SLOT(slotInsertDirInProject()));
+ m_folderMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQ_SLOT(slotCopy()));
+ m_menuPasteFolder = m_folderMenu->insertItem(SmallIcon("edit-paste"), i18n("&Paste"), this, TQ_SLOT(slotPaste()));
+ m_menuChangeAlias = m_folderMenu->insertItem(i18n("&Change Alias..."), this, TQ_SLOT(slotChangeAlias()));
+ m_menuFolderRename = m_folderMenu->insertItem(i18n("Re&name"), this, TQ_SLOT(slotStartRename()));
+ m_menuDel = m_folderMenu->insertItem( SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
m_folderMenu->insertSeparator();
- m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
- m_reloadMenuId = m_folderMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQT_SLOT(slotReload()));
+ m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
+ m_reloadMenuId = m_folderMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQ_SLOT(slotReload()));
m_emptyMenu = new TDEPopupMenu();
- m_emptyMenu->insertItem(i18n("New Top &Folder..."), this, TQT_SLOT(slotNewTopFolder()), 0, -1 , 0);
+ m_emptyMenu->insertItem(i18n("New Top &Folder..."), this, TQ_SLOT(slotNewTopFolder()), 0, -1 , 0);
addColumn(i18n("Files Tree"), -1);
addColumn("");
- connect(this, TQT_SIGNAL(open(TQListViewItem *)),
- this, TQT_SLOT(slotSelectFile(TQListViewItem *)));
- connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(this, TQ_SIGNAL(open(TQListViewItem *)),
+ this, TQ_SLOT(slotSelectFile(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
// generate top list of directories
for (uint i = 0; i < topURLList.count(); i++)
diff --git a/quanta/treeviews/filestreeview.h b/quanta/treeviews/filestreeview.h
index 1cee782b..d8adabba 100644
--- a/quanta/treeviews/filestreeview.h
+++ b/quanta/treeviews/filestreeview.h
@@ -32,7 +32,7 @@ class KURL;
class FilesTreeView : public BaseTreeView {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/treeviews/newtemplatedirdlg.cpp b/quanta/treeviews/newtemplatedirdlg.cpp
index 48fd6b5e..2ccc770c 100644
--- a/quanta/treeviews/newtemplatedirdlg.cpp
+++ b/quanta/treeviews/newtemplatedirdlg.cpp
@@ -20,8 +20,8 @@
NewTemplateDirDlg::NewTemplateDirDlg(TQWidget *parent, const char *name ) : TemplateDirForm(parent,name)
{
setCaption(name);
- connect( buttonOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) );
- connect( buttonCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) );
+ connect( buttonOk, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) );
+ connect( buttonCancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) );
}
NewTemplateDirDlg::~NewTemplateDirDlg()
diff --git a/quanta/treeviews/newtemplatedirdlg.h b/quanta/treeviews/newtemplatedirdlg.h
index 0f6ae128..81485d7c 100644
--- a/quanta/treeviews/newtemplatedirdlg.h
+++ b/quanta/treeviews/newtemplatedirdlg.h
@@ -24,7 +24,7 @@
*/
class NewTemplateDirDlg : public TemplateDirForm {
- Q_OBJECT
+ TQ_OBJECT
public:
NewTemplateDirDlg(TQWidget *parent=0, const char *name=0);
diff --git a/quanta/treeviews/projecttreeview.cpp b/quanta/treeviews/projecttreeview.cpp
index 1bb822b3..886bd511 100644
--- a/quanta/treeviews/projecttreeview.cpp
+++ b/quanta/treeviews/projecttreeview.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
// QT includes
#include <tqpainter.h>
#include <tqlabel.h>
@@ -118,62 +122,62 @@ ProjectTreeView::ProjectTreeView(TQWidget *parent, const char *name )
m_projectDir->root()->setEnabled(false);
m_uploadStatusMenu = new TDEPopupMenu(this);
- m_alwaysUploadId = m_uploadStatusMenu->insertItem(i18n("&When Modified"), this, TQT_SLOT(slotAlwaysUpload()));
- m_neverUploadId = m_uploadStatusMenu->insertItem(i18n("&Never"), this, TQT_SLOT(slotNeverUpload()));
- m_confirmUploadId = m_uploadStatusMenu->insertItem(i18n("&Confirm"), this, TQT_SLOT(slotConfirmUpload()));
- connect(m_uploadStatusMenu, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(slotUploadMenuAboutToShow()));
+ m_alwaysUploadId = m_uploadStatusMenu->insertItem(i18n("&When Modified"), this, TQ_SLOT(slotAlwaysUpload()));
+ m_neverUploadId = m_uploadStatusMenu->insertItem(i18n("&Never"), this, TQ_SLOT(slotNeverUpload()));
+ m_confirmUploadId = m_uploadStatusMenu->insertItem(i18n("&Confirm"), this, TQ_SLOT(slotConfirmUpload()));
+ connect(m_uploadStatusMenu, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(slotUploadMenuAboutToShow()));
m_fileMenu = new TDEPopupMenu(this);
- m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this, TQT_SLOT(slotOpen()));
- m_openInQuantaId = m_fileMenu->insertItem(i18n("Load Toolbar"), this, TQT_SLOT(slotLoadToolbar()));
- m_fileMenu->insertItem(i18n("Insert &Tag"), this, TQT_SLOT(slotInsertTag()));
- m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQT_SLOT(slotClose()));
+ m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this, TQ_SLOT(slotOpen()));
+ m_openInQuantaId = m_fileMenu->insertItem(i18n("Load Toolbar"), this, TQ_SLOT(slotLoadToolbar()));
+ m_fileMenu->insertItem(i18n("Insert &Tag"), this, TQ_SLOT(slotInsertTag()));
+ m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQ_SLOT(slotClose()));
m_fileMenu->insertSeparator();
- m_fileMenu->insertItem(SmallIcon("go-up"), i18n("&Upload File..."), this, TQT_SLOT(slotUploadSingleURL()));
- m_fileMenu->insertItem(SmallIcon("go-up"), i18n("&Quick File Upload"), this, TQT_SLOT(slotQuickUploadURL()));
- m_fileMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
- m_fileMenu->insertItem( i18n("&Remove From Project"), this, TQT_SLOT(slotRemoveFromProject(int)));
- m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
+ m_fileMenu->insertItem(SmallIcon("go-up"), i18n("&Upload File..."), this, TQ_SLOT(slotUploadSingleURL()));
+ m_fileMenu->insertItem(SmallIcon("go-up"), i18n("&Quick File Upload"), this, TQ_SLOT(slotQuickUploadURL()));
+ m_fileMenu->insertItem(i18n("Re&name"), this, TQ_SLOT(slotStartRename()));
+ m_fileMenu->insertItem( i18n("&Remove From Project"), this, TQ_SLOT(slotRemoveFromProject(int)));
+ m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
m_fileMenu->insertSeparator();
m_fileMenu->insertItem(i18n("Upload &Status"), m_uploadStatusMenu);
- m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
+ m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
TDEPopupMenu *createNewMenu = new TDEPopupMenu(this);
- createNewMenu->insertItem(SmallIcon("folder-new"), i18n("F&older..."), this, TQT_SLOT(slotCreateFolder()));
- createNewMenu->insertItem(SmallIcon("text-x-generic"), i18n("&File..."), this, TQT_SLOT(slotCreateFile()));
+ createNewMenu->insertItem(SmallIcon("folder-new"), i18n("F&older..."), this, TQ_SLOT(slotCreateFolder()));
+ createNewMenu->insertItem(SmallIcon("text-x-generic"), i18n("&File..."), this, TQ_SLOT(slotCreateFile()));
m_folderMenu = new TDEPopupMenu(this);
m_folderMenu->insertItem(SmallIconSet("document-new"), i18n("&Create New"), createNewMenu);
m_folderMenu->insertSeparator();
- m_folderMenu->insertItem(SmallIcon("go-up"), i18n("&Upload Folder..."), this, TQT_SLOT(slotUploadSingleURL()));
- m_folderMenu->insertItem(SmallIcon("go-up"), i18n("&Quick Folder Upload"), this, TQT_SLOT(slotQuickUploadURL()));
- m_folderMenu->insertItem(i18n("Create Site &Template..."), this, TQT_SLOT(slotCreateSiteTemplate()));
- m_folderMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
- m_folderMenu->insertItem(i18n("&Remove From Project"), this, TQT_SLOT(slotRemoveFromProject(int)));
- m_folderMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
+ m_folderMenu->insertItem(SmallIcon("go-up"), i18n("&Upload Folder..."), this, TQ_SLOT(slotUploadSingleURL()));
+ m_folderMenu->insertItem(SmallIcon("go-up"), i18n("&Quick Folder Upload"), this, TQ_SLOT(slotQuickUploadURL()));
+ m_folderMenu->insertItem(i18n("Create Site &Template..."), this, TQ_SLOT(slotCreateSiteTemplate()));
+ m_folderMenu->insertItem(i18n("Re&name"), this, TQ_SLOT(slotStartRename()));
+ m_folderMenu->insertItem(i18n("&Remove From Project"), this, TQ_SLOT(slotRemoveFromProject(int)));
+ m_folderMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
m_folderMenu->insertSeparator();
- m_setDocumentRootId = m_folderMenu->insertItem(i18n("Document-&Base Folder"), this, TQT_SLOT(slotChangeDocumentFolderStatus()));
+ m_setDocumentRootId = m_folderMenu->insertItem(i18n("Document-&Base Folder"), this, TQ_SLOT(slotChangeDocumentFolderStatus()));
m_folderMenu->insertItem(i18n("Upload &Status"), m_uploadStatusMenu);
- m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
+ m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
m_projectMenu = new TDEPopupMenu(this);
m_projectMenu->insertItem(SmallIconSet("document-new"), i18n("&Create New"), createNewMenu);
m_projectMenu->insertSeparator();
- m_projectMenu->insertItem(SmallIcon("go-up"), i18n("&Upload Project..."), this, TQT_SLOT(slotUploadProject()));
- m_projectMenu->insertItem(SmallIcon("reload"), i18n("Re&scan Project Folder..."), this, TQT_SLOT(slotRescan()));
- m_projectMenu->insertItem(SmallIcon("configure"), i18n("Project &Properties"), this, TQT_SLOT(slotOptions()));
- m_projectMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQT_SLOT(slotReload()));
+ m_projectMenu->insertItem(SmallIcon("go-up"), i18n("&Upload Project..."), this, TQ_SLOT(slotUploadProject()));
+ m_projectMenu->insertItem(SmallIcon("reload"), i18n("Re&scan Project Folder..."), this, TQ_SLOT(slotRescan()));
+ m_projectMenu->insertItem(SmallIcon("configure"), i18n("Project &Properties"), this, TQ_SLOT(slotOptions()));
+ m_projectMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQ_SLOT(slotReload()));
m_projectMenu->insertSeparator();
m_projectMenu->insertItem(i18n("Upload &Status"), m_uploadStatusMenu);
- connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(this, TQT_SIGNAL(open(TQListViewItem *)),
- this, TQT_SLOT(slotSelectFile(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(open(TQListViewItem *)),
+ this, TQ_SLOT(slotSelectFile(TQListViewItem *)));
restoreLayout(kapp->config(), className());
// the restored size of the first column might be too large for the current content
@@ -208,8 +212,8 @@ KFileTreeBranch* ProjectTreeView::newBranch(const KURL& url)
setRootIsDecorated(false);
}
- connect(m_projectDir, TQT_SIGNAL(populateFinished(KFileTreeViewItem*)),
- this, TQT_SLOT(slotPopulateFinished(KFileTreeViewItem*)));
+ connect(m_projectDir, TQ_SIGNAL(populateFinished(KFileTreeViewItem*)),
+ this, TQ_SLOT(slotPopulateFinished(KFileTreeViewItem*)));
addBranch(m_projectDir);
m_projectDir->urlList = m_projectFiles; // set list for filter
if (!m_projectName.isEmpty())
diff --git a/quanta/treeviews/projecttreeview.h b/quanta/treeviews/projecttreeview.h
index d8c65cbd..6d39edae 100644
--- a/quanta/treeviews/projecttreeview.h
+++ b/quanta/treeviews/projecttreeview.h
@@ -51,7 +51,7 @@ public:
class ProjectTreeView : public BaseTreeView {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/treeviews/quantapropertiespage.ui b/quanta/treeviews/quantapropertiespage.ui
index d70a6f6e..78a63b0d 100644
--- a/quanta/treeviews/quantapropertiespage.ui
+++ b/quanta/treeviews/quantapropertiespage.ui
@@ -244,4 +244,7 @@
<tabstop>parentAttr</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/treeviews/scripttreeview.cpp b/quanta/treeviews/scripttreeview.cpp
index 78dbd78e..de2e3430 100644
--- a/quanta/treeviews/scripttreeview.cpp
+++ b/quanta/treeviews/scripttreeview.cpp
@@ -84,23 +84,23 @@ ScriptTreeView::ScriptTreeView(TQWidget *parent, const char *name )
m_localDir->excludeFilterRx.setPattern(excludeString);
m_fileMenu = new TDEPopupMenu(this);
- m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Description"), this, TQT_SLOT(slotProperties()));
- m_fileMenu->insertItem(SmallIcon("system-run"), i18n("&Run Script"), this, TQT_SLOT(slotRun()));
+ m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Description"), this, TQ_SLOT(slotProperties()));
+ m_fileMenu->insertItem(SmallIcon("system-run"), i18n("&Run Script"), this, TQ_SLOT(slotRun()));
m_fileMenu->insertSeparator();
- m_fileMenu->insertItem(i18n("&Edit Script"), this, TQT_SLOT(slotEditScript()));
- m_fileMenu->insertItem(i18n("Edit in &Quanta"), this, TQT_SLOT(slotEditInQuanta()));
- m_fileMenu->insertItem(i18n("Edi&t Description"), this, TQT_SLOT(slotEditDescription()));
+ m_fileMenu->insertItem(i18n("&Edit Script"), this, TQ_SLOT(slotEditScript()));
+ m_fileMenu->insertItem(i18n("Edit in &Quanta"), this, TQ_SLOT(slotEditInQuanta()));
+ m_fileMenu->insertItem(i18n("Edi&t Description"), this, TQ_SLOT(slotEditDescription()));
m_fileMenu->insertSeparator();
- m_fileMenu->insertItem(UserIcon("ball"), i18n("&Assign Action"), this, TQT_SLOT(slotAssignAction()));
- m_fileMenu->insertItem(SmallIcon("mail-send"), i18n("&Send in Email..."), this, TQT_SLOT(slotSendScriptInMail()));
- m_fileMenu->insertItem(SmallIcon("network"), i18n("&Upload Script..."), this, TQT_SLOT(slotUploadScript()));
+ m_fileMenu->insertItem(UserIcon("ball"), i18n("&Assign Action"), this, TQ_SLOT(slotAssignAction()));
+ m_fileMenu->insertItem(SmallIcon("mail-send"), i18n("&Send in Email..."), this, TQ_SLOT(slotSendScriptInMail()));
+ m_fileMenu->insertItem(SmallIcon("network"), i18n("&Upload Script..."), this, TQ_SLOT(slotUploadScript()));
m_folderMenu = new TDEPopupMenu(this);
- m_downloadMenuId = m_folderMenu->insertItem(SmallIcon("network"), i18n("&Download Script..."), this, TQT_SIGNAL(downloadScript()));
+ m_downloadMenuId = m_folderMenu->insertItem(SmallIcon("network"), i18n("&Download Script..."), this, TQ_SIGNAL(downloadScript()));
- connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
restoreLayout( kapp->config(), className() );
// the restored size of the first column might be too large for the current content
diff --git a/quanta/treeviews/scripttreeview.h b/quanta/treeviews/scripttreeview.h
index 88f0e4cb..589f165d 100644
--- a/quanta/treeviews/scripttreeview.h
+++ b/quanta/treeviews/scripttreeview.h
@@ -40,7 +40,7 @@
* @author Andras Mantia <amantia@kde.org>
*/
class ScriptTreeView : public BaseTreeView {
- Q_OBJECT
+ TQ_OBJECT
diff --git a/quanta/treeviews/servertreeview.cpp b/quanta/treeviews/servertreeview.cpp
index 922ea03a..5f9a9747 100644
--- a/quanta/treeviews/servertreeview.cpp
+++ b/quanta/treeviews/servertreeview.cpp
@@ -100,37 +100,37 @@ ServerTreeView::ServerTreeView(TDEConfig *config, TQWidget *parent, const KURL &
m_fileMenu = new TDEPopupMenu();
- m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this ,TQT_SLOT(slotOpen()));
- m_fileMenu->insertItem(i18n("Open &With..."), this, TQT_SLOT(slotOpenWith()));
- m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQT_SLOT(slotClose()));
+ m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this ,TQ_SLOT(slotOpen()));
+ m_fileMenu->insertItem(i18n("Open &With..."), this, TQ_SLOT(slotOpenWith()));
+ m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQ_SLOT(slotClose()));
m_fileMenu->insertSeparator();
-// m_insertFileInProject = m_fileMenu->insertItem(i18n("&Insert in Project..."), this, TQT_SLOT(slotInsertInProject()));
- m_fileMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQT_SLOT(slotCopy()));
- m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
- m_fileMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
+// m_insertFileInProject = m_fileMenu->insertItem(i18n("&Insert in Project..."), this, TQ_SLOT(slotInsertInProject()));
+ m_fileMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQ_SLOT(slotCopy()));
+ m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
+ m_fileMenu->insertItem(i18n("Re&name"), this, TQ_SLOT(slotStartRename()));
m_fileMenu->insertSeparator();
- m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
+ m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
m_folderMenu = new TDEPopupMenu();
-// m_insertFolderInProject = m_folderMenu->insertItem(i18n("&Insert in Project..."), this, TQT_SLOT(slotInsertDirInProject()));
- m_folderMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQT_SLOT(slotCopy()));
- m_menuPasteFolder = m_folderMenu->insertItem(SmallIcon("edit-paste"), i18n("&Paste"), this, TQT_SLOT(slotPaste()));
- m_menuDel = m_folderMenu->insertItem( SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
- m_renameId = m_folderMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
+// m_insertFolderInProject = m_folderMenu->insertItem(i18n("&Insert in Project..."), this, TQ_SLOT(slotInsertDirInProject()));
+ m_folderMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQ_SLOT(slotCopy()));
+ m_menuPasteFolder = m_folderMenu->insertItem(SmallIcon("edit-paste"), i18n("&Paste"), this, TQ_SLOT(slotPaste()));
+ m_menuDel = m_folderMenu->insertItem( SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
+ m_renameId = m_folderMenu->insertItem(i18n("Re&name"), this, TQ_SLOT(slotStartRename()));
m_folderMenu->insertSeparator();
- m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
- m_reloadMenuId = m_folderMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQT_SLOT(slotReload()));
+ m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
+ m_reloadMenuId = m_folderMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQ_SLOT(slotReload()));
addColumn(i18n("Upload Tree"), -1);
addColumn("");
- connect(this, TQT_SIGNAL(open(TQListViewItem *)),
- this, TQT_SLOT(slotSelectFile(TQListViewItem *)));
- connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(Project::ref(), TQT_SIGNAL(reloadTree(ProjectList *, bool, const TQStringList &)),
- this, TQT_SLOT(slotReloadTree(ProjectList *, bool, const TQStringList &)));
+ connect(this, TQ_SIGNAL(open(TQListViewItem *)),
+ this, TQ_SLOT(slotSelectFile(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(Project::ref(), TQ_SIGNAL(reloadTree(ProjectList *, bool, const TQStringList &)),
+ this, TQ_SLOT(slotReloadTree(ProjectList *, bool, const TQStringList &)));
restoreLayout(m_config, "UploadTreeView"); // a fixed name only for the tooltip configuration
// the restored size of the first column might be too large for the current content
diff --git a/quanta/treeviews/servertreeview.h b/quanta/treeviews/servertreeview.h
index 94ab33fe..2fc9b66f 100644
--- a/quanta/treeviews/servertreeview.h
+++ b/quanta/treeviews/servertreeview.h
@@ -58,7 +58,7 @@ public:
class ServerTreeView : public BaseTreeView {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/treeviews/structtreeview.cpp b/quanta/treeviews/structtreeview.cpp
index feb56bc9..a03f13a3 100644
--- a/quanta/treeviews/structtreeview.cpp
+++ b/quanta/treeviews/structtreeview.cpp
@@ -83,7 +83,7 @@ StructTreeView::StructTreeView(TQWidget *parent, const char *name )
setLineWidth( 2 );
addColumn( i18n("Name"), -1 );
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
dtdMenu = new TDEPopupMenu(this);
@@ -95,43 +95,43 @@ StructTreeView::StructTreeView(TQWidget *parent, const char *name )
dtdMenu->insertItem(dtdList[i], i, -1);
}
- connect(dtdMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotDTDChanged(int)));
+ connect(dtdMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotDTDChanged(int)));
- connect(this, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
- TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)));
+ connect(this, TQ_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
+ TQ_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)));
emptyAreaMenu = new TDEPopupMenu(this);
emptyAreaMenu->insertItem(i18n("Show Groups For"), dtdMenu);
- emptyAreaMenu->insertItem(SmallIcon("reload"), i18n("&Reparse"), this, TQT_SLOT(slotReparseMenuItem()));
+ emptyAreaMenu->insertItem(SmallIcon("reload"), i18n("&Reparse"), this, TQ_SLOT(slotReparseMenuItem()));
popupMenu = new TDEPopupMenu(this);
popupMenu -> insertItem( i18n("Show Groups For"), dtdMenu);
popupMenu -> insertSeparator();
- popupMenu -> insertItem( i18n("Select Tag Area"), this ,TQT_SLOT(slotSelectTag()));
- popupMenu -> insertItem( i18n("Go to End of Tag"), this ,TQT_SLOT(slotGotoClosingTag()));
- openFileMenuId = popupMenu -> insertItem( i18n("Open File"), this ,TQT_SLOT(slotOpenFile()));
+ popupMenu -> insertItem( i18n("Select Tag Area"), this ,TQ_SLOT(slotSelectTag()));
+ popupMenu -> insertItem( i18n("Go to End of Tag"), this ,TQ_SLOT(slotGotoClosingTag()));
+ openFileMenuId = popupMenu -> insertItem( i18n("Open File"), this ,TQ_SLOT(slotOpenFile()));
popupMenu -> insertSeparator();
- popupMenu -> insertItem( i18n("Open Subtrees"), this ,TQT_SLOT(slotOpenSubTree()));
- popupMenu -> insertItem( i18n("Close Subtrees"),this ,TQT_SLOT(slotCloseSubTree()));
+ popupMenu -> insertItem( i18n("Open Subtrees"), this ,TQ_SLOT(slotOpenSubTree()));
+ popupMenu -> insertItem( i18n("Close Subtrees"),this ,TQ_SLOT(slotCloseSubTree()));
popupMenu -> insertSeparator();
#if 0
- popupMenu -> insertItem( i18n("Remove"),this ,TQT_SLOT(slotRemoveTags()));
+ popupMenu -> insertItem( i18n("Remove"),this ,TQ_SLOT(slotRemoveTags()));
popupMenu -> insertSeparator();
#endif
- popupMenu -> insertItem( SmallIcon("reload"), i18n("&Reparse"), this ,TQT_SLOT(slotReparseMenuItem()));
- followCursorId = popupMenu -> insertItem( i18n("Follow Cursor"), this ,TQT_SLOT(changeFollowCursor()));
+ popupMenu -> insertItem( SmallIcon("reload"), i18n("&Reparse"), this ,TQ_SLOT(slotReparseMenuItem()));
+ followCursorId = popupMenu -> insertItem( i18n("Follow Cursor"), this ,TQ_SLOT(changeFollowCursor()));
popupMenu -> setItemChecked ( followCursorId, followCursor() );
- connect( this, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT (slotMouseClicked(int, TQListViewItem*, const TQPoint&, int)));
+ connect( this, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT (slotMouseClicked(int, TQListViewItem*, const TQPoint&, int)));
- connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem *)), TQT_SLOT(slotDoubleClicked(TQListViewItem *)));
+ connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem *)), TQ_SLOT(slotDoubleClicked(TQListViewItem *)));
- connect(this, TQT_SIGNAL(expanded(TQListViewItem *)), TQT_SLOT(slotExpanded(TQListViewItem *)));
- connect(this, TQT_SIGNAL(collapsed(TQListViewItem *)), TQT_SLOT(slotCollapsed(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(expanded(TQListViewItem *)), TQ_SLOT(slotExpanded(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(collapsed(TQListViewItem *)), TQ_SLOT(slotCollapsed(TQListViewItem *)));
write = 0L;
timer = new TQTime();
@@ -489,7 +489,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
setSelected(item, true);
- if (button == Qt::RightButton)
+ if (button == TQt::RightButton)
{
if (dynamic_cast<StructTreeTag*>(item))
{
@@ -499,7 +499,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
return;
}
- if (button == Qt::LeftButton)
+ if (button == TQt::LeftButton)
{
if (handleLBM == i18n("Find Tag && Open Tree"))
setOpen(item, !isOpen(item));
@@ -516,7 +516,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
slotGotoTag(item);
}
- if (button == Qt::MidButton)
+ if (button == TQt::MidButton)
{
if (handleMBM == i18n("nothing"))
return;
@@ -537,7 +537,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
setSelected(item, true);
}
} else
- if (button == Qt::RightButton)
+ if (button == TQt::RightButton)
emptyAreaMenu->popup(point);
}
@@ -866,7 +866,7 @@ void StructTreeView::startDrag()
void StructTreeView::contentsMousePressEvent(TQMouseEvent* e)
{
- if(e->button() == Qt::LeftButton)
+ if(e->button() == TQt::LeftButton)
{
TQPoint p = contentsToViewport(e->pos());
m_draggedItem = itemAt(p);
diff --git a/quanta/treeviews/structtreeview.h b/quanta/treeviews/structtreeview.h
index 2a0f8ed4..94d8c12f 100644
--- a/quanta/treeviews/structtreeview.h
+++ b/quanta/treeviews/structtreeview.h
@@ -39,7 +39,7 @@ class Document;
struct DTDStruct;
class StructTreeView : public TDEListView {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/treeviews/tagattributeitems.cpp b/quanta/treeviews/tagattributeitems.cpp
index 556a2823..e42754c9 100644
--- a/quanta/treeviews/tagattributeitems.cpp
+++ b/quanta/treeviews/tagattributeitems.cpp
@@ -133,12 +133,12 @@ void ParentItem::showList(bool show)
if (show)
{
comboBox->show();
- TQObject::connect(comboBox, TQT_SIGNAL(activated(int)), m_listView, TQT_SLOT(slotParentSelected(int)));
+ TQObject::connect(comboBox, TQ_SIGNAL(activated(int)), m_listView, TQ_SLOT(slotParentSelected(int)));
}
else
{
comboBox->hide();
- TQObject::disconnect(comboBox, TQT_SIGNAL(activated(int)), m_listView, TQT_SLOT(slotParentSelected(int)));
+ TQObject::disconnect(comboBox, TQ_SIGNAL(activated(int)), m_listView, TQ_SLOT(slotParentSelected(int)));
}
}
@@ -156,7 +156,7 @@ AttributeItem::AttributeItem(EditableTree* listView, TQListViewItem* parent, con
m_listView = listView;
lin = new TQLineEdit( m_listView->viewport() );
lin2 = new TQLineEdit( m_listView->viewport() );
- TQObject::connect( lin, TQT_SIGNAL( returnPressed() ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( lin, TQ_SIGNAL( returnPressed() ), m_listView, TQ_SLOT( editorContentChanged() ) );
lin->hide();
lin2->hide();
}
@@ -169,7 +169,7 @@ AttributeItem::AttributeItem(EditableTree *listView, const TQString& title, cons
lin2 = new TQLineEdit( m_listView->viewport() );
lin2->setText(title);
lin->setText(title2);
- TQObject::connect( lin, TQT_SIGNAL( returnPressed() ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( lin, TQ_SIGNAL( returnPressed() ), m_listView, TQ_SLOT( editorContentChanged() ) );
lin->hide();
lin2->hide();
}
@@ -183,7 +183,7 @@ AttributeItem::AttributeItem(EditableTree *listView, const TQString& title, cons
lin2 = new TQLineEdit( m_listView->viewport() );
lin2->setText(title);
lin->setText(title2);
- TQObject::connect( lin, TQT_SIGNAL( returnPressed() ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( lin, TQ_SIGNAL( returnPressed() ), m_listView, TQ_SLOT( editorContentChanged() ) );
lin->hide();
lin2->hide();
}
@@ -292,7 +292,7 @@ AttributeBoolItem::AttributeBoolItem(TagAttributeTree* listView, TQListViewItem*
combo->insertItem((static_cast<TagAttributeTree *>(m_listView))->node()->tag->dtd()->booleanTrue);
combo->insertItem((static_cast<TagAttributeTree *>(m_listView))->node()->tag->dtd()->booleanFalse);
combo->hide();
- TQObject::connect( combo, TQT_SIGNAL( activated(int) ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( combo, TQ_SIGNAL( activated(int) ), m_listView, TQ_SLOT( editorContentChanged() ) );
}
AttributeBoolItem::~AttributeBoolItem()
@@ -331,7 +331,7 @@ AttributeUrlItem::AttributeUrlItem(TagAttributeTree* listView, TQListViewItem* p
urlRequester = new KURLRequester( m_listView->viewport() );
urlRequester->setMode(KFile::File | KFile::ExistingOnly );
urlRequester->hide();
- TQObject::connect( urlRequester, TQT_SIGNAL( returnPressed() ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( urlRequester, TQ_SIGNAL( returnPressed() ), m_listView, TQ_SLOT( editorContentChanged() ) );
}
AttributeUrlItem::~AttributeUrlItem()
@@ -409,7 +409,7 @@ AttributeListItem::AttributeListItem(EditableTree* listView, TQListViewItem* par
combo->setEditable(true);
}
combo->hide();
- TQObject::connect( combo, TQT_SIGNAL( activated(int) ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( combo, TQ_SIGNAL( activated(int) ), m_listView, TQ_SLOT( editorContentChanged() ) );
}
AttributeListItem::~AttributeListItem()
@@ -462,7 +462,7 @@ AttributeColorItem::AttributeColorItem(EditableTree* listView, TQListViewItem* p
combo = new KColorCombo( m_listView->viewport() );
combo->setEditable(true);
combo->hide();
- TQObject::connect( combo, TQT_SIGNAL( activated(int) ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( combo, TQ_SIGNAL( activated(int) ), m_listView, TQ_SLOT( editorContentChanged() ) );
}
AttributeColorItem::~AttributeColorItem()
@@ -508,7 +508,7 @@ AttributeStyleItem::AttributeStyleItem(EditableTree* listView, TQListViewItem* p
//combo->setEditable(true);
m_se->hide();
- TQObject::connect( m_se->button(), TQT_SIGNAL( clicked() ), m_listView, TQT_SLOT( editorContentChanged() ) );
+ TQObject::connect( m_se->button(), TQ_SIGNAL( clicked() ), m_listView, TQ_SLOT( editorContentChanged() ) );
}
AttributeStyleItem::~AttributeStyleItem()
diff --git a/quanta/treeviews/tagattributetree.cpp b/quanta/treeviews/tagattributetree.cpp
index e8d0bbfc..4d74e548 100644
--- a/quanta/treeviews/tagattributetree.cpp
+++ b/quanta/treeviews/tagattributetree.cpp
@@ -104,10 +104,10 @@ DualEditableTree::DualEditableTree(TQWidget *parent, const char *name)
: EditableTree(parent, name)
{
curCol = 0;
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
this->installEventFilter(this);
- connect(this, TQT_SIGNAL(clicked(TQListViewItem *, const TQPoint &, int )),
- this, TQT_SLOT(itemClicked(TQListViewItem *, const TQPoint &, int )));
+ connect(this, TQ_SIGNAL(clicked(TQListViewItem *, const TQPoint &, int )),
+ this, TQ_SLOT(itemClicked(TQListViewItem *, const TQPoint &, int )));
}
DualEditableTree::~DualEditableTree()
@@ -128,7 +128,7 @@ bool DualEditableTree::eventFilter(TQObject *object, TQEvent *event)
if(event->type() == TQEvent::KeyPress && m_editable)
{
- TQKeyEvent *keyevent = TQT_TQKEYEVENT(event);
+ TQKeyEvent *keyevent = static_cast<TQKeyEvent*>(event);
switch(keyevent->key())
{
case Key_Left:
@@ -223,7 +223,7 @@ TagAttributeTree::TagAttributeTree(TQWidget *parent, const char *name)
setSorting(-1);
setFrameStyle( Panel | Sunken );
setLineWidth( 2 );
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
addColumn(i18n("Attribute Name"));
addColumn(i18n("Value"));
setResizeMode(TQListView::LastColumn);
@@ -367,8 +367,8 @@ void TagAttributeTree::setCurrentNode(Node *node)
}
}
- connect(this, TQT_SIGNAL(collapsed(TQListViewItem*)), TQT_SLOT(slotCollapsed(TQListViewItem*)));
- connect(this, TQT_SIGNAL(expanded(TQListViewItem*)), TQT_SLOT(slotExpanded(TQListViewItem*)));
+ connect(this, TQ_SIGNAL(collapsed(TQListViewItem*)), TQ_SLOT(slotCollapsed(TQListViewItem*)));
+ connect(this, TQ_SIGNAL(expanded(TQListViewItem*)), TQ_SLOT(slotExpanded(TQListViewItem*)));
}
void TagAttributeTree::editorContentChanged()
@@ -423,7 +423,7 @@ void TagAttributeTree::slotParentSelected(int index)
if (m_parentItem)
{
m_newNode = m_parentItem->node(index);
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedSetCurrentNode()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedSetCurrentNode()));
}
}
@@ -481,9 +481,9 @@ EnhancedTagAttributeTree::EnhancedTagAttributeTree(TQWidget *parent, const char
widgetLayout->addWidget( deleteAll, 0, 3 );
clearWState( WState_Polished );
- connect(attrTree, TQT_SIGNAL(newNodeSelected(Node *)), this, TQT_SLOT(NodeSelected(Node *)));
- connect(deleteTag, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteNode()));
- connect(deleteAll, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteSubTree()));
+ connect(attrTree, TQ_SIGNAL(newNodeSelected(Node *)), this, TQ_SLOT(NodeSelected(Node *)));
+ connect(deleteTag, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteNode()));
+ connect(deleteAll, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteSubTree()));
}
EnhancedTagAttributeTree::~EnhancedTagAttributeTree()
diff --git a/quanta/treeviews/tagattributetree.h b/quanta/treeviews/tagattributetree.h
index 1ecae329..2cf6001e 100644
--- a/quanta/treeviews/tagattributetree.h
+++ b/quanta/treeviews/tagattributetree.h
@@ -32,7 +32,7 @@ class KPushButton;
class TQGridLayout;
class EditableTree : public TDEListView {
-Q_OBJECT
+TQ_OBJECT
public:
@@ -55,7 +55,7 @@ protected:
class DualEditableTree : public EditableTree
{
- Q_OBJECT
+ TQ_OBJECT
public:
DualEditableTree(TQWidget *parent = 0, const char *name = 0);
@@ -82,7 +82,7 @@ private:
};
class TagAttributeTree : public EditableTree {
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -115,7 +115,7 @@ private:
//An enhanced TagAttributeTree with the tag name and buttons to delete the tag.
class EnhancedTagAttributeTree : public TQWidget
{
-Q_OBJECT
+TQ_OBJECT
public:
EnhancedTagAttributeTree(TQWidget *parent = 0, const char *name = 0);
diff --git a/quanta/treeviews/templatedirform.ui b/quanta/treeviews/templatedirform.ui
index a8cb7705..d3574847 100644
--- a/quanta/treeviews/templatedirform.ui
+++ b/quanta/treeviews/templatedirform.ui
@@ -160,11 +160,11 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>okBtn_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/treeviews/templatestreeview.cpp b/quanta/treeviews/templatestreeview.cpp
index 2fa9b7e1..463a56e4 100644
--- a/quanta/treeviews/templatestreeview.cpp
+++ b/quanta/treeviews/templatestreeview.cpp
@@ -143,35 +143,35 @@ TemplatesTreeView::TemplatesTreeView(TDEMainWindow *parent, const char *name )
m_fileMenu = new TDEPopupMenu(this);
- m_openId = m_fileMenu->insertItem(i18n("Open"), this ,TQT_SLOT(slotInsert()));
- m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this ,TQT_SLOT(slotOpen()));
- m_fileMenu->insertItem(SmallIcon("mail-send"), i18n("Send in E&mail..."), this, TQT_SLOT(slotSendInMail()));
- m_fileMenu->insertItem(SmallIcon("network"), i18n("&Upload Template..."), this, TQT_SLOT(slotUploadTemplate()));
- m_insertFileInProject = m_fileMenu->insertItem(i18n("&Insert in Project..."), this, TQT_SLOT(slotInsertInProject()));
- m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQT_SLOT(slotClose()));
+ m_openId = m_fileMenu->insertItem(i18n("Open"), this ,TQ_SLOT(slotInsert()));
+ m_fileMenu->insertItem(SmallIcon("document-open"), i18n("&Open"), this ,TQ_SLOT(slotOpen()));
+ m_fileMenu->insertItem(SmallIcon("mail-send"), i18n("Send in E&mail..."), this, TQ_SLOT(slotSendInMail()));
+ m_fileMenu->insertItem(SmallIcon("network"), i18n("&Upload Template..."), this, TQ_SLOT(slotUploadTemplate()));
+ m_insertFileInProject = m_fileMenu->insertItem(i18n("&Insert in Project..."), this, TQ_SLOT(slotInsertInProject()));
+ m_menuClose = m_fileMenu->insertItem(SmallIcon("window-close"), i18n("Clos&e"), this, TQ_SLOT(slotClose()));
m_fileMenu->insertSeparator();
- m_fileMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQT_SLOT(slotCopy()));
- m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
+ m_fileMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQ_SLOT(slotCopy()));
+ m_fileMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
m_fileMenu->insertSeparator();
- m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
+ m_fileMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
m_folderMenu = new TDEPopupMenu(this);
- m_folderMenu->insertItem(SmallIcon("folder-new"), i18n("&New Folder..."), this, TQT_SLOT(slotNewDir()));
- m_folderMenu->insertItem(SmallIcon("mail-send"), i18n("Send in E&mail..."), this, TQT_SLOT(slotSendInMail()));
- m_folderMenu->insertItem(SmallIcon("network"), i18n("&Upload Template..."), this, TQT_SLOT(slotUploadTemplate()));
- m_downloadMenuId = m_folderMenu->insertItem(SmallIcon("network"), i18n("&Download Template..."), this, TQT_SIGNAL(downloadTemplate()));
- m_insertFolderInProject = m_folderMenu->insertItem(i18n("&Insert in Project..."), this, TQT_SLOT(slotInsertDirInProject()));
+ m_folderMenu->insertItem(SmallIcon("folder-new"), i18n("&New Folder..."), this, TQ_SLOT(slotNewDir()));
+ m_folderMenu->insertItem(SmallIcon("mail-send"), i18n("Send in E&mail..."), this, TQ_SLOT(slotSendInMail()));
+ m_folderMenu->insertItem(SmallIcon("network"), i18n("&Upload Template..."), this, TQ_SLOT(slotUploadTemplate()));
+ m_downloadMenuId = m_folderMenu->insertItem(SmallIcon("network"), i18n("&Download Template..."), this, TQ_SIGNAL(downloadTemplate()));
+ m_insertFolderInProject = m_folderMenu->insertItem(i18n("&Insert in Project..."), this, TQ_SLOT(slotInsertDirInProject()));
m_folderMenu->insertSeparator();
- m_folderMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQT_SLOT(slotCopy()));
- m_menuPasteFolder = m_folderMenu->insertItem(SmallIcon("edit-paste"), i18n("&Paste"), this, TQT_SLOT(slotPaste()));
- m_deleteMenuId = m_folderMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
+ m_folderMenu->insertItem(SmallIcon("edit-copy"), i18n("&Copy"), this, TQ_SLOT(slotCopy()));
+ m_menuPasteFolder = m_folderMenu->insertItem(SmallIcon("edit-paste"), i18n("&Paste"), this, TQ_SLOT(slotPaste()));
+ m_deleteMenuId = m_folderMenu->insertItem(SmallIcon("edit-delete"), i18n("&Delete"), this, TQ_SLOT(slotDelete()));
m_folderMenu->insertSeparator();
- m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQT_SLOT(slotProperties()));
- m_reloadMenuId = m_folderMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQT_SLOT(slotReload()));
+ m_folderMenu->insertItem(SmallIcon("application-vnd.tde.info"), i18n("&Properties"), this, TQ_SLOT(slotProperties()));
+ m_reloadMenuId = m_folderMenu->insertItem(SmallIcon("document-revert"), i18n("&Reload"), this, TQ_SLOT(slotReload()));
m_emptyAreaMenu = new TDEPopupMenu(this);
- m_emptyAreaMenu->insertItem(SmallIcon("network"), i18n("&Download Template..."), this, TQT_SIGNAL(downloadTemplate()));
+ m_emptyAreaMenu->insertItem(SmallIcon("network"), i18n("&Download Template..."), this, TQ_SIGNAL(downloadTemplate()));
addColumn(i18n("Templates"), -1);
addColumn(i18n("Group"), -1);
@@ -182,11 +182,11 @@ TemplatesTreeView::TemplatesTreeView(TDEMainWindow *parent, const char *name )
localURL.setPath(locateLocal("data", resourceDir + "templates/"));
newBranch(localURL);
- connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(this, TQT_SIGNAL(open(TQListViewItem *)),
- this, TQT_SLOT(slotSelectFile(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(open(TQListViewItem *)),
+ this, TQ_SLOT(slotSelectFile(TQListViewItem *)));
setAcceptDrops(true);
setSelectionMode(TQListView::Single);
@@ -629,7 +629,7 @@ void TemplatesTreeView::slotProperties()
}
topLayout->addWidget( m_quantaProperties );
- connect( propDlg, TQT_SIGNAL( applied() ), this , TQT_SLOT( slotPropertiesApplied()) );
+ connect( propDlg, TQ_SIGNAL( applied() ), this , TQ_SLOT( slotPropertiesApplied()) );
TQString name = url.path() + TMPL;
TDEConfig config(name);
@@ -862,7 +862,7 @@ void TemplatesTreeView::slotPaste()
if ( ! currentKFileTreeViewItem()->isDir() )
url.setFileName(""); // don't paste on files but in dirs
TDEIO::Job *job = TDEIO::copy( list, url);
- connect( job, TQT_SIGNAL( result( TDEIO::Job *) ), this , TQT_SLOT( slotJobFinished( TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job *) ), this , TQ_SLOT( slotJobFinished( TDEIO::Job *) ) );
}
}
@@ -880,11 +880,11 @@ void TemplatesTreeView::slotDelete()
if ( KMessageBox::warningContinueCancel(this, msg, TQString(), KStdGuiItem::del()) == KMessageBox::Continue )
{
TDEIO::Job *job = TDEIO::del(url);
- connect( job, TQT_SIGNAL( result( TDEIO::Job *) ), this , TQT_SLOT( slotJobFinished( TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job *) ), this , TQ_SLOT( slotJobFinished( TDEIO::Job *) ) );
url.setFileName(url.fileName()+ TMPL);
if ( TQFileInfo(url.path()).exists() ) {
TDEIO::Job *job2 = TDEIO::del(url);
- connect( job2, TQT_SIGNAL( result( TDEIO::Job *) ), this , TQT_SLOT( slotJobFinished( TDEIO::Job *) ) );
+ connect( job2, TQ_SIGNAL( result( TDEIO::Job *) ), this , TQ_SLOT( slotJobFinished( TDEIO::Job *) ) );
};
}
}
diff --git a/quanta/treeviews/templatestreeview.h b/quanta/treeviews/templatestreeview.h
index 22fd3535..697240e9 100644
--- a/quanta/treeviews/templatestreeview.h
+++ b/quanta/treeviews/templatestreeview.h
@@ -38,7 +38,7 @@ public:
class TemplatesTreeView : public BaseTreeView {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/treeviews/uploadtreeview.cpp b/quanta/treeviews/uploadtreeview.cpp
index 7780f8aa..da77840e 100644
--- a/quanta/treeviews/uploadtreeview.cpp
+++ b/quanta/treeviews/uploadtreeview.cpp
@@ -37,13 +37,13 @@ UploadTreeView::UploadTreeView( TQWidget *parent, const char *name ) :
addColumn( i18n("Size") );
addColumn( i18n("Date") );
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
- connect( this, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectFile()));
- connect( this, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(slotSelectFile(TQListViewItem *)));
+ connect( this, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectFile()));
+ connect( this, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(slotSelectFile(TQListViewItem *)));
- connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int )), TQT_SLOT(slotDoubleClicked(TQListViewItem *, const TQPoint &, int )));
+ connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int )), TQ_SLOT(slotDoubleClicked(TQListViewItem *, const TQPoint &, int )));
}
UploadTreeView::~UploadTreeView()
diff --git a/quanta/treeviews/uploadtreeview.h b/quanta/treeviews/uploadtreeview.h
index f8a58e80..9a21b18a 100644
--- a/quanta/treeviews/uploadtreeview.h
+++ b/quanta/treeviews/uploadtreeview.h
@@ -30,7 +30,7 @@ class KFileItem;
*/
class UploadTreeView : public TDEListView {
- Q_OBJECT
+ TQ_OBJECT
public:
UploadTreeView( TQWidget *parent, const char *name=0L );
diff --git a/quanta/utility/CMakeLists.txt b/quanta/utility/CMakeLists.txt
index c65eb97a..5faa5f29 100644
--- a/quanta/utility/CMakeLists.txt
+++ b/quanta/utility/CMakeLists.txt
@@ -19,11 +19,13 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/messages
${CMAKE_SOURCE_DIR}/quanta/parts/kafka
${CMAKE_SOURCE_DIR}/quanta/project
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
-
##### utility (static) ##########################
tde_add_library( utility STATIC_PIC AUTOMOC
diff --git a/quanta/utility/myprocess.h b/quanta/utility/myprocess.h
index a80a199c..bb12d2fe 100644
--- a/quanta/utility/myprocess.h
+++ b/quanta/utility/myprocess.h
@@ -20,7 +20,7 @@
class MyProcess:public TDEProcess
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/utility/newstuff.cpp b/quanta/utility/newstuff.cpp
index a00e9c75..56d5027d 100644
--- a/quanta/utility/newstuff.cpp
+++ b/quanta/utility/newstuff.cpp
@@ -56,7 +56,7 @@ void QNewDTEPStuff::installResource()
QNewToolbarStuff::QNewToolbarStuff(const TQString &type, TQWidget *parentWidget)
:TDENewStuffSecure(type, parentWidget)
{
- connect(this, TQT_SIGNAL(loadToolbarFile(const KURL&)), parentWidget, TQT_SLOT(slotLoadToolbarFile(const KURL&)));
+ connect(this, TQ_SIGNAL(loadToolbarFile(const KURL&)), parentWidget, TQ_SLOT(slotLoadToolbarFile(const KURL&)));
}
@@ -83,7 +83,7 @@ void QNewToolbarStuff::installResource()
QNewTemplateStuff::QNewTemplateStuff(const TQString &type, TQWidget *parentWidget)
:TDENewStuffSecure(type, parentWidget)
{
- connect(this, TQT_SIGNAL(openFile(const KURL&)), parentWidget, TQT_SLOT(slotFileOpen(const KURL&)));
+ connect(this, TQ_SIGNAL(openFile(const KURL&)), parentWidget, TQ_SLOT(slotFileOpen(const KURL&)));
}
diff --git a/quanta/utility/newstuff.h b/quanta/utility/newstuff.h
index c35be15b..929734d6 100644
--- a/quanta/utility/newstuff.h
+++ b/quanta/utility/newstuff.h
@@ -31,7 +31,7 @@ class KURL;
class QNewDTEPStuff: public TDENewStuffSecure
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -50,7 +50,7 @@ Makes possible downloading and installing a Toolbar resource files from a server
*/
class QNewToolbarStuff: public TDENewStuffSecure
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -71,7 +71,7 @@ Makes possible downloading and installing a template resource files from a serve
*/
class QNewTemplateStuff: public TDENewStuffSecure
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -92,7 +92,7 @@ Makes possible downloading and installing a script resource files from a server.
*/
class QNewScriptStuff: public TDENewStuffSecure
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -111,7 +111,7 @@ Makes possible downloading and installing a documentation resource files from a
*/
class QNewDocStuff: public TDENewStuffSecure
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/utility/qpevents.cpp b/quanta/utility/qpevents.cpp
index 8a8dfa26..87ec17d9 100644
--- a/quanta/utility/qpevents.cpp
+++ b/quanta/utility/qpevents.cpp
@@ -294,7 +294,7 @@ bool QPEvents::handleEvent(const EventAction& ev)
TQTextStream stream(&file);
stream.setEncoding(TQTextStream::UnicodeUTF8);
//Note: the log text should not be translated.
- TQString s = TQDateTime::currentDateTime().toString(Qt::ISODate) + ": ";
+ TQString s = TQDateTime::currentDateTime().toString(TQt::ISODate) + ": ";
s.append( "Event : " + m_eventName + " : ");
s.append( "Action: " + ev.action + " : ");
if (ev.arguments[1] == "full")
diff --git a/quanta/utility/qpevents.h b/quanta/utility/qpevents.h
index 6b3638ae..4c65c359 100644
--- a/quanta/utility/qpevents.h
+++ b/quanta/utility/qpevents.h
@@ -52,7 +52,7 @@ typedef TQMap<TQString, TQValueList<EventAction> > EventActions;
class QPEvents : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
static QPEvents* const ref(TQObject *parent = 0L)
diff --git a/quanta/utility/quantabookmarks.cpp b/quanta/utility/quantabookmarks.cpp
index 8d32e20a..87e953fb 100644
--- a/quanta/utility/quantabookmarks.cpp
+++ b/quanta/utility/quantabookmarks.cpp
@@ -86,33 +86,33 @@ void QuantaBookmarks::init(TDEActionCollection* ac)
{
m_bookmarkToggle = new TDEToggleAction(
i18n("Set &Bookmark"), "bookmark", CTRL+Key_B,
- this, TQT_SLOT(toggleBookmark()),
+ this, TQ_SLOT(toggleBookmark()),
ac, "bookmarks_toggle" );
m_bookmarkToggle->setWhatsThis(i18n("If a line has no bookmark then add one, otherwise remove it."));
m_bookmarkToggle->setCheckedState( i18n("Clear &Bookmark") );
m_bookmarkClear = new TDEAction(
i18n("Clear &All Bookmarks"), 0,
- this, TQT_SLOT(clearBookmarks()),
+ this, TQ_SLOT(clearBookmarks()),
ac, "bookmarks_clear");
m_bookmarkClear->setWhatsThis(i18n("Remove all bookmarks of the current document."));
m_goNext = new TDEAction(
i18n("Next Bookmark"), "go-next", ALT + Key_PageDown,
- this, TQT_SLOT(goNext()),
+ this, TQ_SLOT(goNext()),
ac, "bookmarks_next");
m_goNext->setWhatsThis(i18n("Go to the next bookmark."));
m_goPrevious = new TDEAction(
i18n("Previous Bookmark"), "go-previous", ALT + Key_PageUp,
- this, TQT_SLOT(goPrevious()),
+ this, TQ_SLOT(goPrevious()),
ac, "bookmarks_previous");
m_goPrevious->setWhatsThis(i18n("Go to the previous bookmark."));
//connect the aboutToShow() and aboutToHide() signals with
//the bookmarkMenuAboutToShow() and bookmarkMenuAboutToHide() slots
- connect( m_bookmarksMenu, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(bookmarkMenuAboutToShow()));
- connect( m_bookmarksMenu, TQT_SIGNAL(aboutToHide()), this, TQT_SLOT(bookmarkMenuAboutToHide()) );
+ connect( m_bookmarksMenu, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(bookmarkMenuAboutToShow()));
+ connect( m_bookmarksMenu, TQ_SIGNAL(aboutToHide()), this, TQ_SLOT(bookmarkMenuAboutToHide()) );
marksChanged ();
}
@@ -234,7 +234,7 @@ int QuantaBookmarks::insertBookmarks(TQPopupMenu& menu, Document *doc, bool inse
if ( next || prev )
menu.insertSeparator( idx );
}
- connect(&menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(gotoLineNumber(int)));
+ connect(&menu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(gotoLineNumber(int)));
}
return insertedItems;
}
@@ -361,10 +361,10 @@ void QuantaBookmarks::gotoLineNumber(int line)
Document *doc = m_doc;
if (!doc)
doc = m_viewManager->activeDocument();
- TQObject *s = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
+ TQObject *s = const_cast<TQObject*>(sender());
for (uint i = 0; i < m_othersMenuList.count(); i++)
{
- if (TQT_BASE_OBJECT(s) == TQT_BASE_OBJECT(m_othersMenuList[i]))
+ if (s == m_othersMenuList[i])
{
doc = m_others[i];
break;
@@ -395,5 +395,3 @@ void QuantaBookmarks::marksChanged ()
}
#include "quantabookmarks.moc"
-
-// kate: space-indent on; indent-width 2; replace-tabs on;
diff --git a/quanta/utility/quantabookmarks.h b/quanta/utility/quantabookmarks.h
index 71353c17..c1e4bb99 100644
--- a/quanta/utility/quantabookmarks.h
+++ b/quanta/utility/quantabookmarks.h
@@ -42,7 +42,7 @@ class TQMenuData;
class QuantaBookmarks : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -95,6 +95,3 @@ class QuantaBookmarks : public TQObject
};
#endif
-
-// kate: space-indent on; indent-width 2; replace-tabs on;
-// vim: noet ts=2
diff --git a/quanta/utility/tagaction.cpp b/quanta/utility/tagaction.cpp
index 1ea54048..71eb0e41 100644
--- a/quanta/utility/tagaction.cpp
+++ b/quanta/utility/tagaction.cpp
@@ -93,15 +93,15 @@ TagAction::TagAction( TQDomElement *element, TDEMainWindow *parentMainWindow, bo
m_file = 0L;
loopStarted = false;
#if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
- connect(this, TQT_SIGNAL(activated(TDEAction::ActivationReason, TQt::ButtonState)),
- TQT_SLOT(slotActionActivated(TDEAction::ActivationReason, TQt::ButtonState)));
+ connect(this, TQ_SIGNAL(activated(TDEAction::ActivationReason, TQt::ButtonState)),
+ TQ_SLOT(slotActionActivated(TDEAction::ActivationReason, TQt::ButtonState)));
#else
- connect(this, TQT_SIGNAL(activated()), TQT_SLOT(slotActionActivated()));
+ connect(this, TQ_SIGNAL(activated()), TQ_SLOT(slotActionActivated()));
#endif
- connect(this, TQT_SIGNAL(showMessage(const TQString&, bool)), m_parentMainWindow, TQT_SIGNAL(showMessage(const TQString&, bool)));
- connect(this, TQT_SIGNAL(clearMessages()), m_parentMainWindow, TQT_SIGNAL(clearMessages()));
- connect(this, TQT_SIGNAL(showMessagesView()), m_parentMainWindow, TQT_SLOT(slotShowMessagesView()));
- connect(this, TQT_SIGNAL(createNewFile()), m_parentMainWindow, TQT_SLOT(slotFileNew()));
+ connect(this, TQ_SIGNAL(showMessage(const TQString&, bool)), m_parentMainWindow, TQ_SIGNAL(showMessage(const TQString&, bool)));
+ connect(this, TQ_SIGNAL(clearMessages()), m_parentMainWindow, TQ_SIGNAL(clearMessages()));
+ connect(this, TQ_SIGNAL(showMessagesView()), m_parentMainWindow, TQ_SLOT(slotShowMessagesView()));
+ connect(this, TQ_SIGNAL(createNewFile()), m_parentMainWindow, TQ_SLOT(slotFileNew()));
}
TagAction::~TagAction()
@@ -434,12 +434,12 @@ bool TagAction::slotActionActivated(TDEAction::ActivationReason reason, TQt::But
firstOutput = true;
firstError = true;
- connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this,
- TQT_SLOT( slotGetScriptOutput(TDEProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this,
- TQT_SLOT( slotGetScriptError(TDEProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(processExited( TDEProcess*)), this,
- TQT_SLOT( slotProcessExited(TDEProcess*)));
+ connect( proc, TQ_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this,
+ TQ_SLOT( slotGetScriptOutput(TDEProcess*,char*,int)));
+ connect( proc, TQ_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this,
+ TQ_SLOT( slotGetScriptError(TDEProcess*,char*,int)));
+ connect( proc, TQ_SIGNAL(processExited( TDEProcess*)), this,
+ TQ_SLOT( slotProcessExited(TDEProcess*)));
@@ -688,12 +688,12 @@ bool TagAction::slotActionActivated()
firstOutput = true;
firstError = true;
- connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this,
- TQT_SLOT( slotGetScriptOutput(TDEProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this,
- TQT_SLOT( slotGetScriptError(TDEProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(processExited( TDEProcess*)), this,
- TQT_SLOT( slotProcessExited(TDEProcess*)));
+ connect( proc, TQ_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this,
+ TQ_SLOT( slotGetScriptOutput(TDEProcess*,char*,int)));
+ connect( proc, TQ_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this,
+ TQ_SLOT( slotGetScriptError(TDEProcess*,char*,int)));
+ connect( proc, TQ_SIGNAL(processExited( TDEProcess*)), this,
+ TQ_SLOT( slotProcessExited(TDEProcess*)));
@@ -991,7 +991,7 @@ void TagAction::execute(bool blocking)
{
//To avoid lock-ups, start a timer.
timer = new TQTimer(this);
- connect(timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout()));
+ connect(timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimeout()));
timer->start(180*1000, true);
QExtFileInfo internalFileInfo;
loopStarted = true;
diff --git a/quanta/utility/tagaction.h b/quanta/utility/tagaction.h
index eeff1560..783665e3 100644
--- a/quanta/utility/tagaction.h
+++ b/quanta/utility/tagaction.h
@@ -46,7 +46,7 @@ class NodeSelection;
class TagAction : public TDEToggleAction
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/utility/tagactionset.cpp b/quanta/utility/tagactionset.cpp
index 116832e9..72c764ea 100644
--- a/quanta/utility/tagactionset.cpp
+++ b/quanta/utility/tagactionset.cpp
@@ -102,17 +102,17 @@ void TagActionSet::initActions(TQWidget* /*parent*/)
const char *actionName = "apply_source_indentation";
new TDEAction(i18n("Apply Source Indentation"), 0, this,
- TQT_SLOT(slotApplySourceIndentation()),
+ TQ_SLOT(slotApplySourceIndentation()),
ac, actionName);
actionName = "copy_div_element";
new TDEAction(i18n("Copy DIV Area"), 0, this,
- TQT_SLOT(slotCopyDivElement()),
+ TQ_SLOT(slotCopyDivElement()),
ac, actionName);
actionName = "cut_div_element";
new TDEAction(i18n("Cut DIV Area"), 0, this,
- TQT_SLOT(slotCutDivElement()),
+ TQ_SLOT(slotCutDivElement()),
ac, actionName);
}
@@ -281,7 +281,7 @@ void TableTagActionSet::initActionMenus(TQWidget* widget)
{
Q_ASSERT(!m_tableActionMenu_0);
- m_tableActionMenu_0 = new TDEActionMenu(i18n("Table..."), TQT_TQOBJECT(widget));
+ m_tableActionMenu_0 = new TDEActionMenu(i18n("Table..."), widget);
m_insertActionMenu_1 = new TDEActionMenu(i18n("Insert..."), m_tableActionMenu_0);
m_removeActionMenu_1 = new TDEActionMenu(i18n("Remove..."), m_tableActionMenu_0);
}
@@ -299,31 +299,31 @@ void TableTagActionSet::initActions(TQWidget* parent)
const char *actionName = "insert_table";
//m_actionNames += actionName;
new TDEAction(i18n("Table..."), 0, this,
- TQT_SLOT(slotInsertTable()),
+ TQ_SLOT(slotInsertTable()),
ac, actionName);
actionName = "insert_row_above";
//m_actionNames += actionName;
new TDEAction(i18n("Row Above"), 0, this,
- TQT_SLOT(slotInsertRowAbove()),
+ TQ_SLOT(slotInsertRowAbove()),
ac, actionName);
actionName = "insert_row_below";
//m_actionNames += actionName;
new TDEAction(i18n("Row Below"), 0, this,
- TQT_SLOT(slotInsertRowBelow()),
+ TQ_SLOT(slotInsertRowBelow()),
ac, actionName);
actionName = "insert_column_left";
//m_actionNames += actionName;
new TDEAction(i18n("Column Left"), 0, this,
- TQT_SLOT(slotInsertColumnLeft()),
+ TQ_SLOT(slotInsertColumnLeft()),
ac, actionName);
actionName = "insert_column_right";
//m_actionNames += actionName;
new TDEAction(i18n("Column Right"), 0, this,
- TQT_SLOT(slotInsertColumnRight()),
+ TQ_SLOT(slotInsertColumnRight()),
ac, actionName);
// Remove___________________________________________________________________________
@@ -331,31 +331,31 @@ void TableTagActionSet::initActions(TQWidget* parent)
actionName = "remove_table";
//m_actionNames += actionName;
new TDEAction(i18n("Table"), 0, this,
- TQT_SLOT(slotRemoveTable()),
+ TQ_SLOT(slotRemoveTable()),
ac, actionName);
actionName = "remove_rows";
//m_actionNames += actionName;
new TDEAction(i18n("Row(s)"), 0, this,
- TQT_SLOT(slotRemoveRows()),
+ TQ_SLOT(slotRemoveRows()),
ac, actionName);
actionName = "remove_columns";
//m_actionNames += actionName;
new TDEAction(i18n("Column(s)"), 0, this,
- TQT_SLOT(slotRemoveColumns()),
+ TQ_SLOT(slotRemoveColumns()),
ac, actionName);
actionName = "remove_cells";
//m_actionNames += actionName;
new TDEAction(i18n("Cell(s)"), 0, this,
- TQT_SLOT(slotRemoveCells()),
+ TQ_SLOT(slotRemoveCells()),
ac, actionName);
actionName = "remove_cells_content";
//m_actionNames += actionName;
new TDEAction(i18n("Cell(s) Content"), 0, this,
- TQT_SLOT(slotRemoveCellsContent()),
+ TQ_SLOT(slotRemoveCellsContent()),
ac, actionName);
// Merge___________________________________________________________________________
@@ -363,7 +363,7 @@ void TableTagActionSet::initActions(TQWidget* parent)
actionName = "merge_selected_cells";
//m_actionNames += actionName;
new TDEAction(i18n("Merge Selected Cells"), 0, this,
- TQT_SLOT(slotMergeSelectedCells()),
+ TQ_SLOT(slotMergeSelectedCells()),
ac, actionName);
}
diff --git a/quanta/utility/tagactionset.h b/quanta/utility/tagactionset.h
index 9e056543..7ecc6d1a 100644
--- a/quanta/utility/tagactionset.h
+++ b/quanta/utility/tagactionset.h
@@ -37,7 +37,7 @@ class NodeModifsSet;
*/
class TagActionSetAbstract : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
TagActionSetAbstract(TQObject *parent = 0, const char *name = 0);
@@ -66,7 +66,7 @@ private:
class TagActionSet : public TagActionSetAbstract
{
- Q_OBJECT
+ TQ_OBJECT
public:
TagActionSet(TQObject *parent = 0, const char *name = 0);
@@ -95,7 +95,7 @@ private:
class TableTagActionSet : public TagActionSetAbstract
{
- Q_OBJECT
+ TQ_OBJECT
public:
TableTagActionSet(TQObject *parent = 0, const char *name = 0);
diff --git a/quanta/utility/toolbartabwidget.cpp b/quanta/utility/toolbartabwidget.cpp
index 26765eee..e23145e3 100644
--- a/quanta/utility/toolbartabwidget.cpp
+++ b/quanta/utility/toolbartabwidget.cpp
@@ -43,23 +43,23 @@ ToolbarTabWidget::ToolbarTabWidget(TQWidget * parent, const char * name, WFlags
{
m_popupMenu = new TDEPopupMenu(this);
m_popupMenu->insertTitle(i18n("Toolbar Menu"), 1);
- m_popupMenu->insertItem(i18n("New Action..."), parent, TQT_SLOT(slotNewAction()));
+ m_popupMenu->insertItem(i18n("New Action..."), parent, TQ_SLOT(slotNewAction()));
m_popupMenu->insertSeparator();
- m_popupMenu->insertItem(i18n("New Toolbar..."), parent, TQT_SLOT(slotAddToolbar()));
- m_popupMenu->insertItem(i18n("Remove Toolbar"), this, TQT_SLOT(slotRemoveToolbar()));
- m_popupMenu->insertItem(i18n("Rename Toolbar..."), this, TQT_SLOT(slotRenameToolbar()));
- m_popupMenu->insertItem(SmallIconSet("configure_toolbars"), i18n("Configure Toolbars..."), this, TQT_SLOT(slotEditToolbar()));
+ m_popupMenu->insertItem(i18n("New Toolbar..."), parent, TQ_SLOT(slotAddToolbar()));
+ m_popupMenu->insertItem(i18n("Remove Toolbar"), this, TQ_SLOT(slotRemoveToolbar()));
+ m_popupMenu->insertItem(i18n("Rename Toolbar..."), this, TQ_SLOT(slotRenameToolbar()));
+ m_popupMenu->insertItem(SmallIconSet("configure_toolbars"), i18n("Configure Toolbars..."), this, TQ_SLOT(slotEditToolbar()));
- connect(this, TQT_SIGNAL(removeToolbar(const TQString&)),
- parent, TQT_SLOT(slotRemoveToolbar(const TQString&)));
- connect(this, TQT_SIGNAL(renameToolbar(const TQString&)),
- parent, TQT_SLOT(slotRenameToolbar(const TQString&)));
- connect(this, TQT_SIGNAL(editToolbar(const TQString&)),
- parent, TQT_SLOT(slotConfigureToolbars(const TQString&)));
- connect(this, TQT_SIGNAL(newAction()),
- parent, TQT_SLOT(slotNewAction()));
- connect(this, TQT_SIGNAL(addToolbar()),
- parent, TQT_SLOT(slotAddToolbar()));
+ connect(this, TQ_SIGNAL(removeToolbar(const TQString&)),
+ parent, TQ_SLOT(slotRemoveToolbar(const TQString&)));
+ connect(this, TQ_SIGNAL(renameToolbar(const TQString&)),
+ parent, TQ_SLOT(slotRenameToolbar(const TQString&)));
+ connect(this, TQ_SIGNAL(editToolbar(const TQString&)),
+ parent, TQ_SLOT(slotConfigureToolbars(const TQString&)));
+ connect(this, TQ_SIGNAL(newAction()),
+ parent, TQ_SLOT(slotNewAction()));
+ connect(this, TQ_SIGNAL(addToolbar()),
+ parent, TQ_SLOT(slotAddToolbar()));
TDEAcceleratorManager::setNoAccel(this);
}
@@ -157,7 +157,7 @@ void ToolbarTabWidget::slotEditToolbar()
void ToolbarTabWidget::mousePressEvent ( TQMouseEvent * e )
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
TQPoint p = e->globalPos();
TQTab *tab = 0L;
@@ -235,8 +235,8 @@ QuantaToolBar::QuantaToolBar(TQWidget *parent, const char *name, bool honor_styl
m_iconTextMenu->insertItem(i18n("Text Only"), 1);
m_iconTextMenu->insertItem(i18n("Text Alongside Icons"), 2);
m_iconTextMenu->insertItem(i18n("Text Under Icons"), 3);
- connect(m_iconTextMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotIconTextChanged(int)));
- connect(m_iconTextMenu, TQT_SIGNAL(aboutToShow()), TQT_SLOT(slotIconTextMenuAboutToShow()));
+ connect(m_iconTextMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(slotIconTextChanged(int)));
+ connect(m_iconTextMenu, TQ_SIGNAL(aboutToShow()), TQ_SLOT(slotIconTextMenuAboutToShow()));
setIconText(ToolbarTabWidget::ref()->iconText(), false);
}
@@ -296,7 +296,7 @@ void QuantaToolBar::slotIconTextChanged(int id)
void QuantaToolBar::mousePressEvent(TQMouseEvent *e)
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
m_popupMenu->clear();
TQPoint p = e->globalPos();
@@ -306,29 +306,29 @@ void QuantaToolBar::mousePressEvent(TQMouseEvent *e)
m_toolbarTab->tabUnderMouseLabel = m_toolbarTab->label(m_toolbarTab->currentPageIndex());
m_popupMenu->insertTitle(i18n("Toolbar Menu") + " - "
+ i18n(m_toolbarTab->tabUnderMouseLabel.utf8()));
- m_popupMenu->insertItem(i18n("New Action..."), m_toolbarTab, TQT_SIGNAL(newAction()));
+ m_popupMenu->insertItem(i18n("New Action..."), m_toolbarTab, TQ_SIGNAL(newAction()));
TQObjectList* childrenList = queryList("TDEToolBarButton");
for (uint i = 0; i < childrenList->count(); i++)
{
- TDEToolBarButton *w = static_cast<TDEToolBarButton*>(TQT_TQWIDGET(childrenList->at(i)));
+ TDEToolBarButton *w = static_cast<TDEToolBarButton*>(childrenList->at(i));
TQPoint p1 = w->parentWidget()->mapToGlobal(w->pos());
TQPoint p2 = TQPoint(p1.x() + w->width(), p1.y()+w->height());
if (TQRect(p1, p2).contains(p))
{
currentActionName = w->textLabel();
TQString actionName = currentActionName;
- m_popupMenu->insertItem(i18n("Remove Action - %1").arg(actionName.replace('&',"&&")), this, TQT_SLOT(slotRemoveAction()));
- m_popupMenu->insertItem(i18n("Edit Action - %1").arg(actionName), this, TQT_SLOT(slotEditAction()));
+ m_popupMenu->insertItem(i18n("Remove Action - %1").arg(actionName.replace('&',"&&")), this, TQ_SLOT(slotRemoveAction()));
+ m_popupMenu->insertItem(i18n("Edit Action - %1").arg(actionName), this, TQ_SLOT(slotEditAction()));
break;
}
}
m_popupMenu->insertSeparator();
- m_popupMenu->insertItem(i18n("New Toolbar..."), m_toolbarTab, TQT_SIGNAL(addToolbar()));
- m_popupMenu->insertItem(i18n("Remove Toolbar"), m_toolbarTab, TQT_SLOT(slotRemoveToolbar()));
- m_popupMenu->insertItem(i18n("Rename Toolbar..."), m_toolbarTab, TQT_SLOT(slotRenameToolbar()));
+ m_popupMenu->insertItem(i18n("New Toolbar..."), m_toolbarTab, TQ_SIGNAL(addToolbar()));
+ m_popupMenu->insertItem(i18n("Remove Toolbar"), m_toolbarTab, TQ_SLOT(slotRemoveToolbar()));
+ m_popupMenu->insertItem(i18n("Rename Toolbar..."), m_toolbarTab, TQ_SLOT(slotRenameToolbar()));
m_popupMenu->insertSeparator();
m_popupMenu->insertItem( i18n("Text Position"), m_iconTextMenu);
- m_popupMenu->insertItem(SmallIconSet("configure_toolbars"), i18n("Configure Toolbars..."), m_toolbarTab, TQT_SLOT(slotEditToolbar()));
+ m_popupMenu->insertItem(SmallIconSet("configure_toolbars"), i18n("Configure Toolbars..."), m_toolbarTab, TQ_SLOT(slotEditToolbar()));
}
m_popupMenu->popup(p);
}
diff --git a/quanta/utility/toolbartabwidget.h b/quanta/utility/toolbartabwidget.h
index a8ce9ecc..3536ca83 100644
--- a/quanta/utility/toolbartabwidget.h
+++ b/quanta/utility/toolbartabwidget.h
@@ -26,7 +26,7 @@ class TDEToolBar;
class ToolbarTabWidget: public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQWidgetStack *m_widgetStack;
@@ -84,7 +84,7 @@ private:
class QuantaToolBar: public TDEToolBar
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/translations/desktop_files/kimagemapeditor-desktops/bg.po b/translations/desktop_files/kimagemapeditor-desktops/bg.po
new file mode 100644
index 00000000..e9d7406b
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/bg.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Редактор на маркирания на изображения за HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Редактор на маркирания на изображения за HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Редактор на маркирания на изображения за HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/ca.po b/translations/desktop_files/kimagemapeditor-desktops/ca.po
new file mode 100644
index 00000000..354f9908
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/ca.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Un editor de mapes d'imatge HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Un editor de mapes d'imatge HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Un editor de mapes d'imatge HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/cs.po b/translations/desktop_files/kimagemapeditor-desktops/cs.po
new file mode 100644
index 00000000..d2126596
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/cs.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Editor HTML map"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor HTML map"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Editor HTML map"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/da.po b/translations/desktop_files/kimagemapeditor-desktops/da.po
new file mode 100644
index 00000000..5d26c91e
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/da.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML editor af kortbilleder"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML editor af kortbilleder"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "En HTML-editor af kortbilleder"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/de.po b/translations/desktop_files/kimagemapeditor-desktops/de.po
new file mode 100644
index 00000000..05ec776c
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/de.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Editor für HTML-Bildkarten (Imagemaps)"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor für HTML-Bildkarten (Imagemaps)"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Ein Editor für HTML-Bildkarten (Imagemaps)"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/el.po b/translations/desktop_files/kimagemapeditor-desktops/el.po
new file mode 100644
index 00000000..5e4b6328
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/el.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML επεξεργαστής εικόνων"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML επεξεργαστής εικόνων"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML επεξεργαστής εικόνων"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/es.po b/translations/desktop_files/kimagemapeditor-desktops/es.po
new file mode 100644
index 00000000..76a11364
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/es.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Editor de mapas de imágenes HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor de mapas de imágenes HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Un editor de mapas de imágenes HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/et.po b/translations/desktop_files/kimagemapeditor-desktops/et.po
new file mode 100644
index 00000000..d3885703
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/et.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: et\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Hüperpildiredaktor"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Hüperpildiredaktor"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Hüperpildiredaktor"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/eu.po b/translations/desktop_files/kimagemapeditor-desktops/eu.po
new file mode 100644
index 00000000..e283492c
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/eu.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML irudi-mapa editorea"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML irudi-mapa editorea"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML irudi-mapa editore bat"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/fa.po b/translations/desktop_files/kimagemapeditor-desktops/fa.po
new file mode 100644
index 00000000..00055620
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/fa.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "ویرایشگر نگاشت تصویر زنگام"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "ویرایشگر نگاشت تصویر زنگام"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "یک ویرایشگر نگاشت تصویر زنگام"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/fi.po b/translations/desktop_files/kimagemapeditor-desktops/fi.po
new file mode 100644
index 00000000..7de9f89b
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/fi.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML-kuvaeditori"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML-kuvaeditori"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML-imagemap -editori"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/fr.po b/translations/desktop_files/kimagemapeditor-desktops/fr.po
new file mode 100644
index 00000000..acf81955
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/fr.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Éditeur d'hyperimages HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Éditeur d'hyperimages HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Éditeur d'hyperimages HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/gl.po b/translations/desktop_files/kimagemapeditor-desktops/gl.po
new file mode 100644
index 00000000..4f0d9067
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/gl.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Editor de mapas de imaxes HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor de mapas de imaxes HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Un editor de mapas de imaxes HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/hu.po b/translations/desktop_files/kimagemapeditor-desktops/hu.po
new file mode 100644
index 00000000..31ef388b
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/hu.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML-térképszerkesztő"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML-térképszerkesztő"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML-térképszerkesztő"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/is.po b/translations/desktop_files/kimagemapeditor-desktops/is.po
new file mode 100644
index 00000000..91399144
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/is.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: is\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML myndakortsritill"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML myndakortsritill"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML myndakortsritill"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/it.po b/translations/desktop_files/kimagemapeditor-desktops/it.po
new file mode 100644
index 00000000..128411ac
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/it.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Michele Calgaro <michele.calgaro@yahoo.it>, 2022.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: 2022-05-08 17:57+0000\n"
+"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
+"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/tdewebdev/kimagemapeditor-desktop-files/it/>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.12.1\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "KImageMapEditor"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor per le mappe di immagini HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Un editor per le mappe di immagini HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/ja.po b/translations/desktop_files/kimagemapeditor-desktops/ja.po
new file mode 100644
index 00000000..fed87b3c
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/ja.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML イメージマップエディタ"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML イメージマップエディタ"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML イメージマップエディタ"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/ka.po b/translations/desktop_files/kimagemapeditor-desktops/ka.po
new file mode 100644
index 00000000..b73e092c
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/ka.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ka\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML გამოსახულების რუქის რედაქტორი"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML გამოსახულების რუქის რედაქტორი"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML გამოსახულების რუქის რედაქტორი"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/kimagemapeditor-desktops.pot b/translations/desktop_files/kimagemapeditor-desktops/kimagemapeditor-desktops.pot
new file mode 100644
index 00000000..b628ac8c
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/kimagemapeditor-desktops.pot
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr ""
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr ""
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr ""
diff --git a/translations/desktop_files/kimagemapeditor-desktops/lt.po b/translations/desktop_files/kimagemapeditor-desktops/lt.po
new file mode 100644
index 00000000..8d70bc72
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/lt.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: lt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML paveikslėlių žemėlapių rengyklė"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML paveikslėlių žemėlapių rengyklė"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML paveikslėlių žemėlapių rengyklė"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/ms.po b/translations/desktop_files/kimagemapeditor-desktops/ms.po
new file mode 100644
index 00000000..1050e15e
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/ms.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Penyunting Peta Imej HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Penyunting Peta Imej HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Penyunting Peta Imej HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/nds.po b/translations/desktop_files/kimagemapeditor-desktops/nds.po
new file mode 100644
index 00000000..e64df297
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/nds.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nds\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Editor för HTML-Bildkoorten"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor för HTML-Bildkoorten"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "En Editor för HTML-Bildkoorten"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/ne.po b/translations/desktop_files/kimagemapeditor-desktops/ne.po
new file mode 100644
index 00000000..300c46c4
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/ne.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ne\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "केडीई छवि मानचित्र सम्पादक"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "एचटीएमएल छवि मानचित्र सम्पादक"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "एउटा एचटीएमएल छवि मानचित्र सम्पादकस"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/nl.po b/translations/desktop_files/kimagemapeditor-desktops/nl.po
new file mode 100644
index 00000000..6677d43c
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/nl.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML imagemap editor"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML imagemap editor"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Een hulpmiddel om HTML imagemaps te maken"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/pa.po b/translations/desktop_files/kimagemapeditor-desktops/pa.po
new file mode 100644
index 00000000..59cf4752
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/pa.po
@@ -0,0 +1,34 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML ਚਿੱਤਰ ਨਕਸ਼ਾ ਸੰਪਾਦਕ"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML ਚਿੱਤਰ ਨਕਸ਼ਾ ਸੰਪਾਦਕ"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+#, fuzzy
+msgid "An HTML imagemap editor"
+msgstr "HTML ਚਿੱਤਰ ਨਕਸ਼ਾ ਸੰਪਾਦਕ"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/pl.po b/translations/desktop_files/kimagemapeditor-desktops/pl.po
new file mode 100644
index 00000000..c44e9c0a
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/pl.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Edytor map obrazków HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Edytor map obrazków HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Edytor map obrazków HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/pt.po b/translations/desktop_files/kimagemapeditor-desktops/pt.po
new file mode 100644
index 00000000..9141f839
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/pt.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Editor de Mapas de Imagem HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor de Mapas de Imagem HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Editor de Mapas de Imagem HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/pt_BR.po b/translations/desktop_files/kimagemapeditor-desktops/pt_BR.po
new file mode 100644
index 00000000..2caa8ddb
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/pt_BR.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "KEditor de Mapeamento de Imagem"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor de Mapeamento de Imagem HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Um editor de mapeamento de imagem HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/ru.po b/translations/desktop_files/kimagemapeditor-desktops/ru.po
new file mode 100644
index 00000000..1080a0a9
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/ru.po
@@ -0,0 +1,34 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Andrei Stepanov <adem4ik@gmail.com>, 2023.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: 2023-12-17 17:55+0000\n"
+"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
+"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/tdewebdev/kimagemapeditor-desktop-files/ru/>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "KImageMapEditor"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Редактор карт изображений HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Редактор HTML imagemap"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/sk.po b/translations/desktop_files/kimagemapeditor-desktops/sk.po
new file mode 100644
index 00000000..acb3cc11
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/sk.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "KImage editor mapy"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Editor HTML mapy obrázkov"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Editor HTML mapy obrázkov"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/sl.po b/translations/desktop_files/kimagemapeditor-desktops/sl.po
new file mode 100644
index 00000000..5a101cb2
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/sl.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Urejevalnik slikovnih zemljevidov v HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Urejevalnik slikovnih zemljevidov v HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Urejevalnik slikovnih zemljevidov v HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/sr.po b/translations/desktop_files/kimagemapeditor-desktops/sr.po
new file mode 100644
index 00000000..42cfe78b
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/sr.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Уређивач HTML сликовне мапе"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Уређивач HTML сликовне мапе"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Уређивач HTML сликовне мапе"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/sr@Latn.po b/translations/desktop_files/kimagemapeditor-desktops/sr@Latn.po
new file mode 100644
index 00000000..c0c69c71
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/sr@Latn.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr@Latn\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Uređivač HTML slikovne mape"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Uređivač HTML slikovne mape"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Uređivač HTML slikovne mape"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/sv.po b/translations/desktop_files/kimagemapeditor-desktops/sv.po
new file mode 100644
index 00000000..9fc76cce
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/sv.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "Kimagemapeditor"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Redigering av HTML-bildkartor"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "En editor för HTML-bildkartor"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/ta.po b/translations/desktop_files/kimagemapeditor-desktops/ta.po
new file mode 100644
index 00000000..643435cf
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/ta.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ta\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "Kவடிவம் வரைப்படம் திருத்தி"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML வடிவம் வரைப்படம் திருத்தி"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "An HTML வடிவம் வரைப்படம் திருத்தி"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/tg.po b/translations/desktop_files/kimagemapeditor-desktops/tg.po
new file mode 100644
index 00000000..24e8a72f
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/tg.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "KМуҳаррири тасвири ҳарита"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Муҳаррири тасвири ҳаритаи HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Муҳаррири тасвири ҳаритаи HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/tr.po b/translations/desktop_files/kimagemapeditor-desktops/tr.po
new file mode 100644
index 00000000..d3190cb6
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/tr.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+msgid "KImageMapEditor"
+msgstr "K Resim Haritası Düzenleyicisi"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML Resim Haritası Düzenleyicisi"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Bir HTML resim_haritası düzenleyicisi"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/uk.po b/translations/desktop_files/kimagemapeditor-desktops/uk.po
new file mode 100644
index 00000000..9c4d2864
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/uk.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "Редактор карт зображень HTML"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "Редактор карт зображень HTML"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "Редактор imagemap HTML"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/zh_CN.po b/translations/desktop_files/kimagemapeditor-desktops/zh_CN.po
new file mode 100644
index 00000000..d97a2471
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/zh_CN.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML 图像映射编辑器"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML 图像映射编辑器"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "HTML 图像映射编辑器"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/zh_HK.po b/translations/desktop_files/kimagemapeditor-desktops/zh_HK.po
new file mode 100644
index 00000000..958574ad
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/zh_HK.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML 影像地圖編輯器"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML 影像地圖編輯器"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "一個 HTML 影像地圖的編輯器"
diff --git a/translations/desktop_files/kimagemapeditor-desktops/zh_TW.po b/translations/desktop_files/kimagemapeditor-desktops/zh_TW.po
new file mode 100644
index 00000000..ceb23127
--- /dev/null
+++ b/translations/desktop_files/kimagemapeditor-desktops/zh_TW.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:54+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kimagemapeditor.desktop:2 kimagemapeditorpart.desktop:2
+#, fuzzy
+msgid "KImageMapEditor"
+msgstr "HTML 影像地圖編輯器"
+
+#. GenericName
+#: kimagemapeditor.desktop:4
+msgid "HTML Image Map Editor"
+msgstr "HTML 影像地圖編輯器"
+
+#. Comment
+#: kimagemapeditorpart.desktop:4
+msgid "An HTML imagemap editor"
+msgstr "一個 HTML 影像地圖的編輯器"
diff --git a/translations/desktop_files/klinkstatus-desktops/bg.po b/translations/desktop_files/klinkstatus-desktops/bg.po
new file mode 100644
index 00000000..2aef8f47
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/bg.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Проверка на препратки"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/ca.po b/translations/desktop_files/klinkstatus-desktops/ca.po
new file mode 100644
index 00000000..ae85617d
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/ca.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Comprovador d'enllaços"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/cs.po b/translations/desktop_files/klinkstatus-desktops/cs.po
new file mode 100644
index 00000000..472edaf7
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/cs.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Kontrola odkazů"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/da.po b/translations/desktop_files/klinkstatus-desktops/da.po
new file mode 100644
index 00000000..19e497b9
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/da.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Link-tjekker"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/de.po b/translations/desktop_files/klinkstatus-desktops/de.po
new file mode 100644
index 00000000..0a258500
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/de.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+#, fuzzy
+msgid "KLinkStatus"
+msgstr "KLinkStatus-Komponente"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Überprüfungswerkzeug für Verknüpfungen"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "KLinkStatus-Komponente"
diff --git a/translations/desktop_files/klinkstatus-desktops/el.po b/translations/desktop_files/klinkstatus-desktops/el.po
new file mode 100644
index 00000000..3d263193
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/el.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Ελεγκτής σύνδεσης"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/es.po b/translations/desktop_files/klinkstatus-desktops/es.po
new file mode 100644
index 00000000..3ff3b3f6
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/es.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Comprobador de enlaces"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/et.po b/translations/desktop_files/klinkstatus-desktops/et.po
new file mode 100644
index 00000000..c9c2b153
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/et.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: et\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Viidakontrollija"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/eu.po b/translations/desktop_files/klinkstatus-desktops/eu.po
new file mode 100644
index 00000000..67daf684
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/eu.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Esteka egiaztatzailea"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/fa.po b/translations/desktop_files/klinkstatus-desktops/fa.po
new file mode 100644
index 00000000..96805adb
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/fa.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "بررسی‌کنندۀ پیوند"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/fi.po b/translations/desktop_files/klinkstatus-desktops/fi.po
new file mode 100644
index 00000000..3754a616
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/fi.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Linkkien tarkistaja"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/fr.po b/translations/desktop_files/klinkstatus-desktops/fr.po
new file mode 100644
index 00000000..c2234c37
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/fr.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+#, fuzzy
+msgid "KLinkStatus"
+msgstr "Composant de KLinkStatus"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Vérificateur de liens"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "Composant de KLinkStatus"
diff --git a/translations/desktop_files/klinkstatus-desktops/gl.po b/translations/desktop_files/klinkstatus-desktops/gl.po
new file mode 100644
index 00000000..fc5051d3
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/gl.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Verificador de ligazóns"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/hu.po b/translations/desktop_files/klinkstatus-desktops/hu.po
new file mode 100644
index 00000000..b42770ec
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/hu.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Linkellenőrző"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/is.po b/translations/desktop_files/klinkstatus-desktops/is.po
new file mode 100644
index 00000000..84e343d7
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/is.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: is\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Yfirfer tengla"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/it.po b/translations/desktop_files/klinkstatus-desktops/it.po
new file mode 100644
index 00000000..99a9b7a2
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/it.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Michele Calgaro <michele.calgaro@yahoo.it>, 2022.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: 2022-05-13 06:21+0000\n"
+"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
+"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/tdewebdev/klinkstatus-desktop-files/it/>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.12.2\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr "KLinkStatus"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Controllo dei collegamenti"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "KLinkStatusPart"
diff --git a/translations/desktop_files/klinkstatus-desktops/ja.po b/translations/desktop_files/klinkstatus-desktops/ja.po
new file mode 100644
index 00000000..413be44a
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/ja.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "リンクチェッカー"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/ka.po b/translations/desktop_files/klinkstatus-desktops/ka.po
new file mode 100644
index 00000000..beaed44f
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/ka.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ka\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "ბმულების შემმოწმებელი"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/klinkstatus-desktops.pot b/translations/desktop_files/klinkstatus-desktops/klinkstatus-desktops.pot
new file mode 100644
index 00000000..8acd30e4
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/klinkstatus-desktops.pot
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr ""
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/lt.po b/translations/desktop_files/klinkstatus-desktops/lt.po
new file mode 100644
index 00000000..cf3d0545
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/lt.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: lt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Nuorody tikrintuvė"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/ms.po b/translations/desktop_files/klinkstatus-desktops/ms.po
new file mode 100644
index 00000000..d99000c8
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/ms.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Pemeriksa Pautan"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/nds.po b/translations/desktop_files/klinkstatus-desktops/nds.po
new file mode 100644
index 00000000..3aee954b
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/nds.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nds\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+#, fuzzy
+msgid "KLinkStatus"
+msgstr "KLinkStatus-Komponent"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Linkprööv"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "KLinkStatus-Komponent"
diff --git a/translations/desktop_files/klinkstatus-desktops/ne.po b/translations/desktop_files/klinkstatus-desktops/ne.po
new file mode 100644
index 00000000..e2471379
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/ne.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ne\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr "केडीई लिङ्क स्थिति"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "लिङ्क परीक्षक"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "केडीई लिङ्क वस्तुस्थिति भाग"
diff --git a/translations/desktop_files/klinkstatus-desktops/nl.po b/translations/desktop_files/klinkstatus-desktops/nl.po
new file mode 100644
index 00000000..a4246001
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/nl.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Linkchecker"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/pl.po b/translations/desktop_files/klinkstatus-desktops/pl.po
new file mode 100644
index 00000000..c02f5044
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/pl.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Program sprawdzający odnośniki"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/pt.po b/translations/desktop_files/klinkstatus-desktops/pt.po
new file mode 100644
index 00000000..fc3a8d0c
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/pt.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Verificação de Ligações"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/pt_BR.po b/translations/desktop_files/klinkstatus-desktops/pt_BR.po
new file mode 100644
index 00000000..86a1ac6d
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/pt_BR.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+#, fuzzy
+msgid "KLinkStatus"
+msgstr "Componente do KLinkStatus"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Verificador de Links"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "Componente do KLinkStatus"
diff --git a/translations/desktop_files/klinkstatus-desktops/ru.po b/translations/desktop_files/klinkstatus-desktops/ru.po
new file mode 100644
index 00000000..7491b9aa
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/ru.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+#, fuzzy
+msgid "KLinkStatus"
+msgstr "Компонент KLinkStatus"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Проверка ссылок"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "Компонент KLinkStatus"
diff --git a/translations/desktop_files/klinkstatus-desktops/sk.po b/translations/desktop_files/klinkstatus-desktops/sk.po
new file mode 100644
index 00000000..7fb1c29e
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/sk.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr "KLink status"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Kontrole spojenia"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "KLink status Part"
diff --git a/translations/desktop_files/klinkstatus-desktops/sl.po b/translations/desktop_files/klinkstatus-desktops/sl.po
new file mode 100644
index 00000000..2c5fb432
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/sl.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Preverjalnik povezav"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/sr.po b/translations/desktop_files/klinkstatus-desktops/sr.po
new file mode 100644
index 00000000..a0ed5002
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/sr.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Провера везе"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/sr@Latn.po b/translations/desktop_files/klinkstatus-desktops/sr@Latn.po
new file mode 100644
index 00000000..0287f1de
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/sr@Latn.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr@Latn\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Provera veze"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/sv.po b/translations/desktop_files/klinkstatus-desktops/sv.po
new file mode 100644
index 00000000..ece4ad40
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/sv.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr "Klinkstatus"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Länkkontroll"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "Klinkstatus-delprogram"
diff --git a/translations/desktop_files/klinkstatus-desktops/ta.po b/translations/desktop_files/klinkstatus-desktops/ta.po
new file mode 100644
index 00000000..f46f8150
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/ta.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ta\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr "Kதொகுதி நிலைமை"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "இணைப்பு சரிபார்ப்பான்"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "Kதொகுதி நிலைமை பகுதி"
diff --git a/translations/desktop_files/klinkstatus-desktops/tg.po b/translations/desktop_files/klinkstatus-desktops/tg.po
new file mode 100644
index 00000000..8f754111
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/tg.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+#, fuzzy
+msgid "KLinkStatus"
+msgstr "Қисми KLinkStatus"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Тафтиши истинод"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr "Қисми KLinkStatus"
diff --git a/translations/desktop_files/klinkstatus-desktops/tr.po b/translations/desktop_files/klinkstatus-desktops/tr.po
new file mode 100644
index 00000000..f0e8809f
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/tr.po
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr "K Köprü Durumu"
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Bağlantı Kontrolcüsü"
+
+#. Name
+#: klinkstatus_part.desktop:2
+#, fuzzy
+msgid "KLinkStatusPart"
+msgstr "K Köprü Durumu"
diff --git a/translations/desktop_files/klinkstatus-desktops/uk.po b/translations/desktop_files/klinkstatus-desktops/uk.po
new file mode 100644
index 00000000..e4d69d37
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/uk.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "Перевірка посилань"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/zh_CN.po b/translations/desktop_files/klinkstatus-desktops/zh_CN.po
new file mode 100644
index 00000000..34ae0e82
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/zh_CN.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "链接检查器"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/zh_HK.po b/translations/desktop_files/klinkstatus-desktops/zh_HK.po
new file mode 100644
index 00000000..11bb6c13
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/zh_HK.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "連結檢查程式"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/klinkstatus-desktops/zh_TW.po b/translations/desktop_files/klinkstatus-desktops/zh_TW.po
new file mode 100644
index 00000000..7aa364a4
--- /dev/null
+++ b/translations/desktop_files/klinkstatus-desktops/zh_TW.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: klinkstatus.desktop:2
+msgid "KLinkStatus"
+msgstr ""
+
+#. GenericName
+#: klinkstatus.desktop:4
+msgid "Link Checker"
+msgstr "連結檢查程式"
+
+#. Name
+#: klinkstatus_part.desktop:2
+msgid "KLinkStatusPart"
+msgstr ""
diff --git a/translations/desktop_files/kommander-desktops/bg.po b/translations/desktop_files/kommander-desktops/bg.po
new file mode 100644
index 00000000..6e663c51
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/bg.po
@@ -0,0 +1,56 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+#, fuzzy
+msgid "Kommander Editor"
+msgstr "Файл на Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Редактор за диалогови прозорци"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Файл на Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Изпълнение на диалогови прозорци"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Файл на Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Графични обекти"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Файл на Kommander"
diff --git a/translations/desktop_files/kommander-desktops/br.po b/translations/desktop_files/kommander-desktops/br.po
new file mode 100644
index 00000000..6be12cf2
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/br.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: br\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Aozer Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr ""
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Aozer Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr ""
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Aozer Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Widgetoù"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Restr Kommander"
diff --git a/translations/desktop_files/kommander-desktops/ca.po b/translations/desktop_files/kommander-desktops/ca.po
new file mode 100644
index 00000000..2a9c86f9
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ca.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Editor Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor de diàlegs dinàmics"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Executor Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Executor per a diàlegs de Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Part del Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Estris"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Fitxer de Kommander"
diff --git a/translations/desktop_files/kommander-desktops/cs.po b/translations/desktop_files/kommander-desktops/cs.po
new file mode 100644
index 00000000..83a734f0
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/cs.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Editor Kommanderu"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor dynamických dialogů"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Spouštěč Kommanderu"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Spouštěč dialogů Kommanderu"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Editor Kommanderu"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Widgety"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Soubor Kommanderu"
diff --git a/translations/desktop_files/kommander-desktops/cy.po b/translations/desktop_files/kommander-desktops/cy.po
new file mode 100644
index 00000000..e7458fbc
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/cy.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: cy\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr ""
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr ""
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr ""
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr ""
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr ""
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Celfigion"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr ""
diff --git a/translations/desktop_files/kommander-desktops/da.po b/translations/desktop_files/kommander-desktops/da.po
new file mode 100644
index 00000000..db0a2978
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/da.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander-editor"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dynamisk dialog-editor"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Kommander-editor"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Udfører Kommanders dialoger"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander-editor"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Kontroller"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-fil"
diff --git a/translations/desktop_files/kommander-desktops/de.po b/translations/desktop_files/kommander-desktops/de.po
new file mode 100644
index 00000000..a771e4b0
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/de.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander-Editor"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor für dynamische Dialoge"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander-Exekutor"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Stellt Kommander-Dialoge dar"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Kommander-Komponente"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-Datei"
diff --git a/translations/desktop_files/kommander-desktops/el.po b/translations/desktop_files/kommander-desktops/el.po
new file mode 100644
index 00000000..99feded2
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/el.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Επεξεργαστής Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Επεξεργαστής δυναμικών διαλόγων"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Εκτελεστής Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Εκτελεστής για διαλόγους Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Επεξεργαστής Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Γραφικά συστατικά"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Αρχείο Kommander"
diff --git a/translations/desktop_files/kommander-desktops/en_GB.po b/translations/desktop_files/kommander-desktops/en_GB.po
new file mode 100644
index 00000000..ac31fb2e
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/en_GB.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: en_GB\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr ""
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dynamic Dialogue Editor"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr ""
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Executor for Kommander dialogues"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr ""
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr ""
diff --git a/translations/desktop_files/kommander-desktops/es.po b/translations/desktop_files/kommander-desktops/es.po
new file mode 100644
index 00000000..8d5ac24d
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/es.po
@@ -0,0 +1,56 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+#, fuzzy
+msgid "Kommander Editor"
+msgstr "Archivo de Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor de cuadros de diálogo dinámicos"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Archivo de Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Lanzador de cuadros de diálogo de Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Archivo de Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Archivo de Kommander"
diff --git a/translations/desktop_files/kommander-desktops/et.po b/translations/desktop_files/kommander-desktops/et.po
new file mode 100644
index 00000000..33692cd5
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/et.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: et\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Redaktor Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dünaamiliste dialoogide redaktor"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Redaktor Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommanderi dialoogide rakendaja"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Kommanderi komponent"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Elemendid"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommanderi fail"
diff --git a/translations/desktop_files/kommander-desktops/eu.po b/translations/desktop_files/kommander-desktops/eu.po
new file mode 100644
index 00000000..6e4f0ad2
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/eu.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander editorea"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Elkarrizketa editore dinamikoa"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander exekutatzailea"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander-en elkarrizketen exekutatzailea"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander editorea"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander fitxategiak"
diff --git a/translations/desktop_files/kommander-desktops/fa.po b/translations/desktop_files/kommander-desktops/fa.po
new file mode 100644
index 00000000..b937b2cd
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/fa.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "ویرایشگر Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "ویرایشگر محاورۀ پویا"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "مجری Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "مجری محاوره‌های Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "ویرایشگر Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "عناصر"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "پروندۀ Kommander"
diff --git a/translations/desktop_files/kommander-desktops/fi.po b/translations/desktop_files/kommander-desktops/fi.po
new file mode 100644
index 00000000..61455bf7
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/fi.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Komentoeditori"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dynaamisten dialogien editori"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Komennon suorittaja"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Komentodialogien rakentaja"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Komentoeditori"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Elementit"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Komentotiedosto"
diff --git a/translations/desktop_files/kommander-desktops/fr.po b/translations/desktop_files/kommander-desktops/fr.po
new file mode 100644
index 00000000..60916cee
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/fr.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Éditeur Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Éditeur dynamique de boîtes de dialogue"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Exécuteur de Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Exécuteur de boîtes de dialogue de Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Éditeur Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Éléments graphiques"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Fichier de Kommander"
diff --git a/translations/desktop_files/kommander-desktops/ga.po b/translations/desktop_files/kommander-desktops/ga.po
new file mode 100644
index 00000000..89944594
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ga.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Eagarthóir Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr ""
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Eagarthóir Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr ""
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Eagarthóir Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Giuirléidí"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Comhad Kommander"
diff --git a/translations/desktop_files/kommander-desktops/gl.po b/translations/desktop_files/kommander-desktops/gl.po
new file mode 100644
index 00000000..90f29dcd
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/gl.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+#, fuzzy
+msgid "Kommander Editor"
+msgstr "Executor de Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor de diálogos dinámicos"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Executor de Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Executor para os diálogos de Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Ficheiro de Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Ficheiro de Kommander"
diff --git a/translations/desktop_files/kommander-desktops/hi.po b/translations/desktop_files/kommander-desktops/hi.po
new file mode 100644
index 00000000..b3fcc0b0
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/hi.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "कमांडर संपादक"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "गतिशील संवाद संपादक"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "कमांडर कार्यपालक"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "कमांडर संवादों हेतु कार्यपालक"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "कमांडर संपादक"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "विजेट्स"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "कमांडर फ़ाइल"
diff --git a/translations/desktop_files/kommander-desktops/hu.po b/translations/desktop_files/kommander-desktops/hu.po
new file mode 100644
index 00000000..39e38f23
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/hu.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Párbeszédablak-szerkesztő"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Megjelenítőprogram Kommander-párbeszédablakokhoz"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Grafikai elemek"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-fájl"
diff --git a/translations/desktop_files/kommander-desktops/is.po b/translations/desktop_files/kommander-desktops/is.po
new file mode 100644
index 00000000..212a2e1f
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/is.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: is\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander ritillinn"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dynamic Dialog ritillinn"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Kommander ritillinn"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Executor fyrir Kommander glugga"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander ritillinn"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander skrá"
diff --git a/translations/desktop_files/kommander-desktops/it.po b/translations/desktop_files/kommander-desktops/it.po
new file mode 100644
index 00000000..6e7224e6
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/it.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Michele Calgaro <michele.calgaro@yahoo.it>, 2022.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: 2022-05-13 06:21+0000\n"
+"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
+"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/tdewebdev/kommander-desktop-files/it/>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.12.2\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Editor Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor per le maschere dinamiche"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Esecutore per Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Esecutore per maschere di Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "KommanderPart"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Oggetti"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "File di Kommander"
diff --git a/translations/desktop_files/kommander-desktops/ja.po b/translations/desktop_files/kommander-desktops/ja.po
new file mode 100644
index 00000000..05be487a
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ja.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander エディタ"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "動的ダイアログエディタ"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Kommander エディタ"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander ダイアログ用の Executor"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander エディタ"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "ウィジェット"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander ファイル"
diff --git a/translations/desktop_files/kommander-desktops/ka.po b/translations/desktop_files/kommander-desktops/ka.po
new file mode 100644
index 00000000..1ea5b3c0
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ka.po
@@ -0,0 +1,56 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ka\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+#, fuzzy
+msgid "Kommander Editor"
+msgstr "Kommander-ის ფაილი"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "დინამიურ დიალოგთა რედაქტორი"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Kommander-ის ფაილი"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander-ის დიალოგის შემსრულებელნი"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander-ის ფაილი"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-ის ფაილი"
diff --git a/translations/desktop_files/kommander-desktops/kommander-desktops.pot b/translations/desktop_files/kommander-desktops/kommander-desktops.pot
new file mode 100644
index 00000000..e630ebf1
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/kommander-desktops.pot
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr ""
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr ""
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr ""
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr ""
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr ""
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr ""
diff --git a/translations/desktop_files/kommander-desktops/lt.po b/translations/desktop_files/kommander-desktops/lt.po
new file mode 100644
index 00000000..ad6164f0
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/lt.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: lt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander rengyklė"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dinaminė dialogų rengyklė"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander vykdyklė"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander dialogų vykdyklė"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander rengyklė"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Valdikliai"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander byla"
diff --git a/translations/desktop_files/kommander-desktops/ms.po b/translations/desktop_files/kommander-desktops/ms.po
new file mode 100644
index 00000000..940a52cd
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ms.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Penyunting Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Penyunting Dialog Dinamik"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Pelaksana Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Pelaksana untuk dialog Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Penyunting Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Wijet"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Fail Kommander"
diff --git a/translations/desktop_files/kommander-desktops/nds.po b/translations/desktop_files/kommander-desktops/nds.po
new file mode 100644
index 00000000..e5594c09
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/nds.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nds\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander-Editor"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor för dünaamsch Dialogen"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander-Executor"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Föhrt Kommander-Dialogen ut"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Kommander-Komponent"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-Datei"
diff --git a/translations/desktop_files/kommander-desktops/ne.po b/translations/desktop_files/kommander-desktops/ne.po
new file mode 100644
index 00000000..93b4606f
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ne.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ne\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "आदेश सम्पादक"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "गतिशील संवाद सम्पादक"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "आदेश निर्वाहक"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "आदेश संवादका लागि निर्वाहक"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "आदेश सम्पादक"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "विजेट"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "आदेश फाइल"
diff --git a/translations/desktop_files/kommander-desktops/nl.po b/translations/desktop_files/kommander-desktops/nl.po
new file mode 100644
index 00000000..197d17c6
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/nl.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+#, fuzzy
+msgid "Kommander Editor"
+msgstr "Kommander Uitvoerder"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dynamische dialoog-editor"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander Uitvoerder"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander-dialogen uitvoeren"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Kommander-component"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-dialoogbestand"
diff --git a/translations/desktop_files/kommander-desktops/pa.po b/translations/desktop_files/kommander-desktops/pa.po
new file mode 100644
index 00000000..a7f3d93a
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/pa.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander ਸੰਪਾਦਕ"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr ""
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Kommander ਸੰਪਾਦਕ"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr ""
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander ਸੰਪਾਦਕ"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander ਫਾਇਲ"
diff --git a/translations/desktop_files/kommander-desktops/pl.po b/translations/desktop_files/kommander-desktops/pl.po
new file mode 100644
index 00000000..c1386712
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/pl.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Edytor Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Edytor do dynamicznych okien dialogowych"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander: uruchamianie"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Uruchamianie z okien dialogowych Kommandera"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Moduł Kommandera"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Elementy interfejsu"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Plik Kommandera"
diff --git a/translations/desktop_files/kommander-desktops/pt.po b/translations/desktop_files/kommander-desktops/pt.po
new file mode 100644
index 00000000..ab579b58
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/pt.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Editor do Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor de diálogos dinâmicos"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Executor do Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Executor dos diálogos do Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Editor do Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Elementos"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Ficheiro do Kommander"
diff --git a/translations/desktop_files/kommander-desktops/pt_BR.po b/translations/desktop_files/kommander-desktops/pt_BR.po
new file mode 100644
index 00000000..3fade715
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/pt_BR.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Editor Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor de Diálogo Dinâmico"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Executor do Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Executor para diálogos do Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Editor Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Janelas"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Arquivo do Kommander"
diff --git a/translations/desktop_files/kommander-desktops/ru.po b/translations/desktop_files/kommander-desktops/ru.po
new file mode 100644
index 00000000..fecdc70d
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ru.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Редактор Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Динамический редактор диалогов"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Выполнение диалогов Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Компонент Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Виджеты"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Файл Kommander"
diff --git a/translations/desktop_files/kommander-desktops/sk.po b/translations/desktop_files/kommander-desktops/sk.po
new file mode 100644
index 00000000..f1771785
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/sk.po
@@ -0,0 +1,55 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+#, fuzzy
+msgid "Kommander Editor"
+msgstr "Kommander spúštač"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dynamický editor dialógov"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander spúštač"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Spúštač pre Kommander dialógy"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander súbor"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander súbor"
diff --git a/translations/desktop_files/kommander-desktops/sl.po b/translations/desktop_files/kommander-desktops/sl.po
new file mode 100644
index 00000000..9e5b308c
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/sl.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Urejevalnik Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Urejevalnik dinamičnih pogovornih oken"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Izvajalnik Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Izvajalnik za pogovorna okna Kommanderja"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Urejevalnik Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Gradniki"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Datoteka Kommanderja"
diff --git a/translations/desktop_files/kommander-desktops/sr.po b/translations/desktop_files/kommander-desktops/sr.po
new file mode 100644
index 00000000..29897662
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/sr.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander уређивач"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Уређивач динамичких дијалога"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander извршавач"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Извршавач за Kommander-ове дијалоге"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander уређивач"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Контроле"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-ов фајл"
diff --git a/translations/desktop_files/kommander-desktops/sr@Latn.po b/translations/desktop_files/kommander-desktops/sr@Latn.po
new file mode 100644
index 00000000..f27999df
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/sr@Latn.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr@Latn\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander uređivač"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Uređivač dinamičkih dijaloga"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander izvršavač"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Izvršavač za Kommander-ove dijaloge"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander uređivač"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Kontrole"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-ov fajl"
diff --git a/translations/desktop_files/kommander-desktops/sv.po b/translations/desktop_files/kommander-desktops/sv.po
new file mode 100644
index 00000000..515d2afd
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/sv.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander editor"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Editor för dynamiska dialogrutor"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+#, fuzzy
+msgid "Kommander Executor"
+msgstr "Kommander editor"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Körning av Kommander-dialogrutor"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Kommander-delprogram"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Grafiska komponenter"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander-fil"
diff --git a/translations/desktop_files/kommander-desktops/ta.po b/translations/desktop_files/kommander-desktops/ta.po
new file mode 100644
index 00000000..e4b2701e
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/ta.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ta\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kகட்டளைத் திருத்தி"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "நிகழும் உரையாடல் திருத்தி"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kகட்டளை நிகழ்த்துபவர்"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kகட்டளை உரையாடல் நிகழ்த்துபவர்"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kகட்டளைத் திருத்தி"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "சின்னப் படங்கள்"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kகட்டளை கோப்பு"
diff --git a/translations/desktop_files/kommander-desktops/tg.po b/translations/desktop_files/kommander-desktops/tg.po
new file mode 100644
index 00000000..efbefb75
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/tg.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Муҳаррири Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Муҳаррири диалоги динамика"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Иҷрокунандаи Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Иҷрокунанда барои диалогҳои Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Муҳаррири Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Васеъкуниҳо"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Файли Kommander"
diff --git a/translations/desktop_files/kommander-desktops/tr.po b/translations/desktop_files/kommander-desktops/tr.po
new file mode 100644
index 00000000..361b119d
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/tr.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander Düzenleyici"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Dinamik Diyalog Düzenleyicisi"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander Çalıştırıcısı"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander diyalogları için çalıştırıcı"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander Düzenleyici"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Bileşenler"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander Dosyası"
diff --git a/translations/desktop_files/kommander-desktops/uk.po b/translations/desktop_files/kommander-desktops/uk.po
new file mode 100644
index 00000000..235c3e7d
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/uk.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Редактор Kommander"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "Динамічний редактор вікон"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Запускач Kommander"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Запускач для вікон Kommander"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Редактор Kommander"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "Віджети"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Файл Kommander"
diff --git a/translations/desktop_files/kommander-desktops/zh_CN.po b/translations/desktop_files/kommander-desktops/zh_CN.po
new file mode 100644
index 00000000..9889aee6
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/zh_CN.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander 编辑器"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "动态对话框编辑器"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander 执行器"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander 对话框执行器"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander 编辑器"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr "部件"
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander 文件"
diff --git a/translations/desktop_files/kommander-desktops/zh_HK.po b/translations/desktop_files/kommander-desktops/zh_HK.po
new file mode 100644
index 00000000..d9f88cb7
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/zh_HK.po
@@ -0,0 +1,54 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander 編輯器"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "動態對話盒編輯器"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander 執行器"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander 對話盒的運行程式"
+
+#. Name
+#: part/kommander_part.desktop:2
+#, fuzzy
+msgid "KommanderPart"
+msgstr "Kommander 編輯器"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander 檔案"
diff --git a/translations/desktop_files/kommander-desktops/zh_TW.po b/translations/desktop_files/kommander-desktops/zh_TW.po
new file mode 100644
index 00000000..5e728f2e
--- /dev/null
+++ b/translations/desktop_files/kommander-desktops/zh_TW.po
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:55+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: editor/kmdr-editor.desktop:2
+msgid "Kommander Editor"
+msgstr "Kommander 編輯器"
+
+#. GenericName
+#. Comment
+#: editor/kmdr-editor.desktop:4 editor/kmdr-editor.desktop:6
+msgid "Dynamic Dialog Editor"
+msgstr "動態對話盒編輯器"
+
+#. Name
+#: executor/kmdr-executor.desktop:2
+msgid "Kommander Executor"
+msgstr "Kommander 執行器"
+
+#. Comment
+#: executor/kmdr-executor.desktop:4
+msgid "Executor for Kommander dialogs"
+msgstr "Kommander 對話盒的運行程式"
+
+#. Name
+#: part/kommander_part.desktop:2
+msgid "KommanderPart"
+msgstr "Kommander 部件"
+
+#. Name
+#: widgets/widgets.desktop:2
+msgid "Widgets"
+msgstr ""
+
+#. Comment
+#: x-kommander.desktop:2
+msgid "Kommander File"
+msgstr "Kommander 檔案"
diff --git a/translations/desktop_files/kxsldbg-desktops/bg.po b/translations/desktop_files/kxsldbg-desktops/bg.po
new file mode 100644
index 00000000..a19916ac
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/bg.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Дебъгер XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/br.po b/translations/desktop_files/kxsldbg-desktops/br.po
new file mode 100644
index 00000000..33b1a4db
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/br.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: br\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Dizraener XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/ca.po b/translations/desktop_files/kxsldbg-desktops/ca.po
new file mode 100644
index 00000000..841a81af
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ca.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Depurador XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/cs.po b/translations/desktop_files/kxsldbg-desktops/cs.po
new file mode 100644
index 00000000..24005684
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/cs.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT debugger"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/da.po b/translations/desktop_files/kxsldbg-desktops/da.po
new file mode 100644
index 00000000..e32ff478
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/da.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT-Fejlretter"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/de.po b/translations/desktop_files/kxsldbg-desktops/de.po
new file mode 100644
index 00000000..207db6bf
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/de.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT-Debugger"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "KXsldbg-Komponente"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/el.po b/translations/desktop_files/kxsldbg-desktops/el.po
new file mode 100644
index 00000000..dc8ac6fc
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/el.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Αποσφαλματωτής XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/es.po b/translations/desktop_files/kxsldbg-desktops/es.po
new file mode 100644
index 00000000..89da8756
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/es.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Depurador XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/et.po b/translations/desktop_files/kxsldbg-desktops/et.po
new file mode 100644
index 00000000..a04217ea
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/et.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: et\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT silur"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/eu.po b/translations/desktop_files/kxsldbg-desktops/eu.po
new file mode 100644
index 00000000..06383654
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/eu.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT araztailea"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/fa.po b/translations/desktop_files/kxsldbg-desktops/fa.po
new file mode 100644
index 00000000..6f0c0e50
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/fa.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "اشکال‌زدای XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/fi.po b/translations/desktop_files/kxsldbg-desktops/fi.po
new file mode 100644
index 00000000..e729abef
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/fi.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT debuggeri"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/fr.po b/translations/desktop_files/kxsldbg-desktops/fr.po
new file mode 100644
index 00000000..dc7bdffb
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/fr.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Débogueur XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "Module externe KXsldbg"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/ga.po b/translations/desktop_files/kxsldbg-desktops/ga.po
new file mode 100644
index 00000000..41bf4f04
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ga.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Dífhabhtóir XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/gl.po b/translations/desktop_files/kxsldbg-desktops/gl.po
new file mode 100644
index 00000000..ff25bbe6
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/gl.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Depurador XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/hi.po b/translations/desktop_files/kxsldbg-desktops/hi.po
new file mode 100644
index 00000000..a0bbcfc9
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/hi.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT डिबगर"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/hu.po b/translations/desktop_files/kxsldbg-desktops/hu.po
new file mode 100644
index 00000000..920794ec
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/hu.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT-nyomkövető"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/is.po b/translations/desktop_files/kxsldbg-desktops/is.po
new file mode 100644
index 00000000..c09aa1c2
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/is.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: is\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT aflúsari"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/it.po b/translations/desktop_files/kxsldbg-desktops/it.po
new file mode 100644
index 00000000..1c079958
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/it.po
@@ -0,0 +1,38 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Michele Calgaro <michele.calgaro@yahoo.it>, 2022.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: 2022-05-13 06:21+0000\n"
+"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
+"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/tdewebdev/kxsldbg-desktop-files/it/>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.12.2\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr "KXSLDbg"
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Debugger per XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "KXsldbgPart"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr "XSLDbg"
diff --git a/translations/desktop_files/kxsldbg-desktops/ja.po b/translations/desktop_files/kxsldbg-desktops/ja.po
new file mode 100644
index 00000000..a2f606fb
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ja.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT デバッガ"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "KXsldbgPort"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/kxsldbg-desktops.pot b/translations/desktop_files/kxsldbg-desktops/kxsldbg-desktops.pot
new file mode 100644
index 00000000..56b233d9
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/kxsldbg-desktops.pot
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr ""
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/lt.po b/translations/desktop_files/kxsldbg-desktops/lt.po
new file mode 100644
index 00000000..f5ba915a
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/lt.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: lt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT derintuvė"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/ms.po b/translations/desktop_files/kxsldbg-desktops/ms.po
new file mode 100644
index 00000000..4afbafd5
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ms.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Penyahralat XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/nds.po b/translations/desktop_files/kxsldbg-desktops/nds.po
new file mode 100644
index 00000000..d0e25bc7
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/nds.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nds\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT-Fehlersöker"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "KXsldbg-Komponent"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/ne.po b/translations/desktop_files/kxsldbg-desktops/ne.po
new file mode 100644
index 00000000..77bae241
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ne.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ne\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "त्रुटिमोचक एक्सएसएलटी"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/nl.po b/translations/desktop_files/kxsldbg-desktops/nl.po
new file mode 100644
index 00000000..af77eb94
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/nl.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT-debugger"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/pl.po b/translations/desktop_files/kxsldbg-desktops/pl.po
new file mode 100644
index 00000000..af8c37de
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/pl.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Debuger XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "Osadzalny program KPart KXsldbg"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/pt.po b/translations/desktop_files/kxsldbg-desktops/pt.po
new file mode 100644
index 00000000..e373bc05
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/pt.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Depuração de XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/pt_BR.po b/translations/desktop_files/kxsldbg-desktops/pt_BR.po
new file mode 100644
index 00000000..294804ea
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/pt_BR.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Debugger para XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "KXSsldbgPart"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/ro.po b/translations/desktop_files/kxsldbg-desktops/ro.po
new file mode 100644
index 00000000..7448524c
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ro.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Depanator XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/ru.po b/translations/desktop_files/kxsldbg-desktops/ru.po
new file mode 100644
index 00000000..fdd1cb61
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ru.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Отладчик XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/sk.po b/translations/desktop_files/kxsldbg-desktops/sk.po
new file mode 100644
index 00000000..36d12e70
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/sk.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT debuger"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/sl.po b/translations/desktop_files/kxsldbg-desktops/sl.po
new file mode 100644
index 00000000..129c6b7d
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/sl.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Razhroščevalnik XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/sr.po b/translations/desktop_files/kxsldbg-desktops/sr.po
new file mode 100644
index 00000000..f93b8857
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/sr.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Исправљач XSLT-а"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/sr@Latn.po b/translations/desktop_files/kxsldbg-desktops/sr@Latn.po
new file mode 100644
index 00000000..4928f6d1
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/sr@Latn.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr@Latn\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Ispravljač XSLT-a"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/sv.po b/translations/desktop_files/kxsldbg-desktops/sv.po
new file mode 100644
index 00000000..0aabeb7e
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/sv.po
@@ -0,0 +1,38 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr "Kxsldbg"
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT-felsökare"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "Kxsldbg-delprogram"
+
+#. Name
+#: xsldbg.desktop:2
+#, fuzzy
+msgid "XSLDbg"
+msgstr "Kxsldbg"
diff --git a/translations/desktop_files/kxsldbg-desktops/ta.po b/translations/desktop_files/kxsldbg-desktops/ta.po
new file mode 100644
index 00000000..249b1c0b
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/ta.po
@@ -0,0 +1,38 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ta\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr "KXSLDபிஜி"
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT வழுநீக்குபவர்"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "KXsldbg பகுதி"
+
+#. Name
+#: xsldbg.desktop:2
+#, fuzzy
+msgid "XSLDbg"
+msgstr "KXSLDபிஜி"
diff --git a/translations/desktop_files/kxsldbg-desktops/tg.po b/translations/desktop_files/kxsldbg-desktops/tg.po
new file mode 100644
index 00000000..22d07c0b
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/tg.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Ғалатёби XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr "Қисми KXsldbg"
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/tr.po b/translations/desktop_files/kxsldbg-desktops/tr.po
new file mode 100644
index 00000000..45572a74
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/tr.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT Hata Ayıklayıcısı"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/uk.po b/translations/desktop_files/kxsldbg-desktops/uk.po
new file mode 100644
index 00000000..1d692037
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/uk.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "Зневаджувач XSLT"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/zh_CN.po b/translations/desktop_files/kxsldbg-desktops/zh_CN.po
new file mode 100644
index 00000000..d1496ea1
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/zh_CN.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT 调试器"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/zh_HK.po b/translations/desktop_files/kxsldbg-desktops/zh_HK.po
new file mode 100644
index 00000000..de12725e
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/zh_HK.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT 除錯器"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/kxsldbg-desktops/zh_TW.po b/translations/desktop_files/kxsldbg-desktops/zh_TW.po
new file mode 100644
index 00000000..6124b446
--- /dev/null
+++ b/translations/desktop_files/kxsldbg-desktops/zh_TW.po
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-03-15 23:56+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kxsldbg.desktop:2
+msgid "KXSLDbg"
+msgstr ""
+
+#. GenericName
+#: kxsldbg.desktop:4
+msgid "XSLT Debugger"
+msgstr "XSLT 除錯器"
+
+#. Name
+#: kxsldbgpart/kxsldbg_part.desktop:2
+msgid "KXsldbgPart"
+msgstr ""
+
+#. Name
+#: xsldbg.desktop:2
+msgid "XSLDbg"
+msgstr ""
diff --git a/translations/desktop_files/quanta-desktops/bg.po b/translations/desktop_files/quanta-desktops/bg.po
new file mode 100644
index 00000000..c86e82e4
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/bg.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Приставка на дебъгер DBGp, http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Приставка на Quanta за връзка с дебъгера Gubed PHP, http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Приставка на Quanta за дебъгване"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr ""
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Проект на Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Среда за разработка на уеб приложени"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Проект на Quanta"
diff --git a/translations/desktop_files/quanta-desktops/br.po b/translations/desktop_files/quanta-desktops/br.po
new file mode 100644
index 00000000..2aa10488
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/br.po
@@ -0,0 +1,73 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: br\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr ""
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Ul lugent dizraener Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr ""
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr "Quanta+"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr ""
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr "Quanta+ BE"
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Raktres Quanta"
diff --git a/translations/desktop_files/quanta-desktops/ca.po b/translations/desktop_files/quanta-desktops/ca.po
new file mode 100644
index 00000000..e23fbf44
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ca.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Connector de depuració DBGp, consulteu http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Connector de depuració pel Quanta que interactua amb el depurador Gubed PHP, "
+"consulteu http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Un connector de depuració pel Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Configura la part del fullejador TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Projecte Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Entorn de desenvolupament web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Projecte Quanta"
diff --git a/translations/desktop_files/quanta-desktops/cs.po b/translations/desktop_files/quanta-desktops/cs.po
new file mode 100644
index 00000000..81cc0543
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/cs.po
@@ -0,0 +1,74 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp debugger plugin, viz http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr "Ladicí modul Quanty s Gubed PHP debuggerem, viz http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Ladicí modul Quanty"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Nastavení TDEHTML Part"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta projekt"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Vývojové prostředí pro web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta projekt"
diff --git a/translations/desktop_files/quanta-desktops/da.po b/translations/desktop_files/quanta-desktops/da.po
new file mode 100644
index 00000000..c7e8df45
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/da.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp fejlretter-plugin, se http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta fejlretter-plugin til at virke sammen med Gubed PHP fejlretter, se "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Et Quanta fejlretter-plugin"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Indstil TDEHTML browser-part"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta-projekt"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Internetudviklingsomgivelser"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta-projekt"
diff --git a/translations/desktop_files/quanta-desktops/de.po b/translations/desktop_files/quanta-desktops/de.po
new file mode 100644
index 00000000..5a441391
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/de.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp Debugger Plugin, siehe http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Debug-Komponente von Quanta für die Unterstützung des Gubed PHP-Debuggers. "
+"Näheres siehe http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Eine Quanta Debugger-Komponente"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Einrichten der TDEHTML-Browserkomponente"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta Projekt"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Web-Entwicklungsumgebung"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta Projekt"
diff --git a/translations/desktop_files/quanta-desktops/el.po b/translations/desktop_files/quanta-desktops/el.po
new file mode 100644
index 00000000..1897bd2f
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/el.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Πρόσθετο αποσφαλματωτή DBGp, δείτε το http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Αποσφαλματωτής Quanta σε συνεργασία με το αποσφαλματωτή Gubed PHP, δείτε "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Πρόσθετο αποσφαλματωτή Quanta "
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Ρύθμιση του TDEHTML περιηγητή"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Έργο Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Περιβάλλον ανάπτυξης ιστοσελίδων"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Έργο Quanta"
diff --git a/translations/desktop_files/quanta-desktops/es.po b/translations/desktop_files/quanta-desktops/es.po
new file mode 100644
index 00000000..afc45886
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/es.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Extensión para el depurador DBGp, vea http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Accesorio de depuración de Quanta, para interactuar con el depurador de PHP "
+"Gubed. Vea http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Un accesorio para un depurador de Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Configurara la parte del navegador TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Proyecto Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Entorno de desarrollo web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Proyecto Quanta"
diff --git a/translations/desktop_files/quanta-desktops/et.po b/translations/desktop_files/quanta-desktops/et.po
new file mode 100644
index 00000000..11d1a81d
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/et.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: et\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp siluri plugin, vaata http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta siluriplugin koostööks PHP siluriga Gubed (vaata http://gubed.sf.net)"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta siluriplugin"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML brauseri komponendi seadistamine"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta projekt"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Veebiarenduskeskkond"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta projekt"
diff --git a/translations/desktop_files/quanta-desktops/eu.po b/translations/desktop_files/quanta-desktops/eu.po
new file mode 100644
index 00000000..f95b9969
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/eu.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp araztailearen plugina, ikusi http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Gubed PHP araztailearekin lan egiteko Quanta araztailearen plugina, ikusi "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta araztailearen plugina"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Konfiguratu TDEHTML arakatzailearen partea"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta proiektua"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Web garapenerako ingurunea"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta proiektua"
diff --git a/translations/desktop_files/quanta-desktops/fa.po b/translations/desktop_files/quanta-desktops/fa.po
new file mode 100644
index 00000000..4c036d8b
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/fa.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "وصلۀ اشکال‌زدای DBGp، http://xdebug.org را ببینید"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"وصلۀ اشکال‌زدای Quanta برای تعامل با اشکال‌زدای Gubed PHP، http://gubed.sf.net "
+"را ببینید"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "وصلۀ اشکال‌زدای Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "پیکربندی جزء مرورگر TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "پروژۀ Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "محیط توسعۀ وب"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "پروژۀ Quanta"
diff --git a/translations/desktop_files/quanta-desktops/fi.po b/translations/desktop_files/quanta-desktops/fi.po
new file mode 100644
index 00000000..7b8cd859
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/fi.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp-debugliitännäinen, katso http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Gubed PHP debuggerin plugin Quantan debuggeriin (katso http://gubed.sf.net)"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quantan debuggerin plugin"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML selaimen komponentti"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta projekti"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "WWW:n kehitysympäristö"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta projekti"
diff --git a/translations/desktop_files/quanta-desktops/fr.po b/translations/desktop_files/quanta-desktops/fr.po
new file mode 100644
index 00000000..d6ee29af
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/fr.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Module de débogage DBGp, consultez http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Module de débogage de Quanta pour interagir avec le débogueur PHP Gubed ; "
+"consulter http://gubed.sf.net."
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Un module de débogage pour Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Configurer le composant de navigation TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Projet Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Environnement de développement Internet"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Projet Quanta"
diff --git a/translations/desktop_files/quanta-desktops/ga.po b/translations/desktop_files/quanta-desktops/ga.po
new file mode 100644
index 00000000..0459a89f
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ga.po
@@ -0,0 +1,74 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Breiseán dífhabhtóra DBGp, féach ar http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Breiseán dífhabhtóra Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr ""
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Tionscadal Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr ""
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Tionscadal Quanta"
diff --git a/translations/desktop_files/quanta-desktops/gl.po b/translations/desktop_files/quanta-desktops/gl.po
new file mode 100644
index 00000000..c88a40f0
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/gl.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Extensión DBGp para o depurador, vexa tamén http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Plugin de depuración de Quanta para interactuar co depurador de PHP Gubed, "
+"vexa tamén http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Un plugin para o depurador de Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Configurar a parte do navegador TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr ""
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Entorno de desenvolvemento de páxinas web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr ""
diff --git a/translations/desktop_files/quanta-desktops/hi.po b/translations/desktop_files/quanta-desktops/hi.po
new file mode 100644
index 00000000..6d6d08d5
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/hi.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr ""
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr ""
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr ""
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr "क्वांटा प्लस"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "वेब डेवलपमेंट वातावरण"
+
+#. Name
+#: src/quanta_be.desktop:2
+#, fuzzy
+msgid "Quanta Plus BE"
+msgstr "क्वांटा प्लस"
+
+#. Comment
+#: src/x-webprj.desktop:2
+#, fuzzy
+msgid "Quanta Project"
+msgstr "क्वांटा प्लस"
diff --git a/translations/desktop_files/quanta-desktops/hu.po b/translations/desktop_files/quanta-desktops/hu.po
new file mode 100644
index 00000000..cb3db96b
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/hu.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: hu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp nyomkövető modul, lásd: http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta-nyomkövető (bővítőmodulként) a Gubed PHP-nyomkövetőhöz, lásd: http://"
+"gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta nyomkövető-modul"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "A TDEHTML böngészőobjektum beállításai"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta-projekt"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Webfejlesztő környezet"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta-projekt"
diff --git a/translations/desktop_files/quanta-desktops/is.po b/translations/desktop_files/quanta-desktops/is.po
new file mode 100644
index 00000000..1d42bfe9
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/is.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: is\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp aflúsunaríforrit. Sjá http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta aflúsunaríforrit til samskipta við Gubed PHP aflúsarann. Sjá http://"
+"gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta aflúsunaríforrit"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Stilla TDEHTML vafrahluti"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta verkefnið"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Vefþróunarumhverfi"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta verkefnið"
diff --git a/translations/desktop_files/quanta-desktops/it.po b/translations/desktop_files/quanta-desktops/it.po
new file mode 100644
index 00000000..e5615a74
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/it.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Michele Calgaro <michele.calgaro@yahoo.it>, 2022.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: 2022-05-13 06:21+0000\n"
+"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
+"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/tdewebdev/quanta-desktop-files/it/>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.12.2\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr "DBGp"
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Plugin di degub DBGp, vedi http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr "Gubed"
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Plugin debugger di Quanta per interagire con il debugger PHP Gubed, vedi "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Un plugin debugger di Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Parte browser configura TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr "Quanta Plus"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Ambiente per lo sviluppo Web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr "Quanta Plus BE"
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Progetto Quanta"
diff --git a/translations/desktop_files/quanta-desktops/ja.po b/translations/desktop_files/quanta-desktops/ja.po
new file mode 100644
index 00000000..841bdd3d
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ja.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp デバッガ プラグイン。http://xdebug.org をご覧ください。"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Gubed PHP デバッガと対話する Quanta デバッガ。詳細は http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta デバッガプラグイン"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML ブラウザ部を設定"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta プロジェクト"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "ウェブ開発環境"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta プロジェクト"
diff --git a/translations/desktop_files/quanta-desktops/ka.po b/translations/desktop_files/quanta-desktops/ka.po
new file mode 100644
index 00000000..47a1ff29
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ka.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ka\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp განბზიკვის მოდული, იხილეთ http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta-ს განბზიკვის მოდული Gubed PHP განბზიკავთან დასაკავშირებლად, იხილეთ "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta-ს განბზიკვის მოდული"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML ბროუზერის ნაწილის კონფიგურაცია"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta პროექტი"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "ვებ დამუშავების გარსი"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta პროექტი"
diff --git a/translations/desktop_files/quanta-desktops/lt.po b/translations/desktop_files/quanta-desktops/lt.po
new file mode 100644
index 00000000..7a5f41e0
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/lt.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: lt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp derintuvės priedas, žr. http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta derintuvės priedas skirtas dirbti su Gubed PHP derintuve, žr.http://"
+"gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta derintuvės priedas"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Konfigūruoti TDEHTML naršyklės dalį"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta projektas"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Žiniatinklio kūrimo aplinka"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta projektas"
diff --git a/translations/desktop_files/quanta-desktops/ms.po b/translations/desktop_files/quanta-desktops/ms.po
new file mode 100644
index 00000000..373cc96a
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ms.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Plugin nyahpepijat DBGp, lihat http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Plug masuk penyah-ralat Quanta untuk berinteraksi dengan penyah-ralat Gubed "
+"PHP, lihat http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Plug masuk penyah-ralat Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Selaraskan Bahagian Pelayar TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Projek Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Persekitaran Pembangunan Web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Projek Quanta"
diff --git a/translations/desktop_files/quanta-desktops/nds.po b/translations/desktop_files/quanta-desktops/nds.po
new file mode 100644
index 00000000..b182eb2f
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/nds.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nds\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Fehlersöök-Moduul för't DBGp, kiek bi http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Fehlersöök-Moduul för Quanta för't Tosamenwarken mit den PHP-Fehlersöker "
+"\"Gubed\", kiek op http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "En Fehlersöök-Komponent för Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML-Browserkomponent inrichten"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta-Projekt"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Ümgeven för Nett-Entwickeln"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta-Projekt"
diff --git a/translations/desktop_files/quanta-desktops/ne.po b/translations/desktop_files/quanta-desktops/ne.po
new file mode 100644
index 00000000..e73bebb9
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ne.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ne\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp त्रुटिमोचक प्लगइन, http://xdebug.org हेर्नुहोस्"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr "ग्युब्ड"
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"ग्युब्ड पीएचपी त्रुटिमोचकसँग अन्तर्क्रिया गर्नका लागि क्वान्टा त्रुटिमोचक प्लगइन, http://"
+"gubed.sf.net हेर्नुहोस्"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "एउटा क्वान्टा त्रुटिमोचक प्लगइन"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "केडीई एचटीएमएल ब्राउजर भाग कन्फिगर गर्नुहोस्"
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr "क्वान्टा प्लस"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "वेब विकास परिवेश"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr "क्वान्टा प्लस बीई"
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "क्वान्टा परियोजना"
diff --git a/translations/desktop_files/quanta-desktops/nl.po b/translations/desktop_files/quanta-desktops/nl.po
new file mode 100644
index 00000000..c56d669f
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/nl.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp-debugger-plugin, zie http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta debugger plugin om te communiceren met de Gubed PHP debugger, zie "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Een Quanta debugger-plugin"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML Browser Part configuratie"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta project"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Omgeving voor webdevelopment"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta project"
diff --git a/translations/desktop_files/quanta-desktops/pl.po b/translations/desktop_files/quanta-desktops/pl.po
new file mode 100644
index 00000000..ba3131d5
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/pl.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Wtyczka debugera DBGp, patrz http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Wtyczka debuggera Quanty współpracująca z debuggerem PHP Gubed , patrz "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Wtyczka debuggera Quanty"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Konfiguracja osadzalnej części przeglądarki TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Projekt Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Środowisko do tworzenia stron WWW"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Projekt Quanta"
diff --git a/translations/desktop_files/quanta-desktops/pt.po b/translations/desktop_files/quanta-desktops/pt.po
new file mode 100644
index 00000000..4e23a92f
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/pt.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "'Plugin' de depuração DBGp, veja http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"'Plugin' de Depuração do Quanta para interagir com o depurador de PHP Gubed, "
+"veja http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Um 'plugin' de depuração para o Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Configurar a Parte de Navegação HTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Projecto Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Ambiente de desenvolvimento web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Projecto Quanta"
diff --git a/translations/desktop_files/quanta-desktops/pt_BR.po b/translations/desktop_files/quanta-desktops/pt_BR.po
new file mode 100644
index 00000000..4a09a6a2
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/pt_BR.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Plugin de depuração DBGp, veja http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Plugin do debugger do Quanta para interagir com o debugger PHP Gubed, olhe "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Um plugin do Debugger do Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Configurar o Componente TDEHTML do Navegador"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Projeto do Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Ambiente de Desenvolvimento Web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Projeto do Quanta"
diff --git a/translations/desktop_files/quanta-desktops/quanta-desktops.pot b/translations/desktop_files/quanta-desktops/quanta-desktops.pot
new file mode 100644
index 00000000..25001e26
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/quanta-desktops.pot
@@ -0,0 +1,73 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr ""
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr ""
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr ""
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr ""
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr ""
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr ""
diff --git a/translations/desktop_files/quanta-desktops/ro.po b/translations/desktop_files/quanta-desktops/ro.po
new file mode 100644
index 00000000..765f105b
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ro.po
@@ -0,0 +1,74 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr ""
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr ""
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr ""
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Proiect Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr ""
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Proiect Quanta"
diff --git a/translations/desktop_files/quanta-desktops/ru.po b/translations/desktop_files/quanta-desktops/ru.po
new file mode 100644
index 00000000..0ee9b6b8
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ru.po
@@ -0,0 +1,77 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Andrei Stepanov <adem4ik@gmail.com>, 2023.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: 2023-12-07 21:14+0000\n"
+"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
+"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/tdewebdev/quanta-desktop-files/ru/>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr "DBGp"
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Модуль для отладчика DBGp, http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr "Gubed"
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Модуль отладчика Quanta для связи с Gubed, отладчиком PHP, см. http://gubed."
+"sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Модуль отладки Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Настроить компонент просмтра TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr "Quanta Plus"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Среда веб-разработки"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr "Quanta Plus BE"
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Проект Quanta"
diff --git a/translations/desktop_files/quanta-desktops/sk.po b/translations/desktop_files/quanta-desktops/sk.po
new file mode 100644
index 00000000..b30bddf3
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/sk.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp debuger modul, pozri http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta debuger modul pre interakciu s Gubed PHP debugerom, pozrihttp://gubed."
+"sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta debuger modul"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Nastaviť TDEHTML prehliadač Part"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta projekt"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Prostredie na vývoj Web aplikácií"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta projekt"
diff --git a/translations/desktop_files/quanta-desktops/sl.po b/translations/desktop_files/quanta-desktops/sl.po
new file mode 100644
index 00000000..9c830c5d
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/sl.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Vstavek za razhoroščevanje DBGp, glej http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Vstavek razhroščevanja v Quanti, ki sodeluje z razhroščevalnikom Gubed PHP, "
+"glejte http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Vstavek razhroščevanja v Quanti"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Nastavite del brskalnika TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Projekt Quante"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Spletno razvijalno okolje"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Projekt Quante"
diff --git a/translations/desktop_files/quanta-desktops/sr.po b/translations/desktop_files/quanta-desktops/sr.po
new file mode 100644
index 00000000..d5fa8ae6
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/sr.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp прикључак, види http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Исправљачки прикључак Quanta-е за интеракцију са исправљачем PHP-а Gubed, "
+"погледајте http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Исправљачки прикључак Quanta-е"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Део за подешавање TDEHTML прегледача"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta пројекат"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Окружење за веб развој"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta пројекат"
diff --git a/translations/desktop_files/quanta-desktops/sr@Latn.po b/translations/desktop_files/quanta-desktops/sr@Latn.po
new file mode 100644
index 00000000..8a63d236
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/sr@Latn.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sr@Latn\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp priključak, vidi http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Ispravljački priključak Quanta-e za interakciju sa ispravljačem PHP-a Gubed, "
+"pogledajte http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Ispravljački priključak Quanta-e"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Deo za podešavanje TDEHTML pregledača"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta projekat"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Okruženje za veb razvoj"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta projekat"
diff --git a/translations/desktop_files/quanta-desktops/sv.po b/translations/desktop_files/quanta-desktops/sv.po
new file mode 100644
index 00000000..29492b2f
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/sv.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp-insticksprogram för felsökning, se http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Quanta-insticksprogram för felsökning som fungerar med PHP-felsökaren Gubed, "
+"se http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Ett Quanta-insticksprogram för felsökning"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Anpassa delprogrammet för webbläsning TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr "Quanta plus"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Webbutvecklingsmiljö"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr "Quanta plus BE"
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta-projekt"
diff --git a/translations/desktop_files/quanta-desktops/ta.po b/translations/desktop_files/quanta-desktops/ta.po
new file mode 100644
index 00000000..f8e98ff7
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/ta.po
@@ -0,0 +1,75 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: ta\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr ""
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr "குபெட்"
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"குவாண்டா வழுநீக்கி உள்ளீடு குபெட்PHP வழுநீக்கியோடு தொடர்புக் கொண்டிருக்கிறது, பார்க்கவும் "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "குவாண்டா வழுநீக்கி சொருகு"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML உலாவி பகுதி உள்ளமை"
+
+#. Name
+#: src/quanta.desktop:2
+msgid "Quanta Plus"
+msgstr "குவாண்டா ப்ளஸ்"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "இணைய மேம்பாட்டுச் சூழல்"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr "குவாண்டா ப்ளஸ் BE"
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "குவாண்டா திட்டப்பணி"
diff --git a/translations/desktop_files/quanta-desktops/tg.po b/translations/desktop_files/quanta-desktops/tg.po
new file mode 100644
index 00000000..4fd5df25
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/tg.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr ""
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Модули ғалатёби Quanta барои алоқаи аз Gubed, ғалатёби PHP, нишон кунед "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Модули ғалатёби Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Танзими қисми браузери TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Нақшаи Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Фазои тайёр кардани-Web"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Нақшаи Quanta"
diff --git a/translations/desktop_files/quanta-desktops/tr.po b/translations/desktop_files/quanta-desktops/tr.po
new file mode 100644
index 00000000..7e612b89
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/tr.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr ""
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Gubed PHP hata ayıklayıcısıyla iletişim kurmayı sağlayan Quanta hata "
+"ayıklama eklentisi, http://gubed.sf.net adresini ziyaret edin"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Bir Quanta Hata Ayıklayıcı eklentisi"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "TDEHTML Tarayıcısı Parçasını Yapılandır"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta Projesi"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Web Geliştirme Ortamı"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta Projesi"
diff --git a/translations/desktop_files/quanta-desktops/uk.po b/translations/desktop_files/quanta-desktops/uk.po
new file mode 100644
index 00000000..6b6ba660
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/uk.po
@@ -0,0 +1,76 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "Втулок зневаджувача DBGp, див. http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr ""
+"Втулок зневадження Quanta для зв'язку зі зневаджувачем PHP -- Gubed, див. "
+"http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Втулок зневадження Quanta"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "Налаштувати компонент перегляду TDEHTML"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Проект Quanta"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Середовище веб-розробки"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Проект Quanta"
diff --git a/translations/desktop_files/quanta-desktops/zh_CN.po b/translations/desktop_files/quanta-desktops/zh_CN.po
new file mode 100644
index 00000000..cb0d5ac7
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/zh_CN.po
@@ -0,0 +1,74 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp 调试器插件,参看 http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr "与 Gubed PHP 调试器交互 Quanta 调试器插件,见 http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "Quanta 调试器插件"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "配置 TDEHTML 浏览器部件"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta 工程"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "Web 开发环境"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta 工程"
diff --git a/translations/desktop_files/quanta-desktops/zh_HK.po b/translations/desktop_files/quanta-desktops/zh_HK.po
new file mode 100644
index 00000000..fa50ed02
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/zh_HK.po
@@ -0,0 +1,74 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp 除錯器外掛程式,請參閱 http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr "Quanta 對於 Gubed PHP 除錯器的通訊外掛程式, 請參閱 http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "一個 Quanta 除錯器的外掛程式"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "設定 TDEHTML 瀏覽器元件"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta 專案"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "網頁開發環境"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta 專案"
diff --git a/translations/desktop_files/quanta-desktops/zh_TW.po b/translations/desktop_files/quanta-desktops/zh_TW.po
new file mode 100644
index 00000000..c99871e6
--- /dev/null
+++ b/translations/desktop_files/quanta-desktops/zh_TW.po
@@ -0,0 +1,74 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-07 18:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:2
+msgid "DBGp"
+msgstr ""
+
+#. Comment
+#: components/debugger/dbgp/quantadebuggerdbgp.desktop:4
+msgid "DBGp debugger plugin, see http://xdebug.org"
+msgstr "DBGp 除錯器外掛程式,請參閱 http://xdebug.org"
+
+#. Name
+#: components/debugger/gubed/quantadebuggergubed.desktop:2
+msgid "Gubed"
+msgstr ""
+
+#. Comment
+#: components/debugger/gubed/quantadebuggergubed.desktop:4
+msgid ""
+"Quanta debugger plugin to interact with the Gubed PHP debugger, see http://"
+"gubed.sf.net"
+msgstr "Quanta 對於 Gubed PHP 除錯器的通訊外掛程式, 請參閱 http://gubed.sf.net"
+
+#. Comment
+#: components/debugger/interfaces/quantadebugger.desktop:2
+msgid "A Quanta Debugger plugin"
+msgstr "一個 Quanta 除錯器的外掛程式"
+
+#. Name
+#: data/config/quanta_preview_config.desktop:2
+msgid "Configure TDEHTML Browser Part"
+msgstr "設定 TDEHTML 瀏覽器 Part"
+
+#. Name
+#: src/quanta.desktop:2
+#, fuzzy
+msgid "Quanta Plus"
+msgstr "Quanta 專案"
+
+#. GenericName
+#. Comment
+#. GenericName
+#. Comment
+#: src/quanta.desktop:4 src/quanta.desktop:6 src/quanta_be.desktop:4
+#: src/quanta_be.desktop:6
+msgid "Web Development Environment"
+msgstr "網頁開發環境"
+
+#. Name
+#: src/quanta_be.desktop:2
+msgid "Quanta Plus BE"
+msgstr ""
+
+#. Comment
+#: src/x-webprj.desktop:2
+msgid "Quanta Project"
+msgstr "Quanta 專案"