Konsole
#include <EditProfileDialog.h>
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
|
explicit |
Constructs a new dialog with the specified parent.
Definition at line 67 of file EditProfileDialog.cpp.
|
virtual |
Definition at line 101 of file EditProfileDialog.cpp.
Member Function Documentation
|
virtualslot |
Definition at line 129 of file EditProfileDialog.cpp.
Definition at line 575 of file EditProfileDialog.cpp.
const Profile::Ptr EditProfileDialog::lookupProfile | ( | ) | const |
Definition at line 197 of file EditProfileDialog.cpp.
|
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
-
profile The profile to be edited
Definition at line 177 of file EditProfileDialog.cpp.
The documentation for this class was generated from the following files:
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.