Browse Source

Remove additional unneeded tq method conversions

pull/16/head
Timothy Pearson 9 years ago
parent
commit
a51cd9949c
338 changed files with 1322 additions and 1322 deletions
  1. +3
    -3
      KDE3PORTING.html
  2. +1
    -1
      arts/kde/kvideowidget.cpp
  3. +2
    -2
      dcop/KDE-ICE/ICElib.h
  4. +2
    -2
      dcop/KDE-ICE/ICEmsg.h
  5. +2
    -2
      dcop/KDE-ICE/shutdown.c
  6. +1
    -1
      dcop/client/dcop.cpp
  7. +1
    -1
      dcop/client/dcopfind.cpp
  8. +1
    -1
      dcop/dcopref.h
  9. +4
    -4
      dcop/dcopserver.cpp
  10. +1
    -1
      interfaces/khexedit/byteseditinterface.h
  11. +1
    -1
      interfaces/kimproxy/interface/kimiface.h
  12. +1
    -1
      interfaces/ktexteditor/editinterfaceext.h
  13. +1
    -1
      interfaces/ktexteditor/editorchooser.cpp
  14. +1
    -1
      interfaces/ktexteditor/editorchooser_ui.ui
  15. +1
    -1
      kab/addressbook.h
  16. +3
    -3
      kab/qconfigDB.cc
  17. +1
    -1
      kabc/formats/binaryformat.cpp
  18. +10
    -10
      kabc/kab2kabc.cpp
  19. +1
    -1
      kabc/resourceselectdialog.cpp
  20. +40
    -40
      kabc/tests/testaddresseelist.cpp
  21. +7
    -7
      kabc/vcard/AdrValue.cpp
  22. +1
    -1
      kabc/vcard/ContentLine.cpp
  23. +1
    -1
      kabc/vcard/LangValue.cpp
  24. +5
    -5
      kabc/vcard/NValue.cpp
  25. +1
    -1
      kabc/vcard/OrgValue.cpp
  26. +1
    -1
      kabc/vcard/TextListValue.cpp
  27. +1
    -1
      kabc/vcard/VCard.cpp
  28. +1
    -1
      kabc/vcardparser/vcardparser.cpp
  29. +1
    -1
      kabc/vcardtool.cpp
  30. +5
    -5
      kate/part/kateautoindent.cpp
  31. +5
    -5
      kate/part/katebookmarks.cpp
  32. +6
    -6
      kate/part/katebuffer.cpp
  33. +2
    -2
      kate/part/katebuffer.h
  34. +6
    -6
      kate/part/katecodefoldinghelpers.cpp
  35. +6
    -6
      kate/part/kateconfig.cpp
  36. +4
    -4
      kate/part/katedialogs.cpp
  37. +20
    -20
      kate/part/katedocument.cpp
  38. +1
    -1
      kate/part/katefactory.cpp
  39. +25
    -25
      kate/part/katefiletype.cpp
  40. +25
    -25
      kate/part/katehighlight.cpp
  41. +2
    -2
      kate/part/katejscript.cpp
  42. +1
    -1
      kate/part/kateprinter.cpp
  43. +2
    -2
      kate/part/katerenderer.cpp
  44. +7
    -7
      kate/part/kateschema.cpp
  45. +3
    -3
      kate/part/katesearch.cpp
  46. +5
    -5
      kate/part/katetemplatehandler.cpp
  47. +4
    -4
      kate/part/kateundo.cpp
  48. +3
    -3
      kate/part/kateview.cpp
  49. +2
    -2
      kate/part/kateviewinternal.cpp
  50. +1
    -1
      kate/plugins/autobookmarker/autobookmarker.cpp
  51. +2
    -2
      kate/plugins/insertfile/insertfileplugin.cpp
  52. +2
    -2
      kate/plugins/isearch/ISearchPlugin.cpp
  53. +4
    -4
      kate/plugins/kdatatool/kate_kdatatool.cpp
  54. +2
    -2
      kate/plugins/wordcompletion/docwordcompletion.cpp
  55. +1
    -1
      kcert/kcertpart.cc
  56. +7
    -7
      kded/kbuildservicefactory.cpp
  57. +3
    -3
      kded/kbuildservicegroupfactory.cpp
  58. +9
    -9
      kded/kbuildservicetypefactory.cpp
  59. +6
    -6
      kded/kbuildsycoca.cpp
  60. +4
    -4
      kded/kctimefactory.cpp
  61. +2
    -2
      kded/vfolder_menu.cpp
  62. +2
    -2
      kdoctools/kio_help.cpp
  63. +4
    -4
      kdoctools/xslt.cpp
  64. +1
    -1
      khtml/css/css_base.h
  65. +1
    -1
      khtml/css/css_ruleimpl.h
  66. +3
    -3
      khtml/css/css_valueimpl.cpp
  67. +1
    -1
      khtml/css/css_valueimpl.h
  68. +1
    -1
      khtml/css/cssparser.cpp
  69. +5
    -5
      khtml/css/cssstyleselector.cpp
  70. +1
    -1
      khtml/dom/css_value.h
  71. +3
    -3
      khtml/dom/html_block.h
  72. +1
    -1
      khtml/dom/html_form.h
  73. +1
    -1
      khtml/dom/html_image.cpp
  74. +6
    -6
      khtml/dom/html_image.h
  75. +1
    -1
      khtml/dom/html_inline.cpp
  76. +6
    -6
      khtml/dom/html_inline.h
  77. +13
    -13
      khtml/dom/html_table.h
  78. +7
    -7
      khtml/ecma/kjs_debugwin.cpp
  79. +4
    -4
      khtml/ecma/kjs_html.cpp
  80. +7
    -7
      khtml/ecma/kjs_navigator.cpp
  81. +2
    -2
      khtml/ecma/kjs_window.cpp
  82. +1
    -1
      khtml/html/html_documentimpl.cpp
  83. +12
    -12
      khtml/html/html_elementimpl.cpp
  84. +1
    -1
      khtml/html/html_elementimpl.h
  85. +1
    -1
      khtml/html/html_formimpl.cpp
  86. +9
    -9
      khtml/html/html_imageimpl.cpp
  87. +2
    -2
      khtml/html/html_imageimpl.h
  88. +5
    -5
      khtml/html/html_miscimpl.cpp
  89. +1
    -1
      khtml/java/kjavaappletviewer.cpp
  90. +5
    -5
      khtml/java/kjavaprocess.cpp
  91. +4
    -4
      khtml/khtml_caret.cpp
  92. +2
    -2
      khtml/khtml_pagecache.cpp
  93. +3
    -3
      khtml/khtml_part.cpp
  94. +1
    -1
      khtml/khtml_settings.cc
  95. +10
    -10
      khtml/khtmlview.cpp
  96. +2
    -2
      khtml/khtmlview.h
  97. +2
    -2
      khtml/kmultipart/kmultipart.cpp
  98. +2
    -2
      khtml/misc/arena.cpp
  99. +2
    -2
      khtml/misc/htmlattrs.c
  100. +1
    -1
      khtml/misc/khtmllayout.h
  101. +3
    -3
      khtml/misc/loader.cpp
  102. +1
    -1
      khtml/misc/multimap.h
  103. +1
    -1
      khtml/rendering/bidi.cpp
  104. +2
    -2
      khtml/rendering/render_arena.cpp
  105. +2
    -2
      khtml/rendering/render_body.cpp
  106. +1
    -1
      khtml/rendering/render_body.h
  107. +2
    -2
      khtml/rendering/render_box.cpp
  108. +1
    -1
      khtml/rendering/render_box.h
  109. +7
    -7
      khtml/rendering/render_canvas.cpp
  110. +1
    -1
      khtml/rendering/render_canvas.h
  111. +2
    -2
      khtml/rendering/render_container.cpp
  112. +3
    -3
      khtml/rendering/render_flow.cpp
  113. +1
    -1
      khtml/rendering/render_flow.h
  114. +1
    -1
      khtml/rendering/render_image.cpp
  115. +25
    -25
      khtml/rendering/render_layer.cpp
  116. +2
    -2
      khtml/rendering/render_layer.h
  117. +11
    -11
      khtml/rendering/render_object.cpp
  118. +4
    -4
      khtml/rendering/render_object.h
  119. +3
    -3
      khtml/rendering/render_replaced.cpp
  120. +2
    -2
      khtml/rendering/render_style.cpp
  121. +1
    -1
      khtml/rendering/render_table.cpp
  122. +4
    -4
      khtml/rendering/render_text.cpp
  123. +1
    -1
      khtml/rendering/render_text.h
  124. +5
    -5
      khtml/test/align2.html
  125. +5
    -5
      khtml/test/image_map.html
  126. +1
    -1
      khtml/test_regression.cpp
  127. +2
    -2
      khtml/xml/dom_nodeimpl.cpp
  128. +7
    -7
      kimgio/dds.cpp
  129. +4
    -4
      kimgio/eps.cpp
  130. +1
    -1
      kimgio/exr.cpp
  131. +5
    -5
      kimgio/hdr.cpp
  132. +7
    -7
      kimgio/ico.cpp
  133. +3
    -3
      kimgio/jp2.cpp
  134. +10
    -10
      kimgio/pcx.cpp
  135. +7
    -7
      kimgio/psd.cpp
  136. +4
    -4
      kimgio/rgb.cpp
  137. +6
    -6
      kimgio/tga.cpp
  138. +4
    -4
      kimgio/tiffr.cpp
  139. +30
    -30
      kimgio/xcf.cpp
  140. +2
    -2
      kimgio/xview.cpp
  141. +7
    -7
      kio/kfile/kacleditwidget.cpp
  142. +2
    -2
      kio/kfile/kacleditwidget_p.h
  143. +1
    -1
      kio/kfile/kdirselectdialog.cpp
  144. +2
    -2
      kio/kfile/kencodingfiledialog.cpp
  145. +1
    -1
      kio/kfile/kfiledetailview.cpp
  146. +5
    -5
      kio/kfile/kfiledialog.cpp
  147. +1
    -1
      kio/kfile/kfilefiltercombo.cpp
  148. +4
    -4
      kio/kfile/kfileiconview.cpp
  149. +1
    -1
      kio/kfile/kfilepreview.cpp
  150. +1
    -1
      kio/kfile/kfiletreeview.cpp
  151. +1
    -1
      kio/kfile/kfileview.cpp
  152. +2
    -2
      kio/kfile/kfileview.h
  153. +3
    -3
      kio/kfile/kicondialog.cpp
  154. +1
    -1
      kio/kfile/knotifydialog.cpp
  155. +2
    -2
      kio/kfile/kpropertiesdialog.cpp
  156. +1
    -1
      kio/kfile/kurlbar.cpp
  157. +2
    -2
      kio/kfile/kurlcombobox.cpp
  158. +1
    -1
      kio/kio/defaultprogress.cpp
  159. +2
    -2
      kio/kio/job.cpp
  160. +4
    -4
      kio/kio/kar.cpp
  161. +2
    -2
      kio/kio/karchive.cpp
  162. +2
    -2
      kio/kio/kdirlister.cpp
  163. +9
    -9
      kio/kio/kimageio.cpp
  164. +4
    -4
      kio/kio/klimitediodevice.h
  165. +6
    -6
      kio/kio/kservicefactory.cpp
  166. +2
    -2
      kio/kio/kservicegroupfactory.cpp
  167. +4
    -4
      kio/kio/kservicetypefactory.cpp
  168. +3
    -3
      kio/kio/kshred.cpp
  169. +13
    -13
      kio/kio/ktar.cpp
  170. +6
    -6
      kio/kio/kurlcompletion.cpp
  171. +1
    -1
      kio/kio/kurlpixmapprovider.cpp
  172. +28
    -28
      kio/kio/kzip.cpp
  173. +1
    -1
      kio/kio/netaccess.h
  174. +2
    -2
      kio/kio/scheduler.cpp
  175. +1
    -1
      kio/kssl/keygenwizard.ui
  176. +1
    -1
      kio/kssl/keygenwizard2.ui
  177. +1
    -1
      kio/kssl/ksslcertificate.cc
  178. +1
    -1
      kio/kssl/ksslinfodlg.cc
  179. +1
    -1
      kio/kssl/ksslsettings.cc
  180. +2
    -2
      kio/misc/ksendbugmail/main.cpp
  181. +2
    -2
      kio/misc/kssld/kssld.cpp
  182. +6
    -6
      kio/misc/kwalletd/kwalletwizard.ui
  183. +2
    -2
      kio/tests/kfiltertest.cpp
  184. +2
    -2
      kioslave/http/http.cc
  185. +1
    -1
      kioslave/http/kcookiejar/kcookiejar.cpp
  186. +2
    -2
      kioslave/iso/iso.cpp
  187. +1
    -1
      kioslave/iso/kiso.cpp
  188. +2
    -2
      kioslave/iso/kisofile.cpp
  189. +1
    -1
      kjs/internal.cpp
  190. +2
    -2
      kmdi/kmdi/dockcontainer.cpp
  191. +2
    -2
      kmdi/kmdi/guiclient.cpp
  192. +3
    -3
      kmdi/kmdi/tabwidget.cpp
  193. +1
    -1
      kmdi/kmdichildfrm.cpp
  194. +2
    -2
      kmdi/kmdichildfrmcaption.cpp
  195. +2
    -2
      kmdi/kmdidockcontainer.cpp
  196. +3
    -3
      kmdi/kmdidocumentviewtabwidget.cpp
  197. +2
    -2
      kmdi/kmdiguiclient.cpp
  198. +2
    -2
      kmdi/kmdimainfrm.cpp
  199. +1
    -1
      kmdi/kmdimainfrm.h
  200. +1
    -1
      kmdi/test/hello.cpp
  201. +11
    -11
      knewstuff/downloaddialog.cpp
  202. +3
    -3
      krandr/libkrandr.cc
  203. +2
    -2
      krandr/randr.cpp
  204. +1
    -1
      kresources/selectdialog.cpp
  205. +1
    -1
      kspell2/ui/kspell2ui.ui
  206. +17
    -17
      kstyles/asteroid/asteroid.cpp
  207. +3
    -3
      kstyles/highcolor/highcolor.cpp
  208. +7
    -7
      kstyles/highcontrast/highcontrast.cpp
  209. +9
    -9
      kstyles/keramik/keramik.cpp
  210. +8
    -8
      kstyles/klegacy/klegacystyle.cpp
  211. +1
    -1
      kstyles/kthemestyle/kthemebase.cpp
  212. +5
    -5
      kstyles/kthemestyle/kthemestyle.cpp
  213. +1
    -1
      kstyles/kthemestyle/kthemestyle.h
  214. +1
    -1
      kstyles/light/lightstyle-v2.cpp
  215. +2
    -2
      kstyles/light/lightstyle-v3.cpp
  216. +21
    -21
      kstyles/plastik/plastik.cpp
  217. +4
    -4
      kstyles/web/webstyle.cpp
  218. +1
    -1
      kutils/kcmoduleproxy.cpp
  219. +20
    -20
      kutils/kmultitabbar.cpp
  220. +1
    -1
      kutils/kreplace.h
  221. +1
    -1
      kwallet/backend/kwalletbackend.cc
  222. +1
    -1
      kwallet/backend/kwalletbackend.h
  223. +3
    -3
      tdecore/kallocator.cpp
  224. +2
    -2
      tdecore/kcalendarsystem.cpp
  225. +2
    -2
      tdecore/kclipboard.cpp
  226. +1
    -1
      tdecore/kcmdlineargs.cpp
  227. +8
    -8
      tdecore/kcompletion.cpp
  228. +2
    -2
      tdecore/kcompletion_private.h
  229. +1
    -1
      tdecore/kconfigbackend.cpp
  230. +7
    -7
      tdecore/kconfigbase.cpp
  231. +2
    -2
      tdecore/kde-config.cpp.cmake
  232. +2
    -2
      tdecore/kdebug.cpp
  233. +2
    -2
      tdecore/kdebug.h
  234. +1
    -1
      tdecore/kextsock.cpp
  235. +2
    -2
      tdecore/kglobalaccel_x11.cpp
  236. +1
    -1
      tdecore/kglobalsettings.cpp
  237. +1
    -1
      tdecore/kiconeffect.cpp
  238. +22
    -22
      tdecore/klocale.cpp
  239. +3
    -3
      tdecore/kpalette.cpp
  240. +1
    -1
      tdecore/kprocctrl.cpp
  241. +1
    -1
      tdecore/krfcdate.cpp
  242. +14
    -14
      tdecore/kstandarddirs.cpp
  243. +5
    -5
      tdecore/kstringhandler.cpp
  244. +4
    -4
      tdecore/ksycoca.cpp
  245. +11
    -11
      tdecore/ksycocadict.cpp
  246. +1
    -1
      tdecore/ksycocaentry.h
  247. +10
    -10
      tdecore/ksycocafactory.cpp
  248. +53
    -53
      tdecore/malloc/malloc.c
  249. +10
    -10
      tdecore/network/ksocketaddress.cpp
  250. +2
    -2
      tdecore/network/ksocketaddress.h
  251. +1
    -1
      tdecore/network/ksocketbase.cpp
  252. +1
    -1
      tdecore/network/ksrvresolverworker.cpp
  253. +3
    -3
      tdecore/svgicons/ksvgiconengine.cpp
  254. +1
    -1
      tdecore/tests/kurltest.cpp
  255. +2
    -2
      tdefx/kimageeffect.cpp
  256. +11
    -11
      tdefx/kstyle.cpp
  257. +2
    -2
      tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
  258. +1
    -1
      tdeprint/cups/cupsdconf2/locationdialog.cpp
  259. +1
    -1
      tdeprint/cups/imagepreview.cpp
  260. +1
    -1
      tdeprint/cups/kpimagepage.cpp
  261. +1
    -1
      tdeprint/driver.cpp
  262. +1
    -1
      tdeprint/driveritem.cpp
  263. +1
    -1
      tdeprint/kmjobmanager.cpp
  264. +1
    -1
      tdeprint/kmmanager.cpp
  265. +3
    -3
      tdeprint/kpgeneralpage.cpp
  266. +1
    -1
      tdeprint/kpqtpage.cpp
  267. +3
    -3
      tdeprint/kprintdialog.cpp
  268. +4
    -4
      tdeprint/lpr/lpchelper.cpp
  269. +2
    -2
      tdeprint/lpr/lpchelper.h
  270. +1
    -1
      tdeprint/lpr/printcapreader.cpp
  271. +2
    -2
      tdeprint/management/kmiconview.cpp
  272. +3
    -3
      tdeprint/management/kmjobviewer.cpp
  273. +2
    -2
      tdeprint/management/kmlistview.cpp
  274. +3
    -3
      tdeprint/management/kmwdriverselect.cpp
  275. +6
    -6
      tdeprint/management/kmwinfobase.cpp
  276. +2
    -2
      tdeprint/tests/drawdemo.cpp
  277. +1
    -1
      tdesu/process.cpp
  278. +4
    -4
      tdeui/kaboutdialog.cpp
  279. +2
    -2
      tdeui/kaboutdialog.h
  280. +1
    -1
      tdeui/kactionclasses.cpp
  281. +3
    -3
      tdeui/kactioncollection.cpp
  282. +2
    -2
      tdeui/kanimwidget.cpp
  283. +1
    -1
      tdeui/karrowbutton.cpp
  284. +2
    -2
      tdeui/karrowbutton.h
  285. +1
    -1
      tdeui/kcharselect.cpp
  286. +1
    -1
      tdeui/kcolorbutton.cpp
  287. +1
    -1
      tdeui/kcolordialog.cpp
  288. +1
    -1
      tdeui/kcompletionbox.cpp
  289. +1
    -1
      tdeui/kcursor.h
  290. +2
    -2
      tdeui/kdatetbl.cpp
  291. +4
    -4
      tdeui/kdialogbase.h
  292. +6
    -6
      tdeui/kdockwidget.cpp
  293. +7
    -7
      tdeui/kdockwidget_private.cpp
  294. +7
    -7
      tdeui/kdualcolorbutton.cpp
  295. +4
    -4
      tdeui/keditcl1.cpp
  296. +1
    -1
      tdeui/kfontdialog.cpp
  297. +1
    -1
      tdeui/kjanuswidget.cpp
  298. +2
    -2
      tdeui/kkeybutton.cpp
  299. +1
    -1
      tdeui/kkeydialog.cpp
  300. +4
    -4
      tdeui/klanguagebutton.cpp
  301. +10
    -10
      tdeui/kled.cpp
  302. +7
    -7
      tdeui/kled.h
  303. +15
    -15
      tdeui/klistview.cpp
  304. +1
    -1
      tdeui/klistview.h
  305. +15
    -15
      tdeui/knuminput.cpp
  306. +4
    -4
      tdeui/knuminput.h
  307. +3
    -3
      tdeui/kpanelapplet.cpp
  308. +4
    -4
      tdeui/kpanelapplet.h
  309. +3
    -3
      tdeui/kpanelextension.cpp
  310. +4
    -4
      tdeui/kpanelextension.h
  311. +9
    -9
      tdeui/krootpixmap.cpp
  312. +4
    -4
      tdeui/krootpixmap.h
  313. +5
    -5
      tdeui/kruler.cpp
  314. +4
    -4
      tdeui/kruler.h
  315. +3
    -3
      tdeui/kselect.cpp
  316. +1
    -1
      tdeui/ksharedpixmap.cpp
  317. +1
    -1
      tdeui/kspell.cpp
  318. +1
    -1
      tdeui/kspellui.ui
  319. +2
    -2
      tdeui/ksqueezedtextlabel.cpp
  320. +1
    -1
      tdeui/kstatusbar.h
  321. +1
    -1
      tdeui/ksystemtray.cpp
  322. +4
    -4
      tdeui/ktabbar.cpp
  323. +6
    -6
      tdeui/ktabctl.cpp
  324. +1
    -1
      tdeui/ktabctl.h
  325. +4
    -4
      tdeui/ktabwidget.cpp
  326. +3
    -3
      tdeui/ktoolbar.cpp
  327. +1
    -1
      tdeui/ktoolbar.h
  328. +6
    -6
      tdeui/ktoolbarbutton.cpp
  329. +1
    -1
      tdeui/kurllabel.cpp
  330. +2
    -2
      tdeui/kwordwrap.cpp
  331. +2
    -2
      tdeui/kwordwrap.h
  332. +1
    -1
      tdeui/tests/kdesattest.cpp
  333. +1
    -1
      tdeui/tests/kdockwidgetdemo.cpp
  334. +3
    -3
      tdeui/tests/kledtest.cpp
  335. +1
    -1
      tdeui/tests/kledtest.h
  336. +3
    -3
      tdeui/tests/ktabwidgettest.cpp
  337. +1
    -1
      tdeui/tests/kunbalancedgrdtest.cpp
  338. +1
    -1
      win/qeventloopex.cpp

+ 3
- 3
KDE3PORTING.html View File

@ -647,13 +647,13 @@ For more details please consult the HOWTO file in the kcontrol directory.
<p>The API for Kicker panel applets and extensions has changed. Panels can now be
left/top, center, or right/bottom aligned, and applets and extensions may receive
notification about a change in tqalignment.
notification about a change in alignment.
<H4>KPanelApplet</H4>
<p>The virtual methods orientationChange() and popupDirectionChange() are deprecated.
Instead you should reimplement positionChange() and alignmentChange() to be
notified of changes in the position and tqalignment of the panel on which your applet
notified of changes in the position and alignment of the panel on which your applet
resides. In addition, the popupDirection() method and the Direction enum are
deprecated. Instead you should use the position() method and Position enum. Applets that use
the deprecated methods will still work with KDE 3, but may not compile or work with
@ -662,7 +662,7 @@ a future version.
<H4>KPanelExtension</H4>
<p>There is a new method alignmentChange() that your extension should reimplement if
it needs to know about changes in tqalignment.
it needs to know about changes in alignment.
<H4><P ALIGN="RIGHT"><A HREF="#TOC">Return to the Table of Contents</A></P></H4>
<p>


+ 1
- 1
arts/kde/kvideowidget.cpp View File

@ -147,7 +147,7 @@ void KVideoWidget::embed( Arts::VideoPlayObject vpo )
}
setBackgroundMode( PaletteBackground );
tqrepaint();
repaint();
// Resize GUI
videoWidth = 0;


