KParts
kde_terminal_interface.h
35 * QMessageBox::critical(this, tr("Konsole not installed"), tr("Please install the kde konsole and try again!"), QMessageBox::Ok);
40 * KParts::ReadOnlyPart *part = service->createInstance<KParts::ReadOnlyPart>(parent, parentWidget, QVariantList());
62 * connect(part, &KParts::ReadOnlyPart::currentDirectoryChanged, this, [this](const QString &dirPath) {
TerminalInterface is an interface implemented by KonsolePart to allow developers access to the Konsol...
Definition kde_terminal_interface.h:72
virtual QString currentProfileName() const =0
Returns the name of the currently active profile.
virtual void startProgram(const QString &program, const QStringList &args)=0
This starts program, with arguments args.
virtual QString currentWorkingDirectory() const =0
Returns the current working directory.
virtual QStringList availableProfiles() const =0
Returns the names of available profiles.
virtual QString foregroundProcessName()=0
Returns sub process name.
virtual bool setCurrentProfile(const QString &profileName)=0
Changes the currently active profile to profileName.
virtual QVariant profileProperty(const QString &profileProperty) const =0
Returns the property profileProperty of the currently active profile.
virtual int foregroundProcessId()=0
Return foregound PID, If there is no foreground process running, returns -1.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 12:00:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 12:00:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.