From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/ruby/debugger/rdbcontroller.h | 70 ++++++++++++++++----------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'languages/ruby/debugger/rdbcontroller.h') diff --git a/languages/ruby/debugger/rdbcontroller.h b/languages/ruby/debugger/rdbcontroller.h index 2d303218..e2ed0746 100644 --- a/languages/ruby/debugger/rdbcontroller.h +++ b/languages/ruby/debugger/rdbcontroller.h @@ -29,12 +29,12 @@ #include "dbgcontroller.h" -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include class KProcess; @@ -58,7 +58,7 @@ class RDBController : public DbgController Q_OBJECT public: - RDBController(VariableTree *varTree, FramestackWidget *frameStack, QDomDocument &projectDom); + RDBController(VariableTree *varTree, FramestackWidget *frameStack, TQDomDocument &projectDom); ~RDBController(); protected: @@ -84,11 +84,11 @@ private: void executeCmd (); void destroyCmds(); void removeInfoRequests(); - void actOnProgramPause(const QString &msg); - void programNoApp(const QString &msg, bool msgBox); + void actOnProgramPause(const TQString &msg); + void programNoApp(const TQString &msg, bool msgBox); - void setBreakpoint(const QCString &BPSetCmd, int key); - void clearBreakpoint(const QCString &BPClearCmd); + void setBreakpoint(const TQCString &BPSetCmd, int key); + void clearBreakpoint(const TQCString &BPClearCmd); void modifyBreakpoint(const Breakpoint&); void setStateOn(int stateOn) { state_ |= stateOn; } @@ -98,16 +98,16 @@ private: public slots: void configure(); - void slotStart( const QString& shell, const QString& characterCoding, - const QString& run_directory, const QString& debuggee_path, - const QString &application, const QString& run_arguments, + void slotStart( const TQString& shell, const TQString& characterCoding, + const TQString& run_directory, const TQString& debuggee_path, + const TQString &application, const TQString& run_arguments, bool show_constants, bool trace_into_ruby ); - //void slotStart(const QString& shell, const QString &application); + //void slotStart(const TQString& shell, const TQString &application); void slotStopDebugger(); void slotRun(); - void slotRunUntil(const QString &filename, int lineNum); + void slotRunUntil(const TQString &filename, int lineNum); void slotStepInto(); void slotStepOver(); void slotStepOutOff(); @@ -116,14 +116,14 @@ public slots: void slotBPState( const Breakpoint& ); void slotClearAllBreakpoints(); - void slotExpandItem(VarItem *parent, const QCString &userRequest); - void slotRubyInspect(const QString &inspectText); - void slotSelectFrame(int frameNo, int threadNo, const QString& frameName); + void slotExpandItem(VarItem *parent, const TQCString &userRequest); + void slotRubyInspect(const TQString &inspectText); + void slotSelectFrame(int frameNo, int threadNo, const TQString& frameName); void slotFetchGlobals(bool fetch); - void slotAddWatchExpression(const QString& expr, bool execute); + void slotAddWatchExpression(const TQString& expr, bool execute); void slotRemoveWatchExpression(int displayId); - void slotUserRDBCmd(const QString&); + void slotUserRDBCmd(const TQString&); protected slots: void slotDbgStdout(KProcess *proc, char *buf, int buflen); @@ -137,7 +137,7 @@ protected slots: signals: void acceptPendingBPs (); void unableToSetBPNow (int BPNo); - void addWatchExpression (const QString&); + void addWatchExpression (const TQString&); private: FramestackWidget* frameStack_; @@ -149,31 +149,31 @@ private: // from the ruby program int stdoutOutputLen_; // amount of data in the output buffer char* stdoutOutput_; // buffer for the output from kprocess - QCString holdingZone_; + TQCString holdingZone_; int rdbSizeofBuf_; // size of the output buffer from rdb int rdbOutputLen_; // amount of data in the rdb buffer char* rdbOutput_; // buffer for the output from rdb via the Unix socket int masterSocket_; // The socket to accept connections - QSocketNotifier* acceptNotifier_; - static QCString unixSocketPath_; // The name of the Unix Domain socket + TQSocketNotifier* acceptNotifier_; + static TQCString unixSocketPath_; // The name of the Unix Domain socket int socket_; // The socket to read and write to the debuggee - QSocketNotifier* socketNotifier_; + TQSocketNotifier* socketNotifier_; - QPtrList cmdList_; + TQPtrList cmdList_; DbgCommand* currentCmd_; - QString currentPrompt_; + TQString currentPrompt_; STTY* tty_; // Details for starting the ruby debugger process - QString rubyInterpreter_; - QString characterCoding_; - QString runDirectory_; - QString debuggeePath_; - QString application_; - QString runArguments_; + TQString rubyInterpreter_; + TQString characterCoding_; + TQString runDirectory_; + TQString debuggeePath_; + TQString application_; + TQString runArguments_; bool showConstants_; bool traceIntoRuby_; @@ -182,7 +182,7 @@ private: bool programHasExited_; // Configuration values - QDomDocument &dom; + TQDomDocument &dom; bool config_forceBPSet_; bool config_dbgTerminal_; }; -- cgit v1.2.1