• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Konsole

Konsole::ProfileList

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>

Inheritance diagram for Konsole::ProfileList:

Inheritance graph
[legend]

List of all members.


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

QList< QAction * > ProfileList::actions (  ) 

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.

void Konsole::ProfileList::actionsChanged ( const QList< QAction * > &  actions  )  [signal]

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 
)

TODO: Document me.

Definition at line 122 of file ProfileList.cpp.


The documentation for this class was generated from the following files:
  • ProfileList.h
  • ProfileList.cpp

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal