From 85ec028d6badd6fda0b194b62e19f8848e6524af Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:47:19 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro (cherry picked from commit d02729663347c003e8afbeda0e3d9227aff5806b) --- src/libgui/toplevel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libgui/toplevel.cpp') diff --git a/src/libgui/toplevel.cpp b/src/libgui/toplevel.cpp index 69d8768..591f166 100644 --- a/src/libgui/toplevel.cpp +++ b/src/libgui/toplevel.cpp @@ -137,19 +137,19 @@ MainWindow::MainWindow() dock = createDock("compile_log_dock_widget", loader.loadIcon("piklab_compile", TDEIcon::Small), i18n("Compile Log"), DockPosition(KDockWidget::DockBottom, 80)); Main::_compileLog = new Compile::LogWidget(dock); - Main::_compileLog->setFocusPolicy(TQ_NoFocus); + Main::_compileLog->setFocusPolicy(TQWidget::NoFocus); dock->setWidget(Main::_compileLog); dock = createDock("program_log_dock_widget", loader.loadIcon("piklab_burnchip", TDEIcon::Small), i18n("Program Log"), DockPosition("compile_log_dock_widget")); _programLog = new Log::Widget(dock, "program_log"); - _programLog->setFocusPolicy(TQ_NoFocus); + _programLog->setFocusPolicy(TQWidget::NoFocus); dock->setWidget(_programLog); dock = createDock("breakpoints_dock_widget", loader.loadIcon("piklab_breakpoint_active", TDEIcon::Small), i18n("Breakpoints"), DockPosition("compile_log_dock_widget")); Main::_breakpointsView = new Breakpoint::View(dock); - Main::_breakpointsView->setFocusPolicy(TQ_NoFocus); + Main::_breakpointsView->setFocusPolicy(TQWidget::NoFocus); dock->setWidget(Main::_breakpointsView); dock = createDock("console_dock_widget", loader.loadIcon("konsole", TDEIcon::Small), -- cgit v1.2.1