Include moc files in cpp sources

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/16/head
Michele Calgaro 7 months ago
parent 6eeb6f3bd8
commit 1c22ae157c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -206,3 +206,5 @@ CLI::ExitCode CLI::MainBase::doRun()
if ( code!=OK ) return code; if ( code!=OK ) return code;
return executeCommand(command); return executeCommand(command);
} }
#include "cli_main.moc"

@ -40,3 +40,5 @@ GenericView::GenericView(GenericStorage &storage)
_proxy = new GenericViewProxy(*this); _proxy = new GenericViewProxy(*this);
_proxy->addStorage(storage); _proxy->addStorage(storage);
} }
#include "storage.moc"

@ -41,3 +41,5 @@ void Synchronous::done()
{ {
TQApplication::eventLoop()->exitLoop(); TQApplication::eventLoop()->exitLoop();
} }
#include "synchronous.moc"

@ -191,3 +191,4 @@ bool Process::LineOutput::start(uint timeout)
return Process::LineBase::start(timeout); return Process::LineBase::start(timeout);
} }
#include "process.moc"

@ -82,3 +82,5 @@ void ProgressMonitor::addTaskProgress(uint nbSteps)
(*_current).nbDoneSteps = TQMIN(nb, (*_current).nbSteps); (*_current).nbDoneSteps = TQMIN(nb, (*_current).nbSteps);
update(); update();
} }
#include "progress_monitor.moc"

@ -418,3 +418,5 @@ PURL::Directory PURL::Directory::current()
{ {
return TQDir::currentDirPath(); return TQDir::currentDirPath();
} }
#include "purl.moc"

@ -4,4 +4,4 @@ libcommonui_la_LDFLAGS = $(all_libraries)
noinst_LTLIBRARIES = libcommonui.la noinst_LTLIBRARIES = libcommonui.la
libcommonui_la_SOURCES = container.cpp dialog.cpp editlistbox.cpp \ 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 \ 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

