Compile kiten in kf5

Reza Shah rshah0385 at kireihana.com
Sun Aug 24 12:02:48 UTC 2014


Hi,

I have these remaining problems to make kiten compileable without
commenting these codes.
Any idea how to port these codes to framework 5?

1. CMakeLists.txt
    kde4_add_app_icon -> i commented this for temporary

2. app/kiten.cpp
    if ( ! kapp->sessionConfig()->hasGroup( "app" ) )  -> how to port this
line?

3. app/dictionaryupdatemanager.cpp
    QString dictPath = KGlobal::dirs()->locateLocal( "data", QString(
"kiten/" ) + fileName, true ); -> how to port this locateLocal with the
create directory parameter TRUE.

4. app/searchstringinput.cpp
_actionTextInput = new KHistoryComboBox( _parent );
...
QAction *actionsearchbox = _parent->actionCollection()->addAction(
"searchbox" );
actionsearchbox->setDefaultWidget( _actionTextInput );  -->
setDefaultWidget is not available for QAction, is it ok to just remove this
line?



Regards,
Reza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20140824/a7448483/attachment.html>


More information about the kde-edu mailing list