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 /src/common | |
parent | 6eeb6f3bd853f29a0162ac9491cf5137afa44eb5 (diff) | |
download | piklab-1c22ae157c39e2c1434e5ec43a05eda78dc86798.tar.gz piklab-1c22ae157c39e2c1434e5ec43a05eda78dc86798.zip |
Include moc files in cpp sources
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/cli/cli_main.cpp | 2 | ||||
-rw-r--r-- | src/common/common/storage.cpp | 2 | ||||
-rw-r--r-- | src/common/common/synchronous.cpp | 2 | ||||
-rw-r--r-- | src/common/global/process.cpp | 1 | ||||
-rw-r--r-- | src/common/global/progress_monitor.cpp | 2 | ||||
-rw-r--r-- | src/common/global/purl.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/Makefile.am | 2 | ||||
-rw-r--r-- | src/common/gui/config_widget.cpp | 13 | ||||
-rw-r--r-- | src/common/gui/container.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/dialog.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/editlistbox.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/hexword_gui.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/list_container.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/list_view.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/misc_gui.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/number_gui.cpp | 2 | ||||
-rw-r--r-- | src/common/gui/purl_gui.cpp | 2 |
17 files changed, 43 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" |