diff --git a/kde-tde/convert_existing_kde3_app_to_tde b/kde-tde/convert_existing_kde3_app_to_tde new file mode 100644 index 0000000..17d6e0e --- /dev/null +++ b/kde-tde/convert_existing_kde3_app_to_tde @@ -0,0 +1,34 @@ +#!/bin/bash + +# Convert QT3 to TQT3 with automatic script +../qt3-tqt3/convert_existing_qt3_app_to_tqt3 + +# Convert KDE3 to TDE +sed -i \ + -e "s|kcmdlineargs.h|tdecmdlineargs.h|g" \ + -e "s|kaboutdata.h|tdeaboutdata.h|g" \ + -e "s|klocale.h|tdelocale.h|g" \ + -e "s|kwin.h|twin.h|g" \ + -e "s|kconfig.h|tdeconfig.h|g" \ + -e "s|kpopupmenu.h|tdepopupmenu.h|g" \ + -e "s|kglobal.h|tdeglobal.h|g" \ + -e "s|kmainwindow.h|tdemainwindow.h|g" \ + -e "s|KConfig|TDEConfig|g" \ + -e "s|kaboutapplication.h|tdeaboutapplication.h|g" \ + -e "s|KPopupMenu|TDEPopupMenu|g" \ + -e "s|KProcess|TDEProcess|g" \ + -e "s|KCmdLineOptions|TDECmdLineOptions|g" \ + -e "s|KCmdLineArgs|TDECmdLineArgs|g" \ + -e "s|KAboutData|TDEAboutData|g" \ + -e "s|KMainWindow|TDEMainWindow|g" \ + -e "s|KGlobal|TDEGlobal|g" \ + -e "s|KAboutApplication|TDEAboutApplication|g" \ + -e "s|KIcon|TDEIcon|g" \ + -e "s|NEKWinInfo|NETWinInfo|g" \ + src/*.cpp src/*.h + +sed -i \ + -e "s|KDE_|TDE_|g" \ + -e "s|_KDE|_TDE|g" \ + -e "s|_QT|_TQT|g" \ + *.am src/*.am