Browse Source

rename the following methods:

tqfind find
tqreplace replace
tqcontains contains


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 9 years ago
parent
commit
6e21bc798b
469 changed files with 2191 additions and 2191 deletions
  1. +1
    -1
      arts/kde/kplayobjectfactory.cc
  2. +4
    -4
      arts/knotify/knotify.cpp
  3. +15
    -15
      dcop/client/dcop.cpp
  4. +4
    -4
      dcop/client/dcopfind.cpp
  5. +3
    -3
      dcop/client/marshall.cpp
  6. +9
    -9
      dcop/dcopclient.cpp
  7. +2
    -2
      dcop/dcopidl/scanner.cc
  8. +1
    -1
      dcop/dcopidl/yacc.cc
  9. +1
    -1
      dcop/dcopidl/yacc.yy
  10. +3
    -3
      dcop/dcopidl2cpp/main.cpp
  11. +2
    -2
      dcop/dcopidl2cpp/skel.cpp
  12. +5
    -5
      dcop/dcopidl2cpp/stub.cpp
  13. +1
    -1
      dcop/dcopidl2cpp/stubimpl.cpp
  14. +1
    -1
      dcop/dcopobject.cpp
  15. +4
    -4
      dcop/dcopref.cpp
  16. +17
    -17
      dcop/dcopserver.cpp
  17. +1
    -1
      dcop/dcopserver.h
  18. +9
    -9
      dcop/dcopsignals.cpp
  19. +1
    -1
      dnssd/domainbrowser.cpp
  20. +2
    -2
      dnssd/servicebase.cpp
  21. +5
    -5
      interfaces/kimproxy/library/kimproxy.cpp
  22. +1
    -1
      interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.cpp
  23. +1
    -1
      interfaces/ktexteditor/editorchooser.cpp
  24. +1
    -1
      interfaces/ktexteditor/templateinterface.cpp
  25. +5
    -5
      kab/qconfigDB.cc
  26. +8
    -8
      kabc/address.cpp
  27. +2
    -2
      kabc/addresseedialog.cpp
  28. +16
    -16
      kabc/addresslineedit.cpp
  29. +1
    -1
      kabc/distributionlist.cpp
  30. +5
    -5
      kabc/kab2kabc.cpp
  31. +3
    -3
      kabc/ldapclient.cpp
  32. +2
    -2
      kabc/ldapurl.cpp
  33. +1
    -1
      kabc/ldif.cpp
  34. +4
    -4
      kabc/ldifconverter.cpp
  35. +1
    -1
      kabc/plugins/dir/resourcedirconfig.cpp
  36. +1
    -1
      kabc/plugins/file/resourcefileconfig.cpp
  37. +21
    -21
      kabc/plugins/ldapkio/resourceldapkio.cpp
  38. +1
    -1
      kabc/plugins/ldapkio/resourceldapkioconfig.cpp
  39. +1
    -1
      kabc/plugins/net/resourcenetconfig.cpp
  40. +2
    -2
      kabc/plugins/sql/resourcesql.cpp
  41. +1
    -1
      kabc/resource.cpp
  42. +10
    -10
      kabc/scripts/addressee.src.cpp
  43. +1
    -1
      kabc/vcard/AdrParam.cpp
  44. +6
    -6
      kabc/vcard/ContentLine.cpp
  45. +5
    -5
      kabc/vcard/DateValue.cpp
  46. +1
    -1
      kabc/vcard/GeoValue.cpp
  47. +1
    -1
      kabc/vcard/SourceParam.cpp
  48. +1
    -1
      kabc/vcard/URIValue.cpp
  49. +1
    -1
      kabc/vcard/UTCValue.cpp
  50. +4
    -4
      kabc/vcard/VCard.cpp
  51. +2
    -2
      kabc/vcard/VCardEntity.cpp
  52. +52
    -52
      kabc/vcard21parser.cpp
  53. +3
    -3
      kabc/vcardformatimpl.cpp
  54. +3
    -3
      kabc/vcardparser/vcard.cpp
  55. +3
    -3
      kabc/vcardparser/vcardline.cpp
  56. +5
    -5
      kabc/vcardparser/vcardparser.cpp
  57. +19
    -19
      kabc/vcardtool.cpp
  58. +2
    -2
      kate/part/katearbitraryhighlight.cpp
  59. +30
    -30
      kate/part/kateautoindent.cpp
  60. +1
    -1
      kate/part/katebookmarks.cpp
  61. +3
    -3
      kate/part/katecmds.cpp
  62. +1
    -1
      kate/part/katecodefoldinghelpers.h
  63. +2
    -2
      kate/part/katedialogs.cpp
  64. +15
    -15
      kate/part/katedocument.cpp
  65. +7
    -7
      kate/part/katefiletype.cpp
  66. +24
    -24
      kate/part/katehighlight.cpp
  67. +1
    -1
      kate/part/katehighlight.h
  68. +2
    -2
      kate/part/kateprinter.cpp
  69. +9
    -9
      kate/part/kateschema.cpp
  70. +4
    -4
      kate/part/katesearch.cpp
  71. +1
    -1
      kate/part/katespell.cpp
  72. +1
    -1
      kate/part/katesupercursor.cpp
  73. +2
    -2
      kate/part/katetextline.cpp
  74. +1
    -1
      kate/part/kateview.cpp
  75. +1
    -1
      kate/part/test_regression.cpp
  76. +2
    -2
      kate/plugins/kdatatool/kate_kdatatool.cpp
  77. +1
    -1
      kcert/kcertpart.cc
  78. +18
    -18
      kconf_update/kconf_update.cpp
  79. +3
    -3
      kdecore/kaccel.cpp
  80. +8
    -8
      kdecore/kaccelbase.cpp
  81. +15
    -15
      kdecore/kaccelmanager.cpp
  82. +13
    -13
      kdecore/kapplication.cpp
  83. +7
    -7
      kdecore/kcharsets.cpp
  84. +2
    -2
      kdecore/kclipboard.cpp
  85. +6
    -6
      kdecore/kcmdlineargs.cpp
  86. +2
    -2
      kdecore/kcompletion.cpp
  87. +1
    -1
      kdecore/kcompletionbase.cpp
  88. +5
    -5
      kdecore/kconfig.cpp
  89. +11
    -11
      kdecore/kconfig_compiler/kconfig_compiler.cpp
  90. +2
    -2
      kdecore/kconfigbackend.cpp
  91. +10
    -10
      kdecore/kconfigbase.cpp
  92. +6
    -6
      kdecore/kconfigdialogmanager.cpp
  93. +1
    -1
      kdecore/kconfigskeleton.cpp
  94. +3
    -3
      kdecore/kdcoppropertyproxy.cpp
  95. +24
    -24
      kdecore/kde-config.cpp.cmake
  96. +12
    -12
      kdecore/kde-config.cpp.in
  97. +2
    -2
      kdecore/kdebug.cpp
  98. +3
    -3
      kdecore/kdesktopfile.cpp
  99. +2
    -2
      kdecore/kglobal.cpp
  100. +5
    -5
      kdecore/kglobalaccel_x11.cpp
  101. +12
    -12
      kdecore/kiconloader.cpp
  102. +3
    -3
      kdecore/kicontheme.cpp
  103. +1
    -1
      kdecore/kinstance.cpp
  104. +5
    -5
      kdecore/klibloader.cpp
  105. +34
    -34
      kdecore/klocale.cpp
  106. +4
    -4
      kdecore/kmacroexpander.cpp
  107. +1
    -1
      kdecore/kmimesourcefactory.cpp
  108. +1
    -1
      kdecore/kpalette.cpp
  109. +1
    -1
      kdecore/kprocio.cpp
  110. +1
    -1
      kdecore/kprotocolinfofactory.cpp
  111. +5
    -5
      kdecore/krfcdate.cpp
  112. +9
    -9
      kdecore/krootprop.cpp
  113. +1
    -1
      kdecore/ksavefile.cpp
  114. +1
    -1
      kdecore/kshell.cpp
  115. +2
    -2
      kdecore/kshortcutmenu.cpp
  116. +1
    -1
      kdecore/ksockaddr.cpp
  117. +30
    -30
      kdecore/kstandarddirs.cpp
  118. +19
    -19
      kdecore/kstartupinfo.cpp
  119. +7
    -7
      kdecore/kstringhandler.cpp
  120. +2
    -2
      kdecore/ksycoca.cpp
  121. +15
    -15
      kdecore/kurl.cpp
  122. +1
    -1
      kdecore/kurldrag.cpp
  123. +2
    -2
      kdecore/kuser.cpp
  124. +4
    -4
      kdecore/kvmallocator.cpp
  125. +6
    -6
      kdecore/kwinmodule.cpp
  126. +1
    -1
      kdecore/kxmessages.cpp
  127. +3
    -3
      kdecore/network/khttpproxysocketdevice.cpp
  128. +3
    -3
      kdecore/network/kresolver.cpp
  129. +3
    -3
      kdecore/network/kresolverstandardworkers.cpp
  130. +1
    -1
      kdecore/network/ksocketaddress.cpp
  131. +3
    -3
      kdecore/network/ksocketbuffer.cpp
  132. +1
    -1
      kdecore/network/ksocketdevice.cpp
  133. +2
    -2
      kdecore/network/ksrvresolverworker.cpp
  134. +4
    -4
      kdecore/svgicons/ksvgiconpainter.cpp
  135. +3
    -3
      kded/kbuildservicefactory.cpp
  136. +5
    -5
      kded/kbuildservicegroupfactory.cpp
  137. +5
    -5
      kded/kbuildservicetypefactory.cpp
  138. +5
    -5
      kded/kbuildsycoca.cpp
  139. +2
    -2
      kded/kctimefactory.cpp
  140. +8
    -8
      kded/kded.cpp
  141. +2
    -2
      kded/kdedmodule.cpp
  142. +5
    -5
      kded/khostname.cpp
  143. +33
    -33
      kded/vfolder_menu.cpp
  144. +3
    -3
      kdefx/kstyle.cpp
  145. +1
    -1
      kdeprint/cups/cupsaddsmb2.cpp
  146. +1
    -1
      kdeprint/cups/cupsdconf2/addressdialog.cpp
  147. +2
    -2
      kdeprint/cups/cupsdconf2/cupsdbrowsingpage.cpp
  148. +2
    -2
      kdeprint/cups/cupsdconf2/cupsdcomment.cpp
  149. +12
    -12
      kdeprint/cups/cupsdconf2/cupsdconf.cpp
  150. +1
    -1
      kdeprint/cups/cupsdconf2/cupsddialog.cpp
  151. +3
    -3
      kdeprint/cups/cupsdconf2/editlist.cpp
  152. +1
    -1
      kdeprint/cups/cupsdconf2/locationdialog.cpp
  153. +2
    -2
      kdeprint/cups/cupsdconf2/portdialog.cpp
  154. +1
    -1
      kdeprint/cups/cupsdconf2/sizewidget.cpp
  155. +2
    -2
      kdeprint/cups/kcupsprinterimpl.cpp
  156. +7
    -7
      kdeprint/cups/kmcupsjobmanager.cpp
  157. +9
    -9
      kdeprint/cups/kmcupsmanager.cpp
  158. +4
    -4
      kdeprint/cups/kmwbanners.cpp
  159. +2
    -2
      kdeprint/cups/kmwother.cpp
  160. +2
    -2
      kdeprint/cups/kphpgl2page.cpp
  161. +1
    -1
      kdeprint/cups/kptagspage.cpp
  162. +1
    -1
      kdeprint/cups/kptextpage.cpp
  163. +4
    -4
      kdeprint/driver.cpp
  164. +2
    -2
      kdeprint/driver.h
  165. +2
    -2
      kdeprint/droptionview.cpp
  166. +2
    -2
      kdeprint/foomatic/kmfoomaticmanager.cpp
  167. +5
    -5
      kdeprint/foomatic2loader.cpp
  168. +1
    -1
      kdeprint/kdeprintd.cpp
  169. +2
    -2
      kdeprint/kmdbentry.cpp
  170. +1
    -1
      kdeprint/kmfactory.cpp
  171. +2
    -2
      kdeprint/kmjobmanager.cpp
  172. +1
    -1
      kdeprint/kmmanager.cpp
  173. +2
    -2
      kdeprint/kmprinter.cpp
  174. +1
    -1
      kdeprint/kmprinter.h
  175. +3
    -3
      kdeprint/kmthreadjob.cpp
  176. +6
    -6
      kdeprint/kpfilterpage.cpp
  177. +2
    -2
      kdeprint/kpposterpage.cpp
  178. +4
    -4
      kdeprint/kpqtpage.cpp
  179. +1
    -1
      kdeprint/kprintdialog.cpp
  180. +4
    -4
      kdeprint/kprinter.cpp
  181. +4
    -4
      kdeprint/kprinterimpl.cpp
  182. +9
    -9
      kdeprint/kxmlcommand.cpp
  183. +1
    -1
      kdeprint/lpd/gschecker.cpp
  184. +8
    -8
      kdeprint/lpd/kmlpdmanager.cpp
  185. +7
    -7
      kdeprint/lpd/lpdtools.cpp
  186. +9
    -9
      kdeprint/lpdunix/kmlpdunixmanager.cpp
  187. +4
    -4
      kdeprint/lpr/apshandler.cpp
  188. +7
    -7
      kdeprint/lpr/kmlprmanager.cpp
  189. +12
    -12
      kdeprint/lpr/lpchelper.cpp
  190. +3
    -3
      kdeprint/lpr/lpqhelper.cpp
  191. +2
    -2
      kdeprint/lpr/lprhandler.cpp
  192. +9
    -9
      kdeprint/lpr/lprngtoolhandler.cpp
  193. +8
    -8
      kdeprint/lpr/matichandler.cpp
  194. +1
    -1
      kdeprint/lpr/matichelper.cpp
  195. +1
    -1
      kdeprint/lpr/printcapentry.h
  196. +4
    -4
      kdeprint/lpr/printcapreader.cpp
  197. +1
    -1
      kdeprint/management/cjanuswidget.cpp
  198. +1
    -1
      kdeprint/management/kmconfigfilter.cpp
  199. +1
    -1
      kdeprint/management/kmdbcreator.cpp
  200. +10
    -10
      kdeprint/management/kmdriverdb.cpp
  201. +5
    -5
      kdeprint/management/kmdriverdbwidget.cpp
  202. +4
    -4
      kdeprint/management/kminstancepage.cpp
  203. +1
    -1
      kdeprint/management/kmjobviewer.cpp
  204. +1
    -1
      kdeprint/management/kmspecialprinterdlg.cpp
  205. +1
    -1
      kdeprint/management/kmwbackend.cpp
  206. +1
    -1
      kdeprint/management/kmwclass.cpp
  207. +1
    -1
      kdeprint/management/kmwdriver.cpp
  208. +2
    -2
      kdeprint/management/kmwizard.cpp
  209. +2
    -2
      kdeprint/management/kmwlocal.cpp
  210. +1
    -1
      kdeprint/management/kmwname.cpp
  211. +1
    -1
      kdeprint/management/kmwsocketutil.cpp
  212. +13
    -13
      kdeprint/management/kxmlcommanddlg.cpp
  213. +3
    -3
      kdeprint/management/kxmlcommandselector.cpp
  214. +1
    -1
      kdeprint/management/networkscanner.cpp
  215. +2
    -2
      kdeprint/management/smbview.cpp
  216. +3
    -3
      kdeprint/messagewindow.cpp
  217. +1
    -1
      kdeprint/plugincombobox.cpp
  218. +3
    -3
      kdeprint/posterpreview.cpp
  219. +4
    -4
      kdeprint/ppdloader.cpp
  220. +1
    -1
      kdeprint/ppdscanner.cpp
  221. +1
    -1
      kdeprint/ppdscanner.l
  222. +1
    -1
      kdeprint/printerfilter.cpp
  223. +1
    -1
      kdeprint/rlpr/kmrlprmanager.cpp
  224. +2
    -2
      kdeprint/rlpr/kmwrlpr.cpp
  225. +1
    -1
      kdeprint/treecombobox.cpp
  226. +5
    -5
      kdeprint/util.cpp
  227. +4
    -4
      kdesu/client.cpp
  228. +1
    -1
      kdesu/kcookie.cpp
  229. +3
    -3
      kdesu/process.cpp
  230. +2
    -2
      kdesu/ssh.cpp
  231. +1
    -1
      kdesu/stub.cpp
  232. +4
    -4
      kdeui/kaccelgen.h
  233. +1
    -1
      kdeui/kaction.cpp
  234. +9
    -9
      kdeui/kactionclasses.cpp
  235. +1
    -1
      kdeui/kactioncollection.cpp
  236. +1
    -1
      kdeui/kbugreport.cpp
  237. +1
    -1
      kdeui/kcharselect.cpp
  238. +1
    -1
      kdeui/kcmenumngr.cpp
  239. +2
    -2
      kdeui/kcolordialog.cpp
  240. +1
    -1
      kdeui/kcombobox.cpp
  241. +9
    -9
      kdeui/kcommand.cpp
  242. +1
    -1
      kdeui/kconfigdialog.cpp
  243. +2
    -2
      kdeui/kcursor.cpp
  244. +1
    -1
      kdeui/kdatetbl.cpp
  245. +8
    -8
      kdeui/kdetrayproxy/kdetrayproxy.cpp
  246. +11
    -11
      kdeui/kdockwidget.cpp
  247. +1
    -1
      kdeui/keditcl1.cpp
  248. +7
    -7
      kdeui/keditcl2.cpp
  249. +2
    -2
      kdeui/keditlistbox.cpp
  250. +3
    -3
      kdeui/kedittoolbar.cpp
  251. +2
    -2
      kdeui/kfontcombo.cpp
  252. +11
    -11
      kdeui/kfontdialog.cpp
  253. +3
    -3
      kdeui/kiconview.cpp
  254. +1
    -1
      kdeui/kiconviewsearchline.cpp
  255. +2
    -2
      kdeui/kinputdialog.cpp
  256. +4
    -4
      kdeui/kjanuswidget.cpp
  257. +4
    -4
      kdeui/klanguagebutton.cpp
  258. +2
    -2
      kdeui/klineedit.cpp
  259. +3
    -3
      kdeui/klistview.cpp
  260. +4
    -4
      kdeui/klistviewsearchline.cpp
  261. +1
    -1
      kdeui/kmenubar.cpp
  262. +6
    -6
      kdeui/knumvalidator.cpp
  263. +3
    -3
      kdeui/kpanelapplet.cpp
  264. +5
    -5
      kdeui/kpassdlg.cpp
  265. +12
    -12
      kdeui/kpopupmenu.cpp
  266. +5
    -5
      kdeui/ksconfig.cpp
  267. +14
    -14
      kdeui/kspell.cpp
  268. +3
    -3
      kdeui/kstringvalidator.cpp
  269. +1
    -1
      kdeui/kswitchlanguagedialog.cpp
  270. +9
    -9
      kdeui/ksyntaxhighlighter.cpp
  271. +5
    -5
      kdeui/ktabbar.cpp
  272. +1
    -1
      kdeui/ktextbrowser.cpp
  273. +2
    -2
      kdeui/ktip.cpp
  274. +12
    -12
      kdeui/ktoolbar.cpp
  275. +1
    -1
      kdeui/ktoolbarhandler.cpp
  276. +3
    -3
      kdeui/ktoolbarradiogroup.cpp
  277. +7
    -7
      kdeui/kxmlguiclient.cpp
  278. +1
    -1
      kdeui/kxmlguifactory.cpp
  279. +7
    -7
      kdeui/kxmlguifactory_p.cpp
  280. +1
    -1
      kdeui/qxembed.cpp
  281. +1
    -1
      kdewidgets/makekdewidgets.cpp
  282. +10
    -10
      kdoctools/kio_help.cpp
  283. +4
    -4
      kdoctools/meinproc.cpp
  284. +4
    -4
      kdoctools/xslt.cpp
  285. +3
    -3
      khtml/css/css_stylesheetimpl.cpp
  286. +4
    -4
      khtml/css/css_valueimpl.cpp
  287. +13
    -13
      khtml/css/cssstyleselector.cpp
  288. +1
    -1
      khtml/dom/css_value.cpp
  289. +1
    -1
      khtml/ecma/kjs_binding.cpp
  290. +1
    -1
      khtml/ecma/kjs_binding.h
  291. +1
    -1
      khtml/ecma/kjs_css.cpp
  292. +1
    -1
      khtml/ecma/kjs_debugwin.cpp
  293. +14
    -14
      khtml/ecma/kjs_navigator.cpp
  294. +5
    -5
      khtml/ecma/kjs_proxy.cpp
  295. +6
    -6
      khtml/ecma/kjs_window.cpp
  296. +12
    -12
      khtml/ecma/xmlhttprequest.cpp
  297. +9
    -9
      khtml/html/html_documentimpl.cpp
  298. +6
    -6
      khtml/html/html_formimpl.cpp
  299. +1
    -1
      khtml/html/html_miscimpl.cpp
  300. +3
    -3
      khtml/html/html_objectimpl.cpp
  301. +2
    -2
      khtml/html/htmltokenizer.cpp
  302. +6
    -6
      khtml/java/kjavaappletserver.cpp
  303. +1
    -1
      khtml/java/kjavaappletviewer.cpp
  304. +1
    -1
      khtml/khtml_ext.cpp
  305. +1
    -1
      khtml/khtml_factory.cpp
  306. +6
    -6
      khtml/khtml_pagecache.cpp
  307. +19
    -19
      khtml/khtml_part.cpp
  308. +8
    -8
      khtml/khtml_settings.cc
  309. +10
    -10
      khtml/khtmlview.cpp
  310. +1
    -1
      khtml/kmultipart/kmultipart.cpp
  311. +4
    -4
      khtml/misc/decoder.cpp
  312. +8
    -8
      khtml/misc/loader.cpp
  313. +3
    -3
      khtml/misc/multimap.h
  314. +4
    -4
      khtml/rendering/render_canvas.cpp
  315. +7
    -7
      khtml/rendering/render_frames.cpp
  316. +1
    -1
      khtml/rendering/render_object.cpp
  317. +1
    -1
      khtml/rendering/render_table.cpp
  318. +2
    -2
      khtml/test_regression.cpp
  319. +1
    -1
      khtml/testkhtml.cpp
  320. +2
    -2
      khtml/xml/dom2_eventsimpl.cpp
  321. +16
    -16
      khtml/xml/dom_docimpl.cpp
  322. +1
    -1
      khtml/xml/dom_docimpl.h
  323. +1
    -1
      khtml/xml/dom_nodeimpl.cpp
  324. +4
    -4
      khtml/xml/dom_stringimpl.cpp
  325. +2
    -2
      khtml/xml/xml_tokenizer.cpp
  326. +6
    -6
      kinit/autostart.cpp
  327. +8
    -8
      kinit/kinit.cpp
  328. +2
    -2
      kinit/klauncher.cpp
  329. +2
    -2
      kio/bookmarks/dptrtemplate.h
  330. +2
    -2
      kio/bookmarks/kbookmark.h
  331. +1
    -1
      kio/bookmarks/kbookmarkimporter_crash.cc
  332. +1
    -1
      kio/bookmarks/kbookmarkimporter_kde1.cc
  333. +6
    -6
      kio/bookmarks/kbookmarkimporter_ns.cc
  334. +2
    -2
      kio/bookmarks/kbookmarkmenu.cc
  335. +1
    -1
      kio/kfile/images.h
  336. +4
    -4
      kio/kfile/kacleditwidget.cpp
  337. +2
    -2
      kio/kfile/kdiroperator.cpp
  338. +1
    -1
      kio/kfile/kdirselectdialog.cpp
  339. +11
    -11
      kio/kfile/kdiskfreesp.cpp
  340. +16
    -16
      kio/kfile/kfiledialog.cpp
  341. +4
    -4
      kio/kfile/kfilefiltercombo.cpp
  342. +3
    -3
      kio/kfile/kfileiconview.cpp
  343. +7
    -7
      kio/kfile/kfilemetapreview.cpp
  344. +1
    -1
      kio/kfile/kfiletreebranch.cpp
  345. +2
    -2
      kio/kfile/kfiletreeview.cpp
  346. +1
    -1
      kio/kfile/kicondialog.cpp
  347. +1
    -1
      kio/kfile/kmetaprops.cpp
  348. +5
    -5
      kio/kfile/knotifydialog.cpp
  349. +7
    -7
      kio/kfile/kopenwith.cpp
  350. +1
    -1
      kio/kfile/kpreviewwidgetbase.h
  351. +14
    -14
      kio/kfile/kpropertiesdialog.cpp
  352. +1
    -1
      kio/kfile/kurlcombobox.cpp
  353. +1
    -1
      kio/kio/authinfo.cpp
  354. +1
    -1
      kio/kio/dataprotocol.cpp
  355. +2
    -2
      kio/kio/global.cpp
  356. +1
    -1
      kio/kio/global.h
  357. +14
    -14
      kio/kio/job.cpp
  358. +2
    -2
      kio/kio/kacl.cpp
  359. +1
    -1
      kio/kio/kar.cpp
  360. +4
    -4
      kio/kio/karchive.cpp
  361. +2
    -2
      kio/kio/kdatatool.cpp
  362. +11
    -11
      kio/kio/kdirlister.cpp
  363. +5
    -5
      kio/kio/kdirwatch.cpp
  364. +3
    -3
      kio/kio/kfileitem.cpp
  365. +30
    -30
      kio/kio/kfilemetainfo.cpp
  366. +3
    -3
      kio/kio/kfileshare.cpp
  367. +2
    -2
      kio/kio/kimageio.cpp
  368. +3
    -3
      kio/kio/kmimemagic.cpp
  369. +3
    -3
      kio/kio/kmimetype.cpp
  370. +4
    -4
      kio/kio/kmimetypechooser.cpp
  371. +4
    -4
      kio/kio/knfsshare.cpp
  372. +2
    -2
      kio/kio/kprotocolmanager.cpp
  373. +8
    -8
      kio/kio/krun.cpp
  374. +2
    -2
      kio/kio/ksambashare.cpp
  375. +18
    -18
      kio/kio/kservice.cpp
  376. +3
    -3
      kio/kio/kservicegroup.cpp
  377. +6
    -6
      kio/kio/kservicetype.cpp
  378. +2
    -2
      kio/kio/kservicetypefactory.cpp
  379. +4
    -4
      kio/kio/kshellcompletion.cpp
  380. +2
    -2
      kio/kio/ktar.cpp
  381. +5
    -5
      kio/kio/ktraderparsetree.cpp
  382. +1
    -1
      kio/kio/kurifilter.cpp
  383. +6
    -6
      kio/kio/kurlcompletion.cpp
  384. +4
    -4
      kio/kio/kuserprofile.cpp
  385. +2
    -2
      kio/kio/kzip.cpp
  386. +1
    -1
      kio/kio/metainfojob.cpp
  387. +4
    -4
      kio/kio/netaccess.cpp
  388. +1
    -1
      kio/kio/passdlg.cpp
  389. +7
    -7
      kio/kio/previewjob.cpp
  390. +2
    -2
      kio/kio/renamedlg.cpp
  391. +21
    -21
      kio/kio/scheduler.cpp
  392. +5
    -5
      kio/kio/sessiondata.cpp
  393. +5
    -5
      kio/kio/slavebase.cpp
  394. +8
    -8
      kio/kio/slaveconfig.cpp
  395. +1
    -1
      kio/kio/tcpslavebase.cpp
  396. +13
    -13
      kio/kpasswdserver/kpasswdserver.cpp
  397. +1
    -1
      kio/kssl/kopenssl.cc
  398. +1
    -1
      kio/kssl/ksslcertificate.cc
  399. +1
    -1
      kio/kssl/ksslsettings.cc
  400. +5
    -5
      kio/kssl/ksslx509map.cc
  401. +4
    -4
      kio/misc/kdesasl/kdesasl.cpp
  402. +1
    -1
      kio/misc/kpac/discovery.cpp
  403. +2
    -2
      kio/misc/kpac/proxyscout.cpp
  404. +6
    -6
      kio/misc/ksendbugmail/smtp.cpp
  405. +7
    -7
      kio/misc/kssld/kssld.cpp
  406. +3
    -3
      kio/misc/kwalletd/ktimeout.cpp
  407. +28
    -28
      kio/misc/kwalletd/kwalletd.cpp
  408. +3
    -3
      kio/misc/uiserver.cpp
  409. +1
    -1
      kio/tests/dataprotocoltest.cpp
  410. +4
    -4
      kio/tests/kurlcompletiontest.cpp
  411. +2
    -2
      kioslave/file/file.cc
  412. +6
    -6
      kioslave/ftp/ftp.cc
  413. +14
    -14
      kioslave/http/http.cc
  414. +14
    -14
      kioslave/http/kcookiejar/kcookiejar.cpp
  415. +1
    -1
      kioslave/http/kcookiejar/kcookiewin.cpp
  416. +2
    -2
      kioslave/http/kcookiejar/tests/kcookiejartest.cpp
  417. +1
    -1
      kioslave/iso/iso.cpp
  418. +8
    -8
      kmdi/kmdi/dockcontainer.cpp
  419. +1
    -1
      kmdi/kmdi/mainwindow.cpp
  420. +3
    -3
      kmdi/kmdichildarea.cpp
  421. +2
    -2
      kmdi/kmdichildfrm.cpp
  422. +1
    -1
      kmdi/kmdichildview.cpp
  423. +8
    -8
      kmdi/kmdidockcontainer.cpp
  424. +5
    -5
      kmdi/kmdimainfrm.cpp
  425. +11
    -11
      knewstuff/downloaddialog.cpp
  426. +7
    -7
      knewstuff/entry.cpp
  427. +3
    -3
      knewstuff/provider.cpp
  428. +5
    -5
      knewstuff/security.cpp
  429. +2
    -2
      kparts/browserextension.cpp
  430. +1
    -1
      kparts/browserinterface.cpp
  431. +2
    -2
      kparts/browserrun.cpp
  432. +2
    -2
      kparts/historyprovider.cpp
  433. +8
    -8
      kparts/partmanager.cpp
  434. +2
    -2
      kparts/plugin.cpp
  435. +2
    -2
      kresources/configpage.cpp
  436. +5
    -5
      kresources/factory.cpp
  437. +6
    -6
      kresources/managerimpl.cpp
  438. +1
    -1
      kspell2/broker.cpp
  439. +4
    -4
      kspell2/settings.cpp
  440. +1
    -1
      kspell2/ui/dialog.cpp
  441. +1
    -1
      kspell2/ui/highlighter.cpp
  442. +2
    -2
      kstyles/asteroid/asteroid.cpp
  443. +3
    -3
      kstyles/highcolor/highcolor.cpp
  444. +2
    -2
      kstyles/highcontrast/highcontrast.cpp
  445. +2
    -2
      kstyles/keramik/genembed.cpp
  446. +1
    -1
      kstyles/keramik/gradients.cpp
  447. +2
    -2
      kstyles/keramik/keramik.cpp
  448. +1
    -1
      kstyles/keramik/pixmaploader.cpp
  449. +54
    -54
      kstyles/klegacy/klegacystyle.cpp
  450. +24
    -24
      kstyles/kthemestyle/kthemebase.cpp
  451. +2
    -2
      kstyles/kthemestyle/kthemestyle.cpp
  452. +2
    -2
      kstyles/light/lightstyle-v2.cpp
  453. +2
    -2
      kstyles/light/lightstyle-v3.cpp
  454. +7
    -7
      kstyles/plastik/plastik.cpp
  455. +1
    -1
      kstyles/utils/installtheme/main.cpp
  456. +1
    -1
      kstyles/web/webstyle.cpp
  457. +1
    -1
      kunittest/runner.cpp
  458. +3
    -3
      kunittest/tester.cpp
  459. +1
    -1
      kutils/kcmoduleproxy.cpp
  460. +2
    -2
      kutils/kcmultidialog.cpp
  461. +9
    -9
      kutils/kfind.cpp
  462. +2
    -2
      kutils/kpluginselector.cpp
  463. +2
    -2
      kutils/ksettings/dialog.cpp
  464. +3
    -3
      kutils/ksettings/dispatcher.cpp
  465. +13
    -13
      kwallet/backend/kwalletbackend.cc
  466. +1
    -1
      kwallet/backend/kwalletbackend.h
  467. +1
    -1
      libkmid/deviceman.cc
  468. +1
    -1
      networkstatus/networkstatus.cpp
  469. +3
    -3
      win/win32_utils2.cpp

