diff options
author | Michele Calgaro <[email protected]> | 2024-05-06 16:30:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-06 16:30:48 +0900 |
commit | 1c22ae157c39e2c1434e5ec43a05eda78dc86798 (patch) | |
tree | 13d7f43a2e9457cd1eddc956979b1f6dc026b24c | |
parent | 6eeb6f3bd853f29a0162ac9491cf5137afa44eb5 (diff) | |
download | piklab-1c22ae157c39e2c1434e5ec43a05eda78dc86798.tar.gz piklab-1c22ae157c39e2c1434e5ec43a05eda78dc86798.zip |
Include moc files in cpp sources
Signed-off-by: Michele Calgaro <[email protected]>
121 files changed, 251 insertions, 1 deletions
diff --git a/src/common/cli/cli_main.cpp b/src/common/cli/cli_main.cpp index 633d700..d3ad493 100644 --- a/src/common/cli/cli_main.cpp +++ b/src/common/cli/cli_main.cpp @@ -206,3 +206,5 @@ CLI::ExitCode CLI::MainBase::doRun() if ( code!=OK ) return code; return executeCommand(command); } + +#include "cli_main.moc" diff --git a/src/common/common/storage.cpp b/src/common/common/storage.cpp index 601ff2a..95c9b15 100644 --- a/src/common/common/storage.cpp +++ b/src/common/common/storage.cpp @@ -40,3 +40,5 @@ GenericView::GenericView(GenericStorage &storage) _proxy = new GenericViewProxy(*this); _proxy->addStorage(storage); } + +#include "storage.moc" diff --git a/src/common/common/synchronous.cpp b/src/common/common/synchronous.cpp index e480a0d..4daa81e 100644 --- a/src/common/common/synchronous.cpp +++ b/src/common/common/synchronous.cpp @@ -41,3 +41,5 @@ void Synchronous::done() { TQApplication::eventLoop()->exitLoop(); } + +#include "synchronous.moc" diff --git a/src/common/global/process.cpp b/src/common/global/process.cpp index bc6102d..cea2829 100644 --- a/src/common/global/process.cpp +++ b/src/common/global/process.cpp @@ -191,3 +191,4 @@ bool Process::LineOutput::start(uint timeout) return Process::LineBase::start(timeout); } +#include "process.moc" diff --git a/src/common/global/progress_monitor.cpp b/src/common/global/progress_monitor.cpp index bcb75a1..2902da9 100644 --- a/src/common/global/progress_monitor.cpp +++ b/src/common/global/progress_monitor.cpp @@ -82,3 +82,5 @@ void ProgressMonitor::addTaskProgress(uint nbSteps) (*_current).nbDoneSteps = TQMIN(nb, (*_current).nbSteps); update(); } + +#include "progress_monitor.moc" diff --git a/src/common/global/purl.cpp b/src/common/global/purl.cpp index 7b29f56..bf54c78 100644 --- a/src/common/global/purl.cpp +++ b/src/common/global/purl.cpp @@ -418,3 +418,5 @@ PURL::Directory PURL::Directory::current() { return TQDir::currentDirPath(); } + +#include "purl.moc" diff --git a/src/common/gui/Makefile.am b/src/common/gui/Makefile.am index c4bb948..f26148f 100644 --- a/src/common/gui/Makefile.am +++ b/src/common/gui/Makefile.am @@ -4,4 +4,4 @@ libcommonui_la_LDFLAGS = $(all_libraries) noinst_LTLIBRARIES = libcommonui.la libcommonui_la_SOURCES = container.cpp dialog.cpp editlistbox.cpp \ hexword_gui.cpp list_view.cpp misc_gui.cpp number_gui.cpp pfile_ext.cpp purl_ext.cpp \ - purl_gui.cpp list_container.cpp + purl_gui.cpp list_container.cpp config_widget.cpp diff --git a/src/common/gui/config_widget.cpp b/src/common/gui/config_widget.cpp new file mode 100644 index 0000000..f1412bb --- /dev/null +++ b/src/common/gui/config_widget.cpp @@ -0,0 +1,13 @@ +/*************************************************************************** + * Copyright (C) 2006 Nicolas Hadacek <[email protected]> * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + ***************************************************************************/ +#include "config_widget.h" + +// Empty file, only used to make sure the class gets MOCed correctly + +#include "config_widget.moc" diff --git a/src/common/gui/container.cpp b/src/common/gui/container.cpp index 7331be5..f66cd38 100644 --- a/src/common/gui/container.cpp +++ b/src/common/gui/container.cpp @@ -78,3 +78,5 @@ ButtonContainer::ButtonContainer(const TQString &title, TQWidget *parent) addWidget(_button, 0,0, 0,1); setColStretch(2, 1); } + +#include "container.moc" diff --git a/src/common/gui/dialog.cpp b/src/common/gui/dialog.cpp index b865edf..fb20b34 100644 --- a/src/common/gui/dialog.cpp +++ b/src/common/gui/dialog.cpp @@ -197,3 +197,5 @@ TextEditorDialog::TextEditorDialog(const TQString &text, const TQString &caption w->setWordWrap(wrapAtWidgetWidth ? TQTextEdit::WidgetWidth : TQTextEdit::NoWrap); setMainWidget(w); } + +#include "dialog.moc" diff --git a/src/common/gui/editlistbox.cpp b/src/common/gui/editlistbox.cpp index 41b41bd..b03fde5 100644 --- a/src/common/gui/editlistbox.cpp +++ b/src/common/gui/editlistbox.cpp @@ -338,3 +338,5 @@ TQString EditListBox::selectedText() const if ( item==0 ) return TQString(); return item->text(textColumn()); } + +#include "editlistbox.moc" diff --git a/src/common/gui/hexword_gui.cpp b/src/common/gui/hexword_gui.cpp index 97cc25c..aabf40f 100644 --- a/src/common/gui/hexword_gui.cpp +++ b/src/common/gui/hexword_gui.cpp @@ -134,3 +134,5 @@ TQSize GenericHexWordEditor::minimumSizeHint() const { return TQSize(maxCharWidth(NumberBase::Hex, font()) * (_nbChars+1), fontMetrics().height()); } + +#include "hexword_gui.moc" diff --git a/src/common/gui/list_container.cpp b/src/common/gui/list_container.cpp index 372904e..47f87aa 100644 --- a/src/common/gui/list_container.cpp +++ b/src/common/gui/list_container.cpp @@ -93,3 +93,5 @@ int ListViewItemContainer::id(const TQListViewItem *item) const { return (_ids->contains(item) ? int((*_ids)[item]) : -1); } + +#include "list_container.moc" diff --git a/src/common/gui/list_view.cpp b/src/common/gui/list_view.cpp index 8fbeee2..1d9274d 100644 --- a/src/common/gui/list_view.cpp +++ b/src/common/gui/list_view.cpp @@ -219,3 +219,5 @@ int EditListViewItem::width(const TQFontMetrics &fm, const TQListView *lv, int c delete edit; return w; } + +#include "list_view.moc" diff --git a/src/common/gui/misc_gui.cpp b/src/common/gui/misc_gui.cpp index 06e0d6b..7c6e63a 100644 --- a/src/common/gui/misc_gui.cpp +++ b/src/common/gui/misc_gui.cpp @@ -232,3 +232,5 @@ void ComboBox::wheelEvent(TQWheelEvent *e) if (_ignoreWheelEvent) TQApplication::sendEvent(parent(), e); // #### not sure why ignoring is not enough... else TQComboBox::wheelEvent(e); } + +#include "misc_gui.moc" diff --git a/src/common/gui/number_gui.cpp b/src/common/gui/number_gui.cpp index 8e036c3..21bc5fe 100644 --- a/src/common/gui/number_gui.cpp +++ b/src/common/gui/number_gui.cpp @@ -70,3 +70,5 @@ void NumberLineEdit::textChangedSlot() case TQValidator::Invalid: setColor(red); break; } } + +#include "number_gui.moc" diff --git a/src/common/gui/purl_gui.cpp b/src/common/gui/purl_gui.cpp index e936a99..2908a10 100644 --- a/src/common/gui/purl_gui.cpp +++ b/src/common/gui/purl_gui.cpp @@ -149,3 +149,5 @@ void PURL::UrlWidget::buttonClicked() _edit->setText(url.filepath()); emit changed(); } + +#include "purl_gui.moc" diff --git a/src/devices/base/register.cpp b/src/devices/base/register.cpp index d6ff59c..11ced39 100644 --- a/src/devices/base/register.cpp +++ b/src/devices/base/register.cpp @@ -154,3 +154,5 @@ BitValue Register::List::oldValue(const TypeData &data) const } return value; } + +#include "register.moc" diff --git a/src/devices/gui/hex_view.cpp b/src/devices/gui/hex_view.cpp index 4a6319f..305ac0b 100644 --- a/src/devices/gui/hex_view.cpp +++ b/src/devices/gui/hex_view.cpp @@ -21,3 +21,5 @@ void Device::HexView::display(Memory *memory) if ( _memory==0 ) return; display(); } + +#include "hex_view.moc" diff --git a/src/devices/gui/hex_word_editor.cpp b/src/devices/gui/hex_word_editor.cpp index 163217c..e9969cf 100644 --- a/src/devices/gui/hex_word_editor.cpp +++ b/src/devices/gui/hex_word_editor.cpp @@ -40,3 +40,5 @@ void Device::RegisterHexWordEditor::setValue(BitValue word) _word = word; set(); } + +#include "hex_word_editor.moc" diff --git a/src/devices/gui/memory_editor.cpp b/src/devices/gui/memory_editor.cpp index de5da8e..feb564e 100644 --- a/src/devices/gui/memory_editor.cpp +++ b/src/devices/gui/memory_editor.cpp @@ -367,3 +367,5 @@ const Device::Memory *Device::MemoryTypeEditor::originalMemory() const { return (_hexview ? _hexview->originalMemory() : 0); } + +#include "memory_editor.moc" diff --git a/src/devices/gui/register_view.cpp b/src/devices/gui/register_view.cpp index 6e5c268..7326a62 100644 --- a/src/devices/gui/register_view.cpp +++ b/src/devices/gui/register_view.cpp @@ -206,3 +206,5 @@ void Register::LineEdit::keyPressEvent(TQKeyEvent *e) Register::View::View(TQWidget *parent, const char *name) : TQFrame(parent, name), GenericView(list()) {} + +#include "register_view.moc" diff --git a/src/devices/mem24/gui/mem24_hex_view.cpp b/src/devices/mem24/gui/mem24_hex_view.cpp index 4c30905..ca1679e 100644 --- a/src/devices/mem24/gui/mem24_hex_view.cpp +++ b/src/devices/mem24/gui/mem24_hex_view.cpp @@ -36,3 +36,5 @@ BitValue Mem24::HexView::checksum() const cs += static_cast<const Memory *>(_memory)->byte(i); return cs.maskWith(0xFFFF); } + +#include "mem24_hex_view.moc" diff --git a/src/devices/mem24/gui/mem24_memory_editor.cpp b/src/devices/mem24/gui/mem24_memory_editor.cpp index 7ebd194..75de0d6 100644 --- a/src/devices/mem24/gui/mem24_memory_editor.cpp +++ b/src/devices/mem24/gui/mem24_memory_editor.cpp @@ -78,3 +78,5 @@ bool Mem24::MemoryTypeEditor::internalDoAction(Device::Action action) Q_ASSERT(false); return false; } + +#include "mem24_memory_editor.moc" diff --git a/src/devices/pic/gui/pic_config_editor.cpp b/src/devices/pic/gui/pic_config_editor.cpp index 230d65f..21121b8 100644 --- a/src/devices/pic/gui/pic_config_editor.cpp +++ b/src/devices/pic/gui/pic_config_editor.cpp @@ -66,3 +66,5 @@ void Pic::MemoryConfigEditor::init(bool first) addEditor(w); _top->addWidget(w); } + +#include "pic_config_editor.moc" diff --git a/src/devices/pic/gui/pic_config_word_editor.cpp b/src/devices/pic/gui/pic_config_word_editor.cpp index 9413c3a..907dfbc 100644 --- a/src/devices/pic/gui/pic_config_word_editor.cpp +++ b/src/devices/pic/gui/pic_config_word_editor.cpp @@ -194,3 +194,5 @@ void Pic::ConfigWordEditor::showDialog() ConfigWordDialog dialog(memory(), _configIndex, this); dialog.exec(); } + +#include "pic_config_word_editor.moc" diff --git a/src/devices/pic/gui/pic_hex_view.cpp b/src/devices/pic/gui/pic_hex_view.cpp index 89d1a2f..444a0a6 100644 --- a/src/devices/pic/gui/pic_hex_view.cpp +++ b/src/devices/pic/gui/pic_hex_view.cpp @@ -58,3 +58,5 @@ BitValue Pic::HexView::checksum() const { return (_memory ? memory()->checksum() : 0x0000); } + +#include "pic_hex_view.moc" diff --git a/src/devices/pic/gui/pic_memory_editor.cpp b/src/devices/pic/gui/pic_memory_editor.cpp index 8ea8057..8dc0682 100644 --- a/src/devices/pic/gui/pic_memory_editor.cpp +++ b/src/devices/pic/gui/pic_memory_editor.cpp @@ -402,3 +402,5 @@ bool Pic::MemoryCalibrationEditor::internalDoAction(Device::Action action) Q_ASSERT(false); return false; } + +#include "pic_memory_editor.moc" diff --git a/src/devices/pic/gui/pic_prog_group_ui.cpp b/src/devices/pic/gui/pic_prog_group_ui.cpp index 565ec93..2740dc1 100644 --- a/src/devices/pic/gui/pic_prog_group_ui.cpp +++ b/src/devices/pic/gui/pic_prog_group_ui.cpp @@ -39,3 +39,5 @@ void Programmer::PicAdvancedDialog::updateDisplay() else _voltages[i]->setText(TQString("%1 V").arg(v)); } } + +#include "pic_prog_group_ui.moc" diff --git a/src/devices/pic/gui/pic_register_view.cpp b/src/devices/pic/gui/pic_register_view.cpp index 7c2a422..bd920f8 100644 --- a/src/devices/pic/gui/pic_register_view.cpp +++ b/src/devices/pic/gui/pic_register_view.cpp @@ -327,3 +327,5 @@ TQString Pic::RegisterListViewItem::label() const const Pic::Data &data = static_cast<const Pic::Data &>(*Main::deviceData()); return data.registersData().label(_data.address()); } + +#include "pic_register_view.moc" diff --git a/src/libgui/breakpoint_view.cpp b/src/libgui/breakpoint_view.cpp index 6b78301..7c63653 100644 --- a/src/libgui/breakpoint_view.cpp +++ b/src/libgui/breakpoint_view.cpp @@ -92,3 +92,5 @@ void Breakpoint::View::contextMenu(TQListViewItem *item, const TQPoint &pos, int Main::popup("breakpoint_context_menu").exec(pos); _currentData = 0; } + +#include "breakpoint_view.moc" diff --git a/src/libgui/config_center.cpp b/src/libgui/config_center.cpp index 6806a7b..0a85005 100644 --- a/src/libgui/config_center.cpp +++ b/src/libgui/config_center.cpp @@ -130,3 +130,5 @@ void ConfigCenter::slotOk() slotApply(); accept(); } + +#include "config_center.moc" diff --git a/src/libgui/config_gen.cpp b/src/libgui/config_gen.cpp index 4517879..3941b83 100644 --- a/src/libgui/config_gen.cpp +++ b/src/libgui/config_gen.cpp @@ -187,3 +187,5 @@ SourceLine::List TemplateGenerator::generateLines(bool &ok) const const Device::Data *data = Device::lister().data(_deviceChooser->device()); return generator->templateSourceFile(toolType(), *data, ok); } + +#include "config_gen.moc" diff --git a/src/libgui/console.cpp b/src/libgui/console.cpp index 58830a8..1c062fe 100644 --- a/src/libgui/console.cpp +++ b/src/libgui/console.cpp @@ -40,3 +40,5 @@ void ConsoleView::showEvent(TQShowEvent *e) } TQWidget::showEvent(e); } + +#include "console.moc" diff --git a/src/libgui/device_editor.cpp b/src/libgui/device_editor.cpp index 4b8df1d..6b71823 100644 --- a/src/libgui/device_editor.cpp +++ b/src/libgui/device_editor.cpp @@ -139,3 +139,5 @@ TQString DeviceEditor::guessDeviceFromFile(const PURL::Url &url) if ( Device::lister().data(device)==0 ) return Device::AUTO_DATA.name; return device; } + +#include "device_editor.moc" diff --git a/src/libgui/device_gui.cpp b/src/libgui/device_gui.cpp index 1eb90dc..3c9b712 100644 --- a/src/libgui/device_gui.cpp +++ b/src/libgui/device_gui.cpp @@ -461,3 +461,5 @@ TQWidget *DeviceChooser::Editor::createView(const Device::Data *, TQWidget *pare view->setDevice(_device, true); return view; } + +#include "device_gui.moc" diff --git a/src/libgui/editor.cpp b/src/libgui/editor.cpp index 1577a97..4c8a63a 100644 --- a/src/libgui/editor.cpp +++ b/src/libgui/editor.cpp @@ -89,3 +89,5 @@ bool Editor::reload() if ( !checkSaved() ) return false; return slotLoad(); } + +#include "editor.moc" diff --git a/src/libgui/editor_manager.cpp b/src/libgui/editor_manager.cpp index 3e17daf..d32d887 100644 --- a/src/libgui/editor_manager.cpp +++ b/src/libgui/editor_manager.cpp @@ -504,3 +504,5 @@ Editor *EditorManager::openEditor(EditorType type) } else showEditor(e); return e; } + +#include "editor_manager.moc" diff --git a/src/libgui/gui_debug_manager.cpp b/src/libgui/gui_debug_manager.cpp index 0aa3e64..78a8217 100644 --- a/src/libgui/gui_debug_manager.cpp +++ b/src/libgui/gui_debug_manager.cpp @@ -247,3 +247,5 @@ void Debugger::GuiManager::showDisassemblyLocation() TextEditor *e = ::tqt_cast<TextEditor *>(Main::editorManager().openEditor(_coff->url())); if (e) e->setCursor(line, 0); } + +#include "gui_debug_manager.moc" diff --git a/src/libgui/gui_prog_manager.cpp b/src/libgui/gui_prog_manager.cpp index 41fad52..31b44fb 100644 --- a/src/libgui/gui_prog_manager.cpp +++ b/src/libgui/gui_prog_manager.cpp @@ -70,3 +70,5 @@ void Programmer::GuiManager::createProgrammer(const Device::Data *data) delete hconfig; Manager::createProgrammer(data, hd); } + +#include "gui_prog_manager.moc" diff --git a/src/libgui/hex_editor.cpp b/src/libgui/hex_editor.cpp index 2245f51..7890878 100644 --- a/src/libgui/hex_editor.cpp +++ b/src/libgui/hex_editor.cpp @@ -190,3 +190,5 @@ void HexEditor::statusChanged() } emit statusTextChanged(s); } + +#include "hex_editor.moc" diff --git a/src/libgui/likeback.cpp b/src/libgui/likeback.cpp index ea30824..46de07a 100644 --- a/src/libgui/likeback.cpp +++ b/src/libgui/likeback.cpp @@ -666,3 +666,5 @@ void LikeBackDialog::commentChanged() { m_sendButton->setEnabled(!m_comment->text().isEmpty()); } + +#include "likeback.moc" diff --git a/src/libgui/log_view.cpp b/src/libgui/log_view.cpp index 6365f51..6734964 100644 --- a/src/libgui/log_view.cpp +++ b/src/libgui/log_view.cpp @@ -133,3 +133,5 @@ void Log::Widget::saveAs() if ( url.isEmpty() ) return; url.write(_text, *this); } + +#include "log_view.moc" diff --git a/src/libgui/new_dialogs.cpp b/src/libgui/new_dialogs.cpp index 919ad51..8143412 100644 --- a/src/libgui/new_dialogs.cpp +++ b/src/libgui/new_dialogs.cpp @@ -81,3 +81,5 @@ PURL::Url NewFileDialog::url() const { return PURL::Url(PURL::Directory(_dir->text()), _filename->text()); } + +#include "new_dialogs.moc" diff --git a/src/libgui/object_view.cpp b/src/libgui/object_view.cpp index 0ad894d..c315560 100644 --- a/src/libgui/object_view.cpp +++ b/src/libgui/object_view.cpp @@ -143,3 +143,5 @@ bool DisassemblyEditor::open(const PURL::Url &url) if ( _editor==0 ) delete memory; return setText(SourceLine::text(PURL::SourceFamily::Asm, list, 4)); } + +#include "object_view.moc" diff --git a/src/libgui/project_editor.cpp b/src/libgui/project_editor.cpp index 3e22399..e956885 100644 --- a/src/libgui/project_editor.cpp +++ b/src/libgui/project_editor.cpp @@ -70,3 +70,5 @@ void ProjectEditor::slotOk() _tools->saveConfig(); accept(); } + +#include "project_editor.moc" diff --git a/src/libgui/project_manager.cpp b/src/libgui/project_manager.cpp index 8fa9586..a5122c4 100644 --- a/src/libgui/project_manager.cpp +++ b/src/libgui/project_manager.cpp @@ -649,3 +649,5 @@ PURL::Url ProjectManager::View::selectedUrl() const if ( rtti!=FileRtti ) return PURL::Url(); return static_cast<FileItem *>(item)->url(); } + +#include "project_manager.moc" diff --git a/src/libgui/project_manager_ui.cpp b/src/libgui/project_manager_ui.cpp index 173b550..b60b5cf 100644 --- a/src/libgui/project_manager_ui.cpp +++ b/src/libgui/project_manager_ui.cpp @@ -183,3 +183,5 @@ PURL::Url ProjectManager::LinkerScriptItem::url() const if ( Main::project() ) return Main::project()->customLinkerScript(); return PURL::Url(); } + +#include "project_manager_ui.moc" diff --git a/src/libgui/project_wizard.cpp b/src/libgui/project_wizard.cpp index b0d0c51..29870b0 100644 --- a/src/libgui/project_wizard.cpp +++ b/src/libgui/project_wizard.cpp @@ -281,3 +281,5 @@ void ProjectWizard::buttonClicked(int id) setNextEnabled(_second, id==1); setFinishEnabled(_second, id!=1); } + +#include "project_wizard.moc" diff --git a/src/libgui/register_view.cpp b/src/libgui/register_view.cpp index 40462a3..60ad90e 100644 --- a/src/libgui/register_view.cpp +++ b/src/libgui/register_view.cpp @@ -49,3 +49,5 @@ TQWidget *Register::MainView::createView(const Device::Data *data, TQWidget *par } return view; } + +#include "register_view.moc" diff --git a/src/libgui/text_editor.cpp b/src/libgui/text_editor.cpp index 41f4396..69adf97 100644 --- a/src/libgui/text_editor.cpp +++ b/src/libgui/text_editor.cpp @@ -344,3 +344,5 @@ bool SimpleTextEditor::setText(const TQString &text) highlightChanged(); return true; } + +#include "text_editor.moc" diff --git a/src/libgui/toplevel.cpp b/src/libgui/toplevel.cpp index 9febe6e..d886568 100644 --- a/src/libgui/toplevel.cpp +++ b/src/libgui/toplevel.cpp @@ -991,3 +991,5 @@ void MainWindow::setProgress(uint nb) _actionProgress->setProgress(nb); TQApplication::eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); // #### DANGER !!!! } + +#include "toplevel.moc" diff --git a/src/libgui/toplevel_ui.cpp b/src/libgui/toplevel_ui.cpp index c0d24a4..146bf49 100644 --- a/src/libgui/toplevel_ui.cpp +++ b/src/libgui/toplevel_ui.cpp @@ -77,3 +77,5 @@ TQSize MenuBarButton::sizeHint() const { return TQSize(TQToolButton::sizeHint().width(), height()); } + +#include "toplevel_ui.moc" diff --git a/src/libgui/watch_view.cpp b/src/libgui/watch_view.cpp index 7f838e8..11045ba 100644 --- a/src/libgui/watch_view.cpp +++ b/src/libgui/watch_view.cpp @@ -223,3 +223,5 @@ void Register::WatchView::updateView() _registerListView->updateView(); _watchedListView->updateView(); } + +#include "watch_view.moc" diff --git a/src/piklab-coff/main.cpp b/src/piklab-coff/main.cpp index 3d88eba..fb50fe3 100644 --- a/src/piklab-coff/main.cpp +++ b/src/piklab-coff/main.cpp @@ -280,3 +280,5 @@ int main(int argc, char **argv) Piklab::init(about, argc, argv, false, list.ptr()); return main.doRun(); } + +#include "main.moc" diff --git a/src/piklab-hex/main.cpp b/src/piklab-hex/main.cpp index 7be9fa7..c9665c1 100644 --- a/src/piklab-hex/main.cpp +++ b/src/piklab-hex/main.cpp @@ -289,3 +289,5 @@ int main(int argc, char **argv) Piklab::init(about, argc, argv, false, list.ptr()); return main.doRun(); } + +#include "main.moc" diff --git a/src/piklab-prog/cli_debug_manager.cpp b/src/piklab-prog/cli_debug_manager.cpp index 418bc06..0e151f6 100644 --- a/src/piklab-prog/cli_debug_manager.cpp +++ b/src/piklab-prog/cli_debug_manager.cpp @@ -16,3 +16,5 @@ void Debugger::CliManager::updateView(bool) if ( Programmer::manager->programmer() && debugger() ) log(Log::LineType::Normal, debugger()->statusString()); // ### TODO: show current and next PC lines } + +#include "cli_debug_manager.moc" diff --git a/src/piklab-prog/cli_interactive.cpp b/src/piklab-prog/cli_interactive.cpp index ecf486a..f8d8a52 100644 --- a/src/piklab-prog/cli_interactive.cpp +++ b/src/piklab-prog/cli_interactive.cpp @@ -335,3 +335,5 @@ CLI::ExitCode CLI::Interactive::executeRawCommands(const TQString &filename) } return okExit(i18n("End of command file reached.")); } + +#include "cli_interactive.moc" diff --git a/src/piklab-prog/cli_prog_manager.cpp b/src/piklab-prog/cli_prog_manager.cpp index d448f95..715121c 100644 --- a/src/piklab-prog/cli_prog_manager.cpp +++ b/src/piklab-prog/cli_prog_manager.cpp @@ -63,3 +63,5 @@ bool Programmer::CliManager::internalInitProgramming(bool debugging) } return true; } + +#include "cli_prog_manager.moc" diff --git a/src/piklab-prog/cmdline.cpp b/src/piklab-prog/cmdline.cpp index 13ac144..c71a595 100644 --- a/src/piklab-prog/cmdline.cpp +++ b/src/piklab-prog/cmdline.cpp @@ -451,3 +451,5 @@ int main(int argc, char **argv) Piklab::init(about, argc, argv, false, list.ptr()); return main.doRun(); } + +#include "cmdline.moc" diff --git a/src/progs/base/generic_prog.cpp b/src/progs/base/generic_prog.cpp index a3e3770..6ea9019 100644 --- a/src/progs/base/generic_prog.cpp +++ b/src/progs/base/generic_prog.cpp @@ -400,3 +400,5 @@ bool Programmer::Base::doBlankCheck(const Device::MemoryRange &range) log(Log::LineType::Information, i18n("Blank checking successful.")); return true; } + +#include "generic_prog.moc" diff --git a/src/progs/bootloader/base/bootloader_prog.cpp b/src/progs/bootloader/base/bootloader_prog.cpp index 61167f8..d1225c5 100644 --- a/src/progs/bootloader/base/bootloader_prog.cpp +++ b/src/progs/bootloader/base/bootloader_prog.cpp @@ -23,3 +23,5 @@ bool Bootloader::Group::checkConnection(const ::Programmer::HardwareDescription delete base; return ok; } + +#include "bootloader_prog.moc" diff --git a/src/progs/direct/base/direct_prog.cpp b/src/progs/direct/base/direct_prog.cpp index 3e4f168..82c24e5 100644 --- a/src/progs/direct/base/direct_prog.cpp +++ b/src/progs/direct/base/direct_prog.cpp @@ -60,3 +60,5 @@ void Direct::DGroup::initSupported() } return new Mem24DeviceSpecific(base); } + +#include "direct_prog.moc" diff --git a/src/progs/direct/gui/direct_config_widget.cpp b/src/progs/direct/gui/direct_config_widget.cpp index 203cfc9..9d8c2cc 100644 --- a/src/progs/direct/gui/direct_config_widget.cpp +++ b/src/progs/direct/gui/direct_config_widget.cpp @@ -247,3 +247,5 @@ Hardware::HConfigWidget *Direct::ConfigWidget::createHardwareConfigWidget(TQWidg { return new HConfigWidget(*_base, parent, edit); } + +#include "direct_config_widget.moc" diff --git a/src/progs/gpsim/base/gpsim.cpp b/src/progs/gpsim/base/gpsim.cpp index 71cf2a2..8d6cbda 100644 --- a/src/progs/gpsim/base/gpsim.cpp +++ b/src/progs/gpsim/base/gpsim.cpp @@ -153,3 +153,5 @@ bool GPSim::Hardware::signal(uint n, bool synchronous, TQStringList *output) if (output) *output = _manager->process().sout(); return true; } + +#include "gpsim.moc" diff --git a/src/progs/gpsim/base/gpsim_debug.cpp b/src/progs/gpsim/base/gpsim_debug.cpp index f6c2541..1ff122d 100644 --- a/src/progs/gpsim/base/gpsim_debug.cpp +++ b/src/progs/gpsim/base/gpsim_debug.cpp @@ -280,3 +280,5 @@ Programmer::DeviceSpecific *GPSim::Group::createDeviceSpecific(::Programmer::Bas { return new DeviceSpecific(base); } + +#include "gpsim_debug.moc" diff --git a/src/progs/gpsim/gui/gpsim_group_ui.cpp b/src/progs/gpsim/gui/gpsim_group_ui.cpp index 69dd558..f2554e5 100644 --- a/src/progs/gpsim/gui/gpsim_group_ui.cpp +++ b/src/progs/gpsim/gui/gpsim_group_ui.cpp @@ -40,3 +40,5 @@ void GPSim::ConfigWidget::updateStatus() { return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); } + +#include "gpsim_group_ui.moc" diff --git a/src/progs/gui/hardware_config_widget.cpp b/src/progs/gui/hardware_config_widget.cpp index 12ab6e2..4bda79f 100644 --- a/src/progs/gui/hardware_config_widget.cpp +++ b/src/progs/gui/hardware_config_widget.cpp @@ -202,3 +202,5 @@ void Hardware::ConfigWidget::deleteClicked() updateList(_hc->portDescription().type); configChanged(_configCombo->currentItem()); } + +#include "hardware_config_widget.moc" diff --git a/src/progs/gui/port_selector.cpp b/src/progs/gui/port_selector.cpp index 9c06de1..5380759 100644 --- a/src/progs/gui/port_selector.cpp +++ b/src/progs/gui/port_selector.cpp @@ -142,3 +142,5 @@ void PortSelector::textChanged() _pending = true; TQTimer::singleShot(1000, this, TQ_SIGNAL(changed())); } + +#include "port_selector.moc" diff --git a/src/progs/gui/prog_config_center.cpp b/src/progs/gui/prog_config_center.cpp index 75723a5..9fb75bb 100644 --- a/src/progs/gui/prog_config_center.cpp +++ b/src/progs/gui/prog_config_center.cpp @@ -120,3 +120,5 @@ void Programmer::SelectConfigWidget::programmerChanged() _stack->setCurrentItem(key); if (isHardware) TQTimer::singleShot(0, this, TQ_SLOT(portChanged())); } + +#include "prog_config_center.moc" diff --git a/src/progs/gui/prog_config_widget.cpp b/src/progs/gui/prog_config_widget.cpp index 1578e3b..cd2253a 100644 --- a/src/progs/gui/prog_config_widget.cpp +++ b/src/progs/gui/prog_config_widget.cpp @@ -44,3 +44,5 @@ bool Programmer::ConfigWidget::setPort(const HardwareDescription &hd) { return _group.checkConnection(hd); } + +#include "prog_config_widget.moc" diff --git a/src/progs/gui/prog_group_ui.cpp b/src/progs/gui/prog_group_ui.cpp index c1a6566..3e1b025 100644 --- a/src/progs/gui/prog_group_ui.cpp +++ b/src/progs/gui/prog_group_ui.cpp @@ -180,3 +180,5 @@ void Programmer::AdvancedDialog::updateDisplay() if (_firmwareLabel) _firmwareLabel->setText(_base.firmwareVersion().pretty()); if (_calEditor) _calEditor->updateDisplay(); } + +#include "prog_group_ui.moc" diff --git a/src/progs/icd1/base/icd1_prog.cpp b/src/progs/icd1/base/icd1_prog.cpp index 0f79270..527b827 100644 --- a/src/progs/icd1/base/icd1_prog.cpp +++ b/src/progs/icd1/base/icd1_prog.cpp @@ -49,3 +49,5 @@ Programmer::DeviceSpecific *Icd1::Group::createDeviceSpecific(::Programmer::Base { return new Icd::DeviceSpecific(base); } + +#include "icd1_prog.moc" diff --git a/src/progs/icd1/gui/icd1_group_ui.cpp b/src/progs/icd1/gui/icd1_group_ui.cpp index a386190..67ccd84 100644 --- a/src/progs/icd1/gui/icd1_group_ui.cpp +++ b/src/progs/icd1/gui/icd1_group_ui.cpp @@ -39,3 +39,5 @@ void Icd1::AdvancedDialog::updateDisplay() { return new AdvancedDialog(static_cast<ProgrammerBase &>(base), parent); } + +#include "icd1_group_ui.moc" diff --git a/src/progs/icd2/base/icd2_debug.cpp b/src/progs/icd2/base/icd2_debug.cpp index 6beb0e9..543425b 100644 --- a/src/progs/icd2/base/icd2_debug.cpp +++ b/src/progs/icd2/base/icd2_debug.cpp @@ -346,3 +346,5 @@ void Icd2::DebuggerGroup::addDevice(const TQString &name, const Device::Data *dd Q_ASSERT(false); return 0; } + +#include "icd2_debug.moc" diff --git a/src/progs/icd2/base/icd2_prog.cpp b/src/progs/icd2/base/icd2_prog.cpp index 71300e1..697561b 100644 --- a/src/progs/icd2/base/icd2_prog.cpp +++ b/src/progs/icd2/base/icd2_prog.cpp @@ -140,3 +140,5 @@ Programmer::DeviceSpecific *Icd2::Group::createDeviceSpecific(::Programmer::Base { return new Icd::DeviceSpecific(base); } + +#include "icd2_prog.moc" diff --git a/src/progs/icd2/base/icd_prog.cpp b/src/progs/icd2/base/icd_prog.cpp index 3923650..13103da 100644 --- a/src/progs/icd2/base/icd_prog.cpp +++ b/src/progs/icd2/base/icd_prog.cpp @@ -37,3 +37,5 @@ bool Icd::ProgrammerBase::readFirmwareVersion() { return hardware().getFirmwareVersion(_firmwareVersion); } + +#include "icd_prog.moc" diff --git a/src/progs/icd2/gui/icd2_group_ui.cpp b/src/progs/icd2/gui/icd2_group_ui.cpp index fd794b0..b6add47 100644 --- a/src/progs/icd2/gui/icd2_group_ui.cpp +++ b/src/progs/icd2/gui/icd2_group_ui.cpp @@ -79,3 +79,5 @@ void Icd2::AdvancedDialog::updateDisplay() { return new AdvancedDialog(static_cast<ProgrammerBase &>(base), parent); } + +#include "icd2_group_ui.moc" diff --git a/src/progs/manager/breakpoint.cpp b/src/progs/manager/breakpoint.cpp index 3cda051..f7f83ba 100644 --- a/src/progs/manager/breakpoint.cpp +++ b/src/progs/manager/breakpoint.cpp @@ -72,3 +72,5 @@ void Breakpoint::List::setAddress(const Data &data, Address address) (*find(data)).address = address; delayedChanged(); } + +#include "breakpoint.moc" diff --git a/src/progs/manager/debug_manager.cpp b/src/progs/manager/debug_manager.cpp index 4e00866..8380d25 100644 --- a/src/progs/manager/debug_manager.cpp +++ b/src/progs/manager/debug_manager.cpp @@ -390,3 +390,5 @@ bool Debugger::Manager::prepareDebugging() } return true; } + +#include "debug_manager.moc" diff --git a/src/progs/manager/prog_manager.cpp b/src/progs/manager/prog_manager.cpp index 8df43c5..ccfa35b 100644 --- a/src/progs/manager/prog_manager.cpp +++ b/src/progs/manager/prog_manager.cpp @@ -215,3 +215,5 @@ bool Programmer::Manager::isTargetSelfPowered() const if ( group().targetPowerMode()==TargetPowerModeFromConfig ) return readConfigEntry(Config::TargetSelfPowered).toBool(); return ( group().targetPowerMode()==TargetSelfPowered ); } + +#include "prog_manager.moc" diff --git a/src/progs/picdem_bootloader/base/picdem_bootloader_prog.cpp b/src/progs/picdem_bootloader/base/picdem_bootloader_prog.cpp index 72fc384..35f0648 100644 --- a/src/progs/picdem_bootloader/base/picdem_bootloader_prog.cpp +++ b/src/progs/picdem_bootloader/base/picdem_bootloader_prog.cpp @@ -12,3 +12,5 @@ PicdemBootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data) : Bootloader::ProgrammerBase(group, data, "picdem_bootloader_programmer_base") {} + +#include "picdem_bootloader_prog.moc" diff --git a/src/progs/picdem_bootloader/gui/picdem_bootloader_ui.cpp b/src/progs/picdem_bootloader/gui/picdem_bootloader_ui.cpp index 3e374da..f3a8ef3 100644 --- a/src/progs/picdem_bootloader/gui/picdem_bootloader_ui.cpp +++ b/src/progs/picdem_bootloader/gui/picdem_bootloader_ui.cpp @@ -46,3 +46,5 @@ void PicdemBootloader::ConfigWidget::loadConfig() { return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); } + +#include "picdem_bootloader_ui.moc" diff --git a/src/progs/pickit1/base/pickit1_prog.cpp b/src/progs/pickit1/base/pickit1_prog.cpp index b43a19c..9145376 100644 --- a/src/progs/pickit1/base/pickit1_prog.cpp +++ b/src/progs/pickit1/base/pickit1_prog.cpp @@ -26,3 +26,5 @@ Programmer::Hardware *Pickit1::Group::createHardware(Programmer::Base &base, con { return new Hardware(base); } + +#include "pickit1_prog.moc" diff --git a/src/progs/pickit2/base/pickit2_prog.cpp b/src/progs/pickit2/base/pickit2_prog.cpp index 071f3b0..4349949 100644 --- a/src/progs/pickit2/base/pickit2_prog.cpp +++ b/src/progs/pickit2/base/pickit2_prog.cpp @@ -76,3 +76,5 @@ Programmer::Hardware *Pickit2::Group::createHardware(::Programmer::Base &base, c { return new Hardware(base); } + +#include "pickit2_prog.moc" diff --git a/src/progs/pickit2/base/pickit_prog.cpp b/src/progs/pickit2/base/pickit_prog.cpp index 39d13f8..b9d0272 100644 --- a/src/progs/pickit2/base/pickit_prog.cpp +++ b/src/progs/pickit2/base/pickit_prog.cpp @@ -52,3 +52,5 @@ bool Pickit::Base::regenerateOsccal(const PURL::Url &url) if ( !static_cast<Hardware &>(hardware()).regenerateOsccal(array[0]) ) return false; return programCalibration(array); } + +#include "pickit_prog.moc" diff --git a/src/progs/pickit2/gui/pickit2_group_ui.cpp b/src/progs/pickit2/gui/pickit2_group_ui.cpp index a44c5cb..9a78402 100644 --- a/src/progs/pickit2/gui/pickit2_group_ui.cpp +++ b/src/progs/pickit2/gui/pickit2_group_ui.cpp @@ -50,3 +50,5 @@ void Pickit::AdvancedDialog::regenerateCalibration() { return new Pickit::AdvancedDialog(static_cast<Base &>(base), parent, "pickit2_advanced_dialog"); } + +#include "pickit2_group_ui.moc" diff --git a/src/progs/pickit2_bootloader/base/pickit2_bootloader_prog.cpp b/src/progs/pickit2_bootloader/base/pickit2_bootloader_prog.cpp index 7f734ba..05feca0 100644 --- a/src/progs/pickit2_bootloader/base/pickit2_bootloader_prog.cpp +++ b/src/progs/pickit2_bootloader/base/pickit2_bootloader_prog.cpp @@ -12,3 +12,5 @@ Pickit2Bootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data) : Bootloader::ProgrammerBase(group, data, "pickit2_bootloader_programmer_base") {} + +#include "pickit2_bootloader_prog.moc" diff --git a/src/progs/pickit2_bootloader/gui/pickit2_bootloader_ui.cpp b/src/progs/pickit2_bootloader/gui/pickit2_bootloader_ui.cpp index be2a348..c3662eb 100644 --- a/src/progs/pickit2_bootloader/gui/pickit2_bootloader_ui.cpp +++ b/src/progs/pickit2_bootloader/gui/pickit2_bootloader_ui.cpp @@ -18,3 +18,5 @@ Pickit2Bootloader::ConfigWidget::ConfigWidget(const::Programmer::Group &group, T { return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); } + +#include "pickit2_bootloader_ui.moc" diff --git a/src/progs/pickit2v2/base/pickit2v2_prog.cpp b/src/progs/pickit2v2/base/pickit2v2_prog.cpp index 74b82b6..3fab7ca 100644 --- a/src/progs/pickit2v2/base/pickit2v2_prog.cpp +++ b/src/progs/pickit2v2/base/pickit2v2_prog.cpp @@ -115,3 +115,5 @@ Programmer::DeviceSpecific *Pickit2V2::Group::createDeviceSpecific(Programmer::B { return new DeviceSpecific(base); } + +#include "pickit2v2_prog.moc" diff --git a/src/progs/psp/base/psp_prog.cpp b/src/progs/psp/base/psp_prog.cpp index 891cb73..e13c21a 100644 --- a/src/progs/psp/base/psp_prog.cpp +++ b/src/progs/psp/base/psp_prog.cpp @@ -29,3 +29,5 @@ Programmer::DeviceSpecific *Psp::Group::createDeviceSpecific(::Programmer::Base { return new DeviceSpecific(base); } + +#include "psp_prog.moc" diff --git a/src/progs/tbl_bootloader/base/tbl_bootloader_prog.cpp b/src/progs/tbl_bootloader/base/tbl_bootloader_prog.cpp index 22c831e..0ad9ff4 100644 --- a/src/progs/tbl_bootloader/base/tbl_bootloader_prog.cpp +++ b/src/progs/tbl_bootloader/base/tbl_bootloader_prog.cpp @@ -12,3 +12,5 @@ TinyBootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data) : Bootloader::ProgrammerBase(group, data, "tiny_bootloader_programmer_base") {} + +#include "tbl_bootloader_prog.moc" diff --git a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp index 7328aa5..d86f5c0 100644 --- a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp +++ b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp @@ -78,3 +78,5 @@ void TinyBootloader::ConfigWidget::loadConfig() { return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); } + +#include "tbl_bootloader_ui.moc" diff --git a/src/tools/boost/boostc_compile.cpp b/src/tools/boost/boostc_compile.cpp index 3c18fbe..83da74e 100644 --- a/src/tools/boost/boostc_compile.cpp +++ b/src/tools/boost/boostc_compile.cpp @@ -54,3 +54,5 @@ TQString Boost::Link::outputFiles() const return "PURL::Lst PURL::Hex PURL::Coff PURL::AsmGPAsm stat tree casm"; } + +#include "boostc_compile.moc" diff --git a/src/tools/boost/gui/boost_ui.cpp b/src/tools/boost/gui/boost_ui.cpp index 2357165..3c82232 100644 --- a/src/tools/boost/gui/boost_ui.cpp +++ b/src/tools/boost/gui/boost_ui.cpp @@ -17,3 +17,5 @@ void Boost::ConfigWidget::initEntries() { createIncludeDirectoriesEntry(); } + +#include "boost_ui.moc" diff --git a/src/tools/c18/c18_compile.cpp b/src/tools/c18/c18_compile.cpp index d3ca920..6b251a0 100644 --- a/src/tools/c18/c18_compile.cpp +++ b/src/tools/c18/c18_compile.cpp @@ -63,3 +63,5 @@ void C18::Link::logStderrLine(const TQString &line) // #### TODO doLog(Log::LineType::Normal, line, TQString(), 0); } + +#include "c18_compile.moc" diff --git a/src/tools/c18/gui/c18_ui.cpp b/src/tools/c18/gui/c18_ui.cpp index 4b38611..f5952f3 100644 --- a/src/tools/c18/gui/c18_ui.cpp +++ b/src/tools/c18/gui/c18_ui.cpp @@ -48,3 +48,5 @@ void C18::ConfigWidget::saveConfig(Compile::Config &config) const if ( _category==Tool::Category::Compiler ) static_cast<Config &>(config).setWarningLevel(_warningLevel->currentItem()); } + +#include "c18_ui.moc" diff --git a/src/tools/cc5x/cc5x_compile.cpp b/src/tools/cc5x/cc5x_compile.cpp index fb17755..0e9ce78 100644 --- a/src/tools/cc5x/cc5x_compile.cpp +++ b/src/tools/cc5x/cc5x_compile.cpp @@ -35,3 +35,5 @@ TQString CC5X::CompileFile::outputFiles() const { return "PURL::Lst PURL::AsmGPAsm PURL::Hex PURL::Cod occ"; } + +#include "cc5x_compile.moc" diff --git a/src/tools/cc5x/gui/cc5x_ui.cpp b/src/tools/cc5x/gui/cc5x_ui.cpp index b35e6af..d1143a4 100644 --- a/src/tools/cc5x/gui/cc5x_ui.cpp +++ b/src/tools/cc5x/gui/cc5x_ui.cpp @@ -17,3 +17,5 @@ void CC5X::ConfigWidget::initEntries() { if ( _category!=Tool::Category::Linker ) createIncludeDirectoriesEntry(); } + +#include "cc5x_ui.moc" diff --git a/src/tools/ccsc/ccsc_compile.cpp b/src/tools/ccsc/ccsc_compile.cpp index c988013..567413b 100644 --- a/src/tools/ccsc/ccsc_compile.cpp +++ b/src/tools/ccsc/ccsc_compile.cpp @@ -105,3 +105,5 @@ TQString CCSC::CompileFile::outputFiles() const { return "PURL::Lst PURL::Hex PURL::Coff PURL::Cod sym err esym occ"; } + +#include "ccsc_compile.moc" diff --git a/src/tools/ccsc/gui/ccsc_ui.cpp b/src/tools/ccsc/gui/ccsc_ui.cpp index eb2a900..588707c 100644 --- a/src/tools/ccsc/gui/ccsc_ui.cpp +++ b/src/tools/ccsc/gui/ccsc_ui.cpp @@ -17,3 +17,5 @@ void CCSC::ConfigWidget::initEntries() { if ( _category!=Tool::Category::Linker ) createIncludeDirectoriesEntry(); } + +#include "ccsc_ui.moc" diff --git a/src/tools/gputils/gputils_compile.cpp b/src/tools/gputils/gputils_compile.cpp index cbe2309..78a46ea 100644 --- a/src/tools/gputils/gputils_compile.cpp +++ b/src/tools/gputils/gputils_compile.cpp @@ -107,3 +107,5 @@ TQString GPUtils::LibraryProject::outputFiles() const { return "PURL::Library"; } + +#include "gputils_compile.moc" diff --git a/src/tools/gputils/gui/gputils_ui.cpp b/src/tools/gputils/gui/gputils_ui.cpp index 2a912f7..465dbcf 100644 --- a/src/tools/gputils/gui/gputils_ui.cpp +++ b/src/tools/gputils/gui/gputils_ui.cpp @@ -51,3 +51,5 @@ void GPUtils::ConfigWidget::saveConfig(Compile::Config &config) const if ( _category==Tool::Category::Assembler ) static_cast<Config &>(config).setGPAsmWarningLevel(_gpasmWarning->currentItem()); } + +#include "gputils_ui.moc" diff --git a/src/tools/gui/tool_config_widget.cpp b/src/tools/gui/tool_config_widget.cpp index d121bf3..768f215 100644 --- a/src/tools/gui/tool_config_widget.cpp +++ b/src/tools/gui/tool_config_widget.cpp @@ -179,3 +179,5 @@ void ToolConfigWidget::updateArguments() } _arguments->setText(arguments(type).join(" ")); } + +#include "tool_config_widget.moc" diff --git a/src/tools/gui/toolchain_config_center.cpp b/src/tools/gui/toolchain_config_center.cpp index 3685997..2310cf8 100644 --- a/src/tools/gui/toolchain_config_center.cpp +++ b/src/tools/gui/toolchain_config_center.cpp @@ -109,3 +109,5 @@ void ToolchainsConfigCenter::showInformationDialog() TextEditorDialog dialog(tcw->group().informationText(), tcw->group().label(), true, this); dialog.exec(); } + +#include "toolchain_config_center.moc" diff --git a/src/tools/gui/toolchain_config_widget.cpp b/src/tools/gui/toolchain_config_widget.cpp index 27302fd..8f077c6 100644 --- a/src/tools/gui/toolchain_config_widget.cpp +++ b/src/tools/gui/toolchain_config_widget.cpp @@ -299,3 +299,5 @@ void ToolchainConfigWidget::showDeviceDetails() } MessageBox::text(s, Log::Show); } + +#include "toolchain_config_widget.moc" diff --git a/src/tools/jal/gui/jal_ui.cpp b/src/tools/jal/gui/jal_ui.cpp index 4300de0..e484a9f 100644 --- a/src/tools/jal/gui/jal_ui.cpp +++ b/src/tools/jal/gui/jal_ui.cpp @@ -12,3 +12,5 @@ JAL::ConfigWidget::ConfigWidget(Project *project) : ToolConfigWidget(project) {} + +#include "jal_ui.moc" diff --git a/src/tools/jal/jal_compile.cpp b/src/tools/jal/jal_compile.cpp index e36ffc2..6540b08 100644 --- a/src/tools/jal/jal_compile.cpp +++ b/src/tools/jal/jal_compile.cpp @@ -24,3 +24,5 @@ TQString JAL::CompileFile::outputFiles() const { return "PURL::AsmGPAsm PURL::Hex"; } + +#include "jal_compile.moc" diff --git a/src/tools/jalv2/gui/jalv2_ui.cpp b/src/tools/jalv2/gui/jalv2_ui.cpp index 0990c6d..bebbfd0 100644 --- a/src/tools/jalv2/gui/jalv2_ui.cpp +++ b/src/tools/jalv2/gui/jalv2_ui.cpp @@ -17,3 +17,5 @@ void JALV2::ConfigWidget::initEntries() { createIncludeDirectoriesEntry(); } + +#include "jalv2_ui.moc" diff --git a/src/tools/jalv2/jalv2_compile.cpp b/src/tools/jalv2/jalv2_compile.cpp index 73274aa..3e76920 100644 --- a/src/tools/jalv2/jalv2_compile.cpp +++ b/src/tools/jalv2/jalv2_compile.cpp @@ -41,3 +41,5 @@ TQString JALV2::CompileFile::outputFiles() const { return "PURL::AsmGPAsm PURL::Hex"; } + +#include "jalv2_compile.moc" diff --git a/src/tools/list/compile_manager.cpp b/src/tools/list/compile_manager.cpp index edf999c..bda204f 100644 --- a/src/tools/list/compile_manager.cpp +++ b/src/tools/list/compile_manager.cpp @@ -290,3 +290,5 @@ void Compile::Manager::executeCustomCommands() log(Log::LineType::Information, i18n("Executing custom commands...")); startCustomCommand(); } + +#include "compile_manager.moc" diff --git a/src/tools/list/compile_process.cpp b/src/tools/list/compile_process.cpp index aff7c7c..bb345a1 100644 --- a/src/tools/list/compile_process.cpp +++ b/src/tools/list/compile_process.cpp @@ -374,3 +374,5 @@ void Compile::CustomProcess::logStderrLine(const TQString &line) { _manager->log(Log::LineType::Normal, line); } + +#include "compile_process.moc" diff --git a/src/tools/list/tools_config_widget.cpp b/src/tools/list/tools_config_widget.cpp index a6b853a..bec5004 100644 --- a/src/tools/list/tools_config_widget.cpp +++ b/src/tools/list/tools_config_widget.cpp @@ -142,3 +142,5 @@ void ToolsConfigWidget::displayHelp() if ( _helpDialog.isNull() ) _helpDialog = new HelpDialog(this); _helpDialog->show(); } + +#include "tools_config_widget.moc" diff --git a/src/tools/mpc/gui/mpc_ui.cpp b/src/tools/mpc/gui/mpc_ui.cpp index b3ad4e7..3a6373f 100644 --- a/src/tools/mpc/gui/mpc_ui.cpp +++ b/src/tools/mpc/gui/mpc_ui.cpp @@ -12,3 +12,5 @@ MPC::ConfigWidget::ConfigWidget(Project *project) : ToolConfigWidget(project) {} + +#include "mpc_ui.moc" diff --git a/src/tools/mpc/mpc_compile.cpp b/src/tools/mpc/mpc_compile.cpp index 22e0969..458078f 100644 --- a/src/tools/mpc/mpc_compile.cpp +++ b/src/tools/mpc/mpc_compile.cpp @@ -49,3 +49,5 @@ TQString MPC::CompileFile::outputFiles() const { return "PURL::Lst PURL::Hex PURL::Cod err"; } + +#include "mpc_compile.moc" diff --git a/src/tools/pic30/gui/pic30_ui.cpp b/src/tools/pic30/gui/pic30_ui.cpp index b4760dc..27ca7f9 100644 --- a/src/tools/pic30/gui/pic30_ui.cpp +++ b/src/tools/pic30/gui/pic30_ui.cpp @@ -24,3 +24,5 @@ void PIC30::ConfigWidget::initEntries() createIncludeDirectoriesEntry(); if ( _category==Tool::Category::Linker ) createCustomLibrariesEntry(); } + +#include "pic30_ui.moc" diff --git a/src/tools/pic30/pic30_compile.cpp b/src/tools/pic30/pic30_compile.cpp index 3674e4b..6baf26b 100644 --- a/src/tools/pic30/pic30_compile.cpp +++ b/src/tools/pic30/pic30_compile.cpp @@ -194,3 +194,5 @@ void PIC30::BinToHex::logStderrLine(const TQString &line) // #### TODO doLog(Log::LineType::Normal, line, TQString(), 0); // unrecognized } + +#include "pic30_compile.moc" diff --git a/src/tools/picc/gui/picc_ui.cpp b/src/tools/picc/gui/picc_ui.cpp index 207a7cb..c860e79 100644 --- a/src/tools/picc/gui/picc_ui.cpp +++ b/src/tools/picc/gui/picc_ui.cpp @@ -18,3 +18,5 @@ void PICC::ConfigWidget::initEntries() if ( _category==Tool::Category::Compiler || _category==Tool::Category::Assembler ) createIncludeDirectoriesEntry(); } + +#include "picc_ui.moc" diff --git a/src/tools/picc/picc_compile.cpp b/src/tools/picc/picc_compile.cpp index ca390fc..21b672f 100644 --- a/src/tools/picc/picc_compile.cpp +++ b/src/tools/picc/picc_compile.cpp @@ -134,3 +134,5 @@ TQString PICC::LibraryProject::outputFiles() const { return "PURL::Library"; } + +#include "picc_compile.moc" diff --git a/src/tools/sdcc/gui/sdcc_ui.cpp b/src/tools/sdcc/gui/sdcc_ui.cpp index bc14f78..05cfffc 100644 --- a/src/tools/sdcc/gui/sdcc_ui.cpp +++ b/src/tools/sdcc/gui/sdcc_ui.cpp @@ -27,3 +27,5 @@ ToolConfigWidget *SDCC::GroupUI::configWidgetFactory(Tool::Category category, Pr if ( category==Tool::Category::Librarian ) return new GPUtils::ConfigWidget(project); return new ConfigWidget(project); } + +#include "sdcc_ui.moc" diff --git a/src/tools/sdcc/sdcc_compile.cpp b/src/tools/sdcc/sdcc_compile.cpp index 1c2e04d..e996b72 100644 --- a/src/tools/sdcc/sdcc_compile.cpp +++ b/src/tools/sdcc/sdcc_compile.cpp @@ -101,3 +101,5 @@ TQString SDCC::LinkProjectFile::outputFiles() const { return Process::outputFiles() + " PURL::Lkr PURL::Hex PURL::Cod PURL::Coff PURL::Map"; } + +#include "sdcc_compile.moc" |