summaryrefslogtreecommitdiffstats
path: root/languages/cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 21:45:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-14 10:21:01 +0900
commit5c50dcac16345515a81f7de5766fa240eaa99d31 (patch)
treef90ca08ef922a837ef270d3654a00a879487ff76 /languages/cpp
parent14334c54280493270f175de52c28170cf14f50a3 (diff)
downloadtdevelop-5c50dcac16345515a81f7de5766fa240eaa99d31.tar.gz
tdevelop-5c50dcac16345515a81f7de5766fa240eaa99d31.zip
Removed Qt4 specific code and template files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 60598ea23e9fec7b4320985aad848c5ffee033c2)
Diffstat (limited to 'languages/cpp')
-rw-r--r--languages/cpp/app_templates/CMakeLists.txt4
-rw-r--r--languages/cpp/app_templates/Makefile.am2
-rw-r--r--languages/cpp/app_templates/cpp.appwizard2
-rw-r--r--languages/cpp/app_templates/kde4app/CMakeLists.txt51
-rw-r--r--languages/cpp/app_templates/kde4app/Makefile.am19
-rw-r--r--languages/cpp/app_templates/kde4app/README15
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.cpp90
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.desktop10
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.h54
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.kcfg21
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4view.cpp42
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4view.h56
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4view_base.ui213
-rw-r--r--languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt31
-rw-r--r--languages/cpp/app_templates/kde4app/kde4app.kdevelop205
-rw-r--r--languages/cpp/app_templates/kde4app/kde4app.kdevelop.filelist13
-rw-r--r--languages/cpp/app_templates/kde4app/kde4app.kdevtemplate95
-rw-r--r--languages/cpp/app_templates/kde4app/kde4app.pngbin5265 -> 0 bytes
-rw-r--r--languages/cpp/app_templates/kde4app/kde4appui.rc8
-rw-r--r--languages/cpp/app_templates/kde4app/main.cpp55
-rw-r--r--languages/cpp/app_templates/kde4app/prefs_base.ui155
-rw-r--r--languages/cpp/app_templates/kde4app/settings.kcfgc6
-rw-r--r--languages/cpp/app_templates/qt4hello/CMakeLists.txt34
-rw-r--r--languages/cpp/app_templates/qt4hello/Makefile.am18
-rw-r--r--languages/cpp/app_templates/qt4hello/ReadMe11
-rw-r--r--languages/cpp/app_templates/qt4hello/main.cpp11
-rw-r--r--languages/cpp/app_templates/qt4hello/qt4hello.kdevelop113
-rw-r--r--languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate59
-rw-r--r--languages/cpp/app_templates/qt4hello/qt4hello.pngbin24614 -> 0 bytes
-rw-r--r--languages/cpp/app_templates/qt4hello/qt4hello.pro5
-rw-r--r--languages/cpp/app_templates/qt4hello/src.pro8
-rw-r--r--languages/cpp/app_templates/qt4makeapp/CMakeLists.txt36
-rw-r--r--languages/cpp/app_templates/qt4makeapp/Makefile.am19
-rw-r--r--languages/cpp/app_templates/qt4makeapp/ReadMe11
-rw-r--r--languages/cpp/app_templates/qt4makeapp/application.qrc10
-rw-r--r--languages/cpp/app_templates/qt4makeapp/editcopy.xpm193
-rw-r--r--languages/cpp/app_templates/qt4makeapp/editcut.xpm252
-rw-r--r--languages/cpp/app_templates/qt4makeapp/editpaste.xpm295
-rw-r--r--languages/cpp/app_templates/qt4makeapp/filenew.xpm216
-rw-r--r--languages/cpp/app_templates/qt4makeapp/fileopen.xpm295
-rw-r--r--languages/cpp/app_templates/qt4makeapp/filesave.xpm295
-rw-r--r--languages/cpp/app_templates/qt4makeapp/main.cpp14
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp11
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp285
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.h66
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevelop113
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate104
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.pngbin15385 -> 0 bytes
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.pro5
-rw-r--r--languages/cpp/app_templates/qt4makeapp/src.pro10
-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
-rw-r--r--languages/cpp/ccconfigwidget.cpp79
-rw-r--r--languages/cpp/ccconfigwidgetbase.ui92
-rw-r--r--languages/cpp/pcsimporter/CMakeLists.txt1
-rw-r--r--languages/cpp/pcsimporter/Makefile.am2
-rw-r--r--languages/cpp/pcsimporter/qt4importer/CMakeLists.txt42
-rw-r--r--languages/cpp/pcsimporter/qt4importer/Makefile.am11
-rw-r--r--languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp107
-rw-r--r--languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop11
-rw-r--r--languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h40
-rw-r--r--languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp112
-rw-r--r--languages/cpp/pcsimporter/qt4importer/settingsdialog.h47
-rw-r--r--languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui80
-rw-r--r--languages/cpp/subclassing_template/CMakeLists.txt1
-rw-r--r--languages/cpp/subclassing_template/Makefile.am3
-rw-r--r--languages/cpp/subclassing_template/subclass_qt4_template.cpp16
-rw-r--r--languages/cpp/subclassing_template/subclass_qt4_template.h29
-rw-r--r--languages/cpp/subclassingdlg.cpp10
80 files changed, 20 insertions, 4787 deletions
diff --git a/languages/cpp/app_templates/CMakeLists.txt b/languages/cpp/app_templates/CMakeLists.txt
index 14e63fa7..66656732 100644
--- a/languages/cpp/app_templates/CMakeLists.txt
+++ b/languages/cpp/app_templates/CMakeLists.txt
@@ -28,7 +28,6 @@ add_subdirectory( gtk2mmapp )
add_subdirectory( kapp )
add_subdirectory( kateplugin )
add_subdirectory( kateplugin2 )
-add_subdirectory( kde4app )
add_subdirectory( kdedcop )
add_subdirectory( kdevlang )
add_subdirectory( kdevpart )
@@ -58,9 +57,6 @@ add_subdirectory( opietoday )
add_subdirectory( qmakeapp )
add_subdirectory( qmakeempty )
add_subdirectory( qmakesimple )
-add_subdirectory( qt4hello )
-add_subdirectory( qt4makeapp )
-add_subdirectory( qtopia4app )
add_subdirectory( qtopiaapp )
add_subdirectory( tdecmodule )
add_subdirectory( tdeconfig35 )
diff --git a/languages/cpp/app_templates/Makefile.am b/languages/cpp/app_templates/Makefile.am
index 8350118d..bbd1618a 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 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
+SUBDIRS = kapp kpartapp kpartplugin tdecmodule kicker tdeioslave kdevpart kdevpart2 chello cpphello tdescreensaver kofficepart chello_gba dcopservice konqnavpanel qmakesimple qmakeapp 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 qmakeempty automakeempty makefileempty
profilescdir = $(kde_datadir)/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE
profilesc_DATA = c.appwizard
diff --git a/languages/cpp/app_templates/cpp.appwizard b/languages/cpp/app_templates/cpp.appwizard
index dc233269..cbb5a6af 100644
--- a/languages/cpp/app_templates/cpp.appwizard
+++ b/languages/cpp/app_templates/cpp.appwizard
@@ -1,2 +1,2 @@
[General]
-List=opiemenu,win32hello,cppcurseshello,gtk2mmapp,opienet,wxhello,cpphello,opietoday,clanlib,cppsdlhello,qmakeapp,qt4hello,qt4makeapp,cmakelibcpp,opieapp,qmakesimple,cmakesimple,generichello,opieapplet,qtopiaapp,gnome2mmapp,opieinput,win32gui,cmakeqt3app,qmakeempty,automakeempty,makefileempty,qtopia4app
+List=opiemenu,win32hello,cppcurseshello,gtk2mmapp,opienet,wxhello,cpphello,opietoday,clanlib,cppsdlhello,qmakeapp,cmakelibcpp,opieapp,qmakesimple,cmakesimple,generichello,opieapplet,qtopiaapp,gnome2mmapp,opieinput,win32gui,cmakeqt3app,qmakeempty,automakeempty,makefileempty
diff --git a/languages/cpp/app_templates/kde4app/CMakeLists.txt b/languages/cpp/app_templates/kde4app/CMakeLists.txt
deleted file mode 100644
index 215f653d..00000000
--- a/languages/cpp/app_templates/kde4app/CMakeLists.txt
+++ /dev/null
@@ -1,51 +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 kapp4.desktop )
-set( _tarball_files
- kapp4.cpp kapp4.h prefs_base.ui kapp4view.cpp
- kapp4view.h kapp4view_base.ui main.cpp kde4appui.rc
- kde4app-CMakeLists.txt kapp4.kcfg
- settings.kcfgc kde4app.png README kde4app.kdevelop
- kde4app.kdevelop.filelist
-)
-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 kde4app.tar.gz
- SOURCEDIR ${CMAKE_CURRENT_BINARY_DIR}
- FILES ${_tarball_content}
-)
-
-
-install( FILES
- ${CMAKE_CURRENT_BINARY_DIR}/kde4app.tar.gz kde4app.png
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
-
-
-tde_create_translated_desktop(
- SOURCE kde4app.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates
- KEYWORDS Category
- PO_DIR tdevelop-desktops
-)
diff --git a/languages/cpp/app_templates/kde4app/Makefile.am b/languages/cpp/app_templates/kde4app/Makefile.am
deleted file mode 100644
index 2b39fcb4..00000000
--- a/languages/cpp/app_templates/kde4app/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-dataFiles = kapp4.cpp kapp4.h prefs_base.ui kapp4view.cpp kapp4view.h kapp4view_base.ui \
- main.cpp kde4appui.rc CMakeLists.txt kapp4.desktop kapp4.kcfg settings.kcfgc \
- kde4app.png README kde4app.kdevelop kde4app.kdevelop.filelist
-
-templateName = kde4app
-
-### 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/kde4app/README b/languages/cpp/app_templates/kde4app/README
deleted file mode 100644
index 8180d28c..00000000
--- a/languages/cpp/app_templates/kde4app/README
+++ /dev/null
@@ -1,15 +0,0 @@
-!!!!!ATTENTION!!!!!
-
-Before starting the build you may need to setup the KDE4 environment variables.
-To do this open Project->Project Options and then look at the "Run" and the "Make"
-pages. Each of these two has an environment variables widget in which you have
-to fill in the right values for the variables already listed.
-
-After setting up the variables you'll also need to run cmake inside the build
-directory. This can not be done by tdevelop as a KDE4 environment is needed
-when running cmake to find KDE4. Open the integrated konsole and change to the build
-subdirectory. Then setup a KDE4 environment and run "cmake ../".
-
-More information how to setup a KDE4 development environment can be found on
-http://techbase.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts
-
diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp
deleted file mode 100644
index d224123c..00000000
--- a/languages/cpp/app_templates/kde4app/kapp4.cpp
+++ /dev/null
@@ -1,90 +0,0 @@
-%{CPP_TEMPLATE}
-
-#include "%{APPNAMELC}.h"
-#include "%{APPNAMELC}view.h"
-#include "settings.h"
-
-#include <TQtGui/TQDropEvent>
-#include <TQtGui/TQPainter>
-
-#include <tdeconfigdialog.h>
-#include <kstatusbar.h>
-
-#include <tdeaction.h>
-#include <tdeactioncollection.h>
-#include <kstandardaction.h>
-
-#include <KDE/TDELocale>
-
-%{APPNAME}::%{APPNAME}()
- : KXmlGuiWindow(),
- m_view(new %{APPNAME}View(this)),
- m_printer(0)
-{
- // accept dnd
- setAcceptDrops(true);
-
- // tell the KXmlGuiWindow that this is indeed the main widget
- setCentralWidget(m_view);
-
- // then, setup our actions
- setupActions();
-
- // add a status bar
- statusBar()->show();
-
- // a call to KXmlGuiWindow::setupGUI() populates the GUI
- // with actions, using KXMLGUI.
- // It also applies the saved mainwindow settings, if any, and ask the
- // mainwindow to automatically save settings if changed: window size,
- // toolbar position, icon size, etc.
- setupGUI();
-}
-
-%{APPNAME}::~%{APPNAME}()
-{
-}
-
-void %{APPNAME}::setupActions()
-{
- TDEStandardAction::openNew(this, TQT_SLOT(fileNew()), actionCollection());
- TDEStandardAction::quit(tqApp, TQT_SLOT(quit()), actionCollection());
-
- TDEStandardAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection());
-
- // custom menu and menu item - the slot is in the class %{APPNAME}View
- TDEAction *custom = new TDEAction(TDEIcon("colorize"), i18n("Swi&tch Colors"), this);
- actionCollection()->addAction( TQLatin1String("switch_action"), custom );
- connect(custom, TQT_SIGNAL(triggered(bool)), m_view, TQT_SLOT(switchColors()));
-}
-
-void %{APPNAME}::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 %{APPNAME})->show();
-}
-
-void %{APPNAME}::optionsPreferences()
-{
- // The preference dialog is derived from prefs_base.ui
- //
- // compare the names of the widgets in the .ui file
- // to the names of the variables in the .kcfg file
- //avoid to have 2 dialogs shown
- if ( TDEConfigDialog::showDialog( "settings" ) ) {
- return;
- }
- TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self());
- TQWidget *generalSettingsDlg = new TQWidget;
- ui_prefs_base.setupUi(generalSettingsDlg);
- dialog->addPage(generalSettingsDlg, i18n("General"), "package_setting");
- connect(dialog, TQT_SIGNAL(settingsChanged(TQString)), m_view, TQT_SLOT(settingsChanged()));
- dialog->setAttribute( TQt::WA_DeleteOnClose );
- dialog->show();
-}
-
-#include "%{APPNAMELC}.moc"
diff --git a/languages/cpp/app_templates/kde4app/kapp4.desktop b/languages/cpp/app_templates/kde4app/kapp4.desktop
deleted file mode 100644
index 37d66d29..00000000
--- a/languages/cpp/app_templates/kde4app/kapp4.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=KApp4
-
-GenericName=A KDE4 Application
-
-Exec=kapp4 %i -caption "%c"
-Icon=kapp4
-Type=Application
-Terminal=false
-X-DocPath=kapp4/kapp4.html
diff --git a/languages/cpp/app_templates/kde4app/kapp4.h b/languages/cpp/app_templates/kde4app/kapp4.h
deleted file mode 100644
index 3c209de2..00000000
--- a/languages/cpp/app_templates/kde4app/kapp4.h
+++ /dev/null
@@ -1,54 +0,0 @@
-%{H_TEMPLATE}
-#ifndef %{APPNAMEUC}_H
-#define %{APPNAMEUC}_H
-
-
-#include <kxmlguiwindow.h>
-
-#include "ui_prefs_base.h"
-
-class %{APPNAME}View;
-class KPrinter;
-class TDEToggleAction;
-class KUrl;
-
-/**
- * This class serves as the main window for %{APPNAME}. It handles the
- * menus, toolbars, and status bars.
- *
- * @short Main window class
- * @author Andreas Pakulat <apaku@gmx.de>
- * @version 0.1
- */
-class %{APPNAME} : public KXmlGuiWindow
-{
- Q_OBJECT
-
-public:
- /**
- * Default Constructor
- */
- %{APPNAME}();
-
- /**
- * Default Destructor
- */
- virtual ~%{APPNAME}();
-
-private slots:
- void fileNew();
- void optionsPreferences();
-
-private:
- void setupActions();
-
-private:
- Ui::prefs_base ui_prefs_base ;
- %{APPNAME}View *m_view;
-
- KPrinter *m_printer;
- TDEToggleAction *m_toolbarAction;
- TDEToggleAction *m_statusbarAction;
-};
-
-#endif // _%{APPNAMELC}_H_
diff --git a/languages/cpp/app_templates/kde4app/kapp4.kcfg b/languages/cpp/app_templates/kde4app/kapp4.kcfg
deleted file mode 100644
index 6040f769..00000000
--- a/languages/cpp/app_templates/kde4app/kapp4.kcfg
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
- http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="%{APPNAMELC}rc"/>
- <group name="Preferences">
- <entry name="col_background" type="Color">
- <label>color of the background</label>
- <default>black</default>
- </entry>
- <entry name="col_foreground" type="Color">
- <label>color of the foreground</label>
- <default>yellow</default>
- </entry>
- <entry name="val_time" type="Int">
- <label>size of a ball</label>
- <default>2</default>
- </entry>
- </group>
-</kcfg>
diff --git a/languages/cpp/app_templates/kde4app/kapp4view.cpp b/languages/cpp/app_templates/kde4app/kapp4view.cpp
deleted file mode 100644
index af95aa15..00000000
--- a/languages/cpp/app_templates/kde4app/kapp4view.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-%{CPP_TEMPLATE}
-#include "%{APPNAMELC}view.h"
-#include "settings.h"
-
-#include <tdelocale.h>
-#include <TQtGui/TQLabel>
-
-%{APPNAME}View::%{APPNAME}View(TQWidget *)
-{
- ui_%{APPNAMELC}view_base.setupUi(this);
- settingsChanged();
- setAutoFillBackground(true);
-}
-
-%{APPNAME}View::~%{APPNAME}View()
-{
-
-}
-
-void %{APPNAME}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 %{APPNAME}View::settingsChanged()
-{
- TQPalette pal;
- pal.setColor( TQPalette::Window, Settings::col_background());
- pal.setColor( TQPalette::WindowText, Settings::col_foreground());
- ui_%{APPNAMELC}view_base.kcfg_sillyLabel->setPalette( pal );
-
- // i18n : internationalization
- ui_%{APPNAMELC}view_base.kcfg_sillyLabel->setText( i18n("This project is %1 days old",Settings::val_time()) );
- emit signalChangeStatusbar( i18n("Settings changed") );
-}
-
-#include "%{APPNAMELC}view.moc"
diff --git a/languages/cpp/app_templates/kde4app/kapp4view.h b/languages/cpp/app_templates/kde4app/kapp4view.h
deleted file mode 100644
index 855a2144..00000000
--- a/languages/cpp/app_templates/kde4app/kapp4view.h
+++ /dev/null
@@ -1,56 +0,0 @@
-%{H_TEMPLATE}
-#ifndef %{APPNAMELC}VIEW_H
-#define %{APPNAMELC}VIEW_H
-
-#include <TQtGui/TQWidget>
-
-#include "ui_%{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 %{APPNAME}View : public TQWidget, public Ui::%{APPNAMELC}view_base
-{
- Q_OBJECT
-
-public:
- /**
- * Default constructor
- */
- %{APPNAME}View(TQWidget *parent);
-
- /**
- * Destructor
- */
- virtual ~%{APPNAME}View();
-
-private:
- Ui::%{APPNAMELC}view_base ui_%{APPNAMELC}view_base;
-
-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 // %{APPNAME}VIEW_H
diff --git a/languages/cpp/app_templates/kde4app/kapp4view_base.ui b/languages/cpp/app_templates/kde4app/kapp4view_base.ui
deleted file mode 100644
index 6738a789..00000000
--- a/languages/cpp/app_templates/kde4app/kapp4view_base.ui
+++ /dev/null
@@ -1,213 +0,0 @@
-<ui version="4.0" >
-<class>%{APPNAMELC}view_base</class>
-<widget class="TQWidget" name="%{APPNAMELC}view_base" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>315</width>
- <height>233</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>%{APPNAMELC}_base</string>
- </property>
- <property name="autoFillBackground" >
- <bool>true</bool>
- </property>
- <layout class="TQGridLayout" >
- <property name="leftMargin" >
- <number>11</number>
- </property>
- <property name="topMargin" >
- <number>11</number>
- </property>
- <property name="rightMargin" >
- <number>11</number>
- </property>
- <property name="bottomMargin" >
- <number>11</number>
- </property>
- <property name="horizontalSpacing" >
- <number>6</number>
- </property>
- <property name="verticalSpacing" >
- <number>6</number>
- </property>
- <item row="0" column="0" >
- <widget class="TQLabel" name="kcfg_sillyLabel" >
- <property name="palette" >
- <palette>
- <active>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- </active>
- <inactive>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- </inactive>
- <disabled>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>119</red>
- <green>119</green>
- <blue>119</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- </disabled>
- </palette>
- </property>
- <property name="font" >
- <font>
- <family>Sans Serif</family>
- <pointsize>12</pointsize>
- </font>
- </property>
- <property name="autoFillBackground" >
- <bool>true</bool>
- </property>
- <property name="text" >
- <string>hello, world</string>
- </property>
- <property name="scaledContents" >
- <bool>true</bool>
- </property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
- <resources/>
- <connections/>
-</ui>
diff --git a/languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt b/languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt
deleted file mode 100644
index ef8ff86a..00000000
--- a/languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-project(%{APPNAME})
-find_package(KDE4 REQUIRED)
-include (KDE4Defaults)
-include_directories( ${KDE4_INCLUDES} ${TQT_INCLUDES} )
-
-set(%{APPNAMELC}_SRCS
- %{APPNAMELC}.cpp
- main.cpp
- %{APPNAMELC}view.cpp
- )
-
-#kde4_automoc(${%{APPNAMELC}_SRCS})
-
-kde4_add_ui_files(%{APPNAMELC}_SRCS %{APPNAMELC}view_base.ui prefs_base.ui)
-
-kde4_add_kcfg_files(%{APPNAMELC}_SRCS settings.kcfgc )
-
-kde4_add_executable(%{APPNAMELC} ${%{APPNAMELC}_SRCS})
-
-target_link_libraries(%{APPNAMELC} ${KDE4_TDEUI_LIBS} )
-
-install(TARGETS %{APPNAMELC} DESTINATION ${BIN_INSTALL_DIR} )
-
-
-########### install files ###############
-
-install( FILES %{APPNAMELC}.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES %{APPNAMELC}.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
-install( FILES %{APPNAMELC}ui.rc DESTINATION ${DATA_INSTALL_DIR}/%{APPNAMELC} )
-
-
diff --git a/languages/cpp/app_templates/kde4app/kde4app.kdevelop b/languages/cpp/app_templates/kde4app/kde4app.kdevelop
deleted file mode 100644
index 5168efbe..00000000
--- a/languages/cpp/app_templates/kde4app/kde4app.kdevelop
+++ /dev/null
@@ -1,205 +0,0 @@
-<?xml version = '1.0'?>
-<kdevelop>
- <general>
- <author>%{AUTHOR}</author>
- <email>%{EMAIL}</email>
- <version>%{VERSION}</version>
- <projectmanagement>KDevCustomProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <keywords>
- <keyword>C++</keyword>
- <keyword>Code</keyword>
- <keyword>Qt</keyword>
- <keyword>KDE</keyword>
- </keywords>
- <projectname>%{APPNAMELC}</projectname>
- <projectdirectory>.</projectdirectory>
- <absoluteprojectpath>false</absoluteprojectpath>
- <description/>
- <ignoreparts/>
- </general>
- <kdevfileview>
- <groups>
- <group pattern="*.cpp;*.cxx;*.h" name="Sources" />
- <group pattern="*.ui" name="User Interface" />
- <group pattern="*.png" name="Icons" />
- <group pattern="*.po;*.ts" name="Translations" />
- <group pattern="*" name="Others" />
- </groups>
- <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>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>w3c-svg</toc>
- <toc>sw</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoreqt_xml>
- <toc>qmake User Guide</toc>
- </ignoreqt_xml>
- </kdevdoctreeview>
- <kdevdebugger>
- <general>
- <dbgshell>libtool</dbgshell>
- <programargs/>
- <gdbpath/>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- <runappinappdirectory>true</runappinappdirectory>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- </display>
- </kdevdebugger>
- <kdevfilecreate>
- <filetypes/>
- <useglobaltypes>
- <type ext="ui" />
- <type ext="cpp" />
- <type ext="h" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevcvs>
- <cvsoptions>-f</cvsoptions>
- <commitoptions/>
- <updateoptions>-dP</updateoptions>
- <addoptions/>
- <removeoptions>-f</removeoptions>
- <diffoptions>-u3 -p</diffoptions>
- <logoptions/>
- <rshoptions/>
- </kdevcvs>
- <cppsupportpart>
- <codecompletion/>
- <filetemplates>
- <choosefiles>false</choosefiles>
- <interfaceURL/>
- <implementationURL/>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- <lowercasefilenames>true</lowercasefilenames>
- </filetemplates>
- </cppsupportpart>
- <kdevcustomproject>
- <run>
- <mainprogram>%{dest}/build/%{APPNAMELC}</mainprogram>
- <programargs/>
- <terminal>false</terminal>
- <autocompile>false</autocompile>
- <envvars>
- <envvar value="" name="TDEDIRS" />
- <envvar value="" name="TDEHOME" />
- <envvar value="" name="LD_LIBRARY_PATH" />
- <envvar value="" name="PATH" />
- <envvar value="" name="PKG_CONFIG_PATH" />
- <envvar value="" name="QT_PLUGIN_PATH" />
- </envvars>
- <autoinstall>false</autoinstall>
- <autotdesu>false</autotdesu>
- <globaldebugarguments/>
- <useglobalprogram>true</useglobalprogram>
- <globalcwd>%{dest}</globalcwd>
- <directoryradio>executable</directoryradio>
- </run>
- <build>
- <buildtool>make</buildtool>
- <builddir>%{dest}/build</builddir>
- </build>
- <make>
- <abortonerror>false</abortonerror>
- <numberofjobs>1</numberofjobs>
- <prio>0</prio>
- <dontact>false</dontact>
- <makebin>make</makebin>
- <defaulttarget/>
- <makeoptions/>
- <selectedenvironment>default</selectedenvironment>
- <environments>
- <default>
- <envvar value="" name="TDEDIRS" />
- <envvar value="" name="TDEHOME" />
- <envvar value="" name="LD_LIBRARY_PATH" />
- <envvar value="" name="PATH" />
- <envvar value="" name="PKG_CONFIG_PATH" />
- <envvar value="" name="QT_PLUGIN_PATH" />
- </default>
- </environments>
- </make>
- <filetypes>
- <filetype>*.h</filetype>
- <filetype>*.cpp</filetype>
- <filetype>CMakeLists.txt</filetype>
- <filetype>*.desktop</filetype>
- <filetype>*.kcfg*</filetype>
- <filetype>*.ui</filetype>
- <filetype>Doxyfile</filetype>
- <filetype>*.dox</filetype>
- <filetype>*.rc</filetype>
- <filetype>*.cmake</filetype>
- </filetypes>
- <other>
- <prio>0</prio>
- <otherbin/>
- <defaulttarget/>
- <otheroptions/>
- <selectedenvironment>default</selectedenvironment>
- <environments>
- <default/>
- </environments>
- </other>
- <blacklist>
- <path>build</path>
- </blacklist>
- </kdevcustomproject>
- <kdevcppsupport>
- <qt>
- <used>true</used>
- <version>4</version>
- <includestyle>4</includestyle>
- <designerintegration>ExternalDesigner</designerintegration>
- <designer>/usr/bin/designer-qt4</designer>
- <root>/usr/lib/qt4</root>
- </qt>
- </kdevcppsupport>
- <kdevclassview>
- <folderhierarchy>true</folderhierarchy>
- <depthoffolders>2</depthoffolders>
- </kdevclassview>
- <kdevdocumentation>
- <projectdoc>
- <docsystem>Doxygen Documentation Collection</docsystem>
- <docurl>%{APPNAMELC}.tag</docurl>
- </projectdoc>
- </kdevdocumentation>
-</kdevelop>
diff --git a/languages/cpp/app_templates/kde4app/kde4app.kdevelop.filelist b/languages/cpp/app_templates/kde4app/kde4app.kdevelop.filelist
deleted file mode 100644
index 5235563f..00000000
--- a/languages/cpp/app_templates/kde4app/kde4app.kdevelop.filelist
+++ /dev/null
@@ -1,13 +0,0 @@
-# KDevelop Custom Project File List
-CMakeLists.txt
-main.cpp
-prefs_base.ui
-settings.kcfgc
-%{APPNAMELC}.cpp
-%{APPNAMELC}.desktop
-%{APPNAMELC}.h
-%{APPNAMELC}.kcfg
-%{APPNAMELC}ui.rc
-%{APPNAMELC}view.cpp
-%{APPNAMELC}view.h
-%{APPNAMELC}view_base.ui
diff --git a/languages/cpp/app_templates/kde4app/kde4app.kdevtemplate b/languages/cpp/app_templates/kde4app/kde4app.kdevtemplate
deleted file mode 100644
index e61148ed..00000000
--- a/languages/cpp/app_templates/kde4app/kde4app.kdevtemplate
+++ /dev/null
@@ -1,95 +0,0 @@
-# TDE Config File
-[General]
-Name=KDE4 Application framework
-
-Comment=Generates a simple KDE4 application with one toplevel window, menus and toolbars.
-
-Category=C++/KDE4
-
-Icon=kde4app.png
-FileTemplates=h,CStyle,cpp,CStyle
-ShowFilesAfterGeneration=%{dest}/README
-Archive=kde4app.tar.gz
-
-[FILE1]
-Type=install
-Source=%{src}/CMakeLists.txt
-Dest=%{dest}/CMakeLists.txt
-
-[FILE2]
-Type=install
-Source=%{src}/main.cpp
-Dest=%{dest}/main.cpp
-
-[FILE3]
-Type=install
-Source=%{src}/kapp4.cpp
-Dest=%{dest}/%{APPNAMELC}.cpp
-
-[FILE4]
-Type=install
-Source=%{src}/kapp4.h
-Dest=%{dest}/%{APPNAMELC}.h
-
-[FILE5]
-Type=install
-Source=%{src}/kapp4view.cpp
-Dest=%{dest}/%{APPNAMELC}view.cpp
-
-[FILE6]
-Type=install
-Source=%{src}/kapp4view.h
-Dest=%{dest}/%{APPNAMELC}view.h
-
-[FILE7]
-Type=install
-Source=%{src}/kde4appui.rc
-Dest=%{dest}/%{APPNAMELC}ui.rc
-
-[FILE8]
-Type=install
-Source=%{src}/kapp4view_base.ui
-Dest=%{dest}/%{APPNAMELC}view_base.ui
-
-[FILE9]
-Type=install
-Source=%{src}/kapp4.desktop
-Dest=%{dest}/%{APPNAMELC}.desktop
-
-[FILE10]
-Type=install
-Source=%{src}/kapp4.kcfg
-Dest=%{dest}/%{APPNAMELC}.kcfg
-
-[FILE11]
-Type=install
-Source=%{src}/prefs_base.ui
-Dest=%{dest}/prefs_base.ui
-
-[FILE12]
-Type=install
-Source=%{src}/settings.kcfgc
-Dest=%{dest}/settings.kcfgc
-
-[FILE13]
-Type=install
-Source=%{src}/README
-Dest=%{dest}/README
-
-[FILE14]
-Type=install
-Source=%{src}/kde4app.kdevelop
-Dest=%{dest}/%{APPNAMELC}.kdevelop
-
-[FILE15]
-Type=install
-Source=%{src}/kde4app.kdevelop.filelist
-Dest=%{dest}/%{APPNAMELC}.kdevelop.filelist
-
-[MKDIR1]
-Type=mkdir
-Dir=%{dest}/build
-
-[MSG]
-Type=message
-Comment=A KDE4 Application was created at %{dest}
diff --git a/languages/cpp/app_templates/kde4app/kde4app.png b/languages/cpp/app_templates/kde4app/kde4app.png
deleted file mode 100644
index 42dfe38d..00000000
--- a/languages/cpp/app_templates/kde4app/kde4app.png
+++ /dev/null
Binary files differ
diff --git a/languages/cpp/app_templates/kde4app/kde4appui.rc b/languages/cpp/app_templates/kde4app/kde4appui.rc
deleted file mode 100644
index 406bccc6..00000000
--- a/languages/cpp/app_templates/kde4app/kde4appui.rc
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KApp4" version="1">
-<MenuBar>
- <Menu name="move"><text>&amp;Move</text>
- <Action name="switch_action" />
- </Menu>
-</MenuBar>
-</kpartgui>
diff --git a/languages/cpp/app_templates/kde4app/main.cpp b/languages/cpp/app_templates/kde4app/main.cpp
deleted file mode 100644
index 5c83921b..00000000
--- a/languages/cpp/app_templates/kde4app/main.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-%{CPP_TEMPLATE}
-
-#include "%{APPNAMELC}.h"
-#include <tdeapplication.h>
-#include <tdeaboutdata.h>
-#include <tdecmdlineargs.h>
-#include <KDE/TDELocale>
-
-static const char description[] =
- I18N_NOOP("A KDE 4 Application");
-
-static const char version[] = "%{VERSION}";
-
-int main(int argc, char **argv)
-{
- TDEAboutData about("%{APPNAMELC}", 0, ki18n("%{APPNAME}"), version, ki18n(description),
- TDEAboutData::License_%{LICENSE}, ki18n("(C) %{YEAR} %{AUTHOR}"), KLocalizedString(), 0, "%{EMAIL}");
- about.addAuthor( ki18n("%{AUTHOR}"), KLocalizedString(), "%{EMAIL}" );
- TDECmdLineArgs::init(argc, argv, &about);
-
- TDECmdLineOptions options;
- options.add("+[URL]", ki18n( "Document to open" ));
- TDECmdLineArgs::addCmdLineOptions(options);
- TDEApplication app;
-
- %{APPNAME} *widget = new %{APPNAME};
-
- // see if we are starting with session management
- if (app.isSessionRestored())
- {
- RESTORE(%{APPNAME});
- }
- 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/kde4app/prefs_base.ui b/languages/cpp/app_templates/kde4app/prefs_base.ui
deleted file mode 100644
index 87a191f1..00000000
--- a/languages/cpp/app_templates/kde4app/prefs_base.ui
+++ /dev/null
@@ -1,155 +0,0 @@
-<ui version="4.0" >
- <class>prefs_base</class>
- <widget class="TQWidget" name="prefs_base" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>282</width>
- <height>156</height>
- </rect>
- </property>
- <layout class="TQGridLayout" >
- <item row="0" column="0" >
- <widget class="TQLabel" name="textLabel2_2" >
- <property name="text" >
- <string>Background color:</string>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="KColorButton" name="kcfg_col_background" >
- <property name="toolTip" >
- <string>Choose a new background color</string>
- </property>
- <property name="whatsThis" >
- <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'DejaVu Serif'; font-size:9pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Change the &lt;span style=" font-weight:600;">background&lt;/span> color by clicking here and choose the new &lt;span style=" color:#ff0000;">color&lt;/span> in the &lt;span style=" font-style:italic;">color dialog&lt;/span>.&lt;/p>&lt;/body>&lt;/html></string>
- </property>
- <property name="text" >
- <string/>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="TQLabel" name="textLabel1" >
- <property name="text" >
- <string>Project age:</string>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="TQLabel" name="textLabel2" >
- <property name="text" >
- <string>Foreground color:</string>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="KColorButton" name="kcfg_col_foreground" >
- <property name="toolTip" >
- <string>Choose a new foreground color</string>
- </property>
- <property name="whatsThis" >
- <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'DejaVu Serif'; font-size:9pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Change the &lt;span style=" font-weight:600;">foreground&lt;/span> color by clicking here and choose the new &lt;span style=" color:#ff0000;">color&lt;/span> in the &lt;span style=" font-style:italic;">color dialog&lt;/span>.&lt;/p>&lt;/body>&lt;/html></string>
- </property>
- <property name="text" >
- <string/>
- </property>
- </widget>
- </item>
- <item row="0" column="2" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>41</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="2" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>41</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="1" >
- <widget class="TQSpinBox" name="kcfg_val_time" >
- <property name="toolTip" >
- <string>Set the project age (in days)</string>
- </property>
- <property name="whatsThis" >
- <string>Change the project age (in days) by choosing a new number of days.</string>
- </property>
- <property name="minimum" >
- <number>1</number>
- </property>
- <property name="value" >
- <number>2</number>
- </property>
- </widget>
- </item>
- <item row="2" column="2" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>41</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
- <customwidgets>
- <customwidget>
- <class>KColorButton</class>
- <extends>QPushButton</extends>
- <header>kcolorbutton.h</header>
- </customwidget>
- </customwidgets>
- <includes>
- <include location="local" >kcolorbutton.h</include>
- </includes>
- <resources/>
- <connections/>
-</ui>
diff --git a/languages/cpp/app_templates/kde4app/settings.kcfgc b/languages/cpp/app_templates/kde4app/settings.kcfgc
deleted file mode 100644
index 402fad09..00000000
--- a/languages/cpp/app_templates/kde4app/settings.kcfgc
+++ /dev/null
@@ -1,6 +0,0 @@
-# Code generation options for tdeconfig_compiler
-File=%{APPNAMELC}.kcfg
-ClassName=Settings
-Singleton=true
-Mutators=col_background,col_foreground
-# will create the necessary code for setting those variables
diff --git a/languages/cpp/app_templates/qt4hello/CMakeLists.txt b/languages/cpp/app_templates/qt4hello/CMakeLists.txt
deleted file mode 100644
index 47a77b8b..00000000
--- a/languages/cpp/app_templates/qt4hello/CMakeLists.txt
+++ /dev/null
@@ -1,34 +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_content
- main.cpp qt4hello.png qt4hello.kdevelop qt4hello.pro
- src.pro ReadMe
-)
-list( SORT _tarball_content )
-
-tde_create_tarball(
- TARGET qt4hello.tar.gz
- FILES ${_tarball_content}
-)
-
-
-install( FILES
- ${CMAKE_CURRENT_BINARY_DIR}/qt4hello.tar.gz qt4hello.png
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
-
-
-tde_create_translated_desktop(
- SOURCE qt4hello.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates
- KEYWORDS Category
- PO_DIR tdevelop-desktops
-)
diff --git a/languages/cpp/app_templates/qt4hello/Makefile.am b/languages/cpp/app_templates/qt4hello/Makefile.am
deleted file mode 100644
index b285f781..00000000
--- a/languages/cpp/app_templates/qt4hello/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-dataFiles = main.cpp qt4hello.png qt4hello.kdevelop \
- qt4hello.pro src.pro ReadMe
-
-templateName = qt4hello
-
-### 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/qt4hello/ReadMe b/languages/cpp/app_templates/qt4hello/ReadMe
deleted file mode 100644
index 87d23f71..00000000
--- a/languages/cpp/app_templates/qt4hello/ReadMe
+++ /dev/null
@@ -1,11 +0,0 @@
-READ THIS IN ORDER TO COMPILE THE Qt4 TEMPLATE
-----------------------------------------------
-
-Before compiling, check the Qt Options, go to
-Project->Project Options->C++ Support and open the Qt Options tab.
-
-Check that the Qt installation directory is correct for the Qt version you've chosen.
-
-------------------
-Andreas Pakulat
-July 2006
diff --git a/languages/cpp/app_templates/qt4hello/main.cpp b/languages/cpp/app_templates/qt4hello/main.cpp
deleted file mode 100644
index 905f35fb..00000000
--- a/languages/cpp/app_templates/qt4hello/main.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-%{CPP_TEMPLATE}
-
-#include <TQCoreApplication>
-
-int main(int argc, char *argv[])
-{
- TQCoreApplication app(argc, argv);
- tqDebug("Hello from TQt 4!");
- return 0;
-}
-
diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.kdevelop b/languages/cpp/app_templates/qt4hello/qt4hello.kdevelop
deleted file mode 100644
index 74dee1ae..00000000
--- a/languages/cpp/app_templates/qt4hello/qt4hello.kdevelop
+++ /dev/null
@@ -1,113 +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>
- </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>
- <kdevcppsupport>
- <qt>
- <used>true</used>
- <version>4</version>
- <includestyle>4</includestyle>
- <designerintegration>ExternalDesigner</designerintegration>
- <qmake>%{QMAKE}</qmake>
- <designer>%{DESIGNER}</designer>
- </qt>
- </kdevcppsupport>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>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>qt-kdev3</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>stl</toc>
- <toc>sw</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>w3c-svg</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoredoxygen>
- <toc>TDE Libraries (Doxygen)</toc>
- </ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
- <general>
- <dbgshell/>
- <breakpoints/>
- <programargs></programargs>
- <gdbpath>/usr/bin/gdb</gdbpath>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- </display>
- <breakpoints/>
- </kdevdebugger>
- <kdevtrollproject>
- <run>
- <mainprogram>./bin/%{APPNAMELC}</mainprogram>
- <programargs/>
- </run>
- </kdevtrollproject>
- <workspace>
- <openfiles/>
- </workspace>
- <kdevfilecreate>
- <useglobaltypes>
- <type ext="ui" />
- <type ext="cpp" />
- <type ext="h" />
- <type ext="ts" />
- <type ext="qrc" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevdocumentation>
- <projectdoc>
- <docsystem>Doxygen Documentation Collection</docsystem>
- <docurl>%{APPNAMELC}.tag</docurl>
- </projectdoc>
- </kdevdocumentation>
-</kdevelop>
diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate b/languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate
deleted file mode 100644
index eb76b3fd..00000000
--- a/languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate
+++ /dev/null
@@ -1,59 +0,0 @@
-# TDE Config File
-[General]
-Name=Basic Qt4 Application
-
-Comment=Generate a very simple QMake/Qt4 based application (crossplatform compatible) - Needs Qt4
-
-Category=C++/QMake project
-
-Icon=qt4hello.png
-FileTemplates=h,CStyle,cpp,CStyle
-ShowFilesAfterGeneration=%{dest}/src/main.cpp,%{dest}/src/ReadMe
-Archive=qt4hello.tar.gz
-
-[FILE1]
-Type=install
-Source=%{src}/qt4hello.kdevelop
-Dest=%{dest}/%{APPNAMELC}.kdevelop
-
-[FILE2]
-Type=install
-Source=%{src}/qt4hello.pro
-Dest=%{dest}/%{APPNAMELC}.pro
-
-[MkDir1]
-Type=mkdir
-Dir=%{dest}/src
-
-[FILE3]
-Type=install
-Source=%{src}/src.pro
-Dest=%{dest}/src/src.pro
-
-[FILE4]
-Type=install
-Source=%{src}/main.cpp
-Dest=%{dest}/src/main.cpp
-
-[FILE5]
-Type=install
-Source=%{src}/ReadMe
-Dest=%{dest}/src/ReadMe
-
-[MSG]
-Type=message
-Comment=A Qt4/Qmake based application was created in %{dest}
-
-[QMAKE]
-Type=value
-ValueType=QString
-Value=QMAKE
-Comment=Absolute Path for QMake (Qt4).
-Default=
-
-[DESIGNER]
-Type=value
-ValueType=QString
-Value=DESIGNER
-Comment=Absolute Path for Designer (Qt4).
-Default=
diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.png b/languages/cpp/app_templates/qt4hello/qt4hello.png
deleted file mode 100644
index b7c952b4..00000000
--- a/languages/cpp/app_templates/qt4hello/qt4hello.png
+++ /dev/null
Binary files differ
diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.pro b/languages/cpp/app_templates/qt4hello/qt4hello.pro
deleted file mode 100644
index 7177d225..00000000
--- a/languages/cpp/app_templates/qt4hello/qt4hello.pro
+++ /dev/null
@@ -1,5 +0,0 @@
-SUBDIRS += src
-TEMPLATE = subdirs
-CONFIG += warn_on \
- qt \
- thread \ No newline at end of file
diff --git a/languages/cpp/app_templates/qt4hello/src.pro b/languages/cpp/app_templates/qt4hello/src.pro
deleted file mode 100644
index ae5bac37..00000000
--- a/languages/cpp/app_templates/qt4hello/src.pro
+++ /dev/null
@@ -1,8 +0,0 @@
-SOURCES += main.cpp
-TEMPLATE = app
-CONFIG += warn_on \
- thread \
- qt
-TARGET = %{APPNAMELC}
-DESTDIR = ../bin
-QT -= gui
diff --git a/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt b/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
deleted file mode 100644
index ac7a350d..00000000
--- a/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
+++ /dev/null
@@ -1,36 +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_content
- main.cpp qt4makeapp.cpp qt4makeapp.h qt4makeapp.png
- qt4makeapp.kdevelop qt4makeapp.pro src.pro application.qrc
- ReadMe filesave.xpm fileopen.xpm filenew.xpm editcopy.xpm
- editpaste.xpm editcut.xpm
-)
-list( SORT _tarball_content )
-
-tde_create_tarball(
- TARGET qt4makeapp.tar.gz
- FILES ${_tarball_content}
-)
-
-
-install( FILES
- ${CMAKE_CURRENT_BINARY_DIR}/qt4makeapp.tar.gz qt4makeapp.png
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
-
-
-tde_create_translated_desktop(
- SOURCE qt4makeapp.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates
- KEYWORDS Category
- PO_DIR tdevelop-desktops
-)
diff --git a/languages/cpp/app_templates/qt4makeapp/Makefile.am b/languages/cpp/app_templates/qt4makeapp/Makefile.am
deleted file mode 100644
index 62c4c120..00000000
--- a/languages/cpp/app_templates/qt4makeapp/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-dataFiles = main.cpp qt4makeapp.cpp qt4makeapp.h qt4makeapp.png qt4makeapp.kdevelop \
- qt4makeapp.pro src.pro application.qrc ReadMe filesave.xpm fileopen.xpm filenew.xpm \
- editcopy.xpm editpaste.xpm editcut.xpm
-
-templateName = qt4makeapp
-
-### 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/qt4makeapp/ReadMe b/languages/cpp/app_templates/qt4makeapp/ReadMe
deleted file mode 100644
index 87d23f71..00000000
--- a/languages/cpp/app_templates/qt4makeapp/ReadMe
+++ /dev/null
@@ -1,11 +0,0 @@
-READ THIS IN ORDER TO COMPILE THE Qt4 TEMPLATE
-----------------------------------------------
-
-Before compiling, check the Qt Options, go to
-Project->Project Options->C++ Support and open the Qt Options tab.
-
-Check that the Qt installation directory is correct for the Qt version you've chosen.
-
-------------------
-Andreas Pakulat
-July 2006
diff --git a/languages/cpp/app_templates/qt4makeapp/application.qrc b/languages/cpp/app_templates/qt4makeapp/application.qrc
deleted file mode 100644
index c35b0695..00000000
--- a/languages/cpp/app_templates/qt4makeapp/application.qrc
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE RCC><RCC version="1.0">
-<qresource>
- <file>editcopy.xpm</file>
- <file>editcut.xpm</file>
- <file>filenew.xpm</file>
- <file>fileopen.xpm</file>
- <file>editpaste.xpm</file>
- <file>filesave.xpm</file>
-</qresource>
-</RCC> \ No newline at end of file
diff --git a/languages/cpp/app_templates/qt4makeapp/editcopy.xpm b/languages/cpp/app_templates/qt4makeapp/editcopy.xpm
deleted file mode 100644
index 8350ed0e..00000000
--- a/languages/cpp/app_templates/qt4makeapp/editcopy.xpm
+++ /dev/null
@@ -1,193 +0,0 @@
-/* XPM */
-static char *editcopy[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 155 2",
-" c black",
-". c #191000",
-"X c #221700",
-"o c #2E2300",
-"O c #452E00",
-"+ c #433200",
-"@ c #493000",
-"# c #553800",
-"$ c #5D4600",
-"% c #6B5000",
-"& c #724B00",
-"* c #7D5E00",
-"= c #6E694F",
-"- c #7E795F",
-"; c #865900",
-": c #8A5C00",
-"> c #8B6800",
-", c #936200",
-"< c #926D00",
-"1 c #926B1A",
-"2 c #967000",
-"3 c #9B721D",
-"4 c #9B7625",
-"5 c #9E792A",
-"6 c #A47C00",
-"7 c #AA7D00",
-"8 c #A1761A",
-"9 c #A57816",
-"0 c #A4791D",
-"q c #AD8200",
-"w c #B28500",
-"e c #AE8530",
-"r c #B99626",
-"t c #97906D",
-"y c #B18D48",
-"u c #B49049",
-"i c #B89542",
-"p c #BA9C4D",
-"a c #BD9E52",
-"s c #BFA053",
-"d c #B8AE78",
-"f c #BEB47E",
-"g c #C49300",
-"h c #C89600",
-"j c #C19D2C",
-"k c #C1A43F",
-"l c #C09E4E",
-"z c #CFB457",
-"x c #C9B159",
-"c c #CAB573",
-"v c #D4BF7C",
-"b c #FFDF62",
-"n c #FFE064",
-"m c #FFE16D",
-"M c #FFE372",
-"N c #FFE479",
-"B c #A19D8E",
-"V c #ABA89A",
-"C c #BEB580",
-"Z c #BDB488",
-"A c #B8B496",
-"S c #AEADAA",
-"D c #B3AFA1",
-"F c #BCBBB6",
-"G c #BFBFB9",
-"H c #C0B680",
-"J c #C4BA85",
-"K c #C6BD8B",
-"L c #CBB589",
-"P c #C8BE88",
-"I c #C3BC90",
-"U c #CBC18C",
-"Y c #CCC493",
-"T c #D7CB8C",
-"R c #DAC786",
-"E c #D8C789",
-"W c #DAC98B",
-"Q c #D0C690",
-"! c #D4CA94",
-"~ c #D4CC9B",
-"^ c #D8CE98",
-"/ c #DCD29C",
-"( c #C6C3B7",
-") c #C8C6BE",
-"_ c #D5C5A5",
-"` c #DBC8A1",
-"' c #DBD4A2",
-"] c #DED9AE",
-"[ c #D9D5B1",
-"{ c #E0CC82",
-"} c #E8D98B",
-"| c #E8D991",
-" . c #E1D7A1",
-".. c #E5DBA5",
-"X. c #E4DCAB",
-"o. c #E8DDAA",
-"O. c #E1DCB2",
-"+. c #E1DCB8",
-"@. c #FFE683",
-"#. c #FFE78A",
-"$. c #FFE885",
-"%. c #FFE88D",
-"&. c #FFE992",
-"*. c #FFEC9D",
-"=. c #FFF09F",
-"-. c #ECE2AC",
-";. c #E5E0B6",
-":. c #E5E1B8",
-">. c #EBE4B6",
-",. c #EAE5BC",
-"<. c #F0E5A8",
-"1. c #FFEDA3",
-"2. c #FFEDA9",
-"3. c #F1E8B8",
-"4. c #FFEFB1",
-"5. c #FFF1A5",
-"6. c #FFF2AD",
-"7. c #FFF2B4",
-"8. c #FFF2BC",
-"9. c #CAC8C2",
-"0. c #D6D4CB",
-"q. c #DFDAC5",
-"w. c #D4D2D0",
-"e. c #E0D7C5",
-"r. c #E4DAC3",
-"t. c #E8DEC7",
-"y. c #E0DFD3",
-"u. c #E6E2C2",
-"i. c #E8E1C5",
-"p. c #EBE3CB",
-"a. c #EEE9C2",
-"s. c #E8E6DC",
-"d. c #F3EDC3",
-"f. c #F2EDCB",
-"g. c #F7F2CD",
-"h. c #FFF3C3",
-"j. c #FFF4CA",
-"k. c #FFF8C5",
-"l. c #FFF8CD",
-"z. c #FDF5D2",
-"x. c #FFF7D8",
-"c. c #FFF9D4",
-"v. c #FFF9DC",
-"b. c #E9E8E7",
-"n. c #F3EFE3",
-"m. c #F2F0E3",
-"M. c #F4F2EA",
-"N. c #FBF7E6",
-"B. c #FEF9E3",
-"V. c #FFFBEC",
-"C. c #F4F4F3",
-"Z. c #F8F7F6",
-"A. c #FEFCF4",
-"S. c #FEFEFC",
-"D. c None",
-/* pixels */
-"D.D.D.D.D.D.D.D.D.D.D.D.h g g g g g g g g g g w * D.D.D.D.D.",
-"D.D.D.D.D.D.D.D.D.D.D.D.g z.z.g.g.g.g.g.g.z.g.R 2 D.D.D.D.D.",
-"D.D.D.D.D.D.D.D.D.D.D.D.g z.d.3.3.3.3.3.3.>.f.g.z < D.D.D.D.",
-"D.D.D.D.D., : ; , : : : 7 a i a R -.-.-.-.' m.u.g.j > D.D.D.",
-"D.D.D.D., u y y L L L L ` t.t.e.e v -.-.-.Y b.S.+.d.q D.D.D.",
-"D.D.D.D., S.S.S.S.S.S.S.S.Z.b.S.e.i W o.o.K w.S.A.u.q D.D.D.",
-"D.D.D.D., S.S.S.A.S.S.S.S.M.w.S.S._ a E ..K 0.S.S.q.7 D.D.D.",
-"D.D.D.D., S.A.V.A.A.A.V.A.n.9.S.S.C._ a ..Y t = - A 6 D.D.D.",
-"D.D.D.D., A.A.V.A.V.V.V.A.n.9.S.S.S.Z.3 ' ' K Z A ] 7 D.D.D.",
-"D.D.D.D., A.V.B.V.V.B.V.V.n.( F S S G 5 ' | / / X.f.q D.D.D.",
-"D.D.D.D., A.V.x.B.x.V.B.N.B.e.D B V ) 3 / / ^ ^ ' a.q D.D.D.",
-"D.D.D.D., V.N.N.B.B.B.v.v.N.z.p.i.p.n.8 ^ / ! Q ' a.q D.D.D.",
-"D.D.D.D., B.B.x.v.x.z.j.j.x.z.z.c.B.B.0 ! ! ! ^ ' ,.q D.D.D.",
-"D.D.D.D., B.h.h.z.z.x.x.z.z.z.h.j.x.v.0 ! Q Y ! ~ ,.q D.D.D.",
-"D.D.D.D., v.c.k.x.h.j.j.j.z.8.h.k.j.v.0 U T U U ~ ,.q D.D.D.",
-"D.D.D.D., v.k.z.h.h.h.j.8.j.h.h.j.k.v.0 U U U U Y ;.q D.D.D.",
-"D.D.D.D., x.h.8.8.h.j.8.8.4.h.4.8.h.x.8 P H P P ~ ;.q D.D.D.",
-"D.D.D.D., v.h.4.4.8.8.4.1.z.h.8.4.h.c.8 H J H J Y ;.q D.D.D.",
-"D.D.D.D., c.2.z.j.4.*.1.1.8.2.2.*.2.l.8 J J H J U ] q D.D.D.",
-"D.D.D.D., l.h.2.4.4.1.%.1.&.2.4.8.7.k.8 f d f H U ] q D.D.D.",
-"D.D.D.D., z.8.#.1.4.1.*.1.1.1.*.N 4.l.8 f f C K ~ :.q D.D.D.",
-"D.D.D.D., 8.&.4.#.%.4.&.@.#.%.%.&.2.l.8 K K Y ~ ] ,.6 D.D.D.",
-"D.D.D.D., h.&.#.*.1.1.%.N N #.&.*.1.l.0 ' ] T x r 6 % D.D.D.",
-"D.D.D.D., 4.4.%.*.#.b &.N M b M 2.1.k.9 k 7 > $ o D.D.D.",
-"D.D.D.D., 7.&.N 5.&.N @.*.b N M N =.k., + D.D.D.",
-"D.D.D.D., 6.N N M M &.#.N 2.$.%.8.6.<.& D.D.D.D.D.",
-"D.D.D.D., 5.&.7.n $.m M 1.7.7.o.c 5 & @ D.D.D.D.D.D.D.D.D.",
-"D.D.D.D., 7.*.m %.=.&.7.} p 1 % # X D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D., 6.5.5.5.| a 1 & + . D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D., 6.-.a 1 & O . D.D.D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D.; : % O . D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D. D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D."
-};
diff --git a/languages/cpp/app_templates/qt4makeapp/editcut.xpm b/languages/cpp/app_templates/qt4makeapp/editcut.xpm
deleted file mode 100644
index 9a118931..00000000
--- a/languages/cpp/app_templates/qt4makeapp/editcut.xpm
+++ /dev/null
@@ -1,252 +0,0 @@
-/* XPM */
-static char *editcut[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 214 2",
-" c #000000",
-". c #0B0B0B",
-"X c #181300",
-"o c #1D190B",
-"O c #131313",
-"+ c #1B1B1B",
-"@ c #211E11",
-"# c #26231A",
-"$ c #2A2513",
-"% c #2E2912",
-"& c #2E2A19",
-"* c #372E0B",
-"= c #302A12",
-"- c #312C1B",
-"; c #3A320F",
-": c #3C3415",
-"> c #3C351B",
-", c #232323",
-"< c #2B2922",
-"1 c #2C2C2C",
-"2 c #302E26",
-"3 c #353120",
-"4 c #3F3B2D",
-"5 c #313131",
-"6 c #3A3A3A",
-"7 c #423814",
-"8 c #493E17",
-"9 c #413D2F",
-"0 c #423F32",
-"q c #4F4319",
-"w c #5C4A00",
-"e c #5F4F0D",
-"r c #514410",
-"t c #554813",
-"y c #4E472C",
-"u c #444136",
-"i c #4A483F",
-"p c #534B2B",
-"a c #504B37",
-"s c #514C3A",
-"d c #654F04",
-"f c #604F0B",
-"g c #665200",
-"h c #675509",
-"j c #6B5405",
-"k c #6C5807",
-"l c #6C590B",
-"z c #745B04",
-"x c #715D0A",
-"c c #7B5B02",
-"v c #625B3B",
-"b c #7E6815",
-"n c #6C643E",
-"m c #4D4B42",
-"M c #494949",
-"N c #504D43",
-"B c #54534C",
-"V c #515151",
-"C c #5D5B54",
-"Z c #656048",
-"A c #736A44",
-"S c #726C54",
-"D c #77725B",
-"F c #696968",
-"G c gray50",
-"H c #826203",
-"J c #806609",
-"K c #836907",
-"L c #8D6A03",
-"P c #9A6F00",
-"I c #9B7005",
-"U c #9E730E",
-"Y c #9C7511",
-"T c #85732C",
-"R c #88783B",
-"E c #AE7C00",
-"W c #A87B13",
-"Q c #847B53",
-"! c #827D64",
-"~ c #9C862E",
-"^ c #A98A1F",
-"/ c #B28D0A",
-"( c #B88D00",
-") c #B2821A",
-"_ c #B18E1B",
-"` c #B3941C",
-"' c #A88E2C",
-"] c #A28C36",
-"[ c #AE9224",
-"{ c #89815E",
-"} c #87826D",
-"| c #858174",
-" . c #888370",
-".. c #8E8A7D",
-"X. c #928C71",
-"o. c #A28E44",
-"O. c #AA9F74",
-"+. c #B9A456",
-"@. c #BDA85B",
-"#. c #B2A068",
-"$. c #C28700",
-"%. c #CC8E00",
-"&. c #C29A00",
-"*. c #C4962F",
-"=. c #CCA100",
-"-. c #D6A800",
-";. c #D1AC1B",
-":. c #DDB31A",
-">. c #D2A922",
-",. c #D4AE2B",
-"<. c #DBA12E",
-"1. c #DBA433",
-"2. c #DDB428",
-"3. c #D2B23B",
-"4. c #E6A200",
-"5. c #E8A509",
-"6. c #EAAF00",
-"7. c #EFAC1E",
-"8. c #F5A100",
-"9. c #FFAD02",
-"0. c #FCAF0D",
-"q. c #FCB005",
-"w. c #FFB60C",
-"e. c #FFBD00",
-"r. c #FFBD16",
-"t. c #E3B432",
-"y. c #E8BF3C",
-"u. c #F6BE2F",
-"i. c #C6A949",
-"p. c #D9A948",
-"a. c #D8AB52",
-"s. c #DBBA45",
-"d. c #C5B162",
-"f. c #ECB74D",
-"g. c #EFB841",
-"h. c #EFBE4A",
-"j. c #EABA55",
-"k. c #FDC006",
-"l. c #FFC10B",
-"z. c #FFC800",
-"x. c #FFC90D",
-"c. c #FAC113",
-"v. c #FBC11C",
-"b. c #FDC910",
-"n. c #EDC233",
-"m. c #F5C32D",
-"M. c #FFC728",
-"N. c #F4C537",
-"B. c #F6C63A",
-"V. c #F5CB36",
-"C. c #FFD73D",
-"Z. c #E9C659",
-"A. c #EAC85A",
-"S. c #FFDA4B",
-"D. c #FFDD5D",
-"F. c #E9CD6B",
-"G. c #FFD560",
-"H. c #FFE06C",
-"J. c gray56",
-"K. c #959595",
-"L. c gray62",
-"P. c #A6A18A",
-"I. c #A8A69E",
-"U. c #AEA895",
-"Y. c #B3AC8F",
-"T. c #B8AF8B",
-"R. c #B4AD96",
-"E. c #B8B199",
-"W. c #A4A4A4",
-"Q. c #AAAAAA",
-"!. c #B0ADA3",
-"~. c #BBB6A3",
-"^. c #B1B1B1",
-"/. c #B9B9B6",
-"(. c #BBBBBA",
-"). c #C5BC9D",
-"_. c #C2BCA2",
-"`. c #C1BEB5",
-"'. c #D2C38E",
-"]. c #DCC78C",
-"[. c #C7C0A7",
-"{. c #C7C2AE",
-"}. c #C7C3B2",
-"|. c #C5C2B8",
-" X c #CAC6B6",
-".X c #CBC9BE",
-"XX c #D9D3BB",
-"oX c #E6D08A",
-"OX c #E7DEBD",
-"+X c #ECDEB3",
-"@X c #FFF0B9",
-"#X c #C5C5C5",
-"$X c #CECCC7",
-"%X c #D0CEC5",
-"&X c #D0CFC8",
-"*X c #D2D1CB",
-"=X c #DBD6C5",
-"-X c #DBD7C9",
-";X c #D3D3D1",
-":X c #DBDBDB",
-">X c #E5E1D6",
-",X c #E5E3DA",
-"<X c #E8E5D9",
-"1X c #EDEADC",
-"2X c #FEF6DE",
-"3X c #E6E6E6",
-"4X c #E9E7E2",
-"5X c #E9E8E4",
-"6X c #EDECEA",
-"7X c #F2F1EB",
-"8X c #F1F1F1",
-"9X c #F8F7F4",
-"0X c #F9F8F8",
-"qX c None",
-/* pixels */
-"qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqXqX5 5 5 1 , qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 V /.&XQ.F 1 , qXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 _.D.S.H.@X&X6 . qXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 S.=.w g &.C...+ qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 -.' + o t z.d., qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqX5 C V.@.+ 3 :.3., qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqX5 '.b.F.6 , 1 s.,., qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqX1 b ( n.OXE.E.F.^ + qXqXqXqXqXqXqXqX5 5 1 , ",
-"qXqXqXqXqXqXqX l x K A.oXoXZ.i., qXqXqXqXqXqX5 V &X0X6X, ",
-"qXqXqXqXqXqXqX 8 ( c.v.k.N.1 qXqXqXqX5 V $X0X0X9XXX, ",
-"qXqXqXqXqXqXqXqX O t 6.e.e.k.S O 5 5 V $X8X8X8X1XD : O ",
-"qXqXqXqXqXqXqXqXqXqX 3 J e.G.7X#.+ . 5 C |.3X3X5X4X_.4 % ",
-"qXqXqXqXqXqXqXqXqXqX q ].0X0X+X, B }.:X:X:X:X=XS & o ",
-"qXqXqXqXqXqXqXqXqXqXqX + M 8X8X7XU.Q.#X*X*X*XR.< % qX",
-"qXqXqXqXqXqXqXqXqXqXqXqX, 1 X6XW.G Q.L.^.{.Z @ . qXqX",
-"qXqXqXqXqXqXqXqXqXqX5 5 m P.W.:X6 . 3X/.X., @ qXqXqXqX",
-"qXqXqXqXqXqXqX5 5 5 n +.R.W.J.K.W.^.:X:X1Xm + qXqXqXqXqX",
-"qXqXqXqXqX5 5 i o.y.v.q./ P.I.} | R.&X*X;X8X ., qXqXqXqXqXqX",
-"qXqX5 5 5 R 3.M.5.E L 7.4._ 0 + O + i ).#X#X5X~., O qXqXqXqX",
-"qX5 u ] m.r.%.H r : , t.0.P 7 $ , { `.(.;X-X, + qXqXqX",
-"5 u 2.w.$.k t o , ~ h.P l , u T.^.#X<XN , qXqX",
-"5 >.9.U r . . , T B.*.x qX + , Q !.Q.<XC , qX",
-"p q.1.> . + 1 [ m.p.k . qXqXqXqX , u O.W.;X! + ",
-"4 8.j.` p 5 y ;.u.a.d % qXqXqXqXqXqX O , A P._., ",
-"1 x <.f.m.x.b.y.a.g ; qXqXqXqXqXqXqXqX + 0 v O ",
-" - h c W W W W z : qXqXqXqXqXqXqXqXqXqX . . ",
-" * e l l f X qXqXqXqXqXqXqXqXqXqXqXqXqX ",
-"qX qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX qX",
-"qXqXqX qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX"
-};
diff --git a/languages/cpp/app_templates/qt4makeapp/editpaste.xpm b/languages/cpp/app_templates/qt4makeapp/editpaste.xpm
deleted file mode 100644
index c29ad36b..00000000
--- a/languages/cpp/app_templates/qt4makeapp/editpaste.xpm
+++ /dev/null
@@ -1,295 +0,0 @@
-/* XPM */
-static char *editpaste[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 257 2",
-" c black",
-". c #0D0900",
-"X c #191000",
-"o c #221700",
-"O c #2A1B00",
-"+ c #332200",
-"@ c #3E2900",
-"# c #3A2804",
-"$ c #4D3300",
-"% c #4B3E15",
-"& c #44391B",
-"* c #543800",
-"= c #5A3B00",
-"- c #4D4015",
-"; c #524E25",
-": c #5A4F2C",
-"> c #524E3D",
-", c #58562F",
-"< c #53503E",
-"1 c #5E623B",
-"2 c #634100",
-"3 c #684500",
-"4 c #6E4900",
-"5 c #614F11",
-"6 c #685416",
-"7 c #734C00",
-"8 c #784F00",
-"9 c #755B00",
-"0 c #7C5200",
-"q c #7C5A00",
-"w c #7B570F",
-"e c #69562F",
-"r c #786600",
-"t c #7F6A00",
-"y c #766300",
-"u c #60613F",
-"i c #7C6422",
-"p c #545143",
-"a c #54524B",
-"s c gray32",
-"d c #5D5D57",
-"f c #616641",
-"g c #67695D",
-"h c #6B734D",
-"j c #6C7553",
-"k c #616261",
-"l c #686A64",
-"z c #6B7162",
-"x c #727272",
-"c c #003DFF",
-"v c #0043FF",
-"b c #004BFF",
-"n c #0053FF",
-"m c #015AFF",
-"M c #0063FF",
-"N c #046DFF",
-"B c #0865FF",
-"V c #0378FF",
-"C c #1663FF",
-"Z c #1576FF",
-"A c #2678FF",
-"S c #6F7B84",
-"D c #77856D",
-"F c #7B8B75",
-"G c #0083FF",
-"H c #0197FF",
-"J c #0B92FF",
-"K c #1385FF",
-"L c #01A5FF",
-"P c #0DB5FF",
-"I c #3096FF",
-"U c #2DADFF",
-"Y c #2FBCFF",
-"T c #22C6FF",
-"R c #2AC5FF",
-"E c #30D0FF",
-"W c #38D5FF",
-"Q c #4493F1",
-"! c #5F83FF",
-"~ c #5F8AFF",
-"^ c #5290E4",
-"/ c #5F92FF",
-"( c #4CAAFE",
-") c #40B8FF",
-"_ c #779DCB",
-"` c #6693E2",
-"' c #6290FF",
-"] c #649DFF",
-"[ c #71A6E5",
-"{ c #79A4FF",
-"} c #7FB3FF",
-"| c #68B8F3",
-" . c #42DCFF",
-".. c #47E0FF",
-"X. c #58E9FF",
-"o. c #64C0EB",
-"O. c #6ADFEF",
-"+. c #825600",
-"@. c #845A00",
-"#. c #8B5C00",
-"$. c #905F00",
-"%. c #8C6103",
-"&. c #876807",
-"*. c #8A6111",
-"=. c #886E1B",
-"-. c #887600",
-";. c #8C7A00",
-":. c #936200",
-">. c #986800",
-",. c #926C22",
-"<. c #987A3F",
-"1. c #A07200",
-"2. c #A27511",
-"3. c #A97D15",
-"4. c #A77B14",
-"5. c #998712",
-"6. c #A68000",
-"7. c #A78F00",
-"8. c #AD8016",
-"9. c #AC9600",
-"0. c #BB8F00",
-"q. c #A99B2A",
-"w. c #B9A000",
-"e. c #B3A63C",
-"r. c #958D43",
-"t. c #988F44",
-"y. c #9A9346",
-"u. c #9F9948",
-"i. c #8B897C",
-"p. c #958F6F",
-"a. c #98937B",
-"s. c #A68443",
-"d. c #B08C41",
-"f. c #AF9462",
-"g. c #B39864",
-"h. c #B2A850",
-"j. c #BDB355",
-"k. c #C3972F",
-"l. c #C5A400",
-"z. c #CCAC00",
-"x. c #D7BB00",
-"c. c #CCA030",
-"v. c #CBB43E",
-"b. c #E4AD0C",
-"n. c #ECB600",
-"m. c #EDB900",
-"M. c #F2BB00",
-"N. c #C1B84C",
-"B. c #C1B757",
-"V. c #C5BB58",
-"C. c #C9BE5A",
-"Z. c #C2A978",
-"A. c #DFC000",
-"S. c #FDCB00",
-"D. c #F6C300",
-"F. c #FFD100",
-"G. c #FEDB00",
-"H. c #FFDF0E",
-"J. c #F5D500",
-"K. c #FBCD39",
-"L. c #FFE832",
-"P. c #FFE432",
-"I. c #CEC25C",
-"U. c #D7C648",
-"Y. c #DDC74B",
-"T. c #D0C55E",
-"R. c #D3C85F",
-"E. c #D5C960",
-"W. c #DDD264",
-"Q. c #E0CA4C",
-"!. c #E7D14E",
-"~. c #EFDA51",
-"^. c #F4D050",
-"/. c #F9D452",
-"(. c #FEDD53",
-"). c #E2D765",
-"_. c #E9DD69",
-"`. c #E6DD68",
-"'. c #FDDB6E",
-"]. c #FFEE4F",
-"[. c #FEE354",
-"{. c #FEEA55",
-"}. c #F7E153",
-"|. c #FFF056",
-" X c #ECE16A",
-".X c #F1E56D",
-"XX c #F7EA6F",
-"oX c #F7EB70",
-"OX c #F9EC70",
-"+X c #FEF372",
-"@X c #979486",
-"#X c gray60",
-"$X c #969596",
-"%X c #8AA193",
-"&X c #82A89B",
-"*X c #8CAEA3",
-"=X c #86A7A9",
-"-X c #8BA2B1",
-";X c #ACA580",
-":X c #A5A291",
-">X c #B3AF98",
-",X c #B8B7AF",
-"<X c #B3B2AB",
-"1X c #B1B1B1",
-"2X c #A6B8FF",
-"3X c #88DEE0",
-"4X c #8BF0FE",
-"5X c #A4CFC6",
-"6X c #BFD5FF",
-"7X c #BFDCFF",
-"8X c #C2AD82",
-"9X c #CBB489",
-"0X c #D2BF9B",
-"qX c #D1C19F",
-"wX c #C8C4AA",
-"eX c #CFCBB7",
-"rX c #D8C7A6",
-"tX c #D2C2A3",
-"yX c #D5CCB3",
-"uX c #DAD1A1",
-"iX c #DDD5BB",
-"pX c #D7D1B3",
-"aX c #ECE5BB",
-"sX c #F5EBB5",
-"dX c #F5ECBC",
-"fX c #F8EEB8",
-"gX c #FCF2BC",
-"hX c #CBCBCB",
-"jX c #D8D6C7",
-"kX c #DDDDDD",
-"lX c #E4DAC2",
-"zX c #ECE6C7",
-"xX c #EBE6D9",
-"cX c #E9E3D0",
-"vX c #F5EDC4",
-"bX c #F6EFC9",
-"nX c #F0EBD5",
-"mX c #F3EFDB",
-"MX c #FCF3C5",
-"NX c #FCF4CA",
-"BX c #F7F0CA",
-"VX c #F6F0D2",
-"CX c #F9F3D3",
-"ZX c #F9F4DC",
-"AX c #FFF8D4",
-"SX c #FFF9DB",
-"DX c #E7E7E4",
-"FX c #EBEBE9",
-"GX c #F1EDE1",
-"HX c #F9F6E5",
-"JX c #FDF9E4",
-"KX c #FEFBEB",
-"LX c #F6F2E6",
-"PX c #FEFCF3",
-"IX c #FEFDFD",
-"UX c #F4F4F3",
-"YX c None",
-/* pixels */
-"YXYXYXYXYXYX YXYXYXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYXYX:.:.+ IXIXIXIXIXIXIXIXFX# +.7 YXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYX>.k.c.6 FXkXkXkXDXkXkXkXx i b.>.+ YXYXYXYXYXYXYXYXYXYX",
-"YXYXYX:.'.K.=.hX1X1X1X1X1X1X1Xd &.0.%.* 7 #.#.:.$.#.2 YXYXYX",
-"YXYXYX:./.M.%.$Xk k d s s s e w >.2.d.s.Z.9XrXlXxX0X7 YXYXYX",
-"YXYXYX:.^.M.1.: % % - % 5 6 &.GXIXIXPXPXPXPXPXLXIXIXg.3 YXYX",
-"YXYX#X:.^.m.v.y.r.r.r.r.h.h.2.IXPXPXKXKXPXKXHXxXUXIXIXf.4 YX",
-"YXYX#X:.^.m.Y.I.B.j.j.j.V.I.4.PXKXJXKXJXKXKXmXjXFXIXIXUX+. YX",
-"YXYX#X:.^.m.Y.E.I.j.j.j.I.R.8.PXKXSXJXJXJXSXnXeXDXIXIXUX<. YX",
-"YXYXYX:./.M.!.W.R.I.T.R.E.W.8.UXJXJXSXSXSXSXnXeX:X@Xi.<X7 ",
-"YXYXYX:./.D.~._.`.W.W.W.W. X8.PXJXSXAXSXSXSXVXjX>X@X@X,X4 ",
-"YXYXYX:.(.S.}..X X X X X X X8.PXSXAXAXAXAXAXNXzXpXwXwXjX7 ",
-"YXYXYX:.(.S.[.OXOXOXoXoXt.; O s a p p p p a.AXMXvXaXzXGX+. ",
-"YXYXYX:.(.S.[.+X+X+XOX+X; 7X2X] / / ~ ! 2Xp MXNXNXNXSXKX+. YX",
-"YXYXYX:.(.F.|.+X+X+X+X+Xy., _ A m b v c ! p MXMXgXMXAXKX+. YX",
-"YXYXYX:.(.F.|.+X+X+X+X+X+Xj.& ^ B n b v ' < gXMXgXgXNXKX+. YX",
-"YXYXYX:.(.F.U.W.+X+X+X+X).y.g Q N m n b ~ < gXgXgXgXAXJXq YX",
-"YXYXYX:.[.l.j j y.I.j.r.1 =X( K N M m b ~ < gXgXgXgXNXKX+. YX",
-"YXYXYX:.[.t 5X4X&XD F =X| U J G V Z A C / < fXgXgXgXMXHX+. YX",
-"YXYXYX:.[.l.h 3XX...W T P L H K I [ S ` { < fXfXfXfXMXKX+. YX",
-"YXYXYX:.[.G.e.1 *XO...E R Y Y | -Xd Z.k 6X> fXfXfXfXBXJX+. YX",
-"YXYXYX:.[.G.{.`.u.1 F &X*X%Xz l a.uXfXp.> p.sXsXsXfXBXJX+. YX",
-"YXYXYX:.{.G.|.+X+X XN.q.5.7.q cXvXsXsXsXsXsXsXsXsXsXBXKX+. YX",
-"YXYXYX:.|.G.].|.L.H.G.G.G.A.1.JXvXsXsXsXsXsXsXsXfXdXCXPX+. YX",
-"YXYXYX:.{.G.G.G.G.G.x.w.;.t :.HXdXsXsXsXsXsXdXvXBXZXLXtX= YX",
-"YXYXYX:.{.G.J.x.9.;.r 9 q 0 #.KXvXsXaXsXvXBXCXHXiXg.*.= O YX",
-"YXYXYX:.L.9.-.y 9 q 0 = + #.HXbXdXbXVXZXcX8X,.3 $ . YX",
-"YXYXYX%.z.9 q 7 * o $.PXZXmXmX0Xs.0 $ X YX",
-"YXYXYX8 0 = o :.IXpXg.*.= O YXYXYXYX",
-"YXYXYX YXYX@.#.2 @ . YXYXYXYXYXYX",
-"YXYXYX YXYXYXYXYX YXYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYXYXYXYXYXYXYX"
-};
diff --git a/languages/cpp/app_templates/qt4makeapp/filenew.xpm b/languages/cpp/app_templates/qt4makeapp/filenew.xpm
deleted file mode 100644
index 85efceb2..00000000
--- a/languages/cpp/app_templates/qt4makeapp/filenew.xpm
+++ /dev/null
@@ -1,216 +0,0 @@
-/* XPM */
-static char *filenew[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 178 2",
-" c black",
-". c #191000",
-"X c #221700",
-"o c #452E00",
-"O c #4A3100",
-"+ c #4E3400",
-"@ c #553800",
-"# c #604000",
-"$ c #6A4600",
-"% c #6D4800",
-"& c #704A00",
-"* c #724C00",
-"= c #744C00",
-"- c #764E00",
-"; c #785000",
-": c #805500",
-"> c #815500",
-", c #835700",
-"< c #865900",
-"1 c #875A00",
-"2 c #8A5B00",
-"3 c #8A5C00",
-"4 c #8B5C00",
-"5 c #8C5D00",
-"6 c #8D5D00",
-"7 c #8F5E00",
-"8 c #805911",
-"9 c #905F00",
-"0 c #906000",
-"q c #926000",
-"w c #946200",
-"e c #956300",
-"r c #966400",
-"t c #976400",
-"y c #956913",
-"u c #926C22",
-"i c #9B7732",
-"p c #B18D48",
-"a c #B28E49",
-"s c #B4904A",
-"d c #BAA373",
-"f c #A1A195",
-"g c #ABAB9F",
-"h c #ADADAB",
-"j c #AFAFAB",
-"k c #B3B3A6",
-"l c #BCBCB8",
-"z c #BFBFBC",
-"x c #CBB489",
-"c c #CBB58A",
-"v c #CDB78B",
-"b c #CAB891",
-"n c #C9BB9E",
-"m c #CEBEA2",
-"M c #C6C6BC",
-"N c #D9C8A8",
-"B c #E8E1BA",
-"V c #E8E1BB",
-"C c #FEFFA1",
-"Z c #FFFFA0",
-"A c #FEFFA3",
-"S c #FEFFA4",
-"D c #FEFFA6",
-"F c #FEFFA8",
-"G c #FEFFA9",
-"H c #FFFFA8",
-"J c #FEFFAA",
-"K c #FEFFAB",
-"L c #FFFFAB",
-"P c #FEFFAC",
-"I c #FFFFAC",
-"U c #FEFFAE",
-"Y c #FEFFAF",
-"T c #FEFFB0",
-"R c #FEFFB1",
-"E c #FFFFB0",
-"W c #FEFFB4",
-"Q c #FEFFB5",
-"! c #FFFFB4",
-"~ c #FEFFB8",
-"^ c #FEFFB9",
-"/ c #FFFFB8",
-"( c #FFFFB9",
-") c #FEFFBB",
-"_ c #FFFFBA",
-"` c #FEFFBD",
-"' c #FFFFBD",
-"] c #FEFFBE",
-"[ c #FFFFBE",
-"{ c #C8C8C1",
-"} c #CACAC4",
-"| c #CBCBC6",
-" . c #DBD2C1",
-".. c #DEDFCF",
-"X. c #D4D4D1",
-"o. c #E1D5C1",
-"O. c #E3D9C3",
-"+. c #E5DCCC",
-"@. c #E8E8D3",
-"#. c #ECECD7",
-"$. c #F0EBDA",
-"%. c #FEFFC2",
-"&. c #FEFFC3",
-"*. c #FFFFC2",
-"=. c #FEFFC7",
-"-. c #FFFFC7",
-";. c #FEFFCB",
-":. c #FEFFCC",
-">. c #FFFFCC",
-",. c #FEFFCE",
-"<. c #FEFFD0",
-"1. c #FEFFD1",
-"2. c #FFFFD0",
-"3. c #FFFFD1",
-"4. c #FFFFD3",
-"5. c #FEFFD5",
-"6. c #FFFFD5",
-"7. c #FEFFD6",
-"8. c #FEFFD7",
-"9. c #FFFFD6",
-"0. c #FFFFD8",
-"q. c #FEFFDA",
-"w. c #FFFFDA",
-"e. c #FFFFDB",
-"r. c #FFFFDC",
-"t. c #FEFFDE",
-"y. c #FEFFDF",
-"u. c #FFFFDE",
-"i. c #FFFFDF",
-"p. c #E9E9E7",
-"a. c #F3F3E9",
-"s. c #F3F3EB",
-"d. c #F5F5E8",
-"f. c #F8F8E3",
-"g. c #FEFFE0",
-"h. c LightYellow",
-"j. c #FFFFE1",
-"k. c #FEFFE3",
-"l. c #FFFFE3",
-"z. c #FDFEE7",
-"x. c #FEFFE4",
-"c. c #FEFFE5",
-"v. c #FFFFE4",
-"b. c #FBFBE9",
-"n. c #FEFFE8",
-"m. c #FFFFE8",
-"M. c #FFFFE9",
-"N. c #FFFFEA",
-"B. c #FEFFEC",
-"V. c #FEFFED",
-"C. c #FFFFEC",
-"Z. c #FFFFED",
-"A. c #FEFFEF",
-"S. c #F4F4F0",
-"D. c #F4F4F3",
-"F. c #F5F5F4",
-"G. c #F8F8F6",
-"H. c ivory",
-"J. c #FFFFF1",
-"K. c #FEFFF3",
-"L. c #FFFFF3",
-"P. c #FEFFF4",
-"I. c #FFFFF4",
-"U. c #FEFFF7",
-"Y. c #FFFFF6",
-"T. c #FFFFF7",
-"R. c #FBFBFB",
-"E. c #FFFFF8",
-"W. c #FFFFF9",
-"Q. c #FFFFFA",
-"!. c #FFFFFB",
-"~. c gray99",
-"^. c #FEFFFD",
-"/. c #FFFFFC",
-"(. c #FFFFFD",
-"). c #FFFFFE",
-"_. c gray100",
-"`. c None",
-/* pixels */
-"`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.`.w 2 1 w 4 4 4 6 w 9 6 - `.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.r s p p c c c c N O.+.o.y # `.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.r ).).).).).).).).F.p.). .& o `.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w ).E.).E.).E.E.E.S.X.).R.n $ + `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w E.Y.Y.E.Y.E.E.E.a.| ).).D.m % `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w E.Y.Y.J.Y.J.Y.Y.a.| ).).).D.> `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w Y.J.J.J.J.J.J.J.a.M l h h { ; `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w Y.B.B.B.N.N.B.B.b...k f h } ; `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w J.N.N.N.N.N.N.N.l.f.#.@.#.a.> `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w J.l.l.l.l.l.l.l.l.l.l.l.l.J.> `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w J.r.l.l.r.l.r.l.r.l.r.l.r.J.1 `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w B.r.r.q.q.q.q.q.q.r.q.q.r.B.> `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w N.5.5.5.5.q.5.5.5.5.5.5.5.B., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w N.<.<.<.<.<.<.<.5.<.<.<.<.N., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w l.,.;.;.;.,.;.,.;.,.;.;.;.l., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w l.-.-.-.-.-.-.;.-.-.-.-.;.l.> `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w l.-.%.%.%.%.%.%.%.%.%.%.%.l., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w r.' ' ' ' ' ) ' ' ' ' ' ' r., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w r.) ) W ) ) ) ) ) ) W ) ) q., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w q.W W W W W W W W W W W W q., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w 5.Y Y W Y Y Y Y Y Y Y Y Y 5., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w 5.J J J Y J Y Y J Y J J Y q., `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w 5.J J D J J D J D J W ) ,.$.- `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w <.Z D D Z D J Y ' ,.B b i - O `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w <.Z Z Z Y ) <.B d u & @ X `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w ,.J ) ,.B d y & o . `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w Y.V d u & o . `.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.1 4 & o . `.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`. `.`.`.`.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`. `.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`."
-};
diff --git a/languages/cpp/app_templates/qt4makeapp/fileopen.xpm b/languages/cpp/app_templates/qt4makeapp/fileopen.xpm
deleted file mode 100644
index a6c33b62..00000000
--- a/languages/cpp/app_templates/qt4makeapp/fileopen.xpm
+++ /dev/null
@@ -1,295 +0,0 @@
-/* XPM */
-static char *fileopen[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 257 2",
-" c black",
-". c #0B0900",
-"X c #130E00",
-"o c #161100",
-"O c #231A00",
-"+ c #352600",
-"@ c #3B311C",
-"# c #433100",
-"$ c #4F3B00",
-"% c #4A3E16",
-"& c #4A3D22",
-"* c #4D421A",
-"= c #54420D",
-"- c #4E4529",
-"; c #484338",
-": c #484233",
-"> c #5B4B24",
-", c #624500",
-"< c #674D00",
-"1 c #6D4D00",
-"2 c #6E4F17",
-"3 c #6D5200",
-"4 c #775500",
-"5 c #745B0F",
-"6 c #795200",
-"7 c #7A5A00",
-"8 c #715C18",
-"9 c #764B0A",
-"0 c #6C5423",
-"q c #6D592E",
-"w c #785E27",
-"e c #735626",
-"r c #665736",
-"t c #7A631D",
-"y c #7A672E",
-"u c #776535",
-"i c #5C5956",
-"p c #78704F",
-"a c #75726E",
-"s c #8D4F00",
-"d c #815700",
-"f c #835A00",
-"g c #8A5C00",
-"h c #866400",
-"j c #966100",
-"k c #956F00",
-"l c #9C6100",
-"z c #9D7500",
-"x c #856B2A",
-"c c #8C752A",
-"v c #8C723B",
-"b c #977939",
-"n c #A45D00",
-"m c #A26100",
-"M c #AA680D",
-"N c #AB6700",
-"B c #A07700",
-"V c #A57B00",
-"C c #AB7A00",
-"Z c #AA7300",
-"A c #AF721A",
-"S c #B87E00",
-"D c #B57B00",
-"F c #B0731A",
-"G c #B47C26",
-"H c #B77E28",
-"J c #897F59",
-"K c #977C40",
-"L c #927F58",
-"P c #807A6C",
-"I c #9C821D",
-"U c #9F8A35",
-"Y c #AC8000",
-"T c #B28500",
-"R c #B68800",
-"E c #BB8B00",
-"W c #A78337",
-"Q c #A28B31",
-"! c #AF9535",
-"~ c #B58E3A",
-"^ c #B88633",
-"/ c #B49936",
-"( c #BCA039",
-") c #998445",
-"_ c #978657",
-"` c #8B8264",
-"' c #8E8572",
-"] c #978864",
-"[ c #978C75",
-"{ c #9F9072",
-"} c #A38845",
-"| c #A48952",
-" . c #AA965C",
-".. c #A89156",
-"X. c #B5934D",
-"o. c #B39D45",
-"O. c #B49755",
-"+. c #AB984A",
-"@. c #AD9A65",
-"#. c #A79778",
-"$. c #A59874",
-"%. c #A29B7A",
-"&. c #A79775",
-"*. c #BDA959",
-"=. c #B3A46C",
-"-. c #B1A07F",
-";. c #B5A97A",
-":. c #BEB37B",
-">. c #C49200",
-",. c #C89500",
-"<. c #CC9800",
-"1. c #C69812",
-"2. c #D2A31C",
-"3. c #C2A63E",
-"4. c #D7AE37",
-"5. c #C29840",
-"6. c #C29B4E",
-"7. c #C2A641",
-"8. c #C6AA43",
-"9. c #C8AC45",
-"0. c #CBAF49",
-"q. c #CAA746",
-"w. c #C4A158",
-"e. c #CAA65D",
-"r. c #CEA857",
-"t. c #CFA95A",
-"y. c #C5AC50",
-"u. c #CDB14B",
-"i. c #CBB358",
-"p. c #CAB152",
-"a. c #D2AB59",
-"s. c #D1B54D",
-"d. c #D4B951",
-"f. c #D6BC5B",
-"g. c #DDB45E",
-"h. c #D9BD56",
-"j. c #D2B753",
-"k. c #DAAB48",
-"l. c #CEAE69",
-"z. c #CCAD67",
-"x. c #CCB662",
-"c. c #CAB26B",
-"v. c #C8B66B",
-"b. c #CEB775",
-"n. c #CEBE7F",
-"m. c #D3AD66",
-"M. c #D5BE64",
-"N. c #D4BF6D",
-"B. c #E4B34B",
-"V. c #E0B75F",
-"C. c #E1B85F",
-"Z. c #E4BA61",
-"A. c #E9BE63",
-"S. c #DDC159",
-"D. c #DAC269",
-"F. c #D4C176",
-"G. c #D8C67F",
-"H. c #E1C55D",
-"J. c #EFC05D",
-"K. c #F1C15E",
-"L. c #E0C264",
-"P. c #E5C961",
-"I. c #EDC164",
-"U. c #E9CD65",
-"Y. c #EFD36B",
-"T. c #F2C564",
-"R. c #F6C868",
-"E. c #F8C760",
-"W. c #FBCC6A",
-"Q. c #FDCB63",
-"!. c #F1D56D",
-"~. c #FFD06C",
-"^. c #F5D972",
-"/. c #FED175",
-"(. c #FADE77",
-"). c #E4C87A",
-"_. c #FEE27C",
-"`. c #8F9192",
-"'. c #9A9A96",
-"]. c #A79F83",
-"[. c #ADA583",
-"{. c #A7A399",
-"}. c #BBAC86",
-"|. c #BDB088",
-" X c #BBB298",
-".X c #A7A8A6",
-"XX c #ADAEB0",
-"oX c #B5B6B4",
-"OX c #BABCBC",
-"+X c #C6B38E",
-"@X c #D3BE80",
-"#X c #D0BC95",
-"$X c #C6BFA6",
-"%X c #C5C29D",
-"&X c #D2C283",
-"*X c #DAC789",
-"=X c #DBCA8B",
-"-X c #D5C489",
-";X c #DBCD94",
-":X c #D6C699",
-">X c #CFC8B1",
-",X c #C8C6B7",
-"<X c #D1C9A6",
-"1X c #DBD3BA",
-"2X c #E1C981",
-"3X c #E0CD91",
-"4X c #ECD686",
-"5X c #EBD69E",
-"6X c #FED682",
-"7X c #FED88B",
-"8X c #FEDC95",
-"9X c #E3CEA3",
-"0X c #EED9A9",
-"qX c #E7DCB9",
-"wX c #F4DDAF",
-"eX c #FFE68A",
-"rX c #FFE893",
-"tX c #FFEA9F",
-"yX c #FFE2A5",
-"uX c #FFE3AC",
-"iX c #FFECA7",
-"pX c #FFEDAE",
-"aX c #F1E0B6",
-"sX c #FDE5B4",
-"dX c #FFEEB4",
-"fX c #F8E5BB",
-"gX c #FFF0BC",
-"hX c #C5C7C8",
-"jX c #C7C8CA",
-"kX c #CCCECF",
-"lX c #CCCAC0",
-"zX c #CDCED0",
-"xX c #D1D1CF",
-"cX c #D1D3D4",
-"vX c #D6D8DA",
-"bX c #DADCDE",
-"nX c #DCDEE0",
-"mX c #DEE0E2",
-"MX c #E7DEC2",
-"NX c #EBE1C5",
-"BX c #F4E9C3",
-"VX c #F7EACE",
-"CX c #FEEAC3",
-"ZX c #FAEBCA",
-"AX c #FFF1C1",
-"SX c #FFF3CC",
-"DX c #FFF6DA",
-"FX c #E1E3E5",
-"GX c #E4E6E8",
-"HX c #E7E9EA",
-"JX c #E8E6E0",
-"KX c #E9EAEC",
-"LX c #ECEEF0",
-"PX c #EEF0F2",
-"IX c #F8F4E8",
-"UX c #F1F3F5",
-"YX c None",
-/* pixels */
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX V E <.,.T YXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX< E 2.aXCXVXE 3 E <.E YXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX R ,.5XCX8XQ.wX<.1.$.OX<. YXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYX R >.L.ZXyXT.K.E.wX ..XKXKXR YXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYX V E 4.ZXsXW.K.I.Z.O.{.KXUXUXMXk YXYX",
-"YXYXYXYXYXYX R E 7 YX< E 2.aXsX6XC.T.Z.w.[ xXUXUXUXUX2X3 YXYX",
-"YXYXYXYX R >.).5X,.T ,.5XCX8XK.T.A.a.] OXUXUXUXUXUXUX2.O YXYX",
-"YXYX Y E Z.ZXsX7XsX0XCXyXR.K.I.V._ .XUXUXUXUXUXLXKXJXV D N S 7 ",
-" z E 4.fXsX/.K.~./.6X~.I.I.C...'.KXUXPXPXPXLXKXGXbXl.N m.SXm.D ",
-" E 0XgX7XE.W.W.~.~.R.I.Z.w.' bXUXUXUXPXPXLXmXbX$X) ~ aXSXpXBXn ",
-" <.CXT.Q.~.W.W.R.I.A.t._ hXUXUXUXUXPXLXGXnX,X .t XAXSXeX4Xl.Z ",
-" <.sXB.W.W.W.T.A.g._ oXUXUXUXUXUXLXLXmXcX=.5 $.BXgXeX!.D.3Xm + ",
-" <.sXB.R.R.A.V.| {.KXUXUXUXUXLXKXGXvX|.c u qXdXgX^.U.f.3XH f ",
-" <.sXB.T.Z.m.[ nXUXUXUXUXPXKXHXbX,X) e <XdXiX_.S.u.P.F.t.h ",
-" <.sXk.Z.r.K jXUXUXUXPXLXKXmXcX@.5 %.DXiX_.Y.S.d.h.D.*Xl X ",
-" <.wXq.r.X.r UXUXPXPXKXmXvX|.y _ NXdXrX!.S.d.h.d.f.=XF 4 YX",
-" ,.0X5.X.) a PXPXKXGXnX>X) y >XAXAX_.S.h.h.u.s.d.F.6.g YX",
-" >.9X~ } u '.LXKXmXxX .5 [.IXAX_.!.S.h.h.d.8.s.D.n.j YXYX",
-" >.:XW v & kXmXvX;.t ] BXAXrX!.U.u.S.9.u.3.7.i.;XM 1 YXYXYX",
-" E #Xb u : nXcX_ u 1XSXgX^.U.H.S.d.8.s.d.u.b.-XG g YXYXYXYX",
-" R +Xc r a zX[.= -XdX_.U.d.P.h.d.u.3.8.N.=Xw.l 1 YXYXYXYX",
-" T }.x > `.oX> %.*.S.S.h.S.7.d.h.0.p.n.c.M d . YXYXYXYXYX",
-" C ].w @ XXu p *.( h.S.s.u.u.u.p.N.*X^ g + YXYXYXYXYXYX",
-" Z &.e ; ` * :.o.S.S.S.u.( 9.x.&XX.j , YXYXYXYXYXYX",
-" B { 0 i % [.o.u.S.d.h.9.M.&Xz.M 6 YXYXYXYXYXYXYXYX",
-" z { 0 - J *./ S.9.d.i.G.&XF g O YXYXYXYXYXYXYXYXYXYX",
-" z $.2 w =.! s.d.p.N.;X^ l , YXYXYXYXYXYXYXYXYXYXYX",
-" B &.9 ;.Q / j.x.@Xl.m 6 YXYXYXYXYXYXYXYXYXYXYXYXYX",
-" h W @.+.I y.&Xb.F 7 O YXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-" $ s %XU F.=X^ j # YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-" g O.<Xe.l 1 YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-" o f n d . YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX"
-};
diff --git a/languages/cpp/app_templates/qt4makeapp/filesave.xpm b/languages/cpp/app_templates/qt4makeapp/filesave.xpm
deleted file mode 100644
index 86ea7d63..00000000
--- a/languages/cpp/app_templates/qt4makeapp/filesave.xpm
+++ /dev/null
@@ -1,295 +0,0 @@
-/* XPM */
-static char *filesave[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 257 2",
-" c #000000",
-". c #06060A",
-"X c #09090D",
-"o c #0B0B16",
-"O c #101022",
-"+ c #1E1E28",
-"@ c #181829",
-"# c #151F3A",
-"$ c #1A263F",
-"% c #1D2A3F",
-"& c #272730",
-"* c #2E2E3F",
-"= c #212140",
-"- c #212E41",
-"; c #2F2F41",
-": c #292A4A",
-"> c #23224B",
-", c #262353",
-"< c #292655",
-"1 c #2B2C54",
-"2 c #2C2C5B",
-"3 c #293746",
-"4 c #2D304F",
-"5 c #243243",
-"6 c #2E315D",
-"7 c #363647",
-"8 c #303E4A",
-"9 c #30325E",
-"0 c #3C3C53",
-"q c #2E2E60",
-"w c #2F3160",
-"e c #302E63",
-"r c #313164",
-"t c #363861",
-"y c #353868",
-"u c #384650",
-"i c #284F6B",
-"p c #2D547B",
-"a c #3B486A",
-"s c #36597D",
-"d c #3D5D7C",
-"f c #4C4C4C",
-"g c #40405A",
-"h c #414E56",
-"j c #4B585E",
-"k c #49545E",
-"l c #555555",
-"z c #4D4D6B",
-"x c #434675",
-"c c #4B5660",
-"v c #4F5962",
-"b c #41517E",
-"n c #4B507D",
-"m c #515C67",
-"M c #505D6E",
-"N c #5C5D7D",
-"B c #546066",
-"V c #54626D",
-"C c #5B646D",
-"Z c #55677A",
-"A c #556B78",
-"S c #5D6772",
-"D c #6B6B6B",
-"F c #646464",
-"G c #616C73",
-"H c #63707D",
-"J c #6B7679",
-"K c gray45",
-"L c #00418E",
-"P c #004494",
-"I c #004894",
-"U c #044F98",
-"Y c #03509B",
-"T c #0A5198",
-"R c #13579C",
-"E c #185DA1",
-"W c #285888",
-"Q c #2B6094",
-"! c #396D9A",
-"~ c #336A96",
-"^ c #3D719B",
-"/ c #226EB8",
-"( c #326EA8",
-") c #326BA3",
-"_ c #3673AE",
-"` c #3A76B4",
-"' c #0B6FD1",
-"] c #0F75D8",
-"[ c #1479DA",
-"{ c #1B7CDC",
-"} c #466481",
-"| c #42749C",
-" . c #4A799E",
-".. c #506A84",
-"X. c #5F678D",
-"o. c #576391",
-"O. c #5A6592",
-"+. c #5F6893",
-"@. c #5B738B",
-"#. c #507DA1",
-"$. c #626283",
-"%. c #636A94",
-"&. c #656F98",
-"*. c #657A8F",
-"=. c #6B7299",
-"-. c #717191",
-";. c #797998",
-":. c #687BA6",
-">. c #2281DC",
-",. c #3F81C0",
-"<. c #3988D7",
-"1. c #2785E1",
-"2. c #2E8AE3",
-"3. c #368FE5",
-"4. c #3690E6",
-"5. c #3D93E7",
-"6. c #3D94E9",
-"7. c #57839E",
-"8. c #4787BC",
-"9. c #5480A1",
-"0. c #5B84A3",
-"q. c #6E8496",
-"w. c #6E8B9A",
-"e. c #7D848E",
-"r. c #728597",
-"t. c #738598",
-"y. c #768899",
-"u. c #7B8B9B",
-"i. c #6489A5",
-"p. c #698EA7",
-"a. c #6D8FA9",
-"s. c #6E81AB",
-"d. c #7683A6",
-"f. c #768CB7",
-"g. c #7395AD",
-"h. c #7C96B0",
-"j. c #4086CA",
-"k. c #4986C3",
-"l. c #4284C3",
-"z. c #498ED2",
-"x. c #4D95DB",
-"c. c #548DC5",
-"v. c #5D92C8",
-"b. c #5593C9",
-"n. c #5097DE",
-"m. c #5198DE",
-"M. c #4296E7",
-"N. c #4895E2",
-"B. c #4B99E5",
-"V. c #4A9CEB",
-"C. c #4599EB",
-"Z. c #529DE6",
-"A. c #589EE2",
-"S. c #54A1EB",
-"D. c #5AA1E6",
-"F. c #5AA5EB",
-"G. c #5EA8EF",
-"H. c #53A3F1",
-"J. c #5EAAF2",
-"K. c #6699CB",
-"L. c #799BC8",
-"P. c #7EA6C9",
-"I. c #60A2E5",
-"U. c #65A7E8",
-"Y. c #6BABE9",
-"T. c #68ADF2",
-"R. c #67B0F5",
-"E. c #6DB3F6",
-"W. c #70ADEA",
-"Q. c #75B0E9",
-"!. c #7CB5EB",
-"~. c #73B9F8",
-"^. c #7BBDFB",
-"/. c #7CBAF6",
-"(. c gray55",
-"). c #828899",
-"_. c #84949E",
-"`. c #918E8A",
-"'. c #949494",
-"]. c #8F8FA9",
-"[. c #8997A5",
-"{. c #8A9AA9",
-"}. c #9A9BAF",
-"|. c #9399A9",
-" X c #9FAAB5",
-".X c #A29E9B",
-"XX c #A7A7A7",
-"oX c #ABABAB",
-"OX c #A3A3B4",
-"+X c #A8A8B7",
-"@X c #A3ABB3",
-"#X c #B4B5B5",
-"$X c #B0B0BC",
-"%X c #B7B9BC",
-"&X c #BBB7B3",
-"*X c #BBBBBB",
-"=X c #82B1DB",
-"-X c #81B7EC",
-";X c #88BBED",
-":X c #86BAED",
-">X c #AEBBC8",
-",X c #A6BDCD",
-"<X c #BBBCC3",
-"1X c #81C1F6",
-"2X c #83C2FA",
-"3X c #89C4FA",
-"4X c #8CC8FC",
-"5X c #95C2EF",
-"6X c #93CBFD",
-"7X c #9BCFFF",
-"8X c #97D0FC",
-"9X c #9CD3FE",
-"0X c #BEC0C1",
-"qX c #A3C7E7",
-"wX c #A2CAF1",
-"eX c #A1D4FF",
-"rX c #A3D8FF",
-"tX c #AADBFF",
-"yX c #B0D1F2",
-"uX c #BDD9F4",
-"iX c #AAE0FF",
-"pX c #B3E1FF",
-"aX c #B9E6FF",
-"sX c #BEE9FF",
-"dX c #C4C4C4",
-"fX c #C6C5CD",
-"gX c #C6C8CB",
-"hX c #CAC7C4",
-"jX c #CAC8C6",
-"kX c #CBCCCB",
-"lX c #D1D0CE",
-"zX c #D3D3D3",
-"xX c #D4D7D9",
-"cX c #D8D8D7",
-"vX c #DBDBDB",
-"bX c #C4ECFF",
-"nX c #C9E0F6",
-"mX c #C4F5FF",
-"MX c #CCF2FF",
-"NX c #D5E6F7",
-"BX c #DDEBF9",
-"VX c #DCFDFF",
-"CX c #D3F1F5",
-"ZX c #E1E0DE",
-"AX c #E4E3E3",
-"SX c #E4E7EA",
-"DX c #E7E8E9",
-"FX c #E8E6E4",
-"GX c #EDE9E5",
-"HX c #EBEBEB",
-"JX c #E7EEF5",
-"KX c #EAF2FA",
-"LX c #F1EEEA",
-"PX c #F3F3F3",
-"IX c #F4F8FC",
-"UX c #FDFDFC",
-"YX c None",
-/* pixels */
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXy y e 6 6 2 < < , , 1 YXYX",
-"YXYXYX2 < , , q w 2 e r r r w e w r e 2 6 1 6 s :.f.L.y YXYX",
-"YXYXYXx d.s.:.a # $ $ % - 5 3 8 u h k B S J ).,XF.b.7.r YXYX",
-"YXYXYX&.mX~.8.V #X#X%XdXfXzXxXvXZXZXDXFXFXDXLXDX>.U i 9 YXYX",
-"YXYXYXo.2X] L C UXDXcXzXkXkXkXjXjXdXdX%X%X&X%X*XN.' ~ 6 YXYX",
-"YXYXYXo.1X] P k hXoXXXXXoXoX#X#X*X%X&X%X%XdXkXxXx.[ ~ 6 YXYX",
-"YXYXYXO.3X[ I m FXkXjXjXkXkXkXkXkXkXzXzXzXcXZXSXx.{ ! 6 YXYX",
-"YXYXYXo.3X{ I S UXvXxXzXkXkXkXkXkXjXdX*X%X#X&X%XZ.1.^ 9 YXYX",
-"YXYXYXO.4X>.U j jX#X#X#X%XdXdXkXzXkXzXzXcXvXDXJXA.1.| 6 YXYX",
-"YXYXYXO.6X>.T V PXZXZXZXAXSXDXDXFXHXDXHXHXHXHXSXI.2.| 9 YXYX",
-"YXYXYXO.6X2.T G UXLXDXDXAXZXZXAXZXvXcXzXkXkXkXgXY.3. .6 YXYX",
-"YXYXYXO.9X4.R m zXdXdXkXzXvXAXDXHXLXPXPXIXUXUXUXQ.6. .9 YXYX",
-"YXYXYXO.9X5.R H UXIXUXUXUXUXUXUXUXUXUXUXIXKXJXBX-XC.#.9 YXYX",
-"YXYXYXO.eXM./ h.UXUXIXKXBXNXnXuXyXwX5X:X!.Y.Y.Y.D.H.9.6 YXYX",
-"YXYXYX+.rXB.<.x.Q.;X-XQ.Y.U.U.D.Z.Z.B.B.C.V.V.B.B.T.0.9 YXYX",
-"YXYXYX+.tXB.N.B.B.B.B.C.V.V.H.H.H.D.N.z.8._ ( <.D.R.0.9 YXYX",
-"YXYXYX+.tXS.Z.F.D.m.z.l.` ) Q W p s } @.r.[. X>XG.E.0.9 YXYX",
-"YXYXYX+.pXU.m.) p d ..*.u.|.+X<XzXZXGXLXGXZXzXjX/.~.p.r YXYX",
-"YXYXYX%.aXT.k.*.GXlX&X.X`..XhXlXzXvXvXvXvXxXkXgX2X^.a.w YXYX",
-"YXYXYX%.aXE.k.r.LXoXl f l F *XlXzXvXvXvXvXcXzXgX4X:Xa.w YXYX",
-"YXYXYX%.bX~.c.y.LX'.f D K D 0XkXzXvXvXvXvXvXzXfX6X4Xg.9 YXYX",
-"YXYXYX%.bX^.c.y.LX'.l D K D 0XlXzXcXvXvXvXxXkXkX9X6Xw.r YXYX",
-"YXYXYX%.bX2Xv.u.LX'.l K K K 0XlXzXcXvXvXvXvXkXfX9XP.M = YXYX",
-"YXYXYX%.bX2XK.u.LX'.l K K D 0XlXxXcXvXZXvXxXzXkXqXZ : . YXYX",
-"YXYXYX%.MX6XK.u.LX'.f F D D 0XkXzXcXvXvXvXvXcXkX_.: o YXYX",
-"YXYXYX%.MX6XK.u.LXXX(.XX&XdXkXzXvXZXDXAXzX<X+X}.N O YXYX",
-"YXYXYX%.VXiX=X{.FXzXkXkXjXdX<X$XOX].;.$.z 0 7 & X YXYXYX",
-"YXYXYX=.CXq.A ).fX+X|.).-.N z 0 * + o YXYXYXYX",
-"YXYXYXn $.t 6 , 4 0 * + . YXYXYXYXYXYX",
-"YXYXYX> @ o YXYXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYX YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYX YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX"
-};
diff --git a/languages/cpp/app_templates/qt4makeapp/main.cpp b/languages/cpp/app_templates/qt4makeapp/main.cpp
deleted file mode 100644
index 55f24795..00000000
--- a/languages/cpp/app_templates/qt4makeapp/main.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-%{CPP_TEMPLATE}
-
-#include <TQApplication>
-#include "%{APPNAMELC}.h"
-
-int main(int argc, char *argv[])
-{
- TQ_INIT_RESOURCE(application);
- TQApplication app(argc, argv);
- %{APPNAME} * mw = new %{APPNAME}();
- mw->show();
- return app.exec();
-}
-
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp b/languages/cpp/app_templates/qt4makeapp/qt4makeapp
deleted file mode 100644
index 2d69a161..00000000
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp
+++ /dev/null
@@ -1,11 +0,0 @@
-# QMake application
-[General]
-Name=Qt4/QMake Application
-
-Comment=Generate a QMake/Qt4 based application (crossplatform compatible)- Needs Qt4
-
-Category=C++/QMake project
-
-Icon=qt4makeapp.png
-FileTemplates=h,CStyle,cpp,CStyle
-ShowFilesAfterGeneration=src/APPNAMELC.cpp
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
deleted file mode 100644
index c3a8964f..00000000
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
+++ /dev/null
@@ -1,285 +0,0 @@
-%{CPP_TEMPLATE}
-
-#include <TQtGui>
-#include "%{APPNAMELC}.h"
-
-#include <TQTextEdit>
-#include <TQTextStream>
-#include <TQCloseEvent>
-#include <TQFileDialog>
-
-%{APPNAME}::%{APPNAME}()
-{
- textEdit = new TQTextEdit;
- setCentralWidget(textEdit);
-
- createActions();
- createMenus();
- createToolBars();
- createStatusBar();
-
- readSettings();
-
- connect(textEdit->document(), TQT_SIGNAL(contentsChanged()),
- this, TQT_SLOT(documentWasModified()));
-
- setCurrentFile("");
-}
-
-void %{APPNAME}::closeEvent(TQCloseEvent *event)
-{
- if (maybeSave()) {
- writeSettings();
- event->accept();
- } else {
- event->ignore();
- }
-}
-
-void %{APPNAME}::newFile()
-{
- if (maybeSave()) {
- textEdit->clear();
- setCurrentFile("");
- }
-}
-
-void %{APPNAME}::open()
-{
- if (maybeSave()) {
- TQString fileName = TQFileDialog::getOpenFileName(this);
- if (!fileName.isEmpty())
- loadFile(fileName);
- }
-}
-
-bool %{APPNAME}::save()
-{
- if (curFile.isEmpty()) {
- return saveAs();
- } else {
- return saveFile(curFile);
- }
-}
-
-bool %{APPNAME}::saveAs()
-{
- TQString fileName = TQFileDialog::getSaveFileName(this);
- if (fileName.isEmpty())
- return false;
-
- return saveFile(fileName);
-}
-
-void %{APPNAME}::about()
-{
- TQMessageBox::about(this, tr("About Application"),
- tr("The <b>Application</b> example demonstrates how to "
- "write modern GUI applications using TQt, with a menu bar, "
- "toolbars, and a status bar."));
-}
-
-void %{APPNAME}::documentWasModified()
-{
- setWindowModified(true);
-}
-
-void %{APPNAME}::createActions()
-{
- newAct = new TQAction(TQIcon(":/filenew.xpm"), tr("&New"), this);
- newAct->setShortcut(tr("Ctrl+N"));
- newAct->setStatusTip(tr("Create a new file"));
- connect(newAct, TQT_SIGNAL(triggered()), this, TQT_SLOT(newFile()));
-
- openAct = new TQAction(TQIcon(":/fileopen.xpm"), tr("&Open..."), this);
- openAct->setShortcut(tr("Ctrl+O"));
- openAct->setStatusTip(tr("Open an existing file"));
- connect(openAct, TQT_SIGNAL(triggered()), this, TQT_SLOT(open()));
-
- saveAct = new TQAction(TQIcon(":/filesave.xpm"), tr("&Save"), this);
- saveAct->setShortcut(tr("Ctrl+S"));
- saveAct->setStatusTip(tr("Save the document to disk"));
- connect(saveAct, TQT_SIGNAL(triggered()), this, TQT_SLOT(save()));
-
- saveAsAct = new TQAction(tr("Save &As..."), this);
- saveAsAct->setStatusTip(tr("Save the document under a new name"));
- connect(saveAsAct, TQT_SIGNAL(triggered()), this, TQT_SLOT(saveAs()));
-
- exitAct = new TQAction(tr("E&xit"), this);
- exitAct->setShortcut(tr("Ctrl+Q"));
- exitAct->setStatusTip(tr("Exit the application"));
- connect(exitAct, TQT_SIGNAL(triggered()), this, TQT_SLOT(close()));
-
- cutAct = new TQAction(TQIcon(":/editcut.xpm"), tr("Cu&t"), this);
- cutAct->setShortcut(tr("Ctrl+X"));
- cutAct->setStatusTip(tr("Cut the current selection's contents to the "
- "clipboard"));
- connect(cutAct, TQT_SIGNAL(triggered()), textEdit, TQT_SLOT(cut()));
-
- copyAct = new TQAction(TQIcon(":/editcopy.xpm"), tr("&Copy"), this);
- copyAct->setShortcut(tr("Ctrl+C"));
- copyAct->setStatusTip(tr("Copy the current selection's contents to the "
- "clipboard"));
- connect(copyAct, TQT_SIGNAL(triggered()), textEdit, TQT_SLOT(copy()));
-
- pasteAct = new TQAction(TQIcon(":/editpaste.xpm"), tr("&Paste"), this);
- pasteAct->setShortcut(tr("Ctrl+V"));
- pasteAct->setStatusTip(tr("Paste the clipboard's contents into the current "
- "selection"));
- connect(pasteAct, TQT_SIGNAL(triggered()), textEdit, TQT_SLOT(paste()));
-
- aboutAct = new TQAction(tr("&About"), this);
- aboutAct->setStatusTip(tr("Show the application's About box"));
- connect(aboutAct, TQT_SIGNAL(triggered()), this, TQT_SLOT(about()));
-
- aboutTQtAct = new TQAction(tr("About &TQt"), this);
- aboutTQtAct->setStatusTip(tr("Show the TQt library's About box"));
- connect(aboutTQtAct, TQT_SIGNAL(triggered()), tqApp, TQT_SLOT(aboutTQt()));
-
- cutAct->setEnabled(false);
- copyAct->setEnabled(false);
- connect(textEdit, TQT_SIGNAL(copyAvailable(bool)),
- cutAct, TQT_SLOT(setEnabled(bool)));
- connect(textEdit, TQT_SIGNAL(copyAvailable(bool)),
- copyAct, TQT_SLOT(setEnabled(bool)));
-}
-
-void %{APPNAME}::createMenus()
-{
- fileMenu = menuBar()->addMenu(tr("&File"));
- fileMenu->addAction(newAct);
- fileMenu->addAction(openAct);
- fileMenu->addAction(saveAct);
- fileMenu->addAction(saveAsAct);
- fileMenu->addSeparator();
- fileMenu->addAction(exitAct);
-
- editMenu = menuBar()->addMenu(tr("&Edit"));
- editMenu->addAction(cutAct);
- editMenu->addAction(copyAct);
- editMenu->addAction(pasteAct);
-
- menuBar()->addSeparator();
-
- helpMenu = menuBar()->addMenu(tr("&Help"));
- helpMenu->addAction(aboutAct);
- helpMenu->addAction(aboutTQtAct);
-}
-
-void %{APPNAME}::createToolBars()
-{
- fileToolBar = addToolBar(tr("File"));
- fileToolBar->addAction(newAct);
- fileToolBar->addAction(openAct);
- fileToolBar->addAction(saveAct);
-
- editToolBar = addToolBar(tr("Edit"));
- editToolBar->addAction(cutAct);
- editToolBar->addAction(copyAct);
- editToolBar->addAction(pasteAct);
-}
-
-void %{APPNAME}::createStatusBar()
-{
- statusBar()->showMessage(tr("Ready"));
-}
-
-void %{APPNAME}::readSettings()
-{
- TQSettings settings("Trolltech", "Application Example");
- TQPoint pos = settings.value("pos", TQPoint(200, 200)).toPoint();
- TQSize size = settings.value("size", TQSize(400, 400)).toSize();
- resize(size);
- move(pos);
-}
-
-void %{APPNAME}::writeSettings()
-{
- TQSettings settings("Trolltech", "Application Example");
- settings.setValue("pos", pos());
- settings.setValue("size", size());
-}
-
-bool %{APPNAME}::maybeSave()
-{
- if (textEdit->document()->isModified()) {
- int ret = TQMessageBox::warning(this, tr("Application"),
- tr("The document has been modified.\n"
- "Do you want to save your changes?"),
- TQMessageBox::Yes | TQMessageBox::Default,
- TQMessageBox::No,
- TQMessageBox::Cancel | TQMessageBox::Escape);
- if (ret == TQMessageBox::Yes)
- return save();
- else if (ret == TQMessageBox::Cancel)
- return false;
- }
- return true;
-}
-
-void %{APPNAME}::loadFile(const TQString &fileName)
-{
- TQFile file(fileName);
- if (!file.open(TQFile::ReadOnly | TQFile::Text)) {
- TQMessageBox::warning(this, tr("Application"),
- tr("Cannot read file %1:\n%2.")
- .arg(fileName)
- .arg(file.errorString()));
- return;
- }
-
- TQTextStream in(&file);
- TQApplication::setOverrideCursor(TQt::WaitCursor);
- textEdit->setPlainText(in.readAll());
- TQApplication::restoreOverrideCursor();
-
- setCurrentFile(fileName);
- statusBar()->showMessage(tr("File loaded"), 2000);
-}
-
-bool %{APPNAME}::saveFile(const TQString &fileName)
-{
- TQFile file(fileName);
- if (!file.open(TQFile::WriteOnly | TQFile::Text)) {
- TQMessageBox::warning(this, tr("Application"),
- tr("Cannot write file %1:\n%2.")
- .arg(fileName)
- .arg(file.errorString()));
- return false;
- }
-
- TQTextStream out(&file);
- TQApplication::setOverrideCursor(TQt::WaitCursor);
- out << textEdit->toPlainText();
- TQApplication::restoreOverrideCursor();
-
- setCurrentFile(fileName);
- statusBar()->showMessage(tr("File saved"), 2000);
- return true;
-}
-
-void %{APPNAME}::setCurrentFile(const TQString &fileName)
-{
- curFile = fileName;
- textEdit->document()->setModified(false);
- setWindowModified(false);
-
- TQString shownName;
- if (curFile.isEmpty())
- shownName = "untitled.txt";
- else
- shownName = strippedName(curFile);
-
- setWindowTitle(tr("%1[*] - %2").arg(shownName).arg(tr("Application")));
-}
-
-TQString %{APPNAME}::strippedName(const TQString &fullFileName)
-{
- return TQFileInfo(fullFileName).fileName();
-}
-
-%{APPNAME}::~%{APPNAME}()
-{
-
-}
-
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
deleted file mode 100644
index 99a979cf..00000000
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
+++ /dev/null
@@ -1,66 +0,0 @@
-%{H_TEMPLATE}
-
-#ifndef %{APPNAMEUC}_H
-#define %{APPNAMEUC}_H
-
-#include <TQMainWindow>
-#include <TQCloseEvent>
-
-class TQAction;
-class TQMenu;
-class TQTextEdit;
-
-class %{APPNAME}:public TQMainWindow
-{
- Q_OBJECT
-
-
-public:
- %{APPNAME}();
- ~%{APPNAME}();
-
-protected:
- void closeEvent(TQCloseEvent *event);
-
-private slots:
- void newFile();
- void open();
- bool save();
- bool saveAs();
- void about();
- void documentWasModified();
-
-private:
- void createActions();
- void createMenus();
- void createToolBars();
- void createStatusBar();
- void readSettings();
- void writeSettings();
- bool maybeSave();
- void loadFile(const TQString &fileName);
- bool saveFile(const TQString &fileName);
- void setCurrentFile(const TQString &fileName);
- TQString strippedName(const TQString &fullFileName);
-
- TQTextEdit *textEdit;
- TQString curFile;
-
- TQMenu *fileMenu;
- TQMenu *editMenu;
- TQMenu *helpMenu;
- TQToolBar *fileToolBar;
- TQToolBar *editToolBar;
- TQAction *newAct;
- TQAction *openAct;
- TQAction *saveAct;
- TQAction *saveAsAct;
- TQAction *exitAct;
- TQAction *cutAct;
- TQAction *copyAct;
- TQAction *pasteAct;
- TQAction *aboutAct;
- TQAction *aboutTQtAct;
-};
-
-#endif
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevelop b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevelop
deleted file mode 100644
index 74dee1ae..00000000
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevelop
+++ /dev/null
@@ -1,113 +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>
- </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>
- <kdevcppsupport>
- <qt>
- <used>true</used>
- <version>4</version>
- <includestyle>4</includestyle>
- <designerintegration>ExternalDesigner</designerintegration>
- <qmake>%{QMAKE}</qmake>
- <designer>%{DESIGNER}</designer>
- </qt>
- </kdevcppsupport>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>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>qt-kdev3</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>stl</toc>
- <toc>sw</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>w3c-svg</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoredoxygen>
- <toc>TDE Libraries (Doxygen)</toc>
- </ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
- <general>
- <dbgshell/>
- <breakpoints/>
- <programargs></programargs>
- <gdbpath>/usr/bin/gdb</gdbpath>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- </display>
- <breakpoints/>
- </kdevdebugger>
- <kdevtrollproject>
- <run>
- <mainprogram>./bin/%{APPNAMELC}</mainprogram>
- <programargs/>
- </run>
- </kdevtrollproject>
- <workspace>
- <openfiles/>
- </workspace>
- <kdevfilecreate>
- <useglobaltypes>
- <type ext="ui" />
- <type ext="cpp" />
- <type ext="h" />
- <type ext="ts" />
- <type ext="qrc" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevdocumentation>
- <projectdoc>
- <docsystem>Doxygen Documentation Collection</docsystem>
- <docurl>%{APPNAMELC}.tag</docurl>
- </projectdoc>
- </kdevdocumentation>
-</kdevelop>
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate
deleted file mode 100644
index c1c0fb90..00000000
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate
+++ /dev/null
@@ -1,104 +0,0 @@
-# TDE Config File
-[General]
-Name=Qt4 Application
-
-Comment=Generate a QMake/Qt4 based application (crossplatform compatible) - Needs Qt4
-
-Category=C++/QMake project
-
-Icon=qt4makeapp.png
-FileTemplates=h,CStyle,cpp,CStyle
-ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp,%{dest}/src/ReadMe
-Archive=qt4makeapp.tar.gz
-
-[FILE1]
-Type=install
-Source=%{src}/qt4makeapp.kdevelop
-Dest=%{dest}/%{APPNAMELC}.kdevelop
-
-[FILE2]
-Type=install
-Source=%{src}/qt4makeapp.pro
-Dest=%{dest}/%{APPNAMELC}.pro
-
-[MkDir1]
-Type=mkdir
-Dir=%{dest}/src
-
-[FILE3]
-Type=install
-Source=%{src}/src.pro
-Dest=%{dest}/src/src.pro
-
-[FILE4]
-Type=install
-Source=%{src}/main.cpp
-Dest=%{dest}/src/main.cpp
-
-[FILE5]
-Type=install
-Source=%{src}/qt4makeapp.cpp
-Dest=%{dest}/src/%{APPNAMELC}.cpp
-
-[FILE6]
-Type=install
-Source=%{src}/qt4makeapp.h
-Dest=%{dest}/src/%{APPNAMELC}.h
-
-[FILE7]
-Type=install
-Source=%{src}/fileopen.xpm
-Dest=%{dest}/src/fileopen.xpm
-
-[FILE8]
-Type=install
-Source=%{src}/filesave.xpm
-Dest=%{dest}/src/filesave.xpm
-
-[FILE9]
-Type=install
-Source=%{src}/filenew.xpm
-Dest=%{dest}/src/filenew.xpm
-
-[FILE10]
-Type=install
-Source=%{src}/editcopy.xpm
-Dest=%{dest}/src/editcopy.xpm
-
-[FILE11]
-Type=install
-Source=%{src}/editpaste.xpm
-Dest=%{dest}/src/editpaste.xpm
-
-[FILE12]
-Type=install
-Source=%{src}/editcut.xpm
-Dest=%{dest}/src/editcut.xpm
-
-[FILE13]
-Type=install
-Source=%{src}/application.qrc
-Dest=%{dest}/src/application.qrc
-
-[FILE14]
-Type=install
-Source=%{src}/ReadMe
-Dest=%{dest}/src/ReadMe
-
-[MSG]
-Type=message
-Comment=A Qt4/Qmake based application was created in %{dest}
-
-[QMAKE]
-Type=value
-ValueType=QString
-Value=QMAKE
-Comment=Absolute Path for QMake (Qt4).
-Default=
-
-[DESIGNER]
-Type=value
-ValueType=QString
-Value=DESIGNER
-Comment=Absolute Path for Designer (Qt4).
-Default=
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.png b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.png
deleted file mode 100644
index d874d54e..00000000
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.png
+++ /dev/null
Binary files differ
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.pro b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.pro
deleted file mode 100644
index 7177d225..00000000
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.pro
+++ /dev/null
@@ -1,5 +0,0 @@
-SUBDIRS += src
-TEMPLATE = subdirs
-CONFIG += warn_on \
- qt \
- thread \ No newline at end of file
diff --git a/languages/cpp/app_templates/qt4makeapp/src.pro b/languages/cpp/app_templates/qt4makeapp/src.pro
deleted file mode 100644
index fa8baae6..00000000
--- a/languages/cpp/app_templates/qt4makeapp/src.pro
+++ /dev/null
@@ -1,10 +0,0 @@
-SOURCES += %{APPNAMELC}.cpp \
- main.cpp
-HEADERS += %{APPNAMELC}.h
-TEMPLATE = app
-CONFIG += warn_on \
- thread \
- qt
-TARGET = %{APPNAMELC}
-DESTDIR = ../bin
-RESOURCES = application.qrc
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
diff --git a/languages/cpp/ccconfigwidget.cpp b/languages/cpp/ccconfigwidget.cpp
index 569db783..9067d1e9 100644
--- a/languages/cpp/ccconfigwidget.cpp
+++ b/languages/cpp/ccconfigwidget.cpp
@@ -401,39 +401,15 @@ void CCConfigWidget::initTQtTab()
c->init();
m_qtUsed->setChecked( c->isUsed() );
- if( c->version() == 4 )
- {
- m_versionQt4->setChecked( true );
- m_kdevembedded->setEnabled( false );
- m_kdevexternal->setEnabled( false );
- m_qtStyleVersion4->setEnabled( true );
- m_designerPath->setEnabled( true );
- m_qmakePath->setEnabled( true );
- m_qtDir->setEnabled( false );
- m_txtQtDir->setEnabled( false );
- m_txtDesigner->setEnabled( true );
- pluginPaths->setEnabled( true );
- }
- else
- {
- m_versionQt3->setChecked( true );
- m_kdevembedded->setEnabled( true );
- m_kdevexternal->setEnabled( true );
- m_qtStyleVersion4->setEnabled( false );
- m_designerPath->setEnabled( true );
- m_qmakePath->setEnabled( true );
- m_qtDir->setEnabled( true );
- m_txtQtDir->setEnabled( true );
- m_txtDesigner->setEnabled( true );
- pluginPaths->setEnabled( false );
- }
- if( c->includeStyle() == 4 )
- {
- m_qtStyleVersion4->setChecked( true );
- }else
- {
- m_qtStyleVersion3->setChecked( true );
- }
+ m_versionQt3->setChecked( true );
+ m_kdevembedded->setEnabled( true );
+ m_kdevexternal->setEnabled( true );
+ m_designerPath->setEnabled( true );
+ m_qmakePath->setEnabled( true );
+ m_qtDir->setEnabled( true );
+ m_txtQtDir->setEnabled( true );
+ m_txtDesigner->setEnabled( true );
+ m_qtStyleVersion3->setChecked( true );
m_qtDir->setURL( c->root() );
isValidTQtDir(m_qtDir->url());
m_qmakePath->setURL( c->qmakePath() );
@@ -487,21 +463,8 @@ void CCConfigWidget::saveTQtTab()
QtBuildConfig* c = m_pPart->qtBuildConfig();
c->setUsed( m_qtUsed->isChecked() );
- if( m_versionQt4->isChecked() )
- {
- c->setVersion( 4 );
- }
- else
- {
- c->setVersion( 3 );
- }
- if( m_qtStyleVersion4->isChecked() )
- {
- c->setIncludeStyle( 4 );
- }else
- {
- c->setIncludeStyle( 3 );
- }
+ c->setVersion( 3 );
+ c->setIncludeStyle( 3 );
c->setRoot( m_qtDir->url() );
c->setTQMakePath( m_qmakePath->url() );
c->setDesignerPath( m_designerPath->url() );
@@ -524,32 +487,16 @@ void CCConfigWidget::isValidTQtDir( const TQString &dir )
TQFileInfo inc( dir + TQString( TQChar( TQDir::separator() ) )+
"include"+TQString( TQChar( TQDir::separator() ) )+
"tqt.h" );
- if ( !m_versionQt4->isChecked() && !inc.exists() )
- {
- m_qtDir->lineEdit()->setPaletteForegroundColor(TQColor("#ff0000"));
- }else
- {
- m_qtDir->lineEdit()->unsetPalette();
- }
+ m_qtDir->lineEdit()->unsetPalette();
}
void CCConfigWidget::toggleTQtVersion( bool )
{
if ( m_versionQt3->isChecked() )
{
- m_qtStyleVersion4->setEnabled( false );
m_qtStyleVersion3->setChecked( true );
m_kdevembedded->setEnabled( true );
m_kdevexternal->setEnabled( true );
- pluginPaths->setEnabled( false );
- }
- if ( m_versionQt4->isChecked() )
- {
- m_qtStyleVersion4->setEnabled( true );
- m_tqtdesigner->setChecked( true );
- m_kdevembedded->setEnabled( false );
- m_kdevexternal->setEnabled( false );
- pluginPaths->setEnabled( true );
}
isValidTQtDir( m_qtDir->url() );
isTQMakeExecutable( m_qmakePath->url() );
@@ -571,7 +518,7 @@ void CCConfigWidget::openPluginPaths()
btns->addWidget(ok);
btns->addWidget(cancel);
- d.setCaption( i18n( "Edit TQt4 Designer Plugin Paths" ) );
+ d.setCaption( i18n( "Edit TQt Designer Plugin Paths" ) );
KURLRequester * req = new KURLRequester( &d );
req->setMode( KFile::Directory );
KEditListBox* p = new KEditListBox( i18n( "Plugin Paths" ), req->customEditor(), &d );
diff --git a/languages/cpp/ccconfigwidgetbase.ui b/languages/cpp/ccconfigwidgetbase.ui
index 060cf300..398e785b 100644
--- a/languages/cpp/ccconfigwidgetbase.ui
+++ b/languages/cpp/ccconfigwidgetbase.ui
@@ -925,20 +925,6 @@ This option only applies to QMake projects.</string>
<string>Select this if your project is using Qt version 3.x.&lt;br&gt;When this is changed the project needs to be closed and re-opened.</string>
</property>
</widget>
- <widget class="TQRadioButton">
- <property name="name">
- <cstring>m_versionQt4</cstring>
- </property>
- <property name="text">
- <string>Qt 4</string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Use Qt version 4 (When this is changed the project needs to be closed and re-opened.)</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select this if your project is using Qt version 4.x.&lt;br&gt;When this is changed the project needs to be closed and re-opened.</string>
- </property>
- </widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5</cstring>
@@ -985,7 +971,7 @@ This option only applies to QMake projects.</string>
<string>Qt3 Directory:</string>
</property>
<property name="toolTip" stdset="0">
- <string>This setting is only needed for Qt3 programs, for Qt4 just make sure the QMake Binary is set properly</string>
+ <string>This setting is only needed for Qt3 programs</string>
</property>
</widget>
<widget class="KURLRequester">
@@ -1063,17 +1049,6 @@ This option only applies to QMake projects.</string>
<string>Select this if your project is using include style as known from Qt version 3.x.</string>
</property>
</widget>
- <widget class="TQRadioButton">
- <property name="name">
- <cstring>m_qtStyleVersion4</cstring>
- </property>
- <property name="text">
- <string>Qt &amp;4 style (#include &lt;QWidget&gt;)</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Select this if your project is using include style as known from Qt version 4.x.</string>
- </property>
- </widget>
</vbox>
</widget>
<widget class="TQButtonGroup">
@@ -1167,35 +1142,6 @@ This option only applies to QMake projects.</string>
</widget>
</hbox>
</widget>
- <widget class="TQLayoutWidget">
- <property name="name">
- <cstring>layout10</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="TQLabel">
- <property name="name">
- <cstring>textLabel1_4</cstring>
- </property>
- <property name="text">
- <string>Extra Plugin Paths for Qt4 Designer:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>m_designerPrefix</cstring>
- </property>
- </widget>
- <widget class="KPushButton">
- <property name="name">
- <cstring>pluginPaths</cstring>
- </property>
- <property name="text">
- <string>Change Plugin Paths</string>
- </property>
- </widget>
- </hbox>
- </widget>
</vbox>
</widget>
<spacer>
@@ -1616,12 +1562,6 @@ you right click on a variable in a header file.</string>
<slot>toggleQtVersion(bool)</slot>
</connection>
<connection>
- <sender>m_versionQt4</sender>
- <signal>toggled(bool)</signal>
- <receiver>CCConfigWidgetBase</receiver>
- <slot>toggleQtVersion(bool)</slot>
- </connection>
- <connection>
<sender>m_tqtdesigner</sender>
<signal>toggled(bool)</signal>
<receiver>m_txtDesigner</receiver>
@@ -1658,18 +1598,6 @@ you right click on a variable in a header file.</string>
<slot>setDisabled(bool)</slot>
</connection>
<connection>
- <sender>m_versionQt4</sender>
- <signal>toggled(bool)</signal>
- <receiver>m_qtDir</receiver>
- <slot>setDisabled(bool)</slot>
- </connection>
- <connection>
- <sender>m_versionQt4</sender>
- <signal>toggled(bool)</signal>
- <receiver>m_txtQtDir</receiver>
- <slot>setDisabled(bool)</slot>
- </connection>
- <connection>
<sender>m_versionQt3</sender>
<signal>toggled(bool)</signal>
<receiver>m_txtQtDir</receiver>
@@ -1717,24 +1645,6 @@ you right click on a variable in a header file.</string>
<receiver>CCConfigWidgetBase</receiver>
<slot>isDesignerExecutable(const TQString&amp;)</slot>
</connection>
- <connection>
- <sender>m_versionQt4</sender>
- <signal>toggled(bool)</signal>
- <receiver>textLabel1_4</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
- <connection>
- <sender>pluginPaths</sender>
- <signal>clicked()</signal>
- <receiver>CCConfigWidgetBase</receiver>
- <slot>openPluginPaths()</slot>
- </connection>
- <connection>
- <sender>m_versionQt4</sender>
- <signal>toggled(bool)</signal>
- <receiver>pluginPaths</receiver>
- <slot>setEnabled(bool)</slot>
- </connection>
</connections>
<tabstops>
<tabstop>cpp_options</tabstop>
diff --git a/languages/cpp/pcsimporter/CMakeLists.txt b/languages/cpp/pcsimporter/CMakeLists.txt
index 2f904a5d..f734da91 100644
--- a/languages/cpp/pcsimporter/CMakeLists.txt
+++ b/languages/cpp/pcsimporter/CMakeLists.txt
@@ -12,4 +12,3 @@
add_subdirectory( qtimporter )
add_subdirectory( tdelibsimporter )
add_subdirectory( customimporter )
-add_subdirectory( qt4importer )
diff --git a/languages/cpp/pcsimporter/Makefile.am b/languages/cpp/pcsimporter/Makefile.am
index 31533b36..9a7e1bb4 100644
--- a/languages/cpp/pcsimporter/Makefile.am
+++ b/languages/cpp/pcsimporter/Makefile.am
@@ -1,3 +1,3 @@
INCLUDES =
METASOURCES = AUTO
-SUBDIRS = qtimporter tdelibsimporter customimporter qt4importer
+SUBDIRS = qtimporter tdelibsimporter customimporter
diff --git a/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt b/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt
deleted file mode 100644
index 509a4f16..00000000
--- a/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt
+++ /dev/null
@@ -1,42 +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
-#
-#################################################
-
-include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/languages/lib/interfaces
- ${CMAKE_SOURCE_DIR}/lib/interfaces
- ${TDE_INCLUDE_DIR}
- ${TQT_INCLUDE_DIRS}
-)
-
-link_directories(
- ${TQT_LIBRARY_DIRS}
-)
-
-
-##### other data ################################
-
-tde_create_translated_desktop(
- SOURCE kdevqt4importer.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR tdevelop-desktops
-)
-
-
-##### libkdevqt4importer (module) ###############
-
-tde_add_kpart( libkdevqt4importer AUTOMOC
- SOURCES
- kdevqt4importer.cpp settingsdialogbase.ui
- settingsdialog.cpp
- LINK lang_interfaces-shared tdevelop-shared
- DESTINATION ${PLUGIN_INSTALL_DIR}
-)
diff --git a/languages/cpp/pcsimporter/qt4importer/Makefile.am b/languages/cpp/pcsimporter/qt4importer/Makefile.am
deleted file mode 100644
index 12f12104..00000000
--- a/languages/cpp/pcsimporter/qt4importer/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-INCLUDES = -I$(top_srcdir)/languages/lib/interfaces \
- -I$(top_srcdir)/lib/interfaces $(all_includes)
-METASOURCES = AUTO
-kde_module_LTLIBRARIES = libkdevqt4importer.la
-
-noinst_HEADERS = kdevqt4importer.h settingsdialog.h
-libkdevqt4importer_la_SOURCES = kdevqt4importer.cpp settingsdialogbase.ui settingsdialog.cpp
-kde_services_DATA = kdevqt4importer.desktop
-libkdevqt4importer_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/languages/lib/interfaces/liblang_interfaces.la
-libkdevqt4importer_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
deleted file mode 100644
index 0289c7a4..00000000
--- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
+++ /dev/null
@@ -1,107 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2003 by Roberto Raggi *
- * roberto@kdevelop.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 "kdevqt4importer.h"
-#include "kdevqt4importer.moc"
-#include "settingsdialog.h"
-
-#include <kgenericfactory.h>
-#include <tdetempfile.h>
-#include <kprocess.h>
-#include <kdebug.h>
-
-#include <tqtextstream.h>
-#include <tqlabel.h>
-#include <tqdir.h>
-
-K_EXPORT_COMPONENT_FACTORY( libkdevqt4importer, KGenericFactory<KDevQt4Importer>( "kdevqt4importer" ) )
-
-KDevQt4Importer::KDevQt4Importer( TQObject * parent, const char * name, const TQStringList& )
- : KDevPCSImporter( parent, name )
-{
- m_qtfile = 0;
-}
-
-KDevQt4Importer::~KDevQt4Importer()
-{
- if (m_qtfile)
- delete m_qtfile;
-
- m_qtfile = 0;
-}
-
-TQStringList KDevQt4Importer::fileList()
-{
- if( !m_settings )
- return TQStringList();
-
- if (m_qtfile)
- delete m_qtfile;
-
- KTempFile ifile;
- TQTextStream &is = *ifile.textStream();
-
- is << "#include <TQtCore/tqobjectdefs.h>\n"
- << "#undef slots\n#undef signals\n#undef slots\n#undef signals"
- << "#define slots slots\n"
- << "#define signals signals\n"
- << "#include <TQtCore/TQtCore>\n"
- << "#include <TQtGui/TQtGui>\n"
- << "#include <TQtNetwork/TQtNetwork>\n"
- << "#include <TQtXml/TQtXml>\n"
- << "#include <TQt3Support/TQt3Support>\n"
- << "#include <TQtSql/TQtSql>\n"
- << "#include <TQtTest/TQtTest>\n"
- << "#include <TQtOpenGL/TQtOpenGL>\n";
-
-
-
- TDEProcess proc;
- proc << "cpp" << "-nostdinc" << "-xc++";
-
- m_qtfile = new KTempFile();
-
- // include paths
- TQStringList paths = includePaths();
- for (TQStringList::Iterator it = paths.begin(); it != paths.end(); ++it)
- proc << "-I" << *it;
-
- ifile.close();
-
- TQString o;
- o += "-o";
- o += m_qtfile->name();
-
- proc << ifile.name() << o;
- proc.start(TDEProcess::Block);
-
- return m_qtfile->name();
-}
-
-TQStringList KDevQt4Importer::includePaths()
-{
- if( !m_settings || !m_qtfile)
- return TQStringList();
-
- TQStringList includePaths;
- includePaths.push_back( m_settings->qtDir() );
- includePaths.push_back( m_settings->qtDir() + "/TQt" );
-
- /// @todo add mkspec
- return includePaths;
-}
-
-TQWidget * KDevQt4Importer::createSettingsPage( TQWidget * parent, const char * name )
-{
- m_settings = new SettingsDialog( parent, name );
- return m_settings;
-}
-
diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop
deleted file mode 100644
index cd7697ee..00000000
--- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=KDevQt4Importer
-
-Comment=TDevelop Qt4 PCS Importer
-
-Type=Service
-Icon=gear
-X-TDE-ServiceTypes=TDevelop/PCSImporter
-X-TDE-Library=libkdevqt4importer
-X-TDevelop-PCSImporter=
-X-TDevelop-Version=5
diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h
deleted file mode 100644
index 3b9563f3..00000000
--- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2003 by Roberto Raggi *
- * roberto@kdevelop.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 KDEVTQTIMPORTER_H
-#define KDEVTQTIMPORTER_H
-
-#include <kdevpcsimporter.h>
-#include <tqguardedptr.h>
-
-class SettingsDialog;
-class KTempFile;
-
-class KDevQt4Importer : public KDevPCSImporter
-{
- Q_OBJECT
-
-public:
- KDevQt4Importer( TQObject* parent=0, const char* name=0, const TQStringList& args=TQStringList() );
- virtual ~KDevQt4Importer();
-
- virtual TQString dbName() const { return TQString::fromLatin1("TQt4"); }
- virtual TQStringList fileList();
- virtual TQStringList includePaths();
-
- virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 );
-
-private:
- TQGuardedPtr<SettingsDialog> m_settings;
- KTempFile *m_qtfile;
-};
-
-#endif
diff --git a/languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp b/languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp
deleted file mode 100644
index 22c5b666..00000000
--- a/languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp
+++ /dev/null
@@ -1,112 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2003 by Roberto Raggi *
- * roberto@kdevelop.org *
- * *
- * Copyright (C) 2006 by Jens Dagerbo *
- * jens.dagerbo@swipnet.se *
- * *
- * 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 <tdelistbox.h>
-#include <kcombobox.h>
-#include <kurlrequester.h>
-#include <kdebug.h>
-#include <klineedit.h>
-#include <tdemessagebox.h>
-#include <tdelocale.h>
-
-#include <tqfile.h>
-#include <tqdir.h>
-#include <tqregexp.h>
-#include <cstdlib>
-
-#include "settingsdialog.h"
-
-TQListBoxItem* TQListBox_selectedItem(TQListBox* cpTQListBox)
-{
- if ( cpTQListBox->selectionMode() != TQListBox::Single )
- return 0;
- if ( cpTQListBox->isSelected( cpTQListBox->currentItem() ) )
- return cpTQListBox->item(cpTQListBox->currentItem());
- return 0;
-}
-
-SettingsDialog::SettingsDialog(TQWidget* parent, const char* name, WFlags fl)
- : SettingsDialogBase(parent,name,fl)
-{
- TQStringList qtdirs;
- qtdirs.push_back( ::getenv("TQTDIR") + TQString("/include") );
- qtdirs.push_back( TQString::fromLocal8Bit(::getenv("HOME")) + "/dev/qt/include" );
- qtdirs.push_back( TQString::fromLocal8Bit(::getenv("HOME")) + "/dev/qt-main/include" );
- qtdirs.push_back( "/usr/qt/4/include" );
-
- for( TQStringList::Iterator it=qtdirs.begin(); it!=qtdirs.end(); ++it )
- {
- TQString qtdir = *it;
- if( !qtdir.isEmpty() && isValidTQtDir(qtdir) )
- if (!qtListBox->findItem(qtdir, ExactMatch))
- qtListBox->insertItem( qtdir );
- }
-
- qtUrl->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
-
- connect( addUrlButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(addUrlButton_clicked()) );
-}
-
-SettingsDialog::~SettingsDialog()
-{
-}
-
-void SettingsDialog::slotSelectionChanged(TQListBoxItem* item)
-{
- if( !qtListBox->selectedItem() )
- {
- emit enabled( false );
- return;
- }
-
-
- emit enabled( true );
-}
-
-bool SettingsDialog::isValidTQtDir( const TQString & path ) const
-{
- return TQFile::exists( path + "/TQtCore/TQtCore" );
-}
-
-TQString SettingsDialog::qtDir( ) const
-{
- return qtListBox->currentText();
-}
-
-TQString SettingsDialog::configuration( ) const
-{
- return "";
-}
-
-void SettingsDialog::addUrlButton_clicked( )
-{
- kdDebug(9000) << k_funcinfo << endl;
-
- if ( isValidTQtDir( qtUrl->url() ) )
- {
- qtListBox->insertItem( qtUrl->url() );
- if ( TQListBoxItem * item = qtListBox->findItem( qtUrl->url(), ExactMatch ) )
- {
- qtListBox->setSelected( item, true );
- }
- qtUrl->lineEdit()->clear();
- }
- else
- {
- KMessageBox::error( this, i18n("This does not appear to be a valid TQt4 include directory.\nPlease select a different directory."), i18n("Invalid Directory") );
- }
-}
-
-
-#include "settingsdialog.moc"
diff --git a/languages/cpp/pcsimporter/qt4importer/settingsdialog.h b/languages/cpp/pcsimporter/qt4importer/settingsdialog.h
deleted file mode 100644
index 32065973..00000000
--- a/languages/cpp/pcsimporter/qt4importer/settingsdialog.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2003 by Roberto Raggi *
- * roberto@kdevelop.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 SETTINGSDIALOG_H
-#define SETTINGSDIALOG_H
-
-#include "settingsdialogbase.h"
-
-class SettingsDialog : public SettingsDialogBase
-{
- Q_OBJECT
-
-
-public:
- SettingsDialog(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~SettingsDialog();
- /*$PUBLIC_FUNCTIONS$*/
-
- bool isValidTQtDir( const TQString& path ) const;
-
- TQString qtDir() const;
- TQString configuration() const;
-
-public slots:
- /*$PUBLIC_SLOTS$*/
- virtual void slotSelectionChanged(TQListBoxItem*);
-
-protected:
- /*$PROTECTED_FUNCTIONS$*/
-
-protected slots:
- /*$PROTECTED_SLOTS$*/
- void addUrlButton_clicked();
-
-};
-
-#endif
-
-
diff --git a/languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui b/languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui
deleted file mode 100644
index b0a48d2a..00000000
--- a/languages/cpp/pcsimporter/qt4importer/settingsdialogbase.ui
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>SettingsDialogBase</class>
-<widget class="TQWidget">
- <property name="name">
- <cstring>SettingsDialogBase</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>346</width>
- <height>275</height>
- </rect>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>textLabel1_2</cstring>
- </property>
- <property name="text">
- <string>Qt4 include directories:
-Only the selected entry will be used</string>
- </property>
- </widget>
- <widget class="TQPushButton" row="2" column="1">
- <property name="name">
- <cstring>addUrlButton</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>&amp;Add</string>
- </property>
- </widget>
- <widget class="KURLRequester" row="2" column="0">
- <property name="name">
- <cstring>qtUrl</cstring>
- </property>
- </widget>
- <widget class="TDEListBox" row="1" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>qtListBox</cstring>
- </property>
- </widget>
- </grid>
-</widget>
-<customwidgets>
-</customwidgets>
-<connections>
- <connection>
- <sender>qtListBox</sender>
- <signal>selectionChanged(TQListBoxItem*)</signal>
- <receiver>SettingsDialogBase</receiver>
- <slot>slotSelectionChanged(TQListBoxItem*)</slot>
- </connection>
-</connections>
-<forwards>
- <forward>class TQListBoxItem;</forward>
-</forwards>
-<Q_SIGNALS>
- <signal>enabled(int)</signal>
-</Q_SIGNALS>
-<Q_SLOTS>
- <slot>slotSelectionChanged(TQListBoxItem*)</slot>
-</Q_SLOTS>
-<layoutdefaults spacing="6" margin="11"/>
-<includes>
- <include location="global" impldecl="in implementation">kurlrequester.h</include>
- <include location="global" impldecl="in implementation">tdelistbox.h</include>
-</includes>
-</UI>
diff --git a/languages/cpp/subclassing_template/CMakeLists.txt b/languages/cpp/subclassing_template/CMakeLists.txt
index 3223a7d7..4da5b172 100644
--- a/languages/cpp/subclassing_template/CMakeLists.txt
+++ b/languages/cpp/subclassing_template/CMakeLists.txt
@@ -11,5 +11,4 @@
install( FILES
subclass_template.h subclass_template.cpp
- subclass_qt4_template.h subclass_qt4_template.cpp
DESTINATION ${DATA_INSTALL_DIR}/kdevcppsupport/subclassing )
diff --git a/languages/cpp/subclassing_template/Makefile.am b/languages/cpp/subclassing_template/Makefile.am
index 4e722ca0..6ce03476 100644
--- a/languages/cpp/subclassing_template/Makefile.am
+++ b/languages/cpp/subclassing_template/Makefile.am
@@ -1,5 +1,4 @@
cppsupportdatadir = ${kde_datadir}/kdevcppsupport
subclassingdir = ${cppsupportdatadir}/subclassing
-subclassing_DATA = subclass_template.h subclass_template.cpp \
- subclass_qt4_template.h subclass_qt4_template.cpp
+subclassing_DATA = subclass_template.h subclass_template.cpp
diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.cpp b/languages/cpp/subclassing_template/subclass_qt4_template.cpp
deleted file mode 100644
index 4531fa69..00000000
--- a/languages/cpp/subclassing_template/subclass_qt4_template.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-#include "$NEWFILENAMELC$.h"
-
-$NEWCLASS$::$NEWCLASS$(TQWidget* parent, TQt::WFlags fl)
-: $TQTBASECLASS$( parent, fl ), Ui::$BASECLASS$()
-{
- setupUi(this);
-}
-
-$NEWCLASS$::~$NEWCLASS$()
-{
-}
-
-/*$SPECIALIZATION$*/
-
diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.h b/languages/cpp/subclassing_template/subclass_qt4_template.h
deleted file mode 100644
index 62751c32..00000000
--- a/languages/cpp/subclassing_template/subclass_qt4_template.h
+++ /dev/null
@@ -1,29 +0,0 @@
-
-#ifndef $NEWFILENAMEUC$_H
-#define $NEWFILENAMEUC$_H
-
-#include <$TQTBASECLASS$>
-#include "ui_$BASEFILENAME$.h"
-
-class $NEWCLASS$ : public $TQTBASECLASS$, private Ui::$BASECLASS$
-{
- Q_OBJECT
-
-
-public:
- $NEWCLASS$(TQWidget* parent = 0, TQt::WFlags fl = 0 );
- ~$NEWCLASS$();
- /*$PUBLIC_FUNCTIONS$*/
-
-public slots:
- /*$PUBLIC_SLOTS$*/
-
-protected:
- /*$PROTECTED_FUNCTIONS$*/
-
-protected slots:
- /*$PROTECTED_SLOTS$*/
-
-};
-
-#endif
diff --git a/languages/cpp/subclassingdlg.cpp b/languages/cpp/subclassingdlg.cpp
index e64e0727..96ec6385 100644
--- a/languages/cpp/subclassingdlg.cpp
+++ b/languages/cpp/subclassingdlg.cpp
@@ -369,10 +369,7 @@ void SubclassingDlg::accept()
int qtVersion = DomUtil::readIntEntry( *m_cppSupport->project()->projectDom(), "/kdevcppsupport/qt/version", 3 );
if (m_creatingNewSubclass)
{
- if ( qtVersion == 3 )
- loadBuffer(buffer,::locate("data", "kdevcppsupport/subclassing/subclass_template.h"));
- else
- loadBuffer(buffer,::locate("data", "kdevcppsupport/subclassing/subclass_qt4_template.h"));
+ loadBuffer(buffer,::locate("data", "kdevcppsupport/subclassing/subclass_template.h"));
buffer = FileTemplate::read(m_cppSupport, "h") + buffer;
TQFileInfo fi(m_filename + ".h");
@@ -464,10 +461,7 @@ void SubclassingDlg::accept()
if (m_creatingNewSubclass)
{
- if ( qtVersion == 3 )
- loadBuffer(buffer,::locate("data", "kdevcppsupport/subclassing/subclass_template.cpp"));
- else
- loadBuffer(buffer,::locate("data", "kdevcppsupport/subclassing/subclass_qt4_template.cpp"));
+ loadBuffer(buffer,::locate("data", "kdevcppsupport/subclassing/subclass_template.cpp"));
buffer = FileTemplate::read(m_cppSupport, "cpp") + buffer;
TQFileInfo fi(m_filename + ".cpp");