+ 1
- 1
arts/kde/kplayobjectfactory.cc View File

@ -155,7 +155,7 @@ KDE::PlayObject *KDE::PlayObjectFactory::createPlayObject(const KURL& _url, cons
}
// decide if it's a local file. mpeglib provides cdda reading and decoding, so we prefer that over kio_audiocd
if ( url.isLocalFile() || !d->allowStreaming || (url.protocol() == "audiocd" && mimetype == "application/x-cda" && mimeTypes().tqcontains( "application/x-cda" ) ) )
if ( url.isLocalFile() || !d->allowStreaming || (url.protocol() == "audiocd" && mimetype == "application/x-cda" && mimeTypes().contains( "application/x-cda" ) ) )
{
// we rely on the delivered mimetype if it's a local file
d->playObj = new KDE::PlayObject( d->server.createPlayObjectForURL( string( TQFile::encodeName( url.path() ) ), string( mimetype.latin1() ), createBUS ), false );


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

@ -351,13 +351,13 @@ void KNotify::notify(const TQString &event, const TQString &fromApp,
if ( !event.isEmpty() ) {
// get config file
if ( d->events.tqcontains( fromApp ) ) {
if ( d->events.contains( fromApp ) ) {
eventsFile = d->events[fromApp];
} else {
eventsFile=new KConfig(locate("data", fromApp+"/eventsrc"),true,false);
d->events.insert( fromApp, eventsFile );
}
if ( d->configs.tqcontains( fromApp) ) {
if ( d->configs.contains( fromApp) ) {
configFile = d->configs[fromApp];
} else {
configFile=new KConfig(fromApp+".eventsrc",true,false);
@ -695,7 +695,7 @@ void KNotify::playTimeout()
++it;
if ( (*current)->state() != Arts::posPlaying )
{
TQMap<KDE::PlayObject*,int>::Iterator eit = d->playObjectEventMap.tqfind( *current );
TQMap<KDE::PlayObject*,int>::Iterator eit = d->playObjectEventMap.find( *current );
if ( eit != d->playObjectEventMap.end() )
{
soundFinished( *eit, PlayedOK );
@ -730,7 +730,7 @@ void KNotify::slotPlayerProcessExited( KProcess *proc )
void KNotify::abortFirstPlayObject()
{
#ifndef WITHOUT_ARTS
TQMap<KDE::PlayObject*,int>::Iterator it = d->playObjectEventMap.tqfind( d->playObjects.getFirst() );
TQMap<KDE::PlayObject*,int>::Iterator it = d->playObjectEventMap.find( d->playObjects.getFirst() );
if ( it != d->playObjectEventMap.end() )
{
soundFinished( it.data(), Aborted );


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

@ -159,8 +159,8 @@ void queryFunctions( const char* app, const char* obj )
int callFunction( const char* app, const char* obj, const char* func, const QCStringList args )
{
TQString f = func; // Qt is better with tqunicode strings, so use one.
int left = f.tqfind( '(' );
int right = f.tqfind( ')' );
int left = f.find( '(' );
int right = f.find( ')' );
if ( right < left )
{
@ -181,12 +181,12 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
return( 1 );
}
for ( QCStringList::Iterator it = funcs.begin(); it != funcs.end(); ++it ) {
int l = (*it).tqfind( '(' );
int l = (*it).find( '(' );
int s;
if (l > 0)
s = (*it).tqfindRev( ' ', l);
s = (*it).findRev( ' ', l);
else
s = (*it).tqfind( ' ' );
s = (*it).find( ' ' );
if ( s < 0 )
s = 0;
@ -195,8 +195,8 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
if ( l > 0 && (*it).mid( s, l - s ) == func ) {
realfunc = (*it).mid( s );
const TQString arguments = (*it).mid(l+1,(*it).tqfind( ')' )-l-1);
uint a = arguments.tqcontains(',');
const TQString arguments = (*it).mid(l+1,(*it).find( ')' )-l-1);
uint a = arguments.contains(',');
if ( (a==0 && !arguments.isEmpty()) || a>0)
a++;
if ( a == args.count() )
@ -209,8 +209,8 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
return( 1 );
}
f = realfunc;
left = f.tqfind( '(' );
right = f.tqfind( ')' );
left = f.find( '(' );
right = f.find( ')' );
}
doit:
@ -230,7 +230,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
for ( TQStringList::Iterator it = types.begin(); it != types.end(); ++it ) {
TQString lt = (*it).simplifyWhiteSpace();
int s = lt.tqfind(' ');
int s = lt.find(' ');
// If there are spaces in the name, there may be two
// reasons: the parameter name is still there, ie.
@ -250,7 +250,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
//
s=1;
while (s < static_cast<int>(partl.count()) && intTypes.tqcontains(partl[s]))
while (s < static_cast<int>(partl.count()) && intTypes.contains(partl[s]))
{
s++;
}
@ -464,9 +464,9 @@ int runDCOP( QCStringList args, UserList users, Session session,
QCStringList params;
DCOPClient *client = 0L;
int retval = 0;
if ( !args.isEmpty() && args[ 0 ].tqfind( "DCOPRef(" ) == 0 )
if ( !args.isEmpty() && args[ 0 ].find( "DCOPRef(" ) == 0 )
{
int delimPos = args[ 0 ].tqfindRev( ',' );
int delimPos = args[ 0 ].findRev( ',' );
if( delimPos == -1 )
{
cerr_ << "Error: '" << args[ 0 ]
@ -569,7 +569,7 @@ int runDCOP( QCStringList args, UserList users, Session session,
}
else if( !sessionName.isEmpty() )
{
if( sessions.tqcontains( sessionName ) )
if( sessions.contains( sessionName ) )
{
sessions.clear();
sessions.append( sessionName );
@ -861,7 +861,7 @@ int main( int argc, char** argv )
if (prog[prog.length()-1] != '*')
{
// Strip a trailing -<PID> part.
int i = prog.tqfindRev('-');
int i = prog.findRev('-');
if ((i >= 0) && prog.mid(i+1).toLong())
{
prog = prog.left(i);


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

@ -41,8 +41,8 @@ static bool bLaunchApp = 0;
bool findObject( const char* app, const char* obj, const char* func, QCStringList args )
{
TQString f = func; // Qt is better with tqunicode strings, so use one.
int left = f.tqfind( '(' );
int right = f.tqfind( ')' );
int left = f.find( '(' );
int right = f.find( ')' );
if ( right < left )
{
@ -66,7 +66,7 @@ bool findObject( const char* app, const char* obj, const char* func, QCStringLis
for ( TQStringList::Iterator it = types.begin(); it != types.end(); ++it ) {
TQString lt = (*it).simplifyWhiteSpace();
int s = lt.tqfind(' ');
int s = lt.find(' ');
// If there are spaces in the name, there may be two
// reasons: the parameter name is still there, ie.
@ -86,7 +86,7 @@ bool findObject( const char* app, const char* obj, const char* func, QCStringLis
//
s=1;
while (s < (int)partl.count() && intTypes.tqcontains(partl[s]))
while (s < (int)partl.count() && intTypes.contains(partl[s]))
{
s++;
}


+ 3
- 3
dcop/client/marshall.cpp View File

@ -205,7 +205,7 @@ TQCString demarshal( TQDataStream &stream, const TQString &type )
result = r.url().local8Bit();
} else if ( type.left( 11 ) == "TQValueList<" )
{
if ( (uint)type.tqfind( '>', 11 ) != type.length() - 1 )
if ( (uint)type.find( '>', 11 ) != type.length() - 1 )
return result;
TQString nestedType = type.mid( 11, type.length() - 12 );
@ -227,12 +227,12 @@ TQCString demarshal( TQDataStream &stream, const TQString &type )
}
} else if ( type.left( 5 ) == "TQMap<" )
{
int commaPos = type.tqfind( ',', 5 );
int commaPos = type.find( ',', 5 );
if ( commaPos == -1 )
return result;
if ( (uint)type.tqfind( '>', commaPos ) != type.length() - 1 )
if ( (uint)type.find( '>', commaPos ) != type.length() - 1 )
return result;
TQString keyType = type.mid( 5, commaPos - 5 );


+ 9
- 9
dcop/dcopclient.cpp View File

@ -97,13 +97,13 @@ client_map_t *cliMap()
DCOPClient *DCOPClient::findLocalClient( const TQCString &_appId )
{
return cliMap()->tqfind(_appId.data());
return cliMap()->find(_appId.data());
}
static
void registerLocalClient( const TQCString &_appId, DCOPClient *client )
{
cliMap()->tqreplace(_appId.data(), client);
cliMap()->replace(_appId.data(), client);
}
static
@ -263,12 +263,12 @@ static TQCString dcopServerFile(const TQCString &hostname, bool old)
disp = "NODISPLAY";
int i;
if((i = disp.tqfindRev('.')) > disp.tqfindRev(KPATH_SEPARATOR) && i >= 0)
if((i = disp.findRev('.')) > disp.findRev(KPATH_SEPARATOR) && i >= 0)
disp.truncate(i);
if (!old)
{
while( (i = disp.tqfind(KPATH_SEPARATOR)) >= 0)
while( (i = disp.find(KPATH_SEPARATOR)) >= 0)
disp[i] = '_';
}
@ -790,7 +790,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
// Should we abort ?
}
contents[size] = '\0';
int pos = contents.tqfind('\n');
int pos = contents.find('\n');
if ( pos == -1 ) // Shouldn't happen
{
qDebug("Only one line in dcopserver file !: %s", contents.data());
@ -1399,7 +1399,7 @@ static TQObject* findQtObject( TQCString id )
for ( TQValueList<O>::ConstIterator it = l.begin(); it != l.end(); ++it ) {
if ( (*it).s == id ) // exact match
return (*it).o;
if ( !firstContains && (*it).s.tqcontains( expr ) ) {
if ( !firstContains && (*it).s.contains( expr ) ) {
firstContains = (*it).o;
}
}
@ -1413,7 +1413,7 @@ static QCStringList findQtObjects( TQCString id )
fillQtObjectsEx( l, 0, "qt" );
QCStringList result;
for ( TQValueList<O>::ConstIterator it = l.begin(); it != l.end(); ++it ) {
if ( (*it).s.tqcontains( expr ) )
if ( (*it).s.contains( expr ) )
result << (*it).s;
}
return result;
@ -1501,7 +1501,7 @@ static bool receiveQtObject( const TQCString &objId, const TQCString &fun, const
TQStrList lst = o->tqmetaObject()->propertyNames( true );
for ( TQPtrListIterator<char> it( lst ); it.current(); ++it ) {
TQMetaObject *mo = o->tqmetaObject();
const TQMetaProperty* p = mo->property( mo->tqfindProperty( it.current(), true ), true );
const TQMetaProperty* p = mo->property( mo->findProperty( it.current(), true ), true );
if ( !p )
continue;
TQCString prop = p->type();
@ -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()->tqfindSlot( fun, true );
int slot = o->tqmetaObject()->findSlot( fun, true );
if ( slot != -1 ) {
replyType = "void";
TQUObject uo[ 1 ];


+ 2
- 2
dcop/dcopidl/scanner.cc View File

@ -1226,8 +1226,8 @@ YY_RULE_SETUP
#line 170 "scanner.ll"
{
TQString s( yytext );
int i = s.tqfind(TQRegExp("[\"<]"))+1;
int j = s.tqfind(TQRegExp("[\">]"), i);
int i = s.find(TQRegExp("[\"<]"))+1;
int j = s.find(TQRegExp("[\">]"), i);
yylval._str = new TQString( s.mid( i, j - i ) );
idl_line_no++;
return T_INCLUDE;


+ 1
- 1
dcop/dcopidl/yacc.cc View File

@ -1643,7 +1643,7 @@ yyreduce:
case 15:
#line 221 "yacc.yy"
{
int pos = in_namespace.tqfindRev( "::", -3 );
int pos = in_namespace.findRev( "::", -3 );
if( pos >= 0 )
in_namespace = in_namespace.left( pos + 2 );
else


+ 1
- 1
dcop/dcopidl/yacc.yy View File

@ -219,7 +219,7 @@ declaration
}
main T_RIGHT_CURLY_BRACKET opt_semicolon
{
int pos = in_namespace.tqfindRev( "::", -3 );
int pos = in_namespace.findRev( "::", -3 );
if( pos >= 0 )
in_namespace = in_namespace.left( pos + 2 );
else


+ 3
- 3
dcop/dcopidl2cpp/main.cpp View File

@ -104,11 +104,11 @@ int main( int argc, char** argv )
TQString base( argv[argpos] );
TQString idl = base;
int pos = base.tqfindRev( '.' );
int pos = base.findRev( '.' );
if ( pos != -1 )
base = base.left( pos );
pos = idl.tqfindRev('/');
pos = idl.findRev('/');
if ( pos != -1 )
idl = idl.mid( pos+1 );
@ -118,7 +118,7 @@ int main( int argc, char** argv )
if ( generate_stub ) {
TQString header = base;
generateStub( idl, header + "_stub.h", de );
pos = header.tqfindRev('/');
pos = header.findRev('/');
if ( pos != -1 )
header = header.mid( pos+1 );
generateStubImpl( idl, header + "_stub.h", base+".h", base + "_stub." + suffix, de);


+ 2
- 2
dcop/dcopidl2cpp/skel.cpp View File

@ -177,7 +177,7 @@ void generateSkel( const TQString& idl, const TQString& filename, TQDomElement d
TQString namespace_tmp = className;
str << endl;
for(;;) {
int pos = namespace_tmp.tqfind( "::" );
int pos = namespace_tmp.find( "::" );
if( pos < 0 ) {
className = namespace_tmp;
break;
@ -223,7 +223,7 @@ void generateSkel( const TQString& idl, const TQString& filename, TQDomElement d
str << "\t fdict->insert( " << className << "_ftable[i][1], new int( i ) );" << endl;
str << " }" << endl;
str << " int* fp = fdict->tqfind( fun );" << endl;
str << " int* fp = fdict->find( fun );" << endl;
str << " switch ( fp?*fp:-1) {" << endl;
}
s = n.nextSibling().toElement();


+ 5
- 5
dcop/dcopidl2cpp/stub.cpp View File

@ -54,7 +54,7 @@ void generateStub( const TQString& idl, const TQString& filename, TQDomElement d
str << endl;
TQString ifdefstring = idl.upper();
int pos = idl.tqfindRev( '.' );
int pos = idl.findRev( '.' );
if ( pos != -1 )
ifdefstring = ifdefstring.left( pos );
@ -107,13 +107,13 @@ void generateStub( const TQString& idl, const TQString& filename, TQDomElement d
}
if( DCOPParent != "DCOPObject" ) { // we need to include the .h file for the base stub
if( all_includes.tqcontains( DCOPParent + ".h" ))
if( all_includes.contains( DCOPParent + ".h" ))
str << "#include <" << DCOPParent << "_stub.h>" << endl;
else if( all_includes.tqcontains( DCOPParent.lower() + ".h" ))
else if( all_includes.contains( DCOPParent.lower() + ".h" ))
str << "#include <" << DCOPParent.lower() << "_stub.h>" << endl;
else {// damn ... let's assume it's the last include
TQString stub_h = all_includes.last();
unsigned int pos = stub_h.tqfind( ".h" );
unsigned int pos = stub_h.find( ".h" );
if( pos > 0 ) {
stub_h = stub_h.remove( pos, 100000 );
str << "#include <" << stub_h << "_stub.h>" << endl;
@ -128,7 +128,7 @@ void generateStub( const TQString& idl, const TQString& filename, TQDomElement d
int namespace_count = 0;
TQString namespace_tmp = className;
for(;;) {
int pos = namespace_tmp.tqfind( "::" );
int pos = namespace_tmp.find( "::" );
if( pos < 0 ) {
className = namespace_tmp;
break;


+ 1
- 1
dcop/dcopidl2cpp/stubimpl.cpp View File

@ -98,7 +98,7 @@ void generateStubImpl( const TQString& idl, const TQString& header, const TQStri
TQString namespace_tmp = className_stub;
str << endl;
for(;;) {
int pos = namespace_tmp.tqfind( "::" );
int pos = namespace_tmp.find( "::" );
if( pos < 0 ) {
className_stub = namespace_tmp;
break;


+ 1
- 1
dcop/dcopobject.cpp View File

@ -116,7 +116,7 @@ TQCString DCOPObject::objId() const
bool DCOPObject::hasObject(const TQCString &_objId)
{
if (objMap()->tqcontains(_objId))
if (objMap()->contains(_objId))
return true;
else
return false;


+ 4
- 4
dcop/dcopref.cpp View File

@ -62,9 +62,9 @@ DCOPReply DCOPRef::callInternal( const TQCString& fun, const TQCString& args, co
return reply;
}
TQCString sig = fun;
if ( fun.tqfind('(') == -1 ) {
if ( fun.find('(') == -1 ) {
sig += args;
if( args.tqfind( "<unknown" ) != -1 )
if( args.find( "<unknown" ) != -1 )
qWarning("DCOPRef: unknown type error "
"<\"%s\",\"%s\">::call(\"%s\",%s",
STR(m_app), STR(m_obj), STR(fun), args.data()+1 );
@ -87,9 +87,9 @@ bool DCOPRef::sendInternal( const TQCString& fun, const TQCString& args, const T
}
Q_UNUSED( data );
TQCString sig = fun;
if ( fun.tqfind('(') == -1 ) {
if ( fun.find('(') == -1 ) {
sig += args;
if( args.tqfind( "<unknown" ) != -1 )
if( args.find( "<unknown" ) != -1 )
qWarning("DCOPRef: unknown type error "
"<\"%s\",\"%s\">::send(\"%s\",%s",
STR(m_app), STR(m_obj), STR(fun), args.data()+1 );


+ 17
- 17
dcop/dcopserver.cpp View File

@ -320,7 +320,7 @@ void DCOPServer::slotOutputReady(int socket)
qWarning("DCOPServer: slotOutputReady fd = %d", socket);
#endif
// Find out connection.
DCOPConnection *conn = fd_clients.tqfind(socket);
DCOPConnection *conn = fd_clients.find(socket);
//assert(conn);
//assert(conn->outputBlocked);
//assert(conn->socket() == socket);
@ -711,7 +711,7 @@ void DCOPProcessMessage( IceConn iceConn, IcePointer /*clientData*/,
void DCOPServer::processMessage( IceConn iceConn, int opcode,
unsigned long length, Bool /*swap*/)
{
DCOPConnection* conn = clients.tqfind( iceConn );
DCOPConnection* conn = clients.find( iceConn );
if ( !conn ) {
qWarning("DCOPServer::processMessage message from unknown connection. [opcode = %d]", opcode);
return;
@ -1110,7 +1110,7 @@ DCOPConnection* DCOPServer::findApp( const TQCString& appId )
{
if ( appId.isNull() )
return 0;
DCOPConnection* conn = appIds.tqfind( appId );
DCOPConnection* conn = appIds.find( appId );
return conn;
}
@ -1205,7 +1205,7 @@ void DCOPServer::removeConnection( void* data )
while (!conn->waitingForReply.isEmpty()) {
IceConn iceConn = conn->waitingForReply.take(0);
if (iceConn) {
DCOPConnection* target = clients.tqfind( iceConn );
DCOPConnection* target = clients.find( iceConn );
qWarning("DCOP aborting call from '%s' to '%s'", target ? target->appId.data() : "<unknown>" , conn->appId.data() );
TQByteArray reply;
DCOPMsg *pMsg;
@ -1227,7 +1227,7 @@ void DCOPServer::removeConnection( void* data )
while (!conn->waitingForDelayedReply.isEmpty()) {
IceConn iceConn = conn->waitingForDelayedReply.take(0);
if (iceConn) {
DCOPConnection* target = clients.tqfind( iceConn );
DCOPConnection* target = clients.find( iceConn );
qWarning("DCOP aborting (delayed) call from '%s' to '%s'", target ? target->appId.data() : "<unknown>", conn->appId.data() );
TQByteArray reply;
DCOPMsg *pMsg;
@ -1248,7 +1248,7 @@ void DCOPServer::removeConnection( void* data )
{
IceConn iceConn = conn->waitingOnReply.take(0);
if (iceConn) {
DCOPConnection* target = clients.tqfind( iceConn );
DCOPConnection* target = clients.find( iceConn );
if (!target)
{
qWarning("DCOP Error: still waiting for answer from non-existing client.");
@ -1360,7 +1360,7 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
if ( obj == "emit")
{
DCOPConnection* conn = clients.tqfind( iceConn );
DCOPConnection* conn = clients.find( iceConn );
if (conn) {
//qDebug("DCOPServer: %s emits %s", conn->appId.data(), fun.data());
dcopSignals->emitSignal(conn, fun, data, false);
@ -1377,7 +1377,7 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
daemon = static_cast<bool>( iDaemon );
DCOPConnection* conn = clients.tqfind( iceConn );
DCOPConnection* conn = clients.find( iceConn );
if ( conn && !conn->appId.isNull() ) {
if ( daemon ) {
if ( !conn->daemon )
@ -1415,10 +1415,10 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
if (!args.atEnd()) {
TQCString app2 = readQCString(args);
TQDataStream reply( replyData, IO_WriteOnly );
DCOPConnection* conn = clients.tqfind( iceConn );
DCOPConnection* conn = clients.find( iceConn );
if ( conn && !app2.isEmpty() ) {
if ( !conn->appId.isNull() &&
appIds.tqfind( conn->appId ) == conn ) {
appIds.find( conn->appId ) == conn ) {
appIds.remove( conn->appId );
}
@ -1441,7 +1441,7 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
#endif
conn->appId = app2;
if ( appIds.tqfind( app2 ) != 0 ) {
if ( appIds.find( app2 ) != 0 ) {
// we already have this application, unify
int n = 1;
TQCString tmp;
@ -1450,12 +1450,12 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
tmp.setNum( n );
tmp.prepend("-");
tmp.prepend( app2 );
} while ( appIds.tqfind( tmp ) != 0 );
} while ( appIds.find( tmp ) != 0 );
conn->appId = tmp;
}
appIds.insert( conn->appId, conn );
int c = conn->appId.tqfind( '-' );
int c = conn->appId.find( '-' );
if ( c > 0 )
conn->plainAppId = conn->appId.left( c );
else
@ -1497,7 +1497,7 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
if (!args.atEnd()) {
TQ_INT8 notifyActive;
args >> notifyActive;
DCOPConnection* conn = clients.tqfind( iceConn );
DCOPConnection* conn = clients.find( iceConn );
if ( conn ) {
if ( notifyActive )
conn->notifyRegister++;
@ -1508,7 +1508,7 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
return true;
}
} else if ( fun == "connectSignal(TQCString,TQCString,TQCString,TQCString,TQCString,bool)") {
DCOPConnection* conn = clients.tqfind( iceConn );
DCOPConnection* conn = clients.find( iceConn );
if (!conn) return false;
TQDataStream args(data, IO_ReadOnly );
if (args.atEnd()) return false;
@ -1528,7 +1528,7 @@ bool DCOPServer::receive(const TQCString &/*app*/, const TQCString &obj,
reply << (TQ_INT8) (b?1:0);
return true;
} else if ( fun == "disconnectSignal(TQCString,TQCString,TQCString,TQCString,TQCString)") {
DCOPConnection* conn = clients.tqfind( iceConn );
DCOPConnection* conn = clients.find( iceConn );
if (!conn) return false;
TQDataStream args(data, IO_ReadOnly );
if (args.atEnd()) return false;
@ -1623,7 +1623,7 @@ static bool isRunning(const TQCString &fName, bool printNetworkId = false)
TQCString contents( size+1 );
bool ok = f.readBlock( contents.data(), size ) == size;
contents[size] = '\0';
int pos = contents.tqfind('\n');
int pos = contents.find('\n');
ok = ok && ( pos != -1 );
pid_t pid = ok ? contents.mid(pos+1).toUInt(&ok) : 0;
f.close();


+ 1
- 1
dcop/dcopserver.h View File

@ -130,7 +130,7 @@ public:
DCOPConnection *findApp(const TQCString &appId);
DCOPConnection *findConn(IceConn iceConn)
{ return clients.tqfind(iceConn); }
{ return clients.find(iceConn); }
void sendMessage(DCOPConnection *conn, const TQCString &sApp,
const TQCString &rApp, const TQCString &rObj,


+ 9
- 9
dcop/dcopsignals.cpp View File

@ -39,14 +39,14 @@ DCOPSignals::emitSignal( DCOPConnection *conn, const TQCString &_fun, const TQBy
{
TQCString senderObj;
TQCString fun = _fun;
int i = fun.tqfind('#');
int i = fun.find('#');
if (i > -1)
{
senderObj = fun.left(i);
fun = fun.mid(i+1);
}
DCOPSignalConnectionList *list = connections.tqfind(fun);
DCOPSignalConnectionList *list = connections.find(fun);
if (!list) return;
for(DCOPSignalConnection *current = list->first(); current; current = list->next())
{
@ -102,16 +102,16 @@ DCOPSignals::connectSignal( const TQCString &sender, const TQCString &senderObj,
// TODO: Check if signal and slot match
TQCString signalArgs, slotArgs;
int i,j;
i = signal.tqfind('(');
i = signal.find('(');
if (i < 0) return false;
signalArgs = signal.mid(i+1);
j = signalArgs.tqfind(')');
j = signalArgs.find(')');
if (j < 0) return false;
signalArgs.truncate(j);
i = slot.tqfind('(');
i = slot.find('(');
if (i < 0) return false;
slotArgs = slot.mid(i+1);
j = slotArgs.tqfind(')');
j = slotArgs.find(')');
if (j < 0) return false;
slotArgs.truncate(j);
@ -142,7 +142,7 @@ DCOPSignals::connectSignal( const TQCString &sender, const TQCString &senderObj,
current->recvObj = receiverObj;
current->slot = slot;
DCOPSignalConnectionList *list = connections.tqfind(signal);
DCOPSignalConnectionList *list = connections.find(signal);
if (!list)
{
list = new DCOPSignalConnectionList;
@ -177,7 +177,7 @@ DCOPSignals::disconnectSignal( const TQCString &sender, const TQCString &senderO
return true;
}
DCOPSignalConnectionList *list = connections.tqfind(signal);
DCOPSignalConnectionList *list = connections.find(signal);
if (!list)
return false; // Not found...
@ -255,7 +255,7 @@ DCOPSignals::removeConnections(DCOPConnection *conn, const TQCString &obj)
if (current->recvConn != conn)
current->recvConn->signalConnectionList()->removeRef(current);
DCOPSignalConnectionList *signalList = connections.tqfind(current->signal);
DCOPSignalConnectionList *signalList = connections.find(current->signal);
if (signalList)
{
signalList->removeRef(current);


+ 1
- 1
dnssd/domainbrowser.cpp View File

@ -125,7 +125,7 @@ void DomainBrowser::startBrowse()
void DomainBrowser::gotNewDomain(const TQString& domain)
{
if (d->m_domains.tqcontains(domain)) return;
if (d->m_domains.contains(domain)) return;
d->m_domains.append(domain);
emit domainAdded(domain);
}


+ 2
- 2
dnssd/servicebase.cpp View File

@ -51,14 +51,14 @@ void ServiceBase::decode(const TQString& name)
} else { // normal service or domain
TQString decoded_name=name;
decoded_name=decoded_name.replace("\\\\","\\");
int i = decoded_name.tqfind(TQRegExp("[^\\\\]\\."));
int i = decoded_name.find(TQRegExp("[^\\\\]\\."));
if (i==-1) return; // first find service name
rest = decoded_name.mid(i+2);
m_serviceName=decoded_name.left(i+1).replace("\\.",".");
}
m_type = rest.section('.',0,1);
// does it really have a type?
if (m_type[0]=='_' && m_type[m_type.tqfind('.')+1]=='_')
if (m_type[0]=='_' && m_type[m_type.find('.')+1]=='_')
m_domain = rest.section('.',2,-1,TQString::SectionIncludeTrailingSep);
else {
m_type="";


+ 5
- 5
interfaces/kimproxy/library/kimproxy.cpp View File

@ -248,7 +248,7 @@ bool KIMProxy::initialize()
{
m_apps_available = true;
//kdDebug( 790 ) << " app name: " << (*offer)->name() << ", has instance " << *app << ", dcopService: " << dcopService << endl;
if ( !m_im_client_stubs.tqfind( dcopService ) )
if ( !m_im_client_stubs.find( dcopService ) )
{
kdDebug( 790 ) << "App " << *app << ", dcopObjectId " << dcopObjectId << " found, using it for presence info." << endl;
m_im_client_stubs.insert( *app, new KIMIface_stub( d->dc, *app, dcopObjectId ) );
@ -284,7 +284,7 @@ void KIMProxy::registeredToDCOP( const TQCString& appId )
if ( appId.left( dcopService.length() ) == dcopService )
{
// if it's not already known, insert it
if ( !m_im_client_stubs.tqfind( appId ) )
if ( !m_im_client_stubs.find( appId ) )
{
newApp = true;
kdDebug( 790 ) << "App: " << appId << ", dcopService: " << dcopService << " started, using it for presence info."<< endl;
@ -301,7 +301,7 @@ void KIMProxy::registeredToDCOP( const TQCString& appId )
void KIMProxy::unregisteredFromDCOP( const TQCString& appId )
{
//kdDebug( 790 ) << k_funcinfo << appId << endl;
if ( m_im_client_stubs.tqfind( appId ) )
if ( m_im_client_stubs.find( appId ) )
{
kdDebug( 790 ) << appId << " quit, removing its presence info." << endl;
@ -618,7 +618,7 @@ KIMIface_stub * KIMProxy::stubForUid( const TQString &uid )
// get best appPresence
AppPresenceCurrent ap = d->presence_map[ uid ].best();
// look up the presence string from that app
return m_im_client_stubs.tqfind( ap.appId );
return m_im_client_stubs.find( ap.appId );
}
KIMIface_stub * KIMProxy::stubForProtocol( const TQString &protocol)
@ -626,7 +626,7 @@ KIMIface_stub * KIMProxy::stubForProtocol( const TQString &protocol)
KIMIface_stub * app;
// see if the preferred client supports this protocol
TQString preferred = preferredApp();
if ( ( app = m_im_client_stubs.tqfind( preferred ) ) )
if ( ( app = m_im_client_stubs.find( preferred ) ) )
{
if ( app->protocols().grep( protocol ).count() > 0 )
return app;


+ 1
- 1
interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.cpp View File

@ -110,7 +110,7 @@ void KFileAudioPreview::showPreview( const KURL &url )
return;
KMimeType::Ptr mt = KMimeType::findByURL( url );
bool supported = m_supportedFormats.tqfind( mt->name() );
bool supported = m_supportedFormats.find( mt->name() );
d->player->view()->setEnabled( supported );
if ( !supported )
return;


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

@ -82,7 +82,7 @@ void EditorChooser::readAppSetting(const TQString& postfix){
if (editor.isEmpty()) d->chooser->editorCombo->setCurrentItem(0);
else
{
int idx=d->elements.tqfindIndex(editor);
int idx=d->elements.findIndex(editor);
idx=idx+1;
d->chooser->editorCombo->setCurrentItem(idx);
}


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

@ -173,7 +173,7 @@ bool TemplateInterface::insertTemplateText ( uint line, uint column, const TQStr
}
}
TQString placeholder = rx.cap( 1 );
if ( ! enhancedInitValues.tqcontains( placeholder ) )
if ( ! enhancedInitValues.contains( placeholder ) )
enhancedInitValues[ placeholder ] = "";
pos += rx.matchedLength();


+ 5
- 5
kab/qconfigDB.cc View File

@ -73,7 +73,7 @@ static void tokenize(list<TQCString>& res, const TQCString& text, char tr, bool
while(zwei!=-1)
{
teil="";
zwei=text.tqfind(tr, eins);
zwei=text.find(tr, eins);
if(zwei!=-1)
{
teil=text.mid(eins, zwei-eins);
@ -573,7 +573,7 @@ KeyValueMap::insertLine(TQCString line, bool force, bool relax, bool encode)
return false;
}
// -----
index=line.tqfind('=');
index=line.find('=');
if(index==-1) // not found
{
kdDebug() << "KeyValueMap::insertLine: no \"=\" found in \""<<line<<"\".\n";
@ -1015,7 +1015,7 @@ KeyValueMap::get(const TQCString& key, list<TQCString>& values) const
second=first;
for(;;)
{
second=raw.tqfind('\\', second);
second=raw.find('\\', second);
// ----- this may never be the last and also not the second last
// character in a complex string:
if(second!=-1)
@ -1124,7 +1124,7 @@ KeyValueMap::get(const TQCString& key, TQStrList& values) const
second=first;
for(;;)
{
second=raw.tqfind('\\', second);
second=raw.find('\\', second);
// ----- this may never be the last and also not the second last
// character in a complex string:
if(second!=-1)
@ -1975,7 +1975,7 @@ QConfigDB::stringToKeylist(const TQCString& desc)
}
for(;;)
{
second=desc.tqfind('/', first);
second=desc.find('/', first);
if(second==-1)
{
if((unsigned)first<desc.length()+1)


+ 8
- 8
kabc/address.cpp View File

@ -399,7 +399,7 @@ bool Address::parseAddressTemplateSection( const TQString &tsection,
bool ret = false;
// first check for brackets that have to be evaluated first
int fpos = result.tqfind( KABC_FMTTAG_purgeempty, stpos );
int fpos = result.find( KABC_FMTTAG_purgeempty, stpos );
while ( -1 != fpos ) {
int bpos1 = fpos + KABC_FMTTAG_purgeempty.length();
int bpos2;
@ -430,7 +430,7 @@ bool Address::parseAddressTemplateSection( const TQString &tsection,
stpos = bpos1;
}
}
fpos = result.tqfind( KABC_FMTTAG_purgeempty, stpos );
fpos = result.find( KABC_FMTTAG_purgeempty, stpos );
}
// after sorting out all purge tags, we just search'n'replace the rest,
@ -438,7 +438,7 @@ bool Address::parseAddressTemplateSection( const TQString &tsection,
// The following macro needs TQString for R_FIELD
// It substitutes !_P_! for empty fields so conditional tags work later
#define REPLTAG(R_TAG,R_FIELD) \
if ( result.tqfind(R_TAG, false) != -1 ) { \
if ( result.find(R_TAG, false) != -1 ) { \
TQString rpl = R_FIELD.isEmpty() ? TQString("!_P_!") : R_FIELD; \
result.replace( R_TAG, rpl ); \
if ( !R_FIELD.isEmpty() ) { \
@ -461,7 +461,7 @@ bool Address::parseAddressTemplateSection( const TQString &tsection,
#undef REPLTAG
// conditional comma
fpos = result.tqfind( KABC_FMTTAG_condcomma, 0 );
fpos = result.find( KABC_FMTTAG_condcomma, 0 );
while ( -1 != fpos ) {
TQString str1 = result.mid( fpos - 5, 5 );
TQString str2 = result.mid( fpos + 2, 5 );
@ -470,10 +470,10 @@ bool Address::parseAddressTemplateSection( const TQString &tsection,
} else {
result.remove( fpos, 2 );
}
fpos = result.tqfind( KABC_FMTTAG_condcomma, fpos );
fpos = result.find( KABC_FMTTAG_condcomma, fpos );
}
// conditional whitespace
fpos = result.tqfind( KABC_FMTTAG_condwhite, 0 );
fpos = result.find( KABC_FMTTAG_condwhite, 0 );
while ( -1 != fpos ) {
TQString str1 = result.mid( fpos - 5, 5 );
TQString str2 = result.mid( fpos + 2, 5 );
@ -482,7 +482,7 @@ bool Address::parseAddressTemplateSection( const TQString &tsection,
} else {
result.remove( fpos, 2 );
}
fpos = result.tqfind( KABC_FMTTAG_condwhite, fpos );
fpos = result.find( KABC_FMTTAG_condwhite, fpos );
}
// remove purged:
@ -560,7 +560,7 @@ TQString Address::ISOtoCountry( const TQString &ISOname )
TQString strbuf = s.readLine();
int pos;
while ( !strbuf.isEmpty() ) {
if ( (pos = strbuf.tqfind( searchStr )) != -1 ) {
if ( (pos = strbuf.find( searchStr )) != -1 ) {
file.close();
return i18n( strbuf.left( pos ).utf8() );
}