QUrlInfo

#include <QtNetwork/QUrlInfo>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QUrlInfo


Overview

Public Types Index

enum PermissionSpec

ReadOwner 00400, WriteOwner 00200, ExeOwner 00100, ReadGroup 00040, WriteGroup 00020, ExeGroup 00010, ReadOther 00004, WriteOther 00002, ExeOther 00001

Public Functions Index

QUrlInfo ()
QUrlInfo (const QUrlInfo &ui)
QUrlInfo (const QString &name, int permissions, const QString &owner, const QString &group, qint64 size, const QDateTime &lastModified, const QDateTime &lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable)
QUrlInfo (const QUrl &url, int permissions, const QString &owner, const QString &group, qint64 size, const QDateTime &lastModified, const QDateTime &lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable)
virtual ~QUrlInfo ()
QStringgroup () const
boolisDir () const
boolisExecutable () const
boolisFile () const
boolisReadable () const
boolisSymLink () const
boolisValid () const
boolisWritable () const
QDateTimelastModified () const
QDateTimelastRead () const
QStringname () const
booloperator!= (const QUrlInfo &i) const
QUrlInfo &operator= (const QUrlInfo &ui)
booloperator== (const QUrlInfo &i) const
QStringowner () const
intpermissions () const
virtual voidsetDir (bool b)
virtual voidsetFile (bool b)
virtual voidsetGroup (const QString &s)
virtual voidsetLastModified (const QDateTime &dt)
voidsetLastRead (const QDateTime &dt)
virtual voidsetName (const QString &name)
virtual voidsetOwner (const QString &s)
virtual voidsetPermissions (int p)
virtual voidsetReadable (bool b)
virtual voidsetSize (qint64 size)
virtual voidsetSymLink (bool b)
virtual voidsetWritable (bool b)
qint64size () const

Static Public Functions Index

boolequal (const QUrlInfo &i1, const QUrlInfo &i2, int sortBy)
boolgreaterThan (const QUrlInfo &i1, const QUrlInfo &i2, int sortBy)
boollessThan (const QUrlInfo &i1, const QUrlInfo &i2, int sortBy)

Public Types

PermissionSpec

ReadOwner 00400
WriteOwner 00200
ExeOwner 00100
ReadGroup 00040
WriteGroup 00020
ExeGroup 00010
ReadOther 00004
WriteOther 00002
ExeOther 00001

Public Functions

QUrlInfo ()

QUrlInfo (

virtual~QUrlInfo ()

Destructor.

QString group ()

bool isDir ()

bool isExecutable ()

bool isFile ()

bool isReadable ()

bool isValid ()

bool isWritable ()

QDateTime lastModified ()

QDateTime lastRead ()

QString name ()

bool operator!= (

QUrlInfo & operator= (

bool operator== (

QString owner ()

int permissions ()

virtual void setDir (
  • boolb)

virtual void setFile (
  • boolb)

virtual void setGroup (

virtual void setLastModified (

void setLastRead (

virtual void setName (

virtual void setOwner (

virtual void setPermissions (
  • intp)

virtual void setReadable (
  • boolb)

virtual void setSize (
  • qint64size)

virtual void setWritable (
  • boolb)

qint64 size ()

Static Public Functions

bool equal (

bool greaterThan (

bool lessThan (

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus