diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 114a878c64ce6f8223cfd22d76a20eb16d177e5e (patch) | |
tree | acaf47eb0fa12142d3896416a69e74cbf5a72242 /languages/cpp/app_templates/kicker | |
download | tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.tar.gz tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/kicker')
-rw-r--r-- | languages/cpp/app_templates/kicker/.kdev_ignore | 0 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/Makefile.am | 17 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/applet.cpp | 72 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/applet.desktop | 40 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/applet.h | 107 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/applet.kdevelop | 115 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/kicker.kdevtemplate | 194 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/kicker.png | bin | 0 -> 8356 bytes | |||
-rw-r--r-- | languages/cpp/app_templates/kicker/src-Makefile.am | 15 | ||||
-rw-r--r-- | languages/cpp/app_templates/kicker/subdirs | 3 |
10 files changed, 563 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kicker/.kdev_ignore b/languages/cpp/app_templates/kicker/.kdev_ignore new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/languages/cpp/app_templates/kicker/.kdev_ignore diff --git a/languages/cpp/app_templates/kicker/Makefile.am b/languages/cpp/app_templates/kicker/Makefile.am new file mode 100644 index 00000000..168a93c9 --- /dev/null +++ b/languages/cpp/app_templates/kicker/Makefile.am @@ -0,0 +1,17 @@ +dataFiles = applet.cpp applet.h applet.desktop applet.kdevelop \ + src-Makefile.am kicker.png subdirs +templateName = kicker + +### 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/kicker/applet.cpp b/languages/cpp/app_templates/kicker/applet.cpp new file mode 100644 index 00000000..5345ac0c --- /dev/null +++ b/languages/cpp/app_templates/kicker/applet.cpp @@ -0,0 +1,72 @@ +%{CPP_TEMPLATE} + +#include <qlcdnumber.h> +#include <kglobal.h> +#include <klocale.h> +#include <kconfig.h> +#include <kapplication.h> +#include <kmessagebox.h> + +#include "%{APPNAMELC}.h" + + +%{APPNAME}::%{APPNAME}(const QString& configFile, Type type, int actions, QWidget *parent, const char *name) + : KPanelApplet(configFile, type, actions, parent, name) +{ + // Get the current application configuration handle + ksConfig = config(); + QLCDNumber *w = new QLCDNumber(this); + w->display(42); + + mainView = w; + mainView->show(); +} + + +%{APPNAME}::~%{APPNAME}() +{ +} + + +void %{APPNAME}::about() +{ + KMessageBox::information(0, i18n("This is an about box")); +} + + +void %{APPNAME}::help() +{ + KMessageBox::information(0, i18n("This is a help box")); +} + + +void %{APPNAME}::preferences() +{ + KMessageBox::information(0, i18n("This is a preferences box")); +} + +int %{APPNAME}::widthForHeight(int height) const +{ + return width(); +} + +int %{APPNAME}::heightForWidth(int width) const +{ + return height(); +} + +void %{APPNAME}::resizeEvent(QResizeEvent *e) +{ +} + + +extern "C" +{ + KPanelApplet* init( QWidget *parent, const QString& configFile) + { + KGlobal::locale()->insertCatalogue("%{APPNAMELC}"); + return new %{APPNAME}(configFile, KPanelApplet::Normal, + KPanelApplet::About | KPanelApplet::Help | KPanelApplet::Preferences, + parent, "%{APPNAMELC}"); + } +} diff --git a/languages/cpp/app_templates/kicker/applet.desktop b/languages/cpp/app_templates/kicker/applet.desktop new file mode 100644 index 00000000..24e47c40 --- /dev/null +++ b/languages/cpp/app_templates/kicker/applet.desktop @@ -0,0 +1,40 @@ +[Desktop Entry] +Comment=A panel applet called $NAME$ +Comment[br]=Un arloadig panell a vez graet $NAME$ +Comment[ca]=Una miniaplicació del plafó anomenat $NAME$ +Comment[cy]=Rhaglennig panel o'r enw $NAME$ +Comment[da]=En panel-applet der hedder $NAME$ +Comment[de]=Ein Miniprogramm mit dem Namen $NAME$ +Comment[el]=Μία μικροεφαρμογή πίνακα με όνομα $NAME$ +Comment[es]=Un applet del panel llamado $NAME$ +Comment[et]=Paneeliaplett nimega $NAME$ +Comment[eu]=$NAME$ izeneko panel applet bat +Comment[fa]=برنامک تابلو، $NAME$ نامیده شد +Comment[fr]=Un applet pour le tableau de bord nommé $NAME$ +Comment[ga]=Feidhmchláirín painéil darbh ainm $NAME$ +Comment[gl]=Un applet para o panel chamado $NAME$ +Comment[hi]=एक फलक ऐपलेट जो कहलाता है- $NAME$ +Comment[hu]=$NAME$ nevű panel-kisalkalmazás +Comment[is]=Spjaldforritlingur nefndur $NAME$ +Comment[it]=Un applet per il pannello chiamata $NAME$ +Comment[ja]=$NAME$ と呼ばれるパネルアプレット +Comment[nds]=En Paneel-Lüttprogramm nöömt $NAME$ +Comment[ne]= $NAME$ भनिने प्यानल एप्लेट +Comment[nl]=Een paneel-applet met naam $NAME$ +Comment[pl]=Aplet panelu o nazwie $NAME$ +Comment[pt]=Um 'applet' para o painel chamado $NAME$ +Comment[pt_BR]=Uma applet de painel chamada $NAME$ +Comment[ru]=Аплет панели $NAME$ +Comment[sk]=Applet panel s menom $NAME$ +Comment[sl]=Pultni vstavek z imenom $NAME$ +Comment[sr]=Панелни аплет по имену $NAME$ +Comment[sr@Latn]=Panelni aplet po imenu $NAME$ +Comment[sv]=Ett panelminiprogram som kallas $NAME$ +Comment[ta]=ஒரு பானல் ஆப்லெட் $NAME$ என்ற்உ அழைக்கப்படுகிறது +Comment[tg]=Пайраҳаи апплети $NAME$ +Comment[tr]=$NAME$ adında bir panel küçük uygulaması +Comment[zh_CN]=一个称作 $NAME$ 的面板小程序 +Comment[zh_TW]=一個名稱為 $NAME$ 的面板小程式 +Name=%{APPNAMELC} +X-KDE-Library=%{APPNAMELC}_panelapplet +X-KDE-UniqueApplet = false diff --git a/languages/cpp/app_templates/kicker/applet.h b/languages/cpp/app_templates/kicker/applet.h new file mode 100644 index 00000000..b078b2a4 --- /dev/null +++ b/languages/cpp/app_templates/kicker/applet.h @@ -0,0 +1,107 @@ +%{H_TEMPLATE} + +#ifndef %{APPNAMEUC}_H +#define %{APPNAMEUC}_H + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <kpanelapplet.h> +#include <qstring.h> +#include <kconfig.h> + + +class %{APPNAME} : public KPanelApplet +{ + Q_OBJECT + +public: + /** + * Construct a @ref KPanelApplet just like any other widget. + * + * @param configFile The configFile handed over in the factory function. + * @param Type The applet @ref type(). + * @param actions Standard RMB menu actions supported by the applet (see @ref action() ). + * @param parent The pointer to the parent widget handed over in the factory function. + * @param name A Qt object name for your applet. + **/ + %{APPNAME}(const QString& configFile, Type t = Normal, int actions = 0, + QWidget *parent = 0, const char *name = 0); + /** destructor */ + ~%{APPNAME}(); + + /** + * Retrieve a suggested width for a given height. + * + * Every applet should reimplement this function. + * + * Depending on the panel orientation the height (horizontal panel) or the + * width (vertical panel) of the applets is fixed. + * The exact values of the fixed size component depend on the panel size. + * + * On a horizontal panel the applet height is fixed, the panel will + * call @ref widthForHeight(int height) with @p height + * equal to 'the fixed applet height' + * when laying out the applets. + * + * The applet can now choose the other size component (width) + * based on the given height. + * + * The width you return is granted. + **/ + virtual int widthForHeight(int height) const; + /** + * @return A suggested height for a given width. + * + * Every applet should reimplement this function. + * + * Depending on the panel orientation the height (horizontal panel) or the + * width (vertical panel) of the applets is fixed. + * The exact values of the fixed size component depend on the panel size. + * + * On a vertical panel the applet width is fixed, the panel will + * call @ref heightForWidth(int width) with @p width + * equal to 'the fixed applet width' + * when laying out the applets. + * + * The applet can now choose the other size component (height) + * based on the given width. + * + * The height you return is granted. + **/ + virtual int heightForWidth(int width) const; + /** + * Is called when the user selects "About" from the applets RMB menu. + * Reimplement this function to launch a about dialog. + * + * Note that this is called only when your applet supports the About action. + * See @ref Action and @ref KPanelApplet(). + **/ + virtual void about(); + /** + * Is called when the user selects "Help" from the applets RMB menu. + * Reimplement this function to launch a manual or help page. + * + * Note that this is called only when your applet supports the Help action. + * See @ref Action and @ref KPanelApplet(). + **/ + virtual void help(); + /** + * Is called when the user selects "Preferences" from the applets RMB menu. + * Reimplement this function to launch a preferences dialog or kcontrol module. + * + * Note that this is called only when your applet supports the preferences action. + * See @ref Action and @ref KPanelApplet(). + **/ + virtual void preferences(); + +protected: + void resizeEvent(QResizeEvent *); + +private: + KConfig *ksConfig; + QWidget *mainView; +}; + +#endif diff --git a/languages/cpp/app_templates/kicker/applet.kdevelop b/languages/cpp/app_templates/kicker/applet.kdevelop new file mode 100644 index 00000000..8bb35326 --- /dev/null +++ b/languages/cpp/app_templates/kicker/applet.kdevelop @@ -0,0 +1,115 @@ +<?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> + <keyword>Kicker</keyword> + </keywords> + </general> + <kdevcppsupport> + <qt> + <version>3</version> + <used>true</used> + <includestyle>3</includestyle> + <designerintegration>EmbeddedKDevDesigner</designerintegration> + </qt> + </kdevcppsupport> + + <kdevautoproject> + <general> + <activetarget>src/lib%{APPNAMELC}.la</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/kicker/kicker.kdevtemplate b/languages/cpp/app_templates/kicker/kicker.kdevtemplate new file mode 100644 index 00000000..f6f87256 --- /dev/null +++ b/languages/cpp/app_templates/kicker/kicker.kdevtemplate @@ -0,0 +1,194 @@ +# KDE Config File +[General] +Name=Kicker Applet +Name[br]=Arloadig Kicker +Name[ca]=Una miniaplicació per a Kicker +Name[da]=Kicker-applet +Name[de]=Kicker-Miniprogramm +Name[el]=Μικροεφαρμογή Kicker +Name[es]=Applet para Kicker +Name[et]=Kickeri aplett +Name[eu]=Kicker applet-a +Name[fa]=برنامک Kicker +Name[fr]=Applet Kicker +Name[ga]=Feidhmchláirín Kicker +Name[gl]=Applet para Kicker +Name[hu]=Panel-kisalkalmazás +Name[it]=Applet di kicker +Name[ja]=Kicker アプレット +Name[nds]=Kicker-Lüttprogramm +Name[ne]=किकर एप्लेट +Name[nl]=Kicker-applet +Name[pl]=Aplet panelu +Name[pt]='Applet' do Kicker +Name[pt_BR]='Applet' do Kicker +Name[ru]=Аплет панели KDE +Name[sk]=Kicker applet +Name[sl]=Vstavek za Kicker +Name[sr]=Аплет за Kicker +Name[sr@Latn]=Aplet za Kicker +Name[sv]=Miniprogram för Kicker +Name[tr]=Kicker Küçük Uygulaması +Name[zh_CN]=Kicker 小程序 +Name[zh_TW]=Kicker 小程式 +Icon=kicker.png +Category=C++/KDE +Comment=Generates a framework for an applet that embeds into the KDE panel +Comment[ca]=Genera una infraestructura per a una miniaplicació encastada en el plafó de KDE +Comment[da]=Genererer et skelet for en applet der indlejres i KDE's panel +Comment[de]=Erstellt das Grundgerüst für ein Miniprogramm, das in die KDE-Kontrollleiste eingebettet wird. +Comment[el]=Δημιουργεί ένα πλαίσιο για μία μικροεφαρμογή που ενσωματώνεται στον πίνακα του KDE +Comment[es]=Genera una infraestructura para un applet empotrado en el panel de KDE +Comment[et]=Apleti raamistiku loomine, mida saab põimida KDE paneelile +Comment[eu]=KDE-ren panelean kapsulatzen den applet baten lan-marko bat sortzen du +Comment[fa]=چارچوبی برای برنامک نهفتهشده در تابلوی KDEتولید میکند +Comment[fr]=Génère une infrastructure pour un applet qui s'intègre dans le tableau de bord de KDE +Comment[gl]=Xera un contorno de traballo para un applet que se incrusta no panel de KDE. +Comment[hu]=Létrehoz egy keretprogramot KDE-s panel-kisalkalmazás készítéséhez +Comment[it]=Genera l'infrastruttura per un'applet che si integra nel pannello di KDE +Comment[nds]=Stellt dat Rahmenwark för en Lüttprogramm op, dat sik na dat KDE-Paneel inbett +Comment[ne]=केडीई प्यानलमा सम्मिलित एप्लेटका लागि फ्रेमवर्क उत्पन्न गर्दछ +Comment[nl]=Genereert een framework voor een applet die kan worden ingebed in het KDE-paneel +Comment[pl]=Generuje szablon apletu, który można wstawić do panelu KDE +Comment[pt]=Gera a plataforma para uma 'applet' que se incorpore no painel do KDE +Comment[pt_BR]=Gera a plataforma para uma 'applet' que se incorpore no painel do KDE +Comment[ru]=Создание аплета панели KDE +Comment[sk]=Vygeneruje framework pre applet, ktorý sa bude dať vložiť do KDE panelu +Comment[sr]=Прави радни оквир за аплет који се уграђује у KDE-ов панел +Comment[sr@Latn]=Pravi radni okvir za aplet koji se ugrađuje u KDE-ov panel +Comment[sv]=Skapar ett ramverk för ett miniprogram som inbäddas i KDE:s panel +Comment[tr]=KDE paneline gömülen bir küçük uygulama için bir çatı oluşturur. +Comment[zh_CN]=生成一个可嵌入 KDE 面板的小程序框架 +Comment[zh_TW]=產生一個嵌入 KDE 面板的小程式框架 +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp +Archive=kicker.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}/applet.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[MkDir3] +Type=mkdir +Dir=%{dest}/src + +[FILE5] +Type=install +Source=%{kdevelop}/template-common/kde-app.lsm +Dest=%{dest}/src/%{APPNAMELC}.lsm + +[MkDir4] +Type=mkdir +Dir=%{dest}/po + +[FILE6] +Type=install +Source=%{kdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[FILE7] +Type=install +Source=%{kdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE8] +Type=install +Source=%{kdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE9] +Type=install +Source=%{kdevelop}/template-common/kde-configure.in.in +Dest=%{dest}/configure.in.in + +[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}/applet.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[FILE13] +Type=install +Source=%{src}/applet.h +Dest=%{dest}/src/%{APPNAMELC}.h + +[FILE14] +Type=install +Source=%{src}/applet.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[MSG] +Type=message +Comment=A Kicker Applet was created in %{dest} +Comment[ca]=Una miniaplicació per a Kicker ha estat creat en %{dest} +Comment[da]=En Kicker applet blev oprettet i %{dest} +Comment[de]=Ein Miniprogramm für Kicker wurde in %{dest} erstellt. +Comment[el]=Μία μικροεφαρμογή Kicker δημιουργήθηκε στο %{dest} +Comment[es]=Un applet para Kicker ha sido creado en %{dest} +Comment[et]=Kickeri aplett loodi asukohta %{dest} +Comment[eu]=Kicker Applet bat sortu da hemen: %{dest} +Comment[fa]=یک برنامک Kicker در %{dest} ایجاد شد +Comment[fr]=Un applet Kicker a été créé dans %{dest} +Comment[ga]=Cruthaíodh feidhmchláirín Kicker i %{dest} +Comment[gl]=Creouse un applet para Kicker en %{dest} +Comment[hu]=Létrejött egy panel-kisalkalmazás itt: %{dest} +Comment[it]=È stata creata un'applet per kicker in %{dest} +Comment[ja]=Kicker アプレットを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en Kicker-Lüttprogramm opstellt +Comment[ne]=किकर एप्लेट %{dest} मा सिर्जना गरियो +Comment[nl]=Een Kicker-applet is aangemaakt in %{dest} +Comment[pl]=Aplet panelu został utworzony w %{dest} +Comment[pt]=Foi criada uma 'applet' do Kicker em %{dest} +Comment[pt_BR]=Foi criada uma 'applet' do Kicker em %{dest} +Comment[ru]=Аплет панели KDE создан в %{dest} +Comment[sk]=Kicker applet bol vytvorený v %{dest} +Comment[sl]=Vstavek za Kicker je bil ustvarjen v %{dest} +Comment[sr]=Аплет за Kicker направљен је у %{dest} +Comment[sr@Latn]=Aplet za Kicker napravljen je u %{dest} +Comment[sv]=Ett miniprogram för Kicker skapades i %{dest} +Comment[tr]=Bir Kicker küçük uygulaması %{dest} içinde yaratıldı. +Comment[zh_CN]=在 %{dest} 中创建了一个 Kicker 小程序 +Comment[zh_TW]=一個 Kicker 小程式已建立於 %{dest} diff --git a/languages/cpp/app_templates/kicker/kicker.png b/languages/cpp/app_templates/kicker/kicker.png Binary files differnew file mode 100644 index 00000000..5e4f746f --- /dev/null +++ b/languages/cpp/app_templates/kicker/kicker.png diff --git a/languages/cpp/app_templates/kicker/src-Makefile.am b/languages/cpp/app_templates/kicker/src-Makefile.am new file mode 100644 index 00000000..424062d1 --- /dev/null +++ b/languages/cpp/app_templates/kicker/src-Makefile.am @@ -0,0 +1,15 @@ +INCLUDES= $(all_includes) +METASOURCES = AUTO + +kde_module_LTLIBRARIES = %{APPNAMELC}_panelapplet.la + +%{APPNAMELC}_panelapplet_la_SOURCES = %{APPNAMELC}.cpp +%{APPNAMELC}_panelapplet_la_LDFLAGS = -module -avoid-version $(all_libraries) +%{APPNAMELC}_panelapplet_la_LIBADD = $(LIB_KDEUI) + +%{APPNAMELC}_DATA = %{APPNAMELC}.desktop +%{APPNAMELC}dir = $(kde_datadir)/kicker/applets + +messages: rc.cpp + $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/%{APPNAMELC}.pot diff --git a/languages/cpp/app_templates/kicker/subdirs b/languages/cpp/app_templates/kicker/subdirs new file mode 100644 index 00000000..0e678106 --- /dev/null +++ b/languages/cpp/app_templates/kicker/subdirs @@ -0,0 +1,3 @@ +doc +po +src |