kcmodule under kf5

Heena Mahour heena393 at gmail.com
Tue Aug 27 20:05:14 UTC 2013


I am referring to kcmtrash.cpp



On Tue, Aug 27, 2013 at 7:56 PM, Heena Mahour <heena393 at gmail.com> wrote:

> Hi,
> I am getting an error while porting kioslave/trash under kf5 that ‘componentData’
> is not a member of ‘KCMTrashConfigFactory’
> Also ,so I looked at the kcmodule.h and used KAboutData instead like this
>
> TrashConfigModule::TrashConfigModule( QWidget* parent, const QVariantList&
> )
>     : KCModule( parent ), trashInitialize( false )
> {
>     KAboutData *about = new KAboutData(
>         "kcmtrash", 0, ki18n( "trash" ),
>         KDE_VERSION_STRING, KLocalizedString(), KAboutData::License_GPL,
>         ki18n( "Copyright 2013 Heena Mahour " ) );
>         about->addAuthor( ki18n("Heena Mahour") ,KLocalizedString(), "
> heena393 at gmail.com" );
>         setAboutData( about );
> }
>
> but that is also giving following errors :
> http://pastebin.com/raw.php?i=C5qePwbt
>
> --
> -Heena
> Season of kde'12 participant
> Google Summer of Code 2013
> Delhi College of Engineering(COE),India
> http://about.me/heena.mahour
> http://heenamahour.blogspot.in
>
>


-- 
-Heena
Season of kde'12 participant
Google Summer of Code 2013
Delhi College of Engineering(COE),India
http://about.me/heena.mahour
http://heenamahour.blogspot.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130827/73f28509/attachment-0001.html>


More information about the Plasma-devel mailing list