Re: categories - only the official ones?

2009-05-14 Thread Oszkar Ambrus
Aaron J. Seigo wrote: > yep; so, are you going to work on a patch for Corona in libplasma or should i > Oh, I thought you only meant to add that to the subclass. Of course, I'll gladly do that! (Haven't submitted any patches yet, so I don't know how that works, but I'll make the patch and let

Re: categories - only the official ones?

2009-05-14 Thread Oszkar Ambrus
Aaron J. Seigo wrote: > well, what about the solution i suggested in my other email. does your app > provide a custom Corona subclass? I misunderstood that. Sorry. Yes, I think I'll try that, because otherwise I have to many KServiceTypeTrader queries. That's cool, thanks! -- Oszkár Ambrus "

Re: categories - only the official ones?

2009-05-14 Thread Oszkar Ambrus
>> Then wouldn't it be a good ideea to have a listAllCategories (or >> similar) function, which gives all the categories used by any >> Plasma/Applet? >> > > we can't translate them then, and the list of categories and what you get in > a > config UI like the applet browser wouldn't match.

Re: categories - only the official ones?

2009-05-14 Thread Oszkar Ambrus
Hi, Ivan Čukić wrote: >> I don't really understand the reason for this, since I use the plasmoids >> in my own application as plugins. >> > OK, I see. The categories are meant for the /normal/ plasmoids. > > IMO, it wouldn't be wise to impose these categories on every plasma-based > applicat

Re: categories - only the official ones?

2009-05-14 Thread Oszkar Ambrus
Hi Ivan, >> I noticed that since last week Plasma::Applet::listCategories() only >> lists categories that are on the official list (found at [1]). >> > The sole purpose of a predefined list of categories is for plasmoid > developers > to use them and only them. > I don't really understand

categories - only the official ones?

2009-05-14 Thread Oszkar Ambrus
Hi, I noticed that since last week Plasma::Applet::listCategories() only lists categories that are on the official list (found at [1]). Thus I can only retrieve my categories using a KServiceTypeTrader (the way the listCategories implementation does it). Is this permanent? I don't mind using a

Re: custom property of a Plasma::Applet

2009-05-05 Thread Oszkar Ambrus
Hi, Aaron J. Seigo wrote: Can I read for example the X-KDE-Library entry, which is not of KPluginInfo type? > you can do your own KServiceTypeTrader queries, but perhaps you could take a > completely different approach? perhaps use x-KDE-PluginInfo-Category to tell > them apart? would

Re: custom property of a Plasma::Applet

2009-05-01 Thread Oszkar Ambrus
> yeah, I had to do this for security stuff... uhm... > applet.cpp:1685 > > So you're saying KServiceTypeTrader::self()->query("Plasma/Applet", ... has access to the properties of the plugin? Cheers, Oszkar ___ Plasma-devel mailing list Plasma-devel

Re: custom property of a Plasma::Applet

2009-05-01 Thread Oszkar Ambrus
>> I'd like to read a custom property of a Plasma::Applet defined in the >> .desktop file. >> I've seen that the Applet class has functions for standard properties >> (like name, icon, etc. that are a subset of KPluginInfo functions). >> >> Can I read for example the X-KDE-Library entry, which is

custom property of a Plasma::Applet

2009-05-01 Thread Oszkar Ambrus
Hi, I'd like to read a custom property of a Plasma::Applet defined in the .desktop file. I've seen that the Applet class has functions for standard properties (like name, icon, etc. that are a subset of KPluginInfo functions). Can I read for example the X-KDE-Library entry, which is not of KPl

gsoc; PlasMate

2009-03-24 Thread Oszkar Ambrus
Hi, I'm writing a GSoC application to the Plasmate project. On the project website (http://techbase.kde.org/Projects/Plasma/PlasMate) there is a quite extensive description of what is should do, and even a design description listing and describing the main classes used. This doesn't live much roo

gsoc ideas

2009-03-23 Thread Oszkar Ambrus
Hi, I'm Oszkar Ambrus, a Masters student at DERI/National University of Ireland, Galway. I've been using Plasma for development for about a year now (within the Nepomuk team), and followed it coming to shape from 4.0 to beyond 4.2. I would be delighted to work on Plasma, and be mento

Re: build error from today's SVN

2008-12-23 Thread Oszkar Ambrus
Alexis Ménard wrote: > Just clean your build dir for this applet. Then mocs will be properly > generated again. Thanks, both of you. It worked. Oszkar ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

build error from today's SVN

2008-12-23 Thread Oszkar Ambrus
Hi, After updating kdebase yesterday, I'm unable to build it successfully. I get an error [1] for the Plasma SimpleLauncher. Any suggestions? Thanks, Oszkar [1] The error listing: CMakeFiles/plasma_applet_simplelauncher.dir/ui/brandingbutton.o: In function `Kickoff::BrandingButton::metaObject()

resizing applets

2008-11-11 Thread Oszkar Ambrus
Hi ... As I mentioned before, I'm working on a visual programming application, that uses Plasma Applets as it's visual components. Is there a clean way to implement applet resizing? Or should I do what you have done in PositioningRuler (implementing the mouse events)? And another one: if I have

Re: SIGSEGV on exiting Plasma app

2008-09-18 Thread Oszkar Ambrus
Alex Merry wrote: > On Thursday 18 September 2008 17:10:18 Aaron J. Seigo wrote: > >> ok, so in the QGraphicsWidget dtor; i don't suppose you could install a >> debug build of Qt so we can see where? >> I'll try to do this if I have any more problems like this one. > > /me suspects the refo

Re: SIGSEGV on exiting Plasma app

2008-09-18 Thread Oszkar Ambrus
Aaron J. Seigo wrote: >> P.S. Here's the backtrace, if it helps: >> > > hm .. it unfortunately isn't against current svn so the line numbers are a > bit > off, and it doesn't show where in Qt it dies which would be most helpful. > Sorry about that. Here's the backtrace against current sv

SIGSEGV on exiting Plasma app

2008-09-17 Thread Oszkar Ambrus
Hi all, I have a strange problem in my Plasma application. Whenever I exit the application, I get a SIGSEGV error, and I just can't figure out why. Should I check each UI object to be in a layout, or to have parents, or what should I go through? Thanks a lot, Oszkar P.S. Here's the backtrace, if