Browse Source

Revert "Rename a number of old tq methods that are no longer tq specific"

This reverts commit c2637a0da6.
bug/2765/povray3.7
Timothy Pearson 9 years ago
parent
commit
ec1fddcd0d
695 changed files with 3868 additions and 3868 deletions
  1. +3
    -3
      kamera/kcontrol/kamera.cpp
  2. +3
    -3
      kamera/kcontrol/kameraconfigdialog.cpp
  3. +7
    -7
      kamera/kcontrol/kameradevice.cpp
  4. +6
    -6
      kamera/kioslave/kamera.cpp
  5. +7
    -7
      kcoloredit/colorselector.cpp
  6. +5
    -5
      kcoloredit/gradientselection.cpp
  7. +1
    -1
      kcoloredit/kcoloredit.h
  8. +3
    -3
      kcoloredit/kcoloreditdoc.cpp
  9. +6
    -6
      kcoloredit/kcoloreditview.cpp
  10. +1
    -1
      kcoloredit/kxycolorselector.cpp
  11. +1
    -1
      kcoloredit/kzcolorselector.cpp
  12. +1
    -1
      kcoloredit/loadpalettedlg.cpp
  13. +1
    -1
      kcoloredit/palette.cpp
  14. +1
    -1
      kcoloredit/palette.h
  15. +1
    -1
      kcoloredit/paletteview.cpp
  16. +8
    -8
      kcoloredit/paletteviewscrolledarea.cpp
  17. +3
    -3
      kcoloredit/texteditselection.cpp
  18. +2
    -2
      kcoloredit/texteditselection.h
  19. +3
    -3
      kdvi/TeXFontDefinition.cpp
  20. +1
    -1
      kdvi/TeXFontDefinition.h
  21. +10
    -10
      kdvi/TeXFont_PFB.cpp
  22. +8
    -8
      kdvi/TeXFont_PK.cpp
  23. +1
    -1
      kdvi/dviFile.cpp
  24. +11
    -11
      kdvi/dviRenderer.cpp
  25. +2
    -2
      kdvi/dviRenderer_draw.cpp
  26. +9
    -9
      kdvi/dviRenderer_export.cpp
  27. +25
    -25
      kdvi/dviRenderer_prescan.cpp
  28. +1
    -1
      kdvi/dviWidget.cpp
  29. +2
    -2
      kdvi/fontEncoding.cpp
  30. +1
    -1
      kdvi/fontEncoding.h
  31. +1
    -1
      kdvi/fontMap.cpp
  32. +1
    -1
      kdvi/fontMap.h
  33. +21
    -21
      kdvi/fontpool.cpp
  34. +3
    -3
      kdvi/fontprogress.cpp
  35. +7
    -7
      kdvi/infodialog.cpp
  36. +3
    -3
      kdvi/kdvi_multipage.cpp
  37. +2
    -2
      kdvi/main.cpp
  38. +1
    -1
      kdvi/optionDialogFontsWidget_base.ui
  39. +2
    -2
      kdvi/optionDialogSpecialWidget_base.ui
  40. +7
    -7
      kdvi/psgs.cpp
  41. +9
    -9
      kdvi/special.cpp
  42. +1
    -1
      kdvi/vf.cpp
  43. +6
    -6
      kfax/faxinput.cpp
  44. +8
    -8
      kfax/kfax.cpp
  45. +1
    -1
      kfax/kfax_printsettings.cpp
  46. +7
    -7
      kfax/options.cpp
  47. +3
    -3
      kfaxview/faxrenderer.cpp
  48. +3
    -3
      kfaxview/libkfaximage/kfaximage.cpp
  49. +2
    -2
      kfaxview/main.cpp
  50. +1
    -1
      kfile-plugins/dependencies/poppler-tqt/poppler-document.cc
  51. +1
    -1
      kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc
  52. +2
    -2
      kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.h
  53. +9
    -9
      kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
  54. +1
    -1
      kfile-plugins/dependencies/poppler-tqt/poppler-private.h
  55. +7
    -7
      kfile-plugins/exr/kfile_exr.cpp
  56. +1
    -1
      kfile-plugins/gif/gif-info.1
  57. +6
    -6
      kfile-plugins/jpeg/exif.cpp
  58. +1
    -1
      kfile-plugins/jpeg/kfile_jpeg.cpp
  59. +5
    -5
      kfile-plugins/pdf/kfile_pdf.cpp
  60. +1
    -1
      kfile-plugins/pnm/kfile_pnm.cpp
  61. +1
    -1
      kfile-plugins/ps/gscreator.cpp
  62. +2
    -2
      kfile-plugins/rgb/kfile_rgb.cpp
  63. +1
    -1
      kgamma/kcmkgamma/displaynumber.cpp
  64. +12
    -12
      kgamma/kcmkgamma/kgamma.cpp
  65. +5
    -5
      kghostview/displayoptions.cpp
  66. +1
    -1
      kghostview/gssettingswidget.ui
  67. +1
    -1
      kghostview/gssettingswidget.ui.h
  68. +2
    -2
      kghostview/infodialog.cpp
  69. +3
    -3
      kghostview/kdscerrordialog.cpp
  70. +7
    -7
      kghostview/kgv_miniwidget.cpp
  71. +5
    -5
      kghostview/kgv_view.cpp
  72. +6
    -6
      kghostview/kgvconfigdialog.cpp
  73. +18
    -18
      kghostview/kgvdocument.cpp
  74. +1
    -1
      kghostview/kgvfactory.cpp
  75. +1
    -1
      kghostview/kgvpagedecorator.cpp
  76. +3
    -3
      kghostview/kgvshell.cpp
  77. +3
    -3
      kghostview/kpswidget.cpp
  78. +1
    -1
      kghostview/logwindow.cpp
  79. +2
    -2
      kghostview/marklist.cpp
  80. +3
    -3
      kghostview/scrollbox.cpp
  81. +17
    -17
      kghostview/viewcontrol.cpp
  82. +4
    -4
      kiconedit/kcolorgrid.cpp
  83. +1
    -1
      kiconedit/kcolorgrid.h
  84. +5
    -5
      kiconedit/kicon.cpp
  85. +1
    -1
      kiconedit/kiconcolors.cpp
  86. +12
    -12
      kiconedit/kiconconfig.cpp
  87. +3
    -3
      kiconedit/kiconedit.cpp
  88. +1
    -1
      kiconedit/kiconedit.h
  89. +5
    -5
      kiconedit/kiconeditslots.cpp
  90. +5
    -5
      kiconedit/kicongrid.cpp
  91. +2
    -2
      kiconedit/knew.cpp
  92. +5
    -5
      kiconedit/kresize.cpp
  93. +9
    -9
      kiconedit/palettetoolbar.cpp
  94. +5
    -5
      kmrml/kmrml/algorithmdialog.cpp
  95. +1
    -1
      kmrml/kmrml/kcontrol/indexcleaner.cpp
  96. +2
    -2
      kmrml/kmrml/kcontrol/indexer.cpp
  97. +7
    -7
      kmrml/kmrml/kcontrol/kcmkmrml.cpp
  98. +2
    -2
      kmrml/kmrml/kcontrol/mainpage.cpp
  99. +2
    -2
      kmrml/kmrml/kcontrol/serverconfigwidget.ui
  100. +2
    -2
      kmrml/kmrml/lib/kmrml_config.cpp
  101. +1
    -1
      kmrml/kmrml/lib/kmrml_config.h
  102. +3
    -3
      kmrml/kmrml/lib/mrml_shared.cpp
  103. +2
    -2
      kmrml/kmrml/lib/mrml_shared.h
  104. +6
    -6
      kmrml/kmrml/mrml.cpp
  105. +1
    -1
      kmrml/kmrml/mrml_elements.cpp
  106. +14
    -14
      kmrml/kmrml/mrml_part.cpp
  107. +3
    -3
      kmrml/kmrml/mrml_part.h
  108. +10
    -10
      kmrml/kmrml/mrml_view.cpp
  109. +1
    -1
      kmrml/kmrml/mrml_view.h
  110. +4
    -4
      kmrml/kmrml/propertysheet.cpp
  111. +1
    -1
      kmrml/kmrml/propertysheet.h
  112. +2
    -2
      kmrml/kmrml/server/watcher.cpp
  113. +3
    -3
      kolourpaint/BUGS
  114. +5
    -5
      kolourpaint/kpcommandhistory.cpp
  115. +3
    -3
      kolourpaint/kpcommandhistory.h
  116. +48
    -48
      kolourpaint/kpdefs.h
  117. +12
    -12
      kolourpaint/kpdocument.cpp
  118. +1
    -1
      kolourpaint/kpdocumentmetainfo.cpp
  119. +14
    -14
      kolourpaint/kpdocumentsaveoptions.cpp
  120. +7
    -7
      kolourpaint/kpdocumentsaveoptionswidget.cpp
  121. +3
    -3
      kolourpaint/kpmainwindow.cpp
  122. +1
    -1
      kolourpaint/kpmainwindow.h
  123. +8
    -8
      kolourpaint/kpmainwindow_edit.cpp
  124. +1
    -1
      kolourpaint/kpmainwindow_settings.cpp
  125. +1
    -1
      kolourpaint/kpmainwindow_text.cpp
  126. +9
    -9
      kolourpaint/kpmainwindow_view.cpp
  127. +5
    -5
      kolourpaint/kpselection.cpp
  128. +2
    -2
      kolourpaint/kpselection.h
  129. +5
    -5
      kolourpaint/kpselectiondrag.cpp
  130. +1
    -1
      kolourpaint/kpselectiondrag.h
  131. +6
    -6
      kolourpaint/kpthumbnail.cpp
  132. +8
    -8
      kolourpaint/kptool.cpp
  133. +1
    -1
      kolourpaint/kptool.h
  134. +2
    -2
      kolourpaint/kpview.cpp
  135. +2
    -2
      kolourpaint/kpviewmanager.cpp
  136. +3
    -3
      kolourpaint/kpviewscrollablecontainer.cpp
  137. +2
    -2
      kolourpaint/patches/doc_resize_no_flicker.diff
  138. +4
    -4
      kolourpaint/pixmapfx/kpeffectbalance.cpp
  139. +1
    -1
      kolourpaint/pixmapfx/kpeffectblursharpen.cpp
  140. +1
    -1
      kolourpaint/pixmapfx/kpeffectemboss.cpp
  141. +1
    -1
      kolourpaint/pixmapfx/kpeffectflatten.cpp
  142. +1
    -1
      kolourpaint/pixmapfx/kpeffectinvert.cpp
  143. +1
    -1
      kolourpaint/pixmapfx/kpeffectreducecolors.cpp
  144. +10
    -10
      kolourpaint/pixmapfx/kpeffectsdialog.cpp
  145. +6
    -6
      kolourpaint/pixmapfx/kppixmapfx.cpp
  146. +5
    -5
      kolourpaint/tools/kptoolautocrop.cpp
  147. +1
    -1
      kolourpaint/tools/kptoolautocrop.h
  148. +1
    -1
      kolourpaint/tools/kptoolbrush.cpp
  149. +2
    -2
      kolourpaint/tools/kptoolpolygon.cpp
  150. +1
    -1
      kolourpaint/tools/kptoolpolygon.h
  151. +2
    -2
      kolourpaint/tools/kptoolpreviewdialog.cpp
  152. +1
    -1
      kolourpaint/tools/kptoolrectangle.cpp
  153. +2
    -2
      kolourpaint/tools/kptoolrectangle.h
  154. +9
    -9
      kolourpaint/tools/kptoolresizescale.cpp
  155. +1
    -1
      kolourpaint/tools/kptoolrotate.cpp
  156. +1
    -1
      kolourpaint/tools/kptoolskew.cpp
  157. +1
    -1
      kolourpaint/views/kpthumbnailview.cpp
  158. +5
    -5
      kolourpaint/widgets/kpcolorsimilaritycube.cpp
  159. +1
    -1
      kolourpaint/widgets/kpcolorsimilaritycube.h
  160. +1
    -1
      kolourpaint/widgets/kpcolorsimilaritydialog.cpp
  161. +12
    -12
      kolourpaint/widgets/kpcolortoolbar.cpp
  162. +2
    -2
      kolourpaint/widgets/kpcolortoolbar.h
  163. +3
    -3
      kolourpaint/widgets/kpsqueezedtextlabel.cpp
  164. +1
    -1
      kolourpaint/widgets/kpsqueezedtextlabel.h
  165. +3
    -3
      kolourpaint/widgets/kptooltoolbar.cpp
  166. +6
    -6
      kolourpaint/widgets/kptoolwidgetbase.cpp
  167. +16
    -16
      kolourpaint/widgets/kptoolwidgetbrush.cpp
  168. +1
    -1
      kolourpaint/widgets/kptoolwidgetbrush.h
  169. +1
    -1
      kolourpaint/widgets/kptoolwidgeterasersize.cpp
  170. +1
    -1
      kolourpaint/widgets/kptoolwidgetfillstyle.cpp
  171. +1
    -1
      kolourpaint/widgets/kptoolwidgetspraycansize.cpp
  172. +1
    -1
      kooka/CHANGES
  173. +11
    -11
      kooka/img_saver.cpp
  174. +3
    -3
      kooka/imgnamecombo.cpp
  175. +9
    -9
      kooka/imgprintdialog.cpp
  176. +1
    -1
      kooka/kadmosocr.cpp
  177. +5
    -5
      kooka/kocrbase.cpp
  178. +1
    -1
      kooka/kocrgocr.cpp
  179. +3
    -3
      kooka/kocrkadmos.cpp
  180. +3
    -3
      kooka/kocrocrad.cpp
  181. +1
    -1
      kooka/kooka.cpp
  182. +9
    -9
      kooka/kookapref.cpp
  183. +7
    -7
      kooka/kookaview.cpp
  184. +1
    -1
      kooka/kookaview.h
  185. +3
    -3
      kooka/ksaneocr.cpp
  186. +1
    -1
      kooka/ocrresedit.cpp
  187. +1
    -1
      kooka/ocrresedit.h
  188. +7
    -7
      kooka/scanpackager.cpp
  189. +2
    -2
      kooka/thumbview.cpp
  190. +13
    -13
      kpdf/conf/dlgaccessibility.ui
  191. +4
    -4
      kpdf/conf/dlggeneral.ui
  192. +8
    -8
      kpdf/conf/dlgperformance.ui
  193. +2
    -2
      kpdf/conf/dlgpresentation.ui
  194. +9
    -9
      kpdf/core/document.cpp
  195. +13
    -13
      kpdf/core/generator_pdf/generator_pdf.cpp
  196. +2
    -2
      kpdf/core/link.cpp
  197. +3
    -3
      kpdf/core/page.cpp
  198. +1
    -1
      kpdf/core/page.h
  199. +1
    -1
      kpdf/core/pagetransition.cpp
  200. +3
    -3
      kpdf/core/pagetransition.h
  201. +1
    -1
      kpdf/error.cpp
  202. +12
    -12
      kpdf/part.cpp
  203. +11
    -11
      kpdf/ui/minibar.cpp
  204. +4
    -4
      kpdf/ui/pagepainter.cpp
  205. +57
    -57
      kpdf/ui/pageview.cpp
  206. +21
    -21
      kpdf/ui/pageviewutils.cpp
  207. +3
    -3
      kpdf/ui/pageviewutils.h
  208. +44
    -44
      kpdf/ui/presentationwidget.cpp
  209. +1
    -1
      kpdf/ui/presentationwidget.h
  210. +12
    -12
      kpdf/ui/propertiesdialog.cpp
  211. +2
    -2
      kpdf/ui/searchwidget.cpp
  212. +6
    -6
      kpdf/ui/thumbnaillist.cpp
  213. +1
    -1
      kpdf/ui/thumbnaillist.h
  214. +10
    -10
      kpovmodeler/pmactions.cpp
  215. +1
    -1
      kpovmodeler/pmaddcommand.cpp
  216. +2
    -2
      kpovmodeler/pmaddcommand.h
  217. +6
    -6
      kpovmodeler/pmbicubicpatch.cpp
  218. +1
    -1
      kpovmodeler/pmbicubicpatch.h
  219. +15
    -15
      kpovmodeler/pmbicubicpatchedit.cpp
  220. +2
    -2
      kpovmodeler/pmblendmapmodifiers.cpp
  221. +1
    -1
      kpovmodeler/pmblendmapmodifiers.h
  222. +1
    -1
      kpovmodeler/pmblendmapmodifiersedit.cpp
  223. +2
    -2
      kpovmodeler/pmblob.cpp
  224. +1
    -1
      kpovmodeler/pmblob.h
  225. +2
    -2
      kpovmodeler/pmblobcylinder.cpp
  226. +1
    -1
      kpovmodeler/pmblobcylinder.h
  227. +5
    -5
      kpovmodeler/pmblobcylinderedit.cpp
  228. +1
    -1
      kpovmodeler/pmblobedit.cpp
  229. +2
    -2
      kpovmodeler/pmblobsphere.cpp
  230. +1
    -1
      kpovmodeler/pmblobsphere.h
  231. +8
    -8
      kpovmodeler/pmblobsphereedit.cpp
  232. +2
    -2
      kpovmodeler/pmboundedby.cpp
  233. +1
    -1
      kpovmodeler/pmboundedby.h
  234. +1
    -1
      kpovmodeler/pmboundedbyedit.cpp
  235. +2
    -2
      kpovmodeler/pmbox.cpp
  236. +1
    -1
      kpovmodeler/pmbox.h
  237. +1
    -1
      kpovmodeler/pmboxedit.cpp
  238. +2
    -2
      kpovmodeler/pmbumpmap.cpp
  239. +1
    -1
      kpovmodeler/pmbumpmap.h
  240. +1
    -1
      kpovmodeler/pmbumpmapedit.cpp
  241. +2
    -2
      kpovmodeler/pmcamera.cpp
  242. +1
    -1
      kpovmodeler/pmcamera.h
  243. +28
    -28
      kpovmodeler/pmcameraedit.cpp
  244. +2
    -2
      kpovmodeler/pmclippedby.cpp
  245. +1
    -1
      kpovmodeler/pmclippedby.h
  246. +1
    -1
      kpovmodeler/pmclippedbyedit.cpp
  247. +1
    -1
      kpovmodeler/pmcolor.cpp
  248. +1
    -1
      kpovmodeler/pmcoloredit.cpp
  249. +40
    -40
      kpovmodeler/pmcolorsettings.cpp
  250. +2
    -2
      kpovmodeler/pmcommand.h
  251. +3
    -3
      kpovmodeler/pmcomment.cpp
  252. +1
    -1
      kpovmodeler/pmcomment.h
  253. +1
    -1
      kpovmodeler/pmcommentedit.cpp
  254. +5
    -5
      kpovmodeler/pmcompositeobject.cpp
  255. +4
    -4
      kpovmodeler/pmcompositeobject.h
  256. +2
    -2
      kpovmodeler/pmcone.cpp
  257. +1
    -1
      kpovmodeler/pmcone.h
  258. +5
    -5
      kpovmodeler/pmconeedit.cpp
  259. +2
    -2
      kpovmodeler/pmcsg.cpp
  260. +1
    -1
      kpovmodeler/pmcsg.h
  261. +6
    -6
      kpovmodeler/pmcsgedit.cpp
  262. +2
    -2
      kpovmodeler/pmcylinder.cpp
  263. +1
    -1
      kpovmodeler/pmcylinder.h
  264. +8
    -8
      kpovmodeler/pmcylinderedit.cpp
  265. +1
    -1
      kpovmodeler/pmdatachangecommand.cpp
  266. +5
    -5
      kpovmodeler/pmdeclare.cpp
  267. +1
    -1
      kpovmodeler/pmdeclare.h
  268. +8
    -8
      kpovmodeler/pmdeclareedit.cpp
  269. +2
    -2
      kpovmodeler/pmdeletecommand.cpp
  270. +2
    -2
      kpovmodeler/pmdensity.cpp
  271. +1
    -1
      kpovmodeler/pmdensity.h
  272. +1
    -1
      kpovmodeler/pmdensityedit.cpp
  273. +2
    -2
      kpovmodeler/pmdetailobject.cpp
  274. +1
    -1
      kpovmodeler/pmdetailobject.h
  275. +6
    -6
      kpovmodeler/pmdetailobjectedit.cpp
  276. +9
    -9
      kpovmodeler/pmdialogeditbase.cpp
  277. +4
    -4
      kpovmodeler/pmdialogeditbase.h
  278. +5
    -5
      kpovmodeler/pmdialogview.cpp
  279. +2
    -2
      kpovmodeler/pmdisc.cpp
  280. +1
    -1
      kpovmodeler/pmdisc.h
  281. +8
    -8
      kpovmodeler/pmdiscedit.cpp
  282. +70
    -70
      kpovmodeler/pmdockwidget.cpp
  283. +11
    -11
      kpovmodeler/pmdockwidget.h
  284. +27
    -27
      kpovmodeler/pmdockwidget_private.cpp
  285. +1
    -1
      kpovmodeler/pmerrordialog.cpp
  286. +2
    -2
      kpovmodeler/pmfinish.cpp
  287. +1
    -1
      kpovmodeler/pmfinish.h
  288. +35
    -35
      kpovmodeler/pmfinishedit.cpp
  289. +2
    -2
      kpovmodeler/pmfog.cpp
  290. +1
    -1
      kpovmodeler/pmfog.h
  291. +1
    -1
      kpovmodeler/pmfogedit.cpp
  292. +8
    -8
      kpovmodeler/pmformulalabel.cpp
  293. +3
    -3
      kpovmodeler/pmformulalabel.h
  294. +2
    -2
      kpovmodeler/pmglobalphotons.cpp
  295. +1
    -1
      kpovmodeler/pmglobalphotons.h
  296. +1
    -1
      kpovmodeler/pmglobalphotonsedit.cpp
  297. +2
    -2
      kpovmodeler/pmglobalsettings.cpp
  298. +1
    -1
      kpovmodeler/pmglobalsettings.h
  299. +29
    -29
      kpovmodeler/pmglobalsettingsedit.cpp
  300. +11
    -11
      kpovmodeler/pmglview.cpp
  301. +2
    -2
      kpovmodeler/pmglview.h
  302. +2
    -2
      kpovmodeler/pmgraphicalobject.cpp
  303. +2
    -2
      kpovmodeler/pmgraphicalobject.h
  304. +2
    -2
      kpovmodeler/pmgraphicalobjectedit.cpp
  305. +22
    -22
      kpovmodeler/pmgridsettings.cpp
  306. +2
    -2
      kpovmodeler/pmheightfield.cpp
  307. +1
    -1
      kpovmodeler/pmheightfield.h
  308. +1
    -1
      kpovmodeler/pmheightfieldedit.cpp
  309. +2
    -2
      kpovmodeler/pmimagemap.cpp
  310. +1
    -1
      kpovmodeler/pmimagemap.h
  311. +5
    -5
      kpovmodeler/pmimagemapedit.cpp
  312. +1
    -1
      kpovmodeler/pminserterrordialog.cpp
  313. +12
    -12
      kpovmodeler/pminsertrulesystem.cpp
  314. +2
    -2
      kpovmodeler/pminsertrulesystem.h
  315. +2
    -2
      kpovmodeler/pminterior.cpp
  316. +1
    -1
      kpovmodeler/pminterior.h
  317. +14
    -14
      kpovmodeler/pminterioredit.cpp
  318. +2
    -2
      kpovmodeler/pminteriortexture.cpp
  319. +1
    -1
      kpovmodeler/pminteriortexture.h
  320. +1
    -1
      kpovmodeler/pminteriortextureedit.cpp
  321. +2
    -2
      kpovmodeler/pmisosurface.cpp
  322. +1
    -1
      kpovmodeler/pmisosurface.h
  323. +2
    -2
      kpovmodeler/pmisosurfaceedit.cpp
  324. +2
    -2
      kpovmodeler/pmjuliafractal.cpp
  325. +1
    -1
      kpovmodeler/pmjuliafractal.h
  326. +1
    -1
      kpovmodeler/pmjuliafractaledit.cpp
  327. +6
    -6
      kpovmodeler/pmlathe.cpp
  328. +1
    -1
      kpovmodeler/pmlathe.h
  329. +1
    -1
      kpovmodeler/pmlatheedit.cpp
  330. +13
    -13
      kpovmodeler/pmlayoutsettings.cpp
  331. +5
    -5
      kpovmodeler/pmlayoutsettings.h
  332. +1
    -1
      kpovmodeler/pmlibrarybrowser.cpp
  333. +7
    -7
      kpovmodeler/pmlibraryentrypreview.cpp
  334. +1
    -1
      kpovmodeler/pmlibraryhandle.cpp
  335. +2
    -2
      kpovmodeler/pmlibraryhandleedit.cpp
  336. +4
    -4
      kpovmodeler/pmlibraryiconview.cpp
  337. +1
    -1
      kpovmodeler/pmlibraryiconview.h
  338. +1
    -1
      kpovmodeler/pmlibraryobjectsearch.cpp
  339. +2
    -2
      kpovmodeler/pmlight.cpp
  340. +1
    -1
      kpovmodeler/pmlight.h
  341. +1
    -1
      kpovmodeler/pmlightedit.cpp
  342. +2
    -2
      kpovmodeler/pmlightgroup.cpp
  343. +1
    -1
      kpovmodeler/pmlightgroup.h
  344. +5
    -5
      kpovmodeler/pmlightgroupedit.cpp
  345. +8
    -8
      kpovmodeler/pmlineedits.cpp
  346. +5
    -5
      kpovmodeler/pmlinkedit.cpp
  347. +12
    -12
      kpovmodeler/pmlistpattern.cpp
  348. +6
    -6
      kpovmodeler/pmlistpattern.h
  349. +18
    -18
      kpovmodeler/pmlistpatternedit.cpp
  350. +2
    -2
      kpovmodeler/pmlookslike.cpp
  351. +1
    -1
      kpovmodeler/pmlookslike.h
  352. +2
    -2
      kpovmodeler/pmmaterial.cpp
  353. +1
    -1
      kpovmodeler/pmmaterial.h
  354. +1
    -1
      kpovmodeler/pmmaterialedit.cpp
  355. +2
    -2
      kpovmodeler/pmmaterialmap.cpp
  356. +1
    -1
      kpovmodeler/pmmaterialmap.h
  357. +1
    -1
      kpovmodeler/pmmaterialmapedit.cpp
  358. +1
    -1
      kpovmodeler/pmmatrix.cpp
  359. +2
    -2
      kpovmodeler/pmmedia.cpp
  360. +1
    -1
      kpovmodeler/pmmedia.h
  361. +1
    -1
      kpovmodeler/pmmediaedit.cpp
  362. +8
    -8
      kpovmodeler/pmmesh.cpp
  363. +1
    -1
      kpovmodeler/pmmesh.h
  364. +9
    -9
      kpovmodeler/pmmeshedit.cpp
  365. +5
    -5
      kpovmodeler/pmmovecommand.cpp
  366. +2
    -2
      kpovmodeler/pmmovecommand.h
  367. +2
    -2
      kpovmodeler/pmnamedobject.cpp
  368. +1
    -1
      kpovmodeler/pmnamedobject.h
  369. +4
    -4
      kpovmodeler/pmnamedobjectedit.cpp
  370. +2
    -2
      kpovmodeler/pmnormal.cpp
  371. +1
    -1
      kpovmodeler/pmnormal.h
  372. +1
    -1
      kpovmodeler/pmnormaledit.cpp
  373. +7
    -7
      kpovmodeler/pmobject.cpp
  374. +11
    -11
      kpovmodeler/pmobject.h
  375. +3
    -3
      kpovmodeler/pmobjectdrag.cpp
  376. +1
    -1
      kpovmodeler/pmobjectdrag.h
  377. +8
    -8
      kpovmodeler/pmobjectlibrarysettings.cpp
  378. +3
    -3
      kpovmodeler/pmobjectlink.cpp
  379. +1
    -1
      kpovmodeler/pmobjectlink.h
  380. +1
    -1
      kpovmodeler/pmobjectlinkedit.cpp
  381. +105
    -105
      kpovmodeler/pmobjectsettings.cpp
  382. +5
    -5
      kpovmodeler/pmopenglsettings.cpp
  383. +5
    -5
      kpovmodeler/pmoutputdevice.cpp
  384. +10
    -10
      kpovmodeler/pmpalettevalueedit.cpp
  385. +13
    -13
      kpovmodeler/pmparser.cpp
  386. +2
    -2
      kpovmodeler/pmparser.h
  387. +11
    -11
      kpovmodeler/pmpart.cpp
  388. +2
    -2
      kpovmodeler/pmpattern.cpp
  389. +1
    -1
      kpovmodeler/pmpattern.h
  390. +22
    -22
      kpovmodeler/pmpatternedit.cpp
  391. +2
    -2
      kpovmodeler/pmphotons.cpp
  392. +1
    -1
      kpovmodeler/pmphotons.h
  393. +1
    -1
      kpovmodeler/pmphotonsedit.cpp
  394. +2
    -2
      kpovmodeler/pmpigment.cpp
  395. +1
    -1
      kpovmodeler/pmpigment.h
  396. +1
    -1
      kpovmodeler/pmpigmentedit.cpp
  397. +2
    -2
      kpovmodeler/pmplane.cpp
  398. +1
    -1
      kpovmodeler/pmplane.h
  399. +12
    -12
      kpovmodeler/pmplaneedit.cpp
  400. +9
    -9
      kpovmodeler/pmpluginsettings.cpp
  401. +2
    -2
      kpovmodeler/pmpolynom.cpp
  402. +1
    -1
      kpovmodeler/pmpolynom.h
  403. +3
    -3
      kpovmodeler/pmpolynomedit.cpp
  404. +161
    -161
      kpovmodeler/pmpovray31serialization.cpp
  405. +75
    -75
      kpovmodeler/pmpovray31serialization.h
  406. +43
    -43
      kpovmodeler/pmpovray35serialization.cpp
  407. +22
    -22
      kpovmodeler/pmpovray35serialization.h
  408. +2
    -2
      kpovmodeler/pmpovraymatrix.cpp
  409. +1
    -1
      kpovmodeler/pmpovraymatrix.h
  410. +1
    -1
      kpovmodeler/pmpovraymatrixedit.cpp
  411. +2
    -2
      kpovmodeler/pmpovrayoutputwidget.cpp
  412. +6
    -6
      kpovmodeler/pmpovrayparser.cpp
  413. +4
    -4
      kpovmodeler/pmpovrayrenderwidget.cpp
  414. +1
    -1
      kpovmodeler/pmpovrayrenderwidget.h
  415. +23
    -23
      kpovmodeler/pmpovraysettings.cpp
  416. +12
    -12
      kpovmodeler/pmpovraywidget.cpp
  417. +1
    -1
      kpovmodeler/pmpovraywidget.h
  418. +30
    -30
      kpovmodeler/pmpreviewsettings.cpp
  419. +4
    -4
      kpovmodeler/pmprism.cpp
  420. +1
    -1
      kpovmodeler/pmprism.h
  421. +4
    -4
      kpovmodeler/pmprismedit.cpp
  422. +2
    -2
      kpovmodeler/pmprojectedthrough.cpp
  423. +1
    -1
      kpovmodeler/pmprojectedthrough.h
  424. +16
    -16
      kpovmodeler/pmprototypemanager.cpp
  425. +2
    -2
      kpovmodeler/pmprototypemanager.h
  426. +2
    -2
      kpovmodeler/pmquickcolor.cpp
  427. +1
    -1
      kpovmodeler/pmquickcolor.h
  428. +4
    -4
      kpovmodeler/pmquickcoloredit.cpp
  429. +2
    -2
      kpovmodeler/pmradiosity.cpp
  430. +1
    -1
      kpovmodeler/pmradiosity.h
  431. +1
    -1
      kpovmodeler/pmradiosityedit.cpp
  432. +2
    -2
      kpovmodeler/pmrainbow.cpp
  433. +1
    -1
      kpovmodeler/pmrainbow.h
  434. +1
    -1
      kpovmodeler/pmrainbowedit.cpp
  435. +3
    -3
      kpovmodeler/pmraw.cpp
  436. +1
    -1
      kpovmodeler/pmraw.h
  437. +1
    -1
      kpovmodeler/pmrawedit.cpp
  438. +8
    -8
      kpovmodeler/pmrendermanager.cpp
  439. +9
    -9
      kpovmodeler/pmrendermode.cpp
  440. +1
    -1
      kpovmodeler/pmrendermodesdialog.cpp
  441. +2
    -2
      kpovmodeler/pmrotate.cpp
  442. +1
    -1
      kpovmodeler/pmrotate.h
  443. +1
    -1
      kpovmodeler/pmrotateedit.cpp
  444. +2
    -2
      kpovmodeler/pmscale.cpp
  445. +1
    -1
      kpovmodeler/pmscale.h
  446. +1
    -1
      kpovmodeler/pmscaleedit.cpp
  447. +2
    -2
      kpovmodeler/pmscanner.cpp
  448. +2
    -2
      kpovmodeler/pmscene.cpp
  449. +1
    -1
      kpovmodeler/pmscene.h
  450. +2
    -2
      kpovmodeler/pmserializer.cpp
  451. +4
    -4
      kpovmodeler/pmsettingsdialog.cpp
  452. +1
    -1
      kpovmodeler/pmsettingsdialog.h
  453. +4
    -4
      kpovmodeler/pmshell.cpp
  454. +2
    -2
      kpovmodeler/pmskysphere.cpp
  455. +1
    -1
      kpovmodeler/pmskysphere.h
  456. +1
    -1
      kpovmodeler/pmskysphereedit.cpp
  457. +2
    -2
      kpovmodeler/pmslope.cpp
  458. +1
    -1
      kpovmodeler/pmslope.h
  459. +1
    -1
      kpovmodeler/pmslopeedit.cpp
  460. +2
    -2
      kpovmodeler/pmsolidcolor.cpp
  461. +1
    -1
      kpovmodeler/pmsolidcolor.h
  462. +4
    -4
      kpovmodeler/pmsolidcoloredit.cpp
  463. +2
    -2
      kpovmodeler/pmsolidobject.cpp
  464. +2
    -2
      kpovmodeler/pmsolidobject.h
  465. +1
    -1
      kpovmodeler/pmsolidobjectedit.cpp
  466. +4
    -4
      kpovmodeler/pmsor.cpp
  467. +1
    -1
      kpovmodeler/pmsor.h
  468. +2
    -2
      kpovmodeler/pmsoredit.cpp
  469. +2
    -2
      kpovmodeler/pmsphere.cpp
  470. +1
    -1
      kpovmodeler/pmsphere.h
  471. +9
    -9
      kpovmodeler/pmsphereedit.cpp
  472. +6
    -6
      kpovmodeler/pmspheresweep.cpp
  473. +1
    -1
      kpovmodeler/pmspheresweep.h
  474. +1
    -1
      kpovmodeler/pmspheresweepedit.cpp
  475. +2
    -2
      kpovmodeler/pmsqe.cpp
  476. +1
    -1
      kpovmodeler/pmsqe.h
  477. +1
    -1
      kpovmodeler/pmsqeedit.cpp
  478. +1
    -1
      kpovmodeler/pmsymboltable.cpp
  479. +2
    -2
      kpovmodeler/pmtext.cpp
  480. +1
    -1
      kpovmodeler/pmtext.h
  481. +1
    -1
      kpovmodeler/pmtextedit.cpp
  482. +2
    -2
      kpovmodeler/pmtexture.cpp
  483. +1
    -1
      kpovmodeler/pmtexture.h
  484. +3
    -3
      kpovmodeler/pmtexturebase.cpp
  485. +1
    -1
      kpovmodeler/pmtexturebase.h
  486. +1
    -1
      kpovmodeler/pmtexturebaseedit.cpp
  487. +1
    -1
      kpovmodeler/pmtextureedit.cpp
  488. +16
    -16
      kpovmodeler/pmtexturemap.cpp
  489. +7
    -7
      kpovmodeler/pmtexturemap.h
  490. +1
    -1
      kpovmodeler/pmtexturemapedit.cpp
  491. +2
    -2
      kpovmodeler/pmtorus.cpp
  492. +1
    -1
      kpovmodeler/pmtorus.h
  493. +1
    -1
      kpovmodeler/pmtorusedit.cpp
  494. +2
    -2
      kpovmodeler/pmtranslate.cpp
  495. +1
    -1
      kpovmodeler/pmtranslate.h
  496. +1
    -1
      kpovmodeler/pmtranslateedit.cpp
  497. +2
    -2
      kpovmodeler/pmtreeview.cpp
  498. +2
    -2
      kpovmodeler/pmtreeviewitem.cpp
  499. +4
    -4
      kpovmodeler/pmtreeviewitem.h
  500. +2
    -2
      kpovmodeler/pmtriangle.cpp

