diff options
author | Timothy Pearson <[email protected]> | 2013-01-20 00:21:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-20 00:21:02 -0600 |
commit | 8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a (patch) | |
tree | 19ff5ecf5e6b5168e5503677f18b85f3dfa91f95 /DEBUG | |
parent | 5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 (diff) | |
download | tdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.tar.gz tdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'DEBUG')
-rw-r--r-- | DEBUG | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -68,7 +68,7 @@ Current language: auto; currently c++ (gdb) You can now set breakpoints everywhere. For example lets set a breakpoint -in the KApplication constructor. Unfortunately gdb is not very good in +in the TDEApplication constructor. Unfortunately gdb is not very good in handling C++ names, so it is not really possible to specify the constructor directly after the break command. Instead we look up a line of source code where we want to place the breakpoint. An external editor is of great @@ -79,11 +79,11 @@ are interested in and verify that we have found the correct source line: 215 parseCommandLine( argc, argv ); 216 } 217 -218 KApplication::KApplication( bool allowStyles, bool GUIenabled ) : +218 TDEApplication::TDEApplication( bool allowStyles, bool GUIenabled ) : 219 QApplication( *KCmdLineArgs::tqt_argc(), *KCmdLineArgs::tqt_argv(), 220 GUIenabled ), 221 KInstance( KCmdLineArgs::about), -222 d (new KApplicationPrivate) +222 d (new TDEApplicationPrivate) 223 { 224 if (!GUIenabled) (gdb) break 224 @@ -92,14 +92,14 @@ Breakpoint 2 at 0x4048aa7e: file kapp.cpp, line 224. We can now continue the execution of kedit. Execution will stop when it hits a breakpoint of when the program exits. In this case execution will stop -in the first line of the KApplication constructor: +in the first line of the TDEApplication constructor: (gdb) continue Continuing. Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. -Breakpoint 2, KApplication::KApplication (this=0xbffff6a8, allowStyles=true, +Breakpoint 2, TDEApplication::TDEApplication (this=0xbffff6a8, allowStyles=true, GUIenabled=true) at kapp.cpp:224 224 if (!GUIenabled) (gdb) |