summaryrefslogtreecommitdiff
Side-by-side diff
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()
-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;
};
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
{
- backupLocations.insert( "CF", storage.getCfPath() );
- qDebug( "Cf Path: " + storage.getCfPath() );
+ backupLocations.insert( "CF", storage.cfPath() );
+ qDebug( "Cf Path: " + storage.cfPath() );
}
@@ -77,4 +77,4 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f
{
- backupLocations.insert( "SD", storage.getSdPath() );
- qDebug( " Sd Path: " + storage.getSdPath() );
+ backupLocations.insert( "SD", storage.sdPath() );
+ qDebug( " Sd Path: " + storage.sdPath() );
}
@@ -82,4 +82,4 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f
{
- backupLocations.insert( "MMC", storage.getMmcPath() );
- qDebug( "Mmc Path: " + storage.getMmcPath() );
+ backupLocations.insert( "MMC", storage.mmcPath() );
+ qDebug( "Mmc Path: " + storage.mmcPath() );
}