summaryrefslogtreecommitdiff
path: root/libopie2
authorzecke <zecke>2004-01-10 15:12:11 (UTC)
committer zecke <zecke>2004-01-10 15:12:11 (UTC)
commit68376661758627c300aa54eee7573953134b2143 (patch) (side-by-side diff)
treed8a4254470373efd863d768b01f96a481a4d8a2a /libopie2
parentf4cd001fb21509caff3b83fc620ac092cb5f3913 (diff)
downloadopie-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
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/ostorageinfo.cpp8
-rw-r--r--libopie2/opiecore/ostorageinfo.h6
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
@@ -40,3 +40,3 @@ OStorageInfo::~OStorageInfo()
-QString OStorageInfo::getCfPath()
+QString OStorageInfo::cfPath()const
{
@@ -56,3 +56,2 @@ QString OStorageInfo::getCfPath()
/*!
-* @fn QString StorageInfo::getSdPath()
* @brief returns the Mount-Path of Sd Card
@@ -60,3 +59,3 @@ QString OStorageInfo::getCfPath()
*/
-QString OStorageInfo::getSdPath()
+QString OStorageInfo::sdPath()const
{
@@ -76,3 +75,2 @@ QString OStorageInfo::getSdPath()
/*!
-* @fn QString StorageInfo::getMmcPath()
* @brief returns the Mount-Path of Mmc Card
@@ -80,3 +78,3 @@ QString OStorageInfo::getSdPath()
*/
-QString OStorageInfo::getMmcPath()
+QString OStorageInfo::mmcPath()const
{
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
@@ -43,5 +43,5 @@ public:
- QString getCfPath();
- QString getSdPath();
- QString getMmcPath();
+ QString cfPath()const;
+ QString sdPath()const;
+ QString mmcPath()const;
};