+ 2
- 2
dcop/KDE-ICE/ICElib.h View File

@ -89,7 +89,7 @@ typedef enum {
IceClosedASAP,
IceConnectionInUse,
IceStartedShutdownNegotiation
} IceCloseStatus;
} IceClosetStatus;
typedef enum {
IceProcessMessagesSuccess,
@ -398,7 +398,7 @@ extern Bool IceCheckShutdownNegotiation (
#define IceCloseConnection KDE_IceCloseConnection
extern IceCloseStatus IceCloseConnection (
extern IceClosetStatus IceCloseConnection (
#if NeedFunctionPrototypes
IceConn /* iceConn */
#endif


+ 2
- 2
dcop/KDE-ICE/ICEmsg.h View File

@ -221,7 +221,7 @@ extern void _IceErrorBadValue (
/*
* Write pad bytes. Used to force 32 or 64 bit tqalignment.
* Write pad bytes. Used to force 32 or 64 bit alignment.
* A maxium of 7 pad bytes can be specified.
*/
@ -306,7 +306,7 @@ extern void _IceErrorBadValue (
/*
* Read pad bytes (for 32 or 64 bit tqalignment).
* Read pad bytes (for 32 or 64 bit alignment).
* A maxium of 7 pad bytes can be specified.
*/


+ 2
- 2
dcop/KDE-ICE/shutdown.c View File

@ -102,14 +102,14 @@ IceConn iceConn;
IceCloseStatus
IceClosetStatus
IceCloseConnection (iceConn)
IceConn iceConn;
{
int refCountReachedZero;
IceCloseStatus status;
IceClosetStatus status;
/*
* If this connection object was never valid, we can close


+ 1
- 1
dcop/client/dcop.cpp View File

@ -262,7 +262,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
}
if ( s == static_cast<int>(partl.count())-1)
{
partl.remove(partl.tqat(s));
partl.remove(partl.at(s));
}
lt = partl.join(" ");


+ 1
- 1
dcop/client/dcopfind.cpp View File

@ -98,7 +98,7 @@ bool findObject( const char* app, const char* obj, const char* func, QCStringLis
}
if (s==(int)partl.count()-1)
{
partl.remove(partl.tqat(s));
partl.remove(partl.at(s));
}
lt = partl.join(" ");


+ 1
- 1
dcop/dcopref.h View File

@ -396,7 +396,7 @@ public:
* Flag for allowing entering the event loop if the call blocks too long.
* @p NoEventLoop disables entering the event loop.
* @p UseEventLoop allows entering the event loop while waiting for long
* blocking DCOP call, thus making the GUI tqrepaint if needed, and possibly
* blocking DCOP call, thus making the GUI repaint if needed, and possibly
* allowing also other code in the application to be executed.
* @see DCOPClient::call()
*/


+ 4
- 4
dcop/dcopserver.cpp View File

@ -126,8 +126,8 @@ static TQCString readQCString(TQDataStream &ds)
TQCString result;
TQ_UINT32 len;
ds >> len;
TQIODevice *device = ds.tqdevice();
int bytesLeft = device->size()-device->tqat();
TQIODevice *device = ds.device();
int bytesLeft = device->size()-device->at();
if ((bytesLeft < 0 ) || (len > (uint) bytesLeft))
{
qWarning("Corrupt data!\n");
@ -145,8 +145,8 @@ static TQByteArray readQByteArray(TQDataStream &ds)
TQByteArray result;
TQ_UINT32 len;
ds >> len;
TQIODevice *device = ds.tqdevice();
int bytesLeft = device->size()-device->tqat();
TQIODevice *device = ds.device();
int bytesLeft = device->size()-device->at();
if ((bytesLeft < 0 ) || (len > (uint) bytesLeft))
{
qWarning("Corrupt data!\n");


+ 1
- 1
interfaces/khexedit/byteseditinterface.h View File

@ -143,7 +143,7 @@ class BytesEditInterface
virtual bool isModified() const = 0;
public: // call for action
/** tqrepaint the indizes from i1 to i2 */
/** repaint the indizes from i1 to i2 */
virtual void repaintRange( int i1, int i2 ) = 0;
};


+ 1
- 1
interfaces/kimproxy/interface/kimiface.h View File

@ -467,7 +467,7 @@ k_dcop_signals:
/**
* @brief Indicates that a contact's presence has changed
*
* Notifies connected DCOP tqreceivers about a change in a contact's
* Notifies connected DCOP receivers about a change in a contact's
* presence.
*
* Implementations just have to call this method with the appropriate


+ 1
- 1
interfaces/ktexteditor/editinterfaceext.h View File

@ -44,7 +44,7 @@ class KTEXTEDITOR_EXPORT EditInterfaceExt
/**
* Begin an editing sequence. Edit commands during this sequence will be
* bunched together such that they represent a single undo command in the
* editor, and so that tqrepaint events do not occur inbetween.
* editor, and so that repaint events do not occur inbetween.
*
* Your application should not return control to the event loop while it
* has an unterminated (no matching editEnd() call) editing sequence


+ 1
- 1
interfaces/ktexteditor/editorchooser.cpp View File

@ -95,7 +95,7 @@ void EditorChooser::writeAppSetting(const TQString& postfix){
cfg->setGroup("KTEXTEDITOR:"+postfix);
cfg->writeEntry("DEVELOPER_INFO","NEVER TRY TO USE VALUES FROM THAT GROUP, THEY ARE SUBJECT TO CHANGES");
cfg->writePathEntry("editor", (d->chooser->editorCombo->currentItem()==0) ?
TQString::null : (*d->elements.tqat(d->chooser->editorCombo->currentItem()-1)));
TQString::null : (*d->elements.at(d->chooser->editorCombo->currentItem()-1)));
cfg->sync();
cfg->setGroup(previousGroup);


+ 1
- 1
interfaces/ktexteditor/editorchooser_ui.ui View File

@ -40,7 +40,7 @@
<property name="text">
<string>Please choose the default text editing component that you wish to use in this application. If you choose &lt;B&gt;System Default&lt;/B&gt;, the application will honor your changes in the Control Center. All other choices will override that setting.</string>
</property>
<property name="tqalignment">
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
</widget>


+ 1
- 1
kab/addressbook.h View File

@ -127,7 +127,7 @@ class CategoriesMap : public TQMap<int, TQString>
* keys). Of course, in different files a key might be used twice. <BR>
* The keys are objects of the type KabKey and define the section in the
* addressbook database where the entry is stored (see QConfigDB
* reference). Keys tqinvalidate on file changes, so keep track of the
* reference). Keys invalidate on file changes, so keep track of the
* signal ::changed. <BR>
* kab watches file changes. If the opened file changes on disk, it is
* automatically reloaded and ::changed() is emitted.


+ 3
- 3
kab/qconfigDB.cc View File

@ -1188,7 +1188,7 @@ KeyValueMap::insert(const TQCString& key, const TQStrList& values, bool force)
// ----- create coded string list:
for(count=0; count<values.count(); ++count)
{ // create strings like "abc\efgh\eijk":
temp=makeComplexString(((TQStrList)values).tqat(count));
temp=makeComplexString(((TQStrList)values).at(count));
temp.remove(0, 1); // remove the leading "\""
temp.remove(temp.length()-1, 1); // the trailing "\""
value+=temp;
@ -1231,7 +1231,7 @@ KeyValueMap::get(const TQCString& key, TQStringList& values) const
// ----- do the conversion:
for(count=0; count<temp.count(); ++count)
{
values.append(TQString::fromUtf8(temp.tqat(count)));
values.append(TQString::fromUtf8(temp.at(count)));
}
// -----
kdDebug(GUARD, KAB_KDEBUG_AREA) << "KeyValueMap::get[QStringList]: done." << endl;
@ -1252,7 +1252,7 @@ KeyValueMap::insert(const TQCString& key, const TQStringList& values, bool force
// ----- create TQCString list:
for(count=0; count<values.count(); ++count)
{
utf8strings.append((*values.tqat(count)).utf8());
utf8strings.append((*values.at(count)).utf8());
}
kdDebug(GUARD, KAB_KDEBUG_AREA) << "KeyValueMap::insert[QStringList]: done." << endl;
return insert(key, utf8strings, force);


+ 1
- 1
kabc/formats/binaryformat.cpp View File

@ -113,7 +113,7 @@ void BinaryFormat::saveAll( AddressBook*, Resource *resource, TQFile *file )
}
// set real number of entries
stream.tqdevice()->tqat( 2 * sizeof( TQ_UINT32 ) );
stream.device()->at( 2 * sizeof( TQ_UINT32 ) );
stream << counter;
}


+ 10
- 10
kabc/kab2kabc.cpp View File

@ -57,12 +57,12 @@ void readKMailEntry( const TQString &kmailEntry, KABC::AddressBook *ab )
TQString name;
TQString comment;
if ( entry.tqat( entry.length() -1 ) == ')' ) {
if ( entry.at( entry.length() -1 ) == ')' ) {
int br = entry.findRev( '(' );
if ( br >= 0 ) {
comment = entry.mid( br + 1, entry.length() - br - 2 );
entry.truncate( br );
if ( entry.tqat( entry.length() - 1 ).isSpace() ) {
if ( entry.at( entry.length() - 1 ).isSpace() ) {
entry.truncate( br - 1 );
}
}
@ -80,22 +80,22 @@ void readKMailEntry( const TQString &kmailEntry, KABC::AddressBook *ab )
name = entry.left( posSpace );
}
if ( email.tqat( 0 ) == '<' && email.tqat( email.length() - 1) == '>' ) {
if ( email.at( 0 ) == '<' && email.at( email.length() - 1) == '>' ) {
email = email.mid( 1, email.length() - 2 );
}
if ( name.tqat( 0 ) == '"' && name.tqat( name.length() - 1) == '"' ) {
if ( name.at( 0 ) == '"' && name.at( name.length() - 1) == '"' ) {
name = name.mid( 1, name.length() - 2 );
}
if ( name.tqat( 0 ) == '\'' && name.tqat( name.length() - 1) == '\'' ) {
if ( name.at( 0 ) == '\'' && name.at( name.length() - 1) == '\'' ) {
name = name.mid( 1, name.length() - 2 );
}
if ( name.tqat( name.length() -1 ) == ')' ) {
if ( name.at( name.length() -1 ) == ')' ) {
int br = name.findRev( '(' );
if ( br >= 0 ) {
comment = name.mid( br + 1, name.length() - br - 2 ) + " " + comment;
name.truncate( br );
if ( name.tqat( name.length() - 1 ).isSpace() ) {
if ( name.at( name.length() - 1 ).isSpace() ) {
name.truncate( br - 1 );
}
}
@ -148,16 +148,16 @@ void importKMailAddressBook( KABC::AddressBook *ab )
TQStringList::ConstIterator it;
for ( it = kmailEntries.begin(); it != kmailEntries.end(); ++it ) {
if ( (*it).tqat( 0 ) == '#' ) continue;
if ( (*it).at( 0 ) == '#' ) continue;
bool insideQuote = false;
int end = (*it).length() - 1;
for ( int i = end; i; i-- ) {
if ( (*it).tqat( i ) == '"' ) {
if ( (*it).at( i ) == '"' ) {
if ( insideQuote )
insideQuote = false;
else
insideQuote = true;
} else if ( (*it).tqat( i ) == ',' && !insideQuote ) {
} else if ( (*it).at( i ) == ',' && !insideQuote ) {
readKMailEntry( (*it).mid( i + 1, end - i ), ab );
end = i - 1;
}


+ 1
- 1
kabc/resourceselectdialog.cpp View File

@ -64,7 +64,7 @@ ResourceSelectDialog::ResourceSelectDialog( AddressBook *ab, TQWidget *parent, c
uint counter = 0;
TQPtrList<Resource> list = ab->resources();
for ( uint i = 0; i < list.count(); ++i ) {
Resource *resource = list.tqat( i );
Resource *resource = list.at( i );
if ( resource && !resource->readOnly() ) {
mResourceMap.insert( counter, resource );
mResourceId->insertItem( resource->resourceName() );


+ 40
- 40
kabc/tests/testaddresseelist.cpp View File

@ -64,12 +64,12 @@ int main(int /*argc*/,char /* **argv*/)
list.append(f);
list.sortBy(FamilyName);
if ( !( (*list.tqat(0)).uid()=="78ze"
&& (*list.tqat(1)).uid()=="Rsdf"
&& (*list.tqat(2)).uid()=="Fhwn"
&& (*list.tqat(3)).uid()=="kk45"
&& (*list.tqat(4)).uid()=="Asdf"
&& (*list.tqat(5)).uid()=="Z2hk"
if ( !( (*list.at(0)).uid()=="78ze"
&& (*list.at(1)).uid()=="Rsdf"
&& (*list.at(2)).uid()=="Fhwn"
&& (*list.at(3)).uid()=="kk45"
&& (*list.at(4)).uid()=="Asdf"
&& (*list.at(5)).uid()=="Z2hk"
) ) {
kdError() << "SORTING BY FAMILY NAME NOT CORRECT!" << endl;
kdDebug() << "list sorted by family name:" << endl;
@ -79,12 +79,12 @@ int main(int /*argc*/,char /* **argv*/)
}
list.setReverseSorting(true);
list.sort();
if ( !( (*list.tqat(5)).uid()=="78ze"
&& (*list.tqat(4)).uid()=="Rsdf"
&& (*list.tqat(3)).uid()=="Fhwn"
&& (*list.tqat(2)).uid()=="kk45"
&& (*list.tqat(1)).uid()=="Asdf"
&& (*list.tqat(0)).uid()=="Z2hk"
if ( !( (*list.at(5)).uid()=="78ze"
&& (*list.at(4)).uid()=="Rsdf"
&& (*list.at(3)).uid()=="Fhwn"
&& (*list.at(2)).uid()=="kk45"
&& (*list.at(1)).uid()=="Asdf"
&& (*list.at(0)).uid()=="Z2hk"
) ) {
kdError() << "REVERSE SORTING BY FAMILY NAME NOT CORRECT!" << endl;
kdDebug() << "list reverse sorted by family name:" << endl;
@ -95,12 +95,12 @@ int main(int /*argc*/,char /* **argv*/)
list.setReverseSorting(false);
list.sortBy(FormattedName);
if ( !( (*list.tqat(0)).uid()=="78ze"
&& (*list.tqat(1)).uid()=="Rsdf"
&& (*list.tqat(2)).uid()=="Fhwn"
&& (*list.tqat(3)).uid()=="kk45"
&& (*list.tqat(4)).uid()=="Z2hk"
&& (*list.tqat(5)).uid()=="Asdf"
if ( !( (*list.at(0)).uid()=="78ze"
&& (*list.at(1)).uid()=="Rsdf"
&& (*list.at(2)).uid()=="Fhwn"
&& (*list.at(3)).uid()=="kk45"
&& (*list.at(4)).uid()=="Z2hk"
&& (*list.at(5)).uid()=="Asdf"
) ) {
kdError() << "SORTING BY FORMATTED NAME NOT CORRECT!" << endl;
kdDebug() << "list sorted by formatted name:" << endl;
@ -110,12 +110,12 @@ int main(int /*argc*/,char /* **argv*/)
}
list.setReverseSorting(true);
list.sort();
if ( !( (*list.tqat(5)).uid()=="78ze"
&& (*list.tqat(4)).uid()=="Rsdf"
&& (*list.tqat(3)).uid()=="Fhwn"
&& (*list.tqat(2)).uid()=="kk45"
&& (*list.tqat(1)).uid()=="Z2hk"
&& (*list.tqat(0)).uid()=="Asdf"
if ( !( (*list.at(5)).uid()=="78ze"
&& (*list.at(4)).uid()=="Rsdf"
&& (*list.at(3)).uid()=="Fhwn"
&& (*list.at(2)).uid()=="kk45"
&& (*list.at(1)).uid()=="Z2hk"
&& (*list.at(0)).uid()=="Asdf"
) ) {
kdError() << "REVERSE SORTING BY FORMATTED NAME NOT CORRECT!" << endl;
kdDebug() << "list reverse sorted by formatted name:" << endl;
@ -127,12 +127,12 @@ int main(int /*argc*/,char /* **argv*/)
list.setReverseSorting(false);
list.sortBy(Uid);
if ( !( (*list.tqat(0)).uid()=="78ze"
&& (*list.tqat(1)).uid()=="Asdf"
&& (*list.tqat(2)).uid()=="Fhwn"
&& (*list.tqat(3)).uid()=="Rsdf"
&& (*list.tqat(4)).uid()=="Z2hk"
&& (*list.tqat(5)).uid()=="kk45"
if ( !( (*list.at(0)).uid()=="78ze"
&& (*list.at(1)).uid()=="Asdf"
&& (*list.at(2)).uid()=="Fhwn"
&& (*list.at(3)).uid()=="Rsdf"
&& (*list.at(4)).uid()=="Z2hk"
&& (*list.at(5)).uid()=="kk45"
) ) {
kdError() << "SORTING BY UID NOT CORRECT!" << endl;
kdDebug() << "list sorted by Uid:" << endl;
@ -142,12 +142,12 @@ int main(int /*argc*/,char /* **argv*/)
}
list.setReverseSorting(true);
list.sortBy(Uid);
if ( !( (*list.tqat(5)).uid()=="78ze"
&& (*list.tqat(4)).uid()=="Asdf"
&& (*list.tqat(3)).uid()=="Fhwn"
&& (*list.tqat(2)).uid()=="Rsdf"
&& (*list.tqat(1)).uid()=="Z2hk"
&& (*list.tqat(0)).uid()=="kk45"
if ( !( (*list.at(5)).uid()=="78ze"
&& (*list.at(4)).uid()=="Asdf"
&& (*list.at(3)).uid()=="Fhwn"
&& (*list.at(2)).uid()=="Rsdf"
&& (*list.at(1)).uid()=="Z2hk"
&& (*list.at(0)).uid()=="kk45"
) ) {
kdError() << "REVERSE SORTING BY UID NOT CORRECT!" << endl;
kdDebug() << "list sorted by Uid:" << endl;
@ -170,8 +170,8 @@ int main(int /*argc*/,char /* **argv*/)
list2.append(f);
list2.setReverseSorting(false);
list2.sort();
if ( !( (*list2.tqat(0)).uid()=="78ze"
&& (*list2.tqat(1)).uid()=="Asdf"
if ( !( (*list2.at(0)).uid()=="78ze"
&& (*list2.at(1)).uid()=="Asdf"
) ) {
kdError() << "SORTING BY FORMATTED NAME IN A TWO ENTRY LIST NOT CORRECT!" << endl;
kdDebug() << "list sorted by formatted name, two entries:" << endl;
@ -181,8 +181,8 @@ int main(int /*argc*/,char /* **argv*/)
}
list2.setReverseSorting(true);
list2.sort();
if ( !( (*list2.tqat(1)).uid()=="78ze"
&& (*list2.tqat(0)).uid()=="Asdf"
if ( !( (*list2.at(1)).uid()=="78ze"
&& (*list2.at(0)).uid()=="Asdf"
) ) {
kdError() << "REVERSE SORTING BY FORMATTED NAME IN A TWO ENTRY LIST NOT CORRECT!" << endl;
kdDebug() << "list reverse sorted by formatted name, two entries:" << endl;


+ 7
- 7
kabc/vcard/AdrValue.cpp View File

@ -112,13 +112,13 @@ AdrValue::_parse()
switch (i) {
case 0: poBox_ = l.tqat(0); break;
case 1: extAddress_ = l.tqat(1); break;
case 2: street_ = l.tqat(2); break;
case 3: locality_ = l.tqat(3); break;
case 4: region_ = l.tqat(4); break;
case 5: postCode_ = l.tqat(5); break;
case 6: countryName_ = l.tqat(6); break;
case 0: poBox_ = l.at(0); break;
case 1: extAddress_ = l.at(1); break;
case 2: street_ = l.at(2); break;
case 3: locality_ = l.at(3); break;
case 4: region_ = l.at(4); break;
case 5: postCode_ = l.at(5); break;
case 6: countryName_ = l.at(6); break;
default: break;
}
}


+ 1
- 1
kabc/vcard/ContentLine.cpp View File

@ -174,7 +174,7 @@ ContentLine::_parse()
return;
}
name_ = l.tqat(0);
name_ = l.at(0);
// Now we have the name, so the rest of 'l' is the params.
// Remove the name part.


+ 1
- 1
kabc/vcard/LangValue.cpp View File

@ -79,7 +79,7 @@ LangValue::_parse()
if (l.count() == 0) return;
primary_ = l.tqat(0);
primary_ = l.at(0);
l.remove(0u);


+ 5
- 5
kabc/vcard/NValue.cpp View File

@ -106,11 +106,11 @@ NValue::_parse()
for (unsigned int i = 0; i < l.count(); i++) {
switch (i) {
case 0: family_ = l.tqat(0); break;
case 1: given_ = l.tqat(1); break;
case 2: middle_ = l.tqat(2); break;
case 3: prefix_ = l.tqat(3); break;
case 4: suffix_ = l.tqat(4); break;
case 0: family_ = l.at(0); break;
case 1: given_ = l.at(1); break;
case 2: middle_ = l.at(2); break;
case 3: prefix_ = l.at(3); break;
case 4: suffix_ = l.at(4); break;
default: break;
}
}


+ 1
- 1
kabc/vcard/OrgValue.cpp View File

@ -102,6 +102,6 @@ OrgValue::numValues()
OrgValue::value(unsigned int i)
{
parse();
return valueList_.tqat(i);
return valueList_.at(i);
}

+ 1
- 1
kabc/vcard/TextListValue.cpp View File

@ -102,6 +102,6 @@ TextListValue::numValues()
TextListValue::value(unsigned int i)
{
parse();
return valueList_.tqat(i);
return valueList_.at(i);
}

+ 1
- 1
kabc/vcard/VCard.cpp View File

@ -95,7 +95,7 @@ VCard::_parse()
}
// Get the first line
TQCString beginLine = TQCString(l.tqat(0)).stripWhiteSpace();
TQCString beginLine = TQCString(l.at(0)).stripWhiteSpace();
vDebug("Begin line == \"" + beginLine + "\"");


+ 1
- 1
kabc/vcardparser/vcardparser.cpp View File

@ -144,7 +144,7 @@ VCard::List VCardParser::parseVCards( const TQString& text )
}
else if ( vCardLine.parameter( "encoding" ).lower() == "quoted-printable" ) {
// join any qp-folded lines
while ( value.tqat( value.length() - 1 ) == '=' && it != linesEnd ) {
while ( value.at( value.length() - 1 ) == '=' && it != linesEnd ) {
value = value.remove( value.length() - 1, 1 ) + (*it);
++it;
}


+ 1
- 1
kabc/vcardtool.cpp View File

@ -36,7 +36,7 @@ static bool needsEncoding( const TQString &value )
{
uint length = value.length();
for ( uint i = 0; i < length; ++i ) {
char c = value.tqat( i ).latin1();
char c = value.at( i ).latin1();
if ( (c < 33 || c > 126) && c != ' ' && c != '=' )
return true;
}


+ 5
- 5
kate/part/kateautoindent.cpp View File

@ -223,7 +223,7 @@ void KateNormalIndent::updateConfig ()
for (uint i=0; i<items.count(); i++)
{
TQString name = items.tqat(i)->name;
TQString name = items.at(i)->name;
if (name.find("Comment") != -1 && commentAttrib == 255)
{
commentAttrib = i;
@ -1411,7 +1411,7 @@ void KateXmlIndent::getLineInfo (uint line, uint &prevIndent, int &numTags,
uint pos, len = text.length();
bool seenOpen = false;
for(pos = 0; pos < len; ++pos) {
int ch = text.tqat(pos).tqunicode();
int ch = text.at(pos).tqunicode();
switch(ch) {
case '<':
seenOpen = true;
@ -1467,11 +1467,11 @@ void KateXmlIndent::getLineInfo (uint line, uint &prevIndent, int &numTags,
if(unclosedTag) {
// find the start of the next attribute, so we can align with it
do {
lastCh = text.tqat(++attrCol).tqunicode();
lastCh = text.at(++attrCol).tqunicode();
}while(lastCh && lastCh != ' ' && lastCh != '\t');
while(lastCh == ' ' || lastCh == '\t') {
lastCh = text.tqat(++attrCol).tqunicode();
lastCh = text.at(++attrCol).tqunicode();
}
attrCol = prevLine->cursorX(attrCol, tabWidth);
@ -2384,7 +2384,7 @@ void KateVarIndent::slotVariableChanged( const TQString &var, const TQString &va
for (uint i=0; i<items.count(); i++)
{
if ( items.tqat(i)->name.section( ':', 1 ) == val )
if ( items.at(i)->name.section( ':', 1 ) == val )
{
d->coupleAttrib = i;
break;


+ 5
- 5
kate/part/katebookmarks.cpp View File

@ -128,7 +128,7 @@ void KateBookmarks::clearBookmarks ()
TQPtrList<KTextEditor::Mark> m = m_view->getDoc()->marks();
for (uint i=0; i < m.count(); i++)
m_view->getDoc()->removeMark( m.tqat(i)->line, KTextEditor::MarkInterface::markType01 );
m_view->getDoc()->removeMark( m.at(i)->line, KTextEditor::MarkInterface::markType01 );
// just to be sure ;)
marksChanged ();
@ -255,8 +255,8 @@ void KateBookmarks::goNext()
int found = -1;
for (uint z=0; z < m.count(); z++)
if ( (m.tqat(z)->line > line) && ((found == -1) || (uint(found) > m.tqat(z)->line)) )
found = m.tqat(z)->line;
if ( (m.at(z)->line > line) && ((found == -1) || (uint(found) > m.at(z)->line)) )
found = m.at(z)->line;
if (found != -1)
m_view->gotoLineNumber ( found );
@ -272,8 +272,8 @@ void KateBookmarks::goPrevious()
int found = -1;
for (uint z=0; z < m.count(); z++)
if ((m.tqat(z)->line < line) && ((found == -1) || (uint(found) < m.tqat(z)->line)))
found = m.tqat(z)->line;
if ((m.at(z)->line < line) && ((found == -1) || (uint(found) < m.at(z)->line)))
found = m.at(z)->line;
if (found != -1)
m_view->gotoLineNumber ( found );


+ 6
- 6
kate/part/katebuffer.cpp View File

@ -860,12 +860,12 @@ void KateBuffer::setHighlight(uint hlMode)
// aha, hl will change
if (h != m_highlight)
{
bool tqinvalidate = !h->noHighlighting();
bool invalidate = !h->noHighlighting();
if (m_highlight)
{
m_highlight->release();
tqinvalidate = true;
invalidate = true;
}
h->use();
@ -880,7 +880,7 @@ void KateBuffer::setHighlight(uint hlMode)
m_highlight = h;
if (tqinvalidate)
if (invalidate)
invalidateHighlighting();
// inform the document that the hl was really changed
@ -949,7 +949,7 @@ void KateBuffer::addIndentBasedFoldingInformation(TQMemArray<uint> &foldingList,
}
}
bool KateBuffer::doHighlight (KateBufBlock *buf, uint startLine, uint endLine, bool tqinvalidate)
bool KateBuffer::doHighlight (KateBufBlock *buf, uint startLine, uint endLine, bool invalidate)
{
// no hl around, no stuff to do
if (!m_highlight)
@ -971,7 +971,7 @@ bool KateBuffer::doHighlight (KateBufBlock *buf, uint startLine, uint endLine, b
//kdDebug (13020) << "HL UNTIL LINE: " << m_lineHighlighted << " MAX: " << m_lineHighlightedMax << endl;
//kdDebug (13020) << "HL DYN COUNT: " << KateHlManager::self()->countDynamicCtxs() << " MAX: " << m_maxDynamicContexts << endl;
// see if there are too many dynamic contexts; if yes, tqinvalidate HL of all documents
// see if there are too many dynamic contexts; if yes, invalidate HL of all documents
if (KateHlManager::self()->countDynamicCtxs() >= m_maxDynamicContexts)
{
{
@ -1240,7 +1240,7 @@ bool KateBuffer::doHighlight (KateBufBlock *buf, uint startLine, uint endLine, b
buf->markDirty ();
// tag the changed lines !
if (tqinvalidate)
if (invalidate)
emit tagLines (startLine, current_line + buf->startLine());
// emit that we have changed the folding


+ 2
- 2
kate/part/katebuffer.h View File

@ -116,7 +116,7 @@ class KateBufBlock
void removeLine(uint i);
/**
* mark this block as dirty, will tqinvalidate the swap data
* mark this block as dirty, will invalidate the swap data
* insert/removeLine will mark the block dirty itself
*/
void markDirty ();
@ -611,7 +611,7 @@ class KateBuffer : public TQObject
* @returns true when the highlighting in the next block needs to be updated,
* false otherwise.
*/
bool doHighlight (KateBufBlock *buf, uint from, uint to, bool tqinvalidate);
bool doHighlight (KateBufBlock *buf, uint from, uint to, bool invalidate);
signals:
/**


+ 6
- 6
kate/part/katecodefoldinghelpers.cpp View File

@ -1259,7 +1259,7 @@ void KateCodeFoldingTree::cleanupUnneededNodes(unsigned int line)
for (int i=0; i<(int)markedForDeleting.count(); i++)
{
KateCodeFoldingNode *node = markedForDeleting.tqat(i);
KateCodeFoldingNode *node = markedForDeleting.at(i);
if (node->deleteOpening)
kdDebug(13000)<<"DELETE OPENING SET"<<endl;
if (node->deleteEnding)
@ -1335,7 +1335,7 @@ void KateCodeFoldingTree::toggleRegionVisibility(unsigned int line)
findAllNodesOpenedOrClosedAt(line);
for (int i=0; i<(int)nodesForLine.count(); i++)
{
KateCodeFoldingNode *node=nodesForLine.tqat(i);
KateCodeFoldingNode *node=nodesForLine.at(i);
if ( (!node->startLineValid) || (getStartLine(node) != line) )
{
nodesForLine.remove(i);
@ -1346,10 +1346,10 @@ void KateCodeFoldingTree::toggleRegionVisibility(unsigned int line)
if (nodesForLine.isEmpty())
return;
nodesForLine.tqat(0)->visible = !nodesForLine.tqat(0)->visible;
nodesForLine.at(0)->visible = !nodesForLine.at(0)->visible;
if (!nodesForLine.tqat(0)->visible)
addHiddenLineBlock(nodesForLine.tqat(0),line);
if (!nodesForLine.at(0)->visible)
addHiddenLineBlock(nodesForLine.at(0),line);
else
{
for (TQValueList<KateHiddenLineBlock>::Iterator it=hiddenLines.begin(); it!=hiddenLines.end();++it)
@ -1359,7 +1359,7 @@ void KateCodeFoldingTree::toggleRegionVisibility(unsigned int line)
break;
}
updateHiddenSubNodes(nodesForLine.tqat(0));
updateHiddenSubNodes(nodesForLine.at(0));
}
emit regionVisibilityChangedAt(line);


+ 6
- 6
kate/part/kateconfig.cpp View File

@ -237,7 +237,7 @@ void KateDocumentConfig::updateConfig ()
{
for (uint z=0; z < KateFactory::self()->documents()->count(); z++)
{
KateFactory::self()->documents()->tqat(z)->updateConfig ();
KateFactory::self()->documents()->at(z)->updateConfig ();
}
}
}
@ -570,8 +570,8 @@ bool KateDocumentConfig::plugin (uint index) const
if (index >= m_plugins.size())
return false;
if (m_pluginsSet.tqat(index) || isGlobal())
return m_plugins.tqat(index);
if (m_pluginsSet.at(index) || isGlobal())
return m_plugins.at(index);
return s_global->plugin (index);
}
@ -734,7 +734,7 @@ void KateViewConfig::updateConfig ()
{
for (uint z=0; z < KateFactory::self()->views()->count(); z++)
{
KateFactory::self()->views()->tqat(z)->updateConfig ();
KateFactory::self()->views()->at(z)->updateConfig ();
}
}
}
@ -1088,7 +1088,7 @@ void KateRendererConfig::updateConfig ()
{
for (uint z=0; z < KateFactory::self()->renderers()->count(); z++)
{
KateFactory::self()->renderers()->tqat(z)->updateConfig ();
KateFactory::self()->renderers()->at(z)->updateConfig ();
}
}
}
@ -1114,7 +1114,7 @@ void KateRendererConfig::reloadSchema()
{
if ( isGlobal() )
for ( uint z=0; z < KateFactory::self()->renderers()->count(); z++ )
KateFactory::self()->renderers()->tqat(z)->config()->reloadSchema();
KateFactory::self()->renderers()->at(z)->config()->reloadSchema();
else if ( m_renderer && m_schemaSet )
setSchemaInternal( m_schema );


+ 4
- 4
kate/part/katedialogs.cpp View File

@ -712,7 +712,7 @@ KateViewDefaultsConfig::KateViewDefaultsConfig(TQWidget *parent)
"you to set a maximum width of the screen, as a percentage, after which "
"dynamically wrapped lines will no longer be vertically aligned. For "
"example, at 50%, lines whose indentation levels are deeper than 50% of "
"the width of the screen will not have vertical tqalignment applied to "
"the width of the screen will not have vertical alignment applied to "
"subsequent wrapped lines.</p>"));
TQWhatsThis::add(m_line,i18n(
"If this option is checked, every new view will display line numbers "
@ -819,7 +819,7 @@ void KateEditKeyConfiguration::showEvent ( TQShowEvent * )
if (!m_ready)
{
(new TQVBoxLayout(this))->setAutoAdd(true);
KateView* view = (KateView*)m_doc->views().tqat(0);
KateView* view = (KateView*)m_doc->views().at(0);
m_ac = view->editActionCollection();
m_keyChooser = new KKeyChooser( m_ac, this, false );
connect( m_keyChooser, TQT_SIGNAL( keyChange() ), this, TQT_SLOT( slotChanged() ) );
@ -1154,7 +1154,7 @@ void KatePartPluginConfigPage::apply ()
KateDocumentConfig::global()->configStart ();
for (uint i=0; i < m_items.count(); i++)
KateDocumentConfig::global()->setPlugin (m_items.tqat(i)->pluginIndex(), m_items.tqat(i)->isOn());
KateDocumentConfig::global()->setPlugin (m_items.at(i)->pluginIndex(), m_items.at(i)->isOn());
KateDocumentConfig::global()->configEnd ();
}
@ -1243,7 +1243,7 @@ void KatePartPluginConfigPage::slotConfigure()
for( uint i=0; i<editorPages.count(); i++ )
{
editorPages.tqat( i )->apply();
editorPages.at( i )->apply();
}
}


+ 20
- 20
kate/part/katedocument.cpp View File

@ -323,7 +323,7 @@ void KateDocument::enablePluginGUI (KTextEditor::Plugin *plugin)
if (!KTextEditor::pluginViewInterface(plugin)) return;
for (uint i=0; i< m_views.count(); i++)
enablePluginGUI (plugin, m_views.tqat(i));
enablePluginGUI (plugin, m_views.at(i));
}
void KateDocument::disablePluginGUI (KTextEditor::Plugin *plugin, KateView *view)
@ -347,7 +347,7 @@ void KateDocument::disablePluginGUI (KTextEditor::Plugin *plugin)
if (!KTextEditor::pluginViewInterface(plugin)) return;
for (uint i=0; i< m_views.count(); i++)
disablePluginGUI (plugin, m_views.tqat(i));
disablePluginGUI (plugin, m_views.at(i));
}
//END
@ -641,7 +641,7 @@ bool KateDocument::setText(const TQString &s)
TQValueList<KTextEditor::Mark> msave;
for (uint i=0; i < m.count(); i++)
msave.append (*m.tqat(i));
msave.append (*m.at(i));
editStart ();
@ -924,7 +924,7 @@ void KateDocument::editStart (bool withUndo)
for (uint z = 0; z < m_views.count(); z++)
{
m_views.tqat(z)->editStart ();
m_views.at(z)->editStart ();
}
m_buffer->editStart ();
@ -1029,7 +1029,7 @@ void KateDocument::editEnd ()
// edit end for all views !!!!!!!!!
for (uint z = 0; z < m_views.count(); z++)
m_views.tqat(z)->editEnd (m_buffer->editTagStart(), m_buffer->editTagEnd(), m_buffer->editTagFrom());
m_views.at(z)->editEnd (m_buffer->editTagStart(), m_buffer->editTagEnd(), m_buffer->editTagFrom());
if (m_buffer->editChanged())
{
@ -2011,7 +2011,7 @@ void KateDocument::configDialog()
for (uint i=0; i<editorPages.count(); i++)
{
editorPages.tqat(i)->apply();
editorPages.at(i)->apply();
}
KateDocumentConfig::global()->configEnd ();
@ -2869,7 +2869,7 @@ void KateDocument::setModified(bool m) {
void KateDocument::makeAttribs(bool needInvalidate)
{
for (uint z = 0; z < m_views.count(); z++)
m_views.tqat(z)->renderer()->updateAttributes ();
m_views.at(z)->renderer()->updateAttributes ();
if (needInvalidate)
m_buffer->invalidateHighlighting();
@ -3981,9 +3981,9 @@ void KateDocument::transform( KateView *v, const KateTextCursor &c,
if ( ( ! start && ! p ) ||
( ( ln == selstart.line() || v->blockSelectionMode() ) &&
! p && ! highlight()->isInWord( l->getChar( start - 1 )) ) ||
( p && ! highlight()->isInWord( s.tqat( p-1 ) ) )
( p && ! highlight()->isInWord( s.at( p-1 ) ) )
)
s[p] = s.tqat(p).upper();
s[p] = s.at(p).upper();
p++;
}
}
@ -4096,7 +4096,7 @@ TQString KateDocument::getWord( const KateTextCursor& cursor ) {
void KateDocument::tagLines(int start, int end)
{
for (uint z = 0; z < m_views.count(); z++)
m_views.tqat(z)->tagLines (start, end, true);
m_views.at(z)->tagLines (start, end, true);
}
void KateDocument::tagLines(KateTextCursor start, KateTextCursor end)
@ -4109,21 +4109,21 @@ void KateDocument::tagLines(KateTextCursor start, KateTextCursor end)
}
for (uint z = 0; z < m_views.count(); z++)
m_views.tqat(z)->tagLines(start, end, true);
m_views.at(z)->tagLines(start, end, true);
}
void KateDocument::repaintViews(bool paintOnlyDirty)
{
for (uint z = 0; z < m_views.count(); z++)
m_views.tqat(z)->repaintText(paintOnlyDirty);