• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Konsole

  • Konsole
  • ProfileList
Signals | Public Member Functions | List of all members
Konsole::ProfileList Class Reference

#include <ProfileList.h>

Inheritance diagram for Konsole::ProfileList:
Inheritance graph
[legend]

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
addShortcutsTrue if the shortcuts associated with profiles in the session manager should be added to the actions
parentThe 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.

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
profileThe 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:
  • ProfileList.h
  • ProfileList.cpp
This file is part of the KDE documentation.
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.

Konsole

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

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal