summaryrefslogtreecommitdiffstats
path: root/src/libgui/watch_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/watch_view.cpp')
-rw-r--r--src/libgui/watch_view.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libgui/watch_view.cpp b/src/libgui/watch_view.cpp
index 7fd5e8d..b76587a 100644
--- a/src/libgui/watch_view.cpp
+++ b/src/libgui/watch_view.cpp
@@ -66,7 +66,7 @@ void Register::RegisterListView::updateView()
void Register::RegisterListView::itemClicked(int button, TQListViewItem *item, const TQPoint &, int)
{
- if ( item==0 || button!=Qt::LeftButton ) return;
+ if ( item==0 || button!=TQt::LeftButton ) return;
if ( item==firstChild() ) Main::editorManager().openEditor(EditorManager::RegisterEditor);
int id = _root->id(item);
if ( id==-1 || _ids[id].type()==Invalid ) return;
@@ -152,7 +152,7 @@ TQString Register::WatchedListView::tooltip(const TQListViewItem &item, int col)
void Register::WatchedListView::itemClicked(int button, TQListViewItem *item, const TQPoint &, int col)
{
- if ( item==0 || button!=Qt::LeftButton ) return;
+ if ( item==0 || button!=TQt::LeftButton ) return;
else if ( item->rtti()==RegisterRtti ) {
if ( col==2 && Main::programmerState()==Programmer::Halted ) static_cast<ListViewItem *>(item)->startRename();
else item->setOpen(!item->isOpen());
@@ -202,7 +202,7 @@ Register::WatchView::WatchView(TQWidget *parent)
TQVBoxLayout *top = new TQVBoxLayout(this);
TQValueList<int> sizes;
sizes.append(50);
- Splitter *splitter = new Splitter(sizes, Qt::Vertical, this, "watch_window_splitter");
+ Splitter *splitter = new Splitter(sizes, TQt::Vertical, this, "watch_window_splitter");
top->addWidget(splitter);
_registerListView = new RegisterListView(splitter);