aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase4/files/patch-kioslave_media_kdedmodule_fstabbackend.h
blob: e9ceadf8e9b7ded245e7d506deba8c0ce9d57438 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- kioslave/media/kdedmodule/fstabbackend.h
+++ kioslave/media/kdedmodule/fstabbackend.h
@@ -24,6 +24,10 @@
 #include <qobject.h>
 #include <qstringlist.h>
 
+#ifdef Q_OS_FREEBSD
+#include <qtimer.h>
+#endif
+
 class FstabBackend : public QObject, public BackendBase
 {
 Q_OBJECT
@@ -38,17 +42,20 @@
 	                  QString &label);
 private slots:
 	void slotDirty(const QString &path);
-
-private:
 	void handleFstabChange();
 	void handleMtabChange();
 
+private:
 	static QString generateId(const QString &devNode,
 	                          const QString &mountPoint);
-	static QString generateName(const QString &devNode);
+	static QString generateName(const QString &devNode,
+	                            const QString &fsType);
 
 	QStringList m_mtabIds;
 	QStringList m_fstabIds;
+#ifdef Q_OS_FREEBSD
+	QTimer m_mtabTimer;
+#endif
 };
 
 #endif