diff options
| author | David Faure <[email protected]> | 2009-10-02 10:55:59 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2009-10-02 10:55:59 +0000 |
| commit | 6a20b9c96295fa73434ec83c7ae4fccbbd7e3fc5 (patch) | |
| tree | 870b5bf2b4d1bfea3af4b9642cb9a9d11b4b0306 /src/panels/terminal/terminalpanel.h | |
| parent | ebf4f3c82f344e40fdc6aa5445e60a0d02fac4f1 (diff) | |
Make "most local url" determination asynchronous so that it doesn't block the GUI for a long time
(e.g. when accessing the non-existing sftp://192.168.1.100/home)
and only run this job if the terminal panel is shown (or at the time when it is made visible).
Sorry kdebase users, you get to update kdelibs again.
BUG: 202176
svn path=/trunk/KDE/kdebase/apps/; revision=1030480
Diffstat (limited to 'src/panels/terminal/terminalpanel.h')
| -rw-r--r-- | src/panels/terminal/terminalpanel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h index 4e060bbef..7b08483f6 100644 --- a/src/panels/terminal/terminalpanel.h +++ b/src/panels/terminal/terminalpanel.h @@ -53,6 +53,13 @@ protected: /** @see QWidget::showEvent() */ virtual void showEvent(QShowEvent* event); +private slots: + void slotMostLocalUrlResult(KJob* job); + +private: + void cdUrl(const KUrl& url); + void cdDirectory(const QString& path); + private: QVBoxLayout* m_layout; TerminalInterfaceV2* m_terminal; |
