diff options
Diffstat (limited to 'languages/cpp/app_templates/opietoday')
5 files changed, 21 insertions, 93 deletions
diff --git a/languages/cpp/app_templates/opietoday/CMakeLists.txt b/languages/cpp/app_templates/opietoday/CMakeLists.txt index 7ebe79e0..81fb97fe 100644 --- a/languages/cpp/app_templates/opietoday/CMakeLists.txt +++ b/languages/cpp/app_templates/opietoday/CMakeLists.txt @@ -9,13 +9,18 @@ # ################################################# -add_custom_target( opietoday.tar.gz ALL - COMMAND ${TAR} zcf opietoday.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content Makefile.am Example.png app.kdevelop app.pro exampleplugin.cpp examplepluginimpl.cpp examplepluginwidget.cpp exampleplugin.h examplepluginimpl.h examplepluginwidget.h ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET opietoday.tar.gz + FILES ${_tarball_content} +) install( FILES @@ -23,6 +28,9 @@ install( FILES DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) -install( FILES - opietoday.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) +tde_create_translated_desktop( + SOURCE opietoday.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates + KEYWORDS Category + PO_DIR tdevelop-desktops +) diff --git a/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp b/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp index a4896308..5b6367d2 100644 --- a/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp +++ b/languages/cpp/app_templates/opietoday/examplepluginimpl.cpp @@ -16,7 +16,7 @@ TodayPluginObject* %{APPNAME}Impl::guiPart() { TQRESULT %{APPNAME}Impl::queryInterface( const TQUuid & uuid, TQUnknownInterface **iface ) { *iface = 0; - if ( ( uuid == IID_TQUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { + if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { *iface = this, (*iface)->addRef(); }else return TQS_FALSE; diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp b/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp index 2f491481..fdbbf4dd 100644 --- a/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp +++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp @@ -17,7 +17,7 @@ // that should be triggered when clicked are defined in slotClicked() // of course also normal widgets can be used. m_exampleLabel = new OClickableLabel( this ); - connect( m_exampleLabel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotClicked() ) ); + connect( m_exampleLabel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClicked() ) ); if ( m_layout ) { delete m_layout; diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.h b/languages/cpp/app_templates/opietoday/examplepluginwidget.h index 252efc85..a802f2ba 100644 --- a/languages/cpp/app_templates/opietoday/examplepluginwidget.h +++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.h @@ -7,7 +7,7 @@ class %{APPNAME}Widget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/languages/cpp/app_templates/opietoday/opietoday.kdevtemplate b/languages/cpp/app_templates/opietoday/opietoday.kdevtemplate index 9a5be409..f3bbee9a 100644 --- a/languages/cpp/app_templates/opietoday/opietoday.kdevtemplate +++ b/languages/cpp/app_templates/opietoday/opietoday.kdevtemplate @@ -1,64 +1,12 @@ # TDE Config File [General] Name=Opie Today Plugin -Name[ca]=Connector de tasques pendents per a Opie -Name[da]=Opie Today-plugin -Name[de]=Opie-Today-Modul -Name[el]=Πρόσθετο Σήμερα του Opie -Name[es]=Complemento de tareas pendientes para Opie -Name[et]=Opie Today plugin -Name[eu]=Opie-ren gaur-plugina -Name[fa]=وصلۀ Opie Today -Name[fr]=Module externe Opie « Today » -Name[ga]=Breiseán Inniu Opie -Name[gl]=Extensión 'today' para Opie -Name[hu]=Opie Today-modul -Name[it]=Plugin today di Opie -Name[ja]=Opie Today プラグイン -Name[nds]=Moduul för Opie-Today -Name[ne]=ओपिइ टुडे प्लगइन -Name[nl]=Opie Today-plugin -Name[pl]=Wtyczka Opie Dzisiaj -Name[pt]='Plugin' de Dados de Hoje do Opie -Name[pt_BR]='Plugin' de Dados de Hoje do Opie -Name[ru]=Модуль задач Opie -Name[sk]=Opie dnešný modul -Name[sr]=Прикључак за Opie данас -Name[sr@Latn]=Priključak za Opie danas -Name[sv]=Opie Idag-insticksprogram -Name[tr]=Opie Bugün Eklentisi -Name[zh_CN]=Opie 今日插件 -Name[zh_TW]=Opie 今天外掛程式 -Icon=qmakeapp.png -Category=C++/Embedded + Comment=Generate an Opie today plugin. -Comment[ca]=Genera un connector de tasques pendents per a Opie. -Comment[da]=Generér et Opie today-plugin. -Comment[de]=Erstellt ein Opie-Today-Modul -Comment[el]=Δημιουργία ενός πρόσθετου Σήμερα του Opie. -Comment[es]=Genera un complemento de tareas pendientes para Opie. -Comment[et]=Opie Today plugina loomine. -Comment[eu]=Sortu Opie-ren gaur plugin bat. -Comment[fa]=یک وصلۀ Opie today تولید میکند. -Comment[fr]=Génère un module externe Opie « Today ». -Comment[gl]=Xera unha extensión 'today' para Opie -Comment[hu]=Létrehoz egy Opie Today-modult. -Comment[it]=Genera un plugin today di Opie. -Comment[ja]=Opie today プラグインを作成 -Comment[nds]=Stellt en Moduul för Opie-Today op. -Comment[ne]=ओपिइ टुडे प्लगइन उत्पन्न गर्नुहोस् -Comment[nl]=Genereert een Opie today-plugin. -Comment[pl]=Generuje wtyczkę Opie "Dzisiaj". -Comment[pt]=Gera um 'plugin' para dados de hoje do Opie. -Comment[pt_BR]=Gera um 'plugin' para dados de hoje do Opie. -Comment[ru]=Создание модуля задач Opie. -Comment[sk]=Vygeneruje Opie dnešný modul. -Comment[sr]=Прави прикључак за Opie данас. -Comment[sr@Latn]=Pravi priključak za Opie danas. -Comment[sv]=Skapar ett Opie Idag-insticksprogram. -Comment[tr]=Bir Opie bugün eklentisi yarat -Comment[zh_CN]=生成一个 Opie 今日插件。 -Comment[zh_TW]=產生一個 Opie 今天外掛程式 + +Category=C++/Embedded + +Icon=qmakeapp.png FileTemplates=h,CStyle,cpp,CStyle ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.cpp Archive=opietoday.tar.gz @@ -121,31 +69,3 @@ Dest=%{dest}/%{APPNAMELC}impl.h [MSG] Type=message Comment=An opie today plugin was created in %{dest} -Comment[ca]=Un connector de tasques pendents per a Opie ha estat creat en %{dest} -Comment[da]=Et opie today-plugin blev oprettet i %{dest} -Comment[de]=Ein Opie-Today-Modul wurde in %{dest} erstellt. -Comment[el]=Ένα πρόσθετο Σήμερα του opie δημιουργήθηκε στο %{dest} -Comment[es]=Un complemento de tareas pendientes para Opie ha sido creado en %{dest} -Comment[et]=Opie Today plugin loodi asukohta %{dest} -Comment[eu]=Opie-ren gaur plugin bat sortu da hemen %{dest} -Comment[fa]=یک وصلۀ opie today در %{dest} ایجاد شد -Comment[fr]=Un module externe Opie « Today » a été créé dans %{dest} -Comment[ga]=Cruthaíodh breiseán inniu opie i %{dest} -Comment[gl]=Creouse unha extensión 'today' para opie en %{dest} -Comment[hu]=Létrejött egy Opie Today-modul itt: %{dest} -Comment[it]=È stato creato un plugin today di Opie in %{dest} -Comment[ja]=Opie today プラグインを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en Moduul för Opie-Today opstellt -Comment[ne]=ओपिइ टुडे प्लगइन %{dest} मा सिर्जना गरियो -Comment[nl]=Een Opie today-plugins is aangemaakt in %{dest} -Comment[pl]=Wtyczka Opie Dzisiaj została utworzona w %{dest} -Comment[pt]=Foi criado um 'plugin' para dados de hoje do Opie em %{dest} -Comment[pt_BR]=Foi criado um 'plugin' para dados de hoje do Opie em %{dest} -Comment[ru]=Модуль задач Opie создан в %{dest} -Comment[sk]=Opie dnešný modul bol vytvorený v %{dest} -Comment[sr]=Прикључак за opie данас направљен је у %{dest} -Comment[sr@Latn]=Priključak za opie danas napravljen je u %{dest} -Comment[sv]=Ett Opie Idag-insticksprogram skapades i %{dest} -Comment[tr]=Bir Opie bugün eklentisi %{dest} içinde yaratıldı. -Comment[zh_CN]=在 %{dest} 中创建了一个 opie 今日插件 -Comment[zh_TW]=一個 Opie 今天外掛程式已建立於 %{dest} |