summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qtopia4app
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qtopia4app')
-rw-r--r--languages/cpp/app_templates/qtopia4app/CMakeLists.txt49
-rw-r--r--languages/cpp/app_templates/qtopia4app/Example.pngbin1197 -> 0 bytes
-rw-r--r--languages/cpp/app_templates/qtopia4app/Makefile.am19
-rw-r--r--languages/cpp/app_templates/qtopia4app/app.kdevelop163
-rw-r--r--languages/cpp/app_templates/qtopia4app/app.pro31
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.cpp40
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.desktop8
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.h25
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.html15
-rw-r--r--languages/cpp/app_templates/qtopia4app/examplebase.ui44
-rw-r--r--languages/cpp/app_templates/qtopia4app/main.cpp7
-rw-r--r--languages/cpp/app_templates/qtopia4app/qtopia4app.kdevtemplate87
-rw-r--r--languages/cpp/app_templates/qtopia4app/qtopia4app.pngbin480 -> 0 bytes
13 files changed, 0 insertions, 488 deletions
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
--- a/languages/cpp/app_templates/qtopia4app/Example.png
+++ /dev/null
Binary files 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 @@
-<?xml version="1.0"?>
-<kdevelop>
- <general>
- <author>%{AUTHOR}</author>
- <email>%{EMAIL}</email>
- <version>%{VERSION}</version>
- <projectmanagement>KDevTrollProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <keywords>
- <keyword>Qt</keyword>
- </keywords>
- <ignoreparts/>
- </general>
- <kdevfileview>
- <groups>
- <group pattern="*.cpp;*.cxx;*.h" name="Sources" />
- <group pattern="*.ui" name="User Interface" />
- <group pattern="*.png" name="Icons" />
- <group pattern="*" name="Others" />
- </groups>
- <tree>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <hidepatterns>*.o,*.lo,CVS</hidepatterns>
- </tree>
- </kdevfileview>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>ada</toc>
- <toc>ada_bugs_gcc</toc>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>kde2book</toc>
- <toc>opengl</toc>
- <toc>pascal_bugs_fp</toc>
- <toc>php</toc>
- <toc>php_bugs</toc>
- <toc>perl</toc>
- <toc>perl_bugs</toc>
- <toc>python</toc>
- <toc>python_bugs</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>stl</toc>
- <toc>w3c-svg</toc>
- <toc>sw</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoredoxygen>
- <toc>TDE Libraries (Doxygen)</toc>
- </ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
- <general>
- <dbgshell>libtool</dbgshell>
- <programargs></programargs>
- <gdbpath></gdbpath>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- </display>
- </kdevdebugger>
- <kdevtrollproject>
- <general>
- <activedir></activedir>
- </general>
- <run>
- <mainprogram>./%{APPNAMELC}</mainprogram>
- <programargs>-qws</programargs>
- <envvars>
- <envvar value="/opt/Qtopia/SDK/4.2.4/x86" name="QPEDIR" />
- <envvar value="$QPEDIR/qtopiacore/target" name="TQTDIR" />
- <envvar value="/opt/Qtopia/SDK/4.2.4/x86/lib:/opt/Qtopia/SDK/4.2.4/x86/qtopiacore/target/lib:$LD_LIBRARY_PATH" name="LD_LIBRARY_PATH" />
- <envvar value="$PATH:/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.2.4/x86/bin:/opt/Qtopia/SDK/4.2.4/x86/scripts" name="PATH" />
-
- </envvars>
- </run>
- <envvars/>
- <make>
- <abortonerror>true</abortonerror>
- <runmultiplejobs>false</runmultiplejobs>
- <numberofjobs>1</numberofjobs>
- <dontact>false</dontact>
- <makebin></makebin>
- <prio>0</prio>
- <envvars>
- <envvar value="/opt/Qtopia/SDK/4.2.4/x86" name="QPEDIR" />
- <envvar value="/opt/Qtopia/SDK/4.2.4/x86/qtopiacore/target" name="TQTDIR" />
- <envvar value="$PATH:/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.2.4/x86/bin:/opt/Qtopia/SDK/4.2.4/x86/scripts" name="PATH" />
- </envvars>
- </make>
- </kdevtrollproject>
- <kdevfilecreate>
- <filetypes/>
- <useglobaltypes/>
- </kdevfilecreate>
- <cppsupportpart>
- <codecompletion>
- <codehinting outputview="1" enablech="0" selectview="0" />
- </codecompletion>
- <classstore>
- <enablepcs>false</enablepcs>
- <enablepp>false</enablepp>
- <preparsing/>
- </classstore>
- <filetemplates>
- <choosefiles>false</choosefiles>
- <interfaceURL></interfaceURL>
- <implementationURL></implementationURL>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- <lowercasefilenames>true</lowercasefilenames>
- </filetemplates>
- </cppsupportpart>
- <kdevclassview>
- <folderhierarchy>true</folderhierarchy>
- <depthoffolders>2</depthoffolders>
- </kdevclassview>
- <kdevcvs>
- <cvsoptions>-f</cvsoptions>
- <commitoptions></commitoptions>
- <updateoptions>-dP</updateoptions>
- <addoptions></addoptions>
- <removeoptions>-f</removeoptions>
- <diffoptions>-u3 -p</diffoptions>
- <logoptions></logoptions>
- <rshoptions></rshoptions>
- </kdevcvs>
- <kdevdocumentation>
- <projectdoc>
- <docsystem>Doxygen Documentation Collection</docsystem>
- <docurl>%{APPNAMELC}.tag</docurl>
- </projectdoc>
- </kdevdocumentation>
- <kdevcppsupport>
- <qt>
- <used>true</used>
- <version>4</version>
- <includestyle>4</includestyle>
- <root>/usr/lib/qt3</root>
- <designerintegration>ExternalDesigner</designerintegration>
- <qmake>/opt/Qtopia/SDK/4.2.4/x86/bin/qtopiamake</qmake>
- <designer>/opt/Qtopia/SDK/4.2.4/x86/bin/designer</designer>
- <designerpluginpaths/>
- </qt>
- </kdevcppsupport>
-</kdevelop>
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 <tqpushbutton.h>
-
-%{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 @@
-<html>
-<h1>%{APPNAME}</h1>
-
-<p>This is the help for the %{APPNAME} program.
-
-<p>To user this application:
-
-<ol>
- <li>Press the <img width=12 height=12 src=%{APPNAME}.png> icon in the TQtopia launcher.
- <li>Read the label.
- <li>Press the button.
- <li>Read the source code provided.
-</ol>
-
-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 @@
-<ui version="4.0" stdsetdef="1" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>%{APPNAME}Base</class>
- <widget class="TQWidget" name="%{APPNAME}Base" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>196</width>
- <height>245</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>%{APPNAME}</string>
- </property>
- <layout class="TQVBoxLayout" >
- <property name="margin" >
- <number>11</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="TQLabel" name="TextLabel1" >
- <property name="text" >
- <string>This is just an %{APPNAME}. It doesn't do anything interesting at all.</string>
- </property>
- <property name="wordWrap" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="TQPushButton" name="quit" >
- <property name="text" >
- <string>Quit</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
-</ui>
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/tqtopiaapplication.h>
-
-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
--- a/languages/cpp/app_templates/qtopia4app/qtopia4app.png
+++ /dev/null
Binary files differ