summaryrefslogtreecommitdiffstats
path: root/src/devices
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-06 16:30:48 +0900
committerMichele Calgaro <[email protected]>2024-05-07 11:02:46 +0900
commitf2e2d9a5271aa9cfd966592d50f60d5b5bf550f4 (patch)
treecc7432e510ae4b3e06da2eb25b1253e3151e8219 /src/devices
parent98a431600b55a53baed727e5821469a3e9a41bca (diff)
downloadpiklab-f2e2d9a5271aa9cfd966592d50f60d5b5bf550f4.tar.gz
piklab-f2e2d9a5271aa9cfd966592d50f60d5b5bf550f4.zip
Include moc files in cpp sources
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1c22ae157c39e2c1434e5ec43a05eda78dc86798)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/base/register.cpp2
-rw-r--r--src/devices/gui/hex_view.cpp2
-rw-r--r--src/devices/gui/hex_word_editor.cpp2
-rw-r--r--src/devices/gui/memory_editor.cpp2
-rw-r--r--src/devices/gui/register_view.cpp2
-rw-r--r--src/devices/mem24/gui/mem24_hex_view.cpp2
-rw-r--r--src/devices/mem24/gui/mem24_memory_editor.cpp2
-rw-r--r--src/devices/pic/gui/pic_config_editor.cpp2
-rw-r--r--src/devices/pic/gui/pic_config_word_editor.cpp2
-rw-r--r--src/devices/pic/gui/pic_hex_view.cpp2
-rw-r--r--src/devices/pic/gui/pic_memory_editor.cpp2
-rw-r--r--src/devices/pic/gui/pic_prog_group_ui.cpp2
-rw-r--r--src/devices/pic/gui/pic_register_view.cpp2
13 files changed, 26 insertions, 0 deletions
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"