From c0b24fe164924298d7e6ae33964b3c65fadbcba3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:06:29 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- languages/ada/configproblemreporter.ui.h | 2 +- languages/ada/problemreporter.cpp | 2 +- languages/cpp/addattributedialog.cpp | 2 +- languages/cpp/addmethoddialog.cpp | 2 +- languages/cpp/app_templates/CMakeLists.txt | 6 +- languages/cpp/app_templates/Makefile.am | 2 +- .../app_templates/dcopservice/dcopservice.tdevelop | 2 +- languages/cpp/app_templates/kapp/README | 2 +- languages/cpp/app_templates/kapp/app.cpp | 6 +- .../cpp/app_templates/kateplugin2/plugin_app.cpp | 2 +- .../cpp/app_templates/kconfig35/CMakeLists.txt | 28 - languages/cpp/app_templates/kconfig35/Makefile.am | 19 - languages/cpp/app_templates/kconfig35/README | 90 ---- languages/cpp/app_templates/kconfig35/app.cpp | 105 ---- languages/cpp/app_templates/kconfig35/app.desktop | 40 -- languages/cpp/app_templates/kconfig35/app.h | 61 --- languages/cpp/app_templates/kconfig35/app.kcfg | 21 - languages/cpp/app_templates/kconfig35/app.tdevelop | 168 ------ languages/cpp/app_templates/kconfig35/appui.rc | 8 - languages/cpp/app_templates/kconfig35/appview.cpp | 41 -- languages/cpp/app_templates/kconfig35/appview.h | 53 -- .../cpp/app_templates/kconfig35/appview_base.ui | 33 -- .../app_templates/kconfig35/kconfig35.kdevtemplate | 245 --------- .../cpp/app_templates/kconfig35/kconfig35.png | Bin 6975 -> 0 bytes languages/cpp/app_templates/kconfig35/kxt35.png | Bin 6975 -> 0 bytes languages/cpp/app_templates/kconfig35/main.cpp | 57 -- .../cpp/app_templates/kconfig35/prefs-base.ui | 127 ----- languages/cpp/app_templates/kconfig35/prefs.cpp | 12 - languages/cpp/app_templates/kconfig35/prefs.h | 11 - .../cpp/app_templates/kconfig35/settings.kcfgc | 6 - .../cpp/app_templates/kconfig35/src-Makefile.am | 41 -- .../app_templates/kconfig35/src-configure.in.in | 7 - languages/cpp/app_templates/kconfig35/subdirs | 3 - languages/cpp/app_templates/kde4app/kapp4.cpp | 2 +- languages/cpp/app_templates/kde4app/settings.kcfgc | 2 +- languages/cpp/app_templates/kdecpp.appwizard | 2 +- .../cpp/app_templates/kfileplugin/.kdev_ignore | 0 .../cpp/app_templates/kfileplugin/CMakeLists.txt | 27 - .../cpp/app_templates/kfileplugin/Makefile.am | 18 - .../cpp/app_templates/kfileplugin/README.devel | 9 - .../cpp/app_templates/kfileplugin/kfile_plugin.cpp | 55 -- .../app_templates/kfileplugin/kfile_plugin.desktop | 39 -- .../cpp/app_templates/kfileplugin/kfile_plugin.h | 25 - .../cpp/app_templates/kfileplugin/kfileplugin | 8 - .../kfileplugin/kfileplugin.kdevtemplate | 166 ------ .../cpp/app_templates/kfileplugin/kfileplugin.png | Bin 11953 -> 0 bytes .../cpp/app_templates/kfileplugin/plugin.tdevelop | 114 ---- .../cpp/app_templates/kfileplugin/src-Makefile.am | 22 - languages/cpp/app_templates/kfileplugin/subdirs | 3 - languages/cpp/app_templates/kicker/applet.cpp | 2 +- languages/cpp/app_templates/kicker/applet.h | 2 +- languages/cpp/app_templates/kioslave/.kdev_ignore | 0 .../cpp/app_templates/kioslave/CMakeLists.txt | 26 - languages/cpp/app_templates/kioslave/Makefile.am | 17 - .../app_templates/kioslave/kioslave.kdevtemplate | 183 ------- languages/cpp/app_templates/kioslave/kioslave.png | Bin 9524 -> 0 bytes languages/cpp/app_templates/kioslave/slave.cpp | 88 ---- languages/cpp/app_templates/kioslave/slave.h | 23 - .../cpp/app_templates/kioslave/slave.protocol | 39 -- .../cpp/app_templates/kioslave/slave.tdevelop | 113 ---- .../cpp/app_templates/kioslave/src-Makefile.am | 14 - languages/cpp/app_templates/kioslave/subdirs | 3 - .../cpp/app_templates/kofficepart/kopart.tdevelop | 2 +- .../cpp/app_templates/konqnavpanel/konqnavpanel.h | 2 +- languages/cpp/app_templates/kpartapp/app.cpp | 4 +- languages/cpp/app_templates/kpartapp/app_part.cpp | 2 +- languages/cpp/app_templates/kscons_kxt/README | 2 +- languages/cpp/app_templates/kscons_kxt/app.cpp | 2 +- languages/cpp/app_templates/kscons_kxt/messages.sh | 2 +- .../cpp/app_templates/kscons_kxt/settings.kcfgc | 2 +- languages/cpp/app_templates/kscons_tdemdi/README | 2 +- .../cpp/app_templates/kscons_tdemdi/app_part.cpp | 2 +- .../cpp/app_templates/kscons_tdemdi/apptdemdi.cpp | 8 +- .../cpp/app_templates/kscons_tdemdi/messages.sh | 2 +- .../cpp/app_templates/kscons_tdemdi/settings.kcfgc | 2 +- languages/cpp/app_templates/kxt/README | 2 +- languages/cpp/app_templates/kxt/app.cpp | 2 +- languages/cpp/app_templates/kxt/settings.kcfgc | 2 +- .../cpp/app_templates/noatunui/plugin_impl.cpp | 4 +- languages/cpp/app_templates/opieapp/app.pro | 2 +- languages/cpp/app_templates/opieapplet/app.pro | 2 +- languages/cpp/app_templates/opieinput/app.pro | 2 +- languages/cpp/app_templates/opiemenu/app.pro | 2 +- languages/cpp/app_templates/opienet/app.pro | 2 +- .../cpp/app_templates/opienet/opienet.kdevtemplate | 4 +- languages/cpp/app_templates/opietoday/app.pro | 2 +- .../cpp/app_templates/tdecmodule/module.desktop | 2 +- .../cpp/app_templates/tdeconfig35/CMakeLists.txt | 28 + .../cpp/app_templates/tdeconfig35/Makefile.am | 19 + languages/cpp/app_templates/tdeconfig35/README | 90 ++++ languages/cpp/app_templates/tdeconfig35/app.cpp | 105 ++++ .../cpp/app_templates/tdeconfig35/app.desktop | 40 ++ languages/cpp/app_templates/tdeconfig35/app.h | 61 +++ languages/cpp/app_templates/tdeconfig35/app.kcfg | 21 + .../cpp/app_templates/tdeconfig35/app.tdevelop | 168 ++++++ languages/cpp/app_templates/tdeconfig35/appui.rc | 8 + .../cpp/app_templates/tdeconfig35/appview.cpp | 41 ++ languages/cpp/app_templates/tdeconfig35/appview.h | 53 ++ .../cpp/app_templates/tdeconfig35/appview_base.ui | 33 ++ languages/cpp/app_templates/tdeconfig35/kxt35.png | Bin 0 -> 6975 bytes languages/cpp/app_templates/tdeconfig35/main.cpp | 57 ++ .../cpp/app_templates/tdeconfig35/prefs-base.ui | 127 +++++ languages/cpp/app_templates/tdeconfig35/prefs.cpp | 12 + languages/cpp/app_templates/tdeconfig35/prefs.h | 11 + .../cpp/app_templates/tdeconfig35/settings.kcfgc | 6 + .../cpp/app_templates/tdeconfig35/src-Makefile.am | 41 ++ .../app_templates/tdeconfig35/src-configure.in.in | 7 + languages/cpp/app_templates/tdeconfig35/subdirs | 3 + .../tdeconfig35/tdeconfig35.kdevtemplate | 245 +++++++++ .../cpp/app_templates/tdeconfig35/tdeconfig35.png | Bin 0 -> 6975 bytes .../cpp/app_templates/tdefileplugin/.kdev_ignore | 0 .../cpp/app_templates/tdefileplugin/CMakeLists.txt | 27 + .../cpp/app_templates/tdefileplugin/Makefile.am | 18 + .../cpp/app_templates/tdefileplugin/README.devel | 9 + .../app_templates/tdefileplugin/plugin.tdevelop | 114 ++++ .../app_templates/tdefileplugin/src-Makefile.am | 22 + languages/cpp/app_templates/tdefileplugin/subdirs | 3 + .../app_templates/tdefileplugin/tdefile_plugin.cpp | 55 ++ .../tdefileplugin/tdefile_plugin.desktop | 39 ++ .../app_templates/tdefileplugin/tdefile_plugin.h | 25 + .../cpp/app_templates/tdefileplugin/tdefileplugin | 8 + .../tdefileplugin/tdefileplugin.kdevtemplate | 166 ++++++ .../app_templates/tdefileplugin/tdefileplugin.png | Bin 0 -> 11953 bytes .../cpp/app_templates/tdeioslave/.kdev_ignore | 0 .../cpp/app_templates/tdeioslave/CMakeLists.txt | 26 + languages/cpp/app_templates/tdeioslave/Makefile.am | 17 + languages/cpp/app_templates/tdeioslave/slave.cpp | 88 ++++ languages/cpp/app_templates/tdeioslave/slave.h | 23 + .../cpp/app_templates/tdeioslave/slave.protocol | 39 ++ .../cpp/app_templates/tdeioslave/slave.tdevelop | 113 ++++ .../cpp/app_templates/tdeioslave/src-Makefile.am | 14 + languages/cpp/app_templates/tdeioslave/subdirs | 3 + .../tdeioslave/tdeioslave.kdevtemplate | 183 +++++++ .../cpp/app_templates/tdeioslave/tdeioslave.png | Bin 0 -> 9524 bytes .../tdescreensaver/tdescreensaver.cpp | 2 +- .../tdescreensaver/tdescreensaver.tdevelop | 2 +- languages/cpp/ccconfigwidget.cpp | 4 +- languages/cpp/classgeneratorconfig.cpp | 2 +- languages/cpp/configproblemreporter.ui.h | 2 +- languages/cpp/cppsupport_utils.cpp | 2 +- languages/cpp/cppsupportpart.cpp | 2 +- languages/cpp/debugger/debuggerpart.cpp | 2 +- languages/cpp/debugger/gdbcontroller.cpp | 2 +- languages/cpp/doc/gnome1.toc | 2 +- languages/cpp/doc/kde2book.toc | 12 +- .../tdelibsimporter/kdevtdelibsimporter.cpp | 2 +- languages/cpp/problemreporter.cpp | 2 +- languages/cpp/subclassingdlg.cpp | 4 +- languages/csharp/CMakeLists.txt | 2 +- languages/csharp/csharpdoc.h | 2 +- languages/fortran/CMakeLists.txt | 2 +- languages/fortran/Makefile.am | 2 +- languages/fortran/fortransupportpart.cpp | 2 +- languages/fortran/ftnchekconfigwidget.cpp | 290 ---------- languages/fortran/ftnchekconfigwidget.h | 42 -- languages/fortran/ftnchekconfigwidgetbase.ui | 584 --------------------- languages/fortran/ftnchetdeconfigwidget.cpp | 290 ++++++++++ languages/fortran/ftnchetdeconfigwidget.h | 42 ++ languages/fortran/ftnchetdeconfigwidgetbase.ui | 584 +++++++++++++++++++++ languages/java/configproblemreporter.ui.h | 2 +- languages/java/javasupportpart.cpp | 2 +- languages/java/problemreporter.cpp | 2 +- languages/kjssupport/subclassingdlg.cpp | 4 +- languages/pascal/problemreporter.cpp | 2 +- languages/perl/CMakeLists.txt | 2 +- languages/perl/perldoc.h | 2 +- languages/php/phpconfigwidget.cpp | 2 +- languages/php/phperrorview.cpp | 2 +- languages/php/phpnewclassdlg.cpp | 2 +- languages/php/phpsupportpart.h | 2 +- languages/python/CMakeLists.txt | 4 +- languages/python/Makefile.am | 2 +- languages/python/pydoc.h | 2 +- languages/ruby/app_templates/kapp/README | 2 +- languages/ruby/app_templates/kxt/settings.kcfgc | 2 +- languages/ruby/app_templates/kxt/src-Makefile.am | 2 +- languages/ruby/debugger/debuggerpart.cpp | 2 +- languages/ruby/debugger/rdbcontroller.cpp | 2 +- 178 files changed, 3181 insertions(+), 3181 deletions(-) delete mode 100644 languages/cpp/app_templates/kconfig35/CMakeLists.txt delete mode 100644 languages/cpp/app_templates/kconfig35/Makefile.am delete mode 100644 languages/cpp/app_templates/kconfig35/README delete mode 100644 languages/cpp/app_templates/kconfig35/app.cpp delete mode 100644 languages/cpp/app_templates/kconfig35/app.desktop delete mode 100644 languages/cpp/app_templates/kconfig35/app.h delete mode 100644 languages/cpp/app_templates/kconfig35/app.kcfg delete mode 100644 languages/cpp/app_templates/kconfig35/app.tdevelop delete mode 100644 languages/cpp/app_templates/kconfig35/appui.rc delete mode 100644 languages/cpp/app_templates/kconfig35/appview.cpp delete mode 100644 languages/cpp/app_templates/kconfig35/appview.h delete mode 100644 languages/cpp/app_templates/kconfig35/appview_base.ui delete mode 100644 languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate delete mode 100644 languages/cpp/app_templates/kconfig35/kconfig35.png delete mode 100644 languages/cpp/app_templates/kconfig35/kxt35.png delete mode 100644 languages/cpp/app_templates/kconfig35/main.cpp delete mode 100644 languages/cpp/app_templates/kconfig35/prefs-base.ui delete mode 100644 languages/cpp/app_templates/kconfig35/prefs.cpp delete mode 100644 languages/cpp/app_templates/kconfig35/prefs.h delete mode 100644 languages/cpp/app_templates/kconfig35/settings.kcfgc delete mode 100644 languages/cpp/app_templates/kconfig35/src-Makefile.am delete mode 100644 languages/cpp/app_templates/kconfig35/src-configure.in.in delete mode 100644 languages/cpp/app_templates/kconfig35/subdirs delete mode 100644 languages/cpp/app_templates/kfileplugin/.kdev_ignore delete mode 100644 languages/cpp/app_templates/kfileplugin/CMakeLists.txt delete mode 100644 languages/cpp/app_templates/kfileplugin/Makefile.am delete mode 100644 languages/cpp/app_templates/kfileplugin/README.devel delete mode 100644 languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp delete mode 100644 languages/cpp/app_templates/kfileplugin/kfile_plugin.desktop delete mode 100644 languages/cpp/app_templates/kfileplugin/kfile_plugin.h delete mode 100644 languages/cpp/app_templates/kfileplugin/kfileplugin delete mode 100644 languages/cpp/app_templates/kfileplugin/kfileplugin.kdevtemplate delete mode 100644 languages/cpp/app_templates/kfileplugin/kfileplugin.png delete mode 100644 languages/cpp/app_templates/kfileplugin/plugin.tdevelop delete mode 100644 languages/cpp/app_templates/kfileplugin/src-Makefile.am delete mode 100644 languages/cpp/app_templates/kfileplugin/subdirs delete mode 100644 languages/cpp/app_templates/kioslave/.kdev_ignore delete mode 100644 languages/cpp/app_templates/kioslave/CMakeLists.txt delete mode 100644 languages/cpp/app_templates/kioslave/Makefile.am delete mode 100644 languages/cpp/app_templates/kioslave/kioslave.kdevtemplate delete mode 100644 languages/cpp/app_templates/kioslave/kioslave.png delete mode 100644 languages/cpp/app_templates/kioslave/slave.cpp delete mode 100644 languages/cpp/app_templates/kioslave/slave.h delete mode 100644 languages/cpp/app_templates/kioslave/slave.protocol delete mode 100644 languages/cpp/app_templates/kioslave/slave.tdevelop delete mode 100644 languages/cpp/app_templates/kioslave/src-Makefile.am delete mode 100644 languages/cpp/app_templates/kioslave/subdirs create mode 100644 languages/cpp/app_templates/tdeconfig35/CMakeLists.txt create mode 100644 languages/cpp/app_templates/tdeconfig35/Makefile.am create mode 100644 languages/cpp/app_templates/tdeconfig35/README create mode 100644 languages/cpp/app_templates/tdeconfig35/app.cpp create mode 100644 languages/cpp/app_templates/tdeconfig35/app.desktop create mode 100644 languages/cpp/app_templates/tdeconfig35/app.h create mode 100644 languages/cpp/app_templates/tdeconfig35/app.kcfg create mode 100644 languages/cpp/app_templates/tdeconfig35/app.tdevelop create mode 100644 languages/cpp/app_templates/tdeconfig35/appui.rc create mode 100644 languages/cpp/app_templates/tdeconfig35/appview.cpp create mode 100644 languages/cpp/app_templates/tdeconfig35/appview.h create mode 100644 languages/cpp/app_templates/tdeconfig35/appview_base.ui create mode 100644 languages/cpp/app_templates/tdeconfig35/kxt35.png create mode 100644 languages/cpp/app_templates/tdeconfig35/main.cpp create mode 100644 languages/cpp/app_templates/tdeconfig35/prefs-base.ui create mode 100644 languages/cpp/app_templates/tdeconfig35/prefs.cpp create mode 100644 languages/cpp/app_templates/tdeconfig35/prefs.h create mode 100644 languages/cpp/app_templates/tdeconfig35/settings.kcfgc create mode 100644 languages/cpp/app_templates/tdeconfig35/src-Makefile.am create mode 100644 languages/cpp/app_templates/tdeconfig35/src-configure.in.in create mode 100644 languages/cpp/app_templates/tdeconfig35/subdirs create mode 100644 languages/cpp/app_templates/tdeconfig35/tdeconfig35.kdevtemplate create mode 100644 languages/cpp/app_templates/tdeconfig35/tdeconfig35.png create mode 100644 languages/cpp/app_templates/tdefileplugin/.kdev_ignore create mode 100644 languages/cpp/app_templates/tdefileplugin/CMakeLists.txt create mode 100644 languages/cpp/app_templates/tdefileplugin/Makefile.am create mode 100644 languages/cpp/app_templates/tdefileplugin/README.devel create mode 100644 languages/cpp/app_templates/tdefileplugin/plugin.tdevelop create mode 100644 languages/cpp/app_templates/tdefileplugin/src-Makefile.am create mode 100644 languages/cpp/app_templates/tdefileplugin/subdirs create mode 100644 languages/cpp/app_templates/tdefileplugin/tdefile_plugin.cpp create mode 100644 languages/cpp/app_templates/tdefileplugin/tdefile_plugin.desktop create mode 100644 languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h create mode 100644 languages/cpp/app_templates/tdefileplugin/tdefileplugin create mode 100644 languages/cpp/app_templates/tdefileplugin/tdefileplugin.kdevtemplate create mode 100644 languages/cpp/app_templates/tdefileplugin/tdefileplugin.png create mode 100644 languages/cpp/app_templates/tdeioslave/.kdev_ignore create mode 100644 languages/cpp/app_templates/tdeioslave/CMakeLists.txt create mode 100644 languages/cpp/app_templates/tdeioslave/Makefile.am create mode 100644 languages/cpp/app_templates/tdeioslave/slave.cpp create mode 100644 languages/cpp/app_templates/tdeioslave/slave.h create mode 100644 languages/cpp/app_templates/tdeioslave/slave.protocol create mode 100644 languages/cpp/app_templates/tdeioslave/slave.tdevelop create mode 100644 languages/cpp/app_templates/tdeioslave/src-Makefile.am create mode 100644 languages/cpp/app_templates/tdeioslave/subdirs create mode 100644 languages/cpp/app_templates/tdeioslave/tdeioslave.kdevtemplate create mode 100644 languages/cpp/app_templates/tdeioslave/tdeioslave.png delete mode 100644 languages/fortran/ftnchekconfigwidget.cpp delete mode 100644 languages/fortran/ftnchekconfigwidget.h delete mode 100644 languages/fortran/ftnchekconfigwidgetbase.ui create mode 100644 languages/fortran/ftnchetdeconfigwidget.cpp create mode 100644 languages/fortran/ftnchetdeconfigwidget.h create mode 100644 languages/fortran/ftnchetdeconfigwidgetbase.ui (limited to 'languages') diff --git a/languages/ada/configproblemreporter.ui.h b/languages/ada/configproblemreporter.ui.h index 9c586fa4..546c160f 100644 --- a/languages/ada/configproblemreporter.ui.h +++ b/languages/ada/configproblemreporter.ui.h @@ -6,7 +6,7 @@ ** a constructor, and a destroy() slot in place of a destructor. *****************************************************************************/ -#include +#include #include void ConfigureProblemReporter::init() diff --git a/languages/ada/problemreporter.cpp b/languages/ada/problemreporter.cpp index cf816ca1..5e672c41 100644 --- a/languages/ada/problemreporter.cpp +++ b/languages/ada/problemreporter.cpp @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include diff --git a/languages/cpp/addattributedialog.cpp b/languages/cpp/addattributedialog.cpp index 885aad6d..78c9dc84 100644 --- a/languages/cpp/addattributedialog.cpp +++ b/languages/cpp/addattributedialog.cpp @@ -27,7 +27,7 @@ #include -#include +#include #include #include #include diff --git a/languages/cpp/addmethoddialog.cpp b/languages/cpp/addmethoddialog.cpp index ae4b5a61..3faf0e97 100644 --- a/languages/cpp/addmethoddialog.cpp +++ b/languages/cpp/addmethoddialog.cpp @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include diff --git a/languages/cpp/app_templates/CMakeLists.txt b/languages/cpp/app_templates/CMakeLists.txt index 94a914ac..52229fc6 100644 --- a/languages/cpp/app_templates/CMakeLists.txt +++ b/languages/cpp/app_templates/CMakeLists.txt @@ -14,7 +14,7 @@ add_subdirectory( kpartapp ) add_subdirectory( kpartplugin ) add_subdirectory( tdecmodule ) add_subdirectory( kicker ) -add_subdirectory( kioslave ) +add_subdirectory( tdeioslave ) add_subdirectory( kdevpart ) add_subdirectory( kdevpart2 ) add_subdirectory( chello ) @@ -35,12 +35,12 @@ add_subdirectory( qtopiaapp ) add_subdirectory( kdedcop ) add_subdirectory( wxhello ) add_subdirectory( cppsdlhello ) -add_subdirectory( kconfig35 ) +add_subdirectory( tdeconfig35 ) add_subdirectory( kdevlang ) add_subdirectory( noatunvisual ) add_subdirectory( noatunui ) add_subdirectory( kmod ) -add_subdirectory( kfileplugin ) +add_subdirectory( tdefileplugin ) add_subdirectory( clanlib ) add_subdirectory( opieapp ) add_subdirectory( opieapplet ) diff --git a/languages/cpp/app_templates/Makefile.am b/languages/cpp/app_templates/Makefile.am index 09e63e1a..8350118d 100644 --- a/languages/cpp/app_templates/Makefile.am +++ b/languages/cpp/app_templates/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = kapp kpartapp kpartplugin tdecmodule kicker kioslave kdevpart kdevpart2 chello cpphello tdescreensaver kofficepart chello_gba dcopservice konqnavpanel qmakesimple qmakeapp qt4makeapp khello khello2 kateplugin kateplugin2 qtopiaapp kdedcop wxhello cppsdlhello kconfig35 kdevlang noatunvisual noatunui kmod kfileplugin clanlib opieapp opieapplet opieinput opiemenu opienet opietoday kxt gtk2mmapp cppcurseshello win32hello win32gui cmakesimple cmakesimplec cmakelibcpp cmakelibc kscons_kxt kscons_tdemdi qt4hello qmakeempty automakeempty makefileempty qtopia4app kde4app +SUBDIRS = kapp kpartapp kpartplugin tdecmodule kicker tdeioslave kdevpart kdevpart2 chello cpphello tdescreensaver kofficepart chello_gba dcopservice konqnavpanel qmakesimple qmakeapp qt4makeapp khello khello2 kateplugin kateplugin2 qtopiaapp kdedcop wxhello cppsdlhello tdeconfig35 kdevlang noatunvisual noatunui kmod tdefileplugin clanlib opieapp opieapplet opieinput opiemenu opienet opietoday kxt gtk2mmapp cppcurseshello win32hello win32gui cmakesimple cmakesimplec cmakelibcpp cmakelibc kscons_kxt kscons_tdemdi qt4hello qmakeempty automakeempty makefileempty qtopia4app kde4app profilescdir = $(kde_datadir)/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE profilesc_DATA = c.appwizard diff --git a/languages/cpp/app_templates/dcopservice/dcopservice.tdevelop b/languages/cpp/app_templates/dcopservice/dcopservice.tdevelop index ab65a7a0..59569583 100644 --- a/languages/cpp/app_templates/dcopservice/dcopservice.tdevelop +++ b/languages/cpp/app_templates/dcopservice/dcopservice.tdevelop @@ -11,7 +11,7 @@ Code Qt TDE - kioslave + tdeioslave diff --git a/languages/cpp/app_templates/kapp/README b/languages/cpp/app_templates/kapp/README index 1ddb40a1..7720e6b4 100644 --- a/languages/cpp/app_templates/kapp/README +++ b/languages/cpp/app_templates/kapp/README @@ -46,7 +46,7 @@ http://developer.kde.org/documentation/tutorials/xmlui/preface.html them more maintainable. For more details, consult : -http://developer.kde.org/documentation/tutorials/kconfigxt/kconfigxt.html +http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html * With KParts, you can embed other kde components in your program, or make your program embeddable in other apps. For example, the kmplayer kpart can be called to play videos diff --git a/languages/cpp/app_templates/kapp/app.cpp b/languages/cpp/app_templates/kapp/app.cpp index cc77371d..cefcc605 100644 --- a/languages/cpp/app_templates/kapp/app.cpp +++ b/languages/cpp/app_templates/kapp/app.cpp @@ -14,9 +14,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp index c74deda0..008db5a8 100644 --- a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp +++ b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include diff --git a/languages/cpp/app_templates/kconfig35/CMakeLists.txt b/languages/cpp/app_templates/kconfig35/CMakeLists.txt deleted file mode 100644 index 412cabdf..00000000 --- a/languages/cpp/app_templates/kconfig35/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -add_custom_target( kconfig35.tar.gz ALL - COMMAND tar zcf kconfig35.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - src-Makefile.am app.cpp app.h main.cpp appui.rc - app.tdevelop subdirs app.desktop kxt35.png appview.h - appview.cpp appview_base.ui prefs-base.ui prefs.cpp prefs.h - app.kcfg settings.kcfgc README src-configure.in.in -) - - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/kconfig35.tar.gz kconfig35.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) - - -install( FILES - kconfig35.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kconfig35/Makefile.am b/languages/cpp/app_templates/kconfig35/Makefile.am deleted file mode 100644 index e6695775..00000000 --- a/languages/cpp/app_templates/kconfig35/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -dataFiles = src-Makefile.am app.cpp app.h main.cpp appui.rc app.tdevelop \ - subdirs app.desktop kxt35.png appview.h appview.cpp appview_base.ui \ - prefs-base.ui prefs.cpp prefs.h app.kcfg settings.kcfgc README \ - src-configure.in.in -templateName= kconfig35 - -### 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 diff --git a/languages/cpp/app_templates/kconfig35/README b/languages/cpp/app_templates/kconfig35/README deleted file mode 100644 index a27cdb29..00000000 --- a/languages/cpp/app_templates/kconfig35/README +++ /dev/null @@ -1,90 +0,0 @@ ------------------------------------------------ -Kde templates quickstart -Author: Thomas Nagy -Date: 2004-03-22 ------------------------------------------------ - -This README file explains you basic things for starting with -this application template. - ------------------------------------------------ ---NOTE--: you need tdelibs 3.5 and tdelibs headers 3.5 (devel package) in order to build this template. -Qt version might be 3.3.4 or 3.3.5 ------------------------------------------------ - -** Building and installing ** - -* Build the configure script by "make -f Makefile.cvs" - -* To clean, use "make clean", and to clean everything -(remove the makefiles, etc), use "make distclean" - -* To distribute your program, try "make dist". -This will make a compact tarball archive of your release with the -necessary scripts inside. - -* Modifying the auto-tools scripts -for automake scripts there is an excellent tutorial there : -http://developer.kde.org/documentation/other/makefile_am_howto.html - -* Simplify your life : install the project in your home directory for -testing purposes. -./configure --prefix=/home/user/dummyfolder/ -In the end when you finished the development you can -rm -rf /home/user/dummyfolder/ -without fear. - - -** Technologies ** - -* Build the menus of your application easily -kde applications now use an xml file (*ui.rc file) to build the menus. -This allow a great customization of the application. However, when -programming the menu is shown only after a "make install" - -For more details, consult : -http://devel-home.kde.org/~larrosa/tutorial/p9.html -http://developer.kde.org/documentation/tutorials/xmlui/preface.html - -* Use TDEConfig XT to create your configuration dialogs and make -them more maintainable. - -For that, you will need to write two simple configuration files -in the src directory : .kcfg and a .kcfgc -The configure.in.in will need to be modified : change the line #MIN_CONFIG(3.0.0) -into #MIN_CONFIG(3.2.0) - -Take an example on the many apps found in the tdegames source package and consult : -http://developer.kde.org/documentation/tutorials/kconfigxt/kconfigxt.html - -* With KParts, you can embed other kde components in your program, or make your program -embeddable in other apps. For example, the kmplayer kpart can be called to play videos -in your app. - -For more details, consult : -http://www-106.ibm.com/developerworks/library/l-tdeparts/ -http://developer.kde.org/documentation/tutorials/dot/writing-plugins.html -http://developer.kde.org/documentation/tutorials/developing-a-plugin-structure/index.html - -* With dcop, you can control your app from other applications -Make sure to include K_DCOP and a kdcop: section in your .h file -http://developer.kde.org/documentation/tutorials/dot/dcopiface/dcop-interface.html - - -** Documentation ** - -* For the translations : -1. Download a patched gettext which can be found at: - http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/ -2. Install that gettext in ~/bin/ -3. cd ~/yourproject, export PATH=~/bin:$PATH, export -TDEDIR=/where_your_TDE3_is -4. make -f admin/Makefile.common package-messages -5. make package-messages -6. Translate the po files (not the pot!!) with kbabel or xemacs - -* Do not forget to write the documentation for your kde app -edit the documentation template index.docbook in doc/ - - - diff --git a/languages/cpp/app_templates/kconfig35/app.cpp b/languages/cpp/app_templates/kconfig35/app.cpp deleted file mode 100644 index 0fb99ee1..00000000 --- a/languages/cpp/app_templates/kconfig35/app.cpp +++ /dev/null @@ -1,105 +0,0 @@ -%{CPP_TEMPLATE} - -#include "%{APPNAMELC}.h" -#include "settings.h" -#include "prefs.h" - -#include - -#include -#include -#include -#include -#include -#include - -%{APPNAMELC}::%{APPNAMELC}() - : KMainWindow( 0, "%{APPNAMELC}" ), - m_view(new %{APPNAMELC}View(this)), - m_printer(0) -{ - // accept dnd - setAcceptDrops(true); - - // tell the KMainWindow that this is indeed the main widget - setCentralWidget(m_view); - // and a status bar - statusBar()->show(); - // then, setup our actions - setupActions(); - - // apply the saved mainwindow settings, if any, and ask the mainwindow - // to automatically save settings if changed: window size, toolbar - // position, icon size, etc. - setAutoSaveSettings(); - - // allow the view to change the statusbar and caption - connect(m_view, TQT_SIGNAL(signalChangeStatusbar(const TQString&)), - this, TQT_SLOT(changeStatusbar(const TQString&))); - connect(m_view, TQT_SIGNAL(signalChangeCaption(const TQString&)), - this, TQT_SLOT(changeCaption(const TQString&))); - -} - -%{APPNAMELC}::~%{APPNAMELC}() -{ -} - -void %{APPNAMELC}::setupActions() -{ - KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); - KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); - - KStdAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection()); - - // custom menu and menu item - KAction *custom = new KAction(i18n("Swi&tch Colors"), 0, - m_view, TQT_SLOT(switchColors()), - actionCollection(), "switch_action"); - - setupGUI(); -} - -void %{APPNAMELC}::newToolbarConfig() -{ - // this slot is called when user clicks "Ok" or "Apply" in the toolbar editor. - // recreate our GUI, and re-apply the settings (e.g. "text under icons", etc.) - setupGUI(); -} - -void %{APPNAMELC}::optionsPreferences() -{ - // The preference dialog is derived from prefs-base.ui which is subclassed into Prefs - // - // compare the names of the widgets in the .ui file - // to the names of the variables in the .kcfg file - TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow); - dialog->addPage(new Prefs(), i18n("General"), "package_settings"); - connect(dialog, TQT_SIGNAL(settingsChanged()), m_view, TQT_SLOT(settingsChanged())); - dialog->show(); -} - -void %{APPNAMELC}::changeCaption(const TQString& text) -{ - // display the text on the caption - setCaption(text); -} - -void %{APPNAMELC}::changeStatusbar(const TQString& text) -{ - // display the text on the statusbar - statusBar()->message(text); -} - -void %{APPNAMELC}::fileNew() -{ - // this slot is called whenever the File->New menu is selected, - // the New shortcut is pressed (usually CTRL+N) or the New toolbar - // button is clicked - - // create a new window - (new %{APPNAMELC})->show(); -} - -#include "%{APPNAMELC}.moc" - diff --git a/languages/cpp/app_templates/kconfig35/app.desktop b/languages/cpp/app_templates/kconfig35/app.desktop deleted file mode 100644 index 5beccc5d..00000000 --- a/languages/cpp/app_templates/kconfig35/app.desktop +++ /dev/null @@ -1,40 +0,0 @@ -[Desktop Entry] -Name=%{APPNAME} -Exec=%{APPNAMELC} -Icon=%{APPNAMELC} -Type=Application -Comment=A simple TDE Application -Comment[br]=Ur meziant eeun evit TDE -Comment[ca]=Una simple aplicació per al TDE -Comment[da]=Et simpelt TDE program -Comment[de]=Eine einfache TDE-Anwendung -Comment[el]=Μια απλή εφαρμογή του TDE -Comment[es]=Una aplicación de TDE sencilla -Comment[et]=Lihtne TDE rakendus -Comment[eu]=TDE aplikazio simple bat -Comment[fa]=یک کاربرد سادۀ TDE -Comment[fr]=Une application simple pour TDE -Comment[ga]=Feidhmchlár Simplí TDE -Comment[gl]=Unha aplicación TDE sinxela -Comment[hi]=एक सादा केडीई अनुप्रयोग -Comment[hu]=Egyszerű TDE-alkalmazás -Comment[is]=Einfalt TDE forrit -Comment[it]=Una semplice applicazione TDE -Comment[ja]=簡単な TDE アプリケーション -Comment[nds]=En eenfach TDE-Programm -Comment[ne]=एउटा साधारण केडीई अनुप्रयोग -Comment[nl]=Een eenvoudige TDE-toepassing -Comment[pl]=Prosty program TDE -Comment[pt]=Uma aplicação simples do TDE -Comment[pt_BR]=Um simples Aplicativo do TDE -Comment[ru]=Простое приложение TDE -Comment[sk]=Jednoduchá TDE aplikácia -Comment[sl]=Preprost program za TDE -Comment[sr]=Једноставан TDE програм -Comment[sr@Latn]=Jednostavan TDE program -Comment[sv]=Ett enkelt TDE-program -Comment[ta]=ஒரு சாதாரண கெடிஇ பயன்பாடு -Comment[tg]=Гузориши оддиTDE -Comment[tr]=Basit bir TDE Uygulaması -Comment[zh_CN]=一个简单的 TDE 应用程序 -Comment[zh_TW]=簡單的 TDE 應用程式 diff --git a/languages/cpp/app_templates/kconfig35/app.h b/languages/cpp/app_templates/kconfig35/app.h deleted file mode 100644 index c1aac7e4..00000000 --- a/languages/cpp/app_templates/kconfig35/app.h +++ /dev/null @@ -1,61 +0,0 @@ -%{H_TEMPLATE} - -#ifndef _%{APPNAMEUC}_H_ -#define _%{APPNAMEUC}_H_ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#include - -#include "%{APPNAMELC}view.h" - -class KPrinter; -class KURL; - -/** - * This class serves as the main window for %{APPNAME}. It handles the - * menus, toolbars, and status bars. - * - * @short Main window class - * @author %{AUTHOR} <%{EMAIL}> - * @version %{VERSION} - */ -class %{APPNAMELC} : public KMainWindow -{ - Q_OBJECT - -public: - /** - * Default Constructor - */ - %{APPNAMELC}(); - - /** - * Default Destructor - */ - virtual ~%{APPNAMELC}(); - -private slots: - - void fileNew(); - void optionsPreferences(); - void newToolbarConfig(); - - void changeStatusbar(const TQString& text); - void changeCaption(const TQString& text); - -private: - - void setupActions(); - -private: - %{APPNAMELC}View *m_view; - - KPrinter *m_printer; -}; - -#endif // _%{APPNAMEUC}_H_ - diff --git a/languages/cpp/app_templates/kconfig35/app.kcfg b/languages/cpp/app_templates/kconfig35/app.kcfg deleted file mode 100644 index 686f25f2..00000000 --- a/languages/cpp/app_templates/kconfig35/app.kcfg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - black - - - - yellow - - - - 2 - - - diff --git a/languages/cpp/app_templates/kconfig35/app.tdevelop b/languages/cpp/app_templates/kconfig35/app.tdevelop deleted file mode 100644 index 6a53f237..00000000 --- a/languages/cpp/app_templates/kconfig35/app.tdevelop +++ /dev/null @@ -1,168 +0,0 @@ - - - - %{AUTHOR} - %{EMAIL} - %{VERSION} - KDevTDEAutoProject - C++ - - C++ - Code - Qt - TDE - - . - false - - - - - - 3 - true - 3 - EmbeddedKDevDesigner - - - - - src/%{APPNAMELC} - debug - - - src/%{APPNAMELC} - false - - - - - - - false - 1 - false - - - - - optimized - kdevgccoptions - kdevgppoptions - kdevg77options - -O2 -g0 - - - --enable-debug=full - debug - kdevgccoptions - kdevgppoptions - kdevg77options - -O0 -g3 - - - - - - - - - - - - - false - *.o,*.lo,CVS - - - - - ada - ada_bugs_gcc - bash - bash_bugs - clanlib - w3c-dom-level2-html - fortran_bugs_gcc - gnome1 - gnustep - gtk - gtk_bugs - haskell - haskell_bugs_ghc - java_bugs_gcc - java_bugs_sun - pascal_bugs_fp - php - php_bugs - perl - perl_bugs - python - python_bugs - ruby - ruby_bugs - sdl - w3c-svg - sw - w3c-uaag10 - wxwidgets_bugs - - - qmake User Guide - - - - - libtool - - - true - false - false - true - - - false - true - - - - - - - - - - - - -f - - -dP - - -f - -u3 -p - - - - - - - false - - - .h - .cpp - true - - - - true - 2 - - - - Doxygen Documentation Collection - %{APPNAMELC}.tag - - - diff --git a/languages/cpp/app_templates/kconfig35/appui.rc b/languages/cpp/app_templates/kconfig35/appui.rc deleted file mode 100644 index 06549878..00000000 --- a/languages/cpp/app_templates/kconfig35/appui.rc +++ /dev/null @@ -1,8 +0,0 @@ - - - - &Move - - - - diff --git a/languages/cpp/app_templates/kconfig35/appview.cpp b/languages/cpp/app_templates/kconfig35/appview.cpp deleted file mode 100644 index 30d627fe..00000000 --- a/languages/cpp/app_templates/kconfig35/appview.cpp +++ /dev/null @@ -1,41 +0,0 @@ -%{CPP_TEMPLATE} - -#include "%{APPNAMELC}view.h" -#include "settings.h" - -#include -#include - -%{APPNAMELC}View::%{APPNAMELC}View(TQWidget *parent) - : %{APPNAMELC}view_base(parent) -{ - settingsChanged(); -} - -%{APPNAMELC}View::~%{APPNAMELC}View() -{ - -} - -void %{APPNAMELC}View::switchColors() -{ - // switch the foreground/background colors of the label - TQColor color = Settings::col_background(); - Settings::setCol_background( Settings::col_foreground() ); - Settings::setCol_foreground( color ); - - settingsChanged(); -} - -void %{APPNAMELC}View::settingsChanged() -{ - sillyLabel->setPaletteBackgroundColor( Settings::col_background() ); - sillyLabel->setPaletteForegroundColor( Settings::col_foreground() ); - - // i18n : internationalization - sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) ); - emit signalChangeStatusbar( i18n("Settings changed") ); -} - -#include "%{APPNAMELC}view.moc" - diff --git a/languages/cpp/app_templates/kconfig35/appview.h b/languages/cpp/app_templates/kconfig35/appview.h deleted file mode 100644 index a486ec43..00000000 --- a/languages/cpp/app_templates/kconfig35/appview.h +++ /dev/null @@ -1,53 +0,0 @@ -%{H_TEMPLATE} - -#ifndef _%{APPNAMEUC}VIEW_H_ -#define _%{APPNAMEUC}VIEW_H_ - -#include - -#include "%{APPNAMELC}view_base.h" - -class TQPainter; -class KURL; - -/** - * This is the main view class for %{APPNAME}. Most of the non-menu, - * non-toolbar, and non-statusbar (e.g., non frame) GUI code should go - * here. - * - * @short Main view - * @author %{AUTHOR} <%{EMAIL}> - * @version %{VERSION} - */ -class %{APPNAMELC}View : public %{APPNAMELC}view_base -{ - Q_OBJECT - -public: - /** - * Default constructor - */ - %{APPNAMELC}View(TQWidget *parent); - - /** - * Destructor - */ - virtual ~%{APPNAMELC}View(); - -signals: - /** - * Use this signal to change the content of the statusbar - */ - void signalChangeStatusbar(const TQString& text); - - /** - * Use this signal to change the content of the caption - */ - void signalChangeCaption(const TQString& text); - -private slots: - void switchColors(); - void settingsChanged(); -}; - -#endif // _%{APPNAMEUC}VIEW_H_ diff --git a/languages/cpp/app_templates/kconfig35/appview_base.ui b/languages/cpp/app_templates/kconfig35/appview_base.ui deleted file mode 100644 index 3ee8d513..00000000 --- a/languages/cpp/app_templates/kconfig35/appview_base.ui +++ /dev/null @@ -1,33 +0,0 @@ - -%{APPNAMELC}view_base - - -%{APPNAMELC}view_base - - - -0 -0 -268 -164 - - - -%{APPNAMELC}_base - - - -unnamed - - - -sillyLabel - - -hello, world - - - - - - diff --git a/languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate b/languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate deleted file mode 100644 index 3f5a2a81..00000000 --- a/languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate +++ /dev/null @@ -1,245 +0,0 @@ -# TDE Config File -[General] -Name=TDEConfig XT for TDE 3.5 -Name[ca]=TDEConfig XT per a TDE 3.5 -Name[de]=TDEConfigXT-Anwendung für TDE 3.5 -Name[el]=Εφαρμογή TDEConfig XT για το TDE 3.5 -Name[es]=TDEConfig XT para TDE 3.5 -Name[et]=TDEConfig XT TDE 3.5 jaoks -Name[fr]=Application TDEConfig XT pour TDE 3.5 -Name[hu]=TDEConfig XT a TDE 3.5-höz -Name[it]=TDEConfig XT per TDE 3.5 -Name[ja]=TDE 3.5 用 TDEConfig XT -Name[nds]=TDEConfig-XT-Programm för TDE 3.5 -Name[nl]=TDEConfig XT voor TDE 3.5 -Name[pl]=Program TDEConfig XT dla TDE 3.5 -Name[pt]=Aplicação do TDEConfig XT para o TDE 3.5 -Name[pt_BR]=Aplicação do TDEConfig XT para o TDE 3.5 -Name[ru]=Приложение TDE 3.5 с TDEConfig XT -Name[sk]=TDEConfig XT pre TDE 3.5 -Name[sr]=TDEConfig XT програм за TDE 3.5 -Name[sr@Latn]=TDEConfig XT program za TDE 3.5 -Name[sv]=TDEConfig XT för TDE 3.5 -Name[zh_TW]=TDE 3.5 的 TDEConfig XT 應用程式 -Category=C++/TDE -Icon=kxt.png -Comment=Generates a simple TDE application with one widget and a configuration dialog compatible with TDE 3.5 only -Comment[ca]=Genera una simple aplicació per al TDE amb un estri i un diàleg de configuració compatible només amb TDE 3.5. -Comment[da]=Genererer et simpelt TDE-program med en kontrol og en indstillingsdialog der kun er kompatibelt med TDE 3.5 -Comment[de]=Erstellt eine einfache TDE-Anwendung für TDE 3.5 mit einem Widget und einem Einstellungsdialog. -Comment[el]=Δημιουργεί μια απλή εφαρμογή TDE με ένα γραφικό συστατικό, ένα διάλογο ρύθμισης συμβατό μόνο με το TDE 3.5 -Comment[en_GB]=Generates a simple TDE application with one widget and a configuration dialogue compatible with TDE 3.5 only -Comment[es]=Genera una sencilla aplicación para TDE con un widget y un diálogo de configuración compatible solo con TDE 3.5 -Comment[et]=Lihtsa TDE rakenduse loomine ühe vidina ja vaid TDE 3.5-ga ühilduva seadistustedialoogiga. -Comment[fr]=Génère une application TDE simple comprenant un seul élément graphique et une boîte de dialogue de configuration compatible avec TDE 3.5 uniquement -Comment[hu]=Létrehoz egy egyszerű TDE-alkalmazást egy grafikus elemmel és egy beállítóablakkal, csak a TDE 3.5-tel kompatibilis -Comment[it]=Genera una semplice applicazione TDE con un elemento grafico e una finestra di configurazione compatibile solo con TDE 3.5 -Comment[ja]=一つのウィジェットと設定ダイアログを含む簡単な TDE アプリケーションを作成します (TDE 3.5 用) -Comment[nds]=Stellt en eenfach TDE-Programm mit een Element un en Instelldialoog op, de bloots mit TDE 3.5 kompatibel is. -Comment[nl]=Genereert een eenvoudige TDE-toepassing met één widget en een configuratiedialoog die alleen met TDE 3.5 compatible is -Comment[pl]=Generuje prosty program TDE z jednym widżetem i oknem konfiguracyjnym zgodnym z TDE 3.5 -Comment[pt]=Gera uma aplicação simples do TDE com uma janela principal e outra para configuração, apenas para o TDE 3.5 -Comment[pt_BR]=Gera uma aplicação simples do TDE com uma janela principal e outra para configuração, apenas para o TDE 3.5 -Comment[ru]=Создание простого приложения TDE с одним виджетом и диалогом конфигурации, совместимое только с TDE 3.5. -Comment[sk]=Vygeneruje jednoduchú TDE aplikáciu s jedným oknom a konfiguračným dialógom kompatibilnú len s TDE 3.5 -Comment[sr]=Прави једноставан TDE програм са једном контролом и дијалогом за подешавање, компатибилан само са TDE-ом 3.5 -Comment[sr@Latn]=Pravi jednostavan TDE program sa jednom kontrolom i dijalogom za podešavanje, kompatibilan samo sa TDE-om 3.5 -Comment[sv]=Skapar ett enkelt TDE-program med en grafisk komponent och en inställningsdialogruta, som bara fungerar med TDE 3.5 -Comment[zh_TW]=產生一個簡單的 TDE 3.5 上的應用程式,內含一個元件與一個設定對話框。 -FileTemplates=h,CStyle,cpp,CStyle -ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp,%{dest}/README -Archive=kconfig35.tar.gz - -[ADMIN] -Type=include -File=%{tdevelop}/template-common/admin.kdevtemplate - -[GNU] -Type=include -File=%{tdevelop}/template-common/gnu.kdevtemplate - -[MKDIR_DOCBOOK1] -Type=mkdir -Dir=%{dest}/doc - -[MKDIR_DOCBOOK2] -Type=mkdir -Dir=%{dest}/doc/en - -[FILE1] -Type=install -Source=%{tdevelop}/template-common/kde-doc-Makefile.am -Dest=%{dest}/doc/Makefile.am - -[FILE2] -Type=install -Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am -Dest=%{dest}/doc/en/Makefile.am - -[FILE3] -Type=install -EscapeXML=true -Source=%{tdevelop}/template-common/kde-index.docbook -Dest=%{dest}/doc/en/index.docbook - -[FILE4] -Type=install -EscapeXML=true -Source=%{src}/app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE5] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.am -Dest=%{dest}/Makefile.am - -[FILE6] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.cvs -Dest=%{dest}/Makefile.cvs - -[FILE7] -Type=install -Source=%{tdevelop}/template-common/tde-configure.in.in -Dest=%{dest}/configure.in.in - -[MkDir3] -Type=mkdir -Dir=%{dest}/src - -[FILE8] -Type=install -Source=%{tdevelop}/template-common/tde-app.desktop -Dest=%{dest}/src/%{APPNAMELC}.desktop - -[FILE9] -Type=install -Source=%{tdevelop}/template-common/kde-app.lsm -Dest=%{dest}/src/%{APPNAMELC}.lsm - -[FILE10] -Type=install -Source=%{tdevelop}/template-common/hi16-app-app.png -Dest=%{dest}/src/hi16-app-%{APPNAMELC}.png - -[FILE11] -Type=install -Source=%{tdevelop}/template-common/hi32-app-app.png -Dest=%{dest}/src/hi32-app-%{APPNAMELC}.png - -[MkDir4] -Type=mkdir -Dir=%{dest}/po - -[FILE12] -Type=install -Source=%{tdevelop}/template-common/kde-po-Makefile.am -Dest=%{dest}/po/Makefile.am - -[FILE13] -Type=install -Source=%{src}/subdirs -Dest=%{dest}/subdirs - -[FILE14] -Type=install -Source=%{src}/src-Makefile.am -Dest=%{dest}/src/Makefile.am - -[FILE15] -Type=install -Source=%{src}/app.cpp -Dest=%{dest}/src/%{APPNAMELC}.cpp - -[FILE16] -Type=install -Source=%{src}/app.h -Dest=%{dest}/src/%{APPNAMELC}.h - -[FILE17] -Type=install -EscapeXML=true -Source=%{src}/appview_base.ui -Dest=%{dest}/src/%{APPNAMELC}view_base.ui - -[FILE18] -Type=install -Source=%{src}/appview.cpp -Dest=%{dest}/src/%{APPNAMELC}view.cpp - -[FILE19] -Type=install -Source=%{src}/appview.h -Dest=%{dest}/src/%{APPNAMELC}view.h - -[FILE20] -Type=install -EscapeXML=true -Source=%{src}/prefs-base.ui -Dest=%{dest}/src/prefs-base.ui - -[FILE21] -Type=install -Source=%{src}/prefs.cpp -Dest=%{dest}/src/prefs.cpp - -[FILE22] -Type=install -Source=%{src}/prefs.h -Dest=%{dest}/src/prefs.h - -[FILE23] -Type=install -Source=%{src}/main.cpp -Dest=%{dest}/src/main.cpp - -[FILE24] -Type=install -EscapeXML=true -Source=%{src}/appui.rc -Dest=%{dest}/src/%{APPNAMELC}ui.rc - -[FILE25] -Type=install -Source=%{src}/README -Dest=%{dest}/README - -[FILE26] -Type=install -Source=%{src}/app.kcfg -Dest=%{dest}/src/%{APPNAMELC}.kcfg - -[FILE27] -Type=install -Source=%{src}/settings.kcfgc -Dest=%{dest}/src/settings.kcfgc - -[FILE28] -Type=install -Source=%{src}/src-configure.in.in -Dest=%{dest}/configure.in.in - -[MSG] -Type=message -Comment=A TDE 3.5 TDEConfig XT application was created in %{dest} -Comment[ca]=Una aplicació TDEConfig XT per al TDE ha estat creada en %{dest} -Comment[da]=Et TDE 3.5 TDEConfig XT-program blev oprettet i %{dest} -Comment[de]=Eine TDEConfig-XT-Anwendung für TDE 3.5 wurde in %{dest} erstellt. -Comment[el]=Μια εφαρμογή TDEConfig XT του TDE 3.5 δημιουργήθηκε στο %{dest} -Comment[es]=Una aplicación TDEConfig XT para TDE 3.5 ha sido creada en %{dest} -Comment[et]=TDE 3.5 TDEConfig XT rakendus loodi asukohta %{dest} -Comment[fr]=Une application TDEConfig XT pour TDE 3.5 a été créée dans %{dest} -Comment[hu]=Létrejött egy TDEConfig XT-alapú TDE 3.5-alkalmazás itt: %{dest} -Comment[it]=È stata creata un'applicazione TDEConfig XT per TDE 3.5 in %{dest} -Comment[ja]=TDE 3.5 用 TDEConfig XT アプリケーションを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en TDEConfig-XT-Programm för TDE 3.5 opstellt -Comment[nl]=Een TDE 3.5 TDEConfig XT-toepassing is aangemaakt in %{dest} -Comment[pl]=Program TDEConfig XT dla TDE 3.5 został utworzony w %{dest} -Comment[pt]=Foi criada uma aplicação do TDEConfig XT para o TDE 3.5 em %{dest} -Comment[pt_BR]=Foi criada uma aplicação do TDEConfig XT para o TDE 3.5 em %{dest} -Comment[ru]=Приложение TDE с TDEConfig XT создано в %{dest} -Comment[sk]=TDEConfig XT pre TDE 3.5 bola vytvorená v %{dest} -Comment[sr]=TDEConfig XT програм за TDE 3.5 направљен је у %{dest} -Comment[sr@Latn]=TDEConfig XT program za TDE 3.5 napravljen je u %{dest} -Comment[sv]=Ett TDE 3.5 TDEConfig XT-program skapades i %{dest} -Comment[zh_TW]=一個 TDE 3.5 上的 TDEConfig XT 應用程式已建立於 %{dest} diff --git a/languages/cpp/app_templates/kconfig35/kconfig35.png b/languages/cpp/app_templates/kconfig35/kconfig35.png deleted file mode 100644 index a3866883..00000000 Binary files a/languages/cpp/app_templates/kconfig35/kconfig35.png and /dev/null differ diff --git a/languages/cpp/app_templates/kconfig35/kxt35.png b/languages/cpp/app_templates/kconfig35/kxt35.png deleted file mode 100644 index a3866883..00000000 Binary files a/languages/cpp/app_templates/kconfig35/kxt35.png and /dev/null differ diff --git a/languages/cpp/app_templates/kconfig35/main.cpp b/languages/cpp/app_templates/kconfig35/main.cpp deleted file mode 100644 index 3c912936..00000000 --- a/languages/cpp/app_templates/kconfig35/main.cpp +++ /dev/null @@ -1,57 +0,0 @@ -%{CPP_TEMPLATE} - -#include "%{APPNAMELC}.h" -#include -#include -#include -#include - -static const char description[] = - I18N_NOOP("A TDE Application"); - -static const char version[] = "%{VERSION}"; - -static KCmdLineOptions options[] = -{ - { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, - KCmdLineLastOption -}; - -int main(int argc, char **argv) -{ - TDEAboutData about("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description, - TDEAboutData::License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}"); - about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" ); - TDECmdLineArgs::init(argc, argv, &about); - TDECmdLineArgs::addCmdLineOptions(options); - TDEApplication app; - - // see if we are starting with session management - if (app.isRestored()) - { - RESTORE(%{APPNAMELC}); - } - else - { - // no session.. just start up normally - TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); - if (args->count() == 0) - { - %{APPNAMELC} *widget = new %{APPNAMELC}; - widget->show(); - } - else - { - int i = 0; - for (; i < args->count(); i++) - { - %{APPNAMELC} *widget = new %{APPNAMELC}; - widget->show(); - } - } - args->clear(); - } - - return app.exec(); -} - diff --git a/languages/cpp/app_templates/kconfig35/prefs-base.ui b/languages/cpp/app_templates/kconfig35/prefs-base.ui deleted file mode 100644 index 03af967a..00000000 --- a/languages/cpp/app_templates/kconfig35/prefs-base.ui +++ /dev/null @@ -1,127 +0,0 @@ - -Prefs_base - - - Prefs_base - - - - 0 - 0 - 282 - 156 - - - - - unnamed - - - - textLabel2_2 - - - Background color: - - - - - kcfg_col_background - - - - - - - - textLabel1 - - - Project age: - - - - - textLabel2 - - - Foreground color: - - - - - kcfg_col_foreground - - - - - - - - spacer1 - - - Horizontal - - - Expanding - - - - 41 - 20 - - - - - - spacer2 - - - Horizontal - - - Expanding - - - - 41 - 20 - - - - - - kcfg_val_time - - - 1 - - - 2 - - - - - spacer3 - - - Horizontal - - - Expanding - - - - 41 - 20 - - - - - - - - kcolorbutton.h - - diff --git a/languages/cpp/app_templates/kconfig35/prefs.cpp b/languages/cpp/app_templates/kconfig35/prefs.cpp deleted file mode 100644 index e7a46ddf..00000000 --- a/languages/cpp/app_templates/kconfig35/prefs.cpp +++ /dev/null @@ -1,12 +0,0 @@ -%{CPP_TEMPLATE} - -#include "prefs.h" -#include - -Prefs::Prefs() - : Prefs_base() -{ -// debugging : -// kdWarning()<<"creating a pref dialog"< rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/%{APPNAMELC}.pot - -KDE_ICON = AUTO - -# this is where the kdelnk file will go -kdelnkdir = $(kde_appsdir)/Utilities -kdelnk_DATA = %{APPNAMELC}.desktop - -# this is where the XML-GUI resource file goes -rcdir = $(kde_datadir)/%{APPNAMELC} -rc_DATA = %{APPNAMELC}ui.rc diff --git a/languages/cpp/app_templates/kconfig35/src-configure.in.in b/languages/cpp/app_templates/kconfig35/src-configure.in.in deleted file mode 100644 index 1f29bc08..00000000 --- a/languages/cpp/app_templates/kconfig35/src-configure.in.in +++ /dev/null @@ -1,7 +0,0 @@ - -#MIN_CONFIG(3.2.0) - -AM_INIT_AUTOMAKE(%{APPNAMELC}, %{VERSION}) -AC_C_BIGENDIAN -AC_CHECK_TDEMAXPATHLEN - diff --git a/languages/cpp/app_templates/kconfig35/subdirs b/languages/cpp/app_templates/kconfig35/subdirs deleted file mode 100644 index 0e678106..00000000 --- a/languages/cpp/app_templates/kconfig35/subdirs +++ /dev/null @@ -1,3 +0,0 @@ -doc -po -src diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp index d2e09025..5320898d 100644 --- a/languages/cpp/app_templates/kde4app/kapp4.cpp +++ b/languages/cpp/app_templates/kde4app/kapp4.cpp @@ -7,7 +7,7 @@ #include #include -#include +#include #include #include diff --git a/languages/cpp/app_templates/kde4app/settings.kcfgc b/languages/cpp/app_templates/kde4app/settings.kcfgc index 384510cd..402fad09 100644 --- a/languages/cpp/app_templates/kde4app/settings.kcfgc +++ b/languages/cpp/app_templates/kde4app/settings.kcfgc @@ -1,4 +1,4 @@ -# Code generation options for kconfig_compiler +# Code generation options for tdeconfig_compiler File=%{APPNAMELC}.kcfg ClassName=Settings Singleton=true diff --git a/languages/cpp/app_templates/kdecpp.appwizard b/languages/cpp/app_templates/kdecpp.appwizard index 1823e891..14bcbeaa 100644 --- a/languages/cpp/app_templates/kdecpp.appwizard +++ b/languages/cpp/app_templates/kdecpp.appwizard @@ -1,2 +1,2 @@ [General] -List=kdedcop,kioslave,kxt,kdevlang,kmake,kapp,kconfig35,kdevlang,kdevpart,kateplugin,kdevpart2,kopart,noatunui,kateplugin2,kfileplugin,konqnavpanel,noatunvisual,dcopservice,khello,kpartapp,khello2,kpartplugin,tdecmodule,kicker,tdescreensaver,kscons_kxt,kscons_tdemdi +List=kdedcop,tdeioslave,kxt,kdevlang,kmake,kapp,tdeconfig35,kdevlang,kdevpart,kateplugin,kdevpart2,kopart,noatunui,kateplugin2,tdefileplugin,konqnavpanel,noatunvisual,dcopservice,khello,kpartapp,khello2,kpartplugin,tdecmodule,kicker,tdescreensaver,kscons_kxt,kscons_tdemdi diff --git a/languages/cpp/app_templates/kfileplugin/.kdev_ignore b/languages/cpp/app_templates/kfileplugin/.kdev_ignore deleted file mode 100644 index e69de29b..00000000 diff --git a/languages/cpp/app_templates/kfileplugin/CMakeLists.txt b/languages/cpp/app_templates/kfileplugin/CMakeLists.txt deleted file mode 100644 index fb3aab6b..00000000 --- a/languages/cpp/app_templates/kfileplugin/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -add_custom_target( kfileplugin.tar.gz ALL - COMMAND tar zcf kfileplugin.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - README.devel kfile_plugin.cpp kfile_plugin.desktop - kfile_plugin.h plugin.tdevelop kfileplugin kfileplugin.png - src-Makefile.am subdirs -) - - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/kfileplugin.tar.gz kfileplugin.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) - - -install( FILES - kfileplugin.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kfileplugin/Makefile.am b/languages/cpp/app_templates/kfileplugin/Makefile.am deleted file mode 100644 index 97f8a748..00000000 --- a/languages/cpp/app_templates/kfileplugin/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -dataFiles = README.devel kfile_plugin.cpp kfile_plugin.desktop \ - kfile_plugin.h plugin.tdevelop kfileplugin kfileplugin.png \ - src-Makefile.am subdirs -templateName = kfileplugin - -### 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/kfileplugin/README.devel b/languages/cpp/app_templates/kfileplugin/README.devel deleted file mode 100644 index 21ee67c7..00000000 --- a/languages/cpp/app_templates/kfileplugin/README.devel +++ /dev/null @@ -1,9 +0,0 @@ -@todo: - -1. add information to src/kfile_%{APPNAMELC}.desktop -MimeType= -PreferredGroups= -PreferredItems= - -2. plugin -Note: Please change to "Optimized" compilation if you want to make a release. diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp b/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp deleted file mode 100644 index db259cb3..00000000 --- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp +++ /dev/null @@ -1,55 +0,0 @@ -%{CPP_TEMPLATE} - -#include -#include "kfile_%{APPNAMELC}.h" - -#include -//#include - -//#include -//#include - -typedef KGenericFactory<%{APPNAME}Plugin> %{APPNAME}Factory; - -K_EXPORT_COMPONENT_FACTORY(kfile_%{APPNAME}, %{APPNAME}Factory( "kfile_%{APPNAMELC}" )) - -%{APPNAME}Plugin::%{APPNAME}Plugin(TQObject *parent, const char *name, - const TQStringList &args) - : KFilePlugin(parent, name, args) -{ - //add the mimetype here - example: - //KFileMimeTypeInfo* info = addMimeTypeInfo( "text/html" ); - KFileMimeTypeInfo* info = addMimeTypeInfo( "text/html" ); - - // our new group - KFileMimeTypeInfo::GroupInfo* group = 0L; - group = addGroupInfo(info, "%{APPNAME}Info", i18n("%{APPNAME} Information")); - - KFileMimeTypeInfo::ItemInfo* item; - - // our new items in the group - item = addItemInfo(group, "Items", i18n("Items"), TQVariant::Int); - item = addItemInfo(group, "Size", i18n("Size"), TQVariant::Int); - setUnit(item, KFileMimeTypeInfo::KiloBytes); - - // strings are possible, too: - //addItemInfo(group, "Text", i18n("Document Type"), TQVariant::String); -} - -bool %{APPNAME}Plugin::readInfo( KFileMetaInfo& info, uint /*what*/) -{ - KFileMetaInfoGroup group = appendGroup(info, "%{APPNAME}Info"); - - // add your "calculations" here - // if something goes wrong, "return false;" - - - // and finally display it! - appendItem(group, "Items", 100); - appendItem(group, "Size", int(5000/1024)); - - return true; -} - -#include "kfile_%{APPNAMELC}.moc" - diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.desktop b/languages/cpp/app_templates/kfileplugin/kfile_plugin.desktop deleted file mode 100644 index 8a2f40ee..00000000 --- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.desktop +++ /dev/null @@ -1,39 +0,0 @@ -[Desktop Entry] -Type=Service -Name=%{APPNAME} Info -Name[br]=Titouriñ diwar-benn %{APPNAME} -Name[ca]=Informació per a %{APPNAME} -Name[da]=%{APPNAME} info -Name[el]=Πληροφορίες %{APPNAME} -Name[es]=Información de %{APPNAME} -Name[et]=%{APPNAME} info -Name[eu]=%{APPNAME} informazioa -Name[fa]=اطلاعات %{APPNAME} -Name[fr]=Informations sur %{APPNAME} -Name[ga]=Eolas faoi %{APPNAME} -Name[gl]=Información de %{APPNAME} -Name[hu]=%{APPNAME} jellemzői -Name[it]=Informazioni su %{APPNAME} -Name[nds]=%{APPNAME}-Info -Name[ne]=%{APPNAME} सूचना -Name[pl]=Informacje dla %{APPNAME} -Name[pt]=Informação do %{APPNAME} -Name[pt_BR]=Informações de %{APPNAME} -Name[ru]=Информация о %{APPNAME} -Name[sk]=%{APPNAME} info -Name[sl]=Informacije o %{APPNAME} -Name[sr]=Информације за %{APPNAME} -Name[sr@Latn]=Informacije za %{APPNAME} -Name[sv]=%{APPNAME} information -Name[ta]=%{APPNAME} தகவல் -Name[tg]=Маълумот дар бораи %{APPNAME} -Name[zh_CN]=%{APPNAME}的信息 -Name[zh_TW]=%{APPNAME} 資訊 -ServiceTypes=KFilePlugin -X-TDE-Library=kfile_%{APPNAMELC} -# change MimeType here! (example: inode/directory) -MimeType= -# change PreferredGroups here! (example: FolderInfo) -PreferredGroups= -# change PreferredItems here! (example: Items;Size) -PreferredItems= diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h deleted file mode 100644 index 50db1252..00000000 --- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h +++ /dev/null @@ -1,25 +0,0 @@ -%{H_TEMPLATE} - -#ifndef __KFILE_%{APPNAMEUC}_H__ -#define __KFILE_%{APPNAMEUC}_H__ - -/** - * Note: For further information look into <$TDEDIR/include/kfilemetainfo.h> - */ -#include - -class TQStringList; - -class %{APPNAME}Plugin: public KFilePlugin -{ - Q_OBJECT - - -public: - %{APPNAME}Plugin( TQObject *parent, const char *name, const TQStringList& args ); - - virtual bool readInfo( KFileMetaInfo& info, uint what); -}; - -#endif // __KFILE_%{APPNAMEUC}_H__ - diff --git a/languages/cpp/app_templates/kfileplugin/kfileplugin b/languages/cpp/app_templates/kfileplugin/kfileplugin deleted file mode 100644 index a17a7af0..00000000 --- a/languages/cpp/app_templates/kfileplugin/kfileplugin +++ /dev/null @@ -1,8 +0,0 @@ -# TDE Config File -[General] -Name=KFile plugin -Icon=kfileplugin.png -Category=C++/TDE -Comment=Generates a KFile plugin for konqueror to display meta information. -FileTemplates=h,CStyle,cpp,CStyle -ShowFilesAfterGeneration=README.devel,src/kfile_APPNAMELC.cpp diff --git a/languages/cpp/app_templates/kfileplugin/kfileplugin.kdevtemplate b/languages/cpp/app_templates/kfileplugin/kfileplugin.kdevtemplate deleted file mode 100644 index 762ca3b8..00000000 --- a/languages/cpp/app_templates/kfileplugin/kfileplugin.kdevtemplate +++ /dev/null @@ -1,166 +0,0 @@ -# TDE Config File -[General] -Name=KFile plugin -Name[br]=Lugent KFile -Name[ca]=Connector KFile -Name[de]=KFile-Modul -Name[el]=Πρόσθετο KFile -Name[es]=Complemento para KFile -Name[et]=KFile'i plugin -Name[eu]=KFile plugin-a -Name[fa]=وصلۀ KFile -Name[fr]=Module externe KFile -Name[ga]=Breiseán KFile -Name[gl]=Extensión para KFile -Name[hu]=KFile-bővítőmodul -Name[it]=Plugin KFile -Name[ja]=KFile プラグイン -Name[nds]=KFile-Moduul -Name[ne]=केडीई फाइल प्लगइन -Name[nl]=KFile-plugin -Name[pl]=Wtyczka do KFile -Name[pt]='Plugin' do KFile -Name[pt_BR]='Plugin' do KFile -Name[ru]=Модуль KFile -Name[sk]=KFile modul -Name[sl]=Vstavek za KFile -Name[sr]=Прикључак за KFile -Name[sr@Latn]=Priključak za KFile -Name[sv]=KFile-insticksprogram -Name[tr]=KFile Eklentisi -Name[zh_CN]=KFile 插件 -Name[zh_TW]=KFile 外掛程式 -Icon=kfileplugin.png -Category=C++/TDE -Comment=Generates a KFile plugin for konqueror to display meta information. -Comment[ca]=Genera un connector KFile per al konqueror per a mostrar meta informació. -Comment[da]=Genererer et KFile-plugin for konqueror til at vise meta-information. -Comment[de]=Erstellt ein KFile-Modul für Konqueror zur Anzeige von Meta-Daten. -Comment[el]=Δημιουργεί ένα πρόσθετο KFile για την εμφάνιση μεταπληροφοριών στον konqueror. -Comment[es]=Genera un complemento de KFile para Konqueror que muestra metainformación. -Comment[et]=Konquerori KFile'i plugina loomine, mis näitab metainfot. -Comment[eu]=Meta-informazioa bistaratzeko Konqueror-en KFile plugin bat sortzen du. -Comment[fa]=یک وصلۀ KFile برای konqueror جهت نمایش فرااطلاعات تولید می‌کند. -Comment[fr]=Génère un module externe KFile pour que Konqueror affiche des méta-informations. -Comment[gl]=Xera unha extensión para KFile para permitir a konqueror mostrar metainformación. -Comment[hu]=Létrehoz egy KFile-bővítőmodult, mellyel a Konquerorban dokumentumjellemzőket lehet megjeleníteni. -Comment[it]=Genera un plugin KFile per Konqueror per mostrare meta informazioni. -Comment[nds]=Stellt en KFile-Moduul för Konqueror op, dat Metadaten wiest. -Comment[ne]=मेटा सूचना देखाउन कन्क्वेररका लागि केडीई फाइल प्लगइन उत्पन्न गर्दछ । -Comment[nl]=Genereert een KFile-plugin voor konqueror voor het weergeven van meta-informatie. -Comment[pl]=Generuje wtyczkę KFile dla Konquerora do wyświetlania informacji meta. -Comment[pt]=Gera um 'plugin' do KFile para o Konqueror poder mostrar meta-informações. -Comment[pt_BR]=Gera um 'plugin' do KFile para o Konqueror poder mostrar meta-informações. -Comment[ru]=Создание модуля KFile для показа метаданных в Konqueror. -Comment[sk]=Vygeneruje KFile modul pre konqueror na zobrazenie meta informácií. -Comment[sr]=Прави прикључак за KFile за приказ метаинформација у Konqueror-у. -Comment[sr@Latn]=Pravi priključak za KFile za prikaz metainformacija u Konqueror-u. -Comment[sv]=Skapar ett KFile-insticksprogram till Konqueror för att visa metainformation. -Comment[tr]=Meta bilgisini göstermesi için Konqueror'a bir KFile eklentisi yaratır. -Comment[zh_CN]=生成一个可显示元信息的 Konqueror KFile 插件。 -Comment[zh_TW]=產生一個 Konqueror 的 KFile 外掛程式,顯示中繼資訊 -FileTemplates=h,CStyle,cpp,CStyle -ShowFilesAfterGeneration=${dest}/README.devel,%{dest}/src/kfile_%{APPNAMELC}.cpp -Archive=kfileplugin.tar.gz - -[ADMIN] -Type=include -File=%{tdevelop}/template-common/admin.kdevtemplate - -[GNU] -Type=include -File=%{tdevelop}/template-common/gnu.kdevtemplate - -[MKDIR_DOCBOOK1] -Type=mkdir -Dir=%{dest}/doc - -[MKDIR_DOCBOOK2] -Type=mkdir -Dir=%{dest}/doc/en - -[FILE1] -Type=install -Source=%{tdevelop}/template-common/kde-doc-Makefile.am -Dest=%{dest}/doc/Makefile.am - -[FILE2] -Type=install -Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am -Dest=%{dest}/doc/en/Makefile.am - -[FILE3] -Type=install -EscapeXML=true -Source=%{tdevelop}/template-common/kde-index.docbook -Dest=%{dest}/doc/en/index.docbook - -[FILE4] -Type=install -EscapeXML=true -Source=%{src}/plugin.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE5] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.cvs -Dest=%{dest}/Makefile.cvs - -[FILE6] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.am -Dest=%{dest}/Makefile.am - -[FILE7] -Type=install -Source=%{tdevelop}/template-common/tde-configure.in.in -Dest=%{dest}/configure.in.in - -[MkDir3] -Type=mkdir -Dir=%{dest}/src - -[FILE8] -Type=install -Source=%{tdevelop}/template-common/kde-app.lsm -Dest=%{dest}/src/%{APPNAMELC}.lsm - -[MkDir4] -Type=mkdir -Dir=%{dest}/po - -[FILE9] -Type=install -Source=%{tdevelop}/template-common/kde-po-Makefile.am -Dest=%{dest}/po/Makefile.am - -[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}/kfile_plugin.desktop -Dest=%{dest}/src/kfile_%{APPNAMELC}.desktop - -[FILE13] -Type=install -Source=%{src}/kfile_plugin.cpp -Dest=%{dest}/src/kfile_%{APPNAMELC}.cpp - -[FILE14] -Type=install -Source=%{src}/kfile_plugin.h -Dest=%{dest}/src/kfile_%{APPNAMELC}.h - -[FILE15] -Type=install -Source=%{src}/README.devel -Dest=%{dest}/README.devel - diff --git a/languages/cpp/app_templates/kfileplugin/kfileplugin.png b/languages/cpp/app_templates/kfileplugin/kfileplugin.png deleted file mode 100644 index d2a56245..00000000 Binary files a/languages/cpp/app_templates/kfileplugin/kfileplugin.png and /dev/null differ diff --git a/languages/cpp/app_templates/kfileplugin/plugin.tdevelop b/languages/cpp/app_templates/kfileplugin/plugin.tdevelop deleted file mode 100644 index 2414a429..00000000 --- a/languages/cpp/app_templates/kfileplugin/plugin.tdevelop +++ /dev/null @@ -1,114 +0,0 @@ - - - - %{AUTHOR} - %{EMAIL} - %{VERSION} - KDevTDEAutoProject - C++ - - C++ - Code - Qt - TDE - - - - - 3 - true - 3 - EmbeddedKDevDesigner - - - - - - src/kfile_%{APPNAMELC}.la - debug - - - - optimized - kdevgccoptions - kdevgppoptions - kdevg77options - -O2 -g0 - - - --enable-debug=full - debug - kdevgccoptions - kdevgppoptions - kdevg77options - -O0 -g3 - - - - - - - - - - - - - - - ada - ada_bugs_gcc - bash - bash_bugs - clanlib - fortran_bugs_gcc - gnome1 - gnustep - gtk - gtk_bugs - haskell - haskell_bugs_ghc - java_bugs_gcc - java_bugs_sun - opengl - pascal_bugs_fp - php - php_bugs - perl - perl_bugs - python - python_bugs - ruby - ruby_bugs - sdl - stl - sw - w3c-dom-level2-html - w3c-svg - w3c-uaag10 - wxwidgets_bugs - - - qmake User Guide - - - - - libtool - - - - - - - - - - - - - Doxygen Documentation Collection - %{APPNAMELC}.tag - - - diff --git a/languages/cpp/app_templates/kfileplugin/src-Makefile.am b/languages/cpp/app_templates/kfileplugin/src-Makefile.am deleted file mode 100644 index 6d6bb859..00000000 --- a/languages/cpp/app_templates/kfileplugin/src-Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -## Makefile.am for folder file meta info plugin - -INCLUDES = $(all_includes) - -# these are the headers for your project -noinst_HEADERS = kfile_%{APPNAMELC}.h - -kde_module_LTLIBRARIES = kfile_%{APPNAMELC}.la - -kfile_%{APPNAMELC}_la_SOURCES = kfile_%{APPNAMELC}.cpp -kfile_%{APPNAMELC}_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KPARTS) $(LIB_KIO) -kfile_%{APPNAMELC}_la_LIBADD = $(LIB_KIO) - -# let automoc handle all of the meta source files ((moc)) -METASOURCES = AUTO - -services_DATA = kfile_%{APPNAMELC}.desktop -servicesdir = $(kde_servicesdir) - -messages: rc.cpp - $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/kfile_%{APPNAMELC}.pot diff --git a/languages/cpp/app_templates/kfileplugin/subdirs b/languages/cpp/app_templates/kfileplugin/subdirs deleted file mode 100644 index 0e678106..00000000 --- a/languages/cpp/app_templates/kfileplugin/subdirs +++ /dev/null @@ -1,3 +0,0 @@ -doc -po -src diff --git a/languages/cpp/app_templates/kicker/applet.cpp b/languages/cpp/app_templates/kicker/applet.cpp index 8db1939e..78558f78 100644 --- a/languages/cpp/app_templates/kicker/applet.cpp +++ b/languages/cpp/app_templates/kicker/applet.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include diff --git a/languages/cpp/app_templates/kicker/applet.h b/languages/cpp/app_templates/kicker/applet.h index ba7157a3..7d272743 100644 --- a/languages/cpp/app_templates/kicker/applet.h +++ b/languages/cpp/app_templates/kicker/applet.h @@ -9,7 +9,7 @@ #include #include -#include +#include class %{APPNAME} : public KPanelApplet diff --git a/languages/cpp/app_templates/kioslave/.kdev_ignore b/languages/cpp/app_templates/kioslave/.kdev_ignore deleted file mode 100644 index e69de29b..00000000 diff --git a/languages/cpp/app_templates/kioslave/CMakeLists.txt b/languages/cpp/app_templates/kioslave/CMakeLists.txt deleted file mode 100644 index c0f70115..00000000 --- a/languages/cpp/app_templates/kioslave/CMakeLists.txt +++ /dev/null @@ -1,26 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -add_custom_target( kioslave.tar.gz ALL - COMMAND tar zcf kioslave.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - slave.cpp slave.h slave.protocol slave.tdevelop - src-Makefile.am kioslave.png subdirs -) - - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/kioslave.tar.gz kioslave.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) - - -install( FILES - kioslave.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/kioslave/Makefile.am b/languages/cpp/app_templates/kioslave/Makefile.am deleted file mode 100644 index 1d9a8224..00000000 --- a/languages/cpp/app_templates/kioslave/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -dataFiles = slave.cpp slave.h slave.protocol slave.tdevelop \ - src-Makefile.am kioslave.png subdirs -templateName = kioslave - -### 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/kioslave/kioslave.kdevtemplate b/languages/cpp/app_templates/kioslave/kioslave.kdevtemplate deleted file mode 100644 index a49c36f8..00000000 --- a/languages/cpp/app_templates/kioslave/kioslave.kdevtemplate +++ /dev/null @@ -1,183 +0,0 @@ -# TDE Config File -[General] -Name=KIO slave -Name[br]=Sklav KIO -Name[ca]=Esclau KIO -Name[da]=KIO-slave -Name[de]=Ein-/Ausgabemodul -Name[el]=Υπηρέτης KIO -Name[es]=Esclavo KIO -Name[et]=KIO-moodul -Name[eu]=KIO morroia -Name[fr]=Esclave KIO -Name[ga]=Sclábhaí KIO -Name[gl]=Escravo KIO -Name[hu]=TDE-protokoll (KIOslave) -Name[it]=Slave KIO -Name[nds]=In-/Utgaavmoduul -Name[ne]=KIO स्लेभ -Name[nl]=KIO-slave -Name[pt]=KIO Slave -Name[sk]=KIO otrok -Name[sv]=I/O-slav -Icon=kioslave.png -Category=C++/TDE -Comment=Generates a framework for an IO slave -Comment[ca]=Genera una infraestructura per a un esclau IO -Comment[da]=Genererer et skelet for en IO-slave -Comment[de]=Erstellt das Grundgerüst für ein Ein-/Ausgabemodul. -Comment[el]=Δημιουργεί ένα πλαίσιο για έναν υπηρέτη IO -Comment[es]=Genera una infraestructura para un esclavo de E/S -Comment[et]=IO-mooduli raamistiku loomine -Comment[eu]=IO morroi baterako lan-marko bat sortzen du -Comment[fa]=چارچوبی برای یک IO slave تولید می‌کند -Comment[fr]=Génère une infrastructure pour un esclave d'entrée / sortie -Comment[ga]=Cruthaíonn sé seo creatlach le haghaidh sclábhaí IO -Comment[gl]=Xera un contorno de traballo para un escravo IO -Comment[hu]=Létrehoz egy kiindulási keretprogramot KIOslave készítéséhez -Comment[it]=Genera l'infrastruttura per uno slave di I/O -Comment[ja]=IO slave のフレームワークを作成します -Comment[nds]=Stellt dat Rahmenwark för en In-/Utgaavmoduul op -Comment[ne]=IO स्लेभका लागि फ्रेमवर्क उत्पन्न गर्दछ -Comment[nl]=Genereert een framework voor een IO-slave -Comment[pl]=Generuje szablon dla IO slave -Comment[pt]=Gera a plataforma para um 'IO slave' -Comment[pt_BR]=Gera a plataforma para um 'IO slave' -Comment[ru]=Создание канала IO slave для TDE -Comment[sk]=Vygeneruje framework pre IO otroka -Comment[sr]=Прави радни оквир за IO slave -Comment[sr@Latn]=Pravi radni okvir za IO slave -Comment[sv]=Skapar ett ramverk för en I/O-slav -Comment[zh_CN]=生成一个 IO slave 的框架 -Comment[zh_TW]=產生一個 IO slave 的框架 -FileTemplates=h,CStyle,cpp,CStyle -ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp -Archive=kioslave.tar.gz - -[ADMIN] -Type=include -File=%{tdevelop}/template-common/admin.kdevtemplate - -[GNU] -Type=include -File=%{tdevelop}/template-common/gnu.kdevtemplate - -[MKDIR_DOCBOOK1] -Type=mkdir -Dir=%{dest}/doc - -[MKDIR_DOCBOOK2] -Type=mkdir -Dir=%{dest}/doc/en - -[FILE1] -Type=install -Source=%{tdevelop}/template-common/kde-doc-Makefile.am -Dest=%{dest}/doc/Makefile.am - -[FILE2] -Type=install -Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am -Dest=%{dest}/doc/en/Makefile.am - -[FILE3] -Type=install -EscapeXML=true -Source=%{tdevelop}/template-common/kde-index.docbook -Dest=%{dest}/doc/en/index.docbook - -[FILE4] -Type=install -EscapeXML=true -Source=%{src}/slave.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[MkDir3] -Type=mkdir -Dir=%{dest}/src - -[FILE5] -Type=install -Source=%{tdevelop}/template-common/kde-app.lsm -Dest=%{dest}/src/%{APPNAMELC}.lsm - -[MkDir4] -Type=mkdir -Dir=%{dest}/po - -[FILE6] -Type=install -Source=%{tdevelop}/template-common/kde-po-Makefile.am -Dest=%{dest}/po/Makefile.am - -[FILE7] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.am -Dest=%{dest}/Makefile.am - -[FILE8] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.cvs -Dest=%{dest}/Makefile.cvs - -[FILE9] -Type=install -Source=%{tdevelop}/template-common/tde-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}/slave.cpp -Dest=%{dest}/src/%{APPNAMELC}.cpp - -[FILE13] -Type=install -Source=%{src}/slave.h -Dest=%{dest}/src/%{APPNAMELC}.h - -[FILE14] -Type=install -Source=%{src}/slave.protocol -Dest=%{dest}/src/%{APPNAMELC}.protocol - -[MSG] -Type=message -Comment=A KIO slave was created in %{dest} -Comment[ca]=Un esclau KIO ha estat creat en %{dest} -Comment[da]=En KIO-slave blev oprettet i %{dest} -Comment[de]=Ein Ein-/Ausgabemodul wurde in %{dest} erstellt. -Comment[el]=Ένας υπηρέτης KIO δημιουργήθηκε στο %{dest} -Comment[es]=Un esclavo KIO ha sido creado en %{dest} -Comment[et]=KIO-moodul loodi asukohta %{dest} -Comment[eu]=KIO morroi bat sortu da hemen: %{dest} -Comment[fa]=یک KIO slave در %{dest} ایجاد شد -Comment[fr]=Un esclave d'entrée / sortie a été créé dans %{dest} -Comment[ga]=Cruthaíodh sclábhaí KIO i %{dest} -Comment[gl]=Creouse un escravo KIO en %{dest} -Comment[hu]=Létrejött egy KIOslave itt: %{dest} -Comment[it]=È stato generato un slave KIO in %{dest} -Comment[ja]=KIO slave を %{dest} に作成しました。 -Comment[nds]=In %{dest} wöör en In-/Utgaavmoduul opstellt -Comment[ne]=KIO स्लेभ %{dest} मा सिर्जना गरियो -Comment[nl]=Een KIO-slave is aangemaakt in %{dest} -Comment[pl]=KIO slave został utworzony w %{dest} -Comment[pt]=Foi criado um 'KIO slave' em %{dest} -Comment[pt_BR]=Foi criado um 'KIO slave' em %{dest} -Comment[ru]=Канал KIO slave создан в %{dest} -Comment[sk]=KIO otrok bol vytvorený v %{dest} -Comment[sr]=KIO slave је направљен у %{dest} -Comment[sr@Latn]=KIO slave je napravljen u %{dest} -Comment[sv]=En I/O-slav skapades i %{dest} -Comment[tr]=Bir KIO slave'i %{dest} içinde yaratıldı. -Comment[zh_CN]=在 %{dest} 中创建了一个 KIO slave -Comment[zh_TW]=一個 KIO slave 已建立於 %{dest} diff --git a/languages/cpp/app_templates/kioslave/kioslave.png b/languages/cpp/app_templates/kioslave/kioslave.png deleted file mode 100644 index f0cd89a8..00000000 Binary files a/languages/cpp/app_templates/kioslave/kioslave.png and /dev/null differ diff --git a/languages/cpp/app_templates/kioslave/slave.cpp b/languages/cpp/app_templates/kioslave/slave.cpp deleted file mode 100644 index 3c780e7f..00000000 --- a/languages/cpp/app_templates/kioslave/slave.cpp +++ /dev/null @@ -1,88 +0,0 @@ - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "%{APPNAMELC}.h" - -using namespace TDEIO; - - -kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket) - : SlaveBase("kio_%{APPNAMELC}", pool_socket, app_socket) -{ - kdDebug() << "kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol()" << endl; -} - - -kio_%{APPNAMELC}Protocol::~kio_%{APPNAMELC}Protocol() -{ - kdDebug() << "kio_%{APPNAMELC}Protocol::~kio_%{APPNAMELC}Protocol()" << endl; -} - - -void kio_%{APPNAMELC}Protocol::get(const KURL& url ) -{ - kdDebug() << "kio_%{APPNAMELC}::get(const KURL& url)" << endl ; - - kdDebug() << "Seconds: " << url.query() << endl; - TQString remoteServer = url.host(); - int remotePort = url.port(); - kdDebug() << "myURL: " << url.prettyURL() << endl; - - infoMessage(i18n("Looking for %1...").arg( remoteServer ) ); - // Send the mimeType as soon as it is known - mimeType("text/plain"); - // Send the data - TQString theData = "This is a test of kio_%{APPNAMELC}"; - data(TQCString(theData.local8Bit())); - data(TQByteArray()); // empty array means we're done sending the data - finished(); -} - - -void kio_%{APPNAMELC}Protocol::mimetype(const KURL & /*url*/) -{ - mimeType("text/plain"); - finished(); -} - - -extern "C" -{ - int kdemain(int argc, char **argv) - { - TDEInstance instance( "kio_%{APPNAMELC}" ); - - kdDebug(7101) << "*** Starting kio_%{APPNAMELC} " << endl; - - if (argc != 4) { - kdDebug(7101) << "Usage: kio_%{APPNAMELC} protocol domain-socket1 domain-socket2" << endl; - exit(-1); - } - - kio_%{APPNAMELC}Protocol slave(argv[2], argv[3]); - slave.dispatchLoop(); - - kdDebug(7101) << "*** kio_%{APPNAMELC} Done" << endl; - return 0; - } -} diff --git a/languages/cpp/app_templates/kioslave/slave.h b/languages/cpp/app_templates/kioslave/slave.h deleted file mode 100644 index 07bf9c6e..00000000 --- a/languages/cpp/app_templates/kioslave/slave.h +++ /dev/null @@ -1,23 +0,0 @@ - -#ifndef _%{APPNAMELC}_H_ -#define _%{APPNAMELC}_H_ - -#include -#include - -#include -#include -#include - -class TQCString; - -class kio_%{APPNAMELC}Protocol : public TDEIO::SlaveBase -{ -public: - kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket); - virtual ~kio_%{APPNAMELC}Protocol(); - virtual void mimetype(const KURL& url); - virtual void get(const KURL& url); -}; - -#endif diff --git a/languages/cpp/app_templates/kioslave/slave.protocol b/languages/cpp/app_templates/kioslave/slave.protocol deleted file mode 100644 index 2e2cc076..00000000 --- a/languages/cpp/app_templates/kioslave/slave.protocol +++ /dev/null @@ -1,39 +0,0 @@ -[Protocol] -exec=kio_%{APPNAMELC} -protocol=%{APPNAMELC} -input=none -output=stream -reading=true -defaultMimetype=text/plain -Icon=remote -Description=A kioslave for %{APPNAMELC} -Description[br]=Ur c'hioslave evit %{APPNAMELC} -Description[ca]=Un kioslave per a %{APPNAMELC} -Description[da]=En kioslave til %{APPNAMELC} -Description[de]=Ein Ein-/Ausgabemodul für %{APPNAMELC} -Description[el]=Ένα υπηρέτης kio για %{APPNAMELC} -Description[es]=Un kioslave para %{APPNAMELC} -Description[et]=%{APPNAMELC} IO-moodul -Description[eu]=kioslave bat honentzat: %{APPNAMELC} -Description[fa]=یک kioslave برای %{APPNAMELC} -Description[fr]=Un esclave d'E/S (kioslave) pour %{APPNAMELC} -Description[ga]=kioslave le haghaidh %{APPNAMELC} -Description[gl]=Un kioslave para %{APPNAMELC} -Description[hu]=%{APPNAMELC}-támogató KIOslave -Description[it]=Un kioslave per %{APPNAMELC} -Description[ja]=%{APPNAMELC} のための kioslave -Description[nds]=En In-/Utgaavmoduul för %{APPNAMELC} -Description[ne]= %{APPNAMELC} का लागि किवस्लेभ -Description[nl]=Kioslave voor %{APPNAMELC} -Description[pl]=kioslave dla %{APPNAMELC} -Description[pt]=Um 'kioslave' para %{APPNAMELC} -Description[pt_BR]=Um kioslave para %{APPNAMELC} -Description[ru]=Канал kioslave для %{APPNAMELC} -Description[sk]=kioslave pre %{APPNAMELC} -Description[sl]=kioslave za %{APPNAMELC} -Description[sr]=KIOSlave за %{APPNAMELC} -Description[sr@Latn]=KIOSlave za %{APPNAMELC} -Description[sv]=En I/O-slav för %{APPNAMELC} -Description[tr]=%{APPNAMELC} için bir kioslave -Description[zh_CN]=%{APPNAMELC} 的 kioslave -Description[zh_TW]=%{APPNAMELC} 的 kioslave diff --git a/languages/cpp/app_templates/kioslave/slave.tdevelop b/languages/cpp/app_templates/kioslave/slave.tdevelop deleted file mode 100644 index 4c7c2d2e..00000000 --- a/languages/cpp/app_templates/kioslave/slave.tdevelop +++ /dev/null @@ -1,113 +0,0 @@ - - - - %{AUTHOR} - %{EMAIL} - %{VERSION} - KDevTDEAutoProject - C++ - - C++ - Code - Qt - TDE - kioslave - - - - - 3 - true - 3 - EmbeddedKDevDesigner - - - - - - src/lib%{APPNAMELC}.la - debug - - - - optimized - kdevgccoptions - kdevgppoptions - kdevg77options - -O2 -g0 - - - --enable-debug=full - debug - kdevgccoptions - kdevgppoptions - kdevg77options - -O0 -g3 - - - - - - - - - - - - - bash - bash_bugs - clanlib - fortran_bugs_gcc - gnome1 - gnustep - gtk - gtk_bugs - haskell - haskell_bugs_ghc - java_bugs_gcc - java_bugs_sun - opengl - pascal_bugs_fp - php - php_bugs - perl - perl_bugs - python - python_bugs - ruby - ruby_bugs - sdl - stl - sw - w3c-dom-level2-html - w3c-svg - w3c-uaag10 - wxwidgets_bugs - - - Guide to the Qt Translation Tools - Qt Assistant Manual - Qt Designer Manual - Qt Reference Documentation - - - - - libtool - - - - - - - - - - - - Doxygen Documentation Collection - %{APPNAMELC}.tag - - - diff --git a/languages/cpp/app_templates/kioslave/src-Makefile.am b/languages/cpp/app_templates/kioslave/src-Makefile.am deleted file mode 100644 index 7aedfa33..00000000 --- a/languages/cpp/app_templates/kioslave/src-Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -INCLUDES = $(all_includes) - -kde_module_LTLIBRARIES = kio_%{APPNAMELC}.la - -kio_%{APPNAMELC}_la_SOURCES = %{APPNAMELC}.cpp -kio_%{APPNAMELC}_la_LIBADD = -lkio -kio_%{APPNAMELC}_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_PLUGIN) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KPARTS) - -protocol_DATA = %{APPNAMELC}.protocol -protocoldir = $(kde_servicesdir) - -messages: rc.cpp - $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/kio_%{APPNAMELC}.pot diff --git a/languages/cpp/app_templates/kioslave/subdirs b/languages/cpp/app_templates/kioslave/subdirs deleted file mode 100644 index 0e678106..00000000 --- a/languages/cpp/app_templates/kioslave/subdirs +++ /dev/null @@ -1,3 +0,0 @@ -doc -po -src diff --git a/languages/cpp/app_templates/kofficepart/kopart.tdevelop b/languages/cpp/app_templates/kofficepart/kopart.tdevelop index e3b6cc3f..194157d7 100644 --- a/languages/cpp/app_templates/kofficepart/kopart.tdevelop +++ b/languages/cpp/app_templates/kofficepart/kopart.tdevelop @@ -11,7 +11,7 @@ Code Qt TDE - kioslave + tdeioslave diff --git a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h index c54c096a..527be77e 100644 --- a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h +++ b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h @@ -8,7 +8,7 @@ #include #include -#include +#include class %{APPNAME} : public KonqSidebarPlugin diff --git a/languages/cpp/app_templates/kpartapp/app.cpp b/languages/cpp/app_templates/kpartapp/app.cpp index c5d30f14..7e7dc64d 100644 --- a/languages/cpp/app_templates/kpartapp/app.cpp +++ b/languages/cpp/app_templates/kpartapp/app.cpp @@ -2,8 +2,8 @@ #include "%{APPNAMELC}.h" #include -#include -#include +#include +#include #include #include diff --git a/languages/cpp/app_templates/kpartapp/app_part.cpp b/languages/cpp/app_templates/kpartapp/app_part.cpp index e46d21ca..518d4514 100644 --- a/languages/cpp/app_templates/kpartapp/app_part.cpp +++ b/languages/cpp/app_templates/kpartapp/app_part.cpp @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include diff --git a/languages/cpp/app_templates/kscons_kxt/README b/languages/cpp/app_templates/kscons_kxt/README index e7aa2647..10859289 100644 --- a/languages/cpp/app_templates/kscons_kxt/README +++ b/languages/cpp/app_templates/kscons_kxt/README @@ -76,7 +76,7 @@ The configure.in.in will need to be modified : change the line #MIN_CONFIG(3.0.0 into #MIN_CONFIG(3.2.0) Take an example on the many apps found in the tdegames source package and consult : -http://developer.kde.org/documentation/tutorials/kconfigxt/kconfigxt.html +http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html * With KParts, you can embed other kde components in your program, or make your program embeddable in other apps. For example, the kmplayer kpart can be called to play videos diff --git a/languages/cpp/app_templates/kscons_kxt/app.cpp b/languages/cpp/app_templates/kscons_kxt/app.cpp index bbf648ea..2895fb0a 100644 --- a/languages/cpp/app_templates/kscons_kxt/app.cpp +++ b/languages/cpp/app_templates/kscons_kxt/app.cpp @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/languages/cpp/app_templates/kscons_kxt/messages.sh b/languages/cpp/app_templates/kscons_kxt/messages.sh index a0ce678a..5c497f99 100755 --- a/languages/cpp/app_templates/kscons_kxt/messages.sh +++ b/languages/cpp/app_templates/kscons_kxt/messages.sh @@ -14,7 +14,7 @@ # for yourself and help me to improve this script, thanks # (tnagyemail-mail tat yahoo d0tt fr) -SRCDIR=../test1-kconfigxt # srcdir is the directory containing the source code +SRCDIR=../test1-tdeconfigxt # srcdir is the directory containing the source code TIPSDIR=$SRCDIR # tipsdir is the directory containing the tips TDEDIR=`tde-config --prefix` diff --git a/languages/cpp/app_templates/kscons_kxt/settings.kcfgc b/languages/cpp/app_templates/kscons_kxt/settings.kcfgc index 384510cd..402fad09 100644 --- a/languages/cpp/app_templates/kscons_kxt/settings.kcfgc +++ b/languages/cpp/app_templates/kscons_kxt/settings.kcfgc @@ -1,4 +1,4 @@ -# Code generation options for kconfig_compiler +# Code generation options for tdeconfig_compiler File=%{APPNAMELC}.kcfg ClassName=Settings Singleton=true diff --git a/languages/cpp/app_templates/kscons_tdemdi/README b/languages/cpp/app_templates/kscons_tdemdi/README index e7aa2647..10859289 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/README +++ b/languages/cpp/app_templates/kscons_tdemdi/README @@ -76,7 +76,7 @@ The configure.in.in will need to be modified : change the line #MIN_CONFIG(3.0.0 into #MIN_CONFIG(3.2.0) Take an example on the many apps found in the tdegames source package and consult : -http://developer.kde.org/documentation/tutorials/kconfigxt/kconfigxt.html +http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html * With KParts, you can embed other kde components in your program, or make your program embeddable in other apps. For example, the kmplayer kpart can be called to play videos diff --git a/languages/cpp/app_templates/kscons_tdemdi/app_part.cpp b/languages/cpp/app_templates/kscons_tdemdi/app_part.cpp index 2bdb725d..5ea5d069 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/app_part.cpp +++ b/languages/cpp/app_templates/kscons_tdemdi/app_part.cpp @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include diff --git a/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.cpp b/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.cpp index 0ef16672..7ea17587 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.cpp +++ b/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.cpp @@ -13,15 +13,15 @@ #include #include -#include +#include #include #include #include -#include -#include +#include +#include #include #include -#include +#include #include #include #include diff --git a/languages/cpp/app_templates/kscons_tdemdi/messages.sh b/languages/cpp/app_templates/kscons_tdemdi/messages.sh index a0ce678a..5c497f99 100755 --- a/languages/cpp/app_templates/kscons_tdemdi/messages.sh +++ b/languages/cpp/app_templates/kscons_tdemdi/messages.sh @@ -14,7 +14,7 @@ # for yourself and help me to improve this script, thanks # (tnagyemail-mail tat yahoo d0tt fr) -SRCDIR=../test1-kconfigxt # srcdir is the directory containing the source code +SRCDIR=../test1-tdeconfigxt # srcdir is the directory containing the source code TIPSDIR=$SRCDIR # tipsdir is the directory containing the tips TDEDIR=`tde-config --prefix` diff --git a/languages/cpp/app_templates/kscons_tdemdi/settings.kcfgc b/languages/cpp/app_templates/kscons_tdemdi/settings.kcfgc index 384510cd..402fad09 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/settings.kcfgc +++ b/languages/cpp/app_templates/kscons_tdemdi/settings.kcfgc @@ -1,4 +1,4 @@ -# Code generation options for kconfig_compiler +# Code generation options for tdeconfig_compiler File=%{APPNAMELC}.kcfg ClassName=Settings Singleton=true diff --git a/languages/cpp/app_templates/kxt/README b/languages/cpp/app_templates/kxt/README index a24ad60a..d8bc639b 100644 --- a/languages/cpp/app_templates/kxt/README +++ b/languages/cpp/app_templates/kxt/README @@ -51,7 +51,7 @@ The configure.in.in will need to be modified : change the line #MIN_CONFIG(3.0.0 into #MIN_CONFIG(3.2.0) Take an example on the many apps found in the tdegames source package and consult : -http://developer.kde.org/documentation/tutorials/kconfigxt/kconfigxt.html +http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html * With KParts, you can embed other kde components in your program, or make your program embeddable in other apps. For example, the kmplayer kpart can be called to play videos diff --git a/languages/cpp/app_templates/kxt/app.cpp b/languages/cpp/app_templates/kxt/app.cpp index ef50718c..6f3e19fb 100644 --- a/languages/cpp/app_templates/kxt/app.cpp +++ b/languages/cpp/app_templates/kxt/app.cpp @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/languages/cpp/app_templates/kxt/settings.kcfgc b/languages/cpp/app_templates/kxt/settings.kcfgc index 384510cd..402fad09 100644 --- a/languages/cpp/app_templates/kxt/settings.kcfgc +++ b/languages/cpp/app_templates/kxt/settings.kcfgc @@ -1,4 +1,4 @@ -# Code generation options for kconfig_compiler +# Code generation options for tdeconfig_compiler File=%{APPNAMELC}.kcfg ClassName=Settings Singleton=true diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.cpp b/languages/cpp/app_templates/noatunui/plugin_impl.cpp index 8608ba88..849f332a 100644 --- a/languages/cpp/app_templates/noatunui/plugin_impl.cpp +++ b/languages/cpp/app_templates/noatunui/plugin_impl.cpp @@ -22,8 +22,8 @@ #include #include #include -//#include -//#include +//#include +//#include %{APPNAME}UI::%{APPNAME}UI() : TQWidget(0,"%{APPNAME}UI"), UserInterface() { diff --git a/languages/cpp/app_templates/opieapp/app.pro b/languages/cpp/app_templates/opieapp/app.pro index f4111696..541721e6 100644 --- a/languages/cpp/app_templates/opieapp/app.pro +++ b/languages/cpp/app_templates/opieapp/app.pro @@ -13,7 +13,7 @@ contains( TEMPLATE, quick-template ){ contains( QUICK_SPEC_FOO, quick-app-lib ){ message( "foo" ) system( rm $$TARGET ) - system( ln -s $$(OPIEDIR)/bin/quicklauncher $$TARGET) + system( ln -s $$(OPIEDIR)/bin/quictdelauncher $$TARGET) DEFINES += OPIE_APP_INTERFACE TEMPLATE = lib CONFIG += dll diff --git a/languages/cpp/app_templates/opieapplet/app.pro b/languages/cpp/app_templates/opieapplet/app.pro index e1cc1e3b..7794dfc4 100644 --- a/languages/cpp/app_templates/opieapplet/app.pro +++ b/languages/cpp/app_templates/opieapplet/app.pro @@ -10,7 +10,7 @@ contains( TEMPLATE, quick-template ){ contains( QUICK_SPEC_FOO, quick-app-lib ){ message( "foo" ) system( rm $$TARGET ) - system( ln -s $$(OPIEDIR)/bin/quicklauncher $$TARGET) + system( ln -s $$(OPIEDIR)/bin/quictdelauncher $$TARGET) DEFINES += OPIE_APP_INTERFACE TEMPLATE = lib CONFIG += dll diff --git a/languages/cpp/app_templates/opieinput/app.pro b/languages/cpp/app_templates/opieinput/app.pro index 1711c78f..4419e74e 100644 --- a/languages/cpp/app_templates/opieinput/app.pro +++ b/languages/cpp/app_templates/opieinput/app.pro @@ -10,7 +10,7 @@ contains( TEMPLATE, quick-template ){ contains( QUICK_SPEC_FOO, quick-app-lib ){ message( "foo" ) system( rm $$TARGET ) - system( ln -s $$(OPIEDIR)/bin/quicklauncher $$TARGET) + system( ln -s $$(OPIEDIR)/bin/quictdelauncher $$TARGET) DEFINES += OPIE_APP_INTERFACE TEMPLATE = lib CONFIG += dll diff --git a/languages/cpp/app_templates/opiemenu/app.pro b/languages/cpp/app_templates/opiemenu/app.pro index 71bc208c..9488b244 100644 --- a/languages/cpp/app_templates/opiemenu/app.pro +++ b/languages/cpp/app_templates/opiemenu/app.pro @@ -10,7 +10,7 @@ contains( TEMPLATE, quick-template ){ contains( QUICK_SPEC_FOO, quick-app-lib ){ message( "foo" ) system( rm $$TARGET ) - system( ln -s $$(OPIEDIR)/bin/quicklauncher $$TARGET) + system( ln -s $$(OPIEDIR)/bin/quictdelauncher $$TARGET) DEFINES += OPIE_APP_INTERFACE TEMPLATE = lib CONFIG += dll diff --git a/languages/cpp/app_templates/opienet/app.pro b/languages/cpp/app_templates/opienet/app.pro index 53fb6eea..30b811fe 100644 --- a/languages/cpp/app_templates/opienet/app.pro +++ b/languages/cpp/app_templates/opienet/app.pro @@ -11,7 +11,7 @@ contains( TEMPLATE, quick-template ){ contains( QUICK_SPEC_FOO, quick-app-lib ){ message( "foo" ) system( rm $$TARGET ) - system( ln -s $$(OPIEDIR)/bin/quicklauncher $$TARGET) + system( ln -s $$(OPIEDIR)/bin/quictdelauncher $$TARGET) DEFINES += OPIE_APP_INTERFACE TEMPLATE = lib CONFIG += dll diff --git a/languages/cpp/app_templates/opienet/opienet.kdevtemplate b/languages/cpp/app_templates/opienet/opienet.kdevtemplate index 23223d28..c5b22cd4 100644 --- a/languages/cpp/app_templates/opienet/opienet.kdevtemplate +++ b/languages/cpp/app_templates/opienet/opienet.kdevtemplate @@ -48,7 +48,7 @@ Comment[it]=Genera un plugin di configurazione di rete Opie. Comment[ja]=Opie ネットワーク設定プラグインを作成 Comment[nds]=Stellt en Moduul för Opie-Nettwarkinstellen op. Comment[ne]=ओपिइ सञ्जाल कन्फिग प्लगइन उत्पन्न गर्नुहोस् -Comment[nl]=Genereert een Opie netwerkconfiguratieplugin. +Comment[nl]=Genereert een Opie netwertdeconfiguratieplugin. Comment[pl]=Generuje wtyczkę do ustawień sieciowych Opie Comment[pt]=Gera um 'plugin' de configuração da rede do Opie. Comment[pt_BR]=Gera um 'plugin' de configuração da rede do Opie. @@ -127,7 +127,7 @@ Comment[it]=È stato creato un plugin per le impostazioni di rete di Opie in %{d Comment[ja]=Opie ネットワーク設定プラグインを %{dest} に作成しました Comment[nds]=In %{dest} wöör en Nettwarkinstellenmoduul för Opie opstellt Comment[ne]=ओपिइ सञ्जाल सेटिङ प्लगइन %{dest} मा सिर्जना गरियो -Comment[nl]=Een Opie netwerkconfiguratieplugin is aangemaakt in %{dest} +Comment[nl]=Een Opie netwertdeconfiguratieplugin is aangemaakt in %{dest} Comment[pl]=Wtyczka ustawień sieciowych Opie została utworzona w %{dest} Comment[pt]=Foi criado um 'plugin' de configuração da rede do Opie em %{dest} Comment[pt_BR]=Foi criado um 'plugin' de configuração da rede do Opie em %{dest} diff --git a/languages/cpp/app_templates/opietoday/app.pro b/languages/cpp/app_templates/opietoday/app.pro index 152dc6f6..c8009e24 100644 --- a/languages/cpp/app_templates/opietoday/app.pro +++ b/languages/cpp/app_templates/opietoday/app.pro @@ -10,7 +10,7 @@ contains( TEMPLATE, quick-template ){ contains( QUICK_SPEC_FOO, quick-app-lib ){ message( "foo" ) system( rm $$TARGET ) - system( ln -s $$(OPIEDIR)/bin/quicklauncher $$TARGET) + system( ln -s $$(OPIEDIR)/bin/quictdelauncher $$TARGET) DEFINES += OPIE_APP_INTERFACE TEMPLATE = lib CONFIG += dll diff --git a/languages/cpp/app_templates/tdecmodule/module.desktop b/languages/cpp/app_templates/tdecmodule/module.desktop index 3a316965..447e8df1 100644 --- a/languages/cpp/app_templates/tdecmodule/module.desktop +++ b/languages/cpp/app_templates/tdecmodule/module.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Exec=kcmshell %{APPNAMELC} +Exec=tdecmshell %{APPNAMELC} Icon=misc Type=Application diff --git a/languages/cpp/app_templates/tdeconfig35/CMakeLists.txt b/languages/cpp/app_templates/tdeconfig35/CMakeLists.txt new file mode 100644 index 00000000..32dd830c --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( tdeconfig35.tar.gz ALL + COMMAND tar zcf tdeconfig35.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + src-Makefile.am app.cpp app.h main.cpp appui.rc + app.tdevelop subdirs app.desktop kxt35.png appview.h + appview.cpp appview_base.ui prefs-base.ui prefs.cpp prefs.h + app.kcfg settings.kcfgc README src-configure.in.in +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/tdeconfig35.tar.gz tdeconfig35.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + tdeconfig35.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/tdeconfig35/Makefile.am b/languages/cpp/app_templates/tdeconfig35/Makefile.am new file mode 100644 index 00000000..a172f05f --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/Makefile.am @@ -0,0 +1,19 @@ +dataFiles = src-Makefile.am app.cpp app.h main.cpp appui.rc app.tdevelop \ + subdirs app.desktop kxt35.png appview.h appview.cpp appview_base.ui \ + prefs-base.ui prefs.cpp prefs.h app.kcfg settings.kcfgc README \ + src-configure.in.in +templateName= tdeconfig35 + +### 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 diff --git a/languages/cpp/app_templates/tdeconfig35/README b/languages/cpp/app_templates/tdeconfig35/README new file mode 100644 index 00000000..e35da710 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/README @@ -0,0 +1,90 @@ +----------------------------------------------- +Kde templates quickstart +Author: Thomas Nagy +Date: 2004-03-22 +----------------------------------------------- + +This README file explains you basic things for starting with +this application template. + +----------------------------------------------- +--NOTE--: you need tdelibs 3.5 and tdelibs headers 3.5 (devel package) in order to build this template. +Qt version might be 3.3.4 or 3.3.5 +----------------------------------------------- + +** Building and installing ** + +* Build the configure script by "make -f Makefile.cvs" + +* To clean, use "make clean", and to clean everything +(remove the makefiles, etc), use "make distclean" + +* To distribute your program, try "make dist". +This will make a compact tarball archive of your release with the +necessary scripts inside. + +* Modifying the auto-tools scripts +for automake scripts there is an excellent tutorial there : +http://developer.kde.org/documentation/other/makefile_am_howto.html + +* Simplify your life : install the project in your home directory for +testing purposes. +./configure --prefix=/home/user/dummyfolder/ +In the end when you finished the development you can +rm -rf /home/user/dummyfolder/ +without fear. + + +** Technologies ** + +* Build the menus of your application easily +kde applications now use an xml file (*ui.rc file) to build the menus. +This allow a great customization of the application. However, when +programming the menu is shown only after a "make install" + +For more details, consult : +http://devel-home.kde.org/~larrosa/tutorial/p9.html +http://developer.kde.org/documentation/tutorials/xmlui/preface.html + +* Use TDEConfig XT to create your configuration dialogs and make +them more maintainable. + +For that, you will need to write two simple configuration files +in the src directory : .kcfg and a .kcfgc +The configure.in.in will need to be modified : change the line #MIN_CONFIG(3.0.0) +into #MIN_CONFIG(3.2.0) + +Take an example on the many apps found in the tdegames source package and consult : +http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html + +* With KParts, you can embed other kde components in your program, or make your program +embeddable in other apps. For example, the kmplayer kpart can be called to play videos +in your app. + +For more details, consult : +http://www-106.ibm.com/developerworks/library/l-tdeparts/ +http://developer.kde.org/documentation/tutorials/dot/writing-plugins.html +http://developer.kde.org/documentation/tutorials/developing-a-plugin-structure/index.html + +* With dcop, you can control your app from other applications +Make sure to include K_DCOP and a kdcop: section in your .h file +http://developer.kde.org/documentation/tutorials/dot/dcopiface/dcop-interface.html + + +** Documentation ** + +* For the translations : +1. Download a patched gettext which can be found at: + http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/ +2. Install that gettext in ~/bin/ +3. cd ~/yourproject, export PATH=~/bin:$PATH, export +TDEDIR=/where_your_TDE3_is +4. make -f admin/Makefile.common package-messages +5. make package-messages +6. Translate the po files (not the pot!!) with kbabel or xemacs + +* Do not forget to write the documentation for your kde app +edit the documentation template index.docbook in doc/ + + + diff --git a/languages/cpp/app_templates/tdeconfig35/app.cpp b/languages/cpp/app_templates/tdeconfig35/app.cpp new file mode 100644 index 00000000..d158e45f --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/app.cpp @@ -0,0 +1,105 @@ +%{CPP_TEMPLATE} + +#include "%{APPNAMELC}.h" +#include "settings.h" +#include "prefs.h" + +#include + +#include +#include +#include +#include +#include +#include + +%{APPNAMELC}::%{APPNAMELC}() + : KMainWindow( 0, "%{APPNAMELC}" ), + m_view(new %{APPNAMELC}View(this)), + m_printer(0) +{ + // accept dnd + setAcceptDrops(true); + + // tell the KMainWindow that this is indeed the main widget + setCentralWidget(m_view); + // and a status bar + statusBar()->show(); + // then, setup our actions + setupActions(); + + // apply the saved mainwindow settings, if any, and ask the mainwindow + // to automatically save settings if changed: window size, toolbar + // position, icon size, etc. + setAutoSaveSettings(); + + // allow the view to change the statusbar and caption + connect(m_view, TQT_SIGNAL(signalChangeStatusbar(const TQString&)), + this, TQT_SLOT(changeStatusbar(const TQString&))); + connect(m_view, TQT_SIGNAL(signalChangeCaption(const TQString&)), + this, TQT_SLOT(changeCaption(const TQString&))); + +} + +%{APPNAMELC}::~%{APPNAMELC}() +{ +} + +void %{APPNAMELC}::setupActions() +{ + KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); + KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); + + KStdAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection()); + + // custom menu and menu item + KAction *custom = new KAction(i18n("Swi&tch Colors"), 0, + m_view, TQT_SLOT(switchColors()), + actionCollection(), "switch_action"); + + setupGUI(); +} + +void %{APPNAMELC}::newToolbarConfig() +{ + // this slot is called when user clicks "Ok" or "Apply" in the toolbar editor. + // recreate our GUI, and re-apply the settings (e.g. "text under icons", etc.) + setupGUI(); +} + +void %{APPNAMELC}::optionsPreferences() +{ + // The preference dialog is derived from prefs-base.ui which is subclassed into Prefs + // + // compare the names of the widgets in the .ui file + // to the names of the variables in the .kcfg file + TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow); + dialog->addPage(new Prefs(), i18n("General"), "package_settings"); + connect(dialog, TQT_SIGNAL(settingsChanged()), m_view, TQT_SLOT(settingsChanged())); + dialog->show(); +} + +void %{APPNAMELC}::changeCaption(const TQString& text) +{ + // display the text on the caption + setCaption(text); +} + +void %{APPNAMELC}::changeStatusbar(const TQString& text) +{ + // display the text on the statusbar + statusBar()->message(text); +} + +void %{APPNAMELC}::fileNew() +{ + // this slot is called whenever the File->New menu is selected, + // the New shortcut is pressed (usually CTRL+N) or the New toolbar + // button is clicked + + // create a new window + (new %{APPNAMELC})->show(); +} + +#include "%{APPNAMELC}.moc" + diff --git a/languages/cpp/app_templates/tdeconfig35/app.desktop b/languages/cpp/app_templates/tdeconfig35/app.desktop new file mode 100644 index 00000000..5beccc5d --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/app.desktop @@ -0,0 +1,40 @@ +[Desktop Entry] +Name=%{APPNAME} +Exec=%{APPNAMELC} +Icon=%{APPNAMELC} +Type=Application +Comment=A simple TDE Application +Comment[br]=Ur meziant eeun evit TDE +Comment[ca]=Una simple aplicació per al TDE +Comment[da]=Et simpelt TDE program +Comment[de]=Eine einfache TDE-Anwendung +Comment[el]=Μια απλή εφαρμογή του TDE +Comment[es]=Una aplicación de TDE sencilla +Comment[et]=Lihtne TDE rakendus +Comment[eu]=TDE aplikazio simple bat +Comment[fa]=یک کاربرد سادۀ TDE +Comment[fr]=Une application simple pour TDE +Comment[ga]=Feidhmchlár Simplí TDE +Comment[gl]=Unha aplicación TDE sinxela +Comment[hi]=एक सादा केडीई अनुप्रयोग +Comment[hu]=Egyszerű TDE-alkalmazás +Comment[is]=Einfalt TDE forrit +Comment[it]=Una semplice applicazione TDE +Comment[ja]=簡単な TDE アプリケーション +Comment[nds]=En eenfach TDE-Programm +Comment[ne]=एउटा साधारण केडीई अनुप्रयोग +Comment[nl]=Een eenvoudige TDE-toepassing +Comment[pl]=Prosty program TDE +Comment[pt]=Uma aplicação simples do TDE +Comment[pt_BR]=Um simples Aplicativo do TDE +Comment[ru]=Простое приложение TDE +Comment[sk]=Jednoduchá TDE aplikácia +Comment[sl]=Preprost program za TDE +Comment[sr]=Једноставан TDE програм +Comment[sr@Latn]=Jednostavan TDE program +Comment[sv]=Ett enkelt TDE-program +Comment[ta]=ஒரு சாதாரண கெடிஇ பயன்பாடு +Comment[tg]=Гузориши оддиTDE +Comment[tr]=Basit bir TDE Uygulaması +Comment[zh_CN]=一个简单的 TDE 应用程序 +Comment[zh_TW]=簡單的 TDE 應用程式 diff --git a/languages/cpp/app_templates/tdeconfig35/app.h b/languages/cpp/app_templates/tdeconfig35/app.h new file mode 100644 index 00000000..c1aac7e4 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/app.h @@ -0,0 +1,61 @@ +%{H_TEMPLATE} + +#ifndef _%{APPNAMEUC}_H_ +#define _%{APPNAMEUC}_H_ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include + +#include "%{APPNAMELC}view.h" + +class KPrinter; +class KURL; + +/** + * This class serves as the main window for %{APPNAME}. It handles the + * menus, toolbars, and status bars. + * + * @short Main window class + * @author %{AUTHOR} <%{EMAIL}> + * @version %{VERSION} + */ +class %{APPNAMELC} : public KMainWindow +{ + Q_OBJECT + +public: + /** + * Default Constructor + */ + %{APPNAMELC}(); + + /** + * Default Destructor + */ + virtual ~%{APPNAMELC}(); + +private slots: + + void fileNew(); + void optionsPreferences(); + void newToolbarConfig(); + + void changeStatusbar(const TQString& text); + void changeCaption(const TQString& text); + +private: + + void setupActions(); + +private: + %{APPNAMELC}View *m_view; + + KPrinter *m_printer; +}; + +#endif // _%{APPNAMEUC}_H_ + diff --git a/languages/cpp/app_templates/tdeconfig35/app.kcfg b/languages/cpp/app_templates/tdeconfig35/app.kcfg new file mode 100644 index 00000000..686f25f2 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/app.kcfg @@ -0,0 +1,21 @@ + + + + + + + black + + + + yellow + + + + 2 + + + diff --git a/languages/cpp/app_templates/tdeconfig35/app.tdevelop b/languages/cpp/app_templates/tdeconfig35/app.tdevelop new file mode 100644 index 00000000..6a53f237 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/app.tdevelop @@ -0,0 +1,168 @@ + + + + %{AUTHOR} + %{EMAIL} + %{VERSION} + KDevTDEAutoProject + C++ + + C++ + Code + Qt + TDE + + . + false + + + + + + 3 + true + 3 + EmbeddedKDevDesigner + + + + + src/%{APPNAMELC} + debug + + + src/%{APPNAMELC} + false + + + + + + + false + 1 + false + + + + + optimized + kdevgccoptions + kdevgppoptions + kdevg77options + -O2 -g0 + + + --enable-debug=full + debug + kdevgccoptions + kdevgppoptions + kdevg77options + -O0 -g3 + + + + + + + + + + + + + false + *.o,*.lo,CVS + + + + + ada + ada_bugs_gcc + bash + bash_bugs + clanlib + w3c-dom-level2-html + fortran_bugs_gcc + gnome1 + gnustep + gtk + gtk_bugs + haskell + haskell_bugs_ghc + java_bugs_gcc + java_bugs_sun + pascal_bugs_fp + php + php_bugs + perl + perl_bugs + python + python_bugs + ruby + ruby_bugs + sdl + w3c-svg + sw + w3c-uaag10 + wxwidgets_bugs + + + qmake User Guide + + + + + libtool + + + true + false + false + true + + + false + true + + + + + + + + + + + + -f + + -dP + + -f + -u3 -p + + + + + + + false + + + .h + .cpp + true + + + + true + 2 + + + + Doxygen Documentation Collection + %{APPNAMELC}.tag + + + diff --git a/languages/cpp/app_templates/tdeconfig35/appui.rc b/languages/cpp/app_templates/tdeconfig35/appui.rc new file mode 100644 index 00000000..06549878 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/appui.rc @@ -0,0 +1,8 @@ + + + + &Move + + + + diff --git a/languages/cpp/app_templates/tdeconfig35/appview.cpp b/languages/cpp/app_templates/tdeconfig35/appview.cpp new file mode 100644 index 00000000..30d627fe --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/appview.cpp @@ -0,0 +1,41 @@ +%{CPP_TEMPLATE} + +#include "%{APPNAMELC}view.h" +#include "settings.h" + +#include +#include + +%{APPNAMELC}View::%{APPNAMELC}View(TQWidget *parent) + : %{APPNAMELC}view_base(parent) +{ + settingsChanged(); +} + +%{APPNAMELC}View::~%{APPNAMELC}View() +{ + +} + +void %{APPNAMELC}View::switchColors() +{ + // switch the foreground/background colors of the label + TQColor color = Settings::col_background(); + Settings::setCol_background( Settings::col_foreground() ); + Settings::setCol_foreground( color ); + + settingsChanged(); +} + +void %{APPNAMELC}View::settingsChanged() +{ + sillyLabel->setPaletteBackgroundColor( Settings::col_background() ); + sillyLabel->setPaletteForegroundColor( Settings::col_foreground() ); + + // i18n : internationalization + sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) ); + emit signalChangeStatusbar( i18n("Settings changed") ); +} + +#include "%{APPNAMELC}view.moc" + diff --git a/languages/cpp/app_templates/tdeconfig35/appview.h b/languages/cpp/app_templates/tdeconfig35/appview.h new file mode 100644 index 00000000..a486ec43 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/appview.h @@ -0,0 +1,53 @@ +%{H_TEMPLATE} + +#ifndef _%{APPNAMEUC}VIEW_H_ +#define _%{APPNAMEUC}VIEW_H_ + +#include + +#include "%{APPNAMELC}view_base.h" + +class TQPainter; +class KURL; + +/** + * This is the main view class for %{APPNAME}. Most of the non-menu, + * non-toolbar, and non-statusbar (e.g., non frame) GUI code should go + * here. + * + * @short Main view + * @author %{AUTHOR} <%{EMAIL}> + * @version %{VERSION} + */ +class %{APPNAMELC}View : public %{APPNAMELC}view_base +{ + Q_OBJECT + +public: + /** + * Default constructor + */ + %{APPNAMELC}View(TQWidget *parent); + + /** + * Destructor + */ + virtual ~%{APPNAMELC}View(); + +signals: + /** + * Use this signal to change the content of the statusbar + */ + void signalChangeStatusbar(const TQString& text); + + /** + * Use this signal to change the content of the caption + */ + void signalChangeCaption(const TQString& text); + +private slots: + void switchColors(); + void settingsChanged(); +}; + +#endif // _%{APPNAMEUC}VIEW_H_ diff --git a/languages/cpp/app_templates/tdeconfig35/appview_base.ui b/languages/cpp/app_templates/tdeconfig35/appview_base.ui new file mode 100644 index 00000000..3ee8d513 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/appview_base.ui @@ -0,0 +1,33 @@ + +%{APPNAMELC}view_base + + +%{APPNAMELC}view_base + + + +0 +0 +268 +164 + + + +%{APPNAMELC}_base + + + +unnamed + + + +sillyLabel + + +hello, world + + + + + + diff --git a/languages/cpp/app_templates/tdeconfig35/kxt35.png b/languages/cpp/app_templates/tdeconfig35/kxt35.png new file mode 100644 index 00000000..a3866883 Binary files /dev/null and b/languages/cpp/app_templates/tdeconfig35/kxt35.png differ diff --git a/languages/cpp/app_templates/tdeconfig35/main.cpp b/languages/cpp/app_templates/tdeconfig35/main.cpp new file mode 100644 index 00000000..3c912936 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/main.cpp @@ -0,0 +1,57 @@ +%{CPP_TEMPLATE} + +#include "%{APPNAMELC}.h" +#include +#include +#include +#include + +static const char description[] = + I18N_NOOP("A TDE Application"); + +static const char version[] = "%{VERSION}"; + +static KCmdLineOptions options[] = +{ + { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, + KCmdLineLastOption +}; + +int main(int argc, char **argv) +{ + TDEAboutData about("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description, + TDEAboutData::License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}"); + about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); + TDEApplication app; + + // see if we are starting with session management + if (app.isRestored()) + { + RESTORE(%{APPNAMELC}); + } + else + { + // no session.. just start up normally + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); + if (args->count() == 0) + { + %{APPNAMELC} *widget = new %{APPNAMELC}; + widget->show(); + } + else + { + int i = 0; + for (; i < args->count(); i++) + { + %{APPNAMELC} *widget = new %{APPNAMELC}; + widget->show(); + } + } + args->clear(); + } + + return app.exec(); +} + diff --git a/languages/cpp/app_templates/tdeconfig35/prefs-base.ui b/languages/cpp/app_templates/tdeconfig35/prefs-base.ui new file mode 100644 index 00000000..03af967a --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/prefs-base.ui @@ -0,0 +1,127 @@ + +Prefs_base + + + Prefs_base + + + + 0 + 0 + 282 + 156 + + + + + unnamed + + + + textLabel2_2 + + + Background color: + + + + + kcfg_col_background + + + + + + + + textLabel1 + + + Project age: + + + + + textLabel2 + + + Foreground color: + + + + + kcfg_col_foreground + + + + + + + + spacer1 + + + Horizontal + + + Expanding + + + + 41 + 20 + + + + + + spacer2 + + + Horizontal + + + Expanding + + + + 41 + 20 + + + + + + kcfg_val_time + + + 1 + + + 2 + + + + + spacer3 + + + Horizontal + + + Expanding + + + + 41 + 20 + + + + + + + + kcolorbutton.h + + diff --git a/languages/cpp/app_templates/tdeconfig35/prefs.cpp b/languages/cpp/app_templates/tdeconfig35/prefs.cpp new file mode 100644 index 00000000..e7a46ddf --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/prefs.cpp @@ -0,0 +1,12 @@ +%{CPP_TEMPLATE} + +#include "prefs.h" +#include + +Prefs::Prefs() + : Prefs_base() +{ +// debugging : +// kdWarning()<<"creating a pref dialog"< rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/%{APPNAMELC}.pot + +KDE_ICON = AUTO + +# this is where the kdelnk file will go +kdelnkdir = $(kde_appsdir)/Utilities +kdelnk_DATA = %{APPNAMELC}.desktop + +# this is where the XML-GUI resource file goes +rcdir = $(kde_datadir)/%{APPNAMELC} +rc_DATA = %{APPNAMELC}ui.rc diff --git a/languages/cpp/app_templates/tdeconfig35/src-configure.in.in b/languages/cpp/app_templates/tdeconfig35/src-configure.in.in new file mode 100644 index 00000000..1f29bc08 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/src-configure.in.in @@ -0,0 +1,7 @@ + +#MIN_CONFIG(3.2.0) + +AM_INIT_AUTOMAKE(%{APPNAMELC}, %{VERSION}) +AC_C_BIGENDIAN +AC_CHECK_TDEMAXPATHLEN + diff --git a/languages/cpp/app_templates/tdeconfig35/subdirs b/languages/cpp/app_templates/tdeconfig35/subdirs new file mode 100644 index 00000000..0e678106 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/subdirs @@ -0,0 +1,3 @@ +doc +po +src diff --git a/languages/cpp/app_templates/tdeconfig35/tdeconfig35.kdevtemplate b/languages/cpp/app_templates/tdeconfig35/tdeconfig35.kdevtemplate new file mode 100644 index 00000000..60cb5238 --- /dev/null +++ b/languages/cpp/app_templates/tdeconfig35/tdeconfig35.kdevtemplate @@ -0,0 +1,245 @@ +# TDE Config File +[General] +Name=TDEConfig XT for TDE 3.5 +Name[ca]=TDEConfig XT per a TDE 3.5 +Name[de]=TDEConfigXT-Anwendung für TDE 3.5 +Name[el]=Εφαρμογή TDEConfig XT για το TDE 3.5 +Name[es]=TDEConfig XT para TDE 3.5 +Name[et]=TDEConfig XT TDE 3.5 jaoks +Name[fr]=Application TDEConfig XT pour TDE 3.5 +Name[hu]=TDEConfig XT a TDE 3.5-höz +Name[it]=TDEConfig XT per TDE 3.5 +Name[ja]=TDE 3.5 用 TDEConfig XT +Name[nds]=TDEConfig-XT-Programm för TDE 3.5 +Name[nl]=TDEConfig XT voor TDE 3.5 +Name[pl]=Program TDEConfig XT dla TDE 3.5 +Name[pt]=Aplicação do TDEConfig XT para o TDE 3.5 +Name[pt_BR]=Aplicação do TDEConfig XT para o TDE 3.5 +Name[ru]=Приложение TDE 3.5 с TDEConfig XT +Name[sk]=TDEConfig XT pre TDE 3.5 +Name[sr]=TDEConfig XT програм за TDE 3.5 +Name[sr@Latn]=TDEConfig XT program za TDE 3.5 +Name[sv]=TDEConfig XT för TDE 3.5 +Name[zh_TW]=TDE 3.5 的 TDEConfig XT 應用程式 +Category=C++/TDE +Icon=kxt.png +Comment=Generates a simple TDE application with one widget and a configuration dialog compatible with TDE 3.5 only +Comment[ca]=Genera una simple aplicació per al TDE amb un estri i un diàleg de configuració compatible només amb TDE 3.5. +Comment[da]=Genererer et simpelt TDE-program med en kontrol og en indstillingsdialog der kun er kompatibelt med TDE 3.5 +Comment[de]=Erstellt eine einfache TDE-Anwendung für TDE 3.5 mit einem Widget und einem Einstellungsdialog. +Comment[el]=Δημιουργεί μια απλή εφαρμογή TDE με ένα γραφικό συστατικό, ένα διάλογο ρύθμισης συμβατό μόνο με το TDE 3.5 +Comment[en_GB]=Generates a simple TDE application with one widget and a configuration dialogue compatible with TDE 3.5 only +Comment[es]=Genera una sencilla aplicación para TDE con un widget y un diálogo de configuración compatible solo con TDE 3.5 +Comment[et]=Lihtsa TDE rakenduse loomine ühe vidina ja vaid TDE 3.5-ga ühilduva seadistustedialoogiga. +Comment[fr]=Génère une application TDE simple comprenant un seul élément graphique et une boîte de dialogue de configuration compatible avec TDE 3.5 uniquement +Comment[hu]=Létrehoz egy egyszerű TDE-alkalmazást egy grafikus elemmel és egy beállítóablakkal, csak a TDE 3.5-tel kompatibilis +Comment[it]=Genera una semplice applicazione TDE con un elemento grafico e una finestra di configurazione compatibile solo con TDE 3.5 +Comment[ja]=一つのウィジェットと設定ダイアログを含む簡単な TDE アプリケーションを作成します (TDE 3.5 用) +Comment[nds]=Stellt en eenfach TDE-Programm mit een Element un en Instelldialoog op, de bloots mit TDE 3.5 kompatibel is. +Comment[nl]=Genereert een eenvoudige TDE-toepassing met één widget en een configuratiedialoog die alleen met TDE 3.5 compatible is +Comment[pl]=Generuje prosty program TDE z jednym widżetem i oknem konfiguracyjnym zgodnym z TDE 3.5 +Comment[pt]=Gera uma aplicação simples do TDE com uma janela principal e outra para configuração, apenas para o TDE 3.5 +Comment[pt_BR]=Gera uma aplicação simples do TDE com uma janela principal e outra para configuração, apenas para o TDE 3.5 +Comment[ru]=Создание простого приложения TDE с одним виджетом и диалогом конфигурации, совместимое только с TDE 3.5. +Comment[sk]=Vygeneruje jednoduchú TDE aplikáciu s jedným oknom a konfiguračným dialógom kompatibilnú len s TDE 3.5 +Comment[sr]=Прави једноставан TDE програм са једном контролом и дијалогом за подешавање, компатибилан само са TDE-ом 3.5 +Comment[sr@Latn]=Pravi jednostavan TDE program sa jednom kontrolom i dijalogom za podešavanje, kompatibilan samo sa TDE-om 3.5 +Comment[sv]=Skapar ett enkelt TDE-program med en grafisk komponent och en inställningsdialogruta, som bara fungerar med TDE 3.5 +Comment[zh_TW]=產生一個簡單的 TDE 3.5 上的應用程式,內含一個元件與一個設定對話框。 +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp,%{dest}/README +Archive=tdeconfig35.tar.gz + +[ADMIN] +Type=include +File=%{tdevelop}/template-common/admin.kdevtemplate + +[GNU] +Type=include +File=%{tdevelop}/template-common/gnu.kdevtemplate + +[MKDIR_DOCBOOK1] +Type=mkdir +Dir=%{dest}/doc + +[MKDIR_DOCBOOK2] +Type=mkdir +Dir=%{dest}/doc/en + +[FILE1] +Type=install +Source=%{tdevelop}/template-common/kde-doc-Makefile.am +Dest=%{dest}/doc/Makefile.am + +[FILE2] +Type=install +Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am +Dest=%{dest}/doc/en/Makefile.am + +[FILE3] +Type=install +EscapeXML=true +Source=%{tdevelop}/template-common/kde-index.docbook +Dest=%{dest}/doc/en/index.docbook + +[FILE4] +Type=install +EscapeXML=true +Source=%{src}/app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE5] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE6] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE7] +Type=install +Source=%{tdevelop}/template-common/tde-configure.in.in +Dest=%{dest}/configure.in.in + +[MkDir3] +Type=mkdir +Dir=%{dest}/src + +[FILE8] +Type=install +Source=%{tdevelop}/template-common/tde-app.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[FILE9] +Type=install +Source=%{tdevelop}/template-common/kde-app.lsm +Dest=%{dest}/src/%{APPNAMELC}.lsm + +[FILE10] +Type=install +Source=%{tdevelop}/template-common/hi16-app-app.png +Dest=%{dest}/src/hi16-app-%{APPNAMELC}.png + +[FILE11] +Type=install +Source=%{tdevelop}/template-common/hi32-app-app.png +Dest=%{dest}/src/hi32-app-%{APPNAMELC}.png + +[MkDir4] +Type=mkdir +Dir=%{dest}/po + +[FILE12] +Type=install +Source=%{tdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[FILE13] +Type=install +Source=%{src}/subdirs +Dest=%{dest}/subdirs + +[FILE14] +Type=install +Source=%{src}/src-Makefile.am +Dest=%{dest}/src/Makefile.am + +[FILE15] +Type=install +Source=%{src}/app.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[FILE16] +Type=install +Source=%{src}/app.h +Dest=%{dest}/src/%{APPNAMELC}.h + +[FILE17] +Type=install +EscapeXML=true +Source=%{src}/appview_base.ui +Dest=%{dest}/src/%{APPNAMELC}view_base.ui + +[FILE18] +Type=install +Source=%{src}/appview.cpp +Dest=%{dest}/src/%{APPNAMELC}view.cpp + +[FILE19] +Type=install +Source=%{src}/appview.h +Dest=%{dest}/src/%{APPNAMELC}view.h + +[FILE20] +Type=install +EscapeXML=true +Source=%{src}/prefs-base.ui +Dest=%{dest}/src/prefs-base.ui + +[FILE21] +Type=install +Source=%{src}/prefs.cpp +Dest=%{dest}/src/prefs.cpp + +[FILE22] +Type=install +Source=%{src}/prefs.h +Dest=%{dest}/src/prefs.h + +[FILE23] +Type=install +Source=%{src}/main.cpp +Dest=%{dest}/src/main.cpp + +[FILE24] +Type=install +EscapeXML=true +Source=%{src}/appui.rc +Dest=%{dest}/src/%{APPNAMELC}ui.rc + +[FILE25] +Type=install +Source=%{src}/README +Dest=%{dest}/README + +[FILE26] +Type=install +Source=%{src}/app.kcfg +Dest=%{dest}/src/%{APPNAMELC}.kcfg + +[FILE27] +Type=install +Source=%{src}/settings.kcfgc +Dest=%{dest}/src/settings.kcfgc + +[FILE28] +Type=install +Source=%{src}/src-configure.in.in +Dest=%{dest}/configure.in.in + +[MSG] +Type=message +Comment=A TDE 3.5 TDEConfig XT application was created in %{dest} +Comment[ca]=Una aplicació TDEConfig XT per al TDE ha estat creada en %{dest} +Comment[da]=Et TDE 3.5 TDEConfig XT-program blev oprettet i %{dest} +Comment[de]=Eine TDEConfig-XT-Anwendung für TDE 3.5 wurde in %{dest} erstellt. +Comment[el]=Μια εφαρμογή TDEConfig XT του TDE 3.5 δημιουργήθηκε στο %{dest} +Comment[es]=Una aplicación TDEConfig XT para TDE 3.5 ha sido creada en %{dest} +Comment[et]=TDE 3.5 TDEConfig XT rakendus loodi asukohta %{dest} +Comment[fr]=Une application TDEConfig XT pour TDE 3.5 a été créée dans %{dest} +Comment[hu]=Létrejött egy TDEConfig XT-alapú TDE 3.5-alkalmazás itt: %{dest} +Comment[it]=È stata creata un'applicazione TDEConfig XT per TDE 3.5 in %{dest} +Comment[ja]=TDE 3.5 用 TDEConfig XT アプリケーションを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en TDEConfig-XT-Programm för TDE 3.5 opstellt +Comment[nl]=Een TDE 3.5 TDEConfig XT-toepassing is aangemaakt in %{dest} +Comment[pl]=Program TDEConfig XT dla TDE 3.5 został utworzony w %{dest} +Comment[pt]=Foi criada uma aplicação do TDEConfig XT para o TDE 3.5 em %{dest} +Comment[pt_BR]=Foi criada uma aplicação do TDEConfig XT para o TDE 3.5 em %{dest} +Comment[ru]=Приложение TDE с TDEConfig XT создано в %{dest} +Comment[sk]=TDEConfig XT pre TDE 3.5 bola vytvorená v %{dest} +Comment[sr]=TDEConfig XT програм за TDE 3.5 направљен је у %{dest} +Comment[sr@Latn]=TDEConfig XT program za TDE 3.5 napravljen je u %{dest} +Comment[sv]=Ett TDE 3.5 TDEConfig XT-program skapades i %{dest} +Comment[zh_TW]=一個 TDE 3.5 上的 TDEConfig XT 應用程式已建立於 %{dest} diff --git a/languages/cpp/app_templates/tdeconfig35/tdeconfig35.png b/languages/cpp/app_templates/tdeconfig35/tdeconfig35.png new file mode 100644 index 00000000..a3866883 Binary files /dev/null and b/languages/cpp/app_templates/tdeconfig35/tdeconfig35.png differ diff --git a/languages/cpp/app_templates/tdefileplugin/.kdev_ignore b/languages/cpp/app_templates/tdefileplugin/.kdev_ignore new file mode 100644 index 00000000..e69de29b diff --git a/languages/cpp/app_templates/tdefileplugin/CMakeLists.txt b/languages/cpp/app_templates/tdefileplugin/CMakeLists.txt new file mode 100644 index 00000000..5462742c --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( tdefileplugin.tar.gz ALL + COMMAND tar zcf tdefileplugin.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + README.devel tdefile_plugin.cpp tdefile_plugin.desktop + tdefile_plugin.h plugin.tdevelop tdefileplugin tdefileplugin.png + src-Makefile.am subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/tdefileplugin.tar.gz tdefileplugin.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + tdefileplugin.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/tdefileplugin/Makefile.am b/languages/cpp/app_templates/tdefileplugin/Makefile.am new file mode 100644 index 00000000..019d2d7c --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/Makefile.am @@ -0,0 +1,18 @@ +dataFiles = README.devel tdefile_plugin.cpp tdefile_plugin.desktop \ + tdefile_plugin.h plugin.tdevelop tdefileplugin tdefileplugin.png \ + src-Makefile.am subdirs +templateName = tdefileplugin + +### 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/tdefileplugin/README.devel b/languages/cpp/app_templates/tdefileplugin/README.devel new file mode 100644 index 00000000..4417fa74 --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/README.devel @@ -0,0 +1,9 @@ +@todo: + +1. add information to src/tdefile_%{APPNAMELC}.desktop +MimeType= +PreferredGroups= +PreferredItems= + +2. plugin +Note: Please change to "Optimized" compilation if you want to make a release. diff --git a/languages/cpp/app_templates/tdefileplugin/plugin.tdevelop b/languages/cpp/app_templates/tdefileplugin/plugin.tdevelop new file mode 100644 index 00000000..f09030c1 --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/plugin.tdevelop @@ -0,0 +1,114 @@ + + + + %{AUTHOR} + %{EMAIL} + %{VERSION} + KDevTDEAutoProject + C++ + + C++ + Code + Qt + TDE + + + + + 3 + true + 3 + EmbeddedKDevDesigner + + + + + + src/tdefile_%{APPNAMELC}.la + debug + + + + optimized + kdevgccoptions + kdevgppoptions + kdevg77options + -O2 -g0 + + + --enable-debug=full + debug + kdevgccoptions + kdevgppoptions + kdevg77options + -O0 -g3 + + + + + + + + + + + + + + + ada + ada_bugs_gcc + bash + bash_bugs + clanlib + fortran_bugs_gcc + gnome1 + gnustep + gtk + gtk_bugs + haskell + haskell_bugs_ghc + java_bugs_gcc + java_bugs_sun + opengl + pascal_bugs_fp + php + php_bugs + perl + perl_bugs + python + python_bugs + ruby + ruby_bugs + sdl + stl + sw + w3c-dom-level2-html + w3c-svg + w3c-uaag10 + wxwidgets_bugs + + + qmake User Guide + + + + + libtool + + + + + + + + + + + + + Doxygen Documentation Collection + %{APPNAMELC}.tag + + + diff --git a/languages/cpp/app_templates/tdefileplugin/src-Makefile.am b/languages/cpp/app_templates/tdefileplugin/src-Makefile.am new file mode 100644 index 00000000..c96817d5 --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/src-Makefile.am @@ -0,0 +1,22 @@ +## Makefile.am for folder file meta info plugin + +INCLUDES = $(all_includes) + +# these are the headers for your project +noinst_HEADERS = tdefile_%{APPNAMELC}.h + +kde_module_LTLIBRARIES = tdefile_%{APPNAMELC}.la + +tdefile_%{APPNAMELC}_la_SOURCES = tdefile_%{APPNAMELC}.cpp +tdefile_%{APPNAMELC}_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KPARTS) $(LIB_KIO) +tdefile_%{APPNAMELC}_la_LIBADD = $(LIB_KIO) + +# let automoc handle all of the meta source files ((moc)) +METASOURCES = AUTO + +services_DATA = tdefile_%{APPNAMELC}.desktop +servicesdir = $(kde_servicesdir) + +messages: rc.cpp + $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/tdefile_%{APPNAMELC}.pot diff --git a/languages/cpp/app_templates/tdefileplugin/subdirs b/languages/cpp/app_templates/tdefileplugin/subdirs new file mode 100644 index 00000000..0e678106 --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/subdirs @@ -0,0 +1,3 @@ +doc +po +src diff --git a/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.cpp b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.cpp new file mode 100644 index 00000000..1d590f97 --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.cpp @@ -0,0 +1,55 @@ +%{CPP_TEMPLATE} + +#include +#include "tdefile_%{APPNAMELC}.h" + +#include +//#include + +//#include +//#include + +typedef KGenericFactory<%{APPNAME}Plugin> %{APPNAME}Factory; + +K_EXPORT_COMPONENT_FACTORY(tdefile_%{APPNAME}, %{APPNAME}Factory( "tdefile_%{APPNAMELC}" )) + +%{APPNAME}Plugin::%{APPNAME}Plugin(TQObject *parent, const char *name, + const TQStringList &args) + : KFilePlugin(parent, name, args) +{ + //add the mimetype here - example: + //KFileMimeTypeInfo* info = addMimeTypeInfo( "text/html" ); + KFileMimeTypeInfo* info = addMimeTypeInfo( "text/html" ); + + // our new group + KFileMimeTypeInfo::GroupInfo* group = 0L; + group = addGroupInfo(info, "%{APPNAME}Info", i18n("%{APPNAME} Information")); + + KFileMimeTypeInfo::ItemInfo* item; + + // our new items in the group + item = addItemInfo(group, "Items", i18n("Items"), TQVariant::Int); + item = addItemInfo(group, "Size", i18n("Size"), TQVariant::Int); + setUnit(item, KFileMimeTypeInfo::KiloBytes); + + // strings are possible, too: + //addItemInfo(group, "Text", i18n("Document Type"), TQVariant::String); +} + +bool %{APPNAME}Plugin::readInfo( KFileMetaInfo& info, uint /*what*/) +{ + KFileMetaInfoGroup group = appendGroup(info, "%{APPNAME}Info"); + + // add your "calculations" here + // if something goes wrong, "return false;" + + + // and finally display it! + appendItem(group, "Items", 100); + appendItem(group, "Size", int(5000/1024)); + + return true; +} + +#include "tdefile_%{APPNAMELC}.moc" + diff --git a/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.desktop b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.desktop new file mode 100644 index 00000000..42f19e60 --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.desktop @@ -0,0 +1,39 @@ +[Desktop Entry] +Type=Service +Name=%{APPNAME} Info +Name[br]=Titouriñ diwar-benn %{APPNAME} +Name[ca]=Informació per a %{APPNAME} +Name[da]=%{APPNAME} info +Name[el]=Πληροφορίες %{APPNAME} +Name[es]=Información de %{APPNAME} +Name[et]=%{APPNAME} info +Name[eu]=%{APPNAME} informazioa +Name[fa]=اطلاعات %{APPNAME} +Name[fr]=Informations sur %{APPNAME} +Name[ga]=Eolas faoi %{APPNAME} +Name[gl]=Información de %{APPNAME} +Name[hu]=%{APPNAME} jellemzői +Name[it]=Informazioni su %{APPNAME} +Name[nds]=%{APPNAME}-Info +Name[ne]=%{APPNAME} सूचना +Name[pl]=Informacje dla %{APPNAME} +Name[pt]=Informação do %{APPNAME} +Name[pt_BR]=Informações de %{APPNAME} +Name[ru]=Информация о %{APPNAME} +Name[sk]=%{APPNAME} info +Name[sl]=Informacije o %{APPNAME} +Name[sr]=Информације за %{APPNAME} +Name[sr@Latn]=Informacije za %{APPNAME} +Name[sv]=%{APPNAME} information +Name[ta]=%{APPNAME} தகவல் +Name[tg]=Маълумот дар бораи %{APPNAME} +Name[zh_CN]=%{APPNAME}的信息 +Name[zh_TW]=%{APPNAME} 資訊 +ServiceTypes=KFilePlugin +X-TDE-Library=tdefile_%{APPNAMELC} +# change MimeType here! (example: inode/directory) +MimeType= +# change PreferredGroups here! (example: FolderInfo) +PreferredGroups= +# change PreferredItems here! (example: Items;Size) +PreferredItems= diff --git a/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h new file mode 100644 index 00000000..96fcaf0d --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h @@ -0,0 +1,25 @@ +%{H_TEMPLATE} + +#ifndef __KFILE_%{APPNAMEUC}_H__ +#define __KFILE_%{APPNAMEUC}_H__ + +/** + * Note: For further information look into <$TDEDIR/include/tdefilemetainfo.h> + */ +#include + +class TQStringList; + +class %{APPNAME}Plugin: public KFilePlugin +{ + Q_OBJECT + + +public: + %{APPNAME}Plugin( TQObject *parent, const char *name, const TQStringList& args ); + + virtual bool readInfo( KFileMetaInfo& info, uint what); +}; + +#endif // __KFILE_%{APPNAMEUC}_H__ + diff --git a/languages/cpp/app_templates/tdefileplugin/tdefileplugin b/languages/cpp/app_templates/tdefileplugin/tdefileplugin new file mode 100644 index 00000000..b902179d --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/tdefileplugin @@ -0,0 +1,8 @@ +# TDE Config File +[General] +Name=KFile plugin +Icon=tdefileplugin.png +Category=C++/TDE +Comment=Generates a KFile plugin for konqueror to display meta information. +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=README.devel,src/tdefile_APPNAMELC.cpp diff --git a/languages/cpp/app_templates/tdefileplugin/tdefileplugin.kdevtemplate b/languages/cpp/app_templates/tdefileplugin/tdefileplugin.kdevtemplate new file mode 100644 index 00000000..52afe804 --- /dev/null +++ b/languages/cpp/app_templates/tdefileplugin/tdefileplugin.kdevtemplate @@ -0,0 +1,166 @@ +# TDE Config File +[General] +Name=KFile plugin +Name[br]=Lugent KFile +Name[ca]=Connector KFile +Name[de]=KFile-Modul +Name[el]=Πρόσθετο KFile +Name[es]=Complemento para KFile +Name[et]=KFile'i plugin +Name[eu]=KFile plugin-a +Name[fa]=وصلۀ KFile +Name[fr]=Module externe KFile +Name[ga]=Breiseán KFile +Name[gl]=Extensión para KFile +Name[hu]=KFile-bővítőmodul +Name[it]=Plugin KFile +Name[ja]=KFile プラグイン +Name[nds]=KFile-Moduul +Name[ne]=केडीई फाइल प्लगइन +Name[nl]=KFile-plugin +Name[pl]=Wtyczka do KFile +Name[pt]='Plugin' do KFile +Name[pt_BR]='Plugin' do KFile +Name[ru]=Модуль KFile +Name[sk]=KFile modul +Name[sl]=Vstavek za KFile +Name[sr]=Прикључак за KFile +Name[sr@Latn]=Priključak za KFile +Name[sv]=KFile-insticksprogram +Name[tr]=KFile Eklentisi +Name[zh_CN]=KFile 插件 +Name[zh_TW]=KFile 外掛程式 +Icon=tdefileplugin.png +Category=C++/TDE +Comment=Generates a KFile plugin for konqueror to display meta information. +Comment[ca]=Genera un connector KFile per al konqueror per a mostrar meta informació. +Comment[da]=Genererer et KFile-plugin for konqueror til at vise meta-information. +Comment[de]=Erstellt ein KFile-Modul für Konqueror zur Anzeige von Meta-Daten. +Comment[el]=Δημιουργεί ένα πρόσθετο KFile για την εμφάνιση μεταπληροφοριών στον konqueror. +Comment[es]=Genera un complemento de KFile para Konqueror que muestra metainformación. +Comment[et]=Konquerori KFile'i plugina loomine, mis näitab metainfot. +Comment[eu]=Meta-informazioa bistaratzeko Konqueror-en KFile plugin bat sortzen du. +Comment[fa]=یک وصلۀ KFile برای konqueror جهت نمایش فرااطلاعات تولید می‌کند. +Comment[fr]=Génère un module externe KFile pour que Konqueror affiche des méta-informations. +Comment[gl]=Xera unha extensión para KFile para permitir a konqueror mostrar metainformación. +Comment[hu]=Létrehoz egy KFile-bővítőmodult, mellyel a Konquerorban dokumentumjellemzőket lehet megjeleníteni. +Comment[it]=Genera un plugin KFile per Konqueror per mostrare meta informazioni. +Comment[nds]=Stellt en KFile-Moduul för Konqueror op, dat Metadaten wiest. +Comment[ne]=मेटा सूचना देखाउन कन्क्वेररका लागि केडीई फाइल प्लगइन उत्पन्न गर्दछ । +Comment[nl]=Genereert een KFile-plugin voor konqueror voor het weergeven van meta-informatie. +Comment[pl]=Generuje wtyczkę KFile dla Konquerora do wyświetlania informacji meta. +Comment[pt]=Gera um 'plugin' do KFile para o Konqueror poder mostrar meta-informações. +Comment[pt_BR]=Gera um 'plugin' do KFile para o Konqueror poder mostrar meta-informações. +Comment[ru]=Создание модуля KFile для показа метаданных в Konqueror. +Comment[sk]=Vygeneruje KFile modul pre konqueror na zobrazenie meta informácií. +Comment[sr]=Прави прикључак за KFile за приказ метаинформација у Konqueror-у. +Comment[sr@Latn]=Pravi priključak za KFile za prikaz metainformacija u Konqueror-u. +Comment[sv]=Skapar ett KFile-insticksprogram till Konqueror för att visa metainformation. +Comment[tr]=Meta bilgisini göstermesi için Konqueror'a bir KFile eklentisi yaratır. +Comment[zh_CN]=生成一个可显示元信息的 Konqueror KFile 插件。 +Comment[zh_TW]=產生一個 Konqueror 的 KFile 外掛程式,顯示中繼資訊 +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=${dest}/README.devel,%{dest}/src/tdefile_%{APPNAMELC}.cpp +Archive=tdefileplugin.tar.gz + +[ADMIN] +Type=include +File=%{tdevelop}/template-common/admin.kdevtemplate + +[GNU] +Type=include +File=%{tdevelop}/template-common/gnu.kdevtemplate + +[MKDIR_DOCBOOK1] +Type=mkdir +Dir=%{dest}/doc + +[MKDIR_DOCBOOK2] +Type=mkdir +Dir=%{dest}/doc/en + +[FILE1] +Type=install +Source=%{tdevelop}/template-common/kde-doc-Makefile.am +Dest=%{dest}/doc/Makefile.am + +[FILE2] +Type=install +Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am +Dest=%{dest}/doc/en/Makefile.am + +[FILE3] +Type=install +EscapeXML=true +Source=%{tdevelop}/template-common/kde-index.docbook +Dest=%{dest}/doc/en/index.docbook + +[FILE4] +Type=install +EscapeXML=true +Source=%{src}/plugin.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE5] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE6] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE7] +Type=install +Source=%{tdevelop}/template-common/tde-configure.in.in +Dest=%{dest}/configure.in.in + +[MkDir3] +Type=mkdir +Dir=%{dest}/src + +[FILE8] +Type=install +Source=%{tdevelop}/template-common/kde-app.lsm +Dest=%{dest}/src/%{APPNAMELC}.lsm + +[MkDir4] +Type=mkdir +Dir=%{dest}/po + +[FILE9] +Type=install +Source=%{tdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[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}/tdefile_plugin.desktop +Dest=%{dest}/src/tdefile_%{APPNAMELC}.desktop + +[FILE13] +Type=install +Source=%{src}/tdefile_plugin.cpp +Dest=%{dest}/src/tdefile_%{APPNAMELC}.cpp + +[FILE14] +Type=install +Source=%{src}/tdefile_plugin.h +Dest=%{dest}/src/tdefile_%{APPNAMELC}.h + +[FILE15] +Type=install +Source=%{src}/README.devel +Dest=%{dest}/README.devel + diff --git a/languages/cpp/app_templates/tdefileplugin/tdefileplugin.png b/languages/cpp/app_templates/tdefileplugin/tdefileplugin.png new file mode 100644 index 00000000..d2a56245 Binary files /dev/null and b/languages/cpp/app_templates/tdefileplugin/tdefileplugin.png differ diff --git a/languages/cpp/app_templates/tdeioslave/.kdev_ignore b/languages/cpp/app_templates/tdeioslave/.kdev_ignore new file mode 100644 index 00000000..e69de29b diff --git a/languages/cpp/app_templates/tdeioslave/CMakeLists.txt b/languages/cpp/app_templates/tdeioslave/CMakeLists.txt new file mode 100644 index 00000000..584bdc19 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( tdeioslave.tar.gz ALL + COMMAND tar zcf tdeioslave.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + slave.cpp slave.h slave.protocol slave.tdevelop + src-Makefile.am tdeioslave.png subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/tdeioslave.tar.gz tdeioslave.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + tdeioslave.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/cpp/app_templates/tdeioslave/Makefile.am b/languages/cpp/app_templates/tdeioslave/Makefile.am new file mode 100644 index 00000000..bee7ddb6 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/Makefile.am @@ -0,0 +1,17 @@ +dataFiles = slave.cpp slave.h slave.protocol slave.tdevelop \ + src-Makefile.am tdeioslave.png subdirs +templateName = tdeioslave + +### 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/tdeioslave/slave.cpp b/languages/cpp/app_templates/tdeioslave/slave.cpp new file mode 100644 index 00000000..3c780e7f --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/slave.cpp @@ -0,0 +1,88 @@ + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "%{APPNAMELC}.h" + +using namespace TDEIO; + + +kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket) + : SlaveBase("kio_%{APPNAMELC}", pool_socket, app_socket) +{ + kdDebug() << "kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol()" << endl; +} + + +kio_%{APPNAMELC}Protocol::~kio_%{APPNAMELC}Protocol() +{ + kdDebug() << "kio_%{APPNAMELC}Protocol::~kio_%{APPNAMELC}Protocol()" << endl; +} + + +void kio_%{APPNAMELC}Protocol::get(const KURL& url ) +{ + kdDebug() << "kio_%{APPNAMELC}::get(const KURL& url)" << endl ; + + kdDebug() << "Seconds: " << url.query() << endl; + TQString remoteServer = url.host(); + int remotePort = url.port(); + kdDebug() << "myURL: " << url.prettyURL() << endl; + + infoMessage(i18n("Looking for %1...").arg( remoteServer ) ); + // Send the mimeType as soon as it is known + mimeType("text/plain"); + // Send the data + TQString theData = "This is a test of kio_%{APPNAMELC}"; + data(TQCString(theData.local8Bit())); + data(TQByteArray()); // empty array means we're done sending the data + finished(); +} + + +void kio_%{APPNAMELC}Protocol::mimetype(const KURL & /*url*/) +{ + mimeType("text/plain"); + finished(); +} + + +extern "C" +{ + int kdemain(int argc, char **argv) + { + TDEInstance instance( "kio_%{APPNAMELC}" ); + + kdDebug(7101) << "*** Starting kio_%{APPNAMELC} " << endl; + + if (argc != 4) { + kdDebug(7101) << "Usage: kio_%{APPNAMELC} protocol domain-socket1 domain-socket2" << endl; + exit(-1); + } + + kio_%{APPNAMELC}Protocol slave(argv[2], argv[3]); + slave.dispatchLoop(); + + kdDebug(7101) << "*** kio_%{APPNAMELC} Done" << endl; + return 0; + } +} diff --git a/languages/cpp/app_templates/tdeioslave/slave.h b/languages/cpp/app_templates/tdeioslave/slave.h new file mode 100644 index 00000000..672e6121 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/slave.h @@ -0,0 +1,23 @@ + +#ifndef _%{APPNAMELC}_H_ +#define _%{APPNAMELC}_H_ + +#include +#include + +#include +#include +#include + +class TQCString; + +class kio_%{APPNAMELC}Protocol : public TDEIO::SlaveBase +{ +public: + kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket); + virtual ~kio_%{APPNAMELC}Protocol(); + virtual void mimetype(const KURL& url); + virtual void get(const KURL& url); +}; + +#endif diff --git a/languages/cpp/app_templates/tdeioslave/slave.protocol b/languages/cpp/app_templates/tdeioslave/slave.protocol new file mode 100644 index 00000000..5a1f6445 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/slave.protocol @@ -0,0 +1,39 @@ +[Protocol] +exec=kio_%{APPNAMELC} +protocol=%{APPNAMELC} +input=none +output=stream +reading=true +defaultMimetype=text/plain +Icon=remote +Description=A tdeioslave for %{APPNAMELC} +Description[br]=Ur c'hioslave evit %{APPNAMELC} +Description[ca]=Un tdeioslave per a %{APPNAMELC} +Description[da]=En tdeioslave til %{APPNAMELC} +Description[de]=Ein Ein-/Ausgabemodul für %{APPNAMELC} +Description[el]=Ένα υπηρέτης kio για %{APPNAMELC} +Description[es]=Un tdeioslave para %{APPNAMELC} +Description[et]=%{APPNAMELC} IO-moodul +Description[eu]=tdeioslave bat honentzat: %{APPNAMELC} +Description[fa]=یک tdeioslave برای %{APPNAMELC} +Description[fr]=Un esclave d'E/S (tdeioslave) pour %{APPNAMELC} +Description[ga]=tdeioslave le haghaidh %{APPNAMELC} +Description[gl]=Un tdeioslave para %{APPNAMELC} +Description[hu]=%{APPNAMELC}-támogató KIOslave +Description[it]=Un tdeioslave per %{APPNAMELC} +Description[ja]=%{APPNAMELC} のための tdeioslave +Description[nds]=En In-/Utgaavmoduul för %{APPNAMELC} +Description[ne]= %{APPNAMELC} का लागि किवस्लेभ +Description[nl]=Kioslave voor %{APPNAMELC} +Description[pl]=tdeioslave dla %{APPNAMELC} +Description[pt]=Um 'tdeioslave' para %{APPNAMELC} +Description[pt_BR]=Um tdeioslave para %{APPNAMELC} +Description[ru]=Канал tdeioslave для %{APPNAMELC} +Description[sk]=tdeioslave pre %{APPNAMELC} +Description[sl]=tdeioslave za %{APPNAMELC} +Description[sr]=KIOSlave за %{APPNAMELC} +Description[sr@Latn]=KIOSlave za %{APPNAMELC} +Description[sv]=En I/O-slav för %{APPNAMELC} +Description[tr]=%{APPNAMELC} için bir tdeioslave +Description[zh_CN]=%{APPNAMELC} 的 tdeioslave +Description[zh_TW]=%{APPNAMELC} 的 tdeioslave diff --git a/languages/cpp/app_templates/tdeioslave/slave.tdevelop b/languages/cpp/app_templates/tdeioslave/slave.tdevelop new file mode 100644 index 00000000..cb257385 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/slave.tdevelop @@ -0,0 +1,113 @@ + + + + %{AUTHOR} + %{EMAIL} + %{VERSION} + KDevTDEAutoProject + C++ + + C++ + Code + Qt + TDE + tdeioslave + + + + + 3 + true + 3 + EmbeddedKDevDesigner + + + + + + src/lib%{APPNAMELC}.la + debug + + + + optimized + kdevgccoptions + kdevgppoptions + kdevg77options + -O2 -g0 + + + --enable-debug=full + debug + kdevgccoptions + kdevgppoptions + kdevg77options + -O0 -g3 + + + + + + + + + + + + + bash + bash_bugs + clanlib + fortran_bugs_gcc + gnome1 + gnustep + gtk + gtk_bugs + haskell + haskell_bugs_ghc + java_bugs_gcc + java_bugs_sun + opengl + pascal_bugs_fp + php + php_bugs + perl + perl_bugs + python + python_bugs + ruby + ruby_bugs + sdl + stl + sw + w3c-dom-level2-html + w3c-svg + w3c-uaag10 + wxwidgets_bugs + + + Guide to the Qt Translation Tools + Qt Assistant Manual + Qt Designer Manual + Qt Reference Documentation + + + + + libtool + + + + + + + + + + + + Doxygen Documentation Collection + %{APPNAMELC}.tag + + + diff --git a/languages/cpp/app_templates/tdeioslave/src-Makefile.am b/languages/cpp/app_templates/tdeioslave/src-Makefile.am new file mode 100644 index 00000000..b160d973 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/src-Makefile.am @@ -0,0 +1,14 @@ +INCLUDES = $(all_includes) + +kde_module_LTLIBRARIES = kio_%{APPNAMELC}.la + +kio_%{APPNAMELC}_la_SOURCES = %{APPNAMELC}.cpp +kio_%{APPNAMELC}_la_LIBADD = -lkio +kio_%{APPNAMELC}_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_PLUGIN) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KPARTS) + +protocol_DATA = %{APPNAMELC}.protocol +protocoldir = $(kde_servicesdir) + +messages: rc.cpp + $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/tdeio_%{APPNAMELC}.pot diff --git a/languages/cpp/app_templates/tdeioslave/subdirs b/languages/cpp/app_templates/tdeioslave/subdirs new file mode 100644 index 00000000..0e678106 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/subdirs @@ -0,0 +1,3 @@ +doc +po +src diff --git a/languages/cpp/app_templates/tdeioslave/tdeioslave.kdevtemplate b/languages/cpp/app_templates/tdeioslave/tdeioslave.kdevtemplate new file mode 100644 index 00000000..27279fd2 --- /dev/null +++ b/languages/cpp/app_templates/tdeioslave/tdeioslave.kdevtemplate @@ -0,0 +1,183 @@ +# TDE Config File +[General] +Name=KIO slave +Name[br]=Sklav KIO +Name[ca]=Esclau KIO +Name[da]=KIO-slave +Name[de]=Ein-/Ausgabemodul +Name[el]=Υπηρέτης KIO +Name[es]=Esclavo KIO +Name[et]=KIO-moodul +Name[eu]=KIO morroia +Name[fr]=Esclave KIO +Name[ga]=Sclábhaí KIO +Name[gl]=Escravo KIO +Name[hu]=TDE-protokoll (KIOslave) +Name[it]=Slave KIO +Name[nds]=In-/Utgaavmoduul +Name[ne]=KIO स्लेभ +Name[nl]=KIO-slave +Name[pt]=KIO Slave +Name[sk]=KIO otrok +Name[sv]=I/O-slav +Icon=tdeioslave.png +Category=C++/TDE +Comment=Generates a framework for an IO slave +Comment[ca]=Genera una infraestructura per a un esclau IO +Comment[da]=Genererer et skelet for en IO-slave +Comment[de]=Erstellt das Grundgerüst für ein Ein-/Ausgabemodul. +Comment[el]=Δημιουργεί ένα πλαίσιο για έναν υπηρέτη IO +Comment[es]=Genera una infraestructura para un esclavo de E/S +Comment[et]=IO-mooduli raamistiku loomine +Comment[eu]=IO morroi baterako lan-marko bat sortzen du +Comment[fa]=چارچوبی برای یک IO slave تولید می‌کند +Comment[fr]=Génère une infrastructure pour un esclave d'entrée / sortie +Comment[ga]=Cruthaíonn sé seo creatlach le haghaidh sclábhaí IO +Comment[gl]=Xera un contorno de traballo para un escravo IO +Comment[hu]=Létrehoz egy kiindulási keretprogramot KIOslave készítéséhez +Comment[it]=Genera l'infrastruttura per uno slave di I/O +Comment[ja]=IO slave のフレームワークを作成します +Comment[nds]=Stellt dat Rahmenwark för en In-/Utgaavmoduul op +Comment[ne]=IO स्लेभका लागि फ्रेमवर्क उत्पन्न गर्दछ +Comment[nl]=Genereert een framework voor een IO-slave +Comment[pl]=Generuje szablon dla IO slave +Comment[pt]=Gera a plataforma para um 'IO slave' +Comment[pt_BR]=Gera a plataforma para um 'IO slave' +Comment[ru]=Создание канала IO slave для TDE +Comment[sk]=Vygeneruje framework pre IO otroka +Comment[sr]=Прави радни оквир за IO slave +Comment[sr@Latn]=Pravi radni okvir za IO slave +Comment[sv]=Skapar ett ramverk för en I/O-slav +Comment[zh_CN]=生成一个 IO slave 的框架 +Comment[zh_TW]=產生一個 IO slave 的框架 +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp +Archive=tdeioslave.tar.gz + +[ADMIN] +Type=include +File=%{tdevelop}/template-common/admin.kdevtemplate + +[GNU] +Type=include +File=%{tdevelop}/template-common/gnu.kdevtemplate + +[MKDIR_DOCBOOK1] +Type=mkdir +Dir=%{dest}/doc + +[MKDIR_DOCBOOK2] +Type=mkdir +Dir=%{dest}/doc/en + +[FILE1] +Type=install +Source=%{tdevelop}/template-common/kde-doc-Makefile.am +Dest=%{dest}/doc/Makefile.am + +[FILE2] +Type=install +Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am +Dest=%{dest}/doc/en/Makefile.am + +[FILE3] +Type=install +EscapeXML=true +Source=%{tdevelop}/template-common/kde-index.docbook +Dest=%{dest}/doc/en/index.docbook + +[FILE4] +Type=install +EscapeXML=true +Source=%{src}/slave.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[MkDir3] +Type=mkdir +Dir=%{dest}/src + +[FILE5] +Type=install +Source=%{tdevelop}/template-common/kde-app.lsm +Dest=%{dest}/src/%{APPNAMELC}.lsm + +[MkDir4] +Type=mkdir +Dir=%{dest}/po + +[FILE6] +Type=install +Source=%{tdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[FILE7] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE8] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE9] +Type=install +Source=%{tdevelop}/template-common/tde-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}/slave.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[FILE13] +Type=install +Source=%{src}/slave.h +Dest=%{dest}/src/%{APPNAMELC}.h + +[FILE14] +Type=install +Source=%{src}/slave.protocol +Dest=%{dest}/src/%{APPNAMELC}.protocol + +[MSG] +Type=message +Comment=A KIO slave was created in %{dest} +Comment[ca]=Un esclau KIO ha estat creat en %{dest} +Comment[da]=En KIO-slave blev oprettet i %{dest} +Comment[de]=Ein Ein-/Ausgabemodul wurde in %{dest} erstellt. +Comment[el]=Ένας υπηρέτης KIO δημιουργήθηκε στο %{dest} +Comment[es]=Un esclavo KIO ha sido creado en %{dest} +Comment[et]=KIO-moodul loodi asukohta %{dest} +Comment[eu]=KIO morroi bat sortu da hemen: %{dest} +Comment[fa]=یک KIO slave در %{dest} ایجاد شد +Comment[fr]=Un esclave d'entrée / sortie a été créé dans %{dest} +Comment[ga]=Cruthaíodh sclábhaí KIO i %{dest} +Comment[gl]=Creouse un escravo KIO en %{dest} +Comment[hu]=Létrejött egy KIOslave itt: %{dest} +Comment[it]=È stato generato un slave KIO in %{dest} +Comment[ja]=KIO slave を %{dest} に作成しました。 +Comment[nds]=In %{dest} wöör en In-/Utgaavmoduul opstellt +Comment[ne]=KIO स्लेभ %{dest} मा सिर्जना गरियो +Comment[nl]=Een KIO-slave is aangemaakt in %{dest} +Comment[pl]=KIO slave został utworzony w %{dest} +Comment[pt]=Foi criado um 'KIO slave' em %{dest} +Comment[pt_BR]=Foi criado um 'KIO slave' em %{dest} +Comment[ru]=Канал KIO slave создан в %{dest} +Comment[sk]=KIO otrok bol vytvorený v %{dest} +Comment[sr]=KIO slave је направљен у %{dest} +Comment[sr@Latn]=KIO slave je napravljen u %{dest} +Comment[sv]=En I/O-slav skapades i %{dest} +Comment[tr]=Bir KIO slave'i %{dest} içinde yaratıldı. +Comment[zh_CN]=在 %{dest} 中创建了一个 KIO slave +Comment[zh_TW]=一個 KIO slave 已建立於 %{dest} diff --git a/languages/cpp/app_templates/tdeioslave/tdeioslave.png b/languages/cpp/app_templates/tdeioslave/tdeioslave.png new file mode 100644 index 00000000..f0cd89a8 Binary files /dev/null and b/languages/cpp/app_templates/tdeioslave/tdeioslave.png differ diff --git a/languages/cpp/app_templates/tdescreensaver/tdescreensaver.cpp b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.cpp index f8e88db8..21d6db32 100644 --- a/languages/cpp/app_templates/tdescreensaver/tdescreensaver.cpp +++ b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.cpp @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include "%{APPNAMELC}.h" #include "%{APPNAMELC}ui.h" diff --git a/languages/cpp/app_templates/tdescreensaver/tdescreensaver.tdevelop b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.tdevelop index 38429f89..28e0a678 100644 --- a/languages/cpp/app_templates/tdescreensaver/tdescreensaver.tdevelop +++ b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.tdevelop @@ -11,7 +11,7 @@ Code Qt TDE - kioslave + tdeioslave diff --git a/languages/cpp/ccconfigwidget.cpp b/languages/cpp/ccconfigwidget.cpp index 140bb46b..e1d2940a 100644 --- a/languages/cpp/ccconfigwidget.cpp +++ b/languages/cpp/ccconfigwidget.cpp @@ -26,12 +26,12 @@ // kde includes #include -#include +#include #include #include #include #include -#include +#include #include #include #include diff --git a/languages/cpp/classgeneratorconfig.cpp b/languages/cpp/classgeneratorconfig.cpp index 2ed3ba0a..f3dba7fb 100644 --- a/languages/cpp/classgeneratorconfig.cpp +++ b/languages/cpp/classgeneratorconfig.cpp @@ -16,7 +16,7 @@ #include #include -#include +#include #include "cppsupportfactory.h" #include "classgeneratorconfig.h" diff --git a/languages/cpp/configproblemreporter.ui.h b/languages/cpp/configproblemreporter.ui.h index 9b9b59fb..c9e23652 100644 --- a/languages/cpp/configproblemreporter.ui.h +++ b/languages/cpp/configproblemreporter.ui.h @@ -10,7 +10,7 @@ #include -#include +#include #include #include #include diff --git a/languages/cpp/cppsupport_utils.cpp b/languages/cpp/cppsupport_utils.cpp index 85148c30..c8ffb1de 100644 --- a/languages/cpp/cppsupport_utils.cpp +++ b/languages/cpp/cppsupport_utils.cpp @@ -1,7 +1,7 @@ #include #include -#include +#include #include #include diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp index f0ec6fa9..8f66283d 100644 --- a/languages/cpp/cppsupportpart.cpp +++ b/languages/cpp/cppsupportpart.cpp @@ -80,7 +80,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp index 9c2ade95..c18d581d 100644 --- a/languages/cpp/debugger/debuggerpart.cpp +++ b/languages/cpp/debugger/debuggerpart.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include diff --git a/languages/cpp/debugger/gdbcontroller.cpp b/languages/cpp/debugger/gdbcontroller.cpp index a46b6d6a..e5081fbd 100644 --- a/languages/cpp/debugger/gdbcontroller.cpp +++ b/languages/cpp/debugger/gdbcontroller.cpp @@ -25,7 +25,7 @@ #include "mi/miparser.h" #include -#include +#include #include #include #include diff --git a/languages/cpp/doc/gnome1.toc b/languages/cpp/doc/gnome1.toc index 74d0872f..2295f820 100644 --- a/languages/cpp/doc/gnome1.toc +++ b/languages/cpp/doc/gnome1.toc @@ -158,7 +158,7 @@ - + diff --git a/languages/cpp/doc/kde2book.toc b/languages/cpp/doc/kde2book.toc index 1156df06..ec22d851 100644 --- a/languages/cpp/doc/kde2book.toc +++ b/languages/cpp/doc/kde2book.toc @@ -1284,10 +1284,10 @@ - - - - + + + + @@ -1675,8 +1675,8 @@ - - + + diff --git a/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.cpp b/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.cpp index 174219a3..0dc82191 100644 --- a/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.cpp +++ b/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.cpp @@ -60,7 +60,7 @@ TQStringList KDevKDELibsImporter::fileList() files += fileList( m_settings->kdeDir() + "/kabc" ); files += fileList( m_settings->kdeDir() + "/tdeprint" ); files += fileList( m_settings->kdeDir() + "/tdesu" ); - files += fileList( m_settings->kdeDir() + "/kio" ); + files += fileList( m_settings->kdeDir() + "/tdeio" ); files += fileList( m_settings->kdeDir() + "/kjs" ); files += fileList( m_settings->kdeDir() + "/tdeparts" ); files += fileList( m_settings->kdeDir() + "/tdetexteditor" ); diff --git a/languages/cpp/problemreporter.cpp b/languages/cpp/problemreporter.cpp index 6f87771f..baea54d7 100644 --- a/languages/cpp/problemreporter.cpp +++ b/languages/cpp/problemreporter.cpp @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include diff --git a/languages/cpp/subclassingdlg.cpp b/languages/cpp/subclassingdlg.cpp index 0db80fa8..5d3ed2be 100644 --- a/languages/cpp/subclassingdlg.cpp +++ b/languages/cpp/subclassingdlg.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -36,7 +36,7 @@ #include #include #include -#include +#include #define WIDGET_CAPTION_NAME "widget/property|name=caption/string" diff --git a/languages/csharp/CMakeLists.txt b/languages/csharp/CMakeLists.txt index b509fd03..362a22fe 100644 --- a/languages/csharp/CMakeLists.txt +++ b/languages/csharp/CMakeLists.txt @@ -54,6 +54,6 @@ tde_add_kpart( libkdevcsharpsupport AUTOMOC tde_add_kpart( kio_csharpdoc AUTOMOC SOURCES csharpdoc.cpp - LINK kio-shared + LINK tdeio-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/languages/csharp/csharpdoc.h b/languages/csharp/csharpdoc.h index 7abaac1e..81329e52 100644 --- a/languages/csharp/csharpdoc.h +++ b/languages/csharp/csharpdoc.h @@ -2,7 +2,7 @@ #define _CSHARPDOC_H_ #include -#include +#include class CSharpdocProtocol : public TDEIO::SlaveBase diff --git a/languages/fortran/CMakeLists.txt b/languages/fortran/CMakeLists.txt index 507795aa..3b2dd46a 100644 --- a/languages/fortran/CMakeLists.txt +++ b/languages/fortran/CMakeLists.txt @@ -40,7 +40,7 @@ install( FILES kdevfortransupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfortran tde_add_kpart( libkdevfortransupport AUTOMOC SOURCES fortransupportpart.cpp fixedformparser.cpp - ftnchekconfigwidget.cpp ftnchekconfigwidgetbase.ui + ftnchetdeconfigwidget.cpp ftnchetdeconfigwidgetbase.ui LINK tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/languages/fortran/Makefile.am b/languages/fortran/Makefile.am index 73f4582c..148c4228 100644 --- a/languages/fortran/Makefile.am +++ b/languages/fortran/Makefile.am @@ -9,7 +9,7 @@ kde_module_LTLIBRARIES = libkdevfortransupport.la libkdevfortransupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevfortransupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevfortransupport_la_SOURCES = fortransupportpart.cpp fixedformparser.cpp ftnchekconfigwidget.cpp ftnchekconfigwidgetbase.ui +libkdevfortransupport_la_SOURCES = fortransupportpart.cpp fixedformparser.cpp ftnchetdeconfigwidget.cpp ftnchetdeconfigwidgetbase.ui METASOURCES = AUTO diff --git a/languages/fortran/fortransupportpart.cpp b/languages/fortran/fortransupportpart.cpp index 44068db8..4eeae482 100644 --- a/languages/fortran/fortransupportpart.cpp +++ b/languages/fortran/fortransupportpart.cpp @@ -14,7 +14,7 @@ ***************************************************************************/ #include "fortransupportpart.h" -#include "ftnchekconfigwidget.h" +#include "ftnchetdeconfigwidget.h" #include "fixedformparser.h" #include diff --git a/languages/fortran/ftnchekconfigwidget.cpp b/languages/fortran/ftnchekconfigwidget.cpp deleted file mode 100644 index 8acc9985..00000000 --- a/languages/fortran/ftnchekconfigwidget.cpp +++ /dev/null @@ -1,290 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2001 by Bernd Gehrmann * - * bernd@tdevelop.org * - * * - * 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 "ftnchekconfigwidget.h" - -#include -#include -#include -#include -#include -#include -#include - -#include "domutil.h" - - -class FtnchekItem : public TQCheckListItem -{ -public: - FtnchekItem(TQListView *parent, const TQString &flagstr, - const TQString &description) - : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox), - flag(flagstr), desc(description) - { - setText(1, desc); - } - - static void readFlagsToListView(TQListView *listview, TQStringList *list); - static void writeFlagsFromListView(TQListView *listview, TQStringList *list); - -private: - TQString flag; - TQString desc; - friend class FtnchekToolTip; -}; - - -void FtnchekItem::readFlagsToListView(TQListView *listview, TQStringList *list) -{ - TQListViewItem *item = listview->firstChild(); - for (; item; item = item->nextSibling()) { - FtnchekItem *flitem = static_cast(item); - TQStringList::Iterator sli = list->find(flitem->flag); - if (sli != list->end()) { - flitem->setOn(true); - list->remove(sli); - } - } -} - - -void FtnchekItem::writeFlagsFromListView(TQListView *listview, TQStringList *list) -{ - (*list).clear(); - - TQListViewItem *item = listview->firstChild(); - for (; item; item = item->nextSibling()) { - FtnchekItem *flitem = static_cast(item); - if (flitem->isOn()) - (*list) << flitem->flag; - } -} - - -class FtnchekToolTip : public TQToolTip -{ -public: - FtnchekToolTip(TQWidget *parent) - : TQToolTip(parent) - {} -protected: - void maybeTip(const TQPoint &pos) - { - TQListView *listview = static_cast(parentWidget()); - TQListViewItem *item = listview->itemAt(pos); - FtnchekItem *flitem = static_cast(item); - - if (item) - tip(listview->itemRect(item), flitem->desc); - } -}; - - -const char *arguments_flags[] = { - "arrayness", I18N_NOOP("Warn about inconsistent use of arguments that use arrays"), - "type", I18N_NOOP("Warn about dummy arguments of a data type different from " - "the actual arguments"), - "function-type", I18N_NOOP("Warn if the invocation assumes a different data type for the return type, " - "different from the actual return type"), - "number", I18N_NOOP("Warn about invoking a subprogram with an incorrect number of arguments"), - 0, 0 -}; - - -const char *common_flags[] = { - "dimension", I18N_NOOP("Corresponding arrays in each declaration of a block must agree in size " - "and number of dimensions"), - "exact", I18N_NOOP("The comparison of two blocks is done variable-by-variable"), - "length", I18N_NOOP("Warn if different declarations of the same block are not equal in total length"), - "type", I18N_NOOP("In each declaration of a block, corresponding memory locations " - "must agree in data type"), - 0, 0 -}; - - -const char *truncation_flags[] = { - "int-div-exponent", I18N_NOOP("Use of the result of integer division as an exponent"), - "int-div-real", I18N_NOOP("Conversion of an expression involving an integer division to real"), - "int-div-zero", I18N_NOOP("Division in an integer constant expression that yields a result of zero"), - 0, 0 -}; - - -const char *usage_flags[] = { - "arg-alias", I18N_NOOP("A scalar dummy argument is actually the same as another " - "and is (or may be) modified"), - "arg-array-alias", I18N_NOOP("A dummy argument which is an array or array element " - "is the same array as another and is modified"), - "arg-common-alias", I18N_NOOP("A scalar dummy argument is the same as a common variable in " - "the subprogram, and either is modified"), - 0, 0 -}; - - -const char *f77_flags[] = { - "accept-type", I18N_NOOP("ACCEPT and TYPE I/O statements"), - "array-bounds", I18N_NOOP("Expressions defining array bounds that contain array " - "elements or function references"), - "assignment-stmt", I18N_NOOP("Assignment statements involving arrays"), - 0, 0 -}; - - -const char *portability_flags[] = { - "backslash", I18N_NOOP("Backslash characters in strings"), - "common-alignment", I18N_NOOP("COMMON block variables not in descending order of storage sizes"), - "hollerith", I18N_NOOP("Hollerith constants"), - 0, 0 -}; - - -FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name) - : FtnchekConfigWidgetBase(parent, name), dom(projectDom) -{ - arguments_group = new TQButtonGroup; - arguments_group->insert(argumentsall_button); - arguments_group->insert(argumentsonly_button); - common_group = new TQButtonGroup; - common_group->insert(commonall_button); - common_group->insert(commononly_button); - truncation_group = new TQButtonGroup; - truncation_group->insert(truncationall_button); - truncation_group->insert(truncationonly_button); - usage_group = new TQButtonGroup; - usage_group->insert(usageall_button); - usage_group->insert(usageonly_button); - f77_group = new TQButtonGroup; - f77_group->insert(f77all_button); - f77_group->insert(f77only_button); - portability_group = new TQButtonGroup; - portability_group->insert(portabilityall_button); - portability_group->insert(portabilityonly_button); - - arguments_listview->header()->hide(); - new FtnchekToolTip(arguments_listview); - - common_listview->header()->hide(); - new FtnchekToolTip(common_listview); - - truncation_listview->header()->hide(); - new FtnchekToolTip(truncation_listview); - - usage_listview->header()->hide(); - new FtnchekToolTip(usage_listview); - - f77_listview->header()->hide(); - new FtnchekToolTip(f77_listview); - - portability_listview->header()->hide(); - new FtnchekToolTip(portability_listview); - - for (const char **p = arguments_flags; *p; p += 2) - new FtnchekItem(arguments_listview, TQString::fromUtf8(*p), i18n(*(p+1))); - - for (const char **p = common_flags; *p; p += 2) - new FtnchekItem(common_listview, TQString::fromUtf8(*p), i18n(*(p+1))); - - for (const char **p = truncation_flags; *p; p += 2) - new FtnchekItem(truncation_listview, TQString::fromUtf8(*p), i18n(*(p+1))); - - for (const char **p = usage_flags; *p; p += 2) - new FtnchekItem(usage_listview, TQString::fromUtf8(*p), i18n(*(p+1))); - - for (const char **p = f77_flags; *p; p += 2) - new FtnchekItem(f77_listview, TQString::fromUtf8(*p), i18n(*(p+1))); - - for (const char **p = portability_flags; *p; p += 2) - new FtnchekItem(portability_listview, TQString::fromUtf8(*p), i18n(*(p+1))); - - readConfig(); -} - - -FtnchekConfigWidget::~FtnchekConfigWidget() -{ - delete arguments_group; - delete common_group; - delete truncation_group; - delete usage_group; - delete f77_group; - delete portability_group; -} - - -void FtnchekConfigWidget::accept() -{ - storeConfig(); -} - - -void FtnchekConfigWidget::readConfig() -{ - division_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/division")); - extern_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/extern")); - declare_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/declare")); - pure_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/pure")); - - argumentsall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/argumentsall")); - commonall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/commonall")); - truncationall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/truncationall")); - usageall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/usageall")); - f77all_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/f77all")); - portabilityall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/portabilityall")); - - TQStringList list; - - list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/argumentsonly")); - FtnchekItem::readFlagsToListView(arguments_listview, &list); - list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/commononly")); - FtnchekItem::readFlagsToListView(common_listview, &list); - list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/truncationonly")); - FtnchekItem::readFlagsToListView(truncation_listview, &list); - list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/usageonly")); - FtnchekItem::readFlagsToListView(usage_listview, &list); - list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/f77only")); - FtnchekItem::readFlagsToListView(f77_listview, &list); - list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/portabilityonly")); - FtnchekItem::readFlagsToListView(portability_listview, &list); -} - - -void FtnchekConfigWidget::storeConfig() -{ - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/division", division_box->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/extern", extern_box->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/declare", declare_box->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/pure", pure_box->isChecked()); - - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/argumentsall", argumentsall_button->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/commonall", commonall_button->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/truncationall", truncationall_button->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/usageall", usageall_button->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/f77all", f77all_button->isChecked()); - DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/portabilityall", portabilityall_button->isChecked()); - - TQStringList list; - - FtnchekItem::writeFlagsFromListView(arguments_listview, &list); - DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/argumentsonly", list.join(",")); - FtnchekItem::writeFlagsFromListView(common_listview, &list); - DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/commononly", list.join(",")); - FtnchekItem::writeFlagsFromListView(truncation_listview, &list); - DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/truncationonly", list.join(",")); - FtnchekItem::writeFlagsFromListView(usage_listview, &list); - DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/usageonly", list.join(",")); - FtnchekItem::writeFlagsFromListView(f77_listview, &list); - DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/f77only", list.join(",")); - FtnchekItem::writeFlagsFromListView(portability_listview, &list); - DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/portabilityonly", list.join(",")); -} - -#include "ftnchekconfigwidget.moc" diff --git a/languages/fortran/ftnchekconfigwidget.h b/languages/fortran/ftnchekconfigwidget.h deleted file mode 100644 index 786701ce..00000000 --- a/languages/fortran/ftnchekconfigwidget.h +++ /dev/null @@ -1,42 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2001 by Bernd Gehrmann * - * bernd@tdevelop.org * - * * - * 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. * - * * - ***************************************************************************/ - -#ifndef _FTNCHEKCONFIGWIDGET_H_ -#define _FTNCHEKCONFIGWIDGET_H_ - -#include -#include "ftnchekconfigwidgetbase.h" - -class TQButtonGroup; - -class FtnchekConfigWidget : public FtnchekConfigWidgetBase -{ - Q_OBJECT - - -public: - FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name); - ~FtnchekConfigWidget(); - -public slots: - void accept(); - -private: - void readConfig(); - void storeConfig(); - - TQButtonGroup *arguments_group, *common_group; - TQButtonGroup *truncation_group, *usage_group; - TQButtonGroup *f77_group, *portability_group; - TQDomDocument dom; -}; - -#endif diff --git a/languages/fortran/ftnchekconfigwidgetbase.ui b/languages/fortran/ftnchekconfigwidgetbase.ui deleted file mode 100644 index f01271af..00000000 --- a/languages/fortran/ftnchekconfigwidgetbase.ui +++ /dev/null @@ -1,584 +0,0 @@ - -FtnchekConfigWidgetBase - - - ftcheck_config_widget - - - - 0 - 0 - 798 - 507 - - - - Ftnchek Options - - - - unnamed - - - 0 - - - 0 - - - - TabWidget4 - - - - tab - - - &1 - - - - unnamed - - - - extern_box - - - &External subprograms without definition - - - - - division_box - - - &Divisions - - - - - declare_box - - - &Identifiers without explicit type - - - - - pure_box - - - &Assume functions have no side effects - - - - - Spacer2_3 - - - Vertical - - - Preferred - - - - 20 - 20 - - - - - - TextLabel1 - - - Ar&guments: - - - argumentsall_button - - - - - argumentsall_button - - - All - - - false - - - - - argumentsonly_button - - - Only the following: - - - true - - - - - Spacer4 - - - Horizontal - - - Preferred - - - - 20 - 20 - - - - - - Spacer3 - - - Vertical - - - Preferred - - - - 20 - 20 - - - - - - commonall_button - - - All - - - - - commononly_button - - - Only the following: - - - true - - - - - - - - - true - - - true - - - - - - - - true - - - true - - - - arguments_listview - - - NoColumn - - - - - - - - - true - - - true - - - - - - - - true - - - true - - - - common_listview - - - NoColumn - - - - - TextLabel2 - - - Common &blocks: - - - commonall_button - - - - - - - tab - - - &2 - - - - unnamed - - - - truncationonly_button - - - Only the following: - - - true - - - - - TextLabel4 - - - &Truncation and roundoff errors: - - - truncationall_button - - - - - truncationall_button - - - All - - - - - TextLabel3 - - - &Use of variables: - - - usageall_button - - - - - usageall_button - - - All - - - - - - - - - true - - - true - - - - - - - - true - - - true - - - - truncation_listview - - - NoColumn - - - - - usageonly_button - - - Only the following: - - - true - - - - - Spacer1_2 - - - Horizontal - - - Preferred - - - - 20 - 20 - - - - - - - - - - true - - - true - - - - - - - - true - - - true - - - - usage_listview - - - NoColumn - - - - - - - tab - - - &3 - - - - unnamed - - - - f77all_button - - - All - - - - - f77only_button - - - Only the following: - - - true - - - - - - - - - true - - - true - - - - - - - - true - - - true - - - - f77_listview - - - NoColumn - - - - - - - - - true - - - true - - - - - - - - true - - - true - - - - portability_listview - - - NoColumn - - - - - Spacer2 - - - Horizontal - - - Preferred - - - - 20 - 20 - - - - - - TextLabel4_2 - - - Fortran 77 language &extensions: - - - f77all_button - - - - - TextLabel3_2 - - - Other &portability warnings: - - - portabilityall_button - - - - - portabilityall_button - - - All - - - - - portabilityonly_button - - - Only the following: - - - true - - - - - - - - - declare_box - pure_box - extern_box - division_box - argumentsall_button - argumentsonly_button - arguments_listview - commonall_button - commononly_button - common_listview - TabWidget4 - truncationall_button - truncationonly_button - truncation_listview - usageall_button - usageonly_button - usage_listview - f77all_button - f77only_button - f77_listview - portabilityall_button - portabilityonly_button - portability_listview - - - kdialog.h - - - - diff --git a/languages/fortran/ftnchetdeconfigwidget.cpp b/languages/fortran/ftnchetdeconfigwidget.cpp new file mode 100644 index 00000000..6fa68605 --- /dev/null +++ b/languages/fortran/ftnchetdeconfigwidget.cpp @@ -0,0 +1,290 @@ +/*************************************************************************** + * Copyright (C) 2001 by Bernd Gehrmann * + * bernd@tdevelop.org * + * * + * 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 "ftnchetdeconfigwidget.h" + +#include +#include +#include +#include +#include +#include +#include + +#include "domutil.h" + + +class FtnchekItem : public TQCheckListItem +{ +public: + FtnchekItem(TQListView *parent, const TQString &flagstr, + const TQString &description) + : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox), + flag(flagstr), desc(description) + { + setText(1, desc); + } + + static void readFlagsToListView(TQListView *listview, TQStringList *list); + static void writeFlagsFromListView(TQListView *listview, TQStringList *list); + +private: + TQString flag; + TQString desc; + friend class FtnchekToolTip; +}; + + +void FtnchekItem::readFlagsToListView(TQListView *listview, TQStringList *list) +{ + TQListViewItem *item = listview->firstChild(); + for (; item; item = item->nextSibling()) { + FtnchekItem *flitem = static_cast(item); + TQStringList::Iterator sli = list->find(flitem->flag); + if (sli != list->end()) { + flitem->setOn(true); + list->remove(sli); + } + } +} + + +void FtnchekItem::writeFlagsFromListView(TQListView *listview, TQStringList *list) +{ + (*list).clear(); + + TQListViewItem *item = listview->firstChild(); + for (; item; item = item->nextSibling()) { + FtnchekItem *flitem = static_cast(item); + if (flitem->isOn()) + (*list) << flitem->flag; + } +} + + +class FtnchekToolTip : public TQToolTip +{ +public: + FtnchekToolTip(TQWidget *parent) + : TQToolTip(parent) + {} +protected: + void maybeTip(const TQPoint &pos) + { + TQListView *listview = static_cast(parentWidget()); + TQListViewItem *item = listview->itemAt(pos); + FtnchekItem *flitem = static_cast(item); + + if (item) + tip(listview->itemRect(item), flitem->desc); + } +}; + + +const char *arguments_flags[] = { + "arrayness", I18N_NOOP("Warn about inconsistent use of arguments that use arrays"), + "type", I18N_NOOP("Warn about dummy arguments of a data type different from " + "the actual arguments"), + "function-type", I18N_NOOP("Warn if the invocation assumes a different data type for the return type, " + "different from the actual return type"), + "number", I18N_NOOP("Warn about invoking a subprogram with an incorrect number of arguments"), + 0, 0 +}; + + +const char *common_flags[] = { + "dimension", I18N_NOOP("Corresponding arrays in each declaration of a block must agree in size " + "and number of dimensions"), + "exact", I18N_NOOP("The comparison of two blocks is done variable-by-variable"), + "length", I18N_NOOP("Warn if different declarations of the same block are not equal in total length"), + "type", I18N_NOOP("In each declaration of a block, corresponding memory locations " + "must agree in data type"), + 0, 0 +}; + + +const char *truncation_flags[] = { + "int-div-exponent", I18N_NOOP("Use of the result of integer division as an exponent"), + "int-div-real", I18N_NOOP("Conversion of an expression involving an integer division to real"), + "int-div-zero", I18N_NOOP("Division in an integer constant expression that yields a result of zero"), + 0, 0 +}; + + +const char *usage_flags[] = { + "arg-alias", I18N_NOOP("A scalar dummy argument is actually the same as another " + "and is (or may be) modified"), + "arg-array-alias", I18N_NOOP("A dummy argument which is an array or array element " + "is the same array as another and is modified"), + "arg-common-alias", I18N_NOOP("A scalar dummy argument is the same as a common variable in " + "the subprogram, and either is modified"), + 0, 0 +}; + + +const char *f77_flags[] = { + "accept-type", I18N_NOOP("ACCEPT and TYPE I/O statements"), + "array-bounds", I18N_NOOP("Expressions defining array bounds that contain array " + "elements or function references"), + "assignment-stmt", I18N_NOOP("Assignment statements involving arrays"), + 0, 0 +}; + + +const char *portability_flags[] = { + "backslash", I18N_NOOP("Backslash characters in strings"), + "common-alignment", I18N_NOOP("COMMON block variables not in descending order of storage sizes"), + "hollerith", I18N_NOOP("Hollerith constants"), + 0, 0 +}; + + +FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name) + : FtnchekConfigWidgetBase(parent, name), dom(projectDom) +{ + arguments_group = new TQButtonGroup; + arguments_group->insert(argumentsall_button); + arguments_group->insert(argumentsonly_button); + common_group = new TQButtonGroup; + common_group->insert(commonall_button); + common_group->insert(commononly_button); + truncation_group = new TQButtonGroup; + truncation_group->insert(truncationall_button); + truncation_group->insert(truncationonly_button); + usage_group = new TQButtonGroup; + usage_group->insert(usageall_button); + usage_group->insert(usageonly_button); + f77_group = new TQButtonGroup; + f77_group->insert(f77all_button); + f77_group->insert(f77only_button); + portability_group = new TQButtonGroup; + portability_group->insert(portabilityall_button); + portability_group->insert(portabilityonly_button); + + arguments_listview->header()->hide(); + new FtnchekToolTip(arguments_listview); + + common_listview->header()->hide(); + new FtnchekToolTip(common_listview); + + truncation_listview->header()->hide(); + new FtnchekToolTip(truncation_listview); + + usage_listview->header()->hide(); + new FtnchekToolTip(usage_listview); + + f77_listview->header()->hide(); + new FtnchekToolTip(f77_listview); + + portability_listview->header()->hide(); + new FtnchekToolTip(portability_listview); + + for (const char **p = arguments_flags; *p; p += 2) + new FtnchekItem(arguments_listview, TQString::fromUtf8(*p), i18n(*(p+1))); + + for (const char **p = common_flags; *p; p += 2) + new FtnchekItem(common_listview, TQString::fromUtf8(*p), i18n(*(p+1))); + + for (const char **p = truncation_flags; *p; p += 2) + new FtnchekItem(truncation_listview, TQString::fromUtf8(*p), i18n(*(p+1))); + + for (const char **p = usage_flags; *p; p += 2) + new FtnchekItem(usage_listview, TQString::fromUtf8(*p), i18n(*(p+1))); + + for (const char **p = f77_flags; *p; p += 2) + new FtnchekItem(f77_listview, TQString::fromUtf8(*p), i18n(*(p+1))); + + for (const char **p = portability_flags; *p; p += 2) + new FtnchekItem(portability_listview, TQString::fromUtf8(*p), i18n(*(p+1))); + + readConfig(); +} + + +FtnchekConfigWidget::~FtnchekConfigWidget() +{ + delete arguments_group; + delete common_group; + delete truncation_group; + delete usage_group; + delete f77_group; + delete portability_group; +} + + +void FtnchekConfigWidget::accept() +{ + storeConfig(); +} + + +void FtnchekConfigWidget::readConfig() +{ + division_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/division")); + extern_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/extern")); + declare_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/declare")); + pure_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/pure")); + + argumentsall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/argumentsall")); + commonall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/commonall")); + truncationall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/truncationall")); + usageall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/usageall")); + f77all_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/f77all")); + portabilityall_button->setChecked(DomUtil::readBoolEntry(dom, "/kdevfortransupport/ftnchek/portabilityall")); + + TQStringList list; + + list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/argumentsonly")); + FtnchekItem::readFlagsToListView(arguments_listview, &list); + list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/commononly")); + FtnchekItem::readFlagsToListView(common_listview, &list); + list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/truncationonly")); + FtnchekItem::readFlagsToListView(truncation_listview, &list); + list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/usageonly")); + FtnchekItem::readFlagsToListView(usage_listview, &list); + list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/f77only")); + FtnchekItem::readFlagsToListView(f77_listview, &list); + list = TQStringList::split(',', DomUtil::readEntry(dom, "/kdevfortransupport/ftnchek/portabilityonly")); + FtnchekItem::readFlagsToListView(portability_listview, &list); +} + + +void FtnchekConfigWidget::storeConfig() +{ + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/division", division_box->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/extern", extern_box->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/declare", declare_box->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/pure", pure_box->isChecked()); + + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/argumentsall", argumentsall_button->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/commonall", commonall_button->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/truncationall", truncationall_button->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/usageall", usageall_button->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/f77all", f77all_button->isChecked()); + DomUtil::writeBoolEntry(dom, "/kdevfortransupport/ftnchek/portabilityall", portabilityall_button->isChecked()); + + TQStringList list; + + FtnchekItem::writeFlagsFromListView(arguments_listview, &list); + DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/argumentsonly", list.join(",")); + FtnchekItem::writeFlagsFromListView(common_listview, &list); + DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/commononly", list.join(",")); + FtnchekItem::writeFlagsFromListView(truncation_listview, &list); + DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/truncationonly", list.join(",")); + FtnchekItem::writeFlagsFromListView(usage_listview, &list); + DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/usageonly", list.join(",")); + FtnchekItem::writeFlagsFromListView(f77_listview, &list); + DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/f77only", list.join(",")); + FtnchekItem::writeFlagsFromListView(portability_listview, &list); + DomUtil::writeEntry(dom, "/kdevfortransupport/ftnchek/portabilityonly", list.join(",")); +} + +#include "ftnchetdeconfigwidget.moc" diff --git a/languages/fortran/ftnchetdeconfigwidget.h b/languages/fortran/ftnchetdeconfigwidget.h new file mode 100644 index 00000000..0636aff9 --- /dev/null +++ b/languages/fortran/ftnchetdeconfigwidget.h @@ -0,0 +1,42 @@ +/*************************************************************************** + * Copyright (C) 2001 by Bernd Gehrmann * + * bernd@tdevelop.org * + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef _FTNCHEKCONFIGWIDGET_H_ +#define _FTNCHEKCONFIGWIDGET_H_ + +#include +#include "ftnchetdeconfigwidgetbase.h" + +class TQButtonGroup; + +class FtnchekConfigWidget : public FtnchekConfigWidgetBase +{ + Q_OBJECT + + +public: + FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name); + ~FtnchekConfigWidget(); + +public slots: + void accept(); + +private: + void readConfig(); + void storeConfig(); + + TQButtonGroup *arguments_group, *common_group; + TQButtonGroup *truncation_group, *usage_group; + TQButtonGroup *f77_group, *portability_group; + TQDomDocument dom; +}; + +#endif diff --git a/languages/fortran/ftnchetdeconfigwidgetbase.ui b/languages/fortran/ftnchetdeconfigwidgetbase.ui new file mode 100644 index 00000000..f01271af --- /dev/null +++ b/languages/fortran/ftnchetdeconfigwidgetbase.ui @@ -0,0 +1,584 @@ + +FtnchekConfigWidgetBase + + + ftcheck_config_widget + + + + 0 + 0 + 798 + 507 + + + + Ftnchek Options + + + + unnamed + + + 0 + + + 0 + + + + TabWidget4 + + + + tab + + + &1 + + + + unnamed + + + + extern_box + + + &External subprograms without definition + + + + + division_box + + + &Divisions + + + + + declare_box + + + &Identifiers without explicit type + + + + + pure_box + + + &Assume functions have no side effects + + + + + Spacer2_3 + + + Vertical + + + Preferred + + + + 20 + 20 + + + + + + TextLabel1 + + + Ar&guments: + + + argumentsall_button + + + + + argumentsall_button + + + All + + + false + + + + + argumentsonly_button + + + Only the following: + + + true + + + + + Spacer4 + + + Horizontal + + + Preferred + + + + 20 + 20 + + + + + + Spacer3 + + + Vertical + + + Preferred + + + + 20 + 20 + + + + + + commonall_button + + + All + + + + + commononly_button + + + Only the following: + + + true + + + + + + + + + true + + + true + + + + + + + + true + + + true + + + + arguments_listview + + + NoColumn + + + + + + + + + true + + + true + + + + + + + + true + + + true + + + + common_listview + + + NoColumn + + + + + TextLabel2 + + + Common &blocks: + + + commonall_button + + + + + + + tab + + + &2 + + + + unnamed + + + + truncationonly_button + + + Only the following: + + + true + + + + + TextLabel4 + + + &Truncation and roundoff errors: + + + truncationall_button + + + + + truncationall_button + + + All + + + + + TextLabel3 + + + &Use of variables: + + + usageall_button + + + + + usageall_button + + + All + + + + + + + + + true + + + true + + + + + + + + true + + + true + + + + truncation_listview + + + NoColumn + + + + + usageonly_button + + + Only the following: + + + true + + + + + Spacer1_2 + + + Horizontal + + + Preferred + + + + 20 + 20 + + + + + + + + + + true + + + true + + + + + + + + true + + + true + + + + usage_listview + + + NoColumn + + + + + + + tab + + + &3 + + + + unnamed + + + + f77all_button + + + All + + + + + f77only_button + + + Only the following: + + + true + + + + + + + + + true + + + true + + + + + + + + true + + + true + + + + f77_listview + + + NoColumn + + + + + + + + + true + + + true + + + + + + + + true + + + true + + + + portability_listview + + + NoColumn + + + + + Spacer2 + + + Horizontal + + + Preferred + + + + 20 + 20 + + + + + + TextLabel4_2 + + + Fortran 77 language &extensions: + + + f77all_button + + + + + TextLabel3_2 + + + Other &portability warnings: + + + portabilityall_button + + + + + portabilityall_button + + + All + + + + + portabilityonly_button + + + Only the following: + + + true + + + + + + + + + declare_box + pure_box + extern_box + division_box + argumentsall_button + argumentsonly_button + arguments_listview + commonall_button + commononly_button + common_listview + TabWidget4 + truncationall_button + truncationonly_button + truncation_listview + usageall_button + usageonly_button + usage_listview + f77all_button + f77only_button + f77_listview + portabilityall_button + portabilityonly_button + portability_listview + + + kdialog.h + + + + diff --git a/languages/java/configproblemreporter.ui.h b/languages/java/configproblemreporter.ui.h index 9534cc2f..b03bb05e 100644 --- a/languages/java/configproblemreporter.ui.h +++ b/languages/java/configproblemreporter.ui.h @@ -5,7 +5,7 @@ ** update this file, preserving your code. Create an init() slot in place of ** a constructor, and a destroy() slot in place of a destructor. *****************************************************************************/ -#include +#include #include #include diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp index 4ab43d38..d5aaeda0 100644 --- a/languages/java/javasupportpart.cpp +++ b/languages/java/javasupportpart.cpp @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/languages/java/problemreporter.cpp b/languages/java/problemreporter.cpp index 5dffdecd..a451abf3 100644 --- a/languages/java/problemreporter.cpp +++ b/languages/java/problemreporter.cpp @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include diff --git a/languages/kjssupport/subclassingdlg.cpp b/languages/kjssupport/subclassingdlg.cpp index 33568735..12ec0179 100644 --- a/languages/kjssupport/subclassingdlg.cpp +++ b/languages/kjssupport/subclassingdlg.cpp @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include @@ -35,7 +35,7 @@ #include #include #include -#include +#include #define WIDGET_CAPTION_NAME "widget/property|name=caption/string" diff --git a/languages/pascal/problemreporter.cpp b/languages/pascal/problemreporter.cpp index 3b2ffbc4..5ddc8dc4 100644 --- a/languages/pascal/problemreporter.cpp +++ b/languages/pascal/problemreporter.cpp @@ -38,7 +38,7 @@ #include #include -#include +#include #include #include diff --git a/languages/perl/CMakeLists.txt b/languages/perl/CMakeLists.txt index d8c68f75..f67ec9c0 100644 --- a/languages/perl/CMakeLists.txt +++ b/languages/perl/CMakeLists.txt @@ -50,6 +50,6 @@ tde_add_kpart( libkdevperlsupport AUTOMOC tde_add_kpart( kio_perldoc SOURCES perldoc.cpp - LINK kio-shared + LINK tdeio-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/languages/perl/perldoc.h b/languages/perl/perldoc.h index 0ea1bf3a..dab66b60 100644 --- a/languages/perl/perldoc.h +++ b/languages/perl/perldoc.h @@ -2,7 +2,7 @@ #define _PERLDOC_H_ #include -#include +#include class PerldocProtocol : public TDEIO::SlaveBase diff --git a/languages/php/phpconfigwidget.cpp b/languages/php/phpconfigwidget.cpp index 01cd950c..27ef1baf 100644 --- a/languages/php/phpconfigwidget.cpp +++ b/languages/php/phpconfigwidget.cpp @@ -7,7 +7,7 @@ #include #include -#include +#include #include #include "phpinfodlg.h" diff --git a/languages/php/phperrorview.cpp b/languages/php/phperrorview.cpp index 47d869b7..d3134a89 100644 --- a/languages/php/phperrorview.cpp +++ b/languages/php/phperrorview.cpp @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include diff --git a/languages/php/phpnewclassdlg.cpp b/languages/php/phpnewclassdlg.cpp index ddc3b507..3ed6d952 100644 --- a/languages/php/phpnewclassdlg.cpp +++ b/languages/php/phpnewclassdlg.cpp @@ -18,7 +18,7 @@ #include "phpnewclassdlg.h" #include #include -#include +#include #include #include #include diff --git a/languages/php/phpsupportpart.h b/languages/php/phpsupportpart.h index 572be8c8..ac4ca8dc 100644 --- a/languages/php/phpsupportpart.h +++ b/languages/php/phpsupportpart.h @@ -26,7 +26,7 @@ #include #include "kdevlanguagesupport.h" -#include +#include #include #include diff --git a/languages/python/CMakeLists.txt b/languages/python/CMakeLists.txt index f2e63076..93ba69c2 100644 --- a/languages/python/CMakeLists.txt +++ b/languages/python/CMakeLists.txt @@ -33,7 +33,7 @@ link_directories( ##### other data ################################ install( FILES kdevpythonsupport.desktop pydoc.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kde_pydoc.py DESTINATION ${DATA_INSTALL_DIR}/kio_pydoc ) +install( FILES kde_pydoc.py DESTINATION ${DATA_INSTALL_DIR}/tdeio_pydoc ) install( FILES kdevpythonsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpythonsupport ) @@ -53,6 +53,6 @@ tde_add_kpart( libkdevpythonsupport AUTOMOC tde_add_kpart( kio_pydoc SOURCES pydoc.cpp - LINK kio-shared + LINK tdeio-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/languages/python/Makefile.am b/languages/python/Makefile.am index bd2e8813..3474eceb 100644 --- a/languages/python/Makefile.am +++ b/languages/python/Makefile.am @@ -21,7 +21,7 @@ kio_pydoc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) METASOURCES = AUTO -slavedir = $(kde_datadir)/kio_pydoc +slavedir = $(kde_datadir)/tdeio_pydoc slave_DATA = kde_pydoc.py servicedir = $(kde_servicesdir) diff --git a/languages/python/pydoc.h b/languages/python/pydoc.h index f5e639d7..b4354ca5 100644 --- a/languages/python/pydoc.h +++ b/languages/python/pydoc.h @@ -2,7 +2,7 @@ #define _PYDOC_H_ #include -#include +#include class PydocProtocol : public TDEIO::SlaveBase diff --git a/languages/ruby/app_templates/kapp/README b/languages/ruby/app_templates/kapp/README index f7d35069..39de8b2f 100644 --- a/languages/ruby/app_templates/kapp/README +++ b/languages/ruby/app_templates/kapp/README @@ -46,7 +46,7 @@ http://developer.kde.org/documentation/tutorials/xmlui/preface.html them more maintainable. For more details, consult : -http://developer.kde.org/documentation/tutorials/kconfigxt/kconfigxt.html +http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html * With KParts, you can embed other kde components in your program, or make your program embeddable in other apps. For example, the kmplayer kpart can be called to play videos diff --git a/languages/ruby/app_templates/kxt/settings.kcfgc b/languages/ruby/app_templates/kxt/settings.kcfgc index 384510cd..402fad09 100644 --- a/languages/ruby/app_templates/kxt/settings.kcfgc +++ b/languages/ruby/app_templates/kxt/settings.kcfgc @@ -1,4 +1,4 @@ -# Code generation options for kconfig_compiler +# Code generation options for tdeconfig_compiler File=%{APPNAMELC}.kcfg ClassName=Settings Singleton=true diff --git a/languages/ruby/app_templates/kxt/src-Makefile.am b/languages/ruby/app_templates/kxt/src-Makefile.am index 6351533d..1e51351e 100644 --- a/languages/ruby/app_templates/kxt/src-Makefile.am +++ b/languages/ruby/app_templates/kxt/src-Makefile.am @@ -41,7 +41,7 @@ rubyuidir = $(kde_datadir)/%{APPNAMELC} %.rb: %.ui $(RBUIC) -tr ${UIC_TR} -kde $< -o $@ -RBKCONFIG_COMPILER = rbkconfig_compiler +RBKCONFIG_COMPILER = rbtdeconfig_compiler settings.rb: %{APPNAMELC}.kcfg settings.kcfgc $(RBKCONFIG_COMPILER) ./%{APPNAMELC}.kcfg ./settings.kcfgc diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp index 091649e1..3daefeff 100644 --- a/languages/ruby/debugger/debuggerpart.cpp +++ b/languages/ruby/debugger/debuggerpart.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include diff --git a/languages/ruby/debugger/rdbcontroller.cpp b/languages/ruby/debugger/rdbcontroller.cpp index 278d0ff2..5f1aacfe 100644 --- a/languages/ruby/debugger/rdbcontroller.cpp +++ b/languages/ruby/debugger/rdbcontroller.cpp @@ -38,7 +38,7 @@ #include "settings.h" #include -#include +#include #include #include #include -- cgit v1.2.1