Browse Source

Rename old tq methods that no longer need a unique name

pull/16/head
Timothy Pearson 9 years ago
parent
commit
984c25aa69
447 changed files with 2669 additions and 2669 deletions
  1. +3
    -3
      arts/kde/kartsserver.cpp
  2. +1
    -1
      arts/kde/kioinputstream_impl.cpp
  3. +4
    -4
      arts/kde/kplayobject.cc
  4. +2
    -2
      arts/knotify/knotify.cpp
  5. +1
    -1
      dcop/client/dcopstart.cpp
  6. +13
    -13
      dcop/dcopclient.cpp
  7. +1
    -1
      interfaces/khexedit/byteseditinterface.h
  8. +1
    -1
      interfaces/ktexteditor/editorchooser_ui.ui
  9. +1
    -1
      interfaces/ktexteditor/templateinterface.cpp
  10. +1
    -1
      kab/kabapi.cc
  11. +2
    -2
      kabc/address.cpp
  12. +1
    -1
      kabc/addressbook.cpp
  13. +1
    -1
      kabc/ldapclient.cpp
  14. +56
    -56
      kabc/ldifconverter.cpp
  15. +1
    -1
      kabc/ldifconverter.h
  16. +1
    -1
      kabc/vcardparser/testwrite.cpp
  17. +7
    -7
      kate/part/kateautoindent.cpp
  18. +4
    -4
      kate/part/katecmds.cpp
  19. +1
    -1
      kate/part/katecodecompletion.cpp
  20. +1
    -1
      kate/part/kateconfig.cpp
  21. +2
    -2
      kate/part/katedocument.cpp
  22. +1
    -1
      kate/part/katehighlight.cpp
  23. +1
    -1
      kate/part/katejscript.cpp
  24. +1
    -1
      kate/part/kateprinter.cpp
  25. +3
    -3
      kate/part/katerenderer.cpp
  26. +5
    -5
      kate/part/kateschema.cpp
  27. +1
    -1
      kate/part/kateview.cpp
  28. +1
    -1
      kate/part/kateviewinternal.h
  29. +1
    -1
      kate/part/test_regression.cpp
  30. +4
    -4
      kcert/kcertpart.cc
  31. +1
    -1
      kconf_update/kconf_update.cpp
  32. +2
    -2
      kded/kbuildsycoca.cpp
  33. +8
    -8
      kdewidgets/makekdewidgets.cpp
  34. +4
    -4
      khtml/css/cssstyleselector.cpp
  35. +2
    -2
      khtml/dom/dom_doc.cpp
  36. +3
    -3
      khtml/ecma/kjs_debugwin.cpp
  37. +15
    -15
      khtml/ecma/kjs_navigator.cpp
  38. +5
    -5
      khtml/ecma/kjs_proxy.cpp
  39. +12
    -12
      khtml/ecma/kjs_window.cpp
  40. +1
    -1
      khtml/ecma/xmlhttprequest.cpp
  41. +4
    -4
      khtml/html/html_documentimpl.cpp
  42. +6
    -6
      khtml/html/html_formimpl.cpp
  43. +2
    -2
      khtml/html/htmltokenizer.cpp
  44. +8
    -8
      khtml/java/kjavaappletcontext.cpp
  45. +10
    -10
      khtml/java/kjavaappletserver.cpp
  46. +13
    -13
      khtml/java/kjavaappletviewer.cpp
  47. +2
    -2
      khtml/khtml_ext.cpp
  48. +65
    -65
      khtml/khtml_part.cpp
  49. +1
    -1
      khtml/khtml_run.cpp
  50. +15
    -15
      khtml/khtml_settings.cc
  51. +1
    -1
      khtml/khtmlview.cpp
  52. +2
    -2
      khtml/kmultipart/kmultipart.cpp
  53. +5
    -5
      khtml/misc/loader.cpp
  54. +1
    -1
      khtml/rendering/enumerate.cpp
  55. +1
    -1
      khtml/rendering/font.cpp
  56. +7
    -7
      khtml/rendering/render_applet.cpp
  57. +13
    -13
      khtml/rendering/render_form.cpp
  58. +21
    -21
      khtml/rendering/render_frames.cpp
  59. +1
    -1
      khtml/rendering/render_generated.cpp
  60. +3
    -3
      khtml/rendering/render_layer.cpp
  61. +6
    -6
      khtml/rendering/render_list.cpp
  62. +5
    -5
      khtml/rendering/render_object.cpp
  63. +2
    -2
      khtml/rendering/render_replaced.cpp
  64. +3
    -3
      khtml/test_regression.cpp
  65. +1
    -1
      khtml/test_regression_fontoverload.cpp
  66. +5
    -5
      khtml/testkhtml.cpp
  67. +3
    -3
      khtml/xml/dom2_eventsimpl.cpp
  68. +1
    -1
      khtml/xml/dom_docimpl.cpp
  69. +5
    -5
      kimgio/dds.cpp
  70. +2
    -2
      kimgio/eps.cpp
  71. +1
    -1
      kimgio/exr.cpp
  72. +4
    -4
      kimgio/hdr.cpp
  73. +1
    -1
      kimgio/ico.cpp
  74. +2
    -2
      kimgio/jp2.cpp
  75. +5
    -5
      kimgio/pcx.cpp
  76. +4
    -4
      kimgio/psd.cpp
  77. +4
    -4
      kimgio/rgb.cpp
  78. +5
    -5
      kimgio/tga.cpp
  79. +1
    -1
      kimgio/tiffr.cpp
  80. +2
    -2
      kimgio/xcf.cpp
  81. +2
    -2
      kimgio/xview.cpp
  82. +1
    -1
      kinit/klauncher.cpp
  83. +2
    -2
      kinit/tests/klaunchertest.cpp
  84. +1
    -1
      kio/bookmarks/kbookmark.cc
  85. +2
    -2
      kio/bookmarks/kbookmarkbar.cc
  86. +1
    -1
      kio/bookmarks/kbookmarkimporter_ns.cc
  87. +8
    -8
      kio/bookmarks/kbookmarkmanager.cc
  88. +1
    -1
      kio/httpfilter/httpfilter.cc
  89. +15
    -15
      kio/kfile/config-kfile.h
  90. +2
    -2
      kio/kfile/kacleditwidget.cpp
  91. +1
    -1
      kio/kfile/kcombiview.cpp
  92. +39
    -39
      kio/kfile/kdiroperator.cpp
  93. +2
    -2
      kio/kfile/kdirselectdialog.cpp
  94. +1
    -1
      kio/kfile/kdiskfreesp.cpp
  95. +1
    -1
      kio/kfile/kencodingfiledialog.cpp
  96. +1
    -1
      kio/kfile/kfiledetailview.h
  97. +12
    -12
      kio/kfile/kfiledialog.cpp
  98. +1
    -1
      kio/kfile/kfilefiltercombo.cpp
  99. +9
    -9
      kio/kfile/kfileiconview.cpp
  100. +2
    -2
      kio/kfile/kfiletreeview.cpp
  101. +3
    -3
      kio/kfile/kicondialog.cpp
  102. +9
    -9
      kio/kfile/knotifydialog.cpp
  103. +18
    -18
      kio/kfile/kopenwith.cpp
  104. +29
    -29
      kio/kfile/kpropertiesdialog.cpp
  105. +2
    -2
      kio/kfile/krecentdirs.cpp
  106. +15
    -15
      kio/kfile/krecentdocument.cpp
  107. +9
    -9
      kio/kfile/kurlbar.cpp
  108. +2
    -2
      kio/kfile/kurlcombobox.cpp
  109. +1
    -1
      kio/kfile/kurlrequester.cpp
  110. +1
    -1
      kio/kfile/tests/kdirselectdialogtest.cpp
  111. +1
    -1
      kio/kfile/tests/kfdtest.cpp
  112. +1
    -1
      kio/kfile/tests/kfiletreeviewtest.cpp
  113. +19
    -19
      kio/kfile/tests/kfstest.cpp
  114. +1
    -1
      kio/kfile/tests/kurlrequestertest.cpp
  115. +7
    -7
      kio/kio/authinfo.cpp
  116. +1
    -1
      kio/kio/chmodjob.cpp
  117. +1
    -1
      kio/kio/dataprotocol.cpp
  118. +1
    -1
      kio/kio/dataslave.cpp
  119. +13
    -13
      kio/kio/global.cpp
  120. +19
    -19
      kio/kio/job.cpp
  121. +5
    -5
      kio/kio/kacl.cpp
  122. +1
    -1
      kio/kio/karchive.cpp
  123. +3
    -3
      kio/kio/kdatatool.cpp
  124. +1
    -1
      kio/kio/kfileitem.cpp
  125. +1
    -1
      kio/kio/kfilemetainfo.cpp
  126. +2
    -2
      kio/kio/kfileshare.cpp
  127. +10
    -10
      kio/kio/kimageio.cpp
  128. +1
    -1
      kio/kio/kmimemagic.cpp
  129. +6
    -6
      kio/kio/kmimetype.cpp
  130. +2
    -2
      kio/kio/kmimetypechooser.cpp
  131. +5
    -5
      kio/kio/kprotocolmanager.cpp
  132. +2
    -2
      kio/kio/kremoteencoding.cpp
  133. +1
    -1
      kio/kio/ksambashare.cpp
  134. +6
    -6
      kio/kio/kurifilter.cpp
  135. +2
    -2
      kio/kio/netaccess.cpp
  136. +1
    -1
      kio/kio/passdlg.cpp
  137. +3
    -3
      kio/kio/previewjob.cpp
  138. +2
    -2
      kio/kio/sessiondata.cpp
  139. +2
    -2
      kio/kio/slave.cpp
  140. +6
    -6
      kio/kio/slavebase.h
  141. +1
    -1
      kio/kpasswdserver/kpasswdserver.cpp
  142. +2
    -2
      kio/kssl/ksslcertificate.cc
  143. +4
    -4
      kio/kssl/ksslinfodlg.cc
  144. +1
    -1
      kio/kssl/ksslpeerinfo.cc
  145. +2
    -2
      kio/misc/kntlm/kntlm.cpp
  146. +4
    -4
      kio/misc/ksendbugmail/main.cpp
  147. +7
    -7
      kio/misc/ksendbugmail/smtp.cpp
  148. +13
    -13
      kio/misc/kssld/kssld.cpp
  149. +2
    -2
      kio/misc/uiserver.cpp
  150. +1
    -1
      kio/misc/uiserver.h
  151. +1
    -1
      kio/tests/jobtest.cpp
  152. +15
    -15
      kio/tests/kacltest.cpp
  153. +2
    -2
      kio/tests/kdefaultprogresstest.cpp
  154. +1
    -1
      kio/tests/ksycocatest.cpp
  155. +2
    -2
      kio/tests/kurifiltertest.cpp
  156. +15
    -15
      kioslave/file/file.cc
  157. +3
    -3
      kioslave/ftp/ftp.cc
  158. +51
    -51
      kioslave/http/http.cc
  159. +4
    -4
      kioslave/http/http_cache_cleaner.cpp
  160. +13
    -13
      kioslave/http/kcookiejar/kcookiejar.cpp
  161. +1
    -1
      kioslave/http/kcookiejar/kcookiejar.h
  162. +5
    -5
      kioslave/http/kcookiejar/tests/kcookiejartest.cpp
  163. +4
    -4
      kioslave/iso/iso.cpp
  164. +1
    -1
      kmdi/kmdi/guiclient.cpp
  165. +3
    -3
      kmdi/kmdichildarea.cpp
  166. +18
    -18
      kmdi/kmdichildfrm.cpp
  167. +1
    -1
      kmdi/kmdiguiclient.cpp
  168. +6
    -6
      kmdi/kmdimainfrm.cpp
  169. +2
    -2
      kmdi/kmditaskbar.cpp
  170. +1
    -1
      kparts/browserextension.cpp
  171. +1
    -1
      kparts/browserextension.h
  172. +1
    -1
      kparts/browserinterface.cpp
  173. +3
    -3
      kparts/browserrun.cpp
  174. +1
    -1
      kparts/browserrun.h
  175. +3
    -3
      kparts/componentfactory.h
  176. +2
    -2
      kparts/dockmainwindow.cpp
  177. +2
    -2
      kparts/mainwindow.cpp
  178. +3
    -3
      kparts/part.cpp
  179. +1
    -1
      kparts/partmanager.cpp
  180. +3
    -3
      kparts/plugin.cpp
  181. +1
    -1
      kparts/statusbarextension.cpp
  182. +3
    -3
      krandr/libkrandr.cc
  183. +1
    -1
      kresources/manager.h
  184. +2
    -2
      kspell2/broker.cpp
  185. +1
    -1
      kspell2/ui/kspell2ui.ui
  186. +54
    -54
      kstyles/asteroid/asteroid.cpp
  187. +6
    -6
      kstyles/asteroid/asteroid.h
  188. +40
    -40
      kstyles/highcolor/highcolor.cpp
  189. +5
    -5
      kstyles/highcolor/highcolor.h
  190. +28
    -28
      kstyles/highcontrast/highcontrast.cpp
  191. +5
    -5
      kstyles/highcontrast/highcontrast.h
  192. +50
    -50
      kstyles/keramik/keramik.cpp
  193. +5
    -5
      kstyles/keramik/keramik.h
  194. +4
    -4
      kstyles/klegacy/klegacystyle.cpp
  195. +3
    -3
      kstyles/kthemestyle/kthemebase.cpp
  196. +13
    -13
      kstyles/kthemestyle/kthemebase.h
  197. +83
    -83
      kstyles/kthemestyle/kthemestyle.cpp
  198. +5
    -5
      kstyles/kthemestyle/kthemestyle.h
  199. +27
    -27
      kstyles/light/lightstyle-v2.cpp
  200. +5
    -5
      kstyles/light/lightstyle-v2.h
  201. +39
    -39
      kstyles/light/lightstyle-v3.cpp
  202. +5
    -5
      kstyles/light/lightstyle-v3.h
  203. +32
    -32
      kstyles/plastik/plastik.cpp
  204. +6
    -6
      kstyles/plastik/plastik.h
  205. +11
    -11
      kstyles/web/webstyle.cpp
  206. +2
    -2
      kunittest/module.h
  207. +1
    -1
      kunittest/tester.cpp
  208. +1
    -1
      kunittest/tester.h
  209. +1
    -1
      kutils/kcmoduleproxy.cpp
  210. +41
    -41
      kutils/kmultitabbar.cpp
  211. +2
    -2
      kutils/kpluginselector.cpp
  212. +1
    -1
      kutils/kreplace.cpp
  213. +1
    -1
      networkstatus/connectionmanager.cpp
  214. +3
    -3
      tdecore/kaboutdata.cpp
  215. +3
    -3
      tdecore/kaccel.cpp
  216. +6
    -6
      tdecore/kaccelmanager.cpp
  217. +14
    -14
      tdecore/kapplication.cpp
  218. +1
    -1
      tdecore/kcalendarsystemfactory.h
  219. +1
    -1
      tdecore/kcalendarsystemgregorian.cpp
  220. +3
    -3
      tdecore/kcalendarsystemhebrew.cpp
  221. +1
    -1
      tdecore/kcalendarsystemhijri.cpp
  222. +1
    -1
      tdecore/kcalendarsystemjalali.cpp
  223. +1
    -1
      tdecore/kcatalogue.cpp
  224. +4
    -4
      tdecore/kcharsets.cpp
  225. +1
    -1
      tdecore/kcmdlineargs.cpp
  226. +4
    -4
      tdecore/kcompletion.cpp
  227. +1
    -1
      tdecore/kcompletion_private.h
  228. +9
    -9
      tdecore/kconfig_compiler/kconfig_compiler.cpp
  229. +3
    -3
      tdecore/kconfig_compiler/tests/kconfigcompiler_test.cpp
  230. +24
    -24
      tdecore/kconfig_compiler/tests/test1.cpp.ref
  231. +9
    -9
      tdecore/kconfig_compiler/tests/test1.h.ref
  232. +33
    -33
      tdecore/kconfig_compiler/tests/test2.cpp.ref
  233. +11
    -11
      tdecore/kconfig_compiler/tests/test2.h.ref
  234. +11
    -11
      tdecore/kconfig_compiler/tests/test3.cpp.ref
  235. +4
    -4
      tdecore/kconfig_compiler/tests/test3.h.ref
  236. +24
    -24
      tdecore/kconfig_compiler/tests/test4.cpp.ref
  237. +4
    -4
      tdecore/kconfig_compiler/tests/test4.h.ref
  238. +24
    -24
      tdecore/kconfig_compiler/tests/test5.cpp.ref
  239. +4
    -4
      tdecore/kconfig_compiler/tests/test5.h.ref
  240. +9
    -9
      tdecore/kconfig_compiler/tests/test6.cpp.ref
  241. +3
    -3
      tdecore/kconfig_compiler/tests/test6.h.ref
  242. +9
    -9
      tdecore/kconfig_compiler/tests/test7.cpp.ref
  243. +3
    -3
      tdecore/kconfig_compiler/tests/test7.h.ref
  244. +5
    -5
      tdecore/kconfig_compiler/tests/test8a.cpp.ref
  245. +2
    -2
      tdecore/kconfig_compiler/tests/test8a.h.ref
  246. +8
    -8
      tdecore/kconfig_compiler/tests/test8b.cpp.ref
  247. +3
    -3
      tdecore/kconfig_compiler/tests/test8b.h.ref
  248. +8
    -8
      tdecore/kconfig_compiler/tests/test9.cpp.ref
  249. +3
    -3
      tdecore/kconfig_compiler/tests/test9.h.ref
  250. +1
    -1
      tdecore/kconfig_compiler/tests/test9main.cpp
  251. +44
    -44
      tdecore/kconfig_compiler/tests/test_dpointer.cpp.ref
  252. +4
    -4
      tdecore/kconfigbackend.cpp
  253. +8
    -8
      tdecore/kconfigbase.cpp
  254. +4
    -4
      tdecore/kconfigbase.h
  255. +3
    -3
      tdecore/kconfigdialogmanager.cpp
  256. +5
    -5
      tdecore/kconfigskeleton.h
  257. +3
    -3
      tdecore/kdcoppropertyproxy.cpp
  258. +1
    -1
      tdecore/kde-config.cpp.in
  259. +2
    -2
      tdecore/kdebug.cpp
  260. +2
    -2
      tdecore/kdebug.h
  261. +11
    -11
      tdecore/kdesktopfile.cpp
  262. +1
    -1
      tdecore/kextsock.cpp
  263. +4
    -4
      tdecore/kgenericfactory.tcc
  264. +1
    -1
      tdecore/kglobal.cpp
  265. +3
    -3
      tdecore/kglobalaccel_win.cpp
  266. +3
    -3
      tdecore/kglobalaccel_x11.cpp
  267. +2
    -2
      tdecore/kiconeffect.cpp
  268. +3
    -3
      tdecore/kiconloader.cpp
  269. +3
    -3
      tdecore/kicontheme.cpp
  270. +2
    -2
      tdecore/kidna.cpp
  271. +17
    -17
      tdecore/klocale.cpp
  272. +6
    -6
      tdecore/knotifyclient.cpp
  273. +1
    -1
      tdecore/kprocess.h
  274. +1
    -1
      tdecore/kprotocolinfo_tdecore.cpp
  275. +1
    -1
      tdecore/ksavefile.cpp
  276. +1
    -1
      tdecore/ksavefile.h
  277. +1
    -1
      tdecore/ksimpleconfig.cpp
  278. +2
    -2
      tdecore/ksockaddr.cpp
  279. +7
    -7
      tdecore/kstandarddirs.cpp
  280. +36
    -36
      tdecore/kstartupinfo.cpp
  281. +1
    -1
      tdecore/ksycoca.cpp
  282. +2
    -2
      tdecore/ktimezones.cpp
  283. +5
    -5
      tdecore/kurl.cpp
  284. +2
    -2
      tdecore/kurl.h
  285. +1
    -1
      tdecore/network/kclientsocketbase.cpp
  286. +1
    -1
      tdecore/network/khttpproxysocketdevice.cpp
  287. +4
    -4
      tdecore/network/kresolver.cpp
  288. +8
    -8
      tdecore/network/kresolverstandardworkers.cpp
  289. +2
    -2
      tdecore/network/kreverseresolver.cpp
  290. +1
    -1
      tdecore/network/kserversocket.cpp
  291. +4
    -4
      tdecore/network/ksocketaddress.cpp
  292. +1
    -1
      tdecore/network/ksocketbase.cpp
  293. +3
    -3
      tdecore/network/ksrvresolverworker.cpp
  294. +4
    -4
      tdecore/svgicons/ksvgiconengine.cpp
  295. +35
    -35
      tdecore/svgicons/ksvgiconpainter.cpp
  296. +2
    -2
      tdecore/svgicons/ksvgiconpainter.h
  297. +1
    -1
      tdecore/tests/kcalendartest.cpp
  298. +13
    -13
      tdecore/tests/klocaletest.cpp
  299. +4
    -4
      tdecore/tests/kresolvertest.cpp
  300. +1
    -1
      tdecore/tests/ktimezonestest.cpp
  301. +1
    -1
      tdefx/kdrawutil.h
  302. +1
    -1
      tdefx/kimageeffect.cpp
  303. +22
    -22
      tdefx/kstyle.cpp
  304. +6
    -6
      tdefx/kstyle.h
  305. +2
    -2
      tdeprint/cups/cupsaddsmb2.cpp
  306. +2
    -2
      tdeprint/cups/cupsinfos.cpp
  307. +1
    -1
      tdeprint/cups/ippreportdlg.cpp
  308. +1
    -1
      tdeprint/cups/ipprequest.cpp
  309. +3
    -3
      tdeprint/cups/kcupsprinterimpl.cpp
  310. +3
    -3
      tdeprint/cups/kmcupsjobmanager.cpp
  311. +11
    -11
      tdeprint/cups/kmcupsmanager.cpp
  312. +1
    -1
      tdeprint/cups/kmpropusers.cpp
  313. +2
    -2
      tdeprint/cups/kmwfax.cpp
  314. +1
    -1
      tdeprint/cups/kmwipp.cpp
  315. +3
    -3
      tdeprint/cups/kmwippprinter.cpp
  316. +3
    -3
      tdeprint/cups/kmwippselect.cpp
  317. +1
    -1
      tdeprint/driver.cpp
  318. +2
    -2
      tdeprint/driveritem.cpp
  319. +1
    -1
      tdeprint/foomatic/kfoomaticprinterimpl.cpp
  320. +1
    -1
      tdeprint/foomatic/kmfoomaticmanager.cpp
  321. +3
    -3
      tdeprint/kmfactory.cpp
  322. +1
    -1
      tdeprint/kmjob.cpp
  323. +2
    -2
      tdeprint/kmmanager.cpp
  324. +3
    -3
      tdeprint/kmspecialmanager.cpp
  325. +1
    -1
      tdeprint/kpcopiespage.cpp
  326. +2
    -2
      tdeprint/kprintdialog.cpp
  327. +2
    -2
      tdeprint/kprinter.cpp
  328. +1
    -1
      tdeprint/kprinterimpl.cpp
  329. +1
    -1
      tdeprint/kprintpreview.cpp
  330. +1
    -1
      tdeprint/lpd/gschecker.cpp
  331. +1
    -1
      tdeprint/lpd/klpdprinterimpl.cpp
  332. +26
    -26
      tdeprint/lpd/kmlpdmanager.cpp
  333. +5
    -5
      tdeprint/lpd/lpdtools.cpp
  334. +2
    -2
      tdeprint/lpdunix/klpdunixprinterimpl.cpp
  335. +2
    -2
      tdeprint/lpdunix/kmlpdunixmanager.cpp
  336. +4
    -4
      tdeprint/lpr/apshandler.cpp
  337. +2
    -2
      tdeprint/lpr/klprprinterimpl.cpp
  338. +2
    -2
      tdeprint/lpr/kmlprmanager.cpp
  339. +3
    -3
      tdeprint/lpr/lprngtoolhandler.cpp
  340. +4
    -4
      tdeprint/lpr/matichandler.cpp
  341. +1
    -1
      tdeprint/management/kmdbcreator.cpp
  342. +1
    -1
      tdeprint/management/kmdriverdb.cpp
  343. +1
    -1
      tdeprint/management/kmdriverdbwidget.cpp
  344. +1
    -1
      tdeprint/management/kmiconview.cpp
  345. +1
    -1
      tdeprint/management/kminfopage.cpp
  346. +1
    -1
      tdeprint/management/kmpropmembers.cpp
  347. +1
    -1
      tdeprint/management/kmwbackend.cpp
  348. +6
    -6
      tdeprint/management/kmwend.cpp
  349. +1
    -1
      tdeprint/management/kmwfile.cpp
  350. +1
    -1
      tdeprint/management/kmwlpd.cpp
  351. +1
    -1
      tdeprint/management/kmwpassword.cpp
  352. +1
    -1
      tdeprint/management/kmwsocket.cpp
  353. +1
    -1
      tdeprint/management/kmwsocketutil.cpp
  354. +2
    -2
      tdeprint/management/kxmlcommanddlg.cpp
  355. +1
    -1
      tdeprint/management/networkscanner.cpp
  356. +2
    -2
      tdeprint/posterpreview.cpp
  357. +1
    -1
      tdeprint/rlpr/kmrlprmanager.cpp
  358. +2
    -2
      tdeprint/rlpr/kmwrlpr.cpp
  359. +1
    -1
      tdeprint/rlpr/krlprprinterimpl.cpp
  360. +2
    -2
      tdeprint/tdeprintcheck.cpp
  361. +1
    -1
      tdeprint/tests/helpwindow.cpp
  362. +1
    -1
      tdeprint/tests/richpage.cpp
  363. +1
    -1
      tdeprint/treecombobox.cpp
  364. +2
    -2
      tdeui/kaboutdialog.cpp
  365. +4
    -4
      tdeui/kaboutkde.cpp
  366. +2
    -2
      tdeui/kaction.cpp
  367. +2
    -2
      tdeui/kactionclasses.cpp
  368. +2
    -2
      tdeui/kactioncollection.cpp
  369. +1
    -1
      tdeui/kactivelabel.cpp
  370. +3
    -3
      tdeui/karrowbutton.cpp
  371. +1
    -1
      tdeui/kauthicon.cpp
  372. +32
    -32
      tdeui/kbugreport.cpp
  373. +1
    -1
      tdeui/kbuttonbox.cpp
  374. +8
    -8
      tdeui/kcharselect.cpp
  375. +4
    -4
      tdeui/kcmenumngr.cpp
  376. +5
    -5
      tdeui/kcolorbutton.cpp
  377. +2
    -2
      tdeui/kcolordialog.cpp
  378. +1
    -1
      tdeui/kcolordrag.cpp
  379. +2
    -2
      tdeui/kcursor.cpp
  380. +9
    -9
      tdeui/kdatepicker.cpp
  381. +1
    -1
      tdeui/kdatepicker.h
  382. +14
    -14
      tdeui/kdatetbl.cpp
  383. +1
    -1
      tdeui/kdialog.cpp
  384. +14
    -14
      tdeui/kdialogbase.cpp
  385. +15
    -15
      tdeui/kdockwidget.cpp
  386. +3
    -3
      tdeui/kdockwidget.h
  387. +7
    -7
      tdeui/kdockwidget_private.cpp
  388. +4
    -4
      tdeui/kdualcolorbutton.cpp
  389. +1
    -1
      tdeui/keditcl1.cpp
  390. +8
    -8
      tdeui/kedittoolbar.cpp
  391. +1
    -1
      tdeui/kfontcombo.cpp
  392. +5
    -5
      tdeui/kfontdialog.cpp
  393. +1
    -1
      tdeui/khelpmenu.cpp
  394. +12
    -12
      tdeui/kiconview.cpp
  395. +10
    -10
      tdeui/kjanuswidget.cpp
  396. +1
    -1
      tdeui/kjanuswidget.h
  397. +5
    -5
      tdeui/kkeybutton.cpp
  398. +3
    -3
      tdeui/klanguagebutton.cpp
  399. +3
    -3
      tdeui/kled.cpp
  400. +2
    -2
      tdeui/klistbox.cpp
  401. +15
    -15
      tdeui/klistview.cpp
  402. +1
    -1
      tdeui/klistview.h
  403. +11
    -11
      tdeui/klistviewsearchline.cpp
  404. +29
    -29
      tdeui/kmainwindow.cpp
  405. +7
    -7
      tdeui/kmainwindow.h
  406. +13
    -13
      tdeui/kmenubar.cpp
  407. +7
    -7
      tdeui/kmessagebox.cpp
  408. +3
    -3
      tdeui/knumvalidator.cpp
  409. +2
    -2
      tdeui/kpassdlg.cpp
  410. +1
    -1
      tdeui/kpopupmenu.cpp
  411. +3
    -3
      tdeui/kprogress.cpp
  412. +5
    -5
      tdeui/krootpixmap.cpp
  413. +5
    -5
      tdeui/kruler.cpp
  414. +2
    -2
      tdeui/ksconfig.cpp
  415. +14
    -14
      tdeui/kselect.cpp
  416. +1
    -1
      tdeui/kselect.h
  417. +1
    -1
      tdeui/kseparator.cpp
  418. +2
    -2
      tdeui/kshortcutdialog.cpp
  419. +4
    -4
      tdeui/kspell.cpp
  420. +2
    -2
      tdeui/kstatusbar.cpp
  421. +1
    -1
      tdeui/kstdaction.cpp
  422. +28
    -28
      tdeui/kstdguiitem.cpp
  423. +5
    -5
      tdeui/ksyntaxhighlighter.cpp
  424. +1
    -1
      tdeui/ksystemtray.cpp
  425. +7
    -7
      tdeui/ktabbar.cpp
  426. +14
    -14
      tdeui/ktabctl.cpp
  427. +2
    -2
      tdeui/ktabwidget.cpp
  428. +1
    -1
      tdeui/ktextedit.cpp
  429. +6
    -6
      tdeui/ktip.cpp
  430. +31
    -31
      tdeui/ktoolbar.cpp
  431. +1
    -1
      tdeui/ktoolbar.h
  432. +12
    -12
      tdeui/ktoolbarbutton.cpp
  433. +1
    -1
      tdeui/ktoolbarbutton.h
  434. +1
    -1
      tdeui/ktoolbarhandler.cpp
  435. +1
    -1
      tdeui/ktoolbarlabelaction.cpp
  436. +1
    -1
      tdeui/kurllabel.cpp
  437. +2
    -2
      tdeui/kwhatsthismanager.cpp
  438. +15
    -15
      tdeui/kxmlguibuilder.cpp
  439. +3
    -3
      tdeui/kxmlguiclient.cpp
  440. +4
    -4
      tdeui/kxmlguifactory.cpp
  441. +57
    -57
      tdeui/qxembed.cpp
  442. +1
    -1
      tdeui/tests/kdialogbasetest.cpp
  443. +7
    -7
      tdeui/tests/kdockwidgetdemo.cpp
  444. +2
    -2
      tdeui/tests/kdualcolortest.cpp
  445. +6
    -6
      tdeui/tests/keditlistboxtest.cpp
  446. +7
    -7
      tdeui/tests/kmessageboxtest.cpp
  447. +1
    -1
      tdeui/twindowlistmenu.cpp

