┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/terminal/terminalpanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels/terminal/terminalpanel.h')
-rw-r--r--src/panels/terminal/terminalpanel.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h
index 7b08483f6..36114995e 100644
--- a/src/panels/terminal/terminalpanel.h
+++ b/src/panels/terminal/terminalpanel.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007 by Peter Penz <[email protected]> *
+ * Copyright (C) 2007-2010 by Peter Penz <[email protected]> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -26,6 +26,10 @@ class TerminalInterfaceV2;
class QVBoxLayout;
class QWidget;
+namespace KIO {
+ class StatJob;
+};
+
/**
* @brief Shows the terminal which is synchronized with the URL of the
* active view.
@@ -57,10 +61,13 @@ private slots:
void slotMostLocalUrlResult(KJob* job);
private:
- void cdUrl(const KUrl& url);
- void cdDirectory(const QString& path);
+ void changeDir(const KUrl& url);
+ void sendCdToTerminal(const QString& path);
private:
+ bool m_clearTerminal;
+ KIO::StatJob* m_mostLocalUrlJob;
+
QVBoxLayout* m_layout;
TerminalInterfaceV2* m_terminal;
QWidget* m_terminalWidget;