Browse Source

Trinity Qt initial conversion

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 12 years ago
parent
commit
c663b64409
  1. 44
      drkonqi/backtrace.cpp
  2. 10
      drkonqi/backtrace.h
  3. 4
      drkonqi/crashtest.cpp
  4. 58
      drkonqi/debugger.cpp
  5. 20
      drkonqi/debugger.h
  6. 8
      drkonqi/drbugreport.cpp
  7. 6
      drkonqi/drbugreport.h
  8. 40
      drkonqi/krashconf.cpp
  9. 72
      drkonqi/krashconf.h
  10. 18
      drkonqi/krashdcopinterface.h
  11. 46
      drkonqi/toplevel.cpp
  12. 8
      drkonqi/toplevel.h
  13. 44
      kappfinder/common.cpp
  14. 22
      kappfinder/common.h
  15. 10
      kappfinder/main_install.cpp
  16. 82
      kappfinder/toplevel.cpp
  17. 30
      kappfinder/toplevel.h
  18. 46
      kate/app/kateapp.cpp
  19. 12
      kate/app/kateapp.h
  20. 10
      kate/app/kateappIface.cpp
  21. 10
      kate/app/kateappIface.h
  22. 140
      kate/app/kateconfigdialog.cpp
  23. 20
      kate/app/kateconfigdialog.h
  24. 26
      kate/app/kateconfigplugindialogpage.cpp
  25. 6
      kate/app/kateconfigplugindialogpage.h
  26. 10
      kate/app/kateconsole.cpp
  27. 6
      kate/app/kateconsole.h
  28. 80
      kate/app/katedocmanager.cpp
  29. 38
      kate/app/katedocmanager.h
  30. 2
      kate/app/katedocmanageriface.cpp
  31. 2
      kate/app/katedocmanageriface.h
  32. 230
      kate/app/kateexternaltools.cpp
  33. 66
      kate/app/kateexternaltools.h
  34. 186
      kate/app/katefilelist.cpp
  35. 52
      kate/app/katefilelist.h
  36. 278
      kate/app/katefileselector.cpp
  37. 44
      kate/app/katefileselector.h
  38. 162
      kate/app/kategrepdialog.cpp
  39. 44
      kate/app/kategrepdialog.h
  40. 30
      kate/app/katemailfilesdialog.cpp
  41. 10
      kate/app/katemailfilesdialog.h
  42. 28
      kate/app/katemain.cpp
  43. 164
      kate/app/katemainwindow.cpp
  44. 16
      kate/app/katemainwindow.h
  45. 2
      kate/app/katemainwindowiface.cpp
  46. 146
      kate/app/katemdi.cpp
  47. 74
      kate/app/katemdi.h
  48. 50
      kate/app/katemwmodonhddialog.cpp
  49. 8
      kate/app/katemwmodonhddialog.h
  50. 26
      kate/app/katepluginmanager.cpp
  51. 16
      kate/app/katepluginmanager.h
  52. 62
      kate/app/katesavemodifieddialog.cpp
  53. 10
      kate/app/katesavemodifieddialog.h
  54. 132
      kate/app/katesession.cpp
  55. 46
      kate/app/katesession.h
  56. 22
      kate/app/katetabwidget.cpp
  57. 18
      kate/app/katetabwidget.h
  58. 84
      kate/app/kateviewmanager.cpp
  59. 20
      kate/app/kateviewmanager.h
  60. 108
      kate/app/kateviewspace.cpp
  61. 44
      kate/app/kateviewspace.h
  62. 122
      kate/app/kateviewspacecontainer.cpp
  63. 20
      kate/app/kateviewspacecontainer.h
  64. 22
      kate/app/kbookmarkhandler.cpp
  65. 18
      kate/app/kbookmarkhandler.h
  66. 100
      kate/app/kwritemain.cpp
  67. 16
      kate/app/kwritemain.h
  68. 2
      kate/interfaces/application.cpp
  69. 2
      kate/interfaces/application.h
  70. 4
      kate/interfaces/documentmanager.cpp
  71. 4
      kate/interfaces/documentmanager.h
  72. 4
      kate/interfaces/mainwindow.cpp
  73. 6
      kate/interfaces/mainwindow.h
  74. 4
      kate/interfaces/plugin.cpp
  75. 6
      kate/interfaces/plugin.h
  76. 2
      kate/interfaces/pluginconfiginterfaceextension.cpp
  77. 14
      kate/interfaces/pluginconfiginterfaceextension.h
  78. 10
      kate/interfaces/pluginmanager.cpp
  79. 10
      kate/interfaces/pluginmanager.h
  80. 10
      kate/interfaces/toolviewmanager.cpp
  81. 10
      kate/interfaces/toolviewmanager.h
  82. 4
      kate/interfaces/viewmanager.cpp
  83. 2
      kate/interfaces/viewmanager.h
  84. 42
      kate/utils/dockviewbase.cpp
  85. 20
      kate/utils/dockviewbase.h
  86. 4
      kate/utils/listboxview.cpp
  87. 4
      kate/utils/listboxview.h
  88. 12
      kate/utils/messageview.cpp
  89. 10
      kate/utils/messageview.h
  90. 44
      kcminit/main.cpp
  91. 6
      kcminit/main.h
  92. 72
      kcontrol/access/kaccess.cpp
  93. 18
      kcontrol/access/kaccess.h
  94. 310
      kcontrol/access/kcmaccess.cpp
  95. 34
      kcontrol/access/kcmaccess.h
  96. 16
      kcontrol/accessibility/accessibility.cpp
  97. 2
      kcontrol/accessibility/accessibility.h
  98. 184
      kcontrol/arts/arts.cpp
  99. 40
      kcontrol/arts/arts.h
  100. 44
      kcontrol/arts/krichtextlabel.cpp
  101. 18
      kcontrol/arts/krichtextlabel.h
  102. 132
      kcontrol/background/bgadvanced.cpp
  103. 48
      kcontrol/background/bgadvanced.h
  104. 4
      kcontrol/background/bgdefaults.h
  105. 198
      kcontrol/background/bgdialog.cpp
  106. 24
      kcontrol/background/bgdialog.h
  107. 6
      kcontrol/background/bghash.h
  108. 82
      kcontrol/background/bgmonitor.cpp
  109. 46
      kcontrol/background/bgmonitor.h
  110. 178
      kcontrol/background/bgrender.cpp
  111. 52
      kcontrol/background/bgrender.h
  112. 166
      kcontrol/background/bgsettings.cpp
  113. 128
      kcontrol/background/bgsettings.h
  114. 48
      kcontrol/background/bgwallpaper.cpp
  115. 14
      kcontrol/background/bgwallpaper.h
  116. 14
      kcontrol/background/main.cpp
  117. 2
      kcontrol/background/main.h
  118. 46
      kcontrol/bell/bell.cpp
  119. 6
      kcontrol/bell/bell.h
  120. 138
      kcontrol/clock/dtime.cpp
  121. 44
      kcontrol/clock/dtime.h
  122. 16
      kcontrol/clock/main.cpp
  123. 4
      kcontrol/clock/main.h
  124. 44
      kcontrol/clock/tzone.cpp
  125. 6
      kcontrol/clock/tzone.h
  126. 236
      kcontrol/colors/colorscm.cpp
  127. 38
      kcontrol/colors/colorscm.h
  128. 274
      kcontrol/colors/widgetcanvas.cpp
  129. 84
      kcontrol/colors/widgetcanvas.h
  130. 120
      kcontrol/componentchooser/componentchooser.cpp
  131. 28
      kcontrol/componentchooser/componentchooser.h
  132. 10
      kcontrol/componentchooser/kcm_componentchooser.cpp
  133. 2
      kcontrol/componentchooser/kcm_componentchooser.h
  134. 54
      kcontrol/crypto/certexport.cpp
  135. 8
      kcontrol/crypto/certexport.h
  136. 718
      kcontrol/crypto/crypto.cpp
  137. 198
      kcontrol/crypto/crypto.h
  138. 36
      kcontrol/crypto/kdatetimedlg.cpp
  139. 14
      kcontrol/crypto/kdatetimedlg.h
  140. 134
      kcontrol/css/kcmcss.cpp
  141. 6
      kcontrol/css/kcmcss.h
  142. 18
      kcontrol/css/template.cpp
  143. 10
      kcontrol/css/template.h
  144. 32
      kcontrol/display/display.cpp
  145. 8
      kcontrol/display/display.h
  146. 62
      kcontrol/dnssd/kcmdnssd.cpp
  147. 6
      kcontrol/dnssd/kcmdnssd.h
  148. 10
      kcontrol/ebrowsing/filteropts.cpp
  149. 4
      kcontrol/ebrowsing/filteropts.h
  150. 30
      kcontrol/ebrowsing/main.cpp
  151. 6
      kcontrol/ebrowsing/main.h
  152. 114
      kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp
  153. 14
      kcontrol/ebrowsing/plugins/ikws/ikwsopts.h
  154. 4
      kcontrol/ebrowsing/plugins/ikws/kuriikwsfilter.cpp
  155. 4
      kcontrol/ebrowsing/plugins/ikws/kuriikwsfilter.h
  156. 134
      kcontrol/ebrowsing/plugins/ikws/kuriikwsfiltereng.cpp
  157. 28
      kcontrol/ebrowsing/plugins/ikws/kuriikwsfiltereng.h
  158. 10
      kcontrol/ebrowsing/plugins/ikws/kurisearchfilter.cpp
  159. 8
      kcontrol/ebrowsing/plugins/ikws/kurisearchfilter.h
  160. 16
      kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp
  161. 32
      kcontrol/ebrowsing/plugins/ikws/searchprovider.h
  162. 26
      kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp
  163. 2
      kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.h
  164. 28
      kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp
  165. 12
      kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.h
  166. 98
      kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp
  167. 18
      kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.h
  168. 44
      kcontrol/energy/energy.cpp
  169. 8
      kcontrol/energy/energy.h
  170. 2
      kcontrol/filetypes/control.cpp
  171. 26
      kcontrol/filetypes/filegroupdetails.cpp
  172. 6
      kcontrol/filetypes/filegroupdetails.h
  173. 104
      kcontrol/filetypes/filetypedetails.cpp
  174. 24
      kcontrol/filetypes/filetypedetails.h
  175. 130
      kcontrol/filetypes/filetypesview.cpp
  176. 32
      kcontrol/filetypes/filetypesview.h
  177. 28
      kcontrol/filetypes/keditfiletype.cpp
  178. 90
      kcontrol/filetypes/kservicelistwidget.cpp
  179. 16
      kcontrol/filetypes/kservicelistwidget.h
  180. 14
      kcontrol/filetypes/kserviceselectdlg.cpp
  181. 2
      kcontrol/filetypes/kserviceselectdlg.h
  182. 30
      kcontrol/filetypes/newtypedlg.cpp
  183. 12
      kcontrol/filetypes/newtypedlg.h
  184. 110
      kcontrol/filetypes/typeslistitem.cpp
  185. 56
      kcontrol/filetypes/typeslistitem.h
  186. 180
      kcontrol/fonts/fonts.cpp
  187. 44
      kcontrol/fonts/fonts.h
  188. 186
      kcontrol/fonts/kxftconfig.cpp
  189. 78
      kcontrol/fonts/kxftconfig.h
  190. 100
      kcontrol/iccconfig/iccconfig.cpp
  191. 20
      kcontrol/iccconfig/iccconfig.h
  192. 200
      kcontrol/icons/icons.cpp
  193. 54
      kcontrol/icons/icons.h
  194. 112
      kcontrol/icons/iconthemes.cpp
  195. 24
      kcontrol/icons/iconthemes.h
  196. 16
      kcontrol/icons/main.cpp
  197. 8
      kcontrol/icons/main.h
  198. 140
      kcontrol/info/info.cpp
  199. 56
      kcontrol/info/info.h
  200. 76
      kcontrol/info/info_aix.cpp
  201. 148
      kcontrol/info/info_fbsd.cpp
  202. 22
      kcontrol/info/info_generic.cpp
  203. 216
      kcontrol/info/info_hpux.cpp
  204. 158
      kcontrol/info/info_linux.cpp
  205. 90
      kcontrol/info/info_netbsd.cpp
  206. 84
      kcontrol/info/info_openbsd.cpp
  207. 42
      kcontrol/info/info_osx.cpp
  208. 26
      kcontrol/info/info_sgi.cpp
  209. 76
      kcontrol/info/info_solaris.cpp
  210. 38
      kcontrol/info/info_svr4.cpp
  211. 26
      kcontrol/info/main.cpp
  212. 86
      kcontrol/info/memory.cpp
  213. 42
      kcontrol/info/memory.h
  214. 4
      kcontrol/info/memory_linux.cpp
  215. 2
      kcontrol/info/memory_osx.cpp
  216. 140
      kcontrol/info/opengl.cpp
  217. 40
      kcontrol/input/core/themepage.cpp
  218. 6
      kcontrol/input/core/themepage.h
  219. 40
      kcontrol/input/logitechmouse.cpp
  220. 18
      kcontrol/input/logitechmouse.h
  221. 16
      kcontrol/input/main.cpp
  222. 146
      kcontrol/input/mouse.cpp
  223. 42
      kcontrol/input/mouse.h
  224. 40
      kcontrol/input/xcursor/previewwidget.cpp
  225. 8
      kcontrol/input/xcursor/previewwidget.h
  226. 160
      kcontrol/input/xcursor/themepage.cpp
  227. 26
      kcontrol/input/xcursor/themepage.h
  228. 54
      kcontrol/ioslaveinfo/kcmioslaveinfo.cpp
  229. 14
      kcontrol/ioslaveinfo/kcmioslaveinfo.h
  230. 36
      kcontrol/joystick/caldialog.cpp
  231. 6
      kcontrol/joystick/caldialog.h
  232. 4
      kcontrol/joystick/joydevice.cpp
  233. 14
      kcontrol/joystick/joydevice.h
  234. 4
      kcontrol/joystick/joystick.cpp
  235. 2
      kcontrol/joystick/joystick.h
  236. 90
      kcontrol/joystick/joywidget.cpp
  237. 22
      kcontrol/joystick/joywidget.h
  238. 12
      kcontrol/joystick/poswidget.cpp
  239. 6
      kcontrol/joystick/poswidget.h
  240. 48
      kcontrol/kcontrol/aboutwidget.cpp
  241. 18
      kcontrol/kcontrol/aboutwidget.h
  242. 82
      kcontrol/kcontrol/dockcontainer.cpp
  243. 20
      kcontrol/kcontrol/dockcontainer.h
  244. 46
      kcontrol/kcontrol/global.cpp
  245. 48
      kcontrol/kcontrol/global.h
  246. 10
      kcontrol/kcontrol/helpwidget.cpp
  247. 12
      kcontrol/kcontrol/helpwidget.h
  248. 50
      kcontrol/kcontrol/indexwidget.cpp
  249. 10
      kcontrol/kcontrol/indexwidget.h
  250. 10
      kcontrol/kcontrol/kcrootonly.cpp
  251. 2
      kcontrol/kcontrol/kcrootonly.h
  252. 22
      kcontrol/kcontrol/main.cpp
  253. 12
      kcontrol/kcontrol/moduleIface.cpp
  254. 18
      kcontrol/kcontrol/moduleIface.h
  255. 38
      kcontrol/kcontrol/moduleiconview.cpp
  256. 22
      kcontrol/kcontrol/moduleiconview.h
  257. 30
      kcontrol/kcontrol/modulemenu.cpp
  258. 18
      kcontrol/kcontrol/modulemenu.h
  259. 60
      kcontrol/kcontrol/modules.cpp
  260. 30
      kcontrol/kcontrol/modules.h
  261. 126
      kcontrol/kcontrol/moduletreeview.cpp
  262. 50
      kcontrol/kcontrol/moduletreeview.h
  263. 110
      kcontrol/kcontrol/proxywidget.cpp
  264. 10
      kcontrol/kcontrol/proxywidget.h
  265. 66
      kcontrol/kcontrol/searchwidget.cpp
  266. 34
      kcontrol/kcontrol/searchwidget.h
  267. 126
      kcontrol/kcontrol/toplevel.cpp
  268. 14
      kcontrol/kcontrol/toplevel.h
  269. 118
      kcontrol/kded/kcmkded.cpp
  270. 26
      kcontrol/kded/kcmkded.h
  271. 22
      kcontrol/kdm/background.cpp
  272. 10
      kcontrol/kdm/background.h
  273. 6
      kcontrol/kdm/kbackedcombobox.cpp
  274. 10
      kcontrol/kdm/kbackedcombobox.h
  275. 216
      kcontrol/kdm/kdm-appear.cpp
  276. 36
      kcontrol/kdm/kdm-appear.h
  277. 164
      kcontrol/kdm/kdm-conv.cpp
  278. 26
      kcontrol/kdm/kdm-conv.h
  279. 52
      kcontrol/kdm/kdm-font.cpp
  280. 4
      kcontrol/kdm/kdm-font.h
  281. 80
      kcontrol/kdm/kdm-shut.cpp
  282. 8
      kcontrol/kdm/kdm-shut.h
  283. 240
      kcontrol/kdm/kdm-users.cpp
  284. 34
      kcontrol/kdm/kdm-users.h
  285. 82
      kcontrol/kdm/main.cpp
  286. 14
      kcontrol/kdm/main.h
  287. 72
      kcontrol/keys/commandShortcuts.cpp
  288. 24
      kcontrol/keys/commandShortcuts.h
  289. 60
      kcontrol/keys/kaccelaction.h
  290. 104
      kcontrol/keys/keyconfig.cpp
  291. 32
      kcontrol/keys/keyconfig.h
  292. 28
      kcontrol/keys/khotkeys.cpp
  293. 12
      kcontrol/keys/khotkeys.h
  294. 22
      kcontrol/keys/main.cpp
  295. 8
      kcontrol/keys/main.h
  296. 64
      kcontrol/keys/modifiers.cpp
  297. 14
      kcontrol/keys/modifiers.h
  298. 96
      kcontrol/keys/shortcuts.cpp
  299. 26
      kcontrol/keys/shortcuts.h
  300. 100
      kcontrol/keys/treeview.cpp
  301. 42
      kcontrol/keys/treeview.h
  302. 138
      kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp
  303. 14
      kcontrol/kfontinst/kcmfontinst/KCmFontInst.h
  304. 16
      kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp
  305. 10
      kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h
  306. 136
      kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
  307. 60
      kcontrol/kfontinst/kcmfontinst/KFileFontView.h
  308. 24
      kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp
  309. 6
      kcontrol/kfontinst/kcmfontinst/PrintDialog.h
  310. 26
      kcontrol/kfontinst/kcmfontinst/SettingsDialog.cpp
  311. 4
      kcontrol/kfontinst/kcmfontinst/SettingsDialog.h
  312. 42
      kcontrol/kfontinst/kfile-plugin/KFileFont.cpp
  313. 2
      kcontrol/kfontinst/kfile-plugin/KFileFont.h
  314. 26
      kcontrol/kfontinst/kfontinst/FontEngine.cpp
  315. 18
      kcontrol/kfontinst/kfontinst/FontEngine.h
  316. 102
      kcontrol/kfontinst/kfontinst/Fontmap.cpp
  317. 24
      kcontrol/kfontinst/kfontinst/Fontmap.h
  318. 16
      kcontrol/kfontinst/kfontinst/Main.cpp
  319. 44
      kcontrol/kfontinst/kfontinst/XConfig.cpp
  320. 24
      kcontrol/kfontinst/kfontinst/XConfig.h
  321. 396
      kcontrol/kfontinst/kio/KioFonts.cpp
  322. 50
      kcontrol/kfontinst/kio/KioFonts.h
  323. 158
      kcontrol/kfontinst/lib/FcEngine.cpp
  324. 52
      kcontrol/kfontinst/lib/FcEngine.h
  325. 48
      kcontrol/kfontinst/lib/Misc.cpp
  326. 40
      kcontrol/kfontinst/lib/Misc.h
  327. 10
      kcontrol/kfontinst/thumbnail/FontThumbnail.cpp
  328. 2
      kcontrol/kfontinst/thumbnail/FontThumbnail.h
  329. 22
      kcontrol/kfontinst/viewpart/FontPreview.cpp
  330. 24
      kcontrol/kfontinst/viewpart/FontPreview.h
  331. 86
      kcontrol/kfontinst/viewpart/FontViewPart.cpp
  332. 8
      kcontrol/kfontinst/viewpart/FontViewPart.h
  333. 6
      kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp
  334. 2
      kcontrol/kfontinst/viewpart/FontViewPartFactory.h
  335. 10
      kcontrol/kfontinst/viewpart/FontViewerApp.cpp
  336. 30
      kcontrol/kfontinst/viewpart/KfiPrint.cpp
  337. 4
      kcontrol/kfontinst/viewpart/KfiPrint.h
  338. 54
      kcontrol/kicker/advancedDialog.cpp
  339. 2
      kcontrol/kicker/advancedDialog.h
  340. 76
      kcontrol/kicker/applettab_impl.cpp
  341. 12
      kcontrol/kicker/applettab_impl.h
  342. 18
      kcontrol/kicker/extensionInfo.cpp
  343. 20
      kcontrol/kicker/extensionInfo.h
  344. 20
      kcontrol/kicker/hidingconfig.cpp
  345. 2
      kcontrol/kicker/hidingconfig.h
  346. 60
      kcontrol/kicker/hidingtab_impl.cpp
  347. 2
      kcontrol/kicker/hidingtab_impl.h
  348. 20
      kcontrol/kicker/lookandfeelconfig.cpp
  349. 2
      kcontrol/kicker/lookandfeelconfig.h
  350. 66
      kcontrol/kicker/lookandfeeltab_impl.cpp
  351. 12
      kcontrol/kicker/lookandfeeltab_impl.h
  352. 10
      kcontrol/kicker/lookandfeeltab_kcm.cpp
  353. 4
      kcontrol/kicker/lookandfeeltab_kcm.h
  354. 74
      kcontrol/kicker/main.cpp
  355. 18
      kcontrol/kicker/main.h
  356. 20
      kcontrol/kicker/menuconfig.cpp
  357. 2
      kcontrol/kicker/menuconfig.h
  358. 86
      kcontrol/kicker/menutab_impl.cpp
  359. 20
      kcontrol/kicker/menutab_impl.h
  360. 20
      kcontrol/kicker/positionconfig.cpp
  361. 2
      kcontrol/kicker/positionconfig.h
  362. 174
      kcontrol/kicker/positiontab_impl.cpp
  363. 10
      kcontrol/kicker/positiontab_impl.h
  364. 28
      kcontrol/kio/cache.cpp
  365. 4
      kcontrol/kio/cache.h
  366. 48
      kcontrol/kio/fakeuaprovider.cpp
  367. 14
      kcontrol/kio/fakeuaprovider.h
  368. 18
      kcontrol/kio/kcookiesmain.cpp
  369. 6
      kcontrol/kio/kcookiesmain.h
  370. 136
      kcontrol/kio/kcookiesmanagement.cpp
  371. 36
      kcontrol/kio/kcookiesmanagement.h
  372. 124
      kcontrol/kio/kcookiespolicies.cpp
  373. 16
      kcontrol/kio/kcookiespolicies.h
  374. 62
      kcontrol/kio/kenvvarproxydlg.cpp
  375. 6
      kcontrol/kio/kenvvarproxydlg.h
  376. 90
      kcontrol/kio/kmanualproxydlg.cpp
  377. 22
      kcontrol/kio/kmanualproxydlg.h
  378. 82
      kcontrol/kio/kproxydlg.cpp
  379. 14
      kcontrol/kio/kproxydlg.h
  380. 8
      kcontrol/kio/kproxydlgbase.cpp
  381. 16
      kcontrol/kio/kproxydlgbase.h
  382. 42
      kcontrol/kio/ksaveioconfig.cpp
  383. 10
      kcontrol/kio/ksaveioconfig.h
  384. 32
      kcontrol/kio/main.cpp
  385. 6
      kcontrol/kio/main.h
  386. 50
      kcontrol/kio/netpref.cpp
  387. 12
      kcontrol/kio/netpref.h
  388. 28
      kcontrol/kio/policydlg.cpp
  389. 18
      kcontrol/kio/policydlg.h
  390. 70
      kcontrol/kio/smbrodlg.cpp
  391. 18
      kcontrol/kio/smbrodlg.h
  392. 68
      kcontrol/kio/socks.cpp
  393. 10
      kcontrol/kio/socks.h
  394. 48
      kcontrol/kio/uagentproviderdlg.cpp
  395. 20
      kcontrol/kio/uagentproviderdlg.h
  396. 114
      kcontrol/kio/useragentdlg.cpp
  397. 8
      kcontrol/kio/useragentdlg.h
  398. 56
      kcontrol/knotify/knotify.cpp
  399. 10
      kcontrol/knotify/knotify.h
  400. 120
      kcontrol/konq/behaviour.cpp
  401. 28
      kcontrol/konq/behaviour.h
  402. 30
      kcontrol/konq/browser.cpp
  403. 6
      kcontrol/konq/browser.h
  404. 74
      kcontrol/konq/desktop.cpp
  405. 6
      kcontrol/konq/desktop.h
  406. 118
      kcontrol/konq/desktopbehavior_impl.cpp
  407. 8
      kcontrol/konq/desktopbehavior_impl.h
  408. 158
      kcontrol/konq/fontopts.cpp
  409. 46
      kcontrol/konq/fontopts.h
  410. 20
      kcontrol/konq/main.cpp
  411. 58
      kcontrol/konq/previews.cpp
  412. 10
      kcontrol/konq/previews.h
  413. 74
      kcontrol/konq/rootopts.cpp
  414. 6
      kcontrol/konq/rootopts.h
  415. 42
      kcontrol/konqhtml/advancedTabDialog.cpp
  416. 2
      kcontrol/konqhtml/advancedTabDialog.h
  417. 238
      kcontrol/konqhtml/appearance.cpp
  418. 36
      kcontrol/konqhtml/appearance.h
  419. 76
      kcontrol/konqhtml/domainlistview.cpp
  420. 34
      kcontrol/konqhtml/domainlistview.h
  421. 116
      kcontrol/konqhtml/filteropts.cpp
  422. 24
      kcontrol/konqhtml/filteropts.h
  423. 126
      kcontrol/konqhtml/htmlopts.cpp
  424. 40
      kcontrol/konqhtml/htmlopts.h
  425. 114
      kcontrol/konqhtml/javaopts.cpp
  426. 28
      kcontrol/konqhtml/javaopts.h
  427. 64
      kcontrol/konqhtml/jsopts.cpp
  428. 18
      kcontrol/konqhtml/jsopts.h
  429. 188
      kcontrol/konqhtml/jspolicies.cpp
  430. 26
      kcontrol/konqhtml/jspolicies.h
  431. 28
      kcontrol/konqhtml/khttpoptdlg.cpp
  432. 22
      kcontrol/konqhtml/khttpoptdlg.h
  433. 28
      kcontrol/konqhtml/main.cpp
  434. 6
      kcontrol/konqhtml/main.h
  435. 200
      kcontrol/konqhtml/pluginopts.cpp
  436. 38
      kcontrol/konqhtml/pluginopts.h
  437. 14
      kcontrol/konqhtml/policies.cpp
  438. 18
      kcontrol/konqhtml/policies.h
  439. 52
      kcontrol/konqhtml/policydlg.cpp
  440. 34
      kcontrol/konqhtml/policydlg.h
  441. 56
      kcontrol/konsole/kcmkonsole.cpp
  442. 2
      kcontrol/konsole/kcmkonsole.h
  443. 166
      kcontrol/konsole/schemaeditor.cpp
  444. 26
      kcontrol/konsole/schemaeditor.h
  445. 100
      kcontrol/konsole/sessioneditor.cpp
  446. 18
      kcontrol/konsole/sessioneditor.h
  447. 192
      kcontrol/krdb/krdb.cpp
  448. 30
      kcontrol/kthememanager/knewthemedlg.cpp
  449. 28
      kcontrol/kthememanager/knewthemedlg.h
  450. 294
      kcontrol/kthememanager/ktheme.cpp
  451. 86
      kcontrol/kthememanager/ktheme.h
  452. 2
      kcontrol/kthememanager/kthemedlg.ui.h
  453. 120
      kcontrol/kthememanager/kthememanager.cpp
  454. 18
      kcontrol/kthememanager/kthememanager.h
  455. 60
      kcontrol/launch/kcmlaunch.cpp
  456. 10
      kcontrol/launch/kcmlaunch.h
  457. 238
      kcontrol/locale/kcmlocale.cpp
  458. 34
      kcontrol/locale/kcmlocale.h
  459. 74
      kcontrol/locale/klocalesample.cpp
  460. 14
      kcontrol/locale/klocalesample.h
  461. 164
      kcontrol/locale/localemon.cpp
  462. 36
      kcontrol/locale/localemon.h
  463. 92
      kcontrol/locale/localenum.cpp
  464. 28
      kcontrol/locale/localenum.h
  465. 48
      kcontrol/locale/localeother.cpp
  466. 12
      kcontrol/locale/localeother.h
  467. 174
      kcontrol/locale/localetime.cpp
  468. 50
      kcontrol/locale/localetime.h
  469. 2
      kcontrol/locale/main.cpp
  470. 164
      kcontrol/locale/toplevel.cpp
  471. 10
      kcontrol/locale/toplevel.h
  472. 66
      kcontrol/nics/nic.cpp
  473. 6
      kcontrol/nics/nic.h
  474. 24
      kcontrol/performance/kcmperformance.cpp
  475. 4
      kcontrol/performance/kcmperformance.h
  476. 42
      kcontrol/performance/konqueror.cpp
  477. 4
      kcontrol/performance/konqueror.h
  478. 16
      kcontrol/performance/system.cpp
  479. 2
      kcontrol/performance/system.h
  480. 38
      kcontrol/privacy/kprivacymanager.cpp
  481. 4
      kcontrol/privacy/kprivacymanager.h
  482. 88
      kcontrol/privacy/privacy.cpp
  483. 26
      kcontrol/privacy/privacy.h
  484. 22
      kcontrol/randr/configdialog.cpp
  485. 26
      kcontrol/randr/configdialog.h
  486. 6
      kcontrol/randr/krandrbindings.cpp
  487. 88
      kcontrol/randr/krandrmodule.cpp
  488. 8
      kcontrol/randr/krandrmodule.h
  489. 20
      kcontrol/randr/krandrpassivepopup.cpp
  490. 20
      kcontrol/randr/krandrpassivepopup.h
  491. 68
      kcontrol/randr/krandrtray.cpp
  492. 12
      kcontrol/randr/krandrtray.h
  493. 18
      kcontrol/samba/kcmsambaimports.cpp
  494. 10
      kcontrol/samba/kcmsambaimports.h
  495. 42
      kcontrol/samba/kcmsambalog.cpp
  496. 28
      kcontrol/samba/kcmsambalog.h
  497. 114
      kcontrol/samba/kcmsambastatistics.cpp
  498. 52
      kcontrol/samba/kcmsambastatistics.h
  499. 42
      kcontrol/samba/ksmbstatus.cpp
  500. 20
      kcontrol/samba/ksmbstatus.h
  501. Some files were not shown because too many files have changed in this diff Show More

