diff options
Diffstat (limited to 'languages/cpp/app_templates/kcmodule')
-rw-r--r-- | languages/cpp/app_templates/kcmodule/.kdev_ignore | 0 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/Makefile.am | 17 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/kcmodule.kdevtemplate | 197 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/kcmodule.png | bin | 0 -> 16691 bytes | |||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/module.cpp | 66 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/module.desktop | 81 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/module.h | 32 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/module.kdevelop | 113 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/src-Makefile.am | 17 | ||||
-rw-r--r-- | languages/cpp/app_templates/kcmodule/subdirs | 3 |
10 files changed, 526 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kcmodule/.kdev_ignore b/languages/cpp/app_templates/kcmodule/.kdev_ignore new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/.kdev_ignore diff --git a/languages/cpp/app_templates/kcmodule/Makefile.am b/languages/cpp/app_templates/kcmodule/Makefile.am new file mode 100644 index 00000000..66173b12 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/Makefile.am @@ -0,0 +1,17 @@ +dataFiles = module.cpp module.h module.desktop module.kdevelop \ + src-Makefile.am kcmodule.png subdirs +templateName = kcmodule + +### no need to change below: +template_DATA = $(templateName).kdevtemplate +templatedir = ${appwizarddatadir}/templates + +appwizarddatadir = ${kde_datadir}/kdevappwizard +$(templateName).tar.gz: ${dataFiles} + $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} + $(GZIP_COMMAND) -f9 $(templateName).tar + +archivedir = ${appwizarddatadir} +archive_DATA = $(templateName).tar.gz ${templateName}.png + +CLEANFILES = *.tar.gz
\ No newline at end of file diff --git a/languages/cpp/app_templates/kcmodule/kcmodule.kdevtemplate b/languages/cpp/app_templates/kcmodule/kcmodule.kdevtemplate new file mode 100644 index 00000000..c551eeb5 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/kcmodule.kdevtemplate @@ -0,0 +1,197 @@ +# KDE Config File +[General] +Name=Control Center module +Name[ca]=Mòdul per al Centre de control +Name[da]=Kontrolcenter-modul +Name[de]=Kontrollzentrum-Modul +Name[el]=Άρθρωμα κέντρου ελέγχου +Name[en_GB]=Control Centre module +Name[es]=Módulo para el Centro de control +Name[et]=Juhtimiskeskuse moodul +Name[eu]=Kontrol-gunearen modulua +Name[fa]=پیمانۀ مرکز کنترل +Name[fr]=Module du centre de configuration +Name[ga]=Modúl Lárionad Rialaithe +Name[gl]=Módulo para Centro de control +Name[hu]=KControl-beállítómodul +Name[it]=Modulo del Centro di controllo +Name[ja]=コントロールセンターモジュール +Name[nds]=Kuntrullzentrum-Moduul +Name[ne]=नियन्त्रण केन्द्र मोड्युल +Name[nl]=Configuratiemodule +Name[pl]=Moduł Centrum Sterowania +Name[pt]=Módulo do Centro de Controlo +Name[pt_BR]=Módulo do Centro de Controlo +Name[ru]=Модуль Центра управления +Name[sk]=Control Center modul +Name[sl]=Modul nadzornega središča +Name[sr]=Модул Контролног центра +Name[sr@Latn]=Modul Kontrolnog centra +Name[sv]=Modul i inställningscentralen +Name[tr]=Kontrol Merkezi Birimi +Name[zh_CN]=控制中心模块 +Name[zh_TW]=控制中心模組 +Icon=kcmodule.png +Category=C++/KDE +Comment=Generates a framework for a module which can be embedded into the KDE Control Center. +Comment[ca]=Genera una infraestructura per a un mòdul que es pugui encastar al Centre de control de KDE. +Comment[da]=Genererer et skelet for et modul som kan indlejres i KDE's kontrolcenter. +Comment[de]=Erstellt das Gerüst für ein Modul, das in das KDE-Kontrollzentrum integriert werden kann. +Comment[el]=Δημιουργεί ένα πλαίσιο για ένα άρθρωμα το οποίο μπορεί να ενσωματωθεί το κέντρο ελέγχου του KDE. +Comment[en_GB]=Generates a framework for a module which can be embedded into the KDE Control Centre. +Comment[es]=Genera una infraestructura para un módulo que se puede empotrar en el Centro de control de KDE. +Comment[et]=Mooduli raamistiku loomine, mida saab põimida KDE juhtimiskeskusse. +Comment[eu]=KDE-ren kontrol-gunean kapsula daitekeen modulu baten lan-marko bat sortzen du. +Comment[fa]=چارچوبی برای پیمانهای که در مرکز کنترل KDE میتواند نهفته شود، تولید میکند. +Comment[fr]=Génère une infrastructure pour un module qui peut être intégré dans le centre de configuration de KDE. +Comment[ga]=Cruthaigh creatlach de mhodúl is féidir leabú i Lárionad Rialaithe KDE. +Comment[gl]=Xera un contorno de traballo para un módulo que pode incrustarse no Centro de control de KDE. +Comment[hu]=Létrehoz egy kiindulási KDE vezérlőpult-beállítómodult +Comment[it]=Genera l'infrastruttura per un modulo che può essere integrato nel Centro di controllo di KDE. +Comment[ja]=KDE のコントロールセンターに取り込めるモジュールのフレームワークを作成します。 +Comment[nds]=Stellt en Rahmenwark för en Moduul op, dat sik na dat KDE-Kuntrullzentrum inbetten lett. +Comment[ne]=केडीई नियन्त्रण केन्द्रमा सम्मिलित गर्न सकिने मोड्युलका लागि फ्रेमवर्क उत्पन्न गर्दछ । +Comment[nl]=Genereert een framework voor een module die kan worden ingebed in het configuratiecentrum van KDE. +Comment[pl]=Generuje szablon modułu, który może zostać włączony w Centrum Sterowania KDE. +Comment[pt]=Gera a plataforma para um módulo que possa ser incorporado no Centro de Controlo do KDE. +Comment[pt_BR]=Gera a plataforma para um módulo que possa ser incorporado no Centro de Controlo do KDE. +Comment[ru]=Создание модуля для Центра управления KDE. +Comment[sk]=Vygeneruje framework pre modul, ktorý môže byť vložený do KDE Control Center. +Comment[sr]=Прави радни оквир за модул који се може уградити у Контролни центар KDE-а. +Comment[sr@Latn]=Pravi radni okvir za modul koji se može ugraditi u Kontrolni centar KDE-a. +Comment[sv]=Skapar ett ramverk för en modul som kan inbäddas i KDE:s inställningscentral. +Comment[tr]=KDE Kontrol Merkezine gömülebilen bir birim için bir çatı yaratır. +Comment[zh_CN]=生成一个可嵌入 KDE 控制中心的模块框架。 +Comment[zh_TW]=產生一個可以嵌入 KDE 控制中心的模組框架。 +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp +Archive=kcmodule.tar.gz + +[ADMIN] +Type=include +File=%{kdevelop}/template-common/admin.kdevtemplate + +[GNU] +Type=include +File=%{kdevelop}/template-common/gnu.kdevtemplate + +[MKDIR_DOCBOOK1] +Type=mkdir +Dir=%{dest}/doc + +[MKDIR_DOCBOOK2] +Type=mkdir +Dir=%{dest}/doc/en + +[FILE1] +Type=install +Source=%{kdevelop}/template-common/kde-doc-Makefile.am +Dest=%{dest}/doc/Makefile.am + +[FILE2] +Type=install +Source=%{kdevelop}/template-common/kde-doc-en-Makefile.am +Dest=%{dest}/doc/en/Makefile.am + +[FILE3] +Type=install +EscapeXML=true +Source=%{kdevelop}/template-common/kde-index.docbook +Dest=%{dest}/doc/en/index.docbook + +[FILE4] +Type=install +EscapeXML=true +Source=%{src}/module.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[MkDir3] +Type=mkdir +Dir=%{dest}/po + +[FILE5] +Type=install +Source=%{kdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[FILE6] +Type=install +Source=%{kdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE7] +Type=install +Source=%{kdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE8] +Type=install +Source=%{kdevelop}/template-common/kde-configure.in.in +Dest=%{dest}/configure.in.in + +[MkDir4] +Type=mkdir +Dir=%{dest}/src + +[FILE9] +Type=install +Source=%{src}/module.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[FILE10] +Type=install +Source=%{src}/subdirs +Dest=%{dest}/subdirs + +[FILE11] +Type=install +Source=%{src}/src-Makefile.am +Dest=%{dest}/src/Makefile.am + +[FILE12] +Type=install +Source=%{src}/module.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[FILE13] +Type=install +Source=%{src}/module.h +Dest=%{dest}/src/%{APPNAMELC}.h + +[FILE14] +Type=install +Source=%{src}/module.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[MSG] +Type=message +Comment=A control center module was created in %{dest} +Comment[ca]=A mòdul per al centre de control ha estat creat en %{dest} +Comment[da]=Et kontrolcenter-modul blev oprettet i %{dest} +Comment[de]=Ein Kontrollzentrum-Modul wurde in %{dest} erstellt. +Comment[el]=Ένα άρθρωμα κέντρου ελέγχου δημιουργήθηκε στο %{dest} +Comment[en_GB]=A control centre module was created in %{dest} +Comment[es]=Un módulo para el Centro de control ha sido creado en %{dest} +Comment[et]=Juhtimiskeskuse moodul loodi asukohta %{dest} +Comment[eu]=Kontrol-gunearen modulu bat sortu da hemen: {dest} +Comment[fa]=یک پیمانۀ مرکز کنترل در %{dest} ایجاد شد +Comment[fr]=Un module du centre de configuration a été créé dans %{dest} +Comment[ga]=Cruthaíodh modúl lárionad rialaithe i %{dest} +Comment[gl]=Creouse un módulo para o centro de control en %{dest} +Comment[hu]=Létrejött egy KControl-beállítómodul itt: %{dest} +Comment[it]=È stato creato un modulo del Centro di controllo in %{dest} +Comment[ja]=コントロールセンターのモジュールを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en Kuntrullzentrum-Moduul opstellt +Comment[ne]=नियन्त्रण केन्द्र मोड्युल %{dest} मा सिर्जना गरियो +Comment[nl]=Een configuratiemodule is aangemaakt in %{dest} +Comment[pl]=Moduł Centrum Sterowania został utworzony w %{dest} +Comment[pt]=Foi criado um módulo do Centro de Controlo em %{dest} +Comment[pt_BR]=Foi criado um módulo do Centro de Controlo em %{dest} +Comment[ru]=Модуль Центра управления KDE создан в %{dest} +Comment[sk]=Control center modul bol vytvorený v %{dest} +Comment[sl]=Modul nadzornega središča je bil ustvarjen v %{dest} +Comment[sr]=Модул Контролног центра направљен је у %{dest} +Comment[sr@Latn]=Modul Kontrolnog centra napravljen je u %{dest} +Comment[sv]=En modul i inställningscentralen skapades i %{dest} +Comment[zh_CN]=在 %{dest} 中创建了一个控制中心模块 +Comment[zh_TW]=一個控制中心模組已建立於 %{dest} diff --git a/languages/cpp/app_templates/kcmodule/kcmodule.png b/languages/cpp/app_templates/kcmodule/kcmodule.png Binary files differnew file mode 100644 index 00000000..dbab73a3 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/kcmodule.png diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp new file mode 100644 index 00000000..69e87692 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/module.cpp @@ -0,0 +1,66 @@ +%{CPP_TEMPLATE} + +#include <qlayout.h> + +#include <klocale.h> +#include <kglobal.h> +#include <kparts/genericfactory.h> + +#include "%{APPNAMELC}.h" + +typedef KGenericFactory<%{APPNAME}, QWidget> %{APPNAME}Factory; +K_EXPORT_COMPONENT_FACTORY( kcm_%{APPNAME}, %{APPNAME}Factory("kcm%{APPNAMELC}")) + +%{APPNAME}::%{APPNAME}(QWidget *parent, const char *name, const QStringList&) + : KCModule(parent, name), myAboutData(0) +{ + // place widgets here + load(); +}; + + +%{APPNAME}::~%{APPNAME}() +{ +} + + +void %{APPNAME}::load() +{ + // insert your loading code here... +} + + +void %{APPNAME}::defaults() +{ + // insert your default settings code here... + emit changed(true); +} + + +void %{APPNAME}::save() +{ + // insert your saving code here... + emit changed(true); +} + + +int %{APPNAME}::buttons() +{ + return KCModule::Default|KCModule::Apply|KCModule::Help; +} + + +void %{APPNAME}::configChanged() +{ + // insert your saving code here... + emit changed(true); +} + + +QString %{APPNAME}::quickHelp() const +{ + return i18n("Helpful information about the %{APPNAMELC} module."); +} + + +#include "%{APPNAMELC}.moc" diff --git a/languages/cpp/app_templates/kcmodule/module.desktop b/languages/cpp/app_templates/kcmodule/module.desktop new file mode 100644 index 00000000..662b3b2f --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/module.desktop @@ -0,0 +1,81 @@ +[Desktop Entry] +Exec=kcmshell %{APPNAMELC} +Icon=misc +Type=Application + +X-KDE-ModuleType=Library +X-KDE-Library=%{APPNAMELC} +X-KDE-HasReadOnlyMode=false +X-KDE-ParentApp=kcontrol + + + +[Desktop Entry] +Comment=%{APPNAME} - a kcontrol module +Comment[br]=%{APPNAME} - ur mollad kcontrol +Comment[ca]=%{APPNAME} - un mòdul per a kcontrol +Comment[da]=%{APPNAME} - et kcontrol-modul +Comment[de]=%{APPNAME} - ein KControl-Modul +Comment[el]=%{APPNAME} - ένα άρθρωμα kcontrol +Comment[es]=%{APPNAME} - un módulo de kcontrol +Comment[et]=%{APPNAME} - KDE juhtimiskeskuse moodul +Comment[eu]=%{APPNAME} - kcontrol modulu bat +Comment[fa]=%{APPNAME} - یک پیمانۀ kcontrol +Comment[fr]=%{APPNAME} - un module kcontrol +Comment[ga]=%{APPNAME} - modúl kcontrol +Comment[gl]=%{APPNAME} - un módulo de kcontrol +Comment[hu]=%{APPNAME} - beállítómodul +Comment[it]=%{APPNAME} - un modulo per kcontrol +Comment[ja]=%{APPNAME} kcontrol モジュール +Comment[nds]=%{APPNAME} - en KControl-Moduul +Comment[ne]=%{APPNAME} - एउटा केडीई नियन्त्रण मोड्युल +Comment[nl]=%{APPNAME} - een kcontrol module +Comment[pl]=Moduł Centrum Sterowania dla %{APPNAME} +Comment[pt]=%{APPNAME} - um módulo do kcontrol +Comment[pt_BR]=%{APPNAME} - um módulo do kcontrol +Comment[ru]=%{APPNAME} - модуль kcontrol +Comment[sk]=%{APPNAME} - a kcontrol modul +Comment[sl]=%{APPNAME} - modul za kcontrol +Comment[sr]=%{APPNAME} — модул за kcontrol +Comment[sr@Latn]=%{APPNAME} — modul za kcontrol +Comment[sv]=%{APPNAME} - en modul i Inställningscentralen +Comment[ta]=%{APPNAME} - ஒரு கேகன்ட்ரோல் கூறு +Comment[tg]=%{APPNAME} - модули kcontrol +Comment[tr]=%{APPNAME} - bir kcontrol birimi +Comment[zh_CN]=%{APPNAME} - 一个 KDE 控制中心模块 +Comment[zh_TW]=%{APPNAME} - KDE 控制中心模組 +Keywords=%{APPNAME},%{APPNAMELC} +Name=The %{APPNAME} Applet +Name[br]=An arloadig %{APPNAME} +Name[ca]=La miniaplicació %{APPNAME} +Name[da]=%{APPNAME}-appletten +Name[de]=Das Miniprogramm %{APPNAME} +Name[el]=Η μικροεφαρμογή %{APPNAME} +Name[es]=Applet %{APPNAME} +Name[et]=%{APPNAME} aplett +Name[eu]=%{APPNAME} applet-a +Name[fa]=برنامک %{APPNAME} +Name[fr]=L'applet %{APPNAME} +Name[ga]=An Feidhmchláirín %{APPNAME} +Name[gl]=Applet %{APPNAME} +Name[hu]=%{APPNAME} kisalkalmazás +Name[it]=L'applet %{APPNAME} +Name[ja]=%{APPNAME} アプレット +Name[nds]=Dat Lüttprogramm %{APPNAME} +Name[ne]= %{APPNAME} एप्लेट +Name[nl]=De %{APPNAME}-applet +Name[pl]=Aplet %{APPNAME} +Name[pt]='Applet' %{APPNAME} +Name[pt_BR]=O Mini-Aplicativo %{APPNAME} +Name[ru]=Аплет %{APPNAME} +Name[sk]=%{APPNAME} applet +Name[sl]=Vstavek za %{APPNAME} +Name[sr]=%{APPNAME} аплет +Name[sr@Latn]=%{APPNAME} aplet +Name[sv]=Miniprogram %{APPNAME} +Name[tr]=%{APPNAME} Küçük Uygulaması +Name[zh_CN]=%{APPNAME} 小程序 +Name[zh_TW]=%{APPNAME} 小程式 + + +Categories=Qt;KDE;X-KDE-settings-components; diff --git a/languages/cpp/app_templates/kcmodule/module.h b/languages/cpp/app_templates/kcmodule/module.h new file mode 100644 index 00000000..cebf0f48 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/module.h @@ -0,0 +1,32 @@ +%{H_TEMPLATE} + +#ifndef _%{APPNAMEUC}_H_ +#define _%{APPNAMEUC}_H_ + +#include <kcmodule.h> +#include <kaboutdata.h> + +class %{APPNAME}: public KCModule +{ + Q_OBJECT + +public: + %{APPNAME}( QWidget *parent=0, const char *name=0, const QStringList& = QStringList() ); + ~%{APPNAME}(); + + virtual void load(); + virtual void save(); + virtual void defaults(); + virtual int buttons(); + virtual QString quickHelp() const; + virtual const KAboutData *aboutData()const + { return myAboutData; }; + +public slots: + void configChanged(); + +private: + KAboutData *myAboutData; +}; + +#endif diff --git a/languages/cpp/app_templates/kcmodule/module.kdevelop b/languages/cpp/app_templates/kcmodule/module.kdevelop new file mode 100644 index 00000000..76412de2 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/module.kdevelop @@ -0,0 +1,113 @@ +<?xml version="1.0"?> +<kdevelop> + <general> + <author>%{AUTHOR}</author> + <email>%{EMAIL}</email> + <version>%{VERSION}</version> + <projectmanagement>KDevKDEAutoProject</projectmanagement> + <primarylanguage>C++</primarylanguage> + <keywords> + <keyword>C++</keyword> + <keyword>Code</keyword> + <keyword>Qt</keyword> + <keyword>KDE</keyword> + </keywords> + </general> + <kdevcppsupport> + <qt> + <version>3</version> + <used>true</used> + <includestyle>3</includestyle> + <designerintegration>EmbeddedKDevDesigner</designerintegration> + </qt> + </kdevcppsupport> + <kdevautoproject> + <general> + <activetarget>src/%{APPNAMELC}</activetarget> + <useconfiguration>debug</useconfiguration> + </general> + <configurations> + <optimized> + <builddir>optimized</builddir> + <ccompiler>kdevgccoptions</ccompiler> + <cxxcompiler>kdevgppoptions</cxxcompiler> + <f77compiler>kdevg77options</f77compiler> + <cxxflags>-O2 -g0</cxxflags> + </optimized> + <debug> + <configargs>--enable-debug=full</configargs> + <builddir>debug</builddir> + <ccompiler>kdevgccoptions</ccompiler> + <cxxcompiler>kdevgppoptions</cxxcompiler> + <f77compiler>kdevg77options</f77compiler> + <cxxflags>-O0 -g3</cxxflags> + </debug> + </configurations> + </kdevautoproject> + <kdevfileview> + <groups> + <group pattern="*.cpp;*.cxx;*.h" name="Sources" /> + <group pattern="*.ui" name="User Interface" /> + <group pattern="*.png" name="Icons" /> + <group pattern="*.po;*.ts" name="Translations" /> + <group pattern="*" name="Others" /> + </groups> + </kdevfileview> + <kdevdoctreeview> + <ignoretocs> + <toc>ada</toc> + <toc>ada_bugs_gcc</toc> + <toc>bash</toc> + <toc>bash_bugs</toc> + <toc>clanlib</toc> + <toc>fortran_bugs_gcc</toc> + <toc>gnome1</toc> + <toc>gnustep</toc> + <toc>gtk</toc> + <toc>gtk_bugs</toc> + <toc>haskell</toc> + <toc>haskell_bugs_ghc</toc> + <toc>java_bugs_gcc</toc> + <toc>java_bugs_sun</toc> + <toc>opengl</toc> + <toc>pascal_bugs_fp</toc> + <toc>php</toc> + <toc>php_bugs</toc> + <toc>perl</toc> + <toc>perl_bugs</toc> + <toc>python</toc> + <toc>python_bugs</toc> + <toc>ruby</toc> + <toc>ruby_bugs</toc> + <toc>sdl</toc> + <toc>stl</toc> + <toc>sw</toc> + <toc>w3c-dom-level2-html</toc> + <toc>w3c-svg</toc> + <toc>w3c-uaag10</toc> + <toc>wxwidgets_bugs</toc> + </ignoretocs> + <ignoreqt_xml> + <toc>qmake User Guide</toc> + </ignoreqt_xml> + </kdevdoctreeview> + <kdevdebugger> + <general> + <dbgshell>libtool</dbgshell> + </general> + </kdevdebugger> + <kdevfilecreate> + <filetypes/> + <useglobaltypes> + <type ext="ui" /> + <type ext="cpp" /> + <type ext="h" /> + </useglobaltypes> + </kdevfilecreate> + <kdevdocumentation> + <projectdoc> + <docsystem>Doxygen Documentation Collection</docsystem> + <docurl>%{APPNAMELC}.tag</docurl> + </projectdoc> + </kdevdocumentation> +</kdevelop> diff --git a/languages/cpp/app_templates/kcmodule/src-Makefile.am b/languages/cpp/app_templates/kcmodule/src-Makefile.am new file mode 100644 index 00000000..e5d30776 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/src-Makefile.am @@ -0,0 +1,17 @@ +INCLUDES = $(all_includes) +METASOURCES = AUTO + +# Install this plugin in the KDE modules directory +kde_module_LTLIBRARIES = kcm_%{APPNAMELC}.la + +kcm_%{APPNAMELC}_la_SOURCES = %{APPNAMELC}.cpp +kcm_%{APPNAMELC}_la_LIBADD = $(LIB_KDEUI) +kcm_%{APPNAMELC}_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined + + +xdg_apps_DATA = %{APPNAMELC}.desktop + + +messages: rc.cpp + $(EXTRACTRC) `find -name \*.ui -o -name \*.rc` > rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/kcm%{APPNAMELC}.pot diff --git a/languages/cpp/app_templates/kcmodule/subdirs b/languages/cpp/app_templates/kcmodule/subdirs new file mode 100644 index 00000000..0e678106 --- /dev/null +++ b/languages/cpp/app_templates/kcmodule/subdirs @@ -0,0 +1,3 @@ +doc +po +src |