summaryrefslogtreecommitdiffstats
path: root/src/modules/theme
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-02-04 10:14:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-02-04 11:55:46 +0900
commite2f44208d4d8577ece71fdc6e822cbec0d8364ab (patch)
tree248531bbe735c08c16020a6bde2fd881a155baed /src/modules/theme
parented184e8a40a61c38536ba6b2ab3453dffe7937e5 (diff)
downloadkvirc-feat/moc-files-modules.tar.gz
kvirc-feat/moc-files-modules.zip
Include moc files directly from the related source files (modules)feat/moc-files-modules
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/theme')
-rw-r--r--src/modules/theme/Makefile.am14
-rw-r--r--src/modules/theme/managementdialog.cpp2
-rw-r--r--src/modules/theme/packthemedialog.cpp1
-rw-r--r--src/modules/theme/savethemedialog.cpp1
4 files changed, 8 insertions, 10 deletions
diff --git a/src/modules/theme/Makefile.am b/src/modules/theme/Makefile.am
index 079c436b..1ba74a09 100644
--- a/src/modules/theme/Makefile.am
+++ b/src/modules/theme/Makefile.am
@@ -15,10 +15,6 @@ libkvitheme_la_SOURCES = libkvitheme.cpp \
savethemedialog.cpp \
themefunctions.cpp
-nodist_libkvitheme_la_SOURCES = moc_managementdialog.cpp \
- moc_packthemedialog.cpp \
- moc_savethemedialog.cpp
-
libkvitheme_la_LIBADD = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
noinst_HEADERS= managementdialog.h \
@@ -26,11 +22,9 @@ noinst_HEADERS= managementdialog.h \
savethemedialog.h \
themefunctions.h
-moc_managementdialog.cpp: managementdialog.h
+%.moc: %.h
$(SS_QT_MOC) $< -o $@
-moc_packthemedialog.cpp: packthemedialog.h
- $(SS_QT_MOC) $< -o $@
-
-moc_savethemedialog.cpp: savethemedialog.h
- $(SS_QT_MOC) $< -o $@
+managementdialog.cpp: managementdialog.moc
+packthemedialog.cpp: packthemedialog.moc
+savethemedialog.cpp: savethemedialog.moc
diff --git a/src/modules/theme/managementdialog.cpp b/src/modules/theme/managementdialog.cpp
index 7afabc9b..5e4006ca 100644
--- a/src/modules/theme/managementdialog.cpp
+++ b/src/modules/theme/managementdialog.cpp
@@ -454,3 +454,5 @@ void KviThemeManagementDialog::tipRequest(KviDynamicToolTip *pTip,const TQPoint
pTip->tip(m_pListBox->itemRect(it),szThemeDescription);
}
+
+#include "managementdialog.moc"
diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp
index d4c5f5b8..25b578d6 100644
--- a/src/modules/theme/packthemedialog.cpp
+++ b/src/modules/theme/packthemedialog.cpp
@@ -466,3 +466,4 @@ bool KviPackThemeDialog::packTheme()
return true;
}
+#include "packthemedialog.moc"
diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp
index fd8ac85f..0902acd4 100644
--- a/src/modules/theme/savethemedialog.cpp
+++ b/src/modules/theme/savethemedialog.cpp
@@ -290,3 +290,4 @@ bool KviSaveThemeDialog::saveTheme()
return true;
}
+#include "savethemedialog.moc"