diff options
author | Timothy Pearson <[email protected]> | 2013-07-24 10:02:59 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-07-24 10:02:59 -0500 |
commit | c54e2941479b7f4efd9ad65afc409078a1a91e45 (patch) | |
tree | 81c1e545dd2b276428cd1be973f7ef0bb2c60b91 | |
parent | 37693913f0f15d339388ffe89cfce74c2ba4350d (diff) | |
download | experimental-c54e2941479b7f4efd9ad65afc409078a1a91e45.tar.gz experimental-c54e2941479b7f4efd9ad65afc409078a1a91e45.zip |
Add skeleton of KDE3 to TDE conversion script from Bug 531
-rw-r--r-- | kde-tde/convert_existing_kde3_app_to_tde | 34 |
1 files changed, 34 insertions, 0 deletions
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 |