@ -0,0 +1,13 @@
/***************************************************************************
* Copyright (C) 2006 Nicolas Hadacek <hadacek@kde.org> *
* *
* 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"

@ -78,3 +78,5 @@ ButtonContainer::ButtonContainer(const TQString &title, TQWidget *parent)
addWidget(_button, 0,0, 0,1); addWidget(_button, 0,0, 0,1);
setColStretch(2, 1); setColStretch(2, 1);
} }
#include "container.moc"

@ -197,3 +197,5 @@ TextEditorDialog::TextEditorDialog(const TQString &text, const TQString &caption
w->setWordWrap(wrapAtWidgetWidth ? TQTextEdit::WidgetWidth : TQTextEdit::NoWrap); w->setWordWrap(wrapAtWidgetWidth ? TQTextEdit::WidgetWidth : TQTextEdit::NoWrap);
setMainWidget(w); setMainWidget(w);
} }
#include "dialog.moc"

@ -338,3 +338,5 @@ TQString EditListBox::selectedText() const
if ( item==0 ) return TQString(); if ( item==0 ) return TQString();
return item->text(textColumn()); return item->text(textColumn());
} }
#include "editlistbox.moc"

@ -134,3 +134,5 @@ TQSize GenericHexWordEditor::minimumSizeHint() const
{ {
return TQSize(maxCharWidth(NumberBase::Hex, font()) * (_nbChars+1), fontMetrics().height()); return TQSize(maxCharWidth(NumberBase::Hex, font()) * (_nbChars+1), fontMetrics().height());
} }
#include "hexword_gui.moc"

@ -93,3 +93,5 @@ int ListViewItemContainer::id(const TQListViewItem *item) const
{ {
return (_ids->contains(item) ? int((*_ids)[item]) : -1); return (_ids->contains(item) ? int((*_ids)[item]) : -1);
} }
#include "list_container.moc"

@ -219,3 +219,5 @@ int EditListViewItem::width(const TQFontMetrics &fm, const TQListView *lv, int c
delete edit; delete edit;
return w; return w;
} }
#include "list_view.moc"

@ -232,3 +232,5 @@ void ComboBox::wheelEvent(TQWheelEvent *e)
if (_ignoreWheelEvent) TQApplication::sendEvent(parent(), e); // #### not sure why ignoring is not enough... if (_ignoreWheelEvent) TQApplication::sendEvent(parent(), e); // #### not sure why ignoring is not enough...
else TQComboBox::wheelEvent(e); else TQComboBox::wheelEvent(e);
} }
#include "misc_gui.moc"

@ -70,3 +70,5 @@ void NumberLineEdit::textChangedSlot()
case TQValidator::Invalid: setColor(red); break; case TQValidator::Invalid: setColor(red); break;
} }
} }
#include "number_gui.moc"

@ -149,3 +149,5 @@ void PURL::UrlWidget::buttonClicked()
_edit->setText(url.filepath()); _edit->setText(url.filepath());
emit changed(); emit changed();
} }
#include "purl_gui.moc"

@ -154,3 +154,5 @@ BitValue Register::List::oldValue(const TypeData &data) const
} }
return value; return value;
} }
#include "register.moc"

@ -21,3 +21,5 @@ void Device::HexView::display(Memory *memory)
if ( _memory==0 ) return; if ( _memory==0 ) return;
display(); display();
} }
#include "hex_view.moc"

@ -40,3 +40,5 @@ void Device::RegisterHexWordEditor::setValue(BitValue word)
_word = word; _word = word;
set(); set();
} }
#include "hex_word_editor.moc"

@ -367,3 +367,5 @@ const Device::Memory *Device::MemoryTypeEditor::originalMemory() const
{ {
return (_hexview ? _hexview->originalMemory() : 0); return (_hexview ? _hexview->originalMemory() : 0);
} }
#include "memory_editor.moc"

@ -206,3 +206,5 @@ void Register::LineEdit::keyPressEvent(TQKeyEvent *e)
Register::View::View(TQWidget *parent, const char *name) Register::View::View(TQWidget *parent, const char *name)
: TQFrame(parent, name), GenericView(list()) : TQFrame(parent, name), GenericView(list())
{} {}
#include "register_view.moc"

@ -36,3 +36,5 @@ BitValue Mem24::HexView::checksum() const
cs += static_cast<const Memory *>(_memory)->byte(i); cs += static_cast<const Memory *>(_memory)->byte(i);
return cs.maskWith(0xFFFF); return cs.maskWith(0xFFFF);
} }
#include "mem24_hex_view.moc"

@ -78,3 +78,5 @@ bool Mem24::MemoryTypeEditor::internalDoAction(Device::Action action)
Q_ASSERT(false); Q_ASSERT(false);
return false; return false;
} }
#include "mem24_memory_editor.moc"

@ -66,3 +66,5 @@ void Pic::MemoryConfigEditor::init(bool first)
addEditor(w); addEditor(w);
_top->addWidget(w); _top->addWidget(w);
} }
#include "pic_config_editor.moc"

@ -194,3 +194,5 @@ void Pic::ConfigWordEditor::showDialog()
ConfigWordDialog dialog(memory(), _configIndex, this); ConfigWordDialog dialog(memory(), _configIndex, this);
dialog.exec(); dialog.exec();
} }
#include "pic_config_word_editor.moc"

@ -58,3 +58,5 @@ BitValue Pic::HexView::checksum() const
{ {
return (_memory ? memory()->checksum() : 0x0000); return (_memory ? memory()->checksum() : 0x0000);
} }
#include "pic_hex_view.moc"

@ -402,3 +402,5 @@ bool Pic::MemoryCalibrationEditor::internalDoAction(Device::Action action)
Q_ASSERT(false); Q_ASSERT(false);
return false; return false;
} }
#include "pic_memory_editor.moc"

@ -39,3 +39,5 @@ void Programmer::PicAdvancedDialog::updateDisplay()
else _voltages[i]->setText(TQString("%1 V").arg(v)); else _voltages[i]->setText(TQString("%1 V").arg(v));
} }
} }
#include "pic_prog_group_ui.moc"

@ -327,3 +327,5 @@ TQString Pic::RegisterListViewItem::label() const
const Pic::Data &data = static_cast<const Pic::Data &>(*Main::deviceData()); const Pic::Data &data = static_cast<const Pic::Data &>(*Main::deviceData());
return data.registersData().label(_data.address()); return data.registersData().label(_data.address());
} }
#include "pic_register_view.moc"

@ -92,3 +92,5 @@ void Breakpoint::View::contextMenu(TQListViewItem *item, const TQPoint &pos, int
Main::popup("breakpoint_context_menu").exec(pos); Main::popup("breakpoint_context_menu").exec(pos);
_currentData = 0; _currentData = 0;
} }
#include "breakpoint_view.moc"

@ -130,3 +130,5 @@ void ConfigCenter::slotOk()
slotApply(); slotApply();
accept(); accept();
} }
#include "config_center.moc"

@ -187,3 +187,5 @@ SourceLine::List TemplateGenerator::generateLines(bool &ok) const
const Device::Data *data = Device::lister().data(_deviceChooser->device()); const Device::Data *data = Device::lister().data(_deviceChooser->device());
return generator->templateSourceFile(toolType(), *data, ok); return generator->templateSourceFile(toolType(), *data, ok);
} }
#include "config_gen.moc"

@ -40,3 +40,5 @@ void ConsoleView::showEvent(TQShowEvent *e)
} }
TQWidget::showEvent(e); TQWidget::showEvent(e);
} }
#include "console.moc"

@ -139,3 +139,5 @@ TQString DeviceEditor::guessDeviceFromFile(const PURL::Url &url)
if ( Device::lister().data(device)==0 ) return Device::AUTO_DATA.name; if ( Device::lister().data(device)==0 ) return Device::AUTO_DATA.name;
return device; return device;
} }
#include "device_editor.moc"

@ -461,3 +461,5 @@ TQWidget *DeviceChooser::Editor::createView(const Device::Data *, TQWidget *pare
view->setDevice(_device, true); view->setDevice(_device, true);
return view; return view;
} }
#include "device_gui.moc"

@ -89,3 +89,5 @@ bool Editor::reload()
if ( !checkSaved() ) return false; if ( !checkSaved() ) return false;
return slotLoad(); return slotLoad();
} }
#include "editor.moc"

@ -504,3 +504,5 @@ Editor *EditorManager::openEditor(EditorType type)
} else showEditor(e); } else showEditor(e);
return e; return e;
} }
#include "editor_manager.moc"

@ -247,3 +247,5 @@ void Debugger::GuiManager::showDisassemblyLocation()
TextEditor *e = ::tqt_cast<TextEditor *>(Main::editorManager().openEditor(_coff->url())); TextEditor *e = ::tqt_cast<TextEditor *>(Main::editorManager().openEditor(_coff->url()));
if (e) e->setCursor(line, 0); if (e) e->setCursor(line, 0);
} }
#include "gui_debug_manager.moc"

@ -70,3 +70,5 @@ void Programmer::GuiManager::createProgrammer(const Device::Data *data)
delete hconfig; delete hconfig;
Manager::createProgrammer(data, hd); Manager::createProgrammer(data, hd);
} }
#include "gui_prog_manager.moc"

@ -190,3 +190,5 @@ void HexEditor::statusChanged()
} }
emit statusTextChanged(s); emit statusTextChanged(s);
} }
#include "hex_editor.moc"

@ -666,3 +666,5 @@ void LikeBackDialog::commentChanged()
{ {
m_sendButton->setEnabled(!m_comment->text().isEmpty()); m_sendButton->setEnabled(!m_comment->text().isEmpty());
} }
#include "likeback.moc"

@ -133,3 +133,5 @@ void Log::Widget::saveAs()
if ( url.isEmpty() ) return; if ( url.isEmpty() ) return;
url.write(_text, *this); url.write(_text, *this);
} }
#include "log_view.moc"

@ -81,3 +81,5 @@ PURL::Url NewFileDialog::url() const
{ {
return PURL::Url(PURL::Directory(_dir->text()), _filename->text()); return PURL::Url(PURL::Directory(_dir->text()), _filename->text());
} }
#include "new_dialogs.moc"

@ -143,3 +143,5 @@ bool DisassemblyEditor::open(const PURL::Url &url)
if ( _editor==0 ) delete memory; if ( _editor==0 ) delete memory;
return setText(SourceLine::text(PURL::SourceFamily::Asm, list, 4)); return setText(SourceLine::text(PURL::SourceFamily::Asm, list, 4));
} }
#include "object_view.moc"

@ -70,3 +70,5 @@ void ProjectEditor::slotOk()
_tools->saveConfig(); _tools->saveConfig();
accept(); accept();
} }
#include "project_editor.moc"

@ -649,3 +649,5 @@ PURL::Url ProjectManager::View::selectedUrl() const
if ( rtti!=FileRtti ) return PURL::Url(); if ( rtti!=FileRtti ) return PURL::Url();
return static_cast<FileItem *>(item)->url(); return static_cast<FileItem *>(item)->url();
} }
#include "project_manager.moc"

@ -183,3 +183,5 @@ PURL::Url ProjectManager::LinkerScriptItem::url() const
if ( Main::project() ) return Main::project()->customLinkerScript(); if ( Main::project() ) return Main::project()->customLinkerScript();
return PURL::Url(); return PURL::Url();
} }
#include "project_manager_ui.moc"

@ -281,3 +281,5 @@ void ProjectWizard::buttonClicked(int id)
setNextEnabled(_second, id==1); setNextEnabled(_second, id==1);
setFinishEnabled(_second, id!=1); setFinishEnabled(_second, id!=1);
} }
#include "project_wizard.moc"

@ -49,3 +49,5 @@ TQWidget *Register::MainView::createView(const Device::Data *data, TQWidget *par
} }
return view; return view;
} }
#include "register_view.moc"

@ -344,3 +344,5 @@ bool SimpleTextEditor::setText(const TQString &text)
highlightChanged(); highlightChanged();
return true; return true;
} }
#include "text_editor.moc"

@ -991,3 +991,5 @@ void MainWindow::setProgress(uint nb)
_actionProgress->setProgress(nb); _actionProgress->setProgress(nb);
TQApplication::eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); // #### DANGER !!!! TQApplication::eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); // #### DANGER !!!!
} }
#include "toplevel.moc"

@ -77,3 +77,5 @@ TQSize MenuBarButton::sizeHint() const
{ {
return TQSize(TQToolButton::sizeHint().width(), height()); return TQSize(TQToolButton::sizeHint().width(), height());
} }
#include "toplevel_ui.moc"

@ -223,3 +223,5 @@ void Register::WatchView::updateView()
_registerListView->updateView(); _registerListView->updateView();
_watchedListView->updateView(); _watchedListView->updateView();
} }
#include "watch_view.moc"

@ -280,3 +280,5 @@ int main(int argc, char **argv)
Piklab::init(about, argc, argv, false, list.ptr()); Piklab::init(about, argc, argv, false, list.ptr());
return main.doRun(); return main.doRun();
} }
#include "main.moc"

@ -289,3 +289,5 @@ int main(int argc, char **argv)
Piklab::init(about, argc, argv, false, list.ptr()); Piklab::init(about, argc, argv, false, list.ptr());
return main.doRun(); return main.doRun();
} }
#include "main.moc"

@ -16,3 +16,5 @@ void Debugger::CliManager::updateView(bool)
if ( Programmer::manager->programmer() && debugger() ) log(Log::LineType::Normal, debugger()->statusString()); if ( Programmer::manager->programmer() && debugger() ) log(Log::LineType::Normal, debugger()->statusString());
// ### TODO: show current and next PC lines // ### TODO: show current and next PC lines
} }
#include "cli_debug_manager.moc"

@ -335,3 +335,5 @@ CLI::ExitCode CLI::Interactive::executeRawCommands(const TQString &filename)
} }
return okExit(i18n("End of command file reached.")); return okExit(i18n("End of command file reached."));
} }
#include "cli_interactive.moc"

@ -63,3 +63,5 @@ bool Programmer::CliManager::internalInitProgramming(bool debugging)
} }
return true; return true;
} }
#include "cli_prog_manager.moc"

@ -451,3 +451,5 @@ int main(int argc, char **argv)
Piklab::init(about, argc, argv, false, list.ptr()); Piklab::init(about, argc, argv, false, list.ptr());
return main.doRun(); return main.doRun();
} }
#include "cmdline.moc"

@ -400,3 +400,5 @@ bool Programmer::Base::doBlankCheck(const Device::MemoryRange &range)
log(Log::LineType::Information, i18n("Blank checking successful.")); log(Log::LineType::Information, i18n("Blank checking successful."));
return true; return true;
} }
#include "generic_prog.moc"

@ -23,3 +23,5 @@ bool Bootloader::Group::checkConnection(const ::Programmer::HardwareDescription
delete base; delete base;
return ok; return ok;
} }
#include "bootloader_prog.moc"

@ -60,3 +60,5 @@ void Direct::DGroup::initSupported()
} }
return new Mem24DeviceSpecific(base); return new Mem24DeviceSpecific(base);
} }
#include "direct_prog.moc"

@ -247,3 +247,5 @@ Hardware::HConfigWidget *Direct::ConfigWidget::createHardwareConfigWidget(TQWidg
{ {
return new HConfigWidget(*_base, parent, edit); return new HConfigWidget(*_base, parent, edit);
} }
#include "direct_config_widget.moc"

@ -153,3 +153,5 @@ bool GPSim::Hardware::signal(uint n, bool synchronous, TQStringList *output)
if (output) *output = _manager->process().sout(); if (output) *output = _manager->process().sout();
return true; return true;
} }
#include "gpsim.moc"

@ -280,3 +280,5 @@ Programmer::DeviceSpecific *GPSim::Group::createDeviceSpecific(::Programmer::Bas
{ {
return new DeviceSpecific(base); return new DeviceSpecific(base);
} }
#include "gpsim_debug.moc"

@ -40,3 +40,5 @@ void GPSim::ConfigWidget::updateStatus()
{ {
return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent);
} }
#include "gpsim_group_ui.moc"

@ -202,3 +202,5 @@ void Hardware::ConfigWidget::deleteClicked()
updateList(_hc->portDescription().type); updateList(_hc->portDescription().type);
configChanged(_configCombo->currentItem()); configChanged(_configCombo->currentItem());
} }
#include "hardware_config_widget.moc"

@ -142,3 +142,5 @@ void PortSelector::textChanged()
_pending = true; _pending = true;
TQTimer::singleShot(1000, this, TQ_SIGNAL(changed())); TQTimer::singleShot(1000, this, TQ_SIGNAL(changed()));
} }
#include "port_selector.moc"

@ -120,3 +120,5 @@ void Programmer::SelectConfigWidget::programmerChanged()
_stack->setCurrentItem(key); _stack->setCurrentItem(key);
if (isHardware) TQTimer::singleShot(0, this, TQ_SLOT(portChanged())); if (isHardware) TQTimer::singleShot(0, this, TQ_SLOT(portChanged()));
} }
#include "prog_config_center.moc"

@ -44,3 +44,5 @@ bool Programmer::ConfigWidget::setPort(const HardwareDescription &hd)
{ {
return _group.checkConnection(hd); return _group.checkConnection(hd);
} }
#include "prog_config_widget.moc"

@ -180,3 +180,5 @@ void Programmer::AdvancedDialog::updateDisplay()
if (_firmwareLabel) _firmwareLabel->setText(_base.firmwareVersion().pretty()); if (_firmwareLabel) _firmwareLabel->setText(_base.firmwareVersion().pretty());
if (_calEditor) _calEditor->updateDisplay(); if (_calEditor) _calEditor->updateDisplay();
} }
#include "prog_group_ui.moc"

@ -49,3 +49,5 @@ Programmer::DeviceSpecific *Icd1::Group::createDeviceSpecific(::Programmer::Base
{ {
return new Icd::DeviceSpecific(base); return new Icd::DeviceSpecific(base);
} }
#include "icd1_prog.moc"

@ -39,3 +39,5 @@ void Icd1::AdvancedDialog::updateDisplay()
{ {
return new AdvancedDialog(static_cast<ProgrammerBase &>(base), parent); return new AdvancedDialog(static_cast<ProgrammerBase &>(base), parent);
} }
#include "icd1_group_ui.moc"

@ -346,3 +346,5 @@ void Icd2::DebuggerGroup::addDevice(const TQString &name, const Device::Data *dd
Q_ASSERT(false); Q_ASSERT(false);
return 0; return 0;
} }
#include "icd2_debug.moc"

@ -140,3 +140,5 @@ Programmer::DeviceSpecific *Icd2::Group::createDeviceSpecific(::Programmer::Base
{ {
return new Icd::DeviceSpecific(base); return new Icd::DeviceSpecific(base);
} }
#include "icd2_prog.moc"

@ -37,3 +37,5 @@ bool Icd::ProgrammerBase::readFirmwareVersion()
{ {
return hardware().getFirmwareVersion(_firmwareVersion); return hardware().getFirmwareVersion(_firmwareVersion);
} }
#include "icd_prog.moc"

@ -79,3 +79,5 @@ void Icd2::AdvancedDialog::updateDisplay()
{ {
return new AdvancedDialog(static_cast<ProgrammerBase &>(base), parent); return new AdvancedDialog(static_cast<ProgrammerBase &>(base), parent);
} }
#include "icd2_group_ui.moc"

@ -72,3 +72,5 @@ void Breakpoint::List::setAddress(const Data &data, Address address)
(*find(data)).address = address; (*find(data)).address = address;
delayedChanged(); delayedChanged();
} }
#include "breakpoint.moc"

@ -390,3 +390,5 @@ bool Debugger::Manager::prepareDebugging()
} }
return true; return true;
} }
#include "debug_manager.moc"

@ -215,3 +215,5 @@ bool Programmer::Manager::isTargetSelfPowered() const
if ( group().targetPowerMode()==TargetPowerModeFromConfig ) return readConfigEntry(Config::TargetSelfPowered).toBool(); if ( group().targetPowerMode()==TargetPowerModeFromConfig ) return readConfigEntry(Config::TargetSelfPowered).toBool();
return ( group().targetPowerMode()==TargetSelfPowered ); return ( group().targetPowerMode()==TargetSelfPowered );
} }
#include "prog_manager.moc"

@ -12,3 +12,5 @@
PicdemBootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data) PicdemBootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data)
: Bootloader::ProgrammerBase(group, data, "picdem_bootloader_programmer_base") : Bootloader::ProgrammerBase(group, data, "picdem_bootloader_programmer_base")
{} {}
#include "picdem_bootloader_prog.moc"

@ -46,3 +46,5 @@ void PicdemBootloader::ConfigWidget::loadConfig()
{ {
return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent);
} }
#include "picdem_bootloader_ui.moc"

@ -26,3 +26,5 @@ Programmer::Hardware *Pickit1::Group::createHardware(Programmer::Base &base, con
{ {
return new Hardware(base); return new Hardware(base);
} }
#include "pickit1_prog.moc"

@ -76,3 +76,5 @@ Programmer::Hardware *Pickit2::Group::createHardware(::Programmer::Base &base, c
{ {
return new Hardware(base); return new Hardware(base);
} }
#include "pickit2_prog.moc"

@ -52,3 +52,5 @@ bool Pickit::Base::regenerateOsccal(const PURL::Url &url)
if ( !static_cast<Hardware &>(hardware()).regenerateOsccal(array[0]) ) return false; if ( !static_cast<Hardware &>(hardware()).regenerateOsccal(array[0]) ) return false;
return programCalibration(array); return programCalibration(array);
} }
#include "pickit_prog.moc"

@ -50,3 +50,5 @@ void Pickit::AdvancedDialog::regenerateCalibration()
{ {
return new Pickit::AdvancedDialog(static_cast<Base &>(base), parent, "pickit2_advanced_dialog"); return new Pickit::AdvancedDialog(static_cast<Base &>(base), parent, "pickit2_advanced_dialog");
} }
#include "pickit2_group_ui.moc"

@ -12,3 +12,5 @@
Pickit2Bootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data) Pickit2Bootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data)
: Bootloader::ProgrammerBase(group, data, "pickit2_bootloader_programmer_base") : Bootloader::ProgrammerBase(group, data, "pickit2_bootloader_programmer_base")
{} {}
#include "pickit2_bootloader_prog.moc"

@ -18,3 +18,5 @@ Pickit2Bootloader::ConfigWidget::ConfigWidget(const::Programmer::Group &group, T
{ {
return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent);
} }
#include "pickit2_bootloader_ui.moc"

@ -115,3 +115,5 @@ Programmer::DeviceSpecific *Pickit2V2::Group::createDeviceSpecific(Programmer::B
{ {
return new DeviceSpecific(base); return new DeviceSpecific(base);
} }
#include "pickit2v2_prog.moc"

@ -29,3 +29,5 @@ Programmer::DeviceSpecific *Psp::Group::createDeviceSpecific(::Programmer::Base
{ {
return new DeviceSpecific(base); return new DeviceSpecific(base);
} }
#include "psp_prog.moc"

@ -12,3 +12,5 @@
TinyBootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data) TinyBootloader::ProgrammerBase::ProgrammerBase(const Programmer::Group &group, const Pic::Data *data)
: Bootloader::ProgrammerBase(group, data, "tiny_bootloader_programmer_base") : Bootloader::ProgrammerBase(group, data, "tiny_bootloader_programmer_base")
{} {}
#include "tbl_bootloader_prog.moc"

@ -78,3 +78,5 @@ void TinyBootloader::ConfigWidget::loadConfig()
{ {
return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent); return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent);
} }
#include "tbl_bootloader_ui.moc"

@ -54,3 +54,5 @@ TQString Boost::Link::outputFiles() const
return "PURL::Lst PURL::Hex PURL::Coff PURL::AsmGPAsm stat tree casm"; return "PURL::Lst PURL::Hex PURL::Coff PURL::AsmGPAsm stat tree casm";
} }
#include "boostc_compile.moc"

@ -17,3 +17,5 @@ void Boost::ConfigWidget::initEntries()
{ {
createIncludeDirectoriesEntry(); createIncludeDirectoriesEntry();
} }
#include "boost_ui.moc"

@ -63,3 +63,5 @@ void C18::Link::logStderrLine(const TQString &line)
// #### TODO // #### TODO
doLog(Log::LineType::Normal, line, TQString(), 0); doLog(Log::LineType::Normal, line, TQString(), 0);
} }
#include "c18_compile.moc"

@ -48,3 +48,5 @@ void C18::ConfigWidget::saveConfig(Compile::Config &config) const
if ( _category==Tool::Category::Compiler ) if ( _category==Tool::Category::Compiler )
static_cast<Config &>(config).setWarningLevel(_warningLevel->currentItem()); static_cast<Config &>(config).setWarningLevel(_warningLevel->currentItem());
} }
#include "c18_ui.moc"

@ -35,3 +35,5 @@ TQString CC5X::CompileFile::outputFiles() const
{ {
return "PURL::Lst PURL::AsmGPAsm PURL::Hex PURL::Cod occ"; return "PURL::Lst PURL::AsmGPAsm PURL::Hex PURL::Cod occ";
} }
#include "cc5x_compile.moc"

@ -17,3 +17,5 @@ void CC5X::ConfigWidget::initEntries()
{ {
if ( _category!=Tool::Category::Linker ) createIncludeDirectoriesEntry(); if ( _category!=Tool::Category::Linker ) createIncludeDirectoriesEntry();
} }
#include "cc5x_ui.moc"

@ -105,3 +105,5 @@ TQString CCSC::CompileFile::outputFiles() const
{ {
return "PURL::Lst PURL::Hex PURL::Coff PURL::Cod sym err esym occ"; return "PURL::Lst PURL::Hex PURL::Coff PURL::Cod sym err esym occ";
} }
#include "ccsc_compile.moc"

@ -17,3 +17,5 @@ void CCSC::ConfigWidget::initEntries()
{ {
if ( _category!=Tool::Category::Linker ) createIncludeDirectoriesEntry(); if ( _category!=Tool::Category::Linker ) createIncludeDirectoriesEntry();
} }
#include "ccsc_ui.moc"

@ -107,3 +107,5 @@ TQString GPUtils::LibraryProject::outputFiles() const
{ {
return "PURL::Library"; return "PURL::Library";
} }
#include "gputils_compile.moc"

@ -51,3 +51,5 @@ void GPUtils::ConfigWidget::saveConfig(Compile::Config &config) const
if ( _category==Tool::Category::Assembler ) if ( _category==Tool::Category::Assembler )
static_cast<Config &>(config).setGPAsmWarningLevel(_gpasmWarning->currentItem()); static_cast<Config &>(config).setGPAsmWarningLevel(_gpasmWarning->currentItem());
} }
#include "gputils_ui.moc"

@ -179,3 +179,5 @@ void ToolConfigWidget::updateArguments()
} }
_arguments->setText(arguments(type).join(" ")); _arguments->setText(arguments(type).join(" "));
} }
#include "tool_config_widget.moc"

@ -109,3 +109,5 @@ void ToolchainsConfigCenter::showInformationDialog()
TextEditorDialog dialog(tcw->group().informationText(), tcw->group().label(), true, this); TextEditorDialog dialog(tcw->group().informationText(), tcw->group().label(), true, this);
dialog.exec(); dialog.exec();
} }
#include "toolchain_config_center.moc"

@ -299,3 +299,5 @@ void ToolchainConfigWidget::showDeviceDetails()
} }
MessageBox::text(s, Log::Show); MessageBox::text(s, Log::Show);
} }
#include "toolchain_config_widget.moc"

@ -12,3 +12,5 @@
JAL::ConfigWidget::ConfigWidget(Project *project) JAL::ConfigWidget::ConfigWidget(Project *project)
: ToolConfigWidget(project) : ToolConfigWidget(project)
{} {}
#include "jal_ui.moc"

@ -24,3 +24,5 @@ TQString JAL::CompileFile::outputFiles() const
{ {
return "PURL::AsmGPAsm PURL::Hex"; return "PURL::AsmGPAsm PURL::Hex";
} }
#include "jal_compile.moc"

@ -17,3 +17,5 @@ void JALV2::ConfigWidget::initEntries()
{ {
createIncludeDirectoriesEntry(); createIncludeDirectoriesEntry();
} }
#include "jalv2_ui.moc"

@ -41,3 +41,5 @@ TQString JALV2::CompileFile::outputFiles() const
{ {
return "PURL::AsmGPAsm PURL::Hex"; return "PURL::AsmGPAsm PURL::Hex";
} }
#include "jalv2_compile.moc"

@ -290,3 +290,5 @@ void Compile::Manager::executeCustomCommands()
log(Log::LineType::Information, i18n("Executing custom commands...")); log(Log::LineType::Information, i18n("Executing custom commands..."));
startCustomCommand(); startCustomCommand();
} }
#include "compile_manager.moc"

@ -374,3 +374,5 @@ void Compile::CustomProcess::logStderrLine(const TQString &line)
{ {
_manager->log(Log::LineType::Normal, line); _manager->log(Log::LineType::Normal, line);
} }
#include "compile_process.moc"

@ -142,3 +142,5 @@ void ToolsConfigWidget::displayHelp()
if ( _helpDialog.isNull() ) _helpDialog = new HelpDialog(this); if ( _helpDialog.isNull() ) _helpDialog = new HelpDialog(this);
_helpDialog->show(); _helpDialog->show();
} }
#include "tools_config_widget.moc"

@ -12,3 +12,5 @@
MPC::ConfigWidget::ConfigWidget(Project *project) MPC::ConfigWidget::ConfigWidget(Project *project)
: ToolConfigWidget(project) : ToolConfigWidget(project)
{} {}
#include "mpc_ui.moc"

@ -49,3 +49,5 @@ TQString MPC::CompileFile::outputFiles() const
{ {
return "PURL::Lst PURL::Hex PURL::Cod err"; return "PURL::Lst PURL::Hex PURL::Cod err";
} }
#include "mpc_compile.moc"

@ -24,3 +24,5 @@ void PIC30::ConfigWidget::initEntries()
createIncludeDirectoriesEntry(); createIncludeDirectoriesEntry();
if ( _category==Tool::Category::Linker ) createCustomLibrariesEntry(); if ( _category==Tool::Category::Linker ) createCustomLibrariesEntry();
} }
#include "pic30_ui.moc"

@ -194,3 +194,5 @@ void PIC30::BinToHex::logStderrLine(const TQString &line)
// #### TODO // #### TODO
doLog(Log::LineType::Normal, line, TQString(), 0); // unrecognized doLog(Log::LineType::Normal, line, TQString(), 0); // unrecognized
} }
#include "pic30_compile.moc"

@ -18,3 +18,5 @@ void PICC::ConfigWidget::initEntries()
if ( _category==Tool::Category::Compiler || _category==Tool::Category::Assembler ) if ( _category==Tool::Category::Compiler || _category==Tool::Category::Assembler )
createIncludeDirectoriesEntry(); createIncludeDirectoriesEntry();
} }
#include "picc_ui.moc"

@ -134,3 +134,5 @@ TQString PICC::LibraryProject::outputFiles() const
{ {
return "PURL::Library"; return "PURL::Library";
} }
#include "picc_compile.moc"

@ -27,3 +27,5 @@ ToolConfigWidget *SDCC::GroupUI::configWidgetFactory(Tool::Category category, Pr
if ( category==Tool::Category::Librarian ) return new GPUtils::ConfigWidget(project); if ( category==Tool::Category::Librarian ) return new GPUtils::ConfigWidget(project);
return new ConfigWidget(project); return new ConfigWidget(project);
} }
#include "sdcc_ui.moc"

@ -101,3 +101,5 @@ TQString SDCC::LinkProjectFile::outputFiles() const
{ {
return Process::outputFiles() + " PURL::Lkr PURL::Hex PURL::Cod PURL::Coff PURL::Map"; return Process::outputFiles() + " PURL::Lkr PURL::Hex PURL::Cod PURL::Coff PURL::Map";
} }
#include "sdcc_compile.moc"

Loading…
Cancel
Save