• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • kdecore
  • io
Macros | Functions | Variables
kmountpoint.cpp File Reference
#include "kmountpoint.h"
#include <config.h>
#include <stdlib.h>
#include <QtCore/QFile>
#include <QtCore/QTextIStream>
#include "kstandarddirs.h"
#include <windows.h>
#include <QDir>
#include "kdebug.h"
Include dependency graph for kmountpoint.cpp:

Go to the source code of this file.

Macros

#define ENDMNTENT   fclose
 
#define FSNAME(var)   var.mnt_special
 
#define FSTAB   "/etc/fstab"
 
#define GETMNTENT(file, var)   (getmntent(file, &var) == 0)
 
#define MNTTAB   "/etc/mnttab"
 
#define MOUNTOPTIONS(var)   var.mnt_mntopts
 
#define MOUNTPOINT(var)   var.mnt_mountp
 
#define MOUNTTYPE(var)   var.mnt_fstype
 
#define SETMNTENT   fopen
 
#define STRUCT_MNTENT   struct mnttab
 
#define STRUCT_SETMNTENT   FILE *
 

Functions

static QString devNameFromOptions (const QStringList &options)
 
static bool pathsAreParentAndChildOrEqual (const QString &parent, const QString &child)
 

Variables

static Qt::CaseSensitivity cs = Qt::CaseInsensitive
 

Macro Definition Documentation

#define ENDMNTENT   fclose

Definition at line 147 of file kmountpoint.cpp.

#define FSNAME (   var)    var.mnt_special

Definition at line 154 of file kmountpoint.cpp.

#define FSTAB   "/etc/fstab"

Definition at line 103 of file kmountpoint.cpp.

#define GETMNTENT (   file,
  var 
)    (getmntent(file, &var) == 0)

Definition at line 150 of file kmountpoint.cpp.

#define MNTTAB   "/etc/mnttab"

Definition at line 91 of file kmountpoint.cpp.

#define MOUNTOPTIONS (   var)    var.mnt_mntopts

Definition at line 153 of file kmountpoint.cpp.

#define MOUNTPOINT (   var)    var.mnt_mountp

Definition at line 151 of file kmountpoint.cpp.

#define MOUNTTYPE (   var)    var.mnt_fstype

Definition at line 152 of file kmountpoint.cpp.

#define SETMNTENT   fopen

Definition at line 146 of file kmountpoint.cpp.

#define STRUCT_MNTENT   struct mnttab

Definition at line 148 of file kmountpoint.cpp.

#define STRUCT_SETMNTENT   FILE *

Definition at line 149 of file kmountpoint.cpp.

Function Documentation

static QString devNameFromOptions ( const QStringList &  options)
static

When using supermount, the device name is in the options field as dev=/my/device.

Definition at line 161 of file kmountpoint.cpp.

static bool pathsAreParentAndChildOrEqual ( const QString &  parent,
const QString &  child 
)
static

Definition at line 484 of file kmountpoint.cpp.

Variable Documentation

Qt::CaseSensitivity cs = Qt::CaseInsensitive
static

Definition at line 37 of file kmountpoint.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal