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

Konsole

  • Konsole
  • EditProfileDialog
Public Slots | Public Member Functions | Protected Member Functions | List of all members
Konsole::EditProfileDialog Class Reference

#include <EditProfileDialog.h>

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

Public Slots

virtual void accept ()
 
virtual void reject ()
 

Public Member Functions

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

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 initialized 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 persistent argument set to false. These changes are then un-done when the dialog is closed.

Definition at line 61 of file EditProfileDialog.h.

Constructor & Destructor Documentation

EditProfileDialog::EditProfileDialog ( QWidget *  parent = 0)
explicit

Constructs a new dialog with the specified parent.

Definition at line 67 of file EditProfileDialog.cpp.

EditProfileDialog::~EditProfileDialog ( )
virtual

Definition at line 101 of file EditProfileDialog.cpp.

Member Function Documentation

void EditProfileDialog::accept ( )
virtualslot

Definition at line 129 of file EditProfileDialog.cpp.

bool EditProfileDialog::eventFilter ( QObject *  watched,
QEvent *  event 
)
protectedvirtual

Definition at line 575 of file EditProfileDialog.cpp.

const Profile::Ptr EditProfileDialog::lookupProfile ( ) const

Definition at line 197 of file EditProfileDialog.cpp.

void EditProfileDialog::reject ( )
virtualslot

Definition at line 124 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 231 of file EditProfileDialog.cpp.

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

Initializes 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
profileThe profile to be edited

Definition at line 177 of file EditProfileDialog.cpp.


The documentation for this class was generated from the following files:
  • EditProfileDialog.h
  • EditProfileDialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 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
  • 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