On Donnerstag, 20. Februar 2014 15:43:35 CEST, Damian Ivanov wrote:
I try in the creation phase of my class connect(KWindowSystem::self(), SIGNAL(windowAdded()), this, SLOT(test())); and MyClass::test() should be called when a window is added
There's no "windowAdded()" signal - you have to use connect(KWindowSystem::self(), SIGNAL(windowAdded(WId)), this, SLOT(test())); whether your slot can make use of the parameter or not. (QObject should btw. warn you about this on stderr or stdout) Cheers, Thomas
Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<