Konsole
Konsole::ProfileList Class Reference
ProfileList provides a list of actions which represent session profiles that a SessionManager can create a session from. More...
#include <ProfileList.h>

Signals | |
void | actionsChanged (const QList< QAction * > &actions) |
void | profileSelected (Profile::Ptr profile) |
Public Member Functions | |
QList< QAction * > | actions () |
ProfileList (bool addShortcuts, QObject *parent) | |
void | syncWidgetActions (QWidget *widget, bool sync) |
Detailed Description
ProfileList provides a list of actions which represent session profiles that a SessionManager can create a session from.These actions can be plugged into a GUI.
Currently only profiles marked as favorites in the SessionManager are included.
The user-data associated with each session can be passed to the createProfile() method of the SessionManager to create a new terminal session.
Definition at line 49 of file ProfileList.h.
Constructor & Destructor Documentation
ProfileList::ProfileList | ( | bool | addShortcuts, | |
QObject * | parent | |||
) |
Constructs a new session list which displays sessions that can be created by manager
.
- Parameters:
-
addShortcuts True if the shortcuts associated with profiles in the session manager should be added to the actions
Definition at line 37 of file ProfileList.cpp.
Member Function Documentation
Returns a list of actions representing the types of sessions which can be created by manager().
The user-data associated with each action is the string key that can be passed to the manager to request creation of a new session.
Definition at line 178 of file ProfileList.cpp.
Emitted when the list of actions changes.
void Konsole::ProfileList::profileSelected | ( | Profile::Ptr | profile | ) | [signal] |
Emitted when the user selects an action from the list.
- Parameters:
-
key The profile key associated with the selected action.
void ProfileList::syncWidgetActions | ( | QWidget * | widget, | |
bool | sync | |||
) |
The documentation for this class was generated from the following files: