summaryrefslogtreecommitdiffstats
path: root/src/libgui/watch_view.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 22:04:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:35:16 +0900
commit6ea6638ae6c5e5a047c011208495de42f586e22d (patch)
treeffb31eae07d760464eb5ef9d8537464dc7c0e5ea /src/libgui/watch_view.cpp
parent5eea93e27f1298522ea63894c80d9a08c794dd57 (diff)
downloadpiklab-6ea6638ae6c5e5a047c011208495de42f586e22d.tar.gz
piklab-6ea6638ae6c5e5a047c011208495de42f586e22d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 57545ab9c658d42570757aa95ddb5a0c23362804)
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);