Browse Source

rename the following methods:

tqfind find
tqreplace replace
tqcontains contains


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 11 years ago
parent
commit
4c6f8d69e2
  1. 2
      NewsLog.txt
  2. 2
      README.Kolab
  3. 4
      akregator/COPYING
  4. 4
      akregator/src/actionmanagerimpl.cpp
  5. 2
      akregator/src/addfeeddialog.cpp
  6. 2
      akregator/src/akregator_part.cpp
  7. 8
      akregator/src/akregator_view.cpp
  8. 8
      akregator/src/article.cpp
  9. 2
      akregator/src/articlefilter.cpp
  10. 6
      akregator/src/articlelistview.cpp
  11. 6
      akregator/src/articleviewer.cpp
  12. 2
      akregator/src/articleviewer.rc
  13. 10
      akregator/src/feed.cpp
  14. 8
      akregator/src/feediconmanager.cpp
  15. 4
      akregator/src/feedlist.cpp
  16. 4
      akregator/src/feedlistview.cpp
  17. 2
      akregator/src/feedstorage.h
  18. 76
      akregator/src/feedstoragedummyimpl.cpp
  19. 2
      akregator/src/feedstoragedummyimpl.h
  20. 2
      akregator/src/fetchqueue.cpp
  21. 6
      akregator/src/folder.cpp
  22. 2
      akregator/src/frame.cpp
  23. 26
      akregator/src/librss/tools_p.cpp
  24. 10
      akregator/src/mk4storage/feedstoragemk4impl.cpp
  25. 2
      akregator/src/mk4storage/feedstoragemk4impl.h
  26. 2
      akregator/src/mk4storage/metakit/CHANGES
  27. 6
      akregator/src/mk4storage/metakit/include/mk4str.inl
  28. 2
      akregator/src/mk4storage/metakit/src/store.cpp
  29. 2
      akregator/src/mk4storage/storagemk4impl.cpp
  30. 6
      akregator/src/nodelist.cpp
  31. 2
      akregator/src/pageviewer.cpp
  32. 2
      akregator/src/pageviewer.rc
  33. 4
      akregator/src/plugin.cpp
  34. 2
      akregator/src/progressmanager.cpp
  35. 2
      akregator/src/simplenodeselector.cpp
  36. 2
      akregator/src/speechclient.cpp
  37. 14
      akregator/src/storagedummyimpl.cpp
  38. 2
      akregator/src/storagefactoryregistry.cpp
  39. 12
      akregator/src/tabwidget.cpp
  40. 6
      akregator/src/tagnode.cpp
  41. 2
      akregator/src/tagnode.h
  42. 2
      akregator/src/tagnodelist.cpp
  43. 12
      akregator/src/tagset.cpp
  44. 4
      akregator/src/tagset.h
  45. 4
      akregator/src/treenode.cpp
  46. 2
      akregator/src/treenode.h
  47. 4
      akregator/src/utils.cpp
  48. 4
      akregator/src/viewer.cpp
  49. 2
      certmanager/certificateinfowidgetimpl.cpp
  50. 2
      certmanager/certificatewizardimpl.cpp
  51. 6
      certmanager/certmanager.cpp
  52. 2
      certmanager/conf/dirservconfigpage.cpp
  53. 2
      certmanager/kleopatraui.rc
  54. 4
      certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp
  55. 12
      certmanager/lib/backends/qgpgme/qgpgmecryptoconfig.cpp
  56. 12
      certmanager/lib/cryptplugwrapper.cpp
  57. 2
      certmanager/lib/cryptplugwrapperlist.cpp
  58. 2
      certmanager/lib/kleo/dn.cpp
  59. 2
      certmanager/lib/kleo/downloadjob.h
  60. 4
      certmanager/lib/tests/test.data
  61. 2
      certmanager/lib/tests/test_gnupgprocessbase.cpp
  62. 2
      certmanager/lib/ui/cryptoconfigmodule.cpp
  63. 2
      certmanager/lib/ui/dnattributeorderconfigwidget.cpp
  64. 2
      doc/api/Doxyfile.pim
  65. 4
      indexlib/GPL_V2
  66. 4
      indexlib/boost-compat/config/suffix.hpp
  67. 2
      indexlib/stringset.h
  68. 12
      kabc/frontend/mainWindow.ui.h
  69. 14
      kabc/kabc2mutt/kabc2mutt.cpp
  70. 4
      kaddressbook/addresseditwidget.cpp
  71. 2
      kaddressbook/addresseeeditorwidget.cpp
  72. 2
      kaddressbook/addviewdialog.cpp
  73. 20
      kaddressbook/common/locationmap.cpp
  74. 6
      kaddressbook/customfieldswidget.cpp
  75. 4
      kaddressbook/distributionlistpicker.cpp
  76. 2
      kaddressbook/editors/imaddresswidget.cpp
  77. 16
      kaddressbook/editors/imeditorwidget.cpp
  78. 14
      kaddressbook/extensionmanager.cpp
  79. 4
      kaddressbook/features/distributionlistwidget.cpp
  80. 4
      kaddressbook/features/resourceselection.cpp
  81. 4
      kaddressbook/filtereditdialog.cpp
  82. 6
      kaddressbook/geowidget.cpp
  83. 2
      kaddressbook/jumpbuttonbar.cpp
  84. 14
      kaddressbook/kabcore.cpp
  85. 4
      kaddressbook/kablock.cpp
  86. 16
      kaddressbook/kabtools.cpp
  87. 2
      kaddressbook/kcmconfigs/kabldapconfig.desktop
  88. 4
      kaddressbook/keywidget.cpp
  89. 10
      kaddressbook/phoneeditwidget.cpp
  90. 4
      kaddressbook/printing/kabentrypainter.cpp
  91. 4
      kaddressbook/printing/mikesstyle.cpp
  92. 2
      kaddressbook/printing/printingwizard.cpp
  93. 2
      kaddressbook/printing/printstyle.cpp
  94. 6
      kaddressbook/searchmanager.cpp
  95. 4
      kaddressbook/thumbnailcreator/ldifvcardcreator.cpp
  96. 2
      kaddressbook/typecombo.h
  97. 10
      kaddressbook/viewmanager.cpp
  98. 30
      kaddressbook/views/cardview.cpp
  99. 2
      kaddressbook/xxport/csv_xxport.cpp
  100. 2
      kaddressbook/xxport/csvimportdialog.cpp
  101. 20
      kaddressbook/xxport/eudora_xxport.cpp
  102. 2
      kaddressbook/xxport/eudora_xxport.h
  103. 38
      kaddressbook/xxport/gnokii_xxport.cpp
  104. 6
      kaddressbook/xxport/opera_xxport.cpp
  105. 2
      kaddressbook/xxport/vcard_xxport.cpp
  106. 2
      kaddressbook/xxportselectdialog.cpp
  107. 4
      kalarm/COPYING
  108. 2
      kalarm/alarmcalendar.cpp
  109. 36
      kalarm/alarmevent.cpp
  110. 6
      kalarm/alarmlistview.cpp
  111. 12
      kalarm/alarmtext.cpp
  112. 2
      kalarm/birthdaydlg.cpp
  113. 8
      kalarm/calendarcompat.cpp
  114. 2
      kalarm/dcophandler.cpp
  115. 4
      kalarm/editdlg.cpp
  116. 4
      kalarm/eventlistviewbase.cpp
  117. 4
      kalarm/functions.cpp
  118. 26
      kalarm/kalarmapp.cpp
  119. 8
      kalarm/kalarmd/adcalendar.cpp
  120. 6
      kalarm/kalarmd/alarmdaemon.cpp
  121. 4
      kalarm/kalarmd/clientinfo.cpp
  122. 2
      kalarm/kalarmui.rc
  123. 24
      kalarm/kamail.cpp
  124. 2
      kalarm/karecurrence.cpp
  125. 2
      kalarm/lib/colourcombo.cpp
  126. 8
      kalarm/lib/colourlist.h
  127. 2
      kalarm/lib/lineedit.cpp
  128. 2
      kalarm/lib/messagebox.cpp
  129. 2
      kalarm/lib/shellprocess.cpp
  130. 4
      kalarm/lib/spinbox.cpp
  131. 2
      kalarm/lib/synchtimer.cpp
  132. 4
      kalarm/lib/timespinbox.cpp
  133. 2
      kalarm/mainwindow.cpp
  134. 4
      kalarm/messagewin.cpp
  135. 12
      kalarm/prefdlg.cpp
  136. 4
      kalarm/preferences.cpp
  137. 10
      kalarm/undo.cpp
  138. 2
      kalarm/undo.h
  139. 4
      kandy/COPYING
  140. 8
      kandy/src/atcommand.cpp
  141. 2
      karm/desktoptracker.cpp
  142. 4
      karm/kaccelmenuwatch.cpp
  143. 50
      karm/karmstorage.cpp
  144. 2
      karm/karmutility.cpp
  145. 6
      karm/taskview.cpp
  146. 12
      karm/timekard.cpp
  147. 2
      kdgantt/KDGanttMinimizeSplitter.cpp
  148. 2
      kdgantt/KDGanttView.cpp
  149. 10
      kdgantt/KDGanttViewItem.cpp
  150. 2
      kdgantt/KDGanttViewItem.h
  151. 6
      kdgantt/KDGanttViewTaskLink.cpp
  152. 10
      kdgantt/KDGanttViewTaskLinkGroup.cpp
  153. 2
      kdgantt/KDGanttViewTaskLinkGroup.h
  154. 2
      kfile-plugins/vcf/kfile_vcf.cpp
  155. 4
      kgantt/COPYING
  156. 2
      kgantt/kgantt/KGanttItem.cpp
  157. 2
      kgantt/kgantt/KGanttItem.h
  158. 2
      kgantt/kgantt/KGanttRelation.h
  159. 2
      kgantt/kgantt/xQGanttBarViewPort.cpp
  160. 22
      kgantt/kgantt/xQGanttBarViewPort_Events.cpp
  161. 68
      kioslaves/imap4/imap4.cc
  162. 30
      kioslaves/imap4/imapinfo.cc
  163. 12
      kioslaves/imap4/imaplist.cc
  164. 36
      kioslaves/imap4/imapparser.cc
  165. 4
      kioslaves/imap4/imapparser.h
  166. 4
      kioslaves/imap4/mailaddress.cc
  167. 8
      kioslaves/imap4/mailheader.cc
  168. 10
      kioslaves/imap4/mimehdrline.cc
  169. 30
      kioslaves/imap4/mimeheader.cc
  170. 4
      kioslaves/imap4/mimeheader.h
  171. 8
      kioslaves/imap4/mimeio.cc
  172. 12
      kioslaves/imap4/rfcdecoder.cc
  173. 2
      kioslaves/imap4/rfcdecoder.h
  174. 2
      kioslaves/mbox/readmbox.cc
  175. 2
      kioslaves/mbox/stat.cc
  176. 2
      kioslaves/mbox/urlinfo.cc
  177. 2
      kioslaves/opengroupware/webdavhandler.cpp
  178. 18
      kioslaves/sieve/sieve.cpp
  179. 4
      kitchensync/src/addresseediffalgo.cpp
  180. 4
      kitchensync/src/calendardiffalgo.cpp
  181. 6
      kitchensync/src/configguisyncmlhttp.cpp
  182. 6
      kitchensync/src/configguisyncmlobex.cpp
  183. 2
      kitchensync/src/groupconfigcommon.cpp
  184. 6
      kitchensync/src/kwidgetlist.cpp
  185. 2
      kitchensync/src/syncprocess.cpp
  186. 2
      kmail/Mainpage.dox
  187. 42
      kmail/accountdialog.cpp
  188. 6
      kmail/accountmanager.cpp
  189. 2
      kmail/accountmanager.h
  190. 8
      kmail/accountwizard.cpp
  191. 8
      kmail/actionscheduler.cpp
  192. 2
      kmail/antispamconfig.cpp
  193. 6
      kmail/antispamwizard.cpp
  194. 2
      kmail/archivefolderdialog.cpp
  195. 6
      kmail/bodyvisitor.cpp
  196. 24
      kmail/cachedimapjob.cpp
  197. 12
      kmail/callback.cpp
  198. 2
      kmail/chiasmuskeyselector.cpp
  199. 16
      kmail/configuredialog.cpp
  200. 10
      kmail/configuredialog_p.cpp
  201. 12
      kmail/encodingdetector.cpp
  202. 10
      kmail/favoritefolderview.cpp
  203. 2
      kmail/folderIface.cpp
  204. 8
      kmail/folderdiaacltab.cpp
  205. 2
      kmail/folderjob.h
  206. 2
      kmail/foldersetselector.cpp
  207. 20
      kmail/folderstorage.cpp
  208. 4
      kmail/folderstorage.h
  209. 2
      kmail/foldertreebase.h
  210. 2
      kmail/folderviewtooltip.h
  211. 6
      kmail/headerlistquicksearch.cpp
  212. 4
      kmail/headerstrategy.cpp
  213. 22
      kmail/imapaccountbase.cpp
  214. 4
      kmail/imapaccountbase.h
  215. 22
      kmail/imapjob.cpp
  216. 2
      kmail/importjob.cpp
  217. 2
      kmail/keyresolver.cpp
  218. 2
      kmail/khtmlparthtmlwriter.cpp
  219. 2
      kmail/kmaccount.cpp
  220. 8
      kmail/kmacctcachedimap.cpp
  221. 4
      kmail/kmacctimap.cpp
  222. 12
      kmail/kmaddrbook.cpp
  223. 4
      kmail/kmail.kcfg
  224. 60
      kmail/kmailicalifaceimpl.cpp
  225. 52
      kmail/kmcommands.cpp
  226. 42
      kmail/kmcomposewin.cpp
  227. 4
      kmail/kmdict.cpp
  228. 4
      kmail/kmdict.h
  229. 18
      kmail/kmedit.cpp
  230. 20
      kmail/kmfilter.cpp
  231. 40
      kmail/kmfilteraction.cpp
  232. 4
      kmail/kmfiltermgr.cpp
  233. 16
      kmail/kmfolder.cpp
  234. 4
      kmail/kmfolder.h
  235. 54
      kmail/kmfoldercachedimap.cpp
  236. 4
      kmail/kmfoldercombobox.cpp
  237. 4
      kmail/kmfolderdir.cpp
  238. 62
      kmail/kmfolderimap.cpp
  239. 4
      kmail/kmfolderindex.h
  240. 22
      kmail/kmfoldermaildir.cpp
  241. 18
      kmail/kmfoldermbox.cpp
  242. 4
      kmail/kmfoldermgr.cpp
  243. 4
      kmail/kmfoldermgr.h
  244. 20
      kmail/kmfoldersearch.cpp
  245. 2
      kmail/kmfoldersearch.h
  246. 24
      kmail/kmfoldertree.cpp
  247. 20
      kmail/kmheaders.cpp
  248. 34
      kmail/kmkernel.cpp
  249. 44
      kmail/kmmainwidget.cpp
  250. 6
      kmail/kmmainwin.cpp
  251. 78
      kmail/kmmessage.cpp
  252. 2
      kmail/kmmessage.h
  253. 40
      kmail/kmmsgbase.cpp
  254. 4
      kmail/kmmsgbase.h
  255. 20
      kmail/kmmsgdict.cpp
  256. 2
      kmail/kmmsgdict.h
  257. 14
      kmail/kmmsgpart.cpp
  258. 6
      kmail/kmmsgpartdlg.cpp
  259. 16
      kmail/kmreaderwin.cpp
  260. 20
      kmail/kmsearchpattern.cpp
  261. 4
      kmail/kmsearchpattern.h
  262. 12
      kmail/kmsender.cpp
  263. 8
      kmail/kmservertest.cpp
  264. 2
      kmail/kmstartup.cpp
  265. 2
      kmail/kmsystemtray.cpp
  266. 6
      kmail/kmtransport.cpp
  267. 2
      kmail/listjob.cpp
  268. 40
      kmail/mailinglist-magic.cpp
  269. 2
      kmail/mailinglistpropertiesdialog.cpp
  270. 2
      kmail/mboxjob.cpp
  271. 6
      kmail/messagecomposer.cpp
  272. 2
      kmail/messagecopyhelper.cpp
  273. 14
      kmail/messageproperty.cpp
  274. 4
      kmail/mh2kmailr
  275. 8
      kmail/networkaccount.cpp
  276. 2
      kmail/newfolderdialog.cpp
  277. 66
      kmail/objecttreeparser.cpp
  278. 2
      kmail/objecttreeparser.h
  279. 2
      kmail/partNode.cpp
  280. 16
      kmail/popaccount.cpp
  281. 6
      kmail/recipientseditor.cpp
  282. 8
      kmail/recipientspicker.cpp
  283. 2
      kmail/renamejob.cpp
  284. 4
      kmail/rulewidgethandlermanager.cpp
  285. 2
      kmail/scalix.cpp
  286. 4
      kmail/searchjob.cpp
  287. 8
      kmail/searchwindow.cpp
  288. 2
      kmail/simplefoldertree.h
  289. 10
      kmail/snippetwidget.cpp
  290. 10
      kmail/templateparser.cpp
  291. 10
      kmail/tests/messagedicttests.cpp
  292. 8
      kmail/tests/mimelibtests.cpp
  293. 4
      kmail/tests/utiltests.cpp
  294. 4
      kmail/tips
  295. 2
      kmail/transportmanager.cpp
  296. 4
      kmail/urlhandlermanager.cpp
  297. 24
      kmail/vacation.cpp
  298. 6
      kmailcvt/filter_evolution.cxx
  299. 10
      kmailcvt/filter_evolution_v2.cxx
  300. 4
      kmailcvt/filter_pmail.cxx
  301. 6
      kmailcvt/filter_thebat.cxx
  302. 10
      kmailcvt/filter_thunderbird.cxx
  303. 2
      kmobile/devices/gnokii/gnokii_mobile.cpp
  304. 2
      kmobile/devices/gnokii/gnokiiconfig.cpp
  305. 4
      kmobile/kioslave/kio_mobile.cpp
  306. 6
      kmobile/kmobileitem.cpp
  307. 2
      knode/ChangeLog
  308. 20
      knode/articlewidget.cpp
  309. 4
      knode/filters/1.fltr
  310. 4
      knode/filters/2.fltr
  311. 4
      knode/filters/3.fltr
  312. 4
      knode/filters/4.fltr
  313. 4
      knode/filters/5.fltr
  314. 4
      knode/filters/6.fltr
  315. 4
      knode/filters/7.fltr
  316. 4
      knode/filters/8.fltr
  317. 2
      knode/knaccountmanager.cpp
  318. 2
      knode/knarticle.cpp
  319. 18
      knode/knarticlefactory.cpp
  320. 2
      knode/knarticlemanager.cpp
  321. 4
      knode/kncollectionviewitem.cpp
  322. 50
      knode/kncomposer.cpp
  323. 8
      knode/kncomposerui.rc
  324. 10
      knode/knconfig.cpp
  325. 4
      knode/knconfigwidgets.cpp
  326. 2
      knode/knconvert.cpp
  327. 4
      knode/knfiltermanager.cpp
  328. 8
      knode/knfolder.cpp
  329. 14
      knode/kngroup.cpp
  330. 2
      knode/kngroup.h
  331. 12
      knode/kngroupbrowser.cpp
  332. 8
      knode/kngroupmanager.cpp
  333. 10
      knode/knmainwidget.cpp
  334. 6
      knode/knnntpclient.cpp
  335. 2
      knode/knsearchdialog.cpp
  336. 4
      knode/knserverinfo.cpp
  337. 10
      knode/knstringfilter.cpp
  338. 4
      knode/utilities.cpp
  339. 26
      knotes/knote.cpp
  340. 4
      knotes/knote.h
  341. 16
      knotes/knotesapp.cpp
  342. 2
      knotes/knotesapp.h
  343. 2
      knotes/knotesappui.rc
  344. 2
      knotes/knotesnetrecv.cpp
  345. 8
      kode/automakefile.cpp
  346. 6
      kode/class.cpp
  347. 2
      kode/file.cpp
  348. 20
      kode/kodemain.cpp
  349. 2
      kode/kwsdl/compiler.cpp
  350. 2
      kode/kwsdl/converter.cpp
  351. 2
      kode/kwsdl/kung/loader.cpp
  352. 2
      kode/kwsdl/namemapper.cpp
  353. 2
      kode/kwsdl/parser.cpp
  354. 2
      kode/kwsdl/schema/parser.cpp
  355. 2
      kode/kwsdl/schema/qualifiedname.cpp
  356. 2
      kode/kwsdl/schema/simpletype.cpp
  357. 18
      kode/kwsdl/typemapper.cpp
  358. 4
      kode/kxml_compiler/creator.cpp
  359. 4
      kode/kxml_compiler/kxml_compiler.cpp
  360. 6
      kode/kxml_compiler/parser.cpp
  361. 8
      kode/printer.cpp
  362. 4
      konsolekalendar/COPYING
  363. 2
      konsolekalendar/ROADMAP
  364. 14
      konsolekalendar/konsolekalendarexports.cpp
  365. 2
      kontact/Thoughts
  366. 2
      kontact/interfaces/core.cpp
  367. 8
      kontact/plugins/kmail/kcmkmailsummary.cpp
  368. 2
      kontact/plugins/kmail/summarywidget.cpp
  369. 4
      kontact/plugins/korganizer/summarywidget.cpp
  370. 4
      kontact/plugins/newsticker/kcmkontactknt.cpp
  371. 2
      kontact/plugins/specialdates/sdsummarywidget.cpp
  372. 2
      kontact/plugins/summary/kcmkontactsummary.cpp
  373. 30
      kontact/plugins/summary/summaryview_part.cpp
  374. 2
      kontact/plugins/weather/summarywidget.cpp
  375. 2
      kontact/src/aboutdialog.cpp
  376. 6
      kontact/src/mainwindow.cpp
  377. 14
      kontact/src/profilemanager.cpp
  378. 4
      korganizer/COPYING
  379. 14
      korganizer/actionmanager.cpp
  380. 10
      korganizer/calendarview.cpp
  381. 2
      korganizer/calendarview.h
  382. 2
      korganizer/customlistviewitem.h
  383. 4
      korganizer/eventarchiver.cpp
  384. 34
      korganizer/freebusymanager.cpp
  385. 6
      korganizer/journalentry.cpp
  386. 12
      korganizer/koagenda.cpp
  387. 4
      korganizer/koagendaitem.cpp
  388. 4
      korganizer/koagendaview.cpp
  389. 6
      korganizer/koattendeeeditor.cpp
  390. 8
      korganizer/kocore.cpp
  391. 6
      korganizer/koeditorattachments.cpp
  392. 2
      korganizer/koeditorfreebusy.cpp
  393. 2
      korganizer/koeditorrecurrence.cpp
  394. 4
      korganizer/koeventeditor.cpp
  395. 6
      korganizer/koincidenceeditor.cpp
  396. 4
      korganizer/kojournaleditor.cpp
  397. 2
      korganizer/kojournalview.cpp
  398. 2
      korganizer/kolistview.cpp
  399. 6
      korganizer/komailclient.cpp
  400. 10
      korganizer/koprefs.cpp
  401. 14
      korganizer/koprefsdialog.cpp
  402. 2
      korganizer/korgac/alarmdialog.cpp
  403. 2
      korganizer/korganizer_part.rc
  404. 2
      korganizer/korganizeriface.h
  405. 2
      korganizer/korganizerui.rc
  406. 2
      korganizer/kotimelineview.cpp
  407. 4
      korganizer/kotodoeditor.cpp
  408. 16
      korganizer/kotodoview.cpp
  409. 2
      korganizer/kotodoviewitem.cpp
  410. 2
      korganizer/kowhatsnextview.cpp
  411. 2
      korganizer/mailscheduler.cpp
  412. 4
      korganizer/plugins/projectview/koprojectview.cpp
  413. 2
      korganizer/printing/calprintdefaultplugins.cpp
  414. 2
      korganizer/printing/calprinter.cpp
  415. 6
      korganizer/printing/calprintpluginbase.cpp
  416. 2
      korganizer/printing/cellitem.cpp
  417. 12
      korganizer/resourceview.cpp
  418. 2
      korganizer/searchdialog.cpp
  419. 2
      korganizer/templatemanagementdialog.cpp
  420. 2
      korganizer/templatemanagementdialog.h
  421. 4
      korganizer/urihandler.cpp
  422. 4
      korn/account_input.cpp
  423. 2
      korn/accountmanager.cpp
  424. 8
      korn/dcopdrop.cpp
  425. 20
      korn/imap_proto.cpp
  426. 4
      korn/kconf_update/korn-3-4-config_change.cpp
  427. 28
      korn/kio.cpp
  428. 2
      korn/kio_count.cpp
  429. 6
      korn/kio_proto.cpp
  430. 8
      korn/kornaccountcfgimpl.cpp
  431. 2
      korn/maildir_proto.h
  432. 2
      korn/mailsubject.cpp
  433. 20
      korn/pop3_proto.cpp
  434. 4
      korn/pop3_proto.h
  435. 2
      korn/protocols.cpp
  436. 2
      kresources/birthdays/resourcekabc.cpp
  437. 2
      kresources/birthdays/resourcekabcconfig.cpp
  438. 8
      kresources/blogging/API_Blogger.cpp
  439. 2
      kresources/blogging/xmlrpcjob.cpp
  440. 30
      kresources/caldav/preferences.cpp
  441. 42
      kresources/caldav/resource.cpp
  442. 10
      kresources/carddav/preferences.cpp
  443. 4
      kresources/carddav/resource.cpp
  444. 8
      kresources/carddav/writer.cpp
  445. 6
      kresources/egroupware/debugdialog.cpp
  446. 8
      kresources/egroupware/kabc_resourcexmlrpc.cpp
  447. 8
      kresources/egroupware/kcal_resourcexmlrpc.cpp
  448. 4
      kresources/egroupware/todostatemapper.cpp
  449. 8
      kresources/egroupware/xmlrpciface.cpp
  450. 18
      kresources/exchange/dateset.cpp
  451. 10
      kresources/exchange/dateset.h
  452. 8
      kresources/exchange/resourceexchange.cpp
  453. 2
      kresources/featureplan/kcal_resourcefeatureplan.cpp
  454. 4
      kresources/groupdav/groupdavglobals.cpp
  455. 2
      kresources/groupware/kabc_resourcegroupwareconfig.cpp
  456. 6
      kresources/groupwise/kabc_resourcegroupwise.cpp
  457. 6
      kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
  458. 12
      kresources/groupwise/kioslave/groupwise.cpp
  459. 6
      kresources/groupwise/soap/contactconverter.cpp
  460. 8
      kresources/groupwise/soap/groupwiseserver.cpp
  461. 4
      kresources/groupwise/soap/gwjobs.cpp
  462. 4
      kresources/groupwise/soap/ksslsocket.cpp
  463. 2
      kresources/groupwise/soap/soapC.cpp
  464. 2
      kresources/groupwise/soap/soapStub.h
  465. 4
      kresources/groupwise/soap/stdsoap2.h
  466. 10
      kresources/kolab/kabc/contact.cpp
  467. 32
      kresources/kolab/kabc/resourcekolab.cpp
  468. 88
      kresources/kolab/kcal/resourcekolab.cpp
  469. 18
      kresources/kolab/knotes/resourcekolab.cpp
  470. 4
      kresources/kolab/shared/kmailconnection.cpp
  471. 4
      kresources/lib/calendaradaptor.cpp
  472. 12
      kresources/lib/folderconfig.cpp
  473. 12
      kresources/lib/folderlister.cpp
  474. 30
      kresources/lib/folderlistview.cpp
  475. 6
      kresources/lib/folderlistview.h
  476. 6
      kresources/lib/groupwaredataadaptor.cpp
  477. 2
      kresources/lib/groupwaredataadaptor.h
  478. 18
      kresources/lib/groupwaredownloadjob.cpp
  479. 4
      kresources/lib/webdavhandler.cpp
  480. 2
      kresources/newexchange/exchangeconvertercalendar.cpp
  481. 2
      kresources/newexchange/exchangeconvertercontact.cpp
  482. 6
      kresources/newexchange/exchangeglobals.cpp
  483. 32
      kresources/scalix/kabc/resourcescalix.cpp
  484. 58
      kresources/scalix/kcal/resourcescalix.cpp
  485. 8
      kresources/scalix/kioslave/scalix.cpp
  486. 12
      kresources/scalix/knotes/resourcescalix.cpp
  487. 2
      kresources/scalix/scalixadmin/otherusermanager.cpp
  488. 14
      kresources/slox/kabcresourceslox.cpp
  489. 6
      kresources/slox/kcalresourceslox.cpp
  490. 10
      kresources/slox/sloxaccounts.cpp
  491. 2
      kresources/slox/sloxfolderdialog.cpp
  492. 2
      kresources/slox/sloxfoldermanager.cpp
  493. 4
      kresources/tvanytime/COPYING
  494. 8
      kresources/tvanytime/kcal_resourcetvanytime.cpp
  495. 10
      ktnef/lib/ktnefparser.cpp
  496. 10
      ktnef/lib/ktnefpropertyset.cpp
  497. 4
      ktnef/lib/ktnefwriter.cpp
  498. 4
      ktnef/lib/mapi.cpp
  499. 12
      libemailfunctions/email.cpp
  500. 10
      libemailfunctions/idmapper.cpp
  501. Some files were not shown because too many files have changed in this diff Show More

