[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdecore
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2003-05-13 16:22:01
[Download RAW message or body]

CVS commit by hausmann: 

- const


  M +5 -5      kmountpoint.h   1.2


--- kdelibs/kdecore/kmountpoint.h  #1.1:1.2
@@ -55,5 +55,5 @@ public:
     * This can refer to a device, a remote server or something else.
     */
-   QString mountedFrom() { return m_mountedFrom; }
+   QString mountedFrom() const { return m_mountedFrom; }
 
    /**
@@ -62,15 +62,15 @@ public:
     * Only available when the @ref NeedRealDeviceName flag was set.
     */
-   QString realDeviceName() { return m_device; }
+   QString realDeviceName() const { return m_device; }
 
    /**
     * Path where the filesystem is mounted or can be mounted.
     */
-   QString mountPoint() { return m_mountPoint; }
+   QString mountPoint() const { return m_mountPoint; }
    
    /**
     * Type of filesystem
     */
-   QString mountType() { return m_mountType; }
+   QString mountType() const { return m_mountType; }
    
    /**
@@ -78,5 +78,5 @@ public:
     * Only available when the @ref NeedMountOptions flag was set.
     */
-   QStringList mountOptions() { return m_mountOptions; }
+   QStringList mountOptions() const { return m_mountOptions; }
 
    /**


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic