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

Konsole

Konsole::EditProfileDialog

Konsole::EditProfileDialog Class Reference

A dialog which allows the user to edit a profile. More...

#include <EditProfileDialog.h>

Inheritance diagram for Konsole::EditProfileDialog:

Inheritance graph
[legend]

List of all members.


Public Slots

virtual void accept ()
virtual void reject ()

Public Member Functions

 EditProfileDialog (QWidget *parent=0)
void selectProfileName ()
void setProfile (Profile::Ptr profile)
virtual ~EditProfileDialog ()

Protected Member Functions

virtual bool eventFilter (QObject *watched, QEvent *event)

Detailed Description

A dialog which allows the user to edit a profile.

After the dialog is created, it can be initialised with the settings for a profile using setProfile(). When the user makes changes to the dialog and accepts the changes, the dialog will update the profile in the SessionManager by calling the SessionManager's changeProfile() method.

Some changes made in the dialog are preview-only changes which cause the SessionManager's changeProfile() method to be called with the persistant argument set to false. These changes are then un-done when the dialog is closed.

Definition at line 64 of file EditProfileDialog.h.


Constructor & Destructor Documentation

EditProfileDialog::EditProfileDialog ( QWidget *  parent = 0  ) 

Constructs a new dialog with the specified parent.

Definition at line 58 of file EditProfileDialog.cpp.

EditProfileDialog::~EditProfileDialog (  )  [virtual]

Definition at line 96 of file EditProfileDialog.cpp.


Member Function Documentation

void EditProfileDialog::accept (  )  [virtual, slot]

Definition at line 121 of file EditProfileDialog.cpp.

bool EditProfileDialog::eventFilter ( QObject *  watched,
QEvent *  event 
) [protected, virtual]

Definition at line 588 of file EditProfileDialog.cpp.

void EditProfileDialog::reject (  )  [virtual, slot]

Definition at line 116 of file EditProfileDialog.cpp.

void EditProfileDialog::selectProfileName (  ) 

Selects the text in the profile name edit area.

When the dialog is being used to create a new profile, this can be used to draw the user's attention to the profile name and make it easy for them to change it.

Definition at line 219 of file EditProfileDialog.cpp.

void EditProfileDialog::setProfile ( Profile::Ptr  profile  ) 

Initialises the dialog with the settings for the specified session type.

When the dialog closes, the profile will be updated in the SessionManager with the altered settings.

Parameters:
key The key for the session type provided by the SessionManager instance

Definition at line 161 of file EditProfileDialog.cpp.


The documentation for this class was generated from the following files:
  • EditProfileDialog.h
  • EditProfileDialog.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