summaryrefslogtreecommitdiffstats
path: root/src/devices/gui/memory_editor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 22:04:06 +0900
committerMichele Calgaro <[email protected]>2023-11-04 22:04:06 +0900
commit57545ab9c658d42570757aa95ddb5a0c23362804 (patch)
treeab253c337eaee208889cd3b5708b0dccb962f760 /src/devices/gui/memory_editor.cpp
parenta82216a4f7d6e32c2d8dc613f9c463e33ff81f97 (diff)
downloadpiklab-57545ab9c658d42570757aa95ddb5a0c23362804.tar.gz
piklab-57545ab9c658d42570757aa95ddb5a0c23362804.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/devices/gui/memory_editor.cpp')
-rw-r--r--src/devices/gui/memory_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/gui/memory_editor.cpp b/src/devices/gui/memory_editor.cpp
index c5d06f3..308bcbf 100644
--- a/src/devices/gui/memory_editor.cpp
+++ b/src/devices/gui/memory_editor.cpp
@@ -57,7 +57,7 @@ void Device::MemoryRangeEditor::init()
vbox->addWidget(frame);
vbox->addStretch(1);
TQHBoxLayout *fbox = new TQHBoxLayout(frame, 5, 5);
- TQGrid *grid = new TQGrid(3+_nbCols, Qt::Horizontal, frame, "memory_range_editor_grid");
+ TQGrid *grid = new TQGrid(3+_nbCols, TQt::Horizontal, frame, "memory_range_editor_grid");
fbox->addWidget(grid);
grid->setSpacing(0);
grid->setMargin(3);
@@ -89,7 +89,7 @@ void Device::MemoryRangeEditor::init()
// scrollbar if there are more lines to display than visible
_scrollbar = new TQScrollBar(0, TQMAX(_nbLines, totalNbLines)-_nbLines, 1, _nbLines, 0,
- Qt::Vertical, frame, "memory_range_editor_scrollbar");
+ TQt::Vertical, frame, "memory_range_editor_scrollbar");
connect(_scrollbar, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(setIndex(int))) ;
if ( totalNbLines<=_nbLines ) _scrollbar->hide();
fbox->addWidget(_scrollbar);