+ 3
- 3
arts/kde/kartsserver.cpp View File

@ -77,12 +77,12 @@ Arts::SoundServerV2 KArtsServer::server(void)
X11CommConfig.sync();
proc << TQFile::encodeName(KStandardDirs::findExe(TQString::tqfromLatin1("tdeinit_wrapper"))).data();
proc << TQFile::encodeName(KStandardDirs::findExe(TQString::fromLatin1("tdeinit_wrapper"))).data();
if(rt)
proc << TQFile::encodeName(KStandardDirs::findExe(TQString::tqfromLatin1("artswrapper"))).data();
proc << TQFile::encodeName(KStandardDirs::findExe(TQString::fromLatin1("artswrapper"))).data();
else
proc << TQFile::encodeName(KStandardDirs::findExe(TQString::tqfromLatin1("artsd"))).data();
proc << TQFile::encodeName(KStandardDirs::findExe(TQString::fromLatin1("artsd"))).data();
proc << TQStringList::split( " ", config.readEntry( "Arguments", "-F 10 -S 4096 -s 60 -m artsmessage -l 3 -f" ) );


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

@ -78,7 +78,7 @@ void KIOInputStream_impl::streamStart()
m_job = KIO::get(m_url, false, false);
m_job->addMetaData("accept", "audio/x-mp3, video/mpeg, application/ogg");
m_job->addMetaData("UserAgent", TQString::tqfromLatin1("aRts/") + TQString::tqfromLatin1(ARTS_VERSION));
m_job->addMetaData("UserAgent", TQString::fromLatin1("aRts/") + TQString::fromLatin1(ARTS_VERSION));
TQObject::connect(m_job, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)),
this, TQT_SLOT(slotData(KIO::Job *, const TQByteArray &)));