44
drkonqi/backtrace.cpp

@ -25,8 +25,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************/
#include <qfile.h>
#include <qregexp.h>
#include <tqfile.h>
#include <tqregexp.h>
#include <kprocess.h>
#include <kdebug.h>
@ -39,9 +39,9 @@
#include "backtrace.h"
#include "backtrace.moc"
BackTrace::BackTrace(const KrashConfig *krashconf, QObject *parent,
BackTrace::BackTrace(const KrashConfig *krashconf, TQObject *parent,
const char *name)
: QObject(parent, name),
: TQObject(parent, name),
m_krashconf(krashconf), m_temp(0)
{
m_proc = new KProcess;
@ -68,25 +68,25 @@ BackTrace::~BackTrace()
void BackTrace::start()
{
QString exec = m_krashconf->tryExec();
TQString exec = m_krashconf->tryExec();
if ( !exec.isEmpty() && KStandardDirs::findExe(exec).isEmpty() )
{
QObject * o = parent();
TQObject * o = parent();
if (o && !o->inherits("QWidget"))
if (o && !o->inherits("TQWidget"))
{
o = NULL;
}
KMessageBox::error(
(QWidget *)o,
(TQWidget *)o,
i18n("Could not generate a backtrace as the debugger '%1' was not found.").arg(exec));
return;
}
m_temp = new KTempFile;
m_temp->setAutoDelete(TRUE);
int handle = m_temp->handle();
QString backtraceCommand = m_krashconf->backtraceCommand();
TQString backtraceCommand = m_krashconf->backtraceCommand();
const char* bt = backtraceCommand.latin1();
::write(handle, bt, strlen(bt)); // the command for a backtrace
::write(handle, "\n", 1);
@ -96,22 +96,22 @@ void BackTrace::start()
m_proc = new KProcess;
m_proc->setUseShell(true);
QString str = m_krashconf->debuggerBatch();
TQString str = m_krashconf->debuggerBatch();
m_krashconf->expandString(str, true, m_temp->name());
*m_proc << str;
connect(m_proc, SIGNAL(receivedStdout(KProcess*, char*, int)),
SLOT(slotReadInput(KProcess*, char*, int)));
connect(m_proc, SIGNAL(processExited(KProcess*)),
SLOT(slotProcessExited(KProcess*)));
connect(m_proc, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)),
TQT_SLOT(slotReadInput(KProcess*, char*, int)));
connect(m_proc, TQT_SIGNAL(processExited(KProcess*)),
TQT_SLOT(slotProcessExited(KProcess*)));
m_proc->start ( KProcess::NotifyOnExit, KProcess::All );
}
void BackTrace::slotReadInput(KProcess *, char* buf, int buflen)
{
QString newstr = QString::fromLocal8Bit(buf, buflen);
TQString newstr = TQString::fromLocal8Bit(buf, buflen);
m_strBt.append(newstr);
emit append(newstr);
@ -137,25 +137,25 @@ bool BackTrace::usefulBacktrace()
{
// remove crap
if( !m_krashconf->removeFromBacktraceRegExp().isEmpty())
m_strBt.replace(QRegExp( m_krashconf->removeFromBacktraceRegExp()), QString::null);
m_strBt.replace(TQRegExp( m_krashconf->removeFromBacktraceRegExp()), TQString::null);
if( m_krashconf->disableChecks())
return true;
// prepend and append newline, so that regexps like '\nwhatever\n' work on all lines
QString strBt = '\n' + m_strBt + '\n';
TQString strBt = '\n' + m_strBt + '\n';
// how many " ?? " in the bt ?
int unknown = 0;
if( !m_krashconf->invalidStackFrameRegExp().isEmpty())
unknown = strBt.contains( QRegExp( m_krashconf->invalidStackFrameRegExp()));
unknown = strBt.contains( TQRegExp( m_krashconf->invalidStackFrameRegExp()));
// how many stack frames in the bt ?
int frames = 0;
if( !m_krashconf->frameRegExp().isEmpty())
frames = strBt.contains( QRegExp( m_krashconf->frameRegExp()));
frames = strBt.contains( TQRegExp( m_krashconf->frameRegExp()));
else
frames = strBt.contains('\n');
bool tooShort = false;
if( !m_krashconf->neededInValidBacktraceRegExp().isEmpty())
tooShort = ( strBt.find( QRegExp( m_krashconf->neededInValidBacktraceRegExp())) == -1 );
tooShort = ( strBt.find( TQRegExp( m_krashconf->neededInValidBacktraceRegExp())) == -1 );
return !m_strBt.isNull() && !tooShort && (unknown < frames);
}
@ -164,7 +164,7 @@ void BackTrace::processBacktrace()
{
if( !m_krashconf->kcrashRegExp().isEmpty())
{
QRegExp kcrashregexp( m_krashconf->kcrashRegExp());
TQRegExp kcrashregexp( m_krashconf->kcrashRegExp());
int pos = kcrashregexp.search( m_strBt );
if( pos >= 0 )
{
@ -175,7 +175,7 @@ void BackTrace::processBacktrace()
--len;
}
m_strBt.remove( pos, len );
m_strBt.insert( pos, QString::fromLatin1( "[KCrash handler]\n" ));
m_strBt.insert( pos, TQString::fromLatin1( "[KCrash handler]\n" ));
}
}
}

10
drkonqi/backtrace.h

@ -32,24 +32,24 @@ class KProcess;
class KrashConfig;
class KTempFile;
#include <qobject.h>
#include <tqobject.h>
class BackTrace : public QObject
{
Q_OBJECT
public:
BackTrace(const KrashConfig *krashconf, QObject *parent,
BackTrace(const KrashConfig *krashconf, TQObject *parent,
const char *name = 0);
~BackTrace();
void start();
signals:
void append(const QString &str); // Just the new text
void append(const TQString &str); // Just the new text
void someError();
void done(const QString &); // replaces whole text
void done(const TQString &); // replaces whole text
protected slots:
void slotProcessExited(KProcess * proc);
@ -61,6 +61,6 @@ private:
KProcess *m_proc;
const KrashConfig *m_krashconf;
KTempFile *m_temp;
QString m_strBt;
TQString m_strBt;
};
#endif

4
drkonqi/crashtest.cpp

@ -17,7 +17,7 @@ enum CrashType { Crash, Malloc, Div0, Assert };
void do_crash()
{
KCmdLineArgs *args = 0;
QCString type = args->arg(0);
TQCString type = args->arg(0);
printf("result = %s\n", type.data());
}
@ -79,7 +79,7 @@ int main(int argc, char *argv[])
KApplication app(false, false);
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
QCString type = args->count() ? args->arg(0) : "";
TQCString type = args->count() ? args->arg(0) : "";
int crashtype = Crash;
if (type == "malloc")
crashtype = Malloc;

58
drkonqi/debugger.cpp

@ -25,9 +25,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************/
#include <qlayout.h>
#include <qhbox.h>
#include <qlabel.h>
#include <tqlayout.h>
#include <tqhbox.h>
#include <tqlabel.h>
#include <kdialog.h>
#include <klocale.h>
@ -45,29 +45,29 @@
#include "debugger.h"
#include "debugger.moc"
KrashDebugger :: KrashDebugger (const KrashConfig *krashconf, QWidget *parent, const char *name)
: QWidget( parent, name ),
KrashDebugger :: KrashDebugger (const KrashConfig *krashconf, TQWidget *parent, const char *name)
: TQWidget( parent, name ),
m_krashconf(krashconf),
m_proctrace(0)
{
QVBoxLayout *vbox = new QVBoxLayout( this, 0, KDialog::marginHint() );
TQVBoxLayout *vbox = new TQVBoxLayout( this, 0, KDialog::marginHint() );
vbox->setAutoAdd(TRUE);
m_backtrace = new KTextBrowser(this);
m_backtrace->setTextFormat(Qt::PlainText);
m_backtrace->setFont(KGlobalSettings::fixedFont());
QWidget *w = new QWidget( this );
( new QHBoxLayout( w, 0, KDialog::marginHint() ) )->setAutoAdd( true );
m_status = new QLabel( w );
m_status->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred ) );
TQWidget *w = new TQWidget( this );
( new TQHBoxLayout( w, 0, KDialog::marginHint() ) )->setAutoAdd( true );
m_status = new TQLabel( w );
m_status->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
//m_copyButton = new KPushButton( KStdGuiItem::copy(), w );
KGuiItem item( i18n( "C&opy" ), QString::fromLatin1( "editcopy" ) );
KGuiItem item( i18n( "C&opy" ), TQString::fromLatin1( "editcopy" ) );
m_copyButton = new KPushButton( item, w );
connect( m_copyButton, SIGNAL( clicked() ), this, SLOT( slotCopy() ) );
connect( m_copyButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCopy() ) );
m_copyButton->setEnabled( false );
m_saveButton = new KPushButton( m_krashconf->safeMode() ? KStdGuiItem::save() : KStdGuiItem::saveAs(), w );
connect( m_saveButton, SIGNAL( clicked() ), this, SLOT( slotSave() ) );
connect( m_saveButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotSave() ) );
m_saveButton->setEnabled( false );
}
@ -77,7 +77,7 @@ KrashDebugger :: ~KrashDebugger()
// delete m_proctrace;
}
void KrashDebugger :: slotDone(const QString& str)
void KrashDebugger :: slotDone(const TQString& str)
{
m_status->setText(i18n("Done."));
m_copyButton->setEnabled( true );
@ -95,7 +95,7 @@ void KrashDebugger :: slotSave()
{
if (m_krashconf->safeMode())
{
KTempFile tf(QString::fromAscii("/tmp/"), QString::fromAscii(".kcrash"), 0600);
KTempFile tf(TQString::fromAscii("/tmp/"), TQString::fromAscii(".kcrash"), 0600);
if (!tf.status())
{
*tf.textStream() << m_backtrace->text();
@ -109,13 +109,13 @@ void KrashDebugger :: slotSave()
}
else
{
QString defname = m_krashconf->execName() + QString::fromLatin1( ".kcrash" );
TQString defname = m_krashconf->execName() + TQString::fromLatin1( ".kcrash" );
if( defname.contains( '/' ))
defname = defname.mid( defname.findRev( '/' ) + 1 );
QString filename = KFileDialog::getSaveFileName(defname, QString::null, this, i18n("Select Filename"));
TQString filename = KFileDialog::getSaveFileName(defname, TQString::null, this, i18n("Select Filename"));
if (!filename.isEmpty())
{
QFile f(filename);
TQFile f(filename);
if (f.exists()) {
if (KMessageBox::Cancel ==
@ -129,7 +129,7 @@ void KrashDebugger :: slotSave()
if (f.open(IO_WriteOnly))
{
QTextStream ts(&f);
TQTextStream ts(&f);
ts << m_backtrace->text();
f.close();
}
@ -151,7 +151,7 @@ void KrashDebugger :: slotSomeError()
+ m_backtrace->text());
}
void KrashDebugger :: slotAppend(const QString &str)
void KrashDebugger :: slotAppend(const TQString &str)
{
m_status->setText(i18n("Loading backtrace..."));
@ -159,9 +159,9 @@ void KrashDebugger :: slotAppend(const QString &str)
m_backtrace->setText(m_backtrace->text() + str);
}
void KrashDebugger :: showEvent(QShowEvent *e)
void KrashDebugger :: showEvent(TQShowEvent *e)
{
QWidget::showEvent(e);
TQWidget::showEvent(e);
startDebugger();
}
@ -171,7 +171,7 @@ void KrashDebugger :: startDebugger()
if (m_proctrace || !m_backtrace->text().isEmpty())
return;
QString msg;
TQString msg;
bool checks = performChecks( &msg );
if( !checks && !m_krashconf->disableChecks())
{
@ -195,20 +195,20 @@ void KrashDebugger :: startDebugger()
m_proctrace = new BackTrace(m_krashconf, this);
connect(m_proctrace, SIGNAL(append(const QString &)),
SLOT(slotAppend(const QString &)));
connect(m_proctrace, SIGNAL(done(const QString&)), SLOT(slotDone(const QString&)));
connect(m_proctrace, SIGNAL(someError()), SLOT(slotSomeError()));
connect(m_proctrace, TQT_SIGNAL(append(const TQString &)),
TQT_SLOT(slotAppend(const TQString &)));
connect(m_proctrace, TQT_SIGNAL(done(const TQString&)), TQT_SLOT(slotDone(const TQString&)));
connect(m_proctrace, TQT_SIGNAL(someError()), TQT_SLOT(slotSomeError()));
m_proctrace->start();
}
// this function check for "dangerous" settings, returns false
// and message in case some of them are activated
bool KrashDebugger::performChecks( QString* msg )
bool KrashDebugger::performChecks( TQString* msg )
{
bool ret = true;
KConfig kdedcfg( QString::fromLatin1( "kdedrc" ), true );
KConfig kdedcfg( TQString::fromLatin1( "kdedrc" ), true );
kdedcfg.setGroup( "General" );
if( kdedcfg.readBoolEntry( "DelayedCheck", false ))
{

20
drkonqi/debugger.h

@ -34,26 +34,26 @@ class KrashConfig;
class KTextBrowser;
class BackTrace;
#include <qwidget.h>
#include <tqwidget.h>
class KrashDebugger : public QWidget
{
Q_OBJECT
public:
KrashDebugger(const KrashConfig *krashconf, QWidget *parent = 0, const char *name = 0);
KrashDebugger(const KrashConfig *krashconf, TQWidget *parent = 0, const char *name = 0);
~KrashDebugger();
public slots:
void slotAppend(const QString &);
void slotDone(const QString&);
void slotAppend(const TQString &);
void slotDone(const TQString&);
void slotSomeError();
protected:
void startDebugger();
bool performChecks( QString* msg );
bool performChecks( TQString* msg );
virtual void showEvent(QShowEvent *e);
virtual void showEvent(TQShowEvent *e);
protected slots:
void slotCopy();
@ -62,11 +62,11 @@ protected slots:
private:
const KrashConfig *m_krashconf;
BackTrace *m_proctrace;
QLabel *m_status;
TQLabel *m_status;
KTextBrowser *m_backtrace;
QPushButton * m_copyButton;
QPushButton * m_saveButton;
QString m_prependText;
TQPushButton * m_copyButton;
TQPushButton * m_saveButton;
TQString m_prependText;
};
#endif

8
drkonqi/drbugreport.cpp

@ -26,7 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************/
#include <qmultilineedit.h>
#include <tqmultilineedit.h>
#include <kmessagebox.h>
#include <klocale.h>
@ -34,13 +34,13 @@
#include "drbugreport.moc"
#include "drbugreport.h"
DrKBugReport::DrKBugReport(QWidget *parent, bool modal,
DrKBugReport::DrKBugReport(TQWidget *parent, bool modal,
const KAboutData *aboutData)
: KBugReport(parent, modal, aboutData)
{
}
void DrKBugReport::setText(const QString &str)
void DrKBugReport::setText(const TQString &str)
{
m_lineedit->setText(str);
m_startstring = str.simplifyWhiteSpace();
@ -51,7 +51,7 @@ void DrKBugReport::slotOk()
if (!m_startstring.isEmpty() &&
m_lineedit->text().simplifyWhiteSpace() == m_startstring)
{
QString msg = i18n("You have to edit the description "
TQString msg = i18n("You have to edit the description "
"before the report can be sent.");
KMessageBox::error(this, msg);
return;

6
drkonqi/drbugreport.h

@ -40,14 +40,14 @@ public:
/**
* Constructor.
*/
DrKBugReport(QWidget *parent = 0, bool modal = true,
DrKBugReport(TQWidget *parent = 0, bool modal = true,
const KAboutData *aboutData = 0);
public:
/**
* Allows the debugger to set the default text in the editor.
*/
void setText(const QString &str);
void setText(const TQString &str);
protected slots:
/**
@ -56,7 +56,7 @@ protected slots:
virtual void slotOk( void );
private:
QString m_startstring;
TQString m_startstring;
};
#endif

40
drkonqi/krashconf.cpp

@ -48,7 +48,7 @@ KrashConfig :: ~KrashConfig()
delete m_aboutData;
}
ASYNC KrashConfig :: registerDebuggingApplication(const QString& launchName)
ASYNC KrashConfig :: registerDebuggingApplication(const TQString& launchName)
{
emit newDebuggingApplication( launchName );
}
@ -69,7 +69,7 @@ void KrashConfig :: readConfig()
if ( !args->getOption( "apppath" ).isEmpty() )
m_execname.prepend( args->getOption( "apppath" ) + '/' );
QCString programname = args->getOption("programname");
TQCString programname = args->getOption("programname");
if (programname.isEmpty())
programname.setStr(I18N_NOOP("unknown"));
// leak some memory... Well. It's only done once anyway :-)
@ -80,7 +80,7 @@ void KrashConfig :: readConfig()
0, 0, 0, 0, 0,
args->getOption("bugaddress"));
QCString startup_id( args->getOption( "startupid" ));
TQCString startup_id( args->getOption( "startupid" ));
if (!startup_id.isEmpty())
{ // stop startup notification
KStartupInfoId id;
@ -92,13 +92,13 @@ void KrashConfig :: readConfig()
config->setGroup("drkonqi");
// maybe we should check if it's relative?
QString configname = config->readEntry("ConfigName",
QString::fromLatin1("enduser"));
TQString configname = config->readEntry("ConfigName",
TQString::fromLatin1("enduser"));
QString debuggername = config->readEntry("Debugger",
QString::fromLatin1("gdb"));
TQString debuggername = config->readEntry("Debugger",
TQString::fromLatin1("gdb"));
KConfig debuggers(QString::fromLatin1("debuggers/%1rc").arg(debuggername),
KConfig debuggers(TQString::fromLatin1("debuggers/%1rc").arg(debuggername),
true, false, "appdata");
debuggers.setGroup("General");
@ -112,7 +112,7 @@ void KrashConfig :: readConfig()
m_neededInValidBacktraceRegExp = debuggers.readEntry("NeededInValidBacktraceRegExp");
m_kcrashRegExp = debuggers.readEntry("KCrashRegExp");
KConfig preset(QString::fromLatin1("presets/%1rc").arg(configname),
KConfig preset(TQString::fromLatin1("presets/%1rc").arg(configname),
true, false, "appdata");
preset.setGroup("ErrorDescription");
@ -135,10 +135,10 @@ void KrashConfig :: readConfig()
bool b = preset.readBoolEntry("SignalDetails", true);
QString str = QString::number(m_signalnum);
TQString str = TQString::number(m_signalnum);
// use group unknown if signal not found
if (!preset.hasGroup(str))
str = QString::fromLatin1("unknown");
str = TQString::fromLatin1("unknown");
preset.setGroup(str);
m_signalName = preset.readEntry("Name");
if (b)
@ -146,16 +146,16 @@ void KrashConfig :: readConfig()
}
// replace some of the strings
void KrashConfig :: expandString(QString &str, bool shell, const QString &tempFile) const
void KrashConfig :: expandString(TQString &str, bool shell, const TQString &tempFile) const
{
QMap<QString,QString> map;
map[QString::fromLatin1("appname")] = QString::fromLatin1(appName());
map[QString::fromLatin1("execname")] = startedByKdeinit() ? QString::fromLatin1("kdeinit") : m_execname;
map[QString::fromLatin1("signum")] = QString::number(signalNumber());
map[QString::fromLatin1("signame")] = signalName();
map[QString::fromLatin1("progname")] = programName();
map[QString::fromLatin1("pid")] = QString::number(pid());
map[QString::fromLatin1("tempfile")] = tempFile;
TQMap<TQString,TQString> map;
map[TQString::fromLatin1("appname")] = TQString::fromLatin1(appName());
map[TQString::fromLatin1("execname")] = startedByKdeinit() ? TQString::fromLatin1("kdeinit") : m_execname;
map[TQString::fromLatin1("signum")] = TQString::number(signalNumber());
map[TQString::fromLatin1("signame")] = signalName();
map[TQString::fromLatin1("progname")] = programName();
map[TQString::fromLatin1("pid")] = TQString::number(pid());
map[TQString::fromLatin1("tempfile")] = tempFile;
if (shell)
str = KMacroExpander::expandMacrosShellQuote( str, map );
else

72
drkonqi/krashconf.h

@ -29,12 +29,12 @@
#define KRASHCONF_H
#include <kaboutdata.h>
#include <qstring.h>
#include <qobject.h>
#include <tqstring.h>
#include <tqobject.h>
#include "krashdcopinterface.h"
class KrashConfig : public QObject, public KrashDCOPInterface
class KrashConfig : public TQObject, public KrashDCOPInterface
{
Q_OBJECT
@ -43,42 +43,42 @@ public:
virtual ~KrashConfig();
k_dcop:
virtual QString programName() const { return m_aboutData->programName(); };
virtual QCString appName() const { return m_aboutData->appName(); };
virtual TQString programName() const { return m_aboutData->programName(); };
virtual TQCString appName() const { return m_aboutData->appName(); };
virtual int signalNumber() const { return m_signalnum; };
virtual int pid() const { return m_pid; };
virtual bool startedByKdeinit() const { return m_startedByKdeinit; };
virtual bool safeMode() const { return m_safeMode; };
virtual QString signalName() const { return m_signalName; };
virtual QString signalText() const { return m_signalText; };
virtual QString whatToDoText() const { return m_whatToDoText; }
virtual QString errorDescriptionText() const { return m_errorDescriptionText; };
virtual TQString signalName() const { return m_signalName; };
virtual TQString signalText() const { return m_signalText; };
virtual TQString whatToDoText() const { return m_whatToDoText; }
virtual TQString errorDescriptionText() const { return m_errorDescriptionText; };
virtual ASYNC registerDebuggingApplication(const QString& launchName);
virtual ASYNC registerDebuggingApplication(const TQString& launchName);
public:
QString debugger() const { return m_debugger; }
QString debuggerBatch() const { return m_debuggerBatch; }
QString tryExec() const { return m_tryExec; }
QString backtraceCommand() const { return m_backtraceCommand; }
QString removeFromBacktraceRegExp() const { return m_removeFromBacktraceRegExp; }
QString invalidStackFrameRegExp() const { return m_invalidStackFrameRegExp; }
QString frameRegExp() const { return m_frameRegExp; }
QString neededInValidBacktraceRegExp() const { return m_neededInValidBacktraceRegExp; }
QString kcrashRegExp() const { return m_kcrashRegExp; }
TQString debugger() const { return m_debugger; }
TQString debuggerBatch() const { return m_debuggerBatch; }
TQString tryExec() const { return m_tryExec; }
TQString backtraceCommand() const { return m_backtraceCommand; }
TQString removeFromBacktraceRegExp() const { return m_removeFromBacktraceRegExp; }
TQString invalidStackFrameRegExp() const { return m_invalidStackFrameRegExp; }
TQString frameRegExp() const { return m_frameRegExp; }
TQString neededInValidBacktraceRegExp() const { return m_neededInValidBacktraceRegExp; }
TQString kcrashRegExp() const { return m_kcrashRegExp; }
bool showBacktrace() const { return m_showbacktrace; };
bool showDebugger() const { return m_showdebugger && !m_debugger.isNull(); };
bool showBugReport() const { return m_showbugreport; };
bool disableChecks() const { return m_disablechecks; };
const KAboutData *aboutData() const { return m_aboutData; }
QString execName() const { return m_execname; }
TQString execName() const { return m_execname; }
void expandString(QString &str, bool shell, const QString &tempFile = QString::null) const;
void expandString(TQString &str, bool shell, const TQString &tempFile = TQString::null) const;
void acceptDebuggingApp();
signals:
void newDebuggingApplication(const QString& launchName);
void newDebuggingApplication(const TQString& launchName);
private:
void readConfig();
@ -93,21 +93,21 @@ private:
bool m_startedByKdeinit;
bool m_safeMode;
bool m_disablechecks;
QString m_signalName;
QString m_signalText;
QString m_whatToDoText;
QString m_errorDescriptionText;
QString m_execname;
TQString m_signalName;
TQString m_signalText;
TQString m_whatToDoText;
TQString m_errorDescriptionText;
TQString m_execname;
QString m_debugger;
QString m_debuggerBatch;
QString m_tryExec;
QString m_backtraceCommand;
QString m_removeFromBacktraceRegExp;
QString m_invalidStackFrameRegExp;
QString m_frameRegExp;
QString m_neededInValidBacktraceRegExp;
QString m_kcrashRegExp;
TQString m_debugger;
TQString m_debuggerBatch;
TQString m_tryExec;
TQString m_backtraceCommand;
TQString m_removeFromBacktraceRegExp;
TQString m_invalidStackFrameRegExp;
TQString m_frameRegExp;
TQString m_neededInValidBacktraceRegExp;
TQString m_kcrashRegExp;
};
#endif

18
drkonqi/krashdcopinterface.h

@ -32,8 +32,8 @@
#include <dcopobject.h>
#include <qstring.h>
#include <qcstring.h>
#include <tqstring.h>
#include <tqcstring.h>
#include <kaboutdata.h>
/**
@ -47,18 +47,18 @@ class KrashDCOPInterface : virtual public DCOPObject
public:
k_dcop:
virtual QString programName() const = 0;
virtual QCString appName() const = 0;
virtual TQString programName() const = 0;
virtual TQCString appName() const = 0;
virtual int signalNumber() const = 0;
virtual int pid() const = 0;
virtual bool startedByKdeinit() const = 0;
virtual bool safeMode() const = 0;
virtual QString signalName() const = 0;
virtual QString signalText() const = 0;
virtual QString whatToDoText() const = 0;
virtual QString errorDescriptionText() const = 0;
virtual TQString signalName() const = 0;
virtual TQString signalText() const = 0;
virtual TQString whatToDoText() const = 0;
virtual TQString errorDescriptionText() const = 0;
virtual ASYNC registerDebuggingApplication(const QString& launchName) = 0;
virtual ASYNC registerDebuggingApplication(const TQString& launchName) = 0;
k_dcop_signals:
void acceptDebuggingApplication();

46
drkonqi/toplevel.cpp

@ -25,9 +25,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************/
#include <qstring.h>
#include <qlabel.h>
#include <qhbox.h>
#include <tqstring.h>
#include <tqlabel.h>
#include <tqhbox.h>
#include "netwm.h"
@ -47,7 +47,7 @@
#include "toplevel.h"
#include "toplevel.moc"
Toplevel :: Toplevel(KrashConfig *krashconf, QWidget *parent, const char *name)
Toplevel :: Toplevel(KrashConfig *krashconf, TQWidget *parent, const char *name)
: KDialogBase( Tabbed,
krashconf->programName(),
User3 | User2 | User1 | Close,
@ -61,17 +61,17 @@ Toplevel :: Toplevel(KrashConfig *krashconf, QWidget *parent, const char *name)
),
m_krashconf(krashconf), m_bugreport(0)
{
QHBox *page = addHBoxPage(i18n("&General"));
TQHBox *page = addHBoxPage(i18n("&General"));
page->setSpacing(20);
// picture of konqi
QLabel *lab = new QLabel(page);
lab->setFrameStyle(QFrame::Panel | QFrame::Sunken);
QPixmap pix(locate("appdata", QString::fromLatin1("pics/konqi.png")));
TQLabel *lab = new TQLabel(page);
lab->setFrameStyle(TQFrame::Panel | TQFrame::Sunken);
TQPixmap pix(locate("appdata", TQString::fromLatin1("pics/konqi.png")));
lab->setPixmap(pix);
lab->setFixedSize( lab->sizeHint() );
QLabel * info = new QLabel(generateText(), page);
TQLabel * info = new TQLabel(generateText(), page);
info->setMinimumSize(info->sizeHint());
if (m_krashconf->showBacktrace())
@ -84,8 +84,8 @@ Toplevel :: Toplevel(KrashConfig *krashconf, QWidget *parent, const char *name)
showButton( User2, m_krashconf->showDebugger() );
showButton( User3, false );
connect(this, SIGNAL(closeClicked()), SLOT(accept()));
connect(m_krashconf, SIGNAL(newDebuggingApplication(const QString&)), SLOT(slotNewDebuggingApp(const QString&)));
connect(this, TQT_SIGNAL(closeClicked()), TQT_SLOT(accept()));
connect(m_krashconf, TQT_SIGNAL(newDebuggingApplication(const TQString&)), TQT_SLOT(slotNewDebuggingApp(const TQString&)));
if ( !m_krashconf->safeMode() && kapp->dcopClient()->attach() )
kapp->dcopClient()->registerAs( kapp->name() );
@ -95,9 +95,9 @@ Toplevel :: ~Toplevel()
{
}
QString Toplevel :: generateText() const
TQString Toplevel :: generateText() const
{
QString str;
TQString str;
if (!m_krashconf->errorDescriptionText().isEmpty())
str += i18n("<p><b>Short description</b></p><p>%1</p>")
@ -151,13 +151,13 @@ void Toplevel :: slotUser1()
m_bugreport = new DrKBugReport(0, true, m_krashconf->aboutData());
if (i == KMessageBox::Yes) {
QApplication::setOverrideCursor ( waitCursor );
TQApplication::setOverrideCursor ( waitCursor );
// generate the backtrace
BackTrace *backtrace = new BackTrace(m_krashconf, this);
connect(backtrace, SIGNAL(someError()), SLOT(slotBacktraceSomeError()));
connect(backtrace, SIGNAL(done(const QString &)),
SLOT(slotBacktraceDone(const QString &)));
connect(backtrace, TQT_SIGNAL(someError()), TQT_SLOT(slotBacktraceSomeError()));
connect(backtrace, TQT_SIGNAL(done(const TQString &)),
TQT_SLOT(slotBacktraceDone(const TQString &)));
backtrace->start();
@ -173,7 +173,7 @@ void Toplevel :: slotUser1()
void Toplevel :: slotUser2()
{
QString str = m_krashconf->debugger();
TQString str = m_krashconf->debugger();
m_krashconf->expandString(str, true);
KProcess proc;
@ -182,7 +182,7 @@ void Toplevel :: slotUser2()
proc.start(KProcess::DontCare);
}
void Toplevel :: slotNewDebuggingApp(const QString& launchName)
void Toplevel :: slotNewDebuggingApp(const TQString& launchName)
{
setButtonText( User3, launchName );
showButton( User3, true );
@ -193,15 +193,15 @@ void Toplevel :: slotUser3()
m_krashconf->acceptDebuggingApp();
}
void Toplevel :: slotBacktraceDone(const QString &str)
void Toplevel :: slotBacktraceDone(const TQString &str)
{
// Do not translate.. This will be included in the _MAIL_.
QString buf = QString::fromLatin1
TQString buf = TQString::fromLatin1
("\n\n\nHere is a backtrace generated by DrKonqi:\n") + str;
m_bugreport->setText(buf);
QApplication::restoreOverrideCursor();
TQApplication::restoreOverrideCursor();
m_bugreport->exec();
delete m_bugreport;
@ -210,7 +210,7 @@ void Toplevel :: slotBacktraceDone(const QString &str)
void Toplevel :: slotBacktraceSomeError()
{
QApplication::restoreOverrideCursor();
TQApplication::restoreOverrideCursor();
KMessageBox::sorry(0, i18n("It was not possible to generate a backtrace."),
i18n("Backtrace Not Possible"));

8
drkonqi/toplevel.h

@ -41,22 +41,22 @@ class Toplevel : public KDialogBase
Q_OBJECT
public:
Toplevel(KrashConfig *krash, QWidget *parent = 0, const char * name = 0);
Toplevel(KrashConfig *krash, TQWidget *parent = 0, const char * name = 0);
~Toplevel();
private:
// helper methods
QString generateText() const;
TQString generateText() const;
protected slots:
void slotUser1();
void slotUser2();
void slotNewDebuggingApp(const QString& launchName);
void slotNewDebuggingApp(const TQString& launchName);
void slotUser3();
protected slots:
void slotBacktraceSomeError();
void slotBacktraceDone(const QString &);
void slotBacktraceDone(const TQString &);
private:
KrashConfig *m_krashconf;

44
kappfinder/common.cpp

@ -24,8 +24,8 @@
#include <kglobal.h>
#include <kstandarddirs.h>
#include <qdir.h>
#include <qfile.h>
#include <tqdir.h>
#include <tqfile.h>
#include <stdlib.h>
@ -33,11 +33,11 @@
#define DBG_CODE 1213
void copyFile( const QString &inFileName, const QString &outFileName )
void copyFile( const TQString &inFileName, const TQString &outFileName )
{
QFile inFile( inFileName );
TQFile inFile( inFileName );
if ( inFile.open( IO_ReadOnly ) ) {
QFile outFile( outFileName );
TQFile outFile( outFileName );
if ( outFile.open( IO_WriteOnly ) ) {
outFile.writeBlock( inFile.readAll() );
outFile.close();
@ -47,13 +47,13 @@ void copyFile( const QString &inFileName, const QString &outFileName )
}
}