Browse Source

rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 9 years ago
parent
commit
e7366c97c9
931 changed files with 2812 additions and 2812 deletions
  1. +2
    -2
      kamera/kcontrol/kamera.cpp
  2. +1
    -1
      kamera/kcontrol/kamera.h
  3. +14
    -14
      kamera/kcontrol/kameraconfigdialog.cpp
  4. +2
    -2
      kamera/kcontrol/kameraconfigdialog.h
  5. +2
    -2
      kamera/kcontrol/kameradevice.cpp
  6. +1
    -1
      kamera/kcontrol/kameradevice.h
  7. +1
    -1
      kamera/kioslave/kamera.cpp
  8. +1
    -1
      kcoloredit/colorselector.cpp
  9. +1
    -1
      kcoloredit/colorselector.h
  10. +1
    -1
      kcoloredit/gradientselection.cpp
  11. +1
    -1
      kcoloredit/gradientselection.h
  12. +1
    -1
      kcoloredit/imageselection.cpp
  13. +1
    -1
      kcoloredit/imageselection.h
  14. +3
    -3
      kcoloredit/kcoloreditdoc.cpp
  15. +1
    -1
      kcoloredit/kcoloreditdoc.h
  16. +1
    -1
      kcoloredit/kcoloreditview.cpp
  17. +2
    -2
      kcoloredit/kcoloreditview.h
  18. +1
    -1
      kcoloredit/kxycolorselector.cpp
  19. +1
    -1
      kcoloredit/kxycolorselector.h
  20. +2
    -2
      kcoloredit/kzcolorselector.cpp
  21. +1
    -1
      kcoloredit/kzcolorselector.h
  22. +2
    -2
      kcoloredit/loadpalettedlg.cpp
  23. +1
    -1
      kcoloredit/loadpalettedlg.h
  24. +2
    -2
      kcoloredit/paletteview.cpp
  25. +2
    -2
      kcoloredit/paletteview.h
  26. +2
    -2
      kcoloredit/paletteviewscrolledarea.cpp
  27. +1
    -1
      kcoloredit/paletteviewscrolledarea.h
  28. +1
    -1
      kcoloredit/texteditselection.cpp
  29. +1
    -1
      kcoloredit/texteditselection.h
  30. +1
    -1
      kcoloredit/textselection.cpp
  31. +2
    -2
      kdvi/TeXFont.h
  32. +20
    -20
      kdvi/TeXFont_PFB.cpp
  33. +1
    -1
      kdvi/TeXFont_PFB.h
  34. +15
    -15
      kdvi/TeXFont_PK.cpp
  35. +1
    -1
      kdvi/TeXFont_PK.h
  36. +9
    -9
      kdvi/TeXFont_TFM.cpp
  37. +1
    -1
      kdvi/TeXFont_TFM.h
  38. +1
    -1
      kdvi/dviRenderer.cpp
  39. +1
    -1
      kdvi/dviRenderer.h
  40. +3
    -3
      kdvi/dviWidget.cpp
  41. +1
    -1
      kdvi/dviWidget.h
  42. +3
    -3
      kdvi/fontprogress.cpp
  43. +1
    -1
      kdvi/fontprogress.h
  44. +2
    -2
      kdvi/infodialog.cpp
  45. +1
    -1
      kdvi/infodialog.h
  46. +3
    -3
      kdvi/kdvi_multipage.cpp
  47. +1
    -1
      kdvi/kdvi_multipage.h
  48. +3
    -3
      kdvi/optionDialogFontsWidget.cpp
  49. +1
    -1
      kdvi/optionDialogFontsWidget.h
  50. +3
    -3
      kdvi/optionDialogSpecialWidget.cpp
  51. +1
    -1
      kdvi/optionDialogSpecialWidget.h
  52. +3
    -3
      kdvi/psheader.txt
  53. +1
    -1
      kfax/kfax.h
  54. +2
    -2
      kfax/kfax_printsettings.cpp
  55. +1
    -1
      kfax/kfax_printsettings.h
  56. +2
    -2
      kfax/options.cpp
  57. +1
    -1
      kfax/options.h
  58. +2
    -2
      kfaxview/faxmultipage.cpp
  59. +1
    -1
      kfaxview/faxmultipage.h
  60. +1
    -1
      kfaxview/faxrenderer.cpp
  61. +1
    -1
      kfaxview/faxrenderer.h
  62. +2
    -2
      kfaxview/libkfaximage/kfaximage.cpp
  63. +1
    -1
      kfaxview/libkfaximage/kfaximage.h
  64. +2
    -2
      kfile-plugins/bmp/kfile_bmp.cpp
  65. +1
    -1
      kfile-plugins/bmp/kfile_bmp.h
  66. +10
    -10
      kfile-plugins/dds/kfile_dds.cpp
  67. +1
    -1
      kfile-plugins/dds/kfile_dds.h
  68. +2
    -2
      kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
  69. +1
    -1
      kfile-plugins/dependencies/poppler-tqt/poppler-private.h
  70. +2
    -2
      kfile-plugins/dvi/kfile_dvi.cpp
  71. +1
    -1
      kfile-plugins/dvi/kfile_dvi.h
  72. +2
    -2
      kfile-plugins/exr/kfile_exr.cpp
  73. +1
    -1
      kfile-plugins/exr/kfile_exr.h
  74. +2
    -2
      kfile-plugins/gif/kfile_gif.cpp
  75. +1
    -1
      kfile-plugins/gif/kfile_gif.h
  76. +2
    -2
      kfile-plugins/ico/kfile_ico.cpp
  77. +1
    -1
      kfile-plugins/ico/kfile_ico.h
  78. +4
    -4
      kfile-plugins/jpeg/kfile_jpeg.cpp
  79. +2
    -2
      kfile-plugins/jpeg/kfile_jpeg.h
  80. +2
    -2
      kfile-plugins/pcx/kfile_pcx.cpp
  81. +1
    -1
      kfile-plugins/pcx/kfile_pcx.h
  82. +2
    -2
      kfile-plugins/pdf/kfile_pdf.cpp
  83. +1
    -1
      kfile-plugins/pdf/kfile_pdf.h
  84. +2
    -2
      kfile-plugins/png/kfile_png.cpp
  85. +1
    -1
      kfile-plugins/png/kfile_png.h
  86. +1
    -1
      kfile-plugins/pnm/kfile_pnm.cpp
  87. +1
    -1
      kfile-plugins/pnm/kfile_pnm.h
  88. +2
    -2
      kfile-plugins/ps/kfile_ps.cpp
  89. +1
    -1
      kfile-plugins/ps/kfile_ps.h
  90. +2
    -2
      kfile-plugins/raw/kcamerarawplugin.cpp
  91. +1
    -1
      kfile-plugins/raw/kcamerarawplugin.h
  92. +4
    -4
      kfile-plugins/rgb/kfile_rgb.cpp
  93. +2
    -2
      kfile-plugins/rgb/kfile_rgb.h
  94. +2
    -2
      kfile-plugins/tga/kfile_tga.cpp
  95. +1
    -1
      kfile-plugins/tga/kfile_tga.h
  96. +3
    -3
      kfile-plugins/tiff/kfile_tiff.cpp
  97. +1
    -1
      kfile-plugins/tiff/kfile_tiff.h
  98. +2
    -2
      kfile-plugins/xbm/kfile_xbm.cpp
  99. +1
    -1
      kfile-plugins/xbm/kfile_xbm.h
  100. +2
    -2
      kfile-plugins/xpm/kfile_xpm.cpp
  101. +1
    -1
      kfile-plugins/xpm/kfile_xpm.h
  102. +2
    -2
      kgamma/kcmkgamma/displaynumber.cpp
  103. +1
    -1
      kgamma/kcmkgamma/displaynumber.h
  104. +2
    -2
      kgamma/kcmkgamma/gammactrl.cpp
  105. +1
    -1
      kgamma/kcmkgamma/gammactrl.h
  106. +2
    -2
      kgamma/kcmkgamma/kgamma.cpp
  107. +1
    -1
      kgamma/kcmkgamma/kgamma.h
  108. +7
    -7
      kghostview/fullscreenfilter.cpp
  109. +2
    -2
      kghostview/fullscreenfilter.h
  110. +2
    -2
      kghostview/infodialog.cpp
  111. +1
    -1
      kghostview/infodialog.h
  112. +2
    -2
      kghostview/kdscerrordialog.cpp
  113. +1
    -1
      kghostview/kdscerrordialog.h
  114. +1
    -1
      kghostview/kgv_miniwidget.cpp
  115. +5
    -5
      kghostview/kgv_view.cpp
  116. +2
    -2
      kghostview/kgv_view.h
  117. +2
    -2
      kghostview/kgvdocument.cpp
  118. +1
    -1
      kghostview/kgvdocument.h
  119. +2
    -2
      kghostview/kgvfactory.cpp
  120. +1
    -1
      kghostview/kgvfactory.h
  121. +2
    -2
      kghostview/kgvmainwidget.cpp
  122. +1
    -1
      kghostview/kgvmainwidget.h
  123. +2
    -2
      kghostview/kgvpagedecorator.cpp
  124. +3
    -3
      kghostview/kgvpagedecorator.h
  125. +2
    -2
      kghostview/kgvpageview.cpp
  126. +1
    -1
      kghostview/kgvpageview.h
  127. +2
    -2
      kghostview/kpswidget.cpp
  128. +1
    -1
      kghostview/kpswidget.h
  129. +2
    -2
      kghostview/logwindow.cpp
  130. +1
    -1
      kghostview/logwindow.h
  131. +4
    -4
      kghostview/marklist.cpp
  132. +2
    -2
      kghostview/marklist.h
  133. +2
    -2
      kghostview/scrollbox.cpp
  134. +1
    -1
      kghostview/scrollbox.h
  135. +4
    -4
      kghostview/thumbnailservice.cpp
  136. +1
    -1
      kghostview/thumbnailservice.h
  137. +2
    -2
      kghostview/viewcontrol.cpp
  138. +1
    -1
      kghostview/viewcontrol.h
  139. +2
    -2
      kiconedit/kcolorgrid.cpp
  140. +1
    -1
      kiconedit/kcolorgrid.h
  141. +10
    -10
      kiconedit/kicon.cpp
  142. +3
    -3
      kiconedit/kiconcolors.cpp
  143. +3
    -3
      kiconedit/kiconcolors.h
  144. +8
    -8
      kiconedit/kiconconfig.cpp
  145. +3
    -3
      kiconedit/kiconconfig.h
  146. +2
    -2
      kiconedit/kiconedit.cpp
  147. +17
    -17
      kiconedit/kicongrid.cpp
  148. +2
    -2
      kiconedit/kicongrid.h
  149. +7
    -7
      kiconedit/knew.cpp
  150. +4
    -4
      kiconedit/knew.h
  151. +4
    -4
      kiconedit/kresize.cpp
  152. +2
    -2
      kiconedit/kresize.h
  153. +2
    -2
      kiconedit/palettetoolbar.cpp
  154. +1
    -1
      kiconedit/palettetoolbar.h
  155. +2
    -2
      kmrml/kmrml/algorithmcombo.cpp
  156. +1
    -1
      kmrml/kmrml/algorithmcombo.h
  157. +4
    -4
      kmrml/kmrml/algorithmdialog.cpp
  158. +1
    -1
      kmrml/kmrml/algorithmdialog.h
  159. +3
    -3
      kmrml/kmrml/browser.cpp
  160. +1
    -1
      kmrml/kmrml/browser.h
  161. +2
    -2
      kmrml/kmrml/collectioncombo.cpp
  162. +1
    -1
      kmrml/kmrml/collectioncombo.h
  163. +2
    -2
      kmrml/kmrml/kcontrol/indexcleaner.cpp
  164. +1
    -1
      kmrml/kmrml/kcontrol/indexcleaner.h
  165. +2
    -2
      kmrml/kmrml/kcontrol/indexer.cpp
  166. +1
    -1
      kmrml/kmrml/kcontrol/indexer.h
  167. +2
    -2
      kmrml/kmrml/kcontrol/kcmkmrml.cpp
  168. +1
    -1
      kmrml/kmrml/kcontrol/kcmkmrml.h
  169. +2
    -2
      kmrml/kmrml/kcontrol/mainpage.cpp
  170. +1
    -1
      kmrml/kmrml/kcontrol/mainpage.h
  171. +2
    -2
      kmrml/kmrml/mrml_creator.cpp
  172. +1
    -1
      kmrml/kmrml/mrml_creator.h
  173. +7
    -7
      kmrml/kmrml/mrml_elements.cpp
  174. +3
    -3
      kmrml/kmrml/mrml_elements.h
  175. +4
    -4
      kmrml/kmrml/mrml_part.cpp
  176. +2
    -2
      kmrml/kmrml/mrml_part.h
  177. +6
    -6
      kmrml/kmrml/mrml_view.cpp
  178. +3
    -3
      kmrml/kmrml/mrml_view.h
  179. +1
    -1
      kmrml/kmrml/propertysheet.cpp
  180. +2
    -2
      kmrml/kmrml/propertysheet.h
  181. +10
    -10
      kmrml/kmrml/propertywidgets.cpp
  182. +5
    -5
      kmrml/kmrml/propertywidgets.h
  183. +1
    -1
      kolourpaint/kpcommandhistory.cpp
  184. +38
    -38
      kolourpaint/kpdocument.cpp
  185. +4
    -4
      kolourpaint/kpdocument.h
  186. +1
    -1
      kolourpaint/kpdocumentsaveoptions.cpp
  187. +2
    -2
      kolourpaint/kpdocumentsaveoptions.h
  188. +9
    -9
      kolourpaint/kpdocumentsaveoptionswidget.cpp
  189. +3
    -3
      kolourpaint/kpdocumentsaveoptionswidget.h
  190. +3
    -3
      kolourpaint/kpmainwindow.cpp
  191. +5
    -5
      kolourpaint/kpmainwindow_edit.cpp
  192. +1
    -1
      kolourpaint/kpmainwindow_file.cpp
  193. +1
    -1
      kolourpaint/kpmainwindow_settings.cpp
  194. +7
    -7
      kolourpaint/kpselection.cpp
  195. +2
    -2
      kolourpaint/kpsinglekeytriggersaction.cpp
  196. +1
    -1
      kolourpaint/kpsinglekeytriggersaction.h
  197. +1
    -1
      kolourpaint/kptemppixmap.h
  198. +10
    -10
      kolourpaint/kpthumbnail.cpp
  199. +1
    -1
      kolourpaint/kpthumbnail.h
  200. +2
    -2
      kolourpaint/kptool.cpp
  201. +1
    -1
      kolourpaint/kptool.h
  202. +9
    -9
      kolourpaint/kpview.cpp
  203. +3
    -3
      kolourpaint/kpview.h
  204. +8
    -8
      kolourpaint/kpviewscrollablecontainer.cpp
  205. +2
    -2
      kolourpaint/kpviewscrollablecontainer.h
  206. +2
    -2
      kolourpaint/pixmapfx/kpcoloreffect.cpp
  207. +1
    -1
      kolourpaint/pixmapfx/kpcoloreffect.h
  208. +2
    -2
      kolourpaint/pixmapfx/kpeffectbalance.cpp
  209. +1
    -1
      kolourpaint/pixmapfx/kpeffectbalance.h
  210. +6
    -6
      kolourpaint/pixmapfx/kpeffectblursharpen.cpp
  211. +1
    -1
      kolourpaint/pixmapfx/kpeffectblursharpen.h
  212. +6
    -6
      kolourpaint/pixmapfx/kpeffectemboss.cpp
  213. +1
    -1
      kolourpaint/pixmapfx/kpeffectemboss.h
  214. +2
    -2
      kolourpaint/pixmapfx/kpeffectflatten.cpp
  215. +1
    -1
      kolourpaint/pixmapfx/kpeffectflatten.h
  216. +6
    -6
      kolourpaint/pixmapfx/kpeffectinvert.cpp
  217. +1
    -1
      kolourpaint/pixmapfx/kpeffectinvert.h
  218. +5
    -5
      kolourpaint/pixmapfx/kpeffectreducecolors.cpp
  219. +2
    -2
      kolourpaint/pixmapfx/kpeffectreducecolors.h
  220. +2
    -2
      kolourpaint/pixmapfx/kpeffectsdialog.cpp
  221. +1
    -1
      kolourpaint/pixmapfx/kpeffectsdialog.h
  222. +1
    -1
      kolourpaint/pixmapfx/kpfloodfill.cpp
  223. +32
    -32
      kolourpaint/pixmapfx/kppixmapfx.cpp
  224. +15
    -15
      kolourpaint/pixmapfx/kppixmapfx.h
  225. +2
    -2
      kolourpaint/tools/kptoolaction.cpp
  226. +1
    -1
      kolourpaint/tools/kptoolaction.h
  227. +6
    -6
      kolourpaint/tools/kptoolairspray.cpp
  228. +3
    -3
      kolourpaint/tools/kptoolautocrop.cpp
  229. +1
    -1
      kolourpaint/tools/kptoolcrop.cpp
  230. +2
    -2
      kolourpaint/tools/kptoolflip.cpp
  231. +1
    -1
      kolourpaint/tools/kptoolflip.h
  232. +7
    -7
      kolourpaint/tools/kptoolpen.cpp
  233. +2
    -2
      kolourpaint/tools/kptoolpolygon.cpp
  234. +3
    -3
      kolourpaint/tools/kptoolpreviewdialog.cpp
  235. +2
    -2
      kolourpaint/tools/kptoolpreviewdialog.h
  236. +1
    -1
      kolourpaint/tools/kptoolrectangle.cpp
  237. +1
    -1
      kolourpaint/tools/kptoolrotate.h
  238. +1
    -1
      kolourpaint/tools/kptoolselection.cpp
  239. +2
    -2
      kolourpaint/tools/kptoolskew.cpp
  240. +1
    -1
      kolourpaint/tools/kptoolskew.h
  241. +2
    -2
      kolourpaint/views/kpthumbnailview.cpp
  242. +2
    -2
      kolourpaint/views/kpthumbnailview.h
  243. +2
    -2
      kolourpaint/views/kpunzoomedthumbnailview.cpp
  244. +2
    -2
      kolourpaint/views/kpunzoomedthumbnailview.h
  245. +2
    -2
      kolourpaint/views/kpzoomedthumbnailview.cpp
  246. +2
    -2
      kolourpaint/views/kpzoomedthumbnailview.h
  247. +2
    -2
      kolourpaint/views/kpzoomedview.cpp
  248. +1
    -1
      kolourpaint/views/kpzoomedview.h
  249. +2
    -2
      kolourpaint/widgets/kpcolorsimilaritycube.cpp
  250. +1
    -1
      kolourpaint/widgets/kpcolorsimilaritycube.h
  251. +2
    -2
      kolourpaint/widgets/kpcolorsimilaritydialog.cpp
  252. +1
    -1
      kolourpaint/widgets/kpcolorsimilaritydialog.h
  253. +13
    -13
      kolourpaint/widgets/kpcolortoolbar.cpp
  254. +5
    -5
      kolourpaint/widgets/kpcolortoolbar.h
  255. +4
    -4
      kolourpaint/widgets/kpresizesignallinglabel.cpp
  256. +2
    -2
      kolourpaint/widgets/kpresizesignallinglabel.h
  257. +4
    -4
      kolourpaint/widgets/kpsqueezedtextlabel.cpp
  258. +2
    -2
      kolourpaint/widgets/kpsqueezedtextlabel.h
  259. +2
    -2
      kolourpaint/widgets/kptooltoolbar.cpp
  260. +2
    -2
      kolourpaint/widgets/kptoolwidgetbase.cpp
  261. +2
    -2
      kolourpaint/widgets/kptoolwidgetbase.h
  262. +2
    -2
      kolourpaint/widgets/kptoolwidgetbrush.cpp
  263. +1
    -1
      kolourpaint/widgets/kptoolwidgetbrush.h
  264. +6
    -6
      kolourpaint/widgets/kptoolwidgeterasersize.cpp
  265. +1
    -1
      kolourpaint/widgets/kptoolwidgeterasersize.h
  266. +6
    -6
      kolourpaint/widgets/kptoolwidgetfillstyle.cpp
  267. +1
    -1
      kolourpaint/widgets/kptoolwidgetfillstyle.h
  268. +2
    -2
      kolourpaint/widgets/kptoolwidgetlinewidth.cpp
  269. +1
    -1
      kolourpaint/widgets/kptoolwidgetlinewidth.h
  270. +2
    -2
      kolourpaint/widgets/kptoolwidgetopaqueortransparent.cpp
  271. +1
    -1
      kolourpaint/widgets/kptoolwidgetopaqueortransparent.h
  272. +6
    -6
      kolourpaint/widgets/kptoolwidgetspraycansize.cpp
  273. +1
    -1
      kolourpaint/widgets/kptoolwidgetspraycansize.h
  274. +2
    -2
      kooka/dwmenuaction.cpp
  275. +1
    -1
      kooka/dwmenuaction.h
  276. +2
    -2
      kooka/imageselectline.cpp
  277. +1
    -1
      kooka/imageselectline.h
  278. +7
    -7
      kooka/img_saver.cpp
  279. +3
    -3
      kooka/img_saver.h
  280. +2
    -2
      kooka/imgnamecombo.cpp
  281. +2
    -2
      kooka/imgprintdialog.cpp
  282. +1
    -1
      kooka/imgprintdialog.h
  283. +4
    -4
      kooka/kocrbase.cpp
  284. +2
    -2
      kooka/kocrgocr.cpp
  285. +2
    -2
      kooka/kocrkadmos.cpp
  286. +2
    -2
      kooka/kocrocrad.cpp
  287. +4
    -4
      kooka/kookaimage.cpp
  288. +4
    -4
      kooka/kookaimage.h
  289. +3
    -3
      kooka/kookapref.cpp
  290. +15
    -15
      kooka/kookarc
  291. +12
    -12
      kooka/kookaview.cpp
  292. +1
    -1
      kooka/kookaview.h
  293. +5
    -5
      kooka/ksaneocr.cpp
  294. +1
    -1
      kooka/ksaneocr.h
  295. +2
    -2
      kooka/ocrresedit.cpp
  296. +1
    -1
      kooka/ocrresedit.h
  297. +7
    -7
      kooka/scanpackager.cpp
  298. +2
    -2
      kooka/scanpackager.h
  299. +4
    -4
      kooka/thumbview.cpp
  300. +1
    -1
      kooka/thumbview.h
  301. +2
    -2
      kooka/thumbviewitem.cpp
  302. +1
    -1
      kooka/thumbviewitem.h
  303. +2
    -2
      kpdf/conf/preferencesdialog.cpp
  304. +1
    -1
      kpdf/conf/preferencesdialog.h
  305. +1
    -1
      kpdf/core/document.cpp
  306. +2
    -2
      kpdf/core/generator_pdf/generator_pdf.cpp
  307. +1
    -1
      kpdf/core/generator_pdf/generator_pdf.h
  308. +1
    -1
      kpdf/core/generator_pdf/gp_outputdev.h
  309. +8
    -8
      kpdf/part.cpp
  310. +1
    -1
      kpdf/part.h
  311. +15
    -15
      kpdf/ui/minibar.cpp
  312. +1
    -1
      kpdf/ui/minibar.h
  313. +2
    -2
      kpdf/ui/pageview.cpp
  314. +1
    -1
      kpdf/ui/pageview.h
  315. +9
    -9
      kpdf/ui/pageviewutils.cpp
  316. +1
    -1
      kpdf/ui/pageviewutils.h
  317. +2
    -2
      kpdf/ui/presentationwidget.cpp
  318. +1
    -1
      kpdf/ui/presentationwidget.h
  319. +2
    -2
      kpdf/ui/propertiesdialog.cpp
  320. +1
    -1
      kpdf/ui/propertiesdialog.h
  321. +2
    -2
      kpdf/ui/searchwidget.cpp
  322. +1
    -1
      kpdf/ui/searchwidget.h
  323. +7
    -7
      kpdf/ui/thumbnaillist.cpp
  324. +3
    -3
      kpdf/ui/thumbnaillist.h
  325. +5
    -5
      kpdf/ui/toc.cpp
  326. +1
    -1
      kpdf/ui/toc.h
  327. +1
    -1
      kpovmodeler/baseinsertrules.xml
  328. +10
    -10
      kpovmodeler/pmactions.cpp
  329. +3
    -3
      kpovmodeler/pmactions.h
  330. +8
    -8
      kpovmodeler/pmaddcommand.cpp
  331. +4
    -4
      kpovmodeler/pmaddcommand.h
  332. +2
    -2
      kpovmodeler/pmbicubicpatch.cpp
  333. +1
    -1
      kpovmodeler/pmbicubicpatch.h
  334. +2
    -2
      kpovmodeler/pmbicubicpatchedit.cpp
  335. +2
    -2
      kpovmodeler/pmbicubicpatchedit.h
  336. +2
    -2
      kpovmodeler/pmblendmapmodifiers.cpp
  337. +1
    -1
      kpovmodeler/pmblendmapmodifiers.h
  338. +2
    -2
      kpovmodeler/pmblendmapmodifiersedit.cpp
  339. +2
    -2
      kpovmodeler/pmblendmapmodifiersedit.h
  340. +2
    -2
      kpovmodeler/pmblob.cpp
  341. +1
    -1
      kpovmodeler/pmblob.h
  342. +2
    -2
      kpovmodeler/pmblobcylinder.cpp
  343. +1
    -1
      kpovmodeler/pmblobcylinder.h
  344. +2
    -2
      kpovmodeler/pmblobcylinderedit.cpp
  345. +2
    -2
      kpovmodeler/pmblobcylinderedit.h
  346. +2
    -2
      kpovmodeler/pmblobedit.cpp
  347. +2
    -2
      kpovmodeler/pmblobedit.h
  348. +2
    -2
      kpovmodeler/pmblobsphere.cpp
  349. +1
    -1
      kpovmodeler/pmblobsphere.h
  350. +2
    -2
      kpovmodeler/pmblobsphereedit.cpp
  351. +2
    -2
      kpovmodeler/pmblobsphereedit.h
  352. +2
    -2
      kpovmodeler/pmboundedby.cpp
  353. +1
    -1
      kpovmodeler/pmboundedby.h
  354. +2
    -2
      kpovmodeler/pmboundedbyedit.cpp
  355. +2
    -2
      kpovmodeler/pmboundedbyedit.h
  356. +2
    -2
      kpovmodeler/pmbox.cpp
  357. +1
    -1
      kpovmodeler/pmbox.h
  358. +2
    -2
      kpovmodeler/pmboxedit.cpp
  359. +2
    -2
      kpovmodeler/pmboxedit.h
  360. +2
    -2
      kpovmodeler/pmbumpmap.cpp
  361. +1
    -1
      kpovmodeler/pmbumpmap.h
  362. +2
    -2
      kpovmodeler/pmbumpmapedit.cpp
  363. +2
    -2
      kpovmodeler/pmbumpmapedit.h
  364. +2
    -2
      kpovmodeler/pmcamera.cpp
  365. +1
    -1
      kpovmodeler/pmcamera.h
  366. +2
    -2
      kpovmodeler/pmcameraedit.cpp
  367. +2
    -2
      kpovmodeler/pmcameraedit.h
  368. +2
    -2
      kpovmodeler/pmclippedby.cpp
  369. +1
    -1
      kpovmodeler/pmclippedby.h
  370. +2
    -2
      kpovmodeler/pmclippedbyedit.cpp
  371. +2
    -2
      kpovmodeler/pmclippedbyedit.h
  372. +2
    -2
      kpovmodeler/pmcoloredit.cpp
  373. +1
    -1
      kpovmodeler/pmcoloredit.h
  374. +2
    -2
      kpovmodeler/pmcolorsettings.cpp
  375. +1
    -1
      kpovmodeler/pmcolorsettings.h
  376. +2
    -2
      kpovmodeler/pmcomment.cpp
  377. +1
    -1
      kpovmodeler/pmcomment.h
  378. +2
    -2
      kpovmodeler/pmcommentedit.cpp
  379. +2
    -2
      kpovmodeler/pmcommentedit.h
  380. +1
    -1
      kpovmodeler/pmcompositeobject.cpp
  381. +2
    -2
      kpovmodeler/pmcompositeobject.h
  382. +2
    -2
      kpovmodeler/pmcone.cpp
  383. +1
    -1
      kpovmodeler/pmcone.h
  384. +2
    -2
      kpovmodeler/pmconeedit.cpp
  385. +2
    -2
      kpovmodeler/pmconeedit.h
  386. +2
    -2
      kpovmodeler/pmcsg.cpp
  387. +1
    -1
      kpovmodeler/pmcsg.h
  388. +2
    -2
      kpovmodeler/pmcsgedit.cpp
  389. +2
    -2
      kpovmodeler/pmcsgedit.h
  390. +2
    -2
      kpovmodeler/pmcylinder.cpp
  391. +1
    -1
      kpovmodeler/pmcylinder.h
  392. +2
    -2
      kpovmodeler/pmcylinderedit.cpp
  393. +2
    -2
      kpovmodeler/pmcylinderedit.h
  394. +2
    -2
      kpovmodeler/pmdeclare.cpp
  395. +1
    -1
      kpovmodeler/pmdeclare.h
  396. +2
    -2
      kpovmodeler/pmdeclareedit.cpp
  397. +2
    -2
      kpovmodeler/pmdeclareedit.h
  398. +17
    -17
      kpovmodeler/pmdeletecommand.cpp
  399. +4
    -4
      kpovmodeler/pmdeletecommand.h
  400. +2
    -2
      kpovmodeler/pmdensity.cpp
  401. +1
    -1
      kpovmodeler/pmdensity.h
  402. +2
    -2
      kpovmodeler/pmdensityedit.cpp
  403. +2
    -2
      kpovmodeler/pmdensityedit.h
  404. +2
    -2
      kpovmodeler/pmdetailobjectedit.cpp
  405. +2
    -2
      kpovmodeler/pmdetailobjectedit.h
  406. +4
    -4
      kpovmodeler/pmdialogeditbase.cpp
  407. +1
    -1
      kpovmodeler/pmdialogeditbase.h
  408. +4
    -4
      kpovmodeler/pmdialogview.cpp
  409. +4
    -4
      kpovmodeler/pmdialogview.h
  410. +2
    -2
      kpovmodeler/pmdisc.cpp
  411. +1
    -1
      kpovmodeler/pmdisc.h
  412. +2
    -2
      kpovmodeler/pmdiscedit.cpp
  413. +2
    -2
      kpovmodeler/pmdiscedit.h
  414. +76
    -76
      kpovmodeler/pmdockwidget.cpp
  415. +33
    -33
      kpovmodeler/pmdockwidget.h
  416. +4
    -4
      kpovmodeler/pmdockwidget_private.cpp
  417. +2
    -2
      kpovmodeler/pmdockwidget_private.h
  418. +2
    -2
      kpovmodeler/pmdragwidget.cpp
  419. +1
    -1
      kpovmodeler/pmdragwidget.h
  420. +4
    -4
      kpovmodeler/pmerrordialog.cpp
  421. +2
    -2
      kpovmodeler/pmerrordialog.h
  422. +2
    -2
      kpovmodeler/pmfactory.cpp
  423. +1
    -1
      kpovmodeler/pmfactory.h
  424. +6
    -6
      kpovmodeler/pmfiledialog.cpp
  425. +3
    -3
      kpovmodeler/pmfiledialog.h
  426. +2
    -2
      kpovmodeler/pmfinish.cpp
  427. +1
    -1
      kpovmodeler/pmfinish.h
  428. +2
    -2
      kpovmodeler/pmfinishedit.cpp
  429. +2
    -2
      kpovmodeler/pmfinishedit.h
  430. +2
    -2
      kpovmodeler/pmfog.cpp
  431. +1
    -1
      kpovmodeler/pmfog.h
  432. +2
    -2
      kpovmodeler/pmfogedit.cpp
  433. +2
    -2
      kpovmodeler/pmfogedit.h
  434. +4
    -4
      kpovmodeler/pmformulalabel.cpp
  435. +2
    -2
      kpovmodeler/pmformulalabel.h
  436. +2
    -2
      kpovmodeler/pmglobalphotons.cpp
  437. +1
    -1
      kpovmodeler/pmglobalphotons.h
  438. +2
    -2
      kpovmodeler/pmglobalphotonsedit.cpp
  439. +2
    -2
      kpovmodeler/pmglobalphotonsedit.h
  440. +2
    -2
      kpovmodeler/pmglobalsettings.cpp
  441. +1
    -1
      kpovmodeler/pmglobalsettings.h
  442. +2
    -2
      kpovmodeler/pmglobalsettingsedit.cpp
  443. +2
    -2
      kpovmodeler/pmglobalsettingsedit.h
  444. +16
    -16
      kpovmodeler/pmglview.cpp
  445. +4
    -4
      kpovmodeler/pmglview.h
  446. +1
    -1
      kpovmodeler/pmgraphicalobject.h
  447. +4
    -4
      kpovmodeler/pmgraphicalobjectedit.cpp
  448. +2
    -2
      kpovmodeler/pmgraphicalobjectedit.h
  449. +2
    -2
      kpovmodeler/pmgridsettings.cpp
  450. +1
    -1
      kpovmodeler/pmgridsettings.h
  451. +2
    -2
      kpovmodeler/pmheightfield.cpp
  452. +1
    -1
      kpovmodeler/pmheightfield.h
  453. +2
    -2
      kpovmodeler/pmheightfieldedit.cpp
  454. +2
    -2
      kpovmodeler/pmheightfieldedit.h
  455. +2
    -2
      kpovmodeler/pmimagemap.cpp
  456. +1
    -1
      kpovmodeler/pmimagemap.h
  457. +2
    -2
      kpovmodeler/pmimagemapedit.cpp
  458. +2
    -2
      kpovmodeler/pmimagemapedit.h
  459. +2
    -2
      kpovmodeler/pminserterrordialog.cpp
  460. +2
    -2
      kpovmodeler/pminserterrordialog.h
  461. +4
    -4
      kpovmodeler/pminsertpopup.cpp
  462. +4
    -4
      kpovmodeler/pminsertpopup.h
  463. +2
    -2
      kpovmodeler/pminsertrulesystem.cpp
  464. +1
    -1
      kpovmodeler/pminsertrulesystem.h
  465. +2
    -2
      kpovmodeler/pminterior.cpp
  466. +1
    -1
      kpovmodeler/pminterior.h
  467. +2
    -2
      kpovmodeler/pminterioredit.cpp
  468. +2
    -2
      kpovmodeler/pminterioredit.h
  469. +2
    -2
      kpovmodeler/pminteriortexture.cpp
  470. +1
    -1
      kpovmodeler/pminteriortexture.h
  471. +2
    -2
      kpovmodeler/pminteriortextureedit.cpp
  472. +2
    -2
      kpovmodeler/pminteriortextureedit.h
  473. +2
    -2
      kpovmodeler/pmisosurface.cpp
  474. +1
    -1
      kpovmodeler/pmisosurface.h
  475. +2
    -2
      kpovmodeler/pmisosurfaceedit.cpp
  476. +2
    -2
      kpovmodeler/pmisosurfaceedit.h
  477. +2
    -2
      kpovmodeler/pmjuliafractal.cpp
  478. +1
    -1
      kpovmodeler/pmjuliafractal.h
  479. +2
    -2
      kpovmodeler/pmjuliafractaledit.cpp
  480. +2
    -2
      kpovmodeler/pmjuliafractaledit.h
  481. +2
    -2
      kpovmodeler/pmlathe.cpp
  482. +1
    -1
      kpovmodeler/pmlathe.h
  483. +2
    -2
      kpovmodeler/pmlatheedit.cpp
  484. +2
    -2
      kpovmodeler/pmlatheedit.h
  485. +2
    -2
      kpovmodeler/pmlayoutsettings.cpp
  486. +1
    -1
      kpovmodeler/pmlayoutsettings.h
  487. +4
    -4
      kpovmodeler/pmlibrarybrowser.cpp
  488. +4
    -4
      kpovmodeler/pmlibrarybrowser.h
  489. +2
    -2
      kpovmodeler/pmlibraryentrypreview.cpp
  490. +1
    -1
      kpovmodeler/pmlibraryentrypreview.h
  491. +2
    -2
      kpovmodeler/pmlibraryhandle.h
  492. +2
    -2
      kpovmodeler/pmlibraryhandleedit.cpp
  493. +1
    -1
      kpovmodeler/pmlibraryhandleedit.h
  494. +6
    -6
      kpovmodeler/pmlibraryiconview.cpp
  495. +3
    -3
      kpovmodeler/pmlibraryiconview.h
  496. +2
    -2
      kpovmodeler/pmlibraryobjectsearch.cpp
  497. +1
    -1
      kpovmodeler/pmlibraryobjectsearch.h
  498. +2
    -2
      kpovmodeler/pmlight.cpp
  499. +1
    -1
      kpovmodeler/pmlight.h
  500. +2
    -2
      kpovmodeler/pmlightedit.cpp

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

@ -48,8 +48,8 @@ K_EXPORT_COMPONENT_FACTORY( kcm_kamera, KKameraConfigFactory( "kcmkamera" ) )
KKameraConfig *KKameraConfig::m_instance = NULL;
KKameraConfig::KKameraConfig(TQWidget *tqparent, const char *name, const TQStringList &)
: KCModule(KKameraConfigFactory::instance(), tqparent, name)
KKameraConfig::KKameraConfig(TQWidget *parent, const char *name, const TQStringList &)
: KCModule(KKameraConfigFactory::instance(), parent, name)
{
m_devicePopup = new KPopupMenu(this);
m_actions = new KActionCollection(this);


+ 1
- 1
kamera/kcontrol/kamera.h View File

@ -51,7 +51,7 @@ class KKameraConfig : public KCModule
friend class KameraDeviceSelectDialog;
public:
KKameraConfig(TQWidget *tqparent, const char *name, const TQStringList &);
KKameraConfig(TQWidget *parent, const char *name, const TQStringList &);
virtual ~KKameraConfig();
// KCModule interface methods


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

@ -42,9 +42,9 @@
KameraConfigDialog::KameraConfigDialog(Camera */*camera*/,
CameraWidget *widget,
TQWidget *tqparent,
TQWidget *parent,
const char *name) :
KDialogBase(tqparent, name, true, TQString(), Ok|Cancel, Ok ),
KDialogBase(parent, name, true, TQString(), Ok|Cancel, Ok ),
m_widgetRoot(widget)
{
TQFrame *main = makeMainWidget();
@ -56,9 +56,9 @@ m_widgetRoot(widget)
appendWidget(main, widget);
}
void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
void KameraConfigDialog::appendWidget(TQWidget *parent, CameraWidget *widget)
{
TQWidget *newParent = tqparent;
TQWidget *newParent = parent;
CameraWidgetType widget_type;
const char *widget_name;
@ -74,7 +74,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
TQString whats_this = TQString::fromLocal8Bit(widget_info); // gphoto2 doesn't seem to have any standard for i18n
// Add this widget to tqparent
// Add this widget to parent
switch(widget_type) {
case GP_WIDGET_WINDOW:
{
@ -85,7 +85,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
case GP_WIDGET_SECTION:
{
if (!m_tabWidget)
m_tabWidget = new TQTabWidget(tqparent);
m_tabWidget = new TQTabWidget(parent);
TQWidget *tab = new TQWidget(m_tabWidget);
// widgets are to be aligned vertically in the tab
TQVBoxLayout *tabLayout = new TQVBoxLayout(tab, marginHint(),
@ -104,7 +104,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
{
gp_widget_get_value(widget, &widget_value_string);
TQGrid *grid = new TQGrid(2,Qt::Horizontal, tqparent);
TQGrid *grid = new TQGrid(2,Qt::Horizontal, parent);
grid->setSpacing(spacingHint());
new TQLabel(TQString::fromLocal8Bit( widget_label )+":", grid);
TQLineEdit *lineEdit = new TQLineEdit(widget_value_string, grid);
@ -123,7 +123,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
gp_widget_get_range(widget, &widget_low, &widget_high, &widget_increment);
gp_widget_get_value(widget, &widget_value_float);
TQGroupBox *groupBox = new TQVGroupBox(widget_label, tqparent);
TQGroupBox *groupBox = new TQVGroupBox(widget_label, parent);
TQSlider *slider = new TQSlider(
( int )widget_low,
( int )widget_high,
@ -142,7 +142,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
{
gp_widget_get_value(widget, &widget_value_int);
TQCheckBox *checkBox = new TQCheckBox(widget_label, tqparent);
TQCheckBox *checkBox = new TQCheckBox(widget_label, parent);
checkBox->setChecked(widget_value_int);
m_wmap.insert(widget, checkBox);
@ -160,9 +160,9 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
// for less than 5 options, align them horizontally
TQButtonGroup *buttonGroup;
if (count > 4)
buttonGroup = new TQVButtonGroup(widget_label, tqparent);
buttonGroup = new TQVButtonGroup(widget_label, parent);
else
buttonGroup = new TQHButtonGroup(widget_label, tqparent);
buttonGroup = new TQHButtonGroup(widget_label, parent);
for(int i = 0; i < count; ++i) {
const char *widget_choice;
@ -183,7 +183,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
{
gp_widget_get_value(widget, &widget_value_string);
TQComboBox *comboBox = new TQComboBox(FALSE, tqparent);
TQComboBox *comboBox = new TQComboBox(FALSE, parent);
comboBox->clear();
for(int i = 0; i < gp_widget_count_choices(widget); ++i) {
const char *widget_choice;
@ -206,14 +206,14 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
// I can't see a way of implementing this. Since there is
// no way of telling which button sent you a signal, we
// can't map to the appropriate widget->callback
new TQLabel(i18n("Button (not supported by KControl)"), tqparent);
new TQLabel(i18n("Button (not supported by KControl)"), parent);
break;
}
case GP_WIDGET_DATE:
{
// TODO
new TQLabel(i18n("Date (not supported by KControl)"), tqparent);
new TQLabel(i18n("Date (not supported by KControl)"), parent);
break;
}


+ 2
- 2
kamera/kcontrol/kameraconfigdialog.h View File

@ -37,13 +37,13 @@ class KameraConfigDialog : public KDialogBase
TQ_OBJECT
public:
KameraConfigDialog(Camera *camera, CameraWidget *widget,
TQWidget *tqparent = 0, const char *name = 0);
TQWidget *parent = 0, const char *name = 0);
private slots:
void slotOk();
private:
void appendWidget(TQWidget *tqparent, CameraWidget *widget);
void appendWidget(TQWidget *parent, CameraWidget *widget);
void updateWidgetValue(CameraWidget *widget);
TQMap<CameraWidget *, TQWidget *> m_wmap;


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

@ -270,8 +270,8 @@ CameraAbilities KCamera::abilities()
// ---------- KameraSelectCamera ------------
KameraDeviceSelectDialog::KameraDeviceSelectDialog(TQWidget *tqparent, KCamera *device)
: KDialogBase(tqparent, "kkameradeviceselect", true, i18n("Select Camera Device"), Ok | Cancel, Ok, true)
KameraDeviceSelectDialog::KameraDeviceSelectDialog(TQWidget *parent, KCamera *device)
: KDialogBase(parent, "kkameradeviceselect", true, i18n("Select Camera Device"), Ok | Cancel, Ok, true)
{
m_device = device;
connect(m_device, TQT_SIGNAL(error(const TQString &)),


+ 1
- 1
kamera/kcontrol/kameradevice.h View File

@ -91,7 +91,7 @@ class KameraDeviceSelectDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
KameraDeviceSelectDialog(TQWidget *tqparent, KCamera *device);
KameraDeviceSelectDialog(TQWidget *parent, KCamera *device);
void save();
void load();
protected slots:


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

@ -890,7 +890,7 @@ void KameraProtocol::translateFileToUDS(UDSEntry &udsEntry, const CameraFileInfo
atom.m_long = 0;
atom.m_long |= (info.file.permissions & GP_FILE_PERM_READ) ? (S_IRUSR | S_IRGRP | S_IROTH) : 0;
// we cannot represent individual FP_FILE_PERM_DELETE permission in the Unix access scheme
// since the tqparent directory's write permission defines that
// since the parent directory's write permission defines that
udsEntry.append(atom);
} else {
// basic permissions, in case the camera doesn't provide permissions info


+ 1
- 1
kcoloredit/colorselector.cpp View File

@ -30,7 +30,7 @@
#include "texteditselection.h"
#include "colorselector.h"
ColorSelector::ColorSelector(TQWidget *tqparent, const char *name ) : TQWidget(tqparent, name) {
ColorSelector::ColorSelector(TQWidget *parent, const char *name ) : TQWidget(parent, name) {
fComponentsMode = false;
TQVBoxLayout* topLayout = new TQVBoxLayout(this, 4);
/*


+ 1
- 1
kcoloredit/colorselector.h View File

@ -35,7 +35,7 @@ class ColorSelector : public TQWidget {
public:
/** constructs a color selector widget */
ColorSelector(TQWidget *tqparent=0, const char *name=0);
ColorSelector(TQWidget *parent=0, const char *name=0);
~ColorSelector();
/** @return the selected color */
const Color& color();


+ 1
- 1
kcoloredit/gradientselection.cpp View File

@ -24,7 +24,7 @@
#include "main.h"
#include "gradientselection.h"
GradientSelection::GradientSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
GradientSelection::GradientSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
TQGridLayout* topLayout = new TQGridLayout(this, 2, 2, 0);
TQHBoxLayout* tqlayout = new TQHBoxLayout(0);
tqlayout->setMargin(3);


+ 1
- 1
kcoloredit/gradientselection.h View File

@ -36,7 +36,7 @@ class GradientSelection : public TQWidget {
public:
/** Constructs the widget */
GradientSelection(TQWidget *tqparent=0, const char *name=0);
GradientSelection(TQWidget *parent=0, const char *name=0);
~GradientSelection();
/** Enables or disables the color synchronize button */
void enableSynchronizeColorButton(bool enable);


+ 1
- 1
kcoloredit/imageselection.cpp View File

@ -17,7 +17,7 @@
#include "imageselection.h"
ImageSelection::ImageSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
ImageSelection::ImageSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
}
ImageSelection::~ImageSelection(){
}


+ 1
- 1
kcoloredit/imageselection.h View File

@ -31,7 +31,7 @@ class ImageSelection : public TQWidget {
public:
/** constructs the widget */
ImageSelection(TQWidget *tqparent=0, const char *name=0);
ImageSelection(TQWidget *parent=0, const char *name=0);
~ImageSelection();
signals:


+ 3
- 3
kcoloredit/kcoloreditdoc.cpp View File

@ -31,7 +31,7 @@
#include "kcoloreditview.h"
#include "resource.h"
KColorEditDoc::KColorEditDoc(TQWidget *tqparent, const char *name) : TQObject(tqparent, name),
KColorEditDoc::KColorEditDoc(TQWidget *parent, const char *name) : TQObject(parent, name),
m_palette(), m_paletteHistory(&m_palette, 0) {
m_pViewList = new TQPtrList<KColorEditView>();
m_pViewList->setAutoDelete(true);
@ -106,7 +106,7 @@ bool KColorEditDoc::saveModified()
if(m_modified)
{
KColorEditApp *window=(KColorEditApp *) tqparent();
KColorEditApp *window=(KColorEditApp *) parent();
int want_save = KMessageBox::warningYesNoCancel(window,
i18n("The current file has been modified.\n"
"Do you want to save it?"), TQString(), KStdGuiItem::save(), i18n("Do Not Save"));
@ -175,7 +175,7 @@ bool KColorEditDoc::openDocument(const TQString& filename) {
setPaletteCursorPos(m_palette.length());
setPaletteSelection(0, 0);
slotRedrawAllViews(0, true);
KColorEditApp *window=(KColorEditApp*)tqparent();
KColorEditApp *window=(KColorEditApp*)parent();
window->setCaption(m_title);
}
return true;


+ 1
- 1
kcoloredit/kcoloreditdoc.h View File

@ -51,7 +51,7 @@ class KColorEditDoc : public TQObject
public:
/** Constructor for the fileclass of the application */
KColorEditDoc(TQWidget *tqparent, const char *name=0);
KColorEditDoc(TQWidget *parent, const char *name=0);
/** Destructor for the fileclass of the application */
~KColorEditDoc();


+ 1
- 1
kcoloredit/kcoloreditview.cpp View File

@ -35,7 +35,7 @@
#include "kcoloredit.h"
#include "palette.h"
KColorEditView::KColorEditView(TQWidget *tqparent, const char *name) : TQSplitter(tqparent, name) {
KColorEditView::KColorEditView(TQWidget *parent, const char *name) : TQSplitter(parent, name) {
colorSelector = new ColorSelector(this);
colorSelector->slotSetColor(
Color( RGB_MAX_COMPONENT_VALUE, RGB_MAX_COMPONENT_VALUE, RGB_MAX_COMPONENT_VALUE, "" ));


+ 2
- 2
kcoloredit/kcoloreditview.h View File

@ -47,11 +47,11 @@ class KColorEditView : public TQSplitter {
public:
/** Constructor for the main view */
KColorEditView(TQWidget *tqparent = 0, const char *name = 0);
KColorEditView(TQWidget *parent = 0, const char *name = 0);
/** Destructor for the main view */
~KColorEditView();
/** returns a pointer to the document connected to the view instance. Mind that this method requires a KColorEditApp instance as a tqparent
/** returns a pointer to the document connected to the view instance. Mind that this method requires a KColorEditApp instance as a parent
* widget to get to the window document pointer by calling the KColorEditApp::getDocument() method.
*
* @see KColorEditApp#getDocument


+ 1
- 1
kcoloredit/kxycolorselector.cpp View File

@ -23,7 +23,7 @@
#include "kxycolorselector.h"
KXYColorSelector::KXYColorSelector(TQWidget *tqparent, const char *name) : KXYSelector(tqparent,name) {
KXYColorSelector::KXYColorSelector(TQWidget *parent, const char *name) : KXYSelector(parent,name) {
setBackgroundMode(NoBackground);
setRange(0, 0, COMPONENT_SELECTION_RESOLUTION - 1, COMPONENT_SELECTION_RESOLUTION - 1);
setType(TYPE_NONE);


+ 1
- 1
kcoloredit/kxycolorselector.h View File

@ -47,7 +47,7 @@ public:
/** Constructs a two-dimensional color component selector widget,
* with a type TYPE_NONE and ranges 0 .. MAX_COLOR_COMPONENT_VALUE
*/
KXYColorSelector(TQWidget *tqparent=0, const char *name=0);
KXYColorSelector(TQWidget *parent=0, const char *name=0);
~KXYColorSelector();
/** Set the type of the selector */
void setType(const int type);


+ 2
- 2
kcoloredit/kzcolorselector.cpp View File

@ -23,8 +23,8 @@
#include "main.h"
#include "kzcolorselector.h"
KZColorSelector::KZColorSelector(Qt::Orientation o, TQWidget *tqparent, const char *name) :
KSelector(o, tqparent, name) {
KZColorSelector::KZColorSelector(Qt::Orientation o, TQWidget *parent, const char *name) :
KSelector(o, parent, name) {
baseColorH = -1;
baseColorS = 0;
baseColorV = 0;


+ 1
- 1
kcoloredit/kzcolorselector.h View File

@ -38,7 +38,7 @@ public:
TYPE_V = 2 };
/** Constructs the widget */
KZColorSelector(Qt::Orientation o, TQWidget *tqparent=0, const char *name=0);
KZColorSelector(Qt::Orientation o, TQWidget *parent=0, const char *name=0);
~KZColorSelector();
/** Sets the selector type */
void setType(const int type);


+ 2
- 2
kcoloredit/loadpalettedlg.cpp View File

@ -31,8 +31,8 @@
#include "palette.h"
#include "loadpalettedlg.h"
LoadPaletteDlg::LoadPaletteDlg(TQWidget *tqparent, const char *name)
: KDialogBase(tqparent, name, true, i18n( "Load Palette" ),
LoadPaletteDlg::LoadPaletteDlg(TQWidget *parent, const char *name)
: KDialogBase(parent, name, true, i18n( "Load Palette" ),
Ok|Cancel, Ok, true) {
fileName = "";
TQWidget *mainWidget = new TQWidget( this );


+ 1
- 1
kcoloredit/loadpalettedlg.h View File

@ -32,7 +32,7 @@ class LoadPaletteDlg : public KDialogBase {
public:
/** constructs the dialog
*/
LoadPaletteDlg(TQWidget *tqparent = 0, const char *name = 0);
LoadPaletteDlg(TQWidget *parent = 0, const char *name = 0);
~LoadPaletteDlg();
/** @return the fetched file name
*/


+ 2
- 2
kcoloredit/paletteview.cpp View File

@ -21,8 +21,8 @@
#include "paletteview.h"
PaletteView::PaletteView(const int defaultCellWidth, const int defaultCellHeight, const int cellSpacing,
KColorEditView* view, TQWidget *tqparent, const char *name) :
TQFrame(tqparent, name, TQWidget::WResizeNoErase*0) {
KColorEditView* view, TQWidget *parent, const char *name) :
TQFrame(parent, name, TQWidget::WResizeNoErase*0) {
setFrameStyle(StyledPanel|Sunken);
setLineWidth(2);
TQGridLayout* topLayout = new TQGridLayout(this, 2, 2);


+ 2
- 2
kcoloredit/paletteview.h View File

@ -26,7 +26,7 @@
class KColorEditView;
/** This is a Palette class view widget.
* Its tqparent is KColorEditView
* Its parent is KColorEditView
* @author Artur Rataj
*/
class PaletteView : public TQFrame {
@ -38,7 +38,7 @@ public:
* The effective cell sizes may be adjusted to fit the widget sizes.
*/
PaletteView(const int defaultCellWidth, const int defaultCellHeight, const int cellSpacing,
KColorEditView* view, TQWidget *tqparent = 0, const char *name=0);
KColorEditView* view, TQWidget *parent = 0, const char *name=0);
~PaletteView();
/** Calls redraw() in scrolledArea */
void redraw();


+ 2
- 2
kcoloredit/paletteviewscrolledarea.cpp View File

@ -38,8 +38,8 @@
PaletteViewScrolledArea::PaletteViewScrolledArea(const int defaultCellWidth,
const int defaultCellHeight, const int cellSpacing, TQScrollBar* scrollBar,
TQScrollBar* hScrollBar, KColorEditView* view, TQWidget* tqparent, const char* name)
: TQFrame(tqparent, name) {
TQScrollBar* hScrollBar, KColorEditView* view, TQWidget* parent, const char* name)
: TQFrame(parent, name) {
this->defaultCellWidth = defaultCellWidth;
this->defaultCellHeight = defaultCellHeight;
this->cellSpacing = cellSpacing;


+ 1
- 1
kcoloredit/paletteviewscrolledarea.h View File

@ -40,7 +40,7 @@ public:
PaletteViewScrolledArea(const int defaultCellWidth, const int defaultCellHeight,
const int cellSpacing, TQScrollBar* scrollBar,
TQScrollBar* hScrollBar, KColorEditView* view,
TQWidget* tqparent = 0, const char* name = 0);
TQWidget* parent = 0, const char* name = 0);
~PaletteViewScrolledArea();
/** Sets cells sizes and then calls repaintPalette() */
void redraw();


+ 1
- 1
kcoloredit/texteditselection.cpp View File

@ -24,7 +24,7 @@
#include "main.h"
#include "texteditselection.h"
TextEditSelection::TextEditSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
TextEditSelection::TextEditSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
inChangingComponents = false;
TQVBoxLayout* topLayout = new TQVBoxLayout(this, 4);
TQGridLayout* componentsLayout = new TQGridLayout(3, 5, 2);


+ 1
- 1
kcoloredit/texteditselection.h View File

@ -34,7 +34,7 @@ class TextEditSelection : public TQWidget {
public:
/** Constructs the widget */
TextEditSelection(TQWidget *tqparent=0, const char *name=0);
TextEditSelection(TQWidget *parent=0, const char *name=0);
~TextEditSelection();
signals:


+ 1
- 1
kcoloredit/textselection.cpp View File

@ -17,7 +17,7 @@
#include "textselection.h"
TextSelection::TextSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
TextSelection::TextSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
}
TextSelection::~TextSelection(){


+ 2
- 2
kdvi/TeXFont.h View File

@ -17,7 +17,7 @@ class TeXFont {
public:
TeXFont(TeXFontDefinition *_parent)
{
tqparent = _parent;
parent = _parent;
errorMessage = TQString();
};
@ -42,7 +42,7 @@ class TeXFont {
protected:
glyph glyphtable[TeXFontDefinition::max_num_of_chars_in_font];
TeXFontDefinition *tqparent;
TeXFontDefinition *parent;
};
#endif

+ 20
- 20
kdvi/TeXFont_PFB.cpp View File

@ -26,28 +26,28 @@
//#define DEBUG_PFB 1
TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc, double slant)
: TeXFont(tqparent)
TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *parent, fontEncoding *enc, double slant)
: TeXFont(parent)
{
#ifdef DEBUG_PFB
if (enc != 0)
kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( tqparent=" << tqparent << ", encoding=" << enc->encodingFullName << " )" << endl;
kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( parent=" << parent << ", encoding=" << enc->encodingFullName << " )" << endl;
else
kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( tqparent=" << tqparent << ", encoding=0 )" << endl;
kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( parent=" << parent << ", encoding=0 )" << endl;
#endif
fatalErrorInFontLoading = false;
int error = FT_New_Face( tqparent->font_pool->FreeType_library, tqparent->filename.local8Bit(), 0, &face );
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.").tqarg(tqparent->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.").tqarg(tqparent->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;
@ -66,7 +66,7 @@ TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc, double
}
if (face->family_name != 0)
tqparent->fullFontName = face->family_name;
parent->fullFontName = face->family_name;
// Finally, we need to set up the charMap array, which maps TeX
// character codes to glyph indices in the font. (Remark: the
@ -74,8 +74,8 @@ TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc, double
// TeX is only able to address character codes 0-255 while
// e.g. Type1 fonts may contain several thousands of characters)
if (enc != 0) {
tqparent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "Encoding" ));
tqparent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "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
@ -159,16 +159,16 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
if ((generateCharacterPixmap == true) && ((g->shrunkenCharacter.isNull()) || (color != g->color)) ) {
int error;
unsigned int res = (unsigned int)(tqparent->displayResolution_in_dpi/tqparent->enlargement +0.5);
unsigned int res = (unsigned int)(parent->displayResolution_in_dpi/parent->enlargement +0.5);
g->color = color;
// Character height in 1/64th of points (reminder: 1 pt = 1/72 inch)
// Only approximate, may vary from file to file!!!! @@@@@
long int characterSize_in_printers_points_by_64 = (long int)((64.0*72.0*tqparent->scaled_size_in_DVI_units*tqparent->font_pool->getCMperDVIunit())/2.54 + 0.5 );
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.").tqarg(tqparent->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;
@ -178,13 +178,13 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
}
// load glyph image into the slot and erase the previous one
if (tqparent->font_pool->getUseFontHints() == true)
if (parent->font_pool->getUseFontHints() == true)
error = FT_Load_Glyph(face, charMap[ch], FT_LOAD_DEFAULT );
else
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.").tqarg(ch).tqarg(tqparent->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.").tqarg(ch).tqarg(tqparent->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;
@ -210,7 +210,7 @@ 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.").tqarg(ch);
kdError(4300) << i18n("Glyph #%1 from font file %2 is empty.").tqarg(ch).tqarg(tqparent->filename) << endl;
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;
@ -221,7 +221,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
// Do TQPixmaps fully support the alpha channel? If yes, we use
// that. Otherwise, use other routines as a fallback
if (tqparent->font_pool->TQPixmapSupportsAlpha) {
if (parent->font_pool->TQPixmapSupportsAlpha) {
// If the alpha channel is properly supported, we set the
// character glyph to a colored rectangle, and define the
// character outline only using the alpha channel. That
@ -239,7 +239,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
}
} else {
// If the alpha channel is not supported... QT seems to turn
// the alpha channel into a crude bitmap which is used to tqmask
// the alpha channel into a crude bitmap which is used to mask
// the resulting TQPixmap. In this case, we define the
// character outline using the image data, and use the alpha
// channel only to store "maximally opaque" or "completely
@ -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.").tqarg(ch).tqarg(tqparent->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;


+ 1
- 1
kdvi/TeXFont_PFB.h View File

@ -23,7 +23,7 @@ class glyph;
class TeXFont_PFB : public TeXFont {
public:
TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc=0, double slant=0.0 );
TeXFont_PFB(TeXFontDefinition *parent, fontEncoding *enc=0, double slant=0.0 );
~TeXFont_PFB();
glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black);


+ 15
- 15
kdvi/TeXFont_PK.cpp View File

@ -80,18 +80,18 @@ extern void oops(TQString message);
TeXFont_PK::TeXFont_PK(TeXFontDefinition *tqparent)
: TeXFont(tqparent)
TeXFont_PK::TeXFont_PK(TeXFontDefinition *parent)
: TeXFont(parent)
{
#ifdef DEBUG_PK
kdDebug(4300) << "TeXFont_PK::TeXFont_PK( tqparent=" << tqparent << ")" << endl;
kdDebug(4300) << "TeXFont_PK::TeXFont_PK( parent=" << parent << ")" << endl;
#endif
for(unsigned int i=0; i<TeXFontDefinition::max_num_of_chars_in_font; i++)
characterBitmaps[i] = 0;
file = fopen(TQFile::encodeName(tqparent->filename), "r");
file = fopen(TQFile::encodeName(parent->filename), "r");
if (file == 0)
kdError(4300) << i18n("Cannot open font file %1.").tqarg(tqparent->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").tqarg(ch).tqarg(tqparent->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;
}
@ -163,7 +163,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
((g->shrunkenCharacter.isNull()) || (color != g->color)) &&
(characterBitmaps[ch]->w != 0)) {
g->color = color;
double shrinkFactor = 1200 / tqparent->displayResolution_in_dpi;
double shrinkFactor = 1200 / parent->displayResolution_in_dpi;
// All is fine? Then we rescale the bitmap in order to produce the
// required pixmap. Rescaling a character, however, is an art
@ -270,7 +270,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
im32.setAlphaBuffer(true);
// Do TQPixmaps fully support the alpha channel? If yes, we use
// that. Otherwise, use other routines as a fallback
if (tqparent->font_pool->TQPixmapSupportsAlpha) {
if (parent->font_pool->TQPixmapSupportsAlpha) {
// If the alpha channel is properly supported, we set the
// character glyph to a colored rectangle, and define the
// character outline only using the alpha channel. That ensures
@ -283,7 +283,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
}
} else {
// If the alpha channel is not supported... QT seems to turn the
// alpha channel into a crude bitmap which is used to tqmask the
// alpha channel into a crude bitmap which is used to mask the
// resulting TQPixmap. In this case, we define the character
// outline using the image data, and use the alpha channel only
// to store "maximally opaque" or "completely transparent"
@ -454,7 +454,7 @@ void TeXFont_PK::PK_skip_specials()
case PK_NOOP :
break;
default :
oops(i18n("Unexpected %1 in PK file %2").tqarg(PK_flag_byte).tqarg(tqparent->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").tqarg(ch).tqarg(tqparent->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").tqarg(ch).tqarg(tqparent->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").tqarg(tqparent->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").tqarg(ch).tqarg(tqparent->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").tqarg(tqparent->filename));
oops(i18n("Bad pk file (%1), too many bits").tqarg(parent->filename));
}
} // endif: big or small Endian?
}


+ 1
- 1
kdvi/TeXFont_PK.h View File

@ -9,7 +9,7 @@ class glyph;
class TeXFont_PK : public TeXFont {
public:
TeXFont_PK(TeXFontDefinition *tqparent);
TeXFont_PK(TeXFontDefinition *parent);
~TeXFont_PK();
glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black);


+ 9
- 9
kdvi/TeXFont_TFM.cpp View File

@ -21,14 +21,14 @@
//#define DEBUG_TFM
TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent)
: TeXFont(tqparent)
TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *parent)
: TeXFont(parent)
{
#ifdef DEBUG_TFM
kdDebug(4300) << "TeXFont_TFM::TeXFont_TFM( tqparent=" << tqparent << " )" << endl;
kdDebug(4300) << "TeXFont_TFM::TeXFont_TFM( parent=" << parent << " )" << endl;
#endif
TQFile file( tqparent->filename );
TQFile file( parent->filename );
if ( !file.open( IO_ReadOnly ) ) {
kdError(4300) << "TeXFont_TFM::TeXFont_TFM(): Could not read TFM file" << endl;
return;
@ -49,7 +49,7 @@ TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent)
<< "nd= " << nd << endl;
#endif
if ((bc > ec) || (ec >= TeXFontDefinition::max_num_of_chars_in_font)) {
kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << tqparent->filename << " ): The font has an invalid bc and ec entries." << endl;
kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << parent->filename << " ): The font has an invalid bc and ec entries." << endl;
file.close();
return;
}
@ -97,7 +97,7 @@ TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent)
TQ_UINT8 byte;
stream >> byte;
if (byte >= nw)
kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << tqparent->filename << " ): The font has an invalid Char-Info table." << endl;
kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << parent->filename << " ): The font has an invalid Char-Info table." << endl;
else {
characterWidth_in_units_of_design_size[characterCode] = widthTable_in_units_of_design_size[byte];
g->dvi_advance_in_units_of_design_size_by_2e20 = widthTable_in_units_of_design_size[byte].value;
@ -106,7 +106,7 @@ TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent)
stream >> byte;
byte = byte >> 4;
if (byte >= nh)
kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << tqparent->filename << " ): The font has an invalid Char-Info table." << endl;
kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << parent->filename << " ): The font has an invalid Char-Info table." << endl;
else
characterHeight_in_units_of_design_size[characterCode] = heightTable_in_units_of_design_size[byte];
@ -139,10 +139,10 @@ glyph *TeXFont_TFM::getGlyph(TQ_UINT16 characterCode, bool generateCharacterPixm
if ((generateCharacterPixmap == true) && ((g->shrunkenCharacter.isNull()) || (color != g->color)) ) {
g->color = color;
TQ_UINT16 pixelWidth = (TQ_UINT16)(tqparent->displayResolution_in_dpi *
TQ_UINT16 pixelWidth = (TQ_UINT16)(parent->displayResolution_in_dpi *
design_size_in_TeX_points.toDouble() *
characterWidth_in_units_of_design_size[characterCode].toDouble() * 100.0/7227.0 + 0.5);
TQ_UINT16 pixelHeight = (TQ_UINT16)(tqparent->displayResolution_in_dpi *
TQ_UINT16 pixelHeight = (TQ_UINT16)(parent->displayResolution_in_dpi *
design_size_in_TeX_points.toDouble() *
characterHeight_in_units_of_design_size[characterCode].toDouble() * 100.0/7227.0 + 0.5);


+ 1
- 1
kdvi/TeXFont_TFM.h View File

@ -23,7 +23,7 @@ class fix_word {
class TeXFont_TFM : public TeXFont {
public:
TeXFont_TFM(TeXFontDefinition *tqparent);
TeXFont_TFM(TeXFontDefinition *parent);
~TeXFont_TFM();
glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black);


+ 1
- 1
kdvi/dviRenderer.cpp View File

@ -71,7 +71,7 @@ dviRenderer::dviRenderer(TQWidget *par)
: DocumentRenderer(par), info(new infoDialog(par))
{
#ifdef DEBUG_DVIRENDERER
kdDebug(4300) << "dviRenderer( tqparent=" << par << " )" << endl;
kdDebug(4300) << "dviRenderer( parent=" << par << " )" << endl;
#endif
// initialize the dvi machinery


+ 1
- 1
kdvi/dviRenderer.h View File

@ -88,7 +88,7 @@ class dviRenderer : public DocumentRenderer, bigEndianByteReader
TQ_OBJECT
public:
dviRenderer(TQWidget *tqparent);
dviRenderer(TQWidget *parent);
~dviRenderer();
virtual bool setFile(const TQString &fname, const KURL &base);


+ 3
- 3
kdvi/dviWidget.cpp View File

@ -22,8 +22,8 @@
#include "renderedDviPagePixmap.h"
#include "selection.h"
DVIWidget::DVIWidget(TQWidget* tqparent, PageView* sv, DocumentPageCache* cache, const char* name)
: DocumentWidget(tqparent, sv, cache, name)
DVIWidget::DVIWidget(TQWidget* parent, PageView* sv, DocumentPageCache* cache, const char* name)
: DocumentWidget(parent, sv, cache, name)
{
}
@ -74,7 +74,7 @@ void DVIWidget::mousePressEvent(TQMouseEvent* e)
e->accept();
}
// Call implementation from tqparent
// Call implementation from parent
DocumentWidget::mousePressEvent(e);
}


+ 1
- 1
kdvi/dviWidget.h View File

@ -26,7 +26,7 @@ class DVIWidget : public DocumentWidget
TQ_OBJECT
public:
DVIWidget(TQWidget* tqparent, PageView* sv, DocumentPageCache* cache, const char* name);
DVIWidget(TQWidget* parent, PageView* sv, DocumentPageCache* cache, const char* name);
signals:
void SRCLink(const TQString&, TQMouseEvent* e, DocumentWidget*);


+ 3
- 3
kdvi/fontprogress.cpp View File