-rw-r--r-- | libopie2/opiecore/ostorageinfo.cpp | 8 | ||||
-rw-r--r-- | libopie2/opiecore/ostorageinfo.h | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/libopie2/opiecore/ostorageinfo.cpp b/libopie2/opiecore/ostorageinfo.cpp index cf9dc6c..6712282 100644 --- a/libopie2/opiecore/ostorageinfo.cpp +++ b/libopie2/opiecore/ostorageinfo.cpp | |||
@@ -37,9 +37,9 @@ OStorageInfo::OStorageInfo( QObject *parent ) | |||
37 | OStorageInfo::~OStorageInfo() | 37 | OStorageInfo::~OStorageInfo() |
38 | { | 38 | { |
39 | } | 39 | } |
40 | 40 | ||
41 | QString OStorageInfo::getCfPath() | 41 | QString OStorageInfo::cfPath()const |
42 | { | 42 | { |
43 | QString r = ""; | 43 | QString r = ""; |
44 | 44 | ||
45 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) | 45 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) |
@@ -53,13 +53,12 @@ QString OStorageInfo::getCfPath() | |||
53 | return r; | 53 | return r; |
54 | } | 54 | } |
55 | 55 | ||
56 | /*! | 56 | /*! |
57 | * @fn QString StorageInfo::getSdPath() | ||
58 | * @brief returns the Mount-Path of Sd Card | 57 | * @brief returns the Mount-Path of Sd Card |
59 | * | 58 | * |
60 | */ | 59 | */ |
61 | QString OStorageInfo::getSdPath() | 60 | QString OStorageInfo::sdPath()const |
62 | { | 61 | { |
63 | QString r = ""; | 62 | QString r = ""; |
64 | 63 | ||
65 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) | 64 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) |
@@ -73,13 +72,12 @@ QString OStorageInfo::getSdPath() | |||
73 | return r; | 72 | return r; |
74 | } | 73 | } |
75 | 74 | ||
76 | /*! | 75 | /*! |
77 | * @fn QString StorageInfo::getMmcPath() | ||
78 | * @brief returns the Mount-Path of Mmc Card | 76 | * @brief returns the Mount-Path of Mmc Card |
79 | * | 77 | * |
80 | */ | 78 | */ |
81 | QString OStorageInfo::getMmcPath() | 79 | QString OStorageInfo::mmcPath()const |
82 | { | 80 | { |
83 | QString r = ""; | 81 | QString r = ""; |
84 | 82 | ||
85 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) | 83 | for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) |
diff --git a/libopie2/opiecore/ostorageinfo.h b/libopie2/opiecore/ostorageinfo.h index ba87ff4..9b61a2e 100644 --- a/libopie2/opiecore/ostorageinfo.h +++ b/libopie2/opiecore/ostorageinfo.h | |||
@@ -40,10 +40,10 @@ class OStorageInfo : public StorageInfo | |||
40 | public: | 40 | public: |
41 | OStorageInfo( QObject *parent=0 ); | 41 | OStorageInfo( QObject *parent=0 ); |
42 | ~OStorageInfo(); | 42 | ~OStorageInfo(); |
43 | 43 | ||
44 | QString getCfPath(); | 44 | QString cfPath()const; |
45 | QString getSdPath(); | 45 | QString sdPath()const; |
46 | QString getMmcPath(); | 46 | QString mmcPath()const; |
47 | }; | 47 | }; |
48 | 48 | ||
49 | #endif // OSTORAGE_H | 49 | #endif // OSTORAGE_H |