I am referring to kcmtrash.cpp
On Tue, Aug 27, 2013 at 7:56 PM, Heena Mahour <heena...@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(), " > heena...@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
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel