author | zecke <zecke> | 2004-01-10 15:12:11 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-01-10 15:12:11 (UTC) |
commit | 68376661758627c300aa54eee7573953134b2143 (patch) (unidiff) | |
tree | d8a4254470373efd863d768b01f96a481a4d8a2a /libopie2 | |
parent | f4cd001fb21509caff3b83fc620ac092cb5f3913 (diff) | |
download | opie-68376661758627c300aa54eee7573953134b2143.zip opie-68376661758627c300aa54eee7573953134b2143.tar.gz opie-68376661758627c300aa54eee7573953134b2143.tar.bz2 |
-First follow Qt naming style
-use const
-Fix Doxygen comment. If above a method better skip the @fn
-Update backuprestore to use the new names
TODO: Alter filename to ostorageinfo
-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 | |||
@@ -39,5 +39,5 @@ OStorageInfo::~OStorageInfo() | |||
39 | } | 39 | } |
40 | 40 | ||
41 | QString OStorageInfo::getCfPath() | 41 | QString OStorageInfo::cfPath()const |
42 | { | 42 | { |
43 | QString r = ""; | 43 | QString r = ""; |
@@ -55,9 +55,8 @@ QString OStorageInfo::getCfPath() | |||
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 = ""; |
@@ -75,9 +74,8 @@ QString OStorageInfo::getSdPath() | |||
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 = ""; |
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 | |||
@@ -42,7 +42,7 @@ public: | |||
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 | ||