summaryrefslogtreecommitdiffstats
path: root/kdecore/kmountpoint.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
commite16866e072f94410321d70daedbcb855ea878cac (patch)
treeee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /kdecore/kmountpoint.h
parenta58c20c1a7593631a1b50213c805507ebc16adaf (diff)
downloadtdelibs-e16866e072f94410321d70daedbcb855ea878cac.tar.gz
tdelibs-e16866e072f94410321d70daedbcb855ea878cac.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'kdecore/kmountpoint.h')
-rw-r--r--kdecore/kmountpoint.h116
1 files changed, 0 insertions, 116 deletions
diff --git a/kdecore/kmountpoint.h b/kdecore/kmountpoint.h
deleted file mode 100644
index fd4fe9c5d..000000000
--- a/kdecore/kmountpoint.h
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- This file is part of the KDE libraries
- Copyright (c) 2003 Waldo Bastian <bastian@kde.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License version 2 as published by the Free Software Foundation.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef _KMOUNTPOINT_H_
-#define _KMOUNTPOINT_H_
-
-#include <tqptrlist.h>
-#include <tqstringlist.h>
-
-#include <ksharedptr.h>
-
-/**
- * The KMountPoint class provides information about mounted and unmounted disks.
- * It provides a system independent interface to fstab.
- *
- * @author Waldo Bastian <bastian@kde.org>
- * @since 3.2
- */
-class KDECORE_EXPORT KMountPoint : public KShared
-{
- typedef signed long long int filesize_t;
-public:
- typedef KSharedPtr<KMountPoint> Ptr;
- typedef TQValueList<Ptr> List;
-public:
- enum { NeedMountOptions = 1, NeedRealDeviceName = 2 };
-
- /**
- * This function gives a list of all possible mountpoints. (fstab)
- * @param infoNeeded Flags that specify which additional information
- * should be fetched.
- */
- static KMountPoint::List possibleMountPoints(int infoNeeded=0);
-
- /**
- * This function gives a list of all currently used mountpoints. (mtab)
- * @param infoNeeded Flags that specify which additional information
- * should be fetched.
- */
- static KMountPoint::List currentMountPoints(int infoNeeded=0);
-
- /**
- * Where this filesystem gets mounted from.
- * This can refer to a device, a remote server or something else.
- */
- TQString mountedFrom() const { return m_mountedFrom; }
-
- /**
- * Canonical name of the device where the filesystem got mounted from.
- * (Or empty, if not a device)
- * Only available when the NeedRealDeviceName flag was set.
- */
- TQString realDeviceName() const { return m_device; }
-
- /**
- * Path where the filesystem is mounted or can be mounted.
- */
- TQString mountPoint() const { return m_mountPoint; }
-
- /**
- * Type of filesystem
- */
- TQString mountType() const { return m_mountType; }
-
- /**
- * Options used to mount the filesystem.
- * Only available when the NeedMountOptions flag was set.
- */
- TQStringList mountOptions() const { return m_mountOptions; }
-
- /**
- * When using supermount, the device name is in the options field
- * as dev=/my/device
- * @since 3.4
- */
- static TQString devNameFromOptions(const TQStringList &options);
-
- /**
- * Destructor
- */
- ~KMountPoint();
-
-private:
- /**
- * Constructor
- */
- KMountPoint();
-
- TQString m_mountedFrom;
- TQString m_device;
- TQString m_mountPoint;
- TQString m_mountType;
- TQStringList m_mountOptions;
-
- class KMountPointPrivate;
- KMountPointPrivate *d;
-};
-
-#endif // _KMOUNTPOINT_H_
-