┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 269c71844..c1411319a 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -49,6 +49,7 @@ class KNewMenu;
class KTabBar;
class KUrl;
class QSplitter;
+class KJob;
/**
* @short Main window for Dolphin.
@@ -78,7 +79,7 @@ public:
* option is enabled, 2 directories are collected within one tab.
*/
void openDirectories(const QList<KUrl>& dirs);
-
+
/**
* Opens the directory which contains the files \p files
* and selects all files (implements the --select option
@@ -423,6 +424,12 @@ private slots:
*/
void handleUrl(const KUrl& url);
+ /**
+ * setUrlAsCaption will trigger a stat job which reports its result in
+ * this slot.
+ */
+ void slotCaptionStatFinished( KJob* job );
+
private:
DolphinMainWindow(int id);
void init();
@@ -523,6 +530,8 @@ private:
DolphinViewActionHandler* m_actionHandler;
DolphinRemoteEncoding* m_remoteEncoding;
QPointer<DolphinSettingsDialog> m_settingsDialog;
+
+ KJob* m_captionStatJob;
};
inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const