summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdbcontroller.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/debugger/gdbcontroller.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/debugger/gdbcontroller.h')
-rw-r--r--languages/cpp/debugger/gdbcontroller.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/languages/cpp/debugger/gdbcontroller.h b/languages/cpp/debugger/gdbcontroller.h
index 6a9e3385..a8b6bd2b 100644
--- a/languages/cpp/debugger/gdbcontroller.h
+++ b/languages/cpp/debugger/gdbcontroller.h
@@ -22,13 +22,13 @@
#include "mi/gdbmi.h"
#include "mi/miparser.h"
-#include <qcstring.h>
-#include <qdom.h>
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qstring.h>
-#include <qmap.h>
-#include <qdatetime.h>
+#include <tqcstring.h>
+#include <tqdom.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqmap.h>
+#include <tqdatetime.h>
#include <memory>
#include <set>
@@ -54,7 +54,7 @@ class GDBController : public DbgController
Q_OBJECT
public:
- GDBController(QDomDocument &projectDom);
+ GDBController(TQDomDocument &projectDom);
~GDBController();
enum event_t { program_state_changed = 1, program_exited, debugger_exited,
@@ -82,7 +82,7 @@ public:
/** Same as above, but internally constructs new GDBCommand
instance from the string. */
- void addCommand(const QString& cmd);
+ void addCommand(const TQString& cmd);
/** Adds command to the front of the commands queue. It will be executed
next.
@@ -127,11 +127,11 @@ public:
int currentFrame() const;
- bool start(const QString& shell,
+ bool start(const TQString& shell,
const DomUtil::PairList& run_envvars,
- const QString& run_directory,
- const QString &application,
- const QString& run_arguments);
+ const TQString& run_directory,
+ const TQString &application,
+ const TQString& run_arguments);
int qtVersion() const;
@@ -161,7 +161,7 @@ private:
run "continue" there will be no MI message if the application has
exited.
*/
- void parseCliLine (const QString&);
+ void parseCliLine (const TQString&);
/** Handles a result response from a MI command -- that is
all MI responses except for Stream and Prompt responses.
@@ -188,7 +188,7 @@ private:
*/
void reloadProgramState();
- void programNoApp(const QString &msg, bool msgBox);
+ void programNoApp(const TQString &msg, bool msgBox);
void setStateOn(int stateOn);
void setStateOff(int stateOff);
@@ -226,16 +226,16 @@ public slots:
void configure();
- //void slotStart(const QString& shell, const QString &application);
- void slotCoreFile(const QString &coreFile);
+ //void slotStart(const TQString& shell, const TQString &application);
+ void slotCoreFile(const TQString &coreFile);
void slotAttachTo(int pid);
void slotStopDebugger();
void slotRun();
void slotKill();
- void slotRunUntil(const QString &filename, int lineNum);
- void slotJumpTo(const QString &filename, int lineNum);
+ void slotRunUntil(const TQString &filename, int lineNum);
+ void slotJumpTo(const TQString &filename, int lineNum);
void slotStepInto();
void slotStepOver();
void slotStepIntoIns();
@@ -244,7 +244,7 @@ public slots:
void slotBreakInto();
- void slotUserGDBCmd(const QString&);
+ void slotUserGDBCmd(const TQString&);
// Pops up a dialog box with some hopefully
// detailed information about which state debugger
@@ -276,14 +276,14 @@ signals:
void breakpointHit(int id);
/** Emitted for watchpoint hit, after line indicator is shown. */
void watchpointHit(int id,
- const QString& oldValue, const QString& newValue);
+ const TQString& oldValue, const TQString& newValue);
private:
int currentFrame_;
int viewedThread_;
// The output from gdb that was not parsed yet
- QCString gdbOutput_;
+ TQCString gdbOutput_;
// The output from gdb that arrived where we was
// parsing the previous output. To avoid messing
// things up, it's not directly added to
@@ -291,35 +291,35 @@ private:
// VP: It's not clear why the previous code was doing
// this, and holdingZone_ won't be processed until
// next output arrives, so probably should be just removed.
- QCString holdingZone_;
+ TQCString holdingZone_;
- QPtrList<GDBCommand> cmdList_;
+ TQPtrList<GDBCommand> cmdList_;
GDBCommand* currentCmd_;
STTY* tty_;
- QString badCore_;
- QString application_;
+ TQString badCore_;
+ TQString application_;
// Gdb command that should be issued when we stop on breakpoint
// with the given gdb breakpoint id.
- QMap<int, const Breakpoint*> tracedBreakpoints_;
+ TQMap<int, const Breakpoint*> tracedBreakpoints_;
// Some state variables
int state_;
bool programHasExited_;
// Configuration values
- QDomDocument &dom;
+ TQDomDocument &dom;
bool config_breakOnLoadingLibrary_;
bool config_forceBPSet_;
bool config_displayStaticMembers_;
bool config_asmDemangle_;
bool config_dbgTerminal_;
- QString config_gdbPath_;
- QString config_dbgShell_;
- QCString config_configGdbScript_;
- QCString config_runShellScript_;
- QCString config_runGdbScript_;
+ TQString config_gdbPath_;
+ TQString config_dbgShell_;
+ TQCString config_configGdbScript_;
+ TQCString config_runShellScript_;
+ TQCString config_runGdbScript_;
int config_outputRadix_;
MIParser mi_parser_;
@@ -335,11 +335,11 @@ private:
// so the only way it can work is via the "print" command. As gdb
// outputs things, we'll grep for lines that look like output from
// print, and store such lines in this variable, so later use.
- QCString print_command_result;
+ TQCString print_command_result;
bool state_reload_needed;
- QTime commandExecutionTime;
+ TQTime commandExecutionTime;
bool stateReloadInProgress_;