diff options
Diffstat (limited to 'src/panels/terminal/terminalpanel.h')
| -rw-r--r-- | src/panels/terminal/terminalpanel.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h index cc27212e8..374476e1c 100644 --- a/src/panels/terminal/terminalpanel.h +++ b/src/panels/terminal/terminalpanel.h @@ -30,6 +30,10 @@ namespace KIO { class StatJob; } +namespace KParts { + class ReadOnlyPart; +} + /** * @brief Shows the terminal which is synchronized with the URL of the * active view. @@ -49,6 +53,11 @@ public slots: signals: void hideTerminalPanel(); + /** + * Is emitted if the an URL change is requested. + */ + void changeUrl(const KUrl& url); + protected: /** @see Panel::urlChanged() */ virtual bool urlChanged(); @@ -58,6 +67,7 @@ protected: private slots: void slotMostLocalUrlResult(KJob* job); + void slotKonsolePartCurrentDirectoryChanged(const QString& dir); private: void changeDir(const KUrl& url); @@ -70,6 +80,8 @@ private: QVBoxLayout* m_layout; TerminalInterfaceV2* m_terminal; QWidget* m_terminalWidget; + KParts::ReadOnlyPart* m_konsolePart; + QString m_konsolePartCurrentDirectory; }; #endif // TERMINALPANEL_H |