+ 4
- 4
arts/kde/kplayobject.cc View File

@ -65,7 +65,7 @@ void KPlayObject::halt()
TQString KPlayObject::description()
{
return TQString::tqfromLatin1(object().description().c_str());
return TQString::fromLatin1(object().description().c_str());
}
Arts::poTime KPlayObject::currentTime()
@ -85,7 +85,7 @@ Arts::poCapabilities KPlayObject::capabilities()
TQString KPlayObject::mediaName()
{
return TQString::tqfromLatin1(object().mediaName().c_str());
return TQString::fromLatin1(object().mediaName().c_str());
}
Arts::poState KPlayObject::state()
@ -243,7 +243,7 @@ TQString KDE::PlayObject::description()
{
if ( object().isNull() )
return TQString();
return TQString::tqfromLatin1(object().description().c_str());
return TQString::fromLatin1(object().description().c_str());
}
Arts::poTime KDE::PlayObject::currentTime()
@ -271,7 +271,7 @@ TQString KDE::PlayObject::mediaName()
{
if ( object().isNull() )
return TQString();
return TQString::tqfromLatin1(object().mediaName().c_str());
return TQString::fromLatin1(object().mediaName().c_str());
}
Arts::poState KDE::PlayObject::state()


+ 2
- 2
arts/knotify/knotify.cpp View File

