Add skeleton of KDE3 to TDE conversion script from Bug 531

pull/1/head
Timothy Pearson 12 years ago
parent 37693913f0
commit c54e294147

@ -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
Loading…
Cancel
Save