diff --git a/src/kde_terminal_interface.h b/src/kde_terminal_interface.h --- a/src/kde_terminal_interface.h +++ b/src/kde_terminal_interface.h @@ -123,6 +123,31 @@ * Returns the current working directory */ virtual QString currentWorkingDirectory() const = 0; + + /** + * Returns the names of available profiles. + */ + virtual QStringList getAvailableProfiles() const = 0; + + /** + * Returns the path where @p profileName is saved. + */ + virtual QString getProfilePath(const QString &profileName) const = 0; + + /** + * Returns the name of the currently active profile. + */ + virtual QString getCurrentProfileName() const = 0; + + /** + * Changes the currently active profile to @p profileName. + */ + virtual void changeCurrentProfile(const QString &profileName) = 0; + + /** + * Returns the property @p profileProperty of the currently active profile. + */ + virtual QVariant getProfileProperty(const QString &profileProperty) const = 0; }; Q_DECLARE_INTERFACE(TerminalInterface, "org.kde.TerminalInterface")