@ -642,7 +642,7 @@ bool KNotify::notifyByLogfile(const TQString &text, const TQString &file)
// append msg
TQTextStream strm( &logFile );
strm << "- KNotify " << TQDateTime::tqcurrentDateTime().toString() << ": ";
strm << "- KNotify " << TQDateTime::currentDateTime().toString() << ": ";
strm << text << endl;
// close file
@ -660,7 +660,7 @@ bool KNotify::notifyByStderr(const TQString &text)
TQTextStream strm( stderr, IO_WriteOnly );
// output msg
strm << "KNotify " << TQDateTime::tqcurrentDateTime().toString() << ": ";
strm << "KNotify " << TQDateTime::currentDateTime().toString() << ": ";
strm << text << endl;
return true;


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

@ -33,7 +33,7 @@ static DCOPClient* dcop = 0;
void startApp(const char *_app, int argc, const char **args)
{
const char *function = 0;
TQString app = TQString::tqfromLatin1(_app);
TQString app = TQString::fromLatin1(_app);
if (app.endsWith(".desktop"))
function = "start_service_by_desktop_path(TQString,TQStringList)";
else


+ 13
- 13
dcop/dcopclient.cpp View File

@ -764,7 +764,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
DCOPAuthCount,
const_cast<char **>(DCOPAuthNames),
DCOPClientAuthProcs, 0L)) < 0) {
emit attachFailed(TQString::tqfromLatin1( "Communications could not be established." ));
emit attachFailed(TQString::fromLatin1( "Communications could not be established." ));
return false;
}
@ -779,7 +779,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
TQCString fName = dcopServerFile();
TQFile f(TQFile::decodeName(fName));
if (!f.open(IO_ReadOnly)) {
emit attachFailed(TQString::tqfromLatin1( "Could not read network connection list.\n" )+TQFile::decodeName(fName));
emit attachFailed(TQString::fromLatin1( "Could not read network connection list.\n" )+TQFile::decodeName(fName));
return false;
}
int size = TQMIN( (qint64)1024, f.size() ); // protection against a huge file
@ -819,7 +819,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
delete [] d->serverAddr;
d->serverAddr = 0;
}
emit attachFailed(TQString::tqfromLatin1( errBuf ));
emit attachFailed(TQString::fromLatin1( errBuf ));
return false;
}
fcntl(socket(), F_SETFL, FD_CLOEXEC);
@ -845,7 +845,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
delete [] d->serverAddr;
d->serverAddr = 0;
}
emit attachFailed(TQString::tqfromLatin1( errBuf ));
emit attachFailed(TQString::fromLatin1( errBuf ));
return false;
} else if (setupstat == IceProtocolAlreadyActive) {
if (bClearServerAddr) {
@ -853,7 +853,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
d->serverAddr = 0;
}
/* should not happen because 3rd arg to IceOpenConnection was 0. */
emit attachFailed(TQString::tqfromLatin1( "internal error in IceOpenConnection" ));
emit attachFailed(TQString::fromLatin1( "internal error in IceOpenConnection" ));
return false;
}
@ -863,7 +863,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
delete [] d->serverAddr;
d->serverAddr = 0;
}
emit attachFailed(TQString::tqfromLatin1( "DCOP server did not accept the connection." ));
emit attachFailed(TQString::fromLatin1( "DCOP server did not accept the connection." ));
return false;
}
@ -1470,10 +1470,10 @@ static bool receiveQtObject( const TQCString &objId, const TQCString &fun, const
l << "QCStringList properties()";
l << "bool setProperty(TQCString,TQVariant)";
l << "TQVariant property(TQCString)";
TQStrList lst = o->tqmetaObject()->slotNames( true );
TQStrList lst = o->metaObject()->slotNames( true );
int i = 0;
for ( TQPtrListIterator<char> it( lst ); it.current(); ++it ) {
if ( o->tqmetaObject()->slot( i++, true )->tqt_mo_access != TQMetaData::Public )
if ( o->metaObject()->slot( i++, true )->tqt_mo_access != TQMetaData::Public )
continue;
TQCString slot = it.current();
if ( slot.contains( "()" ) ) {
@ -1487,10 +1487,10 @@ static bool receiveQtObject( const TQCString &objId, const TQCString &fun, const
replyType = "QCStringList";
TQDataStream reply( replyData, IO_WriteOnly );
QCStringList l;
TQMetaObject *meta = o->tqmetaObject();
TQMetaObject *meta = o->metaObject();
while ( meta ) {
l.prepend( meta->className() );
meta = meta->tqsuperClass();
meta = meta->superClass();
}
reply << l;
return true;
@ -1498,9 +1498,9 @@ static bool receiveQtObject( const TQCString &objId, const TQCString &fun, const
replyType = "QCStringList";
TQDataStream reply( replyData, IO_WriteOnly );
QCStringList l;
TQStrList lst = o->tqmetaObject()->propertyNames( true );
TQStrList lst = o->metaObject()->propertyNames( true );
for ( TQPtrListIterator<char> it( lst ); it.current(); ++it ) {
TQMetaObject *mo = o->tqmetaObject();
TQMetaObject *mo = o->metaObject();
const TQMetaProperty* p = mo->property( mo->findProperty( it.current(), true ), true );
if ( !p )
continue;
@ -1532,7 +1532,7 @@ static bool receiveQtObject( const TQCString &objId, const TQCString &fun, const
reply << (TQ_INT8) o->setProperty( name, value );
return true;
} else {
int slot = o->tqmetaObject()->findSlot( fun, true );
int slot = o->metaObject()->findSlot( fun, true );
if ( slot != -1 ) {
replyType = "void";
TQUObject uo[ 1 ];


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

@ -221,7 +221,7 @@ inline BytesEditInterface *bytesEditInterface( T *t )
inline TQWidget *createBytesEditWidget( TQWidget *Parent = 0, const char *Name = 0 )
{
return KParts::ComponentFactory::createInstanceFromQuery<TQWidget>
( TQString::tqfromLatin1("KHexEdit/KBytesEdit"), TQString::null, TQT_TQOBJECT(Parent), Name );
( TQString::fromLatin1("KHexEdit/KBytesEdit"), TQString::null, TQT_TQOBJECT(Parent), Name );
}
}


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

@ -31,7 +31,7 @@
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>460</width>
<height>0</height>


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

@ -74,7 +74,7 @@ bool TemplateInterface::expandMacros( TQMap<TQString, TQString> &map, TQWidget *
{
KABC::StdAddressBook *addrBook = 0;
KABC::Addressee userAddress;
TQDateTime datetime = TQDateTime::tqcurrentDateTime();
TQDateTime datetime = TQDateTime::currentDateTime();
TQDate date = TQT_TQDATE_OBJECT(datetime.date());
TQTime time = TQT_TQTIME_OBJECT(datetime.time());


+ 1
- 1
kab/kabapi.cc View File

@ -74,7 +74,7 @@ int KabAPI::exec()
}
listbox->setMinimumSize(listbox->sizeHint());
adjustSize();
resize(tqminimumSize());
resize(minimumSize());
return KDialogBase::exec();
} else {
kdDebug(KAB_KDEBUG_AREA) << "KabAPI::exec: error creating interface."


+ 2
- 2
kabc/address.cpp View File

@ -521,7 +521,7 @@ TQString Address::countryToISO( const TQString &cname )
return it.data();
TQString mapfile = KGlobal::dirs()->findResource( "data",
TQString::tqfromLatin1( "kabc/countrytransl.map" ) );
TQString::fromLatin1( "kabc/countrytransl.map" ) );
TQFile file( mapfile );
if ( file.open( IO_ReadOnly ) ) {
@ -551,7 +551,7 @@ TQString Address::ISOtoCountry( const TQString &ISOname )
return TQString::null;
TQString mapfile = KGlobal::dirs()->findResource( "data",
TQString::tqfromLatin1( "kabc/countrytransl.map" ) );
TQString::fromLatin1( "kabc/countrytransl.map" ) );
TQFile file( mapfile );
if ( file.open( IO_ReadOnly ) ) {


+ 1
- 1
kabc/addressbook.cpp View File

@ -527,7 +527,7 @@ void AddressBook::insertAddressee( const Addressee &a )
Addressee addr( a );
if ( !fAddr.isEmpty() ) {
if ( fAddr != a )
addr.setRevision( TQDateTime::tqcurrentDateTime() );
addr.setRevision( TQDateTime::currentDateTime() );
else {
if ( fAddr.resource() == 0 ) {
fAddr.setResource( resource );


+ 1
- 1
kabc/ldapclient.cpp View File

@ -50,7 +50,7 @@ public:
TQString LdapObject::toString() const
{
TQString result = TQString::tqfromLatin1( "\ndn: %1\n" ).arg( dn );
TQString result = TQString::fromLatin1( "\ndn: %1\n" ).arg( dn );
for ( LdapAttrMap::ConstIterator it = attrs.begin(); it != attrs.end(); ++it ) {
TQString attr = it.key();
for ( LdapAttrValue::ConstIterator it2 = (*it).begin(); it2 != (*it).end(); ++it2 ) {


+ 56
- 56
kabc/ldifconverter.cpp View File

@ -183,7 +183,7 @@ bool LDIFConverter::LDIFToAddressee( const TQString &str, AddresseeList &addrLis
data.setRawData( latinstr, latinstrlen );
ldif.setLDIF( data );
if (!dt.isValid())
dt = TQDateTime::tqcurrentDateTime();
dt = TQDateTime::currentDateTime();
a.setRevision(dt);
homeAddr = Address( Address::Home );
workAddr = Address( Address::Work );
@ -235,7 +235,7 @@ bool LDIFConverter::evaluatePair( Addressee &a, Address &homeAddr,
Address &workAddr,
TQString &fieldname, TQString &value )
{
if ( fieldname == TQString::tqfromLatin1( "dn" ) ) // ignore & return false!
if ( fieldname == TQString::fromLatin1( "dn" ) ) // ignore & return false!
return false;
if ( fieldname.startsWith("#") ) {
@ -249,56 +249,56 @@ bool LDIFConverter::evaluatePair( Addressee &a, Address &homeAddr,
return true;
}
if ( fieldname == TQString::tqfromLatin1( "givenname" ) ) {
if ( fieldname == TQString::fromLatin1( "givenname" ) ) {
a.setGivenName( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "xmozillanickname") ||
fieldname == TQString::tqfromLatin1( "nickname") ) {
if ( fieldname == TQString::fromLatin1( "xmozillanickname") ||
fieldname == TQString::fromLatin1( "nickname") ) {
a.setNickName( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "sn" ) ) {
if ( fieldname == TQString::fromLatin1( "sn" ) ) {
a.setFamilyName( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "uid" ) ) {
if ( fieldname == TQString::fromLatin1( "uid" ) ) {
a.setUid( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mail" ) ||
fieldname == TQString::tqfromLatin1( "mozillasecondemail" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "mail" ) ||
fieldname == TQString::fromLatin1( "mozillasecondemail" ) ) { // mozilla
if ( a.emails().findIndex( value ) == -1 )
a.insertEmail( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "title" ) ) {
if ( fieldname == TQString::fromLatin1( "title" ) ) {
a.setTitle( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "vocation" ) ) {
if ( fieldname == TQString::fromLatin1( "vocation" ) ) {
a.setPrefix( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "cn" ) ) {
if ( fieldname == TQString::fromLatin1( "cn" ) ) {
a.setFormattedName( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "o" ) ||
fieldname == TQString::tqfromLatin1( "organization" ) || // Exchange
fieldname == TQString::tqfromLatin1( "organizationname" ) ) { // Exchange
if ( fieldname == TQString::fromLatin1( "o" ) ||
fieldname == TQString::fromLatin1( "organization" ) || // Exchange
fieldname == TQString::fromLatin1( "organizationname" ) ) { // Exchange
a.setOrganization( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "description" ) ) {
if ( fieldname == TQString::fromLatin1( "description" ) ) {
addComment:
if ( !a.note().isEmpty() )
a.setNote( a.note() + "\n" );
@ -306,15 +306,15 @@ addComment:
return true;
}
if ( fieldname == TQString::tqfromLatin1( "custom1" ) ||
fieldname == TQString::tqfromLatin1( "custom2" ) ||
fieldname == TQString::tqfromLatin1( "custom3" ) ||
fieldname == TQString::tqfromLatin1( "custom4" ) ) {
if ( fieldname == TQString::fromLatin1( "custom1" ) ||
fieldname == TQString::fromLatin1( "custom2" ) ||
fieldname == TQString::fromLatin1( "custom3" ) ||
fieldname == TQString::fromLatin1( "custom4" ) ) {
goto addComment;
}
if ( fieldname == TQString::tqfromLatin1( "homeurl" ) ||
fieldname == TQString::tqfromLatin1( "workurl" ) ) {
if ( fieldname == TQString::fromLatin1( "homeurl" ) ||
fieldname == TQString::fromLatin1( "workurl" ) ) {
if (a.url().isEmpty()) {
a.setUrl( KURL( value ) );
return true;
@ -325,139 +325,139 @@ addComment:
// TODO: change this with KDE 4
}
if ( fieldname == TQString::tqfromLatin1( "homephone" ) ) {
if ( fieldname == TQString::fromLatin1( "homephone" ) ) {
a.insertPhoneNumber( PhoneNumber( value, PhoneNumber::Home ) );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "telephonenumber" ) ) {
if ( fieldname == TQString::fromLatin1( "telephonenumber" ) ) {
a.insertPhoneNumber( PhoneNumber( value, PhoneNumber::Work ) );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mobile" ) ) { // mozilla/Netscape 7
if ( fieldname == TQString::fromLatin1( "mobile" ) ) { // mozilla/Netscape 7
a.insertPhoneNumber( PhoneNumber( value, PhoneNumber::Cell ) );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "cellphone" ) ) {
if ( fieldname == TQString::fromLatin1( "cellphone" ) ) {
a.insertPhoneNumber( PhoneNumber( value, PhoneNumber::Cell ) );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "pager" ) || // mozilla
fieldname == TQString::tqfromLatin1( "pagerphone" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "pager" ) || // mozilla
fieldname == TQString::fromLatin1( "pagerphone" ) ) { // mozilla
a.insertPhoneNumber( PhoneNumber( value, PhoneNumber::Pager ) );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "facsimiletelephonenumber" ) ) {
if ( fieldname == TQString::fromLatin1( "facsimiletelephonenumber" ) ) {
a.insertPhoneNumber( PhoneNumber( value, PhoneNumber::Fax ) );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "xmozillaanyphone" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "xmozillaanyphone" ) ) { // mozilla
a.insertPhoneNumber( PhoneNumber( value, PhoneNumber::Work ) );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "street" ) ||
fieldname == TQString::tqfromLatin1( "streethomeaddress" ) ) {
if ( fieldname == TQString::fromLatin1( "street" ) ||
fieldname == TQString::fromLatin1( "streethomeaddress" ) ) {
homeAddr.setStreet( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "postaladdress" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "postaladdress" ) ) { // mozilla
workAddr.setStreet( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mozillapostaladdress2" ) ) { // mozilla
workAddr.setStreet( workAddr.street() + TQString::tqfromLatin1( "\n" ) + value );
if ( fieldname == TQString::fromLatin1( "mozillapostaladdress2" ) ) { // mozilla
workAddr.setStreet( workAddr.street() + TQString::fromLatin1( "\n" ) + value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "postalcode" ) ) {
if ( fieldname == TQString::fromLatin1( "postalcode" ) ) {
workAddr.setPostalCode( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "postofficebox" ) ) {
if ( fieldname == TQString::fromLatin1( "postofficebox" ) ) {
workAddr.setPostOfficeBox( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "homepostaladdress" ) ) { // Netscape 7
if ( fieldname == TQString::fromLatin1( "homepostaladdress" ) ) { // Netscape 7
homeAddr.setStreet( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mozillahomepostaladdress2" ) ) { // mozilla
homeAddr.setStreet( homeAddr.street() + TQString::tqfromLatin1( "\n" ) + value );
if ( fieldname == TQString::fromLatin1( "mozillahomepostaladdress2" ) ) { // mozilla
homeAddr.setStreet( homeAddr.street() + TQString::fromLatin1( "\n" ) + value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mozillahomelocalityname" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "mozillahomelocalityname" ) ) { // mozilla
homeAddr.setLocality( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mozillahomestate" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "mozillahomestate" ) ) { // mozilla
homeAddr.setRegion( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mozillahomepostalcode" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "mozillahomepostalcode" ) ) { // mozilla
homeAddr.setPostalCode( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "mozillahomecountryname" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "mozillahomecountryname" ) ) { // mozilla
if ( value.length() <= 2 )
value = Address::ISOtoCountry(value);
homeAddr.setCountry( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "locality" ) ) {
if ( fieldname == TQString::fromLatin1( "locality" ) ) {
workAddr.setLocality( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "streetaddress" ) ) { // Netscape 4.x
if ( fieldname == TQString::fromLatin1( "streetaddress" ) ) { // Netscape 4.x
workAddr.setStreet( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "countryname" ) ||
fieldname == TQString::tqfromLatin1( "c" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "countryname" ) ||
fieldname == TQString::fromLatin1( "c" ) ) { // mozilla
if ( value.length() <= 2 )
value = Address::ISOtoCountry(value);
workAddr.setCountry( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "l" ) ) { // mozilla
if ( fieldname == TQString::fromLatin1( "l" ) ) { // mozilla
workAddr.setLocality( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "st" ) ) {
if ( fieldname == TQString::fromLatin1( "st" ) ) {
workAddr.setRegion( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "ou" ) ) {
if ( fieldname == TQString::fromLatin1( "ou" ) ) {
a.setRole( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "department" ) ) {
if ( fieldname == TQString::fromLatin1( "department" ) ) {
a.setDepartment( value );
return true;
}
if ( fieldname == TQString::tqfromLatin1( "member" ) ) {
if ( fieldname == TQString::fromLatin1( "member" ) ) {
// this is a mozilla list member (cn=xxx, mail=yyy)
TQStringList list( TQStringList::split( ',', value ) );
TQString name, email;
@ -476,8 +476,8 @@ addComment:
return true;
}
if ( fieldname == TQString::tqfromLatin1( "modifytimestamp" ) ) {
if (value == TQString::tqfromLatin1("0Z")) // ignore
if ( fieldname == TQString::fromLatin1( "modifytimestamp" ) ) {
if (value == TQString::fromLatin1("0Z")) // ignore
return true;
TQDateTime dt = VCardStringToDate( value );
if ( dt.isValid() ) {
@ -486,7 +486,7 @@ addComment:
}
}
if ( fieldname == TQString::tqfromLatin1( "objectclass" ) ) // ignore
if ( fieldname == TQString::fromLatin1( "objectclass" ) ) // ignore
return true;
kdWarning() << TQString(TQString("LDIFConverter: Unknown field for '%1': '%2=%3'\n")


+ 1
- 1
kabc/ldifconverter.h View File

@ -44,7 +44,7 @@ namespace KABC {
* @param dt The date & time value of the last modification (e.g. file modification time).
* @since 3.2
*/
KABC_EXPORT bool LDIFToAddressee( const TQString &str, AddresseeList &addrList, TQDateTime dt = TQDateTime::tqcurrentDateTime() );
KABC_EXPORT bool LDIFToAddressee( const TQString &str, AddresseeList &addrList, TQDateTime dt = TQDateTime::currentDateTime() );
/**
* Converts a list of addressees to a LDIF string.


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

@ -60,7 +60,7 @@ int main( int argc, char **argv )
addressee.setOrganization( "KDE" );
addressee.setNote( "nerver\ntouch a running system" );
addressee.setProductId( "testId" );
addressee.setRevision( TQDateTime::tqcurrentDateTime() );
addressee.setRevision( TQDateTime::currentDateTime() );
addressee.setSortString( "koenig" );
addressee.setUrl( KURL( "http://wgess16.dyndns.org") );
addressee.setSecrecy( KABC::Secrecy( KABC::Secrecy::Confidential ) );


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

@ -748,7 +748,7 @@ void KateCSmartIndent::processChar(TQChar c)
if (c == 'n')
{
if (firstChar != '#' || textLine->string(curCol-5, 5) != TQString::tqfromLatin1("regio"))
if (firstChar != '#' || textLine->string(curCol-5, 5) != TQString::fromLatin1("regio"))
return;
}
@ -1917,8 +1917,8 @@ TQString KateCSAndSIndent::calcIndent (const KateDocCursor &begin)
// if the line starts with # (but isn't a c# region thingy), no indentation at all.
if( currLineFirst >= 0 && currLine->getChar(currLineFirst) == '#' )
{
if( !currLine->stringAtPos( currLineFirst+1, TQString::tqfromLatin1("region") ) &&
!currLine->stringAtPos( currLineFirst+1, TQString::tqfromLatin1("endregion") ) )
if( !currLine->stringAtPos( currLineFirst+1, TQString::fromLatin1("region") ) &&
!currLine->stringAtPos( currLineFirst+1, TQString::fromLatin1("endregion") ) )
return TQString::null;
}
@ -1974,10 +1974,10 @@ TQString KateCSAndSIndent::calcIndent (const KateDocCursor &begin)
{
#define ARRLEN( array ) ( sizeof(array)/sizeof(array[0]) )
for( uint n = 0; n < ARRLEN(scopeKeywords); ++n )
if( textLine->stringAtPos(pos, TQString::tqfromLatin1(scopeKeywords[n]) ) )
if( textLine->stringAtPos(pos, TQString::fromLatin1(scopeKeywords[n]) ) )
return calcIndentAfterKeyword( begin, cur, pos, false );
for( uint n = 0; n < ARRLEN(blockScopeKeywords); ++n )
if( textLine->stringAtPos(pos, TQString::tqfromLatin1(blockScopeKeywords[n]) ) )
if( textLine->stringAtPos(pos, TQString::fromLatin1(blockScopeKeywords[n]) ) )
return calcIndentAfterKeyword( begin, cur, pos, true );
#undef ARRLEN
}
@ -2070,7 +2070,7 @@ TQString KateCSAndSIndent::calcIndentInBrace(const KateDocCursor &indentCursor,
// beginning 'namespace'. that's 99% of usage, I'd guess.
{
if( braceFirst >= 0 && braceLine->attribute(braceFirst) == keywordAttrib &&
braceLine->stringAtPos( braceFirst, TQString::tqfromLatin1( "namespace" ) ) )
braceLine->stringAtPos( braceFirst, TQString::fromLatin1( "namespace" ) ) )
return continuationIndent(indentCursor) + whitespaceToOpenBrace;
if( braceCursor.line() > 0 )
@ -2078,7 +2078,7 @@ TQString KateCSAndSIndent::calcIndentInBrace(const KateDocCursor &indentCursor,
KateTextLine::Ptr prevLine = doc->plainKateTextLine(braceCursor.line() - 1);
int firstPrev = prevLine->firstChar();
if( firstPrev >= 0 && prevLine->attribute(firstPrev) == keywordAttrib &&
prevLine->stringAtPos( firstPrev, TQString::tqfromLatin1( "namespace" ) ) )
prevLine->stringAtPos( firstPrev, TQString::fromLatin1( "namespace" ) ) )
return continuationIndent(indentCursor) + whitespaceToOpenBrace;
}
}


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

@ -408,7 +408,7 @@ int KateCommands::SedReplace::sedMagic( KateDocument *doc, int &line,
TQString rep=repOld;
// now set the backreferences in the replacement
TQStringList backrefs=matcher.tqcapturedTexts();
TQStringList backrefs=matcher.capturedTexts();
int refnum=1;
TQStringList::Iterator i = backrefs.begin();
@ -593,10 +593,10 @@ bool KateCommands::Date::exec (Kate::View *view, const TQString &cmd, TQString &
if (cmd.left(4) != "date")
return false;
if (TQDateTime::tqcurrentDateTime().toString(cmd.mid(5, cmd.length()-5)).length() > 0)
view->insertText(TQDateTime::tqcurrentDateTime().toString(cmd.mid(5, cmd.length()-5)));
if (TQDateTime::currentDateTime().toString(cmd.mid(5, cmd.length()-5)).length() > 0)
view->insertText(TQDateTime::currentDateTime().toString(cmd.mid(5, cmd.length()-5)));
else
view->insertText(TQDateTime::tqcurrentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
view->insertText(TQDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
return true;
}


+ 1
- 1
kate/part/katecodecompletion.cpp View File

@ -384,7 +384,7 @@ void KateCodeCompletion::showComment()
m_completionListBox->ensureCurrentVisible();
finalPoint.setY(
m_completionListBox->viewport()->mapToGlobal(m_completionListBox->tqitemRect(
m_completionListBox->viewport()->mapToGlobal(m_completionListBox->itemRect(
m_completionListBox->item(m_completionListBox->currentItem())).topLeft()).y());
m_commentLabel->move(finalPoint);


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

@ -422,7 +422,7 @@ TQTextCodec *KateDocumentConfig::codec ()
if (m_encodingSet || isGlobal())
{
if (m_encoding.isEmpty() && isGlobal())
return KGlobal::charsets()->codecForName (TQString::tqfromLatin1(KGlobal::locale()->encoding()));
return KGlobal::charsets()->codecForName (TQString::fromLatin1(KGlobal::locale()->encoding()));
else if (m_encoding.isEmpty())
return s_global->codec ();
else


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

@ -2316,7 +2316,7 @@ bool KateDocument::openURL( const KURL &url )
w = m_views.first();
if (w)
m_job->setWindow (w->tqtopLevelWidget());
m_job->setWindow (w->topLevelWidget());
emit started( m_job );
@ -3195,7 +3195,7 @@ void KateDocument::backspace( KateView *view, const KateTextCursor& c )
if (!textLine)
return;
if (config()->wordWrap() && textLine->endingWith(TQString::tqfromLatin1(" ")))
if (config()->wordWrap() && textLine->endingWith(TQString::fromLatin1(" ")))
{
// gg: in hard wordwrap mode, backspace must also eat the trailing space
removeText (line-1, textLine->length()-1, line, 0);


+ 1
- 1
kate/part/katehighlight.cpp View File

@ -958,7 +958,7 @@ int KateHlRegExpr::checkHgl(const TQString& text, int offset, int /*len*/)
TQStringList *KateHlRegExpr::capturedTexts()
{
return new TQStringList(Expr->tqcapturedTexts());
return new TQStringList(Expr->capturedTexts());
}
KateHlItem *KateHlRegExpr::clone(const TQStringList *args)


+ 1
- 1
kate/part/katejscript.cpp View File

@ -1135,7 +1135,7 @@ void KateIndentJScriptManager::parseScriptHeader(const TQString &filePath,
if (currentState==NOTHING)
{
if (keyValue.exactMatch(line)) {
TQStringList sl=keyValue.tqcapturedTexts();
TQStringList sl=keyValue.capturedTexts();
kdDebug(13050)<<"key:"<<sl[1]<<endl<<"value:"<<sl[2]<<endl;
kdDebug(13050)<<"key-length:"<<sl[1].length()<<endl<<"value-length:"<<sl[2].length()<<endl;
TQString key=sl[1];


+ 1
- 1
kate/part/kateprinter.cpp View File

@ -184,7 +184,7 @@ bool KatePrinter::print (KateDocument *doc)
// This retrieves all tags, ued or not, but
// none of theese operations should be expensive,
// and searcing each tag in the format strings is avoided.
TQDateTime dt = TQDateTime::tqcurrentDateTime();
TQDateTime dt = TQDateTime::currentDateTime();
TQMap<TQString,TQString> tags;
KUser u (KUser::UseRealUserID);


+ 3
- 3
kate/part/katerenderer.cpp View File

@ -537,13 +537,13 @@ void KateRenderer::paintTextLine(TQPainter& paint, const KateLineRange* range, i
if (isIMSel && !isTab)
{
// input method selection
fillColor = m_view->tqcolorGroup().color(TQColorGroup::Foreground);
fillColor = m_view->colorGroup().color(TQColorGroup::Foreground);
}
else if (isIMEdit && !isTab)
{
// XIM support
// input method edit area
const TQColorGroup& cg = m_view->tqcolorGroup();
const TQColorGroup& cg = m_view->colorGroup();
int h1, s1, v1, h2, s2, v2;
TQColor(cg.color( TQColorGroup::Base )).hsv( &h1, &s1, &v1 );
TQColor(cg.color( TQColorGroup::Background )).hsv( &h2, &s2, &v2 );
@ -576,7 +576,7 @@ void KateRenderer::paintTextLine(TQPainter& paint, const KateLineRange* range, i
if (isIMSel && paintBackground && !isTab)
{
paint.save();
paint.setPen( m_view->tqcolorGroup().color( TQColorGroup::BrightText ) );
paint.setPen( m_view->colorGroup().color( TQColorGroup::BrightText ) );
}
// Draw indentation markers.


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

@ -1088,9 +1088,9 @@ void KateStyleListView::showPopupMenu( KateStyleListItem *i, const TQPoint &glob
TQPixmap scl(16,16);
scl.fill( i->style()->selectedTextColor() );
TQPixmap bgcl(16,16);
bgcl.fill( i->style()->itemSet(KateAttribute::BGColor) ? i->style()->bgColor() : viewport()->tqcolorGroup().base() );
bgcl.fill( i->style()->itemSet(KateAttribute::BGColor) ? i->style()->bgColor() : viewport()->colorGroup().base() );
TQPixmap sbgcl(16,16);
sbgcl.fill( i->style()->itemSet(KateAttribute::SelectedBGColor) ? i->style()->selectedBGColor() : viewport()->tqcolorGroup().base() );
sbgcl.fill( i->style()->itemSet(KateAttribute::SelectedBGColor) ? i->style()->selectedBGColor() : viewport()->colorGroup().base() );
if ( showtitle )
m.insertTitle( i->contextName(), KateStyleListItem::ContextName );
@ -1156,7 +1156,7 @@ void KateStyleListView::slotMousePressed(int btn, TQListViewItem* i, const TQPoi
if ( dynamic_cast<KateStyleListItem*>(i) ) {
if ( btn == Qt::LeftButton && c > 0 ) {
// map pos to item/column and call KateStyleListItem::activate(col, pos)
((KateStyleListItem*)i)->activate( c, viewport()->mapFromGlobal( pos ) - TQPoint( 0, tqitemRect(i).top() ) );
((KateStyleListItem*)i)->activate( c, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(i).top() ) );
}
}
}
@ -1465,7 +1465,7 @@ void KateStyleListItem::paintCell( TQPainter *p, const TQColorGroup& /*cg*/, int
Q_ASSERT( lv ); //###
// use a private color group and set the text/highlighted text colors
TQColorGroup mcg = lv->viewport()->tqcolorGroup();
TQColorGroup mcg = lv->viewport()->colorGroup();
if ( col ) // col 0 is drawn by the superclass method
p->fillRect( 0, 0, width, height(), TQBrush( mcg.base() ) );
@ -1602,7 +1602,7 @@ void KateStyleListCaption::paintCell( TQPainter *p, const TQColorGroup& /*cg*/,
Q_ASSERT( lv ); //###
// use the same colorgroup as the other items in the viewport
TQColorGroup mcg = lv->viewport()->tqcolorGroup();
TQColorGroup mcg = lv->viewport()->colorGroup();
TQListViewItem::paintCell( p, mcg, col, width, align );
}


+ 1
- 1
kate/part/kateview.cpp View File

@ -793,7 +793,7 @@ void KateView::contextMenuEvent( TQContextMenuEvent *ev )
if ( !m_doc || !m_doc->browserExtension() )
return;
emit m_doc->browserExtension()->popupMenu( /*this, */ev->globalPos(), m_doc->url(),
TQString::tqfromLatin1( "text/plain" ) );
TQString::fromLatin1( "text/plain" ) );
ev->accept();
}


+ 1
- 1
kate/part/kateviewinternal.h View File

@ -222,7 +222,7 @@ class KateViewInternal : public TQWidget
int scrollX;
int scrollY;
TQt::tqCursorShape m_mouseCursor;
TQt::CursorShape m_mouseCursor;
KateSuperCursor cursor;
KateTextCursor displayCursor;


+ 1
- 1
kate/part/test_regression.cpp View File

@ -935,7 +935,7 @@ void RegressionTest::doFailureReport( const TQString& test, int failures )
if ( failures & ResultFailure ) {
domDiff += "<pre>";
FILE *pipe = popen( TQString::tqfromLatin1( "diff -u baseline/%1-result %3/%2-result" )
FILE *pipe = popen( TQString::fromLatin1( "diff -u baseline/%1-result %3/%2-result" )
.arg ( test, test, relOutputDir ).latin1(), "r" );
TQTextIStream *is = new TQTextIStream( pipe );
for ( int line = 0; line < 100 && !is->eof(); ++line ) {


+ 4
- 4
kcert/kcertpart.cc View File

@ -636,7 +636,7 @@ void KCertPart::displayCACert(KSSLCertificate *c) {
// Set the valid period
TQPalette cspl = _ca_validFrom->palette();
if (TQDateTime::tqcurrentDateTime() < c->getQDTNotBefore()) {
if (TQDateTime::currentDateTime() < c->getQDTNotBefore()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@ -645,7 +645,7 @@ void KCertPart::displayCACert(KSSLCertificate *c) {
_ca_validFrom->setText(c->getNotBefore());
cspl = _ca_validUntil->palette();
if (TQDateTime::tqcurrentDateTime() > c->getQDTNotAfter()) {
if (TQDateTime::currentDateTime() > c->getQDTNotAfter()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@ -677,7 +677,7 @@ void KCertPart::displayPKCS12Cert(KSSLCertificate *c) {
// Set the valid period
TQPalette cspl = _p12_validFrom->palette();
if (TQDateTime::tqcurrentDateTime() < c->getQDTNotBefore()) {
if (TQDateTime::currentDateTime() < c->getQDTNotBefore()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@ -686,7 +686,7 @@ void KCertPart::displayPKCS12Cert(KSSLCertificate *c) {
_p12_validFrom->setText(c->getNotBefore());
cspl = _p12_validUntil->palette();
if (TQDateTime::tqcurrentDateTime() > c->getQDTNotAfter()) {
if (TQDateTime::currentDateTime() > c->getQDTNotAfter()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));


+ 1
- 1
kconf_update/kconf_update.cpp View File

@ -201,7 +201,7 @@ KonfUpdate::log()
}
}
(*m_textStream) << TQDateTime::tqcurrentDateTime().toString( Qt::ISODate ) << " ";
(*m_textStream) << TQDateTime::currentDateTime().toString( Qt::ISODate ) << " ";
return *m_textStream;
}