Konsole
#include <ProfileList.h>
Signals | |
void | actionsChanged (const QList< QAction * > &actions) |
void | profileSelected (Profile::Ptr profile) |
Public Member Functions | |
ProfileList (bool addShortcuts, QObject *parent) | |
QList< QAction * > | actions () |
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 51 of file ProfileList.h.
Constructor & Destructor Documentation
ProfileList::ProfileList | ( | bool | addShortcuts, |
QObject * | parent | ||
) |
Constructs a new profile list which displays profiles that can be used to create session.
- Parameters
-
addShortcuts True if the shortcuts associated with profiles in the session manager should be added to the actions parent The parent GUI object
Definition at line 38 of file ProfileList.cpp.
Member Function Documentation
QList< QAction * > ProfileList::actions | ( | ) |
Returns a list of actions representing profiles.
The user-data associated with each action is the corresponding profile
Definition at line 167 of file ProfileList.cpp.
|
signal |
Emitted when the list of actions changes.
|
signal |
Emitted when the user selects an action from the list.
- Parameters
-
profile The profile to select
void ProfileList::syncWidgetActions | ( | QWidget * | widget, |
bool | sync | ||
) |
TODO: Document me.
Definition at line 114 of file ProfileList.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.