diff options
author | Michele Calgaro <[email protected]> | 2023-11-04 22:04:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 11:35:16 +0900 |
commit | 6ea6638ae6c5e5a047c011208495de42f586e22d (patch) | |
tree | ffb31eae07d760464eb5ef9d8537464dc7c0e5ea /src/devices | |
parent | 5eea93e27f1298522ea63894c80d9a08c794dd57 (diff) | |
download | piklab-6ea6638ae6c5e5a047c011208495de42f586e22d.tar.gz piklab-6ea6638ae6c5e5a047c011208495de42f586e22d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 57545ab9c658d42570757aa95ddb5a0c23362804)
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/gui/memory_editor.cpp | 4 |
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); |