From 60598ea23e9fec7b4320985aad848c5ffee033c2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 13 Jul 2023 21:45:56 +0900 Subject: Removed Qt4 specific code and template files Signed-off-by: Michele Calgaro --- .../cpp/app_templates/qtopia4app/CMakeLists.txt | 49 ------- languages/cpp/app_templates/qtopia4app/Example.png | Bin 1197 -> 0 bytes languages/cpp/app_templates/qtopia4app/Makefile.am | 19 --- .../cpp/app_templates/qtopia4app/app.kdevelop | 163 --------------------- languages/cpp/app_templates/qtopia4app/app.pro | 31 ---- languages/cpp/app_templates/qtopia4app/example.cpp | 40 ----- .../cpp/app_templates/qtopia4app/example.desktop | 8 - languages/cpp/app_templates/qtopia4app/example.h | 25 ---- .../cpp/app_templates/qtopia4app/example.html | 15 -- .../cpp/app_templates/qtopia4app/examplebase.ui | 44 ------ languages/cpp/app_templates/qtopia4app/main.cpp | 7 - .../qtopia4app/qtopia4app.kdevtemplate | 87 ----------- .../cpp/app_templates/qtopia4app/qtopia4app.png | Bin 480 -> 0 bytes 13 files changed, 488 deletions(-) delete mode 100644 languages/cpp/app_templates/qtopia4app/CMakeLists.txt delete mode 100644 languages/cpp/app_templates/qtopia4app/Example.png delete mode 100644 languages/cpp/app_templates/qtopia4app/Makefile.am delete mode 100644 languages/cpp/app_templates/qtopia4app/app.kdevelop delete mode 100644 languages/cpp/app_templates/qtopia4app/app.pro delete mode 100644 languages/cpp/app_templates/qtopia4app/example.cpp delete mode 100644 languages/cpp/app_templates/qtopia4app/example.desktop delete mode 100644 languages/cpp/app_templates/qtopia4app/example.h delete mode 100644 languages/cpp/app_templates/qtopia4app/example.html delete mode 100644 languages/cpp/app_templates/qtopia4app/examplebase.ui delete mode 100644 languages/cpp/app_templates/qtopia4app/main.cpp delete mode 100644 languages/cpp/app_templates/qtopia4app/qtopia4app.kdevtemplate delete mode 100644 languages/cpp/app_templates/qtopia4app/qtopia4app.png (limited to 'languages/cpp/app_templates/qtopia4app') diff --git a/languages/cpp/app_templates/qtopia4app/CMakeLists.txt b/languages/cpp/app_templates/qtopia4app/CMakeLists.txt deleted file mode 100644 index 2d708608..00000000 --- a/languages/cpp/app_templates/qtopia4app/CMakeLists.txt +++ /dev/null @@ -1,49 +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 -# -################################################# - -set( _tarball_desktops example.desktop ) -set( _tarball_files - Example.png app.kdevelop example.html - main.cpp Makefile.am app.pro example.cpp example.h - examplebase.ui -) -set( _tarball_content ${_tarball_desktops} ${_tarball_files} ) -list( SORT _tarball_content ) - -tde_create_translated_desktop( - SOURCE ${_tarball_desktops} - DESTINATION - - PO_DIR tdevelop-desktops -) - -file( - COPY ${_tarball_files} - DESTINATION ${CMAKE_CURRENT_BINARY_DIR} -) - -tde_create_tarball( - TARGET qtopia4app.tar.gz - SOURCEDIR ${CMAKE_CURRENT_BINARY_DIR} - FILES ${_tarball_content} -) - - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/qtopia4app.tar.gz qtopia4app.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) - - -tde_create_translated_desktop( - SOURCE qtopia4app.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates - KEYWORDS Category - PO_DIR tdevelop-desktops -) diff --git a/languages/cpp/app_templates/qtopia4app/Example.png b/languages/cpp/app_templates/qtopia4app/Example.png deleted file mode 100644 index 9d1a807d..00000000 Binary files a/languages/cpp/app_templates/qtopia4app/Example.png and /dev/null differ diff --git a/languages/cpp/app_templates/qtopia4app/Makefile.am b/languages/cpp/app_templates/qtopia4app/Makefile.am deleted file mode 100644 index 57785690..00000000 --- a/languages/cpp/app_templates/qtopia4app/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -dataFiles = Example.png app.kdevelop example.desktop \ - example.html main.cpp Makefile.am app.pro example.cpp \ - example.h examplebase.ui - -templateName = qtopia4app - -### 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 -f9 $(templateName).tar - -archivedir = ${appwizarddatadir} -archive_DATA = $(templateName).tar.gz ${templateName}.png - -CLEANFILES = *.tar.gz diff --git a/languages/cpp/app_templates/qtopia4app/app.kdevelop b/languages/cpp/app_templates/qtopia4app/app.kdevelop deleted file mode 100644 index f7e4a952..00000000 --- a/languages/cpp/app_templates/qtopia4app/app.kdevelop +++ /dev/null @@ -1,163 +0,0 @@ - - - - %{AUTHOR} - %{EMAIL} - %{VERSION} - KDevTrollProject - C++ - - Qt - - - - - - - - - - - - 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 - kde2book - opengl - pascal_bugs_fp - php - php_bugs - perl - perl_bugs - python - python_bugs - ruby - ruby_bugs - sdl - stl - w3c-svg - sw - w3c-uaag10 - wxwidgets_bugs - - - TDE Libraries (Doxygen) - - - - - libtool - - - true - false - false - - - false - true - - - - - - - - ./%{APPNAMELC} - -qws - - - - - - - - - - - true - false - 1 - false - - 0 - - - - - - - - - - - - - - - - - false - false - - - - false - - - .h - .cpp - true - - - - true - 2 - - - -f - - -dP - - -f - -u3 -p - - - - - - Doxygen Documentation Collection - %{APPNAMELC}.tag - - - - - true - 4 - 4 - /usr/lib/qt3 - ExternalDesigner - /opt/Qtopia/SDK/4.2.4/x86/bin/qtopiamake - /opt/Qtopia/SDK/4.2.4/x86/bin/designer - - - - diff --git a/languages/cpp/app_templates/qtopia4app/app.pro b/languages/cpp/app_templates/qtopia4app/app.pro deleted file mode 100644 index 05a0bb9c..00000000 --- a/languages/cpp/app_templates/qtopia4app/app.pro +++ /dev/null @@ -1,31 +0,0 @@ -qtopia_project(qtopia app) # see buildsystem.html for more project keywords -TARGET=%{APPNAMELC} -CONFIG+=qtopia_main -CONFIG+=no_singleexec -CONFIG+=no_quicklaunch -CONFIG+=no_tr - -FORMS=%{APPNAMELC}base.ui -HEADERS=%{APPNAMELC}.h -SOURCES=main.cpp %{APPNAMELC}.cpp - -desktop.files=%{APPNAMELC}.desktop -desktop.path=/apps/Applications -desktop.hint=desktop - -pics.files=pics/* -pics.path=/pics/%{APPNAMELC} -pics.hint=pics - -help.source=help -help.files=%{APPNAME}.html -help.hint=help - -INSTALLS+=desktop pics help - -pkg.name=%{APPNAME} -pkg.desc=%{APPNAME} Application -pkg.version=1.0.0-1 -pkg.maintainer=%{AUTHOR} %{EMAIL} -pkg.license=GPL -pkg.domain=window diff --git a/languages/cpp/app_templates/qtopia4app/example.cpp b/languages/cpp/app_templates/qtopia4app/example.cpp deleted file mode 100644 index 735f7e03..00000000 --- a/languages/cpp/app_templates/qtopia4app/example.cpp +++ /dev/null @@ -1,40 +0,0 @@ - -#include "%{APPNAMELC}.h" -#include - -%{APPNAME}Base::%{APPNAME}Base( TQWidget *parent, TQt::WFlags f ) - : TQWidget( parent, f ) -{ - setupUi( this ); -} - -%{APPNAME}Base::~%{APPNAME}Base() -{ -} - -/* - * Constructs a %{APPNAME} which is a child of 'parent', with the - * name 'name' and widget flags set to 'f' - */ -%{APPNAME}::%{APPNAME}( TQWidget *parent, TQt::WFlags f ) - : %{APPNAME}Base( parent, f ) -{ - connect(quit, TQT_SIGNAL(clicked()), this, TQT_SLOT(goodBye())); -} - -/* - * Destroys the object and frees any allocated resources - */ -%{APPNAME}::~%{APPNAME}() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * A simple slot... not very interesting. - */ -void %{APPNAME}::goodBye() -{ - close(); -} - diff --git a/languages/cpp/app_templates/qtopia4app/example.desktop b/languages/cpp/app_templates/qtopia4app/example.desktop deleted file mode 100644 index 813ef2ec..00000000 --- a/languages/cpp/app_templates/qtopia4app/example.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=%{APPNAME} - -Comment=An %{APPNAME} Program - -Exec=%{APPNAMELC} -Icon=%{APPNAME} -Type=Application diff --git a/languages/cpp/app_templates/qtopia4app/example.h b/languages/cpp/app_templates/qtopia4app/example.h deleted file mode 100644 index f6e3c548..00000000 --- a/languages/cpp/app_templates/qtopia4app/example.h +++ /dev/null @@ -1,25 +0,0 @@ - -#ifndef %{APPNAMEUC}_H -#define %{APPNAMEUC}_H -#include "ui_%{APPNAMELC}base.h" - -class %{APPNAME}Base : public TQWidget, public Ui_%{APPNAME}Base -{ -public: - %{APPNAME}Base( TQWidget *parent = 0, TQt::WFlags f = 0 ); - virtual ~%{APPNAME}Base(); -}; - -class %{APPNAME} : public %{APPNAME}Base -{ - Q_OBJECT - -public: - %{APPNAME}( TQWidget *parent = 0, TQt::WFlags f = 0 ); - virtual ~%{APPNAME}(); - -private slots: - void goodBye(); -}; - -#endif // %{APPNAMEUC}_H diff --git a/languages/cpp/app_templates/qtopia4app/example.html b/languages/cpp/app_templates/qtopia4app/example.html deleted file mode 100644 index 9bcae99d..00000000 --- a/languages/cpp/app_templates/qtopia4app/example.html +++ /dev/null @@ -1,15 +0,0 @@ - -

