KDirOperator inside plasma Applet?
Julian Hernandez Gomez
julianhernandez at gmail.com
Wed Jul 9 08:30:42 CEST 2008
Hi!
my first post to the list! (I hope this is the right place to ask)
I'm trying to develop my first plasmoid: a yet another downloader for
OpenSubtitles :-). It's not in a very useful state now but I would
like to see it soon in kde-apps or even the playground :-P
Now, I'm wondering if is it possible to show a KDirOperator in a
Plasma applet? The constructor KDirOperator::KDirOperator(const KUrl&,
QWidget*) ask for a QWidget* but I get the following error if I use
"this" as argument:
/home/kde-devel/kde/src/KDE/kdeplasmoids/applets/opensubtitles/opensubtitles.cpp:
In member function virtual void OpenSubtitles::init():
/home/kde-devel/kde/src/KDE/kdeplasmoids/applets/opensubtitles/opensubtitles.cpp:38:
error: no matching function for call to KDirOperator::KD\
irOperator(KUrl&, OpenSubtitles* const)
/home/kde-devel/kde/include/KDE/../kdiroperator.h:124: note:
candidates are: KDirOperator::KDirOperator(const KUrl&, QWidget*)
/home/kde-devel/kde/include/KDE/../kdiroperator.h:100: note:
KDirOperator::KDirOperator(const KDirOperator&)
Or if this is not the right thing to do, I would appreciate if someone
could explain me how to display all the files inside a directory in
the applet.
Thanks guys.
--
Julian Hernandez Gomez
A Proud Debian GNU/Linux user.
More information about the Panel-devel
mailing list