summaryrefslogtreecommitdiffstats
path: root/src/libgui
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:47:19 +0900
committerMichele Calgaro <[email protected]>2023-09-03 22:33:33 +0900
commit85ec028d6badd6fda0b194b62e19f8848e6524af (patch)
tree38d2e35ef1224d0055eaae3197078f75c77ead31 /src/libgui
parente73c7baebb1402b681c42d8e48b58c8a0644af22 (diff)
downloadpiklab-85ec028d6badd6fda0b194b62e19f8848e6524af.tar.gz
piklab-85ec028d6badd6fda0b194b62e19f8848e6524af.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d02729663347c003e8afbeda0e3d9227aff5806b)
Diffstat (limited to 'src/libgui')
-rw-r--r--src/libgui/toplevel.cpp6
1 files changed, 3 insertions, 3 deletions
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),