Re: Replacement for Qt's Undo Framework

2011-04-25 Thread Olivier Goffart
Le Monday 25 April 2011, Alexander Potashev a écrit : > Hi, > > The Qt's Undo Framework (QUndoCommand, QUndoStack, QUndoGroup, > QUndoView) has a few oddities: > 1. The names of undo actions can only have a predefined prefix > (https://bugs.kde.org/show_bug.cgi?id=253459), > 2. You can't use diffe

Re: kio/scheduler: Does not compile with Qt from 4.8 branch

2011-04-25 Thread Olivier Goffart
Le Monday 25 April 2011, Michael Pyne a écrit : > On Sunday, April 24, 2011 16:42:22 Christoph Feck wrote: > > On Sunday 24 April 2011 15:04:38 Thiago Macieira wrote: > > > Olivier, these are your moc changes. > > > > Given that Q_PRIVATE_SLOT is a private definition, shouldn't we rather > > fix t

Re: Replacement for Qt's Undo Framework

2011-04-25 Thread Albert Astals Cid
A Dilluns, 25 d'abril de 2011, Alexander Potashev va escriure: > Hi, > > The Qt's Undo Framework (QUndoCommand, QUndoStack, QUndoGroup, > QUndoView) has a few oddities: > > The solution is to fork QUndo* classes and fix the problems in the new > classes, so did I: > https://github.com/aspotashev/l

Re: Deploying new kdelibs classes

2011-04-25 Thread Aurélien Gâteau
On 23/04/2011 23:22, Jaroslaw Staniek wrote: > Aurélien, I am writing regarding > http://agateau.wordpress.com/2011/04/21/kde-ux-2011/ > One thing, about deploying the kmessagewidget (and similar things) in > kdelibs. If it's part of kdelibs 4.7 or something, apps that support > kdelibs < 4.7 would

Re: Deploying new kdelibs classes

2011-04-25 Thread Albert Astals Cid
A Dissabte, 23 d'abril de 2011, Jaroslaw Staniek va escriure: > Aurélien, I am writing regarding > http://agateau.wordpress.com/2011/04/21/kde-ux-2011/ > One thing, about deploying the kmessagewidget (and similar things) in > kdelibs. If it's part of kdelibs 4.7 or something, apps that support > kd

Re: Usage of env and shutdown directories of KDE

2011-04-25 Thread Ingo Klöcker
On Monday 25 April 2011, Oswald Buddenhagen wrote: > > On Monday 25 April 2011, Gökçen Eraslan wrote: > > > So, if a distro uses "/usr/lib" as libdir, sh files are searched > > > in ~/.kde and /usr/env directories since kde4-config is called > > > with "--path lib" parameters. This is the case in P

Re: Usage of env and shutdown directories of KDE

2011-04-25 Thread Oswald Buddenhagen
> On Monday 25 April 2011, Gökçen Eraslan wrote: > > So, if a distro uses "/usr/lib" as libdir, sh files are searched in > > ~/.kde and /usr/env directories since kde4-config is called with > > "--path lib" parameters. This is the case in Pardus and Kubuntu > > 10.10. openSUSE patched[1] startkde t

Replacement for Qt's Undo Framework

2011-04-25 Thread Alexander Potashev
Hi, The Qt's Undo Framework (QUndoCommand, QUndoStack, QUndoGroup, QUndoView) has a few oddities: 1. The names of undo actions can only have a predefined prefix (https://bugs.kde.org/show_bug.cgi?id=253459), 2. You can't use different strings for the name of undo action (Edit -> Undo/Redo [some ac

Re: Usage of env and shutdown directories of KDE

2011-04-25 Thread Ingo Klöcker
On Monday 25 April 2011, Gökçen Eraslan wrote: > Hi, > > I've confused about the path of the env and shutdown directories of > KDE. In startkde script, env directory is sourced like this: > > libpath=`kde4-config --path lib | tr : '\n'` > > for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*

Usage of env and shutdown directories of KDE

2011-04-25 Thread Gökçen Eraslan
Hi, I've confused about the path of the env and shutdown directories of KDE. In startkde script, env directory is sourced like this: libpath=`kde4-config --path lib | tr : '\n'` for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do for file in "$prefix"*.sh; do test -r "$