This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Codebase: How to access Session Data

Tags: None
(comma "," separated)
sebel
Registered Member
Posts
1
Karma
0
Hey guys,

I am currently trying to change the name of the saved bookmarks.

Therefore I want to access in the file BookmarkHandler.cpp to Session::getDynamicTitle()

After embedding the Session.h header the compiler complains:
cannot call member function ‘QString Konsole::Session::getDynamicTitle()’ without object

I think this is because I have to must query the "active" session and access their data.

I don't really know how to get the current session id/link/pointer/? to access the data.

Can someone guide me to the correct direction?

Thanks for the help.
I am not used to high level stuff, only embedded C :X


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]