Konsole
Application.cpp
Go to the documentation of this file.
385 Profile::Ptr Application::processProfileChangeArgs(KCmdLineArgs* args, Profile::Ptr baseProfile)
static SessionManager * instance()
Returns the session manager instance.
Definition: SessionManager.cpp:69
Represents a terminal session consisting of a pseudo-teletype and a terminal emulation.
Definition: Session.h:78
QStringList availableProfilePaths() const
Searches for available profiles on-disk and returns a list of paths of profiles which can be loaded...
Definition: ProfileManager.cpp:190
Parses an input string consisting of property names and assigned values and returns a table of proper...
Definition: Profile.h:681
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
const T & at(int i) const
void setMenuBarInitialVisibility(bool visible)
Set the initial visibility of the menubar.
Definition: MainWindow.cpp:805
(QString) The format used for tab titles when the session is running a remote command (eg...
Definition: Profile.h:116
virtual int newInstance()
Creates a new main window and opens a default terminal session.
Definition: Application.cpp:100
MainWindow * newMainWindow()
Creates a new, empty main window and connects to its newSessionRequest() and newWindowRequest() signa...
Definition: Application.cpp:71
QString currentPath()
Represents a terminal set-up which can be used to set the initial state of new terminal sessions or a...
Definition: Profile.h:60
(QString) The initial working directory for sessions created using this profile.
Definition: Profile.h:108
int size() const
(QString) The command to execute ( excluding arguments ) when creating a new terminal session using t...
Definition: Profile.h:93
Profile::Ptr defaultProfile() const
Returns a Profile object describing the default profile.
Definition: ProfileManager.cpp:308
void saveSettings()
Saves settings (favorites, shortcuts, default profile etc.) to disk.
Definition: ProfileManager.cpp:272
A class to parse and extract information about shell commands.
Definition: ShellCommand.h:52
void createView(Session *session)
create view for the specified session
Definition: MainWindow.cpp:519
static ProfileManager * instance()
Returns the profile manager instance.
Definition: ProfileManager.cpp:114
bool isEmpty() const
const char * constData() const
(QStringList) The arguments which are passed to the program specified by the Command property when cr...
Definition: Profile.h:98
void viewFullScreen(bool fullScreen)
Definition: MainWindow.cpp:362
QByteArray toLocal8Bit() const
Item next()
QHash< Profile::Property, QVariant > parse(const QString &input)
Parses an input string consisting of property names and assigned values and returns a table of proper...
Definition: Profile.cpp:305
QString mid(int position, int n) const
QPoint pos()
QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries)
void setAutoClose(bool close)
Specifies whether to close the session automatically when the terminal process terminates.
Definition: Session.cpp:1143
bool contains(const Key &key) const
Profile::Ptr loadProfile(const QString &path)
Loads a profile from the specified path and registers it with the ProfileManager. ...
Definition: ProfileManager.cpp:119
void setNavigationVisibility(int visibility)
Definition: MainWindow.cpp:719
(QString) The format used for tab titles when running normal commands.
Definition: Profile.h:112
Session * createSession(Profile::Ptr profile, const QString &directory)
Create a new session.
Definition: MainWindow.cpp:469
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
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.