KAboutData attributions for removed source code

2010-11-03 Thread Stefan Majewsky
Hi, as you possibly know, I've recently started to replace Kolf's own physics engine by Box2D. As this is a considerable amount of code which is compiled statically into Kolf¹, I want to add an attribution to the Box2D developer in the KAboutData. While looking at the KAboutData stuff in main(

Native Qt support for KStandardDirs

2011-02-05 Thread Stefan Majewsky
Hi, if a Qt fairy (pun intended) would visit me and grant me one wish, it would be native Qt support for KStandardDirs (through a platform plugin or whatever). Instead of > QSvgRenderer renderer(KStandardDirs::locate("appdata", > "themes/default.svgz")); I want to write e.g. > QSvgRenderer ren

Re: Native Qt support for KStandardDirs

2011-02-07 Thread Stefan Majewsky
On Sun, Feb 6, 2011 at 12:40 AM, Arno Rehn wrote: > In your main() function, create an instance of the attached class (somewhere > at the beginning, before you access anything with '%foo'). That's all you have > to do. Looks like a cool idea to have this available in any KDE powered app. > > Docs:

QImage::Format_Indexed8

2011-04-10 Thread Stefan Majewsky
Hi, Palapeli has a lot of shadow images, which cost a lot of memory. Someone on my blog told me to use Indexed8 QImages for that, which I'm now trying, but it displays nothing. Could it be that Indexed8 images are not suitable for on-screen display, or is it my fault? Greetings Stefan P.S. X11 w

Re: QImage::Format_Indexed8

2011-04-13 Thread Stefan Majewsky
On Tue, Apr 12, 2011 at 7:34 PM, Thomas Lübking wrote: > I've just installed and played errr... "tested" palapeli and sth. seems > wrong. It takes up to ~100MB RAM and quite some cpu when dragging items. Most of the memory usage comes from the pixmaps, and does thus depend very much on the size o

Re: Re: Disabling Oxygen's window dragging for specific QWidgets?

2011-05-18 Thread Stefan Majewsky
On Sun, May 15, 2011 at 3:06 PM, Luciano Montanaro wrote: >> So yes, all applications have to be fixed, not the style. > > I would say 29 kdegames say otherwise. That's unrelated to the discussion at hand. Thing is, we do not exactly have any type of spare manpower over at kdegames. *hint hint*

Re: Re: Disabling Oxygen's window dragging for specific QWidgets?

2011-05-18 Thread Stefan Majewsky
On Wed, May 18, 2011 at 11:50 PM, Stefan Majewsky wrote: >>> So yes, all applications have to be fixed, not the style. >> >> I would say 29 kdegames say otherwise. > > That's unrelated to the discussion at hand. Thing is, we do not > exactly have any type of spa

Re: Re: Disabling Oxygen's window dragging for specific QWidgets?

2011-05-19 Thread Stefan Majewsky
On Thu, May 19, 2011 at 12:16 AM, Thomas Lübking wrote: > At least QGraphicsView is added explicitly (and i assume KGameCanvas is > just one?!) No, KGC is not a QGV. It predates QGV by some time, to solve the problem that QCanvas was going away. (Everything AFAIK because this was before my time.)

Re: Disabling Oxygen's window dragging for specific QWidgets?

2011-05-21 Thread Stefan Majewsky
On Thu, May 19, 2011 at 8:15 PM, Albert Astals Cid wrote: > KGC has a smaller use case than QGV and is thus much more optimized for what > it wants to do (or that was my understanding back when my contract did not > forbid me to do game development) so porting is unwanted As far as I was introduc

Communication between C++ and QML

2011-06-03 Thread Stefan Majewsky
Hi, I've been looking into QML again for kdegames. Some background: I added a QDeclarativeImageProvider to feed images from libtagaro's ThemeProvider into QML, and that mostly works (with an emphasis on mostly; QTBUG-14900). Then I tried something more difficult: I wanted to port a game from QML,

Re: Accessing CMake Environment Variables From Program

2011-06-07 Thread Stefan Majewsky
On Tue, Jun 7, 2011 at 4:31 AM, Brian Helm wrote: > Okay, I feel like this should be a very simple thing to accomplish. >  However, I can't seem to figure out how to do it.  In my  CMakeLists.txt > file I have the following lines to install images: > install(FILES images/close.svgz DESTINATION > $

KStandardDirs::relativeLocation

2011-07-04 Thread Stefan Majewsky
Hi, is there any reason why KStandardDirs::relativeLocation() is not const? Or did the authors just forget the "const" in there? If so, I'll mark it has "//KDE5: make const". Greetings Stefan >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Component Naming

2011-07-08 Thread Stefan Majewsky
On Thu, Jul 7, 2011 at 2:24 PM, Aaron J. Seigo wrote: > unfortunately, developers continue to add over time new instances of these > terms into the UI or present the user with uninteresting informaton related to > these services. It could be a good idea to have scripty or EBN or some other servic

QHash: two questions concerning memleak and key type

2011-07-29 Thread Stefan Majewsky
Hi, I have a C++ class that implements a Composite pattern. Relevant code follows: -8<-8<-8<-8<-8<-8<-8<-8<-8<- class Compound : public Entity { void addChild(const QByteArray& key, Entity* newChild) { Q_D(Compound); Entity*& child

Re: KDE Plasma Panel NG

2011-08-21 Thread Stefan Majewsky
Looks like tl;dr. Could you attach some schematic drawings, mockups, etc., which tell what the main selling points of your idea are? Greetings Stefan >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Getting started with KDE development

2011-09-25 Thread Stefan Majewsky
Hi Picachu, On Sun, Sep 25, 2011 at 8:21 PM, Picachu Nioto wrote: > Is there any thing else that I should install to configure my environment to > develop KDE applications. techbase.kde.org has information on "Setting up a KDE development environment" (see the first link on the main page), but i

Re: Seeking a starting point.

2011-09-29 Thread Stefan Majewsky
On Thu, Sep 29, 2011 at 6:50 PM, Cecil wrote: > The elements are a lot similar to the underlying code in vc++ or even Vb > form files, but I am not finding size and location information etc. You mean "size and location" of the widgets inside the menu applets? Without actually looking at the code,

Updates in custom data engine broken

2011-10-02 Thread Stefan Majewsky
Moin moin, I'm hacking on a Plasma::DataEngine which receives its data via a DBus interface. updateSourceEvent() is thus uninteresting, all updates come from DBus' propertiesChanged signal. One of these properties ("Metadata") contains a QVariantMap which I place in one dataengine source: void D

Re: Custom toolbar icons.

2011-10-21 Thread Stefan Majewsky
On Thu, Oct 20, 2011 at 4:39 PM, dmitry chernov wrote: > How to add your own icons (not system) to toolbar actions? You're probably looking at the KIcon documentation. KIcon is a thin layer over QIcon to add support for system icons. The functionality you want is in QIcon. Greetings Stefan >> V

Re: Auto mounting never worked.

2011-11-29 Thread Stefan Majewsky
Hi, as far as I can see, automounting is not included in KDE by design. Every interaction with newly added devices happens through the device notifier, which will mount the device when the user starts to interact with the device. Alternatively, the device appears in the places list of the KFileDia

Re: [PATCH]: fix kmix PulseAudio glib detection

2012-01-02 Thread Stefan Majewsky
On Thu, Dec 29, 2011 at 6:03 AM, Kelly Anderson wrote: > kmixctrl(2487)/kmix Mixer_PULSE::Mixer_PULSE: Disabling PulseAudio > integration for lack of GLib event loop. > > It turns out on my system the className being used (kde 4.7.4) is > "QEventDispatcherGlib" not "QGuiEventDispatcherGlib". > > I

Re: Konqueror- GSOC idea

2012-02-13 Thread Stefan Majewsky
On Sun, Feb 12, 2012 at 2:09 AM, Abhishek Sood A wrote: > Hii I was just thinking if its possible to categorize the downloads in > konqueror depending on file types and target it to respective folders which > would make it easier to access. It's probably not enough for a full GSoC. Once you found

Breadcrumb navigation widget?

2012-02-15 Thread Stefan Majewsky
Hi, the KFileDialog, Dolphin, Gwenview, and others use KUrlNavigator for bread-crumb style navigation (e.g. "Home Directory > Pictures > Travel > 2011"). But it looks like this widget supports URL-based hierarchies only. Is there any generic widget that allows navigation through a custom model? G

Re: GSoC idea.

2012-02-16 Thread Stefan Majewsky
On Thu, Feb 16, 2012 at 7:10 AM, Dmitry Chernov wrote: > By the way is there general KDE lib for organizing bookmarks in > the application? Nepomuk can be used to store bookmarks, associate them with the files or other contents, but I am not aware of any library for the specific case of bookmarks

Re: python developer?

2012-02-20 Thread Stefan Majewsky
On Fri, Feb 17, 2012 at 2:17 AM, Claudio Desideri wrote: > Is it possible to contribute to KDE even using python? Of course it's possible to contribute; there are KDE apps written in Python using PyQt and PyKDE (e.g. the Mahjongg game Kajongg, or Kubuntu's printer-applet). However, you might run

Re: Using custom controls in KConfigXT

2012-03-20 Thread Stefan Majewsky
On Mon, Mar 19, 2012 at 9:19 AM, Christian Taubenheim wrote: > Hi all, > i use the KConfigXT concept for managing settings of my app. > I also managed to implement a QButton that holds a user specified color (by > opening a QColorDialog), which is transferred into the settings manually. For a wor

Re: [GSOC] KDE game using Qt Quick

2012-04-05 Thread Stefan Majewsky
I posted the idea. unfortunately I'm on a vacation at the moment. Since there was quite some interest in this idea, there are quite some related discussions for this idea on our mailing list. I recommend you use e.g. kde.markmail.org to read through the archives of kde-games-de...@kde.org Greetin

Should the library version follow the KDE release version?

2012-05-02 Thread Stefan Majewsky
Hi, I'm currently working on the libkdegames build system. For a major cleanup, libkdegames is breaking source and binary compatibility in the 4.9 release. I figured this is the right time to move away from a self-installed find-script to a ProjectConfig.cmake file. Now I'm wondering about the ve

Re: Should the library version follow the KDE release version?

2012-05-02 Thread Stefan Majewsky
On Wed, May 2, 2012 at 8:30 PM, Weng Xuetian wrote: > For example, libkdecore is now 5.8.0, but still the api is 4.7. When the VERSION was 5.1.0 previously, can I go back to 4.9.0 to reach consistency with the KDE release, while I still bump the SOVERSION from 5 to 6? Greetings Stefan >> Visit

CMake looks for an installed config script in another project's build directory

2012-05-02 Thread Stefan Majewsky
Hi again, CMake does not seem to like me today. I've set up my KDEGamesConfig.cmake files, and tried to compile a test application against the installed library. I'm attaching the CMakeLists.txt for the test application at the end of the mail for reference (after the scissor line). As explained o