PCManFM-Qt
Public Member Functions | Static Public Member Functions | List of all members
Fm::Path Class Reference

Public Member Functions

 Path (FmPath *path, bool takeOwnership=false)
 
 Path (const Path &other)
 
 Path (GFile *gf)
 
Path child (const char *basename)
 
Path child (const char *basename, int name_len)
 
Path relative (const char *rel)
 
Path parent ()
 
const char * basename ()
 
FmPathFlags flags ()
 
bool hasPrefix (FmPath *prefix)
 
Path schemePath ()
 
bool isNative ()
 
bool isTrash ()
 
bool isTrashRoot ()
 
bool isNativeOrTrash ()
 
char * toString ()
 
QByteArray toByteArray ()
 
char * toUri ()
 
GFile * toGfile ()
 
QString displayName (bool human_readable=true)
 
QString displayBasename ()
 
guint hash ()
 
void take (FmPath *path)
 
Pathoperator= (const Path &other)
 
bool operator== (const Path &other) const
 
bool operator!= (const Path &other) const
 
bool operator< (const Path &other) const
 
bool operator> (const Path &other) const
 
int compare (const Path &other) const
 
bool equal (const gchar *str, int n) const
 
int depth () const
 
FmPath * data () const
 

Static Public Member Functions

static Path fromPathName (const char *path_name)
 
static Path fromUri (const char *uri)
 
static Path fromDisplayName (const char *path_name)
 
static Path fromString (const char *path_str)
 
static Path fromCommandlineArg (const char *arg)
 
static Path root (void)
 
static Path home (void)
 
static Path desktop (void)
 
static Path trash (void)
 
static Path appsMenu (void)
 

The documentation for this class was generated from the following file: