You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
experimental/kde-tde/convert_existing_kde3_app_t...

35 lines
1015 B

#!/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