> The current profile is stored in KonqViewManager, and accessible via > currentProfile() and currentProfileText(). However the sidebar > doesn't > have access to KonqViewManager. It's just a KParts part... > > I guess you could set the profile name as a Q_PROPERTY of > KonqMainWindow > (of type QString), and access it from the sidebar using > topLevelWidget()->property("..."). > > If the sidebar needs to be notified when the current profile name > changes, > then it's a bit more tricky, this would need a custom event I guess > (not a dcop signal, since it would then be difficult to know which > mainwindow > it's about). To define a new custom event, see libkonq/konq_events.* > and the > code in KonqMainWindow which sends events to the views. > thanks a lot. i will try to do this. cheers Andrunko _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<