Differences
This shows you the differences between two versions of the page.
|
|
dev:notes_on_porting_to_qt4_examples [2008/08/30 17:43] emrum created |
dev:notes_on_porting_to_qt4_examples [2008/08/31 19:49] emrum |
====== How to convert . qt3->qt4 . kde3->kde4 ====== | ====== How to convert . qt3->qt4 . kde3->kde4 ====== |
| |
| This may be a help, for new contributors to the qt4/kde4 port of rosegarden. It may also serve to see, what could be replaced with "search'n replace scripts". If possible, **avoid to use the Q3Support** and includes. Use the new Qt4 classes instead. Reason: Q3Support doesn't work as well, as it one might expect and we need to move to Qt4 anyway. |
If somehow possible, **avoid to use the Q3Support** and includes. Use the new Qt4 classes instead. | |
| |
Reason: Q3Support doesn't work as well, as it one might expect and we need to move to Qt4 anyway. | |
| |
| |
or | or |
errMsg = i18n(QString("Could not open").toUtf8().data() ); | errMsg = i18n(QString("Could not open").toUtf8().data() ); |
| (?) |
| |
Casting std::string to (const char*) | Casting std::string to (const char*) |
==> | ==> |
st.c_str() | const char * s = st.c_str() |
| |
| |