+ 3
- 3
kamera/kcontrol/kamera.cpp View File

@ -21,7 +21,7 @@
*/
#include <tqlabel.h>
#include <layout.h>
#include <tqlayout.h>
#include <kgenericfactory.h>
#include <ksimpleconfig.h>
@ -96,7 +96,7 @@ void KKameraConfig::displayGPSuccessDialogue(void)
// set the kcontrol module buttons
setButtons(Help | Apply | Cancel | Ok);
// create a layout with two vertical boxes
// create a tqlayout with two vertical boxes
TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, 0);
topLayout->setAutoAdd(true);
@ -113,7 +113,7 @@ void KKameraConfig::displayGPSuccessDialogue(void)
connect(m_deviceSel, TQT_SIGNAL(selectionChanged(TQIconViewItem *)),
TQT_SLOT(slot_deviceSelected(TQIconViewItem *)));
m_deviceSel->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
m_deviceSel->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
// create actions
KAction *act;


+ 3
- 3
kamera/kcontrol/kameraconfigdialog.cpp View File

@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <layout.h>
#include <tqlayout.h>
#include <tqgrid.h>
#include <tqlabel.h>
#include <tqvgroupbox.h>
@ -221,14 +221,14 @@ void KameraConfigDialog::appendWidget(TQWidget *parent, CameraWidget *widget)
return;
}
// Append all this widgets children
// Append all this widgets tqchildren
for(int i = 0; i < gp_widget_count_children(widget); ++i) {
CameraWidget *widget_child;
gp_widget_get_child(widget, i, &widget_child);
appendWidget(newParent, widget_child);
}
// Things that must be done after all children were added
// Things that must be done after all tqchildren were added
/*
switch (widget_type) {
case GP_WIDGET_SECTION:


+ 7
- 7
kamera/kcontrol/kameradevice.cpp View File

@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <layout.h>
#include <tqlayout.h>
#include <tqwidgetstack.h>
#include <tqvbuttongroup.h>
#include <tqvgroupbox.h>
@ -86,7 +86,7 @@ bool KCamera::initInformation()
int index = gp_abilities_list_lookup_model(m_abilitylist, m_model.local8Bit().data());
if(index < 0) {
emit error(i18n("Description of abilities for camera %1 is not available."
" Configuration options may be incorrect.").arg(m_model));
" Configuration options may be incorrect.").tqarg(m_model));
return false;
}
gp_abilities_list_get_abilities(m_abilitylist, index, &m_abilities);
@ -282,7 +282,7 @@ KameraDeviceSelectDialog::KameraDeviceSelectDialog(TQWidget *parent, KCamera *de
TQWidget *page = new TQWidget( this );
setMainWidget(page);
// a layout with vertical boxes
// a tqlayout with vertical boxes
TQHBoxLayout *topLayout = new TQHBoxLayout(page, 0, KDialog::spacingHint());
// the models list
@ -293,7 +293,7 @@ KameraDeviceSelectDialog::KameraDeviceSelectDialog(TQWidget *parent, KCamera *de
connect(m_modelSel, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
TQT_SLOT(slot_setModel(TQListViewItem *)));
// make sure listview only as wide as it needs to be
m_modelSel->setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum,
m_modelSel->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Maximum,
TQSizePolicy::Preferred));
TQVBoxLayout *rightLayout = new TQVBoxLayout(0L, 0, KDialog::spacingHint());
@ -347,7 +347,7 @@ KameraDeviceSelectDialog::KameraDeviceSelectDialog(TQWidget *parent, KCamera *de
for (int i = 0; i < gphoto_ports; i++) {
if (gp_port_info_list_get_info(list, i, &info) >= 0) {
if (strncmp(info.path, "serial:", 7) == 0)
m_serialPortCombo->insertItem(TQString::fromLatin1(info.path).mid(7));
m_serialPortCombo->insertItem(TQString::tqfromLatin1(info.path).mid(7));
}
}
gp_port_info_list_free(list);
@ -432,7 +432,7 @@ void KameraDeviceSelectDialog::slot_setModel(TQListViewItem *item)
int index = gp_abilities_list_lookup_model(m_device->m_abilitylist, model.local8Bit().data());
if(index < 0) {
slot_error(i18n("Description of abilities for camera %1 is not available."
" Configuration options may be incorrect.").arg(model));
" Configuration options may be incorrect.").tqarg(model));
}
int result = gp_abilities_list_get_abilities(m_device->m_abilitylist, index, &abilities);
if (result == GP_OK) {
@ -452,7 +452,7 @@ void KameraDeviceSelectDialog::slot_setModel(TQListViewItem *item)
setPortType(INDEX_USB);
} else {
slot_error(i18n("Description of abilities for camera %1 is not available."
" Configuration options may be incorrect.").arg(model));
" Configuration options may be incorrect.").tqarg(model));
}
}


+ 6
- 6
kamera/kioslave/kamera.cpp View File

@ -30,7 +30,7 @@
#include <errno.h>
#include <tqfile.h>
#include <textstream.h>
#include <tqtextstream.h>
#include <kdebug.h>
#include <kinstance.h>
@ -55,7 +55,7 @@ extern "C"
{
KDE_EXPORT int kdemain(int argc, char **argv);
static void frontendCameraStatus(GPContext *context, const char *format, va_list args, void *data);
static void frontendCameratqStatus(GPContext *context, const char *format, va_list args, void *data);
static unsigned int frontendProgressStart(
GPContext *context, float totalsize, const char *format,
va_list args, void *data
@ -242,7 +242,7 @@ void KameraProtocol::get(const KURL &url)
#undef GPHOTO_TEXT_FILE
// emit info message
infoMessage( i18n("Retrieving data from camera <b>%1</b>").arg(url.user()) );
infoMessage( i18n("Retrieving data from camera <b>%1</b>").tqarg(url.user()) );
// Note: There's no need to re-read directory for each get() anymore
gp_file_new(&m_file);
@ -795,7 +795,7 @@ void KameraProtocol::setHost(const TQString& host, int port, const TQString& use
}
// register gphoto2 callback functions
gp_context_set_status_func(m_context, frontendCameraStatus, this);
gp_context_set_status_func(m_context, frontendCameratqStatus, this);
gp_context_set_progress_funcs(m_context, frontendProgressStart, frontendProgressUpdate, NULL, this);
// gp_camera_set_message_func(m_camera, ..., this)
@ -881,7 +881,7 @@ void KameraProtocol::translateFileToUDS(UDSEntry &udsEntry, const CameraFileInfo
if (info.file.fields & GP_FILE_INFO_TYPE) {
atom.m_uds = UDS_MIME_TYPE;
atom.m_str = TQString::fromLatin1(info.file.type);
atom.m_str = TQString::tqfromLatin1(info.file.type);
udsEntry.append(atom);
}
@ -1028,7 +1028,7 @@ unsigned int frontendProgressStart(
}
// this callback function is activated on every status message from gphoto2
static void frontendCameraStatus(GPContext * /*context*/, const char *format, va_list args, void *data)
static void frontendCameratqStatus(GPContext * /*context*/, const char *format, va_list args, void *data)
{
KameraProtocol *object = (KameraProtocol*)data;
char *status;


+ 7
- 7
kcoloredit/colorselector.cpp View File

@ -17,7 +17,7 @@
#include <math.h>
#include <layout.h>
#include <tqlayout.h>
/* #include <tqtabwidget.h> */
#include <tqradiobutton.h>
#include <tqlabel.h>
@ -53,7 +53,7 @@ ColorSelector::ColorSelector(TQWidget *parent, const char *name ) : TQWidget(par
topLayout->addWidget(gradientSelection, 10);
KSeparator* hLine = new KSeparator(KSeparator::HLine, this);
topLayout->addWidget(hLine);
TQHBoxLayout* layout = new TQHBoxLayout();
TQHBoxLayout* tqlayout = new TQHBoxLayout();
TextEditSelection* textEditSelection = new TextEditSelection(this);
connect(textEditSelection, TQT_SIGNAL( valueChanged(Color*) ), TQT_SLOT( slotSetColor(Color*) ));
connect(this, TQT_SIGNAL( valueChanged(Color*) ), textEditSelection, TQT_SLOT( slotSetValue(Color*) ));
@ -88,17 +88,17 @@ ColorSelector::ColorSelector(TQWidget *parent, const char *name ) : TQWidget(par
colorChangeLayout->addStretch(10);
colorChangeLayout->addWidget(colorChangeSliderWidget);
colorChangeLayout->addStretch(10);
layout->addLayout(colorChangeLayout, 10);
tqlayout->addLayout(colorChangeLayout, 10);
m_color.setComponents(RGB_MAX_COMPONENT_VALUE, RGB_MAX_COMPONENT_VALUE, RGB_MAX_COMPONENT_VALUE);
slotColorReplace();
KSeparator* vLine = new KSeparator(KSeparator::VLine, this);
layout->addWidget(vLine);
layout->addWidget(textEditSelection, 1);
tqlayout->addWidget(vLine);
tqlayout->addWidget(textEditSelection, 1);
colorPatch = new KColorPatch(this);
connect(colorPatch, TQT_SIGNAL( colorChanged(const TQColor&) ), TQT_SLOT( slotSetColor(const TQColor&) ));
colorPatch->setMinimumSize(80, 64);
layout->addWidget(colorPatch, 10);
topLayout->addLayout(layout);
tqlayout->addWidget(colorPatch, 10);
topLayout->addLayout(tqlayout);
}
ColorSelector::~ColorSelector() {
}


+ 5
- 5
kcoloredit/gradientselection.cpp View File

@ -15,7 +15,7 @@
* *
***************************************************************************/
#include <layout.h>
#include <tqlayout.h>
#include <tqframe.h>
#include <tqradiobutton.h>
#include <tqcolor.h>
@ -26,13 +26,13 @@
GradientSelection::GradientSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
TQGridLayout* topLayout = new TQGridLayout(this, 2, 2, 0);
TQHBoxLayout* layout = new TQHBoxLayout(0);
layout->setMargin(3);
TQHBoxLayout* tqlayout = new TQHBoxLayout(0);
tqlayout->setMargin(3);
xyColorSelector = new KXYColorSelector(this);
connect(xyColorSelector, TQT_SIGNAL( valueChanged(int, int) ),
TQT_SLOT( slotXyColorSelectorPosChanged(int, int) ));
layout->addWidget(xyColorSelector);
topLayout->addLayout(layout, 0, 0);
tqlayout->addWidget(xyColorSelector);
topLayout->addLayout(tqlayout, 0, 0);
topLayout->setRowStretch(0, 10);
topLayout->setRowStretch(1, 0);
TQVBoxLayout* xyColorSelectorLayout = new TQVBoxLayout();


+ 1
- 1
kcoloredit/kcoloredit.h View File

@ -74,7 +74,7 @@ class KColorEditApp : public KMainWindow
KColorEditDoc *document() const;
protected:
/** save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration
/** save general Options like all bar positions and status as well as the tqgeometry and the recent file list to the configuration
* file
*/
void saveOptions();


+ 3
- 3
kcoloredit/kcoloreditdoc.cpp View File

@ -19,7 +19,7 @@
#include <tqdir.h>
#include <tqfileinfo.h>
#include <tqwidget.h>
#include <clipboard.h>
#include <tqclipboard.h>
// include files for KDE
#include <klocale.h>
@ -235,7 +235,7 @@ void KColorEditDoc::copyToClipboard(Palette& palette) {
TQString text;
TQTextOStream stream(&text);
palette.save(stream, 0, false);
KApplication::clipboard()->setText(text);
KApplication::tqclipboard()->setText(text);
emit clipboardChanged();
}
@ -260,7 +260,7 @@ void KColorEditDoc::paste() {
Palette palettePaste;
TQString text;
TQTextIStream stream(&text);
text = KApplication::clipboard()->text();
text = KApplication::tqclipboard()->text();
if(palettePaste.load( stream, false )) {
m_paletteHistory.paste(paletteCursorPos(), palettePaste);
setPaletteSelection(paletteCursorPos(), paletteCursorPos() +


+ 6
- 6
kcoloredit/kcoloreditview.cpp View File

@ -17,7 +17,7 @@
// include files for TQt
#include <tqpainter.h>
#include <layout.h>
#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqvgroupbox.h>
#include <tqlineedit.h>
@ -43,7 +43,7 @@ KColorEditView::KColorEditView(TQWidget *parent, const char *name) : TQSplitter(
TQVBoxLayout* paletteLayout = new TQVBoxLayout(paletteViewArea);
paletteView = new PaletteView(16, 16, 2, this, paletteViewArea);
paletteLayout->addWidget(paletteView, 10);
TQHBoxLayout* layout = new TQHBoxLayout();
TQHBoxLayout* tqlayout = new TQHBoxLayout();
TQVBoxLayout* addColorLayout = new TQVBoxLayout(4);
addColorLayout->setMargin(8);
TQHBoxLayout* buttonsLayout = new TQHBoxLayout(4);
@ -70,7 +70,7 @@ KColorEditView::KColorEditView(TQWidget *parent, const char *name) : TQSplitter(
// paletteView, TQT_SLOT( slotCursorFollowsChosenColor(bool) ));
//cursorFollowsChosenColor->toggle();
paletteView->slotCursorFollowsChosenColor(true);
layout->addLayout(addColorLayout, 0);
tqlayout->addLayout(addColorLayout, 0);
TQVGroupBox* colorAtCursorFrame = new TQVGroupBox(i18n("Color at Cursor"), paletteViewArea);
TQWidget* colorAtCursorFrameArea = new TQWidget(colorAtCursorFrame);
TQVBoxLayout* colorAtCursorLayout = new TQVBoxLayout(colorAtCursorFrameArea, 4);
@ -127,10 +127,10 @@ KColorEditView::KColorEditView(TQWidget *parent, const char *name) : TQSplitter(
colorAtCursorRgbStringLayout->addWidget(colorAtCursorRgbStringValueLabel);
colorAtCursorRgbStringLayout->addStretch();
colorAtCursorLayout->addLayout(colorAtCursorRgbStringLayout);
layout->addWidget(colorAtCursorFrame, 10);
layout->addSpacing(8);
tqlayout->addWidget(colorAtCursorFrame, 10);
tqlayout->addSpacing(8);
paletteLayout->addSpacing(4);
paletteLayout->addLayout(layout);
paletteLayout->addLayout(tqlayout);
paletteLayout->addSpacing(4);
inColorNameChanging = false;
doNotUpdateColorLabels = false;


+ 1
- 1
kcoloredit/kxycolorselector.cpp View File

@ -42,7 +42,7 @@ void KXYColorSelector::setType(const int type) {
void KXYColorSelector::updateContents() {
drawPalette(&pixmap);
repaint();
tqrepaint();
}
void KXYColorSelector::resizeEvent(TQResizeEvent*) {


+ 1
- 1
kcoloredit/kzcolorselector.cpp View File

@ -53,7 +53,7 @@ void KZColorSelector::setType(const int type) {
void KZColorSelector::updateContents() {
drawPalette(&pixmap);
repaint(false);
tqrepaint(false);
}
void KZColorSelector::resizeEvent(TQResizeEvent*) {


+ 1
- 1
kcoloredit/loadpalettedlg.cpp View File

@ -17,7 +17,7 @@
#include <string.h>
#include <layout.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqstring.h>
#include <tqstringlist.h>


+ 1
- 1
kcoloredit/palette.cpp View File

@ -17,7 +17,7 @@
#include <tqstring.h>
#include <tqstringlist.h>
#include <textstream.h>
#include <tqtextstream.h>
#include <tqregexp.h>
#include <kglobal.h>
#include <kstandarddirs.h>


+ 1
- 1
kcoloredit/palette.h View File

@ -19,7 +19,7 @@
#define PALETTE_H
#include <tqstring.h>
#include <textstream.h>
#include <tqtextstream.h>
#include <tqfile.h>
#include "color.h"


+ 1
- 1
kcoloredit/paletteview.cpp View File

@ -15,7 +15,7 @@
* *
***************************************************************************/
#include <layout.h>
#include <tqlayout.h>
#include "kcoloreditview.h"
#include "paletteview.h"


+ 8
- 8
kcoloredit/paletteviewscrolledarea.cpp View File

@ -19,7 +19,7 @@
#include <tqptrlist.h>
#include <tqcolor.h>
#include <tqcursor.h>
#include <brush.h>
#include <tqbrush.h>
#include <tqpainter.h>
#include <tqpixmap.h>
#include <tqpen.h>
@ -77,7 +77,7 @@ void PaletteViewScrolledArea::redraw() {
}
void PaletteViewScrolledArea::repaintPalette() {
repaint(false);
tqrepaint(false);
}
void PaletteViewScrolledArea::checkSelectionAutoScroll(const int mousePosY) {
@ -220,7 +220,7 @@ void PaletteViewScrolledArea::paintEvent(TQPaintEvent* /*event*/) {
setCellsSizes();
TQPixmap pixmap(size());
TQPainter painter;
painter.begin(TQT_TQPAINTDEVICE(&pixmap), this);
painter.tqbegin(TQT_TQPAINTDEVICE(&pixmap), this);
TQFontMetrics fontMetrics = painter.fontMetrics();
int maxLineWidth;
if(viewColorNames) {
@ -249,12 +249,12 @@ void PaletteViewScrolledArea::paintEvent(TQPaintEvent* /*event*/) {
int lastRow = (posY + height() - 1 + rowHeight - 1)/rowHeight;
if(viewColorNames)
painter.fillRect(0, 0, rowWidth, height(),
TQBrush( TQFrame::palette().active().base() ));
TQBrush normalBackgroundBrush(TQFrame::palette().active().background());
TQBrush selectedBackgroundBrush(TQFrame::palette().active().highlight());
TQBrush( TQFrame::tqpalette().active().base() ));
TQBrush normalBackgroundBrush(TQFrame::tqpalette().active().background());
TQBrush selectedBackgroundBrush(TQFrame::tqpalette().active().highlight());
TQBrush foregroundBrush;
TQBrush cursorBrush(TQFrame::palette().active().foreground());
TQPen backgroundPen(TQFrame::palette().active().foreground());
TQBrush cursorBrush(TQFrame::tqpalette().active().foreground());
TQPen backgroundPen(TQFrame::tqpalette().active().foreground());
int min = selectionMin();
int max = selectionMax();
int fontAscent = fontMetrics.ascent();


+ 3
- 3
kcoloredit/texteditselection.cpp View File

@ -59,14 +59,14 @@ TextEditSelection::~TextEditSelection(){
}
void TextEditSelection::addComponent(const int index, TQLineEdit* lineEdit, const int maxValue,
const TQString& labelString, const int row, const int column, TQGridLayout* layout) {
const TQString& labelString, const int row, const int column, TQGridLayout* tqlayout) {
TQLabel* label = new TQLabel(labelString, this);
lineEdit->setValidator(new TQIntValidator( 0, maxValue, TQT_TQOBJECT(lineEdit) ));
lineEditTable[index] = lineEdit;
lineEdit->setMinimumWidth(lineEdit->fontMetrics().width( TQString("8888") ));
lineEdit->setMaximumWidth(lineEdit->fontMetrics().width( TQString("8888888") ));
layout->addWidget(label, row, column*3);
layout->addWidget(lineEdit, row, column*3 + 1);
tqlayout->addWidget(label, row, column*3);
tqlayout->addWidget(lineEdit, row, column*3 + 1);
}
void TextEditSelection::setRgbString(const int red, const int green, const int blue) {


+ 2
- 2
kcoloredit/texteditselection.h View File

@ -20,7 +20,7 @@
#include <tqwidget.h>
#include <tqlineedit.h>
#include <layout.h>
#include <tqlayout.h>
#include "color.h"
@ -48,7 +48,7 @@ public slots:
protected:
/** Adds a component line edit */
void addComponent(const int index, TQLineEdit* lineEdit, const int maxValue, const TQString& labelString,
const int row, const int column, TQGridLayout* layout);
const int row, const int column, TQGridLayout* tqlayout);
/** sets RGB string in rgbStringLineEdit */
void setRgbString(const int red, const int green, const int blue);


+ 3
- 3
kdvi/TeXFontDefinition.cpp View File

@ -105,7 +105,7 @@ void TeXFontDefinition::fontNameReceiver(const TQString& fname)
TQString filename_test(font_pool->getExtraSearchPath() + "/" + filename);
file = fopen( TQFile::encodeName(filename_test), "r");
if (file == 0) {
kdError(4300) << i18n("Cannot find font %1, file %2.").arg(fontname).arg(filename) << endl;
kdError(4300) << i18n("Cannot find font %1, file %2.").tqarg(fontname).tqarg(filename) << endl;
return;
} else
filename = filename_test;
@ -121,7 +121,7 @@ void TeXFontDefinition::fontNameReceiver(const TQString& fname)
font = new TeXFont_PK(this);
set_char_p = &dviRenderer::set_char;
if ((checksum != 0) && (checksum != font->checksum))
kdWarning(4300) << i18n("Checksum mismatch for font file %1").arg(filename) << endl;
kdWarning(4300) << i18n("Checksum mismatch for font file %1").tqarg(filename) << endl;
fontTypeName = "TeX PK";
return;
}
@ -169,7 +169,7 @@ void TeXFontDefinition::fontNameReceiver(const TQString& fname)
#else
// If we don't have the FreeType library, we should never have
// reached this point. Complain, and leave this font blank
kdError(4300) << i18n("Cannot recognize format for font file %1").arg(filename) << endl;
kdError(4300) << i18n("Cannot recognize format for font file %1").tqarg(filename) << endl;
#endif
}


+ 1
- 1
kdvi/TeXFontDefinition.h View File

@ -1,6 +1,6 @@
// -*- C++ -*-
/*
* The layout of a font information block.
* The tqlayout of a font information block.
* There is one of these for every loaded font or magnification thereof.
* Duplicates are eliminated: this is necessary because of possible recursion
* in virtual fonts.


+ 10
- 10
kdvi/TeXFont_PFB.cpp View File

@ -41,13 +41,13 @@ TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *parent, fontEncoding *enc, double sl
int error = FT_New_Face( parent->font_pool->FreeType_library, parent->filename.local8Bit(), 0, &face );
if ( error == FT_Err_Unknown_File_Format ) {
errorMessage = i18n("The font file %1 could be opened and read, but its font format is unsupported.").arg(parent->filename);
errorMessage = i18n("The font file %1 could be opened and read, but its font format is unsupported.").tqarg(parent->filename);
kdError(4300) << errorMessage << endl;
fatalErrorInFontLoading = true;
return;
} else
if ( error ) {
errorMessage = i18n("The font file %1 is broken, or it could not be opened or read.").arg(parent->filename);
errorMessage = i18n("The font file %1 is broken, or it could not be opened or read.").tqarg(parent->filename);
kdError(4300) << errorMessage << endl;
fatalErrorInFontLoading = true;
return;
@ -74,8 +74,8 @@ TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *parent, fontEncoding *enc, double sl
// TeX is only able to address character codes 0-255 while
// e.g. Type1 fonts may contain several thousands of characters)
if (enc != 0) {
parent->fullEncodingName = enc->encodingFullName.remove(TQString::fromLatin1( "Encoding" ));
parent->fullEncodingName = enc->encodingFullName.remove(TQString::fromLatin1( "encoding" ));
parent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "Encoding" ));
parent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "encoding" ));
// An encoding vector is given for this font, i.e. an array of
// character names (such as: 'parenleft' or 'dotlessj'). We use
@ -168,7 +168,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
long int characterSize_in_printers_points_by_64 = (long int)((64.0*72.0*parent->scaled_size_in_DVI_units*parent->font_pool->getCMperDVIunit())/2.54 + 0.5 );
error = FT_Set_Char_Size(face, 0, characterSize_in_printers_points_by_64, res, res );
if (error) {
TQString msg = i18n("FreeType reported an error when setting the character size for font file %1.").arg(parent->filename);
TQString msg = i18n("FreeType reported an error when setting the character size for font file %1.").tqarg(parent->filename);
if (errorMessage.isEmpty())
errorMessage = msg;
kdError(4300) << msg << endl;
@ -184,7 +184,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
error = FT_Load_Glyph(face, charMap[ch], FT_LOAD_NO_HINTING );
if (error) {
TQString msg = i18n("FreeType is unable to load glyph #%1 from font file %2.").arg(ch).arg(parent->filename);
TQString msg = i18n("FreeType is unable to load glyph #%1 from font file %2.").tqarg(ch).tqarg(parent->filename);
if (errorMessage.isEmpty())
errorMessage = msg;
kdError(4300) << msg << endl;
@ -196,7 +196,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
// convert to an anti-aliased bitmap
error = FT_Render_Glyph( face->glyph, ft_render_mode_normal );
if (error) {
TQString msg = i18n("FreeType is unable to render glyph #%1 from font file %2.").arg(ch).arg(parent->filename);
TQString msg = i18n("FreeType is unable to render glyph #%1 from font file %2.").tqarg(ch).tqarg(parent->filename);
if (errorMessage.isEmpty())
errorMessage = msg;
kdError(4300) << msg << endl;
@ -209,8 +209,8 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
if ((slot->bitmap.width == 0) || (slot->bitmap.rows == 0)) {
if (errorMessage.isEmpty())
errorMessage = i18n("Glyph #%1 is empty.").arg(ch);
kdError(4300) << i18n("Glyph #%1 from font file %2 is empty.").arg(ch).arg(parent->filename) << endl;
errorMessage = i18n("Glyph #%1 is empty.").tqarg(ch);
kdError(4300) << i18n("Glyph #%1 from font file %2 is empty.").tqarg(ch).tqarg(parent->filename) << endl;
g->shrunkenCharacter.resize( 15, 15 );
g->shrunkenCharacter.fill(TQColor(255, 0, 0));
g->x2 = 0;
@ -279,7 +279,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
if (g->dvi_advance_in_units_of_design_size_by_2e20 == 0) {
int error = FT_Load_Glyph(face, charMap[ch], FT_LOAD_NO_SCALE);
if (error) {
TQString msg = i18n("FreeType is unable to load metric for glyph #%1 from font file %2.").arg(ch).arg(parent->filename);
TQString msg = i18n("FreeType is unable to load metric for glyph #%1 from font file %2.").tqarg(ch).tqarg(parent->filename);
if (errorMessage.isEmpty())
errorMessage = msg;
kdError(4300) << msg << endl;


+ 8
- 8
kdvi/TeXFont_PK.cpp View File

@ -91,7 +91,7 @@ TeXFont_PK::TeXFont_PK(TeXFontDefinition *parent)
characterBitmaps[i] = 0;
file = fopen(TQFile::encodeName(parent->filename), "r");
if (file == 0)
kdError(4300) << i18n("Cannot open font file %1.").arg(parent->filename) << endl;
kdError(4300) << i18n("Cannot open font file %1.").tqarg(parent->filename) << endl;
#ifdef DEBUG_PK
else
kdDebug(4300) << "TeXFont_PK::TeXFont_PK(): file opened successfully" << endl;
@ -136,7 +136,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
// If the character is not defined in the PK file, mark the
// character as missing, and print an error message
if (g->addr == 0) {
kdError(4300) << i18n("TexFont_PK::operator[]: Character %1 not defined in font %2").arg(ch).arg(parent->filename) << endl;
kdError(4300) << i18n("TexFont_PK::operator[]: Character %1 not defined in font %2").tqarg(ch).tqarg(parent->filename) << endl;
g->addr = -1;
return g;
}
@ -454,7 +454,7 @@ void TeXFont_PK::PK_skip_specials()
case PK_NOOP :
break;
default :
oops(i18n("Unexpected %1 in PK file %2").arg(PK_flag_byte).arg(parent->filename) );
oops(i18n("Unexpected %1 in PK file %2").tqarg(PK_flag_byte).tqarg(parent->filename) );
break;
}
}
@ -521,7 +521,7 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
w = num(fp, n);
h = num(fp, n);
if (w > 0x7fff || h > 0x7fff)
oops(i18n("The character %1 is too large in file %2").arg(ch).arg(parent->filename));
oops(i18n("The character %1 is too large in file %2").tqarg(ch).tqarg(parent->filename));
characterBitmaps[ch]->w = w;
characterBitmaps[ch]->h = h;
}
@ -626,9 +626,9 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
paint_switch = 1 - paint_switch;
}
if (cp != ((TQ_UINT32 *) (characterBitmaps[ch]->bits + bytes_wide * characterBitmaps[ch]->h)))
oops(i18n("Wrong number of bits stored: char. %1, font %2").arg(ch).arg(parent->filename));
oops(i18n("Wrong number of bits stored: char. %1, font %2").tqarg(ch).tqarg(parent->filename));
if (rows_left != 0 || h_bit != characterBitmaps[ch]->w)
oops(i18n("Bad pk file (%1), too many bits").arg(parent->filename));
oops(i18n("Bad pk file (%1), too many bits").tqarg(parent->filename));
}
// The data in the bitmap is now in the processor's bit order,
@ -712,9 +712,9 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
paint_switch = 1 - paint_switch;
}
if (cp != ((TQ_UINT32 *) (characterBitmaps[ch]->bits + bytes_wide * characterBitmaps[ch]->h)))
oops(i18n("Wrong number of bits stored: char. %1, font %2").arg(ch).arg(parent->filename));
oops(i18n("Wrong number of bits stored: char. %1, font %2").tqarg(ch).tqarg(parent->filename));
if (rows_left != 0 || h_bit != characterBitmaps[ch]->w)
oops(i18n("Bad pk file (%1), too many bits").arg(parent->filename));
oops(i18n("Bad pk file (%1), too many bits").tqarg(parent->filename));
}
} // endif: big or small Endian?
}


+ 1
- 1
kdvi/dviFile.cpp View File

@ -256,7 +256,7 @@ void dvifile::prepare_pages()
while (i > 0) {
command_pointer = dvi_Data() + page_offset[i--];
if (readUINT8() != BOP) {
errorMsg = i18n("The page %1 does not start with the BOP command.").arg(i+1);
errorMsg = i18n("The page %1 does not start with the BOP command.").tqarg(i+1);
return;
}
command_pointer += 10 * 4;


+ 11
- 11
kdvi/dviRenderer.cpp View File

@ -15,11 +15,11 @@
#include <string.h>
#include <tqcheckbox.h>
#include <clipboard.h>
#include <tqclipboard.h>
#include <tqcursor.h>
#include <tqlabel.h>
#include <tqfileinfo.h>
#include <layout.h>
#include <tqlayout.h>
#include <tqmessagebox.h>
#include <tqpaintdevice.h>
#include <tqpainter.h>
@ -277,7 +277,7 @@ void dviRenderer::showThatSourceInformationIsPresent()
TQLabel *label2 = new TQLabel( i18n("<qt>This DVI file contains source file information. You may click into the text with the "
"middle mouse button, and an editor will open the TeX-source file immediately.</qt>"),
contents);
label2->setMinimumSize(label2->sizeHint());
label2->setMinimumSize(label2->tqsizeHint());
lay->add( label2 );
lay->addStretch(1);
TQSize extraSize = TQSize(50,30);
@ -437,7 +437,7 @@ bool dviRenderer::setFile(const TQString &fname, const KURL &base)
if (!fi.exists() || fi.isDir()) {
KMessageBox::error( parentWidget,
i18n("<qt><strong>File error.</strong> The specified file '%1' does not exist. "
"KDVI already tried to add the ending '.dvi'.</qt>").arg(filename),
"KDVI already tried to add the ending '.dvi'.</qt>").tqarg(filename),
i18n("File Error!"));
return false;
}
@ -451,8 +451,8 @@ bool dviRenderer::setFile(const TQString &fname, const KURL &base)
KMessageBox::sorry( parentWidget,
i18n( "<qt>Could not open file <nobr><strong>%1</strong></nobr> which has "
"type <strong>%2</strong>. KDVI can only load DVI (.dvi) files.</qt>" )
.arg( fname )
.arg( mimetype ) );
.tqarg( fname )
.tqarg( mimetype ) );
return false;
}
@ -462,7 +462,7 @@ bool dviRenderer::setFile(const TQString &fname, const KURL &base)
KMessageBox::sorry( parentWidget,
i18n("<qt>File corruption! KDVI had trouble interpreting your DVI file. Most "
"likely this means that the DVI file is broken.</qt>")
.arg( fname ) );
.tqarg( fname ) );
return false;
}
@ -641,7 +641,7 @@ Anchor dviRenderer::parseReference(const TQString &reference)
"line %1 in the TeX-file <strong>%2</strong>. It seems, however, that the DVI file "
"does not contain the necessary source file information. "
"We refer to the manual of KDVI for a detailed explanation on how to include this "
"information. Press the F1 key to open the manual.</qt>").arg(refLineNumber).arg(refFileName),
"information. Press the F1 key to open the manual.</qt>").tqarg(refLineNumber).tqarg(refFileName),
i18n("Could Not Find Reference"));
mutex.unlock();
return Anchor();
@ -681,7 +681,7 @@ Anchor dviRenderer::parseReference(const TQString &reference)
} else
if (anchorForRefFileFound == false)
KMessageBox::sorry(parentWidget, i18n("<qt>KDVI was not able to locate the place in the DVI file which corresponds to "
"line %1 in the TeX-file <strong>%2</strong>.</qt>").arg(refLineNumber).arg(refFileName),
"line %1 in the TeX-file <strong>%2</strong>.</qt>").tqarg(refLineNumber).tqarg(refFileName),
i18n( "Could Not Find Reference" ));
else {
mutex.unlock();
@ -735,7 +735,7 @@ void dviRenderer::handleSRCLink(const TQString &linkText, TQMouseEvent *e, Docum
{
KMessageBox::sorry(parentWidget, TQString("<qt>") +
i18n("The DVI-file refers to the TeX-file "
"<strong>%1</strong> which could not be found.").arg(KShellProcess::quote(TeXfile)) +
"<strong>%1</strong> which could not be found.").tqarg(KShellProcess::quote(TeXfile)) +
TQString("</qt>"),
i18n( "Could Not Find File" ));
return;
@ -786,7 +786,7 @@ void dviRenderer::handleSRCLink(const TQString &linkText, TQMouseEvent *e, Docum
"for inverse search, reported an error. You might wish to look at the <strong>document info "
"dialog</strong> which you will find in the File-Menu for a precise error report. The "
"manual for KDVI contains a detailed explanation how to set up your editor for use with KDVI, "
"and a list of common problems.</qt>").arg(command);
"and a list of common problems.</qt>").tqarg(command);
info->clear(i18n("Starting the editor..."));


+ 2
- 2
kdvi/dviRenderer_draw.cpp View File

@ -292,7 +292,7 @@ void dviRenderer::draw_part(double current_dimconv, bool is_vfmacro)
if (FNTNUM0 <= ch && ch <= (unsigned char) (FNTNUM0 + 63)) {
currinf.fontp = currinf.fonttable->find(ch - FNTNUM0);
if (currinf.fontp == NULL) {
errorMsg = i18n("The DVI code referred to font #%1, which was not previously defined.").arg(ch - FNTNUM0);
errorMsg = i18n("The DVI code referred to font #%1, which was not previously defined.").tqarg(ch - FNTNUM0);
return;
}
currinf.set_char_p = currinf.fontp->set_char_p;
@ -567,7 +567,7 @@ void dviRenderer::draw_part(double current_dimconv, bool is_vfmacro)
break;
default:
errorMsg = i18n("The unknown op-code %1 was encountered.").arg(ch);
errorMsg = i18n("The unknown op-code %1 was encountered.").tqarg(ch);
return;
} /* end switch*/
} /* end else (ch not a SETCHAR or FNTNUM) */


+ 9
- 9
kdvi/dviRenderer_export.cpp View File

@ -101,7 +101,7 @@ void dviRenderer::exportPDF()
return;
TQFileInfo finfo(fileName);
if (finfo.exists()) {
int r = KMessageBox::warningContinueCancel (parentWidget, i18n("The file %1\nexists. Do you want to overwrite that file?").arg(fileName),
int r = KMessageBox::warningContinueCancel (parentWidget, i18n("The file %1\nexists. Do you want to overwrite that file?").tqarg(fileName),
i18n("Overwrite File"), i18n("Overwrite"));
if (r == KMessageBox::Cancel)
return;
@ -137,12 +137,12 @@ void dviRenderer::exportPDF()
export_errorString = i18n("<qt>The external program 'dvipdf', which was used to export the file, reported an error. "
"You might wish to look at the <strong>document info dialog</strong> which you will "
"find in the File-Menu for a precise error report.</qt>") ;
info->clear(i18n("Export: %1 to PDF").arg(KShellProcess::quote(dviFile->filename)));
info->clear(i18n("Export: %1 to PDF").tqarg(KShellProcess::quote(dviFile->filename)));
proc->clearArguments();
finfo.setFile(dviFile->filename);
*proc << TQString("cd %1; dvipdfm").arg(KShellProcess::quote(finfo.dirPath(true)));
*proc << TQString("-o %1").arg(KShellProcess::quote(fileName));
*proc << TQString("cd %1; dvipdfm").tqarg(KShellProcess::quote(finfo.dirPath(true)));
*proc << TQString("-o %1").tqarg(KShellProcess::quote(fileName));
*proc << KShellProcess::quote(dviFile->filename);
proc->closeStdin();
if (proc->start(KProcess::NotifyOnExit, KProcess::AllOutput) == false) {
@ -200,7 +200,7 @@ void dviRenderer::exportPS(const TQString& fname, const TQString& options, KPrin
return;
TQFileInfo finfo(fileName);
if (finfo.exists()) {
int r = KMessageBox::warningYesNo (parentWidget, i18n("The file %1\nexists. Do you want to overwrite that file?").arg(fileName),
int r = KMessageBox::warningYesNo (parentWidget, i18n("The file %1\nexists. Do you want to overwrite that file?").tqarg(fileName),
i18n("Overwrite File"));
if (r == KMessageBox::No)
return;
@ -300,17 +300,17 @@ void dviRenderer::exportPS(const TQString& fname, const TQString& options, KPrin
export_errorString = i18n("<qt>The external program 'dvips', which was used to export the file, reported an error. "
"You might wish to look at the <strong>document info dialog</strong> which you will "
"find in the File-Menu for a precise error report.</qt>") ;
info->clear(i18n("Export: %1 to PostScript").arg(KShellProcess::quote(dviFile->filename)));
info->clear(i18n("Export: %1 to PostScript").tqarg(KShellProcess::quote(dviFile->filename)));
proc->clearArguments();
TQFileInfo finfo(dviFile->filename);
*proc << TQString("cd %1; dvips").arg(KShellProcess::quote(finfo.dirPath(true)));
*proc << TQString("cd %1; dvips").tqarg(KShellProcess::quote(finfo.dirPath(true)));
if (printer == 0)
*proc << "-z"; // export Hyperlinks
if (options.isEmpty() == false)
*proc << options;
*proc << TQString("%1").arg(KShellProcess::quote(sourceFileName));
*proc << TQString("-o %1").arg(KShellProcess::quote(fileName));
*proc << TQString("%1").tqarg(KShellProcess::quote(sourceFileName));
*proc << TQString("-o %1").tqarg(KShellProcess::quote(fileName));
proc->closeStdin();
if (proc->start(KProcess::NotifyOnExit, KProcess::Stderr) == false) {
kdError(4300) << "dvips failed to start" << endl;


+ 25
- 25
kdvi/dviRenderer_prescan.cpp View File

@ -84,7 +84,7 @@ void dviRenderer::prescan_embedPS(char *cp, TQ_UINT8 *beginningOfSpecialCommand)
TQString originalFName = EPSfilename;
embedPS_progress->setLabel(i18n("Embedding %1").arg(EPSfilename));
embedPS_progress->setLabel(i18n("Embedding %1").tqarg(EPSfilename));
tqApp->processEvents();
@ -102,7 +102,7 @@ void dviRenderer::prescan_embedPS(char *cp, TQ_UINT8 *beginningOfSpecialCommand)
for(page=0; page < dviFile->total_pages; page++)
if ((dviFile->page_offset[page] <= currentOffset) && (currentOffset <= dviFile->page_offset[page+1]))
break;
errorMsg += i18n("Page %1: The PostScript file <strong>%2</strong> could not be found.<br>").arg(page+1).arg(originalFName);
errorMsg += i18n("Page %1: The PostScript file <strong>%2</strong> could not be found.<br>").tqarg(page+1).tqarg(originalFName);
embedPS_progress->progressBar()->advance(1);
tqApp->processEvents();
return;
@ -131,13 +131,13 @@ void dviRenderer::prescan_embedPS(char *cp, TQ_UINT8 *beginningOfSpecialCommand)
int clip=