summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdbbreakpointwidget.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/gdbbreakpointwidget.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/gdbbreakpointwidget.h')
-rw-r--r--languages/cpp/debugger/gdbbreakpointwidget.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/languages/cpp/debugger/gdbbreakpointwidget.h b/languages/cpp/debugger/gdbbreakpointwidget.h
index 91dc40a5..42d1286d 100644
--- a/languages/cpp/debugger/gdbbreakpointwidget.h
+++ b/languages/cpp/debugger/gdbbreakpointwidget.h
@@ -16,11 +16,11 @@
#ifndef _GDBBreakpointWidget_H_
#define _GDBBreakpointWidget_H_
-#include <qhbox.h>
-#include <qpopupmenu.h>
-#include <qtable.h>
-#include <qguardedptr.h>
-#include <qvaluevector.h>
+#include <tqhbox.h>
+#include <tqpopupmenu.h>
+#include <tqtable.h>
+#include <tqguardedptr.h>
+#include <tqvaluevector.h>
#include "mi/gdbmi.h"
#include "gdbcontroller.h"
@@ -47,24 +47,24 @@ class GDBBreakpointWidget : public QHBox
public:
GDBBreakpointWidget( GDBController* controller,
- QWidget* parent=0, const char* name=0 );
+ TQWidget* parent=0, const char* name=0 );
virtual ~GDBBreakpointWidget();
void reset();
- void savePartialProjectSession(QDomElement* el);
- void restorePartialProjectSession(const QDomElement* el);
+ void savePartialProjectSession(TQDomElement* el);
+ void restorePartialProjectSession(const TQDomElement* el);
bool hasWatchpointForAddress(unsigned long long address) const;
public slots:
// Connected to from the editor widget:
- void slotToggleBreakpoint(const QString &filename, int lineNum);
- void slotToggleBreakpointEnabled(const QString &fileName, int lineNum);
+ void slotToggleBreakpoint(const TQString &filename, int lineNum);
+ void slotToggleBreakpointEnabled(const TQString &fileName, int lineNum);
// Connected to from the variable widget:
- void slotToggleWatchpoint(const QString &varName);
+ void slotToggleWatchpoint(const TQString &varName);
void slotBreakpointSet(Breakpoint*);
@@ -74,33 +74,33 @@ public slots:
protected:
- virtual void focusInEvent(QFocusEvent *e);
+ virtual void focusInEvent(TQFocusEvent *e);
friend class BreakpointActionCell; // for access to slotNewValue
private slots:
void slotRemoveBreakpoint();
void slotRemoveAllBreakpoints();
- void slotEditBreakpoint(const QString &fileName, int lineNum);
+ void slotEditBreakpoint(const TQString &fileName, int lineNum);
void slotEditBreakpoint();
void slotAddBlankBreakpoint(int idx);
- void slotRowDoubleClicked(int row, int col, int button, const QPoint & mousePos);
- void slotContextMenuShow( int row, int col, const QPoint &mousePos );
+ void slotRowDoubleClicked(int row, int col, int button, const TQPoint & mousePos);
+ void slotContextMenuShow( int row, int col, const TQPoint &mousePos );
void slotContextMenuSelect( int item );
- void slotEditRow(int row, int col, const QPoint & mousePos);
+ void slotEditRow(int row, int col, const TQPoint & mousePos);
void slotNewValue(int row, int col);
- void editTracing(QTableItem* item);
+ void editTracing(TQTableItem* item);
void slotBreakpointModified(Breakpoint*);
void slotEvent(GDBController::event_t);
void slotWatchpointHit(int id,
- const QString& oldValue,
- const QString& newValue);
+ const TQString& oldValue,
+ const TQString& newValue);
signals:
void publishBPState(const Breakpoint& brkpt);
void refreshBPState(const Breakpoint& brkpt);
- void gotoSourcePosition(const QString &fileName, int lineNum);
+ void gotoSourcePosition(const TQString &fileName, int lineNum);
// Emitted when output from yet another passed tracepoint is available.
void tracingOutput(const char*);
@@ -116,13 +116,13 @@ private:
void sendToGdb(Breakpoint &);
void handleBreakpointList(const GDBMI::ResultRecord&);
- void handleTracingPrintf(const QValueVector<QString>& s);
+ void handleTracingPrintf(const TQValueVector<TQString>& s);
private:
GDBController* controller_;
GDBTable* m_table;
- QPopupMenu* m_ctxMenu;
+ TQPopupMenu* m_ctxMenu;
};
class BreakpointTableRow;
@@ -135,12 +135,12 @@ class BreakpointTableRow;
When editing is done, the receiver of 'edit' should change the
value in the table, and then call the 'updateValue' method.
*/
-class ComplexEditCell : public QObject, public QTableItem
+class ComplexEditCell : public TQObject, public QTableItem
{
Q_OBJECT
public:
- ComplexEditCell(QTable* table);
+ ComplexEditCell(TQTable* table);
/** Called by Qt when the current cell should become editable.
In our case, when the item becomes current. Creates a widget
@@ -148,7 +148,7 @@ public:
content. In our case -- text plus "..." button that invokes
action dialog.
*/
- QWidget* createEditor() const;
+ TQWidget* createEditor() const;
void updateValue();
@@ -158,10 +158,10 @@ private slots:
void slotEdit();
signals:
- void edit(QTableItem*);
+ void edit(TQTableItem*);
private:
- mutable QGuardedPtr<QLabel> label_;
+ mutable TQGuardedPtr<TQLabel> label_;
};