2
NewsLog.txt

@ -593,7 +593,7 @@ Friday, October 2th 2009
Problems addressed
------------------
* kolab/issue3783: SMIME encrypted and signed mail: Audit log dialog tqcontains ???? at the bottom
* kolab/issue3783: SMIME encrypted and signed mail: Audit log dialog contains ???? at the bottom
* kolab/issue3823: mimetreeviewer doesn't show structure of forward-as-attachment message #n where #n > 1
* kolab/issue3889: Kontact crahes if opening/changing calendar view (rt#5868)
* kolab/issue3867: Save S/MIME encrypted mails unencrypted after reading them

2
README.Kolab

@ -39,7 +39,7 @@ KAddressBook:
The scheme for the base DN is to take the parts of the fully
qualified hostname of the kolab server and put ",dc=" between
the parts and "dc=" in front of it. Or in Qt code:
baseDN = "dc=" + hostname.tqreplace( '.', ",dc=" );
baseDN = "dc=" + hostname.replace( '.', ",dc=" );
Finally check the checkbox to activate the LDAP server. Now
you can search the Kolab LDAP server and get all users on the
system.

4
akregator/COPYING

@ -59,7 +59,7 @@ modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which tqcontains
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
@ -154,7 +154,7 @@ Sections 1 and 2 above provided that you also do one of the following:
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it tqcontains, plus any
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include

4
akregator/src/actionmanagerimpl.cpp

@ -148,7 +148,7 @@ void ActionManagerImpl::slotUpdateTagActions(bool enabled, const TQStringList& t
for (TQValueList<TagAction*>::ConstIterator it = actions.begin(); it != actions.end(); ++it)
{
(*it)->setChecked(tagIds.tqcontains((*it)->tag().id()));
(*it)->setChecked(tagIds.contains((*it)->tag().id()));
}
}
}
@ -197,7 +197,7 @@ void ActionManagerImpl::slotTagAdded(const Tag& tag)
if (!Settings::showTaggingGUI())
return;
if (!d->tagActions.tqcontains(tag.id()))
if (!d->tagActions.contains(tag.id()))
{
d->tagActions[tag.id()] = new TagAction(tag, TQT_TQOBJECT(d->view), TQT_SLOT(slotAssignTag(const Tag&, bool)), d->tagMenu);
d->tagMenu->insert(d->tagActions[tag.id()]);

2
akregator/src/addfeeddialog.cpp

@ -79,7 +79,7 @@ void AddFeedDialog::slotOk( )
if (feedURL.startsWith("feed:"))
feedURL = feedURL.right( feedURL.length() - 5 );
if (feedURL.tqfind(":/") == -1)
if (feedURL.find(":/") == -1)
feedURL.prepend("http://");
f->setXmlUrl(feedURL);

2
akregator/src/akregator_part.cpp

@ -522,7 +522,7 @@ bool Part::mergePart(KParts::Part* part)
{
if (m_mergedPart) {
factory()->removeClient(m_mergedPart);
if (childClients()->tqcontainsRef(m_mergedPart))
if (childClients()->containsRef(m_mergedPart))
removeChildClient(m_mergedPart);
}
if (part)

8
akregator/src/akregator_view.cpp

@ -411,10 +411,10 @@ void View::slotOnShutdown()
void View::saveSettings()
{
const TQValueList<int> spl1 = m_horizontalSplitter->sizes();
if ( spl1.tqcontains( 0 ) == 0 )
if ( spl1.contains( 0 ) == 0 )
Settings::setSplitter1Sizes( spl1 );
const TQValueList<int> spl2 = m_articleSplitter->sizes();
if ( spl2.tqcontains( 0 ) == 0 )
if ( spl2.contains( 0 ) == 0 )
Settings::setSplitter2Sizes( spl2 );
Settings::setViewMode( m_viewMode );
Settings::writeConfig();
@ -1329,7 +1329,7 @@ void View::slotArticleDelete()
for (TQValueList<Article>::Iterator it = articles.begin(); it != articles.end(); ++it)
{
Feed* feed = (*it).feed();
if (!feeds.tqcontains(feed))
if (!feeds.contains(feed))
feeds.append(feed);
feed->setNotificationMode(false);
(*it).setDeleted();
@ -1529,7 +1529,7 @@ void View::updateTagActions()
TQStringList atags = (*it).tags();
for (TQStringList::ConstIterator it2 = atags.begin(); it2 != atags.end(); ++it2)
{
if (!tags.tqcontains(*it2))
if (!tags.contains(*it2))
tags += *it2;
}
}

8
akregator/src/article.cpp

@ -102,7 +102,7 @@ void Article::initialize(RSS::Article article, Backend::FeedStorage* archive)
d->guid = article.guid();
if (!d->archive->tqcontains(d->guid))
if (!d->archive->contains(d->guid))
{
d->archive->addEntry(d->guid);
@ -425,7 +425,7 @@ void Article::removeTag(const TQString& tag)
bool Article::hasTag(const TQString& tag) const
{
return d->archive->tags(d->guid).tqcontains(tag);
return d->archive->tags(d->guid).contains(tag);
}
TQStringList Article::tags() const
@ -453,7 +453,7 @@ TQString Article::buildTitle(const TQString& description)
if (description.stripWhiteSpace().isEmpty())
return "";
int i = s.tqfind('>',500); /*avoid processing too much */
int i = s.find('>',500); /*avoid processing too much */
if (i != -1)
s = s.left(i+1);
TQRegExp rx("(<([^\\s>]*)(?:[^>]*)>)[^<]*", false);
@ -470,7 +470,7 @@ TQString Article::buildTitle(const TQString& description)
}
else
toReplace=rx.cap(1); // strip just tag
s=s.tqreplace(s.tqfind(toReplace),toReplace.length(),replaceWith); // do the deed
s=s.replace(s.find(toReplace),toReplace.length(),replaceWith); // do the deed
}
if (s.length()> 90)
s=s.left(90)+"...";

2
akregator/src/articlefilter.cpp

@ -179,7 +179,7 @@ bool Criterion::satisfiedBy( const Article &article ) const
switch ( predicateType ) {
case Contains:
satisfied = concreteSubject.toString().tqfind( m_object.toString(), 0, false ) != -1;
satisfied = concreteSubject.toString().find( m_object.toString(), 0, false ) != -1;
break;
case Equals:
if (subjectType=="int")

6
akregator/src/articlelistview.cpp

@ -354,7 +354,7 @@ void ArticleListView::slotArticlesAdded(TreeNode* /*node*/, const TQValueList<Ar
for (TQValueList<Article>::ConstIterator it = list.begin(); it != list.end(); ++it)
{
if (!d->articleMap.tqcontains(*it))
if (!d->articleMap.contains(*it))
{
if (!(*it).isNull() && !(*it).isDeleted())
{
@ -385,7 +385,7 @@ void ArticleListView::slotArticlesUpdated(TreeNode* /*node*/, const TQValueList<
for (TQValueList<Article>::ConstIterator it = list.begin(); it != list.end(); ++it)
{
if (!(*it).isNull() && d->articleMap.tqcontains(*it))
if (!(*it).isNull() && d->articleMap.contains(*it))
{
ArticleItem* ali = d->articleMap[*it];
@ -447,7 +447,7 @@ void ArticleListView::slotArticlesRemoved(TreeNode* /*node*/, const TQValueList<
for (TQValueList<Article>::ConstIterator it = list.begin(); it != list.end(); ++it)
{
if (d->articleMap.tqcontains(*it))
if (d->articleMap.contains(*it))
{
ArticleItem* ali = d->articleMap[*it];
d->articleMap.remove(*it);

6
akregator/src/articleviewer.cpp

@ -87,7 +87,7 @@ class ArticleViewer::ShowSummaryVisitor : public TreeNodeVisitor
{
text += TQString("<div class=\"body\">");
TQString url=node->xmlUrl();
TQString file = url.tqreplace("/", "_").tqreplace(":", "_");
TQString file = url.replace("/", "_").replace(":", "_");
KURL u(m_view->m_imageDir);
u.setFileName(file);
text += TQString("<a href=\"%1\"><img class=\"headimage\" src=\"%2.png\"></a>\n").tqarg(node->htmlUrl()).tqarg(u.url());
@ -410,7 +410,7 @@ TQString ArticleViewer::formatArticleNormalMode(Feed* feed, const Article& artic
text += TQString("<div class=\"headertitle\" dir=\"%1\">\n").tqarg(directionOf(Utils::stripTags(article.title())));
if (article.link().isValid())
text += "<a href=\""+article.link().url()+"\">";
text += article.title().tqreplace("<", "&lt;").tqreplace(">", "&gt;"); // TODO: better leave things escaped in the parser
text += article.title().replace("<", "&lt;").replace(">", "&gt;"); // TODO: better leave things escaped in the parser
if (article.link().isValid())
text += "</a>";
text += "</div>\n";
@ -505,7 +505,7 @@ TQString ArticleViewer::formatArticleCombinedMode(Feed* feed, const Article& art
text += TQString("<div class=\"headertitle\" dir=\"%1\">\n").tqarg(directionOf(Utils::stripTags(article.title())));
if (link.isValid())
text += "<a href=\""+link.url()+"\">";
text += article.title().tqreplace("<", "&lt;").tqreplace(">", "&gt;"); // TODO: better leave things escaped in the parser
text += article.title().replace("<", "&lt;").replace(">", "&gt;"); // TODO: better leave things escaped in the parser
if (link.isValid())
text += "</a>";
text += "</div>\n";

2
akregator/src/articleviewer.rc

@ -11,7 +11,7 @@
<Action name="viewer_copy"/>
<Action name="selectAll"/>
<Separator/>
<Action name="tqfind"/>
<Action name="find"/>
<Action name="findNext"/>
</Menu>
<Menu noMerge="1" name="view">

10
akregator/src/feed.cpp

@ -87,7 +87,7 @@ class Feed::FeedPrivate
/** caches guids of tagged articles. key: tag, value: list of guids */
TQMap<TQString, TQStringList> taggedArticles;
/** list of deleted articles. This tqcontains **/
/** list of deleted articles. This contains **/
TQValueList<Article> deletedArticles;
/** caches guids of deleted articles for notification */
@ -450,7 +450,7 @@ void Feed::appendArticles(const RSS::Document &doc)
for (it = d_articles.begin(); it != en; ++it)
{
if ( !d->articles.tqcontains((*it).guid()) ) // article not in list
if ( !d->articles.contains((*it).guid()) ) // article not in list
{
Article mya(*it, this);
mya.offsetPubDate(nudge);
@ -535,7 +535,7 @@ void Feed::appendArticle(const Article& a)
{
if ( (a.keep() && Settings::doNotExpireImportantArticles()) || ( !usesExpiryByAge() || !isExpired(a) ) ) // if not expired
{
if (!d->articles.tqcontains(a.guid()))
if (!d->articles.contains(a.guid()))
{
d->articles[a.guid()] = a;
if (!a.isDeleted() && a.status() != Article::Read)
@ -726,10 +726,10 @@ void Feed::setUnread(int unread)
void Feed::setArticleDeleted(Article& a)
{
if (!d->deletedArticles.tqcontains(a))
if (!d->deletedArticles.contains(a))
d->deletedArticles.append(a);
if (!d->removedArticlesNotify.tqcontains(a))
if (!d->removedArticlesNotify.contains(a))
d->removedArticlesNotify.append(a);
articlesModified();

8
akregator/src/feediconmanager.cpp

@ -59,7 +59,7 @@ FeedIconManager* FeedIconManager::self()
void FeedIconManager::fetchIcon(Feed* feed)
{
if (!d->registeredFeeds.tqcontains(feed))
if (!d->registeredFeeds.contains(feed))
{
d->registeredFeeds.append(feed);
connect(feed, TQT_SIGNAL(signalDestroyed(TreeNode*)), this, TQT_SLOT(slotFeedDestroyed(TreeNode*)));
@ -133,8 +133,8 @@ void FeedIconManager::slotFeedDestroyed(TreeNode* node)
{
Feed* feed = dynamic_cast<Feed*>(node);
if (feed)
while (d->registeredFeeds.tqcontains(feed))
d->registeredFeeds.remove(d->registeredFeeds.tqfind(feed));
while (d->registeredFeeds.contains(feed))
d->registeredFeeds.remove(d->registeredFeeds.find(feed));
}
void FeedIconManager::slotIconChanged(bool /*isHost*/, const TQString& hostOrURL,
@ -147,7 +147,7 @@ void FeedIconManager::slotIconChanged(bool /*isHost*/, const TQString& hostOrURL
if (!p.isNull()) // we don't set null pixmaps, as feed checks pixmap.isNull() to find out whether the icon was already loaded or not. It would request the icon another time, resulting an infinite loop (until stack overflow that is
{
while (( f = d->urlDict.take(hostOrURL) ))
if (d->registeredFeeds.tqcontains(f))
if (d->registeredFeeds.contains(f))
f->setFavicon(p);
}
emit signalIconChanged(hostOrURL, iconFile);

4
akregator/src/feedlist.cpp

@ -117,7 +117,7 @@ void FeedList::parseChildNodes(TQDomNode &node, Folder* tqparent)
Feed* feed = Feed::fromOPML(e);
if (feed)
{
if (!d->urlMap[feed->xmlUrl()].tqcontains(feed))
if (!d->urlMap[feed->xmlUrl()].contains(feed))
d->urlMap[feed->xmlUrl()].append(feed);
tqparent->appendChild(feed);
}
@ -219,7 +219,7 @@ void FeedList::append(FeedList* list, Folder* tqparent, TreeNode* after)
if ( list == this )
return;
if ( !flatList()->tqcontains(tqparent) )
if ( !flatList()->contains(tqparent) )
tqparent = rootNode();
TQValueList<TreeNode*> tqchildren = list->rootNode()->tqchildren();

4
akregator/src/feedlistview.cpp

@ -457,12 +457,12 @@ TreeNode* NodeListView::findNodeByTitle(const TQString& title)
TreeNodeItem* NodeListView::findNodeItem(TreeNode* node)
{
return d->itemDict.tqfind(node);
return d->itemDict.find(node);
}
TreeNodeItem* NodeListView::findItemByTitle(const TQString& text, int column, ComparisonFlags compare) const
{
return dynamic_cast<TreeNodeItem*> (KListView::tqfindItem(text, column, compare));
return dynamic_cast<TreeNodeItem*> (KListView::findItem(text, column, compare));
}
void NodeListView::ensureNodeVisible(TreeNode* node)

2
akregator/src/feedstorage.h

@ -92,7 +92,7 @@ class AKREGATOR_EXPORT FeedStorage : public TQObject
virtual void clear() = 0;
virtual bool tqcontains(const TQString& guid) = 0;
virtual bool contains(const TQString& guid) = 0;
virtual void addEntry(const TQString& guid) = 0;
virtual void deleteArticle(const TQString& guid) = 0;
virtual int comments(const TQString& guid) = 0;

76
akregator/src/feedstoragedummyimpl.cpp

@ -147,21 +147,21 @@ TQStringList FeedStorageDummyImpl::articles(const Category& cat)
void FeedStorageDummyImpl::addEntry(const TQString& guid)
{
if (!d->entries.tqcontains(guid))
if (!d->entries.contains(guid))
{
d->entries[guid] = FeedStorageDummyImplPrivate::Entry();
setTotalCount(totalCount()+1);
}
}
bool FeedStorageDummyImpl::tqcontains(const TQString& guid)
bool FeedStorageDummyImpl::contains(const TQString& guid)
{
return d->entries.tqcontains(guid);
return d->entries.contains(guid);
}
void FeedStorageDummyImpl::deleteArticle(const TQString& guid)
{
if (!d->entries.tqcontains(guid))
if (!d->entries.contains(guid))
return;
setDeleted(guid);
@ -172,33 +172,33 @@ void FeedStorageDummyImpl::deleteArticle(const TQString& guid)
int FeedStorageDummyImpl::comments(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].comments : 0;
return contains(guid) ? d->entries[guid].comments : 0;
}
TQString FeedStorageDummyImpl::commentsLink(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].commentsLink : "";
return contains(guid) ? d->entries[guid].commentsLink : "";
}
bool FeedStorageDummyImpl::guidIsHash(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].guidIsHash : false;
return contains(guid) ? d->entries[guid].guidIsHash : false;
}
bool FeedStorageDummyImpl::guidIsPermaLink(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].guidIsPermaLink : false;
return contains(guid) ? d->entries[guid].guidIsPermaLink : false;
}
uint FeedStorageDummyImpl::hash(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].hash : 0;
return contains(guid) ? d->entries[guid].hash : 0;
}
void FeedStorageDummyImpl::setDeleted(const TQString& guid)
{
if (!tqcontains(guid))
if (!contains(guid))
return;
FeedStorageDummyImplPrivate::Entry entry = d->entries[guid];
@ -233,99 +233,99 @@ void FeedStorageDummyImpl::setDeleted(const TQString& guid)
TQString FeedStorageDummyImpl::link(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].link : "";
return contains(guid) ? d->entries[guid].link : "";
}
uint FeedStorageDummyImpl::pubDate(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].pubDate : 0;
return contains(guid) ? d->entries[guid].pubDate : 0;
}
int FeedStorageDummyImpl::status(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].status : 0;
return contains(guid) ? d->entries[guid].status : 0;
}
void FeedStorageDummyImpl::setqStatus(const TQString& guid, int status)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].status = status;
}
TQString FeedStorageDummyImpl::title(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].title : "";
return contains(guid) ? d->entries[guid].title : "";
}
TQString FeedStorageDummyImpl::description(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].description : "";
return contains(guid) ? d->entries[guid].description : "";
}
void FeedStorageDummyImpl::setPubDate(const TQString& guid, uint pubdate)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].pubDate = pubdate;
}
void FeedStorageDummyImpl::setGuidIsHash(const TQString& guid, bool isHash)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].guidIsHash = isHash;
}
void FeedStorageDummyImpl::setLink(const TQString& guid, const TQString& link)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].link = link;
}
void FeedStorageDummyImpl::setHash(const TQString& guid, uint hash)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].hash = hash;
}
void FeedStorageDummyImpl::setTitle(const TQString& guid, const TQString& title)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].title = title;
}
void FeedStorageDummyImpl::setDescription(const TQString& guid, const TQString& description)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].description = description;
}
void FeedStorageDummyImpl::setCommentsLink(const TQString& guid, const TQString& commentsLink)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].commentsLink = commentsLink;
}
void FeedStorageDummyImpl::setComments(const TQString& guid, int comments)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].comments = comments;
}
void FeedStorageDummyImpl::setGuidIsPermaLink(const TQString& guid, bool isPermaLink)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].guidIsPermaLink = isPermaLink;
}
void FeedStorageDummyImpl::addTag(const TQString& guid, const TQString& tag)
{
if (tqcontains(guid))
if (contains(guid))
{
d->entries[guid].tags.append(tag);
if (!d->taggedArticles[tag].tqcontains(guid))
if (!d->taggedArticles[tag].contains(guid))
d->taggedArticles[tag].append(guid);
if (!d->tags.tqcontains(tag))
if (!d->tags.contains(tag))
d->tags.append(tag);
}
@ -333,7 +333,7 @@ void FeedStorageDummyImpl::addTag(const TQString& guid, const TQString& tag)
void FeedStorageDummyImpl::addCategory(const TQString& guid, const Category& cat)
{
if (!tqcontains(guid))
if (!contains(guid))
return;
d->entries[guid].categories.append(cat);
@ -345,19 +345,19 @@ void FeedStorageDummyImpl::addCategory(const TQString& guid, const Category& cat
void FeedStorageDummyImpl::setAuthor(const TQString& guid, const TQString& author)
{
if (tqcontains(guid))
if (contains(guid))
d->entries[guid].author = author;
}
TQString FeedStorageDummyImpl::author(const TQString& guid)
{
return tqcontains(guid) ? d->entries[guid].author : TQString();
return contains(guid) ? d->entries[guid].author : TQString();
}
TQValueList<Category> FeedStorageDummyImpl::categories(const TQString& guid)
{
if (!guid.isNull())
return tqcontains(guid) ? d->entries[guid].categories : TQValueList<Category>();
return contains(guid) ? d->entries[guid].categories : TQValueList<Category>();
else
return d->categories;
}
@ -365,7 +365,7 @@ TQValueList<Category> FeedStorageDummyImpl::categories(const TQString& guid)
void FeedStorageDummyImpl::removeTag(const TQString& guid, const TQString& tag)
{
if (tqcontains(guid))
if (contains(guid))
{
d->entries[guid].tags.remove(tag);
d->taggedArticles[tag].remove(guid);
@ -377,7 +377,7 @@ void FeedStorageDummyImpl::removeTag(const TQString& guid, const TQString& tag)
TQStringList FeedStorageDummyImpl::tags(const TQString& guid)
{
if (!guid.isNull())
return tqcontains(guid) ? d->entries[guid].tags : TQStringList();
return contains(guid) ? d->entries[guid].tags : TQStringList();
else
{
return d->tags;
@ -396,7 +396,7 @@ void FeedStorageDummyImpl::add(FeedStorage* source)
void FeedStorageDummyImpl::copyArticle(const TQString& guid, FeedStorage* source)
{
if (!tqcontains(guid))
if (!contains(guid))
addEntry(guid);
setComments(guid, source->comments(guid));
@ -424,7 +424,7 @@ void FeedStorageDummyImpl::clear()
void FeedStorageDummyImpl::setEnclosure(const TQString& guid, const TQString& url, const TQString& type, int length)
{
if (tqcontains(guid))
if (contains(guid))
{
FeedStorageDummyImplPrivate::Entry entry = d->entries[guid];
entry.hasEnclosure = true;
@ -436,7 +436,7 @@ void FeedStorageDummyImpl::setEnclosure(const TQString& guid, const TQString& ur
void FeedStorageDummyImpl::removeEnclosure(const TQString& guid)
{
if (tqcontains(guid))
if (contains(guid))
{
FeedStorageDummyImplPrivate::Entry entry = d->entries[guid];
entry.hasEnclosure = false;
@ -448,7 +448,7 @@ void FeedStorageDummyImpl::removeEnclosure(const TQString& guid)
void FeedStorageDummyImpl::enclosure(const TQString& guid, bool& hasEnclosure, TQString& url, TQString& type, int& length)
{
if (tqcontains(guid))
if (contains(guid))
{
FeedStorageDummyImplPrivate::Entry entry = d->entries[guid];
hasEnclosure = entry.hasEnclosure;

2
akregator/src/feedstoragedummyimpl.h

@ -50,7 +50,7 @@ class FeedStorageDummyImpl : public FeedStorage
virtual TQStringList articles(const Category& cat);
virtual bool tqcontains(const TQString& guid);
virtual bool contains(const TQString& guid);
virtual void addEntry(const TQString& guid);
virtual void deleteArticle(const TQString& guid);
virtual int comments(const TQString& guid);

2
akregator/src/fetchqueue.cpp

@ -72,7 +72,7 @@ void FetchQueue::slotAbort()
void FetchQueue::addFeed(Feed *f)
{
if (!d->queuedFeeds.tqcontains(f) && !d->fetchingFeeds.tqcontains(f))
if (!d->queuedFeeds.contains(f) && !d->fetchingFeeds.contains(f))
{
connectToFeed(f);
d->queuedFeeds.append(f);

6
akregator/src/folder.cpp

@ -99,7 +99,7 @@ TQStringList Folder::tags() const
// intersect tag sets instead of appending lists, to avoid dupes. This sucks. Definitely. I want TQSet. Now.
TQStringList t2 = (*it)->tags();
for (TQStringList::ConstIterator it2 = t2.begin(); it2 != t2.end(); ++it2)
if (!t.tqcontains(*it2))
if (!t.contains(*it2))
t.append(*it2);
}
return t;
@ -137,7 +137,7 @@ TQValueList<TreeNode*> Folder::tqchildren() const
void Folder::insertChild(TreeNode* node, TreeNode* after)
{
int pos = d->tqchildren.tqfindIndex(after);
int pos = d->tqchildren.findIndex(after);
if (pos < 0)
prependChild(node);
@ -202,7 +202,7 @@ void Folder::prependChild(TreeNode* node)
void Folder::removeChild(TreeNode* node)
{
// kdDebug() << "enter Folder::removeChild() node:" << (node ? node->title() : "null") << endl;
if (node && d->tqchildren.tqcontains(node))
if (node && d->tqchildren.contains(node))
{
node->setParent(0);
d->tqchildren.remove(node);

2
akregator/src/frame.cpp

@ -123,7 +123,7 @@ void Frame::setCaption(const TQString &s)
void Frame::seStatusText(const TQString &s)
{
m_statusText=s;
m_statusText.tqreplace(TQRegExp("<[^>]*>"), "");
m_statusText.replace(TQRegExp("<[^>]*>"), "");
emit statusText(m_statusText);
}

26
akregator/src/librss/tools_p.cpp

@ -24,7 +24,7 @@ time_t parseISO8601Date(const TQString &s)
return 0; // error
// FIXME: imho this is done in KRFCDate::parseDateISO8601() automatically, so we could omit it? -fo
if (s.tqfind('T') != -1)
if (s.find('T') != -1)
return KRFCDate::parseDateISO8601(s);
else
return KRFCDate::parseDateISO8601(s + "T12:00:00");
@ -43,11 +43,11 @@ TQString childNodesAsXML(const TQDomNode& tqparent)
static TQString plainTextToHtml(const TQString& plainText)
{
TQString str(plainText);
str.tqreplace("&", "&amp;");
str.tqreplace("\"", "&quot;");
str.tqreplace("<", "&lt;");
//str.tqreplace(">", "&gt;");
str.tqreplace("\n", "<br/>");
str.replace("&", "&amp;");
str.replace("\"", "&quot;");
str.replace("<", "&lt;");
//str.replace(">", "&gt;");
str.replace("\n", "<br/>");
return str;
}
@ -84,7 +84,7 @@ static ContentFormat mapTypeToFormat(const TQString& modep, const TQString& type
xmltypes.append(TQString::fromUtf8("application/xml-dtd"));
if (xmltypes.tqcontains(type)
if (xmltypes.contains(type)
|| type.tqendsWith(TQString::fromUtf8("+xml"), false)
|| type.tqendsWith(TQString::fromUtf8("/xml"), false))
return XML;
@ -102,7 +102,7 @@ static TQString extractAtomContent(const TQDomElement& e)
{
case HTML:
{
const bool hasPre = e.text().tqcontains( "<pre>", false ) || e.text().tqcontains( "<pre ", false );
const bool hasPre = e.text().contains( "<pre>", false ) || e.text().contains( "<pre ", false );
return KCharsets::resolveEntities( hasPre ? e.text() : e.text().simplifyWhiteSpace() );
}
case Text:
@ -132,10 +132,10 @@ TQString extractNode(const TQDomNode &tqparent, const TQString &elemName, bool i
}
else // check for HTML; not necessary for Atom:content
{
bool hasPre = result.tqcontains("<pre>", false) || result.tqcontains("<pre ", false);
bool hasHtml = hasPre || result.tqcontains("<"); // FIXME: test if we have html, should be more clever -> regexp
bool hasPre = result.contains("<pre>", false) || result.contains("<pre ", false);
bool hasHtml = hasPre || result.contains("<"); // FIXME: test if we have html, should be more clever -> regexp
if(!isInlined && !hasHtml) // perform nl2br if not a inline elt and it has no html elts
result = result = result.tqreplace(TQChar('\n'), "<br />");
result = result = result.replace(TQChar('\n'), "<br />");
if(!hasPre) // strip white spaces if no <pre>
result = result.simplifyWhiteSpace();
}
@ -151,7 +151,7 @@ TQString extractTitle(const TQDomNode & tqparent)
TQString result = node.toElement().text();
result = KCharsets::resolveEntities(KCharsets::resolveEntities(result).tqreplace(TQRegExp("<[^>]*>"), "").remove("\\"));
result = KCharsets::resolveEntities(KCharsets::resolveEntities(result).replace(TQRegExp("<[^>]*>"), "").remove("\\"));
result = result.simplifyWhiteSpace();
if (result.isEmpty())
@ -177,7 +177,7 @@ static void authorFromString(const TQString& strp, TQString& name, TQString& ema
{
TQString all = remail.cap(0);
email = remail.cap(1);
str.tqreplace(all, ""); // remove mail address
str.replace(all, ""); // remove mail address
}
// simplify the rest and use it as name

10
akregator/src/mk4storage/feedstoragemk4impl.cpp

@ -147,8 +147,8 @@ FeedStorageMK4Impl::FeedStorageMK4Impl(const TQString& url, StorageMK4Impl* main
kdDebug() << url2 << endl;
TQString t = url2;
TQString t2 = url2;
TQString filePath = main->archivePath() +"/"+ t.tqreplace("/", "_").tqreplace(":", "_");
d->oldArchivePath = KGlobal::dirs()->saveLocation("data", "akregator/Archive/") + t2.tqreplace("/", "_").tqreplace(":", "_") + ".xml";
TQString filePath = main->archivePath() +"/"+ t.replace("/", "_").replace(":", "_");
d->oldArchivePath = KGlobal::dirs()->saveLocation("data", "akregator/Archive/") + t2.replace("/", "_").replace(":", "_") + ".xml";
d->convert = !TQFile::exists(filePath + ".mk4") && TQFile::exists(d->oldArchivePath);
d->storage = new c4_Storage((filePath + ".mk4").local8Bit(), true);
@ -297,7 +297,7 @@ void FeedStorageMK4Impl::addEntry(const TQString& guid)
{
c4_Row row;
d->pguid(row) = guid.ascii();
if (!tqcontains(guid))
if (!contains(guid))
{
d->archiveView.Add(row);
markDirty();
@ -305,7 +305,7 @@ void FeedStorageMK4Impl::addEntry(const TQString& guid)
}
}
bool FeedStorageMK4Impl::tqcontains(const TQString& guid)
bool FeedStorageMK4Impl::contains(const TQString& guid)
{
return findArticle(guid) != -1;
}
@ -789,7 +789,7 @@ void FeedStorageMK4Impl::add(FeedStorage* source)
void FeedStorageMK4Impl::copyArticle(const TQString& guid, FeedStorage* source)
{
if (!tqcontains(guid))
if (!contains(guid))
addEntry(guid);
setComments(guid, source->comments(guid));
setCommentsLink(guid, source->commentsLink(guid));

2
akregator/src/mk4storage/feedstoragemk4impl.h

@ -50,7 +50,7 @@ class FeedStorageMK4Impl : public FeedStorage
virtual TQStringList articles(const Category& cat);
virtual bool tqcontains(const TQString& guid);
virtual bool contains(const TQString& guid);
virtual void addEntry(const TQString& guid);
virtual void deleteArticle(const TQString& guid);
virtual int comments(const TQString& guid);