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

kopete/libkopete

  • Kopete
  • FileEngine
Public Member Functions | List of all members
Kopete::FileEngine Class Reference

#include <kopetefileengine.h>

Inheritance diagram for Kopete::FileEngine:
Inheritance graph
[legend]

Public Member Functions

 FileEngine ()
 
 FileEngine (const QString &)
 
 ~FileEngine ()
 
bool atEnd () const
 
bool caseSensitive () const
 
bool close ()
 
QStringList entryList (QDir::Filters filters, const QStringList &filterNames) const
 
FileFlags fileFlags (FileFlags type) const
 
QString fileName (FileName file=DefaultName) const
 
QDateTime fileTime (FileTime time) const
 
bool isRelativePath () const
 
bool isSequential () const
 
bool mkdir (const QString &dirName, bool createParentDirectories) const
 
bool open (QIODevice::OpenMode openMode)
 
QString owner (FileOwner) const
 
uint ownerId (FileOwner) const
 
qint64 pos () const
 
qint64 read (char *data, qint64 maxlen)
 
qint64 readLine (char *data, qint64 maxlen)
 
bool remove ()
 
bool rename (const QString &newName)
 
bool rmdir (const QString &dirName, bool recurseParentDirectories) const
 
bool seek (qint64)
 
void setFileName (const QString &file)
 
bool setPermissions (uint perms)
 
bool setSize (qint64 size)
 
qint64 size () const
 
qint64 write (const char *data, qint64 len)
 
- Public Member Functions inherited from QAbstractFileEngine
virtual  ~QAbstractFileEngine ()
 
bool atEnd () const
 
virtual Iterator * beginEntryList (QFlags< QDir::Filter > filters, const QStringList &filterNames)
 
virtual bool copy (const QString &newName)
 
virtual QStringList entryList (QFlags< QDir::Filter > filters, const QStringList &filterNames) const
 
QFile::FileError error () const
 
QString errorString () const
 
virtual bool extension (Extension extension, const ExtensionOption *option, ExtensionReturn *output)
 
virtual FileFlags fileFlags (QFlags< QAbstractFileEngine::FileFlag > type) const
 
virtual bool flush ()
 
virtual int handle () const
 
virtual bool link (const QString &newName)
 
uchar * map (qint64 offset, qint64 size, QFile::MemoryMapFlags flags)
 
virtual bool open (QFlags< QIODevice::OpenModeFlag > mode)
 
virtual bool supportsExtension (Extension extension) const
 
bool unmap (uchar *address)
 

Additional Inherited Members

- Static Public Member Functions inherited from QAbstractFileEngine
QAbstractFileEngine * create (const QString &fileName)
 
- Public Attributes inherited from QAbstractFileEngine
typedef FileFlags
 
typedef Iterator
 
- Protected Member Functions inherited from QAbstractFileEngine
 QAbstractFileEngine ()
 
void setError (QFile::FileError error, const QString &errorString)
 

Detailed Description

Definition at line 37 of file kopetefileengine.h.

Constructor & Destructor Documentation

Kopete::FileEngine::FileEngine ( )

Definition at line 50 of file kopetefileengine.cpp.

Kopete::FileEngine::~FileEngine ( )

Definition at line 62 of file kopetefileengine.cpp.

Kopete::FileEngine::FileEngine ( const QString &  fileName)
explicit

Definition at line 56 of file kopetefileengine.cpp.

Member Function Documentation

bool Kopete::FileEngine::atEnd ( ) const

Definition at line 379 of file kopetefileengine.cpp.

bool Kopete::FileEngine::caseSensitive ( ) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 304 of file kopetefileengine.cpp.

bool Kopete::FileEngine::close ( )
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 239 of file kopetefileengine.cpp.

QStringList Kopete::FileEngine::entryList ( QDir::Filters  filters,
const QStringList &  filterNames 
) const

Definition at line 314 of file kopetefileengine.cpp.

FileEngine::FileFlags Kopete::FileEngine::fileFlags ( FileFlags  type) const

Definition at line 321 of file kopetefileengine.cpp.

QString Kopete::FileEngine::fileName ( FileName  file = DefaultName) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 333 of file kopetefileengine.cpp.

QDateTime Kopete::FileEngine::fileTime ( FileTime  time) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 351 of file kopetefileengine.cpp.

bool Kopete::FileEngine::isRelativePath ( ) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 309 of file kopetefileengine.cpp.

bool Kopete::FileEngine::isSequential ( ) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 268 of file kopetefileengine.cpp.

bool Kopete::FileEngine::mkdir ( const QString &  dirName,
bool  createParentDirectories 
) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 284 of file kopetefileengine.cpp.

bool Kopete::FileEngine::open ( QIODevice::OpenMode  openMode)

Definition at line 67 of file kopetefileengine.cpp.

QString Kopete::FileEngine::owner ( FileOwner  owner) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 345 of file kopetefileengine.cpp.

uint Kopete::FileEngine::ownerId ( FileOwner  owner) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 339 of file kopetefileengine.cpp.

qint64 Kopete::FileEngine::pos ( ) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 258 of file kopetefileengine.cpp.

qint64 Kopete::FileEngine::read ( char *  data,
qint64  maxlen 
)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 362 of file kopetefileengine.cpp.

qint64 Kopete::FileEngine::readLine ( char *  data,
qint64  maxlen 
)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 367 of file kopetefileengine.cpp.

bool Kopete::FileEngine::remove ( )
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 273 of file kopetefileengine.cpp.

bool Kopete::FileEngine::rename ( const QString &  newName)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 278 of file kopetefileengine.cpp.

bool Kopete::FileEngine::rmdir ( const QString &  dirName,
bool  recurseParentDirectories 
) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 291 of file kopetefileengine.cpp.

bool Kopete::FileEngine::seek ( qint64  newPos)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 263 of file kopetefileengine.cpp.

void Kopete::FileEngine::setFileName ( const QString &  file)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 357 of file kopetefileengine.cpp.

bool Kopete::FileEngine::setPermissions ( uint  perms)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 327 of file kopetefileengine.cpp.

bool Kopete::FileEngine::setSize ( qint64  size)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 298 of file kopetefileengine.cpp.

qint64 Kopete::FileEngine::size ( ) const
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 253 of file kopetefileengine.cpp.

qint64 Kopete::FileEngine::write ( const char *  data,
qint64  len 
)
virtual

Reimplemented from QAbstractFileEngine.

Definition at line 372 of file kopetefileengine.cpp.


The documentation for this class was generated from the following files:
  • kopetefileengine.h
  • kopetefileengine.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

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