%{APPNAME}

- -

This is the help for the %{APPNAME} program. - -

To user this application: - -

    -
  1. Press the icon in the TQtopia launcher. -
  2. Read the label. -
  3. Press the button. -
  4. Read the source code provided. -
- -Now you know how to make a TQtopia application! diff --git a/languages/cpp/app_templates/qtopia4app/examplebase.ui b/languages/cpp/app_templates/qtopia4app/examplebase.ui deleted file mode 100644 index 107d4e96..00000000 --- a/languages/cpp/app_templates/qtopia4app/examplebase.ui +++ /dev/null @@ -1,44 +0,0 @@ - - - - - %{APPNAME}Base - - - - 0 - 0 - 196 - 245 - - - - %{APPNAME} - - - - 11 - - - 6 - - - - - This is just an %{APPNAME}. It doesn't do anything interesting at all. - - - true - - - - - - - Quit - - - - - - diff --git a/languages/cpp/app_templates/qtopia4app/main.cpp b/languages/cpp/app_templates/qtopia4app/main.cpp deleted file mode 100644 index b4ccc5ca..00000000 --- a/languages/cpp/app_templates/qtopia4app/main.cpp +++ /dev/null @@ -1,7 +0,0 @@ - -#include "%{APPNAMELC}.h" -#include - -TQTOPIA_ADD_APPLICATION("%{APPNAMELC}", %{APPNAME}) -TQTOPIA_MAIN - diff --git a/languages/cpp/app_templates/qtopia4app/qtopia4app.kdevtemplate b/languages/cpp/app_templates/qtopia4app/qtopia4app.kdevtemplate deleted file mode 100644 index 6f4fbf08..00000000 --- a/languages/cpp/app_templates/qtopia4app/qtopia4app.kdevtemplate +++ /dev/null @@ -1,87 +0,0 @@ -# TDE Config File -[General] -Name=Qtopia 4 Application - -Comment=Generate a Qmake/Qt based application for Qtopia 4.x - -Category=C++/Embedded - -Icon=qmakeapp4.png -FileTemplates=h,CStyle,cpp,CStyle -ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.cpp -Archive=qtopia4app.tar.gz - -[MkDir0] -Type=mkdir -Dir=%{dest}/help - -[MkDir1] -Type=mkdir -Dir=%{dest}/help/html - -[FILE1] -Type=install -EscapeXML=true -Source=%{src}/app.kdevelop -Dest=%{dest}/%{APPNAMELC}.kdevelop - -[FILE2] -Type=install -Source=%{src}/Example.png -Dest=%{dest}/%{APPNAME}.png -Process=false - -[FILE3] -Type=install -Source=%{src}/app.pro -Dest=%{dest}/%{APPNAMELC}.pro - -[FILE4] -Type=install -Source=%{src}/example.cpp -Dest=%{dest}/%{APPNAMELC}.cpp - -[FILE5] -Type=install -Source=%{src}/example.h -Dest=%{dest}/%{APPNAMELC}.h - -[FILE6] -Type=install -EscapeXML=true -Source=%{src}/examplebase.ui -Dest=%{dest}/%{APPNAMELC}base.ui - -[FILE7] -Type=install -Source=%{src}/example.desktop -Dest=%{dest}/%{APPNAMELC}.desktop - -[FILE8] -Type=install -EscapeXML=true -Source=%{src}/example.html -Dest=%{dest}/%{APPNAMELC}.html - -[FILE9] -Type=install -Source=%{src}/main.cpp -Dest=%{dest}/main.cpp - -[MSG] -Type=message -Comment=A Qtopia application was created in %{dest} - -[QMAKE] -Type=value -ValueType=QString -Value=QMAKE -Comment=Absolute Path for QMake (Qt4). -Default=/opt/Qtopia/SDK/4.2.4/x86/bin/qtopiamake - -[DESIGNER] -Type=value -ValueType=QString -Value=DESIGNER -Comment=Absolute Path for Designer (Qt4). -Default=/opt/Qtopia/SDK/4.2.4/x86/bin/designer diff --git a/languages/cpp/app_templates/qtopia4app/qtopia4app.png b/languages/cpp/app_templates/qtopia4app/qtopia4app.png deleted file mode 100644 index 1107719a..00000000 Binary files a/languages/cpp/app_templates/qtopia4app/qtopia4app.png and /dev/null differ -- cgit v1.2.1