[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Mac-like menu bar plasmoid added to playground
From: Lubos Lunak <l.lunak () suse ! cz>
Date: 2008-04-28 13:28:45
Message-ID: 200804281528.45898.l.lunak () suse ! cz
[Download RAW message or body]
On Friday 25 of April 2008, Friedrich W. H. Kossebau wrote:
> Am Dienstag, 22. April 2008, um 12:22 Uhr, schrieb Lubos Lunak:
> > Yes. It seems KMenuBar in KDE4 is broken, try with a KDE3 app.
>
> So far I did not manage to start a KDE3 program inside my KDE4 session
> (some auth problems I need to understand) but it looks that it isn't
> KMenuBar which is broken. Some other toplevel windows are also not
> signalled, e.g. a ripped of toolbar.
Seems to work fine here with trunk, e.g. a toolbar from KWrite shows as 3
with this testapp.
--
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org
Lihovarska 1060/12 tel: +420 284 028 972
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
["a.cpp" (text/x-c++src)]
#include <kcmdlineargs.h>
#include <kapplication.h>
#include <kdebug.h>
#include <qtimer.h>
#include <kcmdlineargs.h>
#include <kapplication.h>
#include <kdebug.h>
#include <kaboutdata.h>
#include <kwindowsystem.h>
class X
: public QObject
{
Q_OBJECT
public slots:
void sl( WId );
};
QWidget* w;
void X::sl( WId w )
{
KWindowInfo i( w, NET::WMWindowType );
kdDebug() << "W" << i.windowType( -1 );
}
int main( int argc, char* argv[] )
{
KAboutData about( "a", "b", ki18n( "c" ), "d" );
KCmdLineArgs::init( argc, argv, &about );
KApplication app;
X x;
QObject::connect( KWindowSystem::self(), SIGNAL( windowAdded(WId)), &x, SLOT(sl(WId)));
return app.exec();
}
#include "a.moc"
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic