[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-edu-devel
Subject: Re: Compile kiten in kf5
From: Reza Shah <rshah0385 () kireihana ! com>
Date: 2014-08-24 12:02:48
Message-ID: CAPQiRUf11XZWFWVBKe8RPMpkS3jm3RrW7TXv1C5XdexTG0eG5g () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<div dir="ltr"><div><div><div>Hi,<br><br></div>I have these remaining problems to \
make kiten compileable without commenting these codes.<br></div>Any idea how to port \
these codes to framework 5?<br><br>1. CMakeLists.txt<br> kde4_add_app_icon -> i \
commented this for temporary<br><br>2. app/kiten.cpp<br> if ( ! \
kapp->sessionConfig()->hasGroup( "app" ) ) -> how to port this \
line?<br><br>3. app/dictionaryupdatemanager.cpp<br> QString dictPath = \
KGlobal::dirs()->locateLocal( "data", QString( "kiten/" ) + \
fileName, true ); -> how to port this locateLocal with the create directory \
parameter TRUE.<br><br>4. app/searchstringinput.cpp<br> _actionTextInput = new \
KHistoryComboBox( _parent );<br>...<br>QAction *actionsearchbox = \
_parent->actionCollection()->addAction( "searchbox" \
);<br>actionsearchbox->setDefaultWidget( _actionTextInput ); --> \
setDefaultWidget is not available for QAction, is it ok to just remove this line?<br> \
<br><br><br></div>Regards,<br>Reza<br></div>
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic