diff options
Diffstat (limited to 'src/libgui/toplevel.cpp')
-rw-r--r-- | src/libgui/toplevel.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libgui/toplevel.cpp b/src/libgui/toplevel.cpp index 632d3d8..32e56ff 100644 --- a/src/libgui/toplevel.cpp +++ b/src/libgui/toplevel.cpp @@ -116,14 +116,14 @@ MainWindow::MainWindow() setView(_mainDock); setMainDockWidget(_mainDock); - KIconLoader loader; + TDEIconLoader loader; KDockWidget *dock = createDock("project_manager_dock_widget", PURL::icon(PURL::Project), i18n("Project Manager"), DockPosition(KDockWidget::DockLeft, 20)); Main::_projectManager = new ProjectManager::View(dock); connect(TQT_TQOBJECT(Main::_projectManager), TQT_SIGNAL(guiChanged()), TQT_SLOT(updateGUI())); dock->setWidget(Main::_projectManager); - dock = createDock("watch_view_dock_widget", loader.loadIcon("viewmag", KIcon::Small), + dock = createDock("watch_view_dock_widget", loader.loadIcon("viewmag", TDEIcon::Small), i18n("Watch View"), DockPosition("project_manager_dock_widget")); Main::_watchView = new Register::WatchView(dock); dock->setWidget(Main::_watchView); @@ -134,25 +134,25 @@ MainWindow::MainWindow() connect(TQT_TQOBJECT(Main::_editorManager), TQT_SIGNAL(modified(const PURL::Url &)), TQT_TQOBJECT(Main::_projectManager), TQT_SLOT(modified(const PURL::Url &))); connect(TQT_TQOBJECT(Main::_editorManager), TQT_SIGNAL(statusChanged(const TQString &)), _editorStatus, TQT_SLOT(setText(const TQString &))); - dock = createDock("compile_log_dock_widget", loader.loadIcon("piklab_compile", KIcon::Small), + 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); dock->setWidget(Main::_compileLog); - dock = createDock("program_log_dock_widget", loader.loadIcon("piklab_burnchip", KIcon::Small), + 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); dock->setWidget(_programLog); - dock = createDock("breakpoints_dock_widget", loader.loadIcon("piklab_breakpoint_active", KIcon::Small), + 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); dock->setWidget(Main::_breakpointsView); - dock = createDock("console_dock_widget", loader.loadIcon("konsole", KIcon::Small), + dock = createDock("console_dock_widget", loader.loadIcon("konsole", TDEIcon::Small), i18n("Konsole"), DockPosition("compile_log_dock_widget")); Main::_consoleView = new ConsoleView(dock); dock->setWidget(Main::_consoleView); |