summaryrefslogtreecommitdiff
authorzecke <zecke>2004-01-10 15:12:11 (UTC)
committer zecke <zecke>2004-01-10 15:12:11 (UTC)
commit68376661758627c300aa54eee7573953134b2143 (patch) (unidiff)
treed8a4254470373efd863d768b01f96a481a4d8a2a
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 (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/ostorageinfo.cpp8
-rw-r--r--libopie2/opiecore/ostorageinfo.h6
-rw-r--r--noncore/settings/backup/backuprestore.cpp12
3 files changed, 12 insertions, 14 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()
40 40
41QString OStorageInfo::getCfPath() 41QString OStorageInfo::cfPath()const
42{ 42{
@@ -56,3 +56,2 @@ QString OStorageInfo::getCfPath()
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
@@ -60,3 +59,3 @@ QString OStorageInfo::getCfPath()
60*/ 59*/
61QString OStorageInfo::getSdPath() 60QString OStorageInfo::sdPath()const
62{ 61{
@@ -76,3 +75,2 @@ QString OStorageInfo::getSdPath()
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
@@ -80,3 +78,3 @@ QString OStorageInfo::getSdPath()
80*/ 78*/
81QString OStorageInfo::getMmcPath() 79QString OStorageInfo::mmcPath()const
82{ 80{
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:
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};
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp
index eb69a70..2d79384 100644
--- a/noncore/settings/backup/backuprestore.cpp
+++ b/noncore/settings/backup/backuprestore.cpp
@@ -72,4 +72,4 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f
72 { 72 {
73 backupLocations.insert( "CF", storage.getCfPath() ); 73 backupLocations.insert( "CF", storage.cfPath() );
74 qDebug( "Cf Path: " + storage.getCfPath() ); 74 qDebug( "Cf Path: " + storage.cfPath() );
75 } 75 }
@@ -77,4 +77,4 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f
77 { 77 {
78 backupLocations.insert( "SD", storage.getSdPath() ); 78 backupLocations.insert( "SD", storage.sdPath() );
79 qDebug( " Sd Path: " + storage.getSdPath() ); 79 qDebug( " Sd Path: " + storage.sdPath() );
80 } 80 }
@@ -82,4 +82,4 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f
82 { 82 {
83 backupLocations.insert( "MMC", storage.getMmcPath() ); 83 backupLocations.insert( "MMC", storage.mmcPath() );
84 qDebug( "Mmc Path: " + storage.getMmcPath() ); 84 qDebug( "Mmc Path: " + storage.mmcPath() );
85 } 85 }