FtpViewItem Class Reference

QListViewItem; Represents a directory entry. More...

#include <ftpview.h>


Public Member Functions

 FtpViewItem (QListView *parent, const QUrlInfo &i)
 Creates the item and adds it to the QListView.

int compare (QListViewItem *i, int col, bool ascending) const
 Compares the values of each column of this item to item i.

QString text (int c) const
 Returns serialized text for column c.

const QPixmap * pixmap (int c) const
 Returns associated pixmap for column c.

QUrlInfo entryInfo () const
 Returns the QUrlInfo for this directory entry.


Detailed Description

QListViewItem; Represents a directory entry.


Constructor & Destructor Documentation

FtpViewItem::FtpViewItem QListView *  parent,
const QUrlInfo &  i
 

Creates the item and adds it to the QListView.


Member Function Documentation

int FtpViewItem::compare QListViewItem *  i,
int  col,
bool  ascending
const
 

Compares the values of each column of this item to item i.

Column 0 is name; Column 1 is size; Column 2 is last modified.
The special entry with the name ".." will always come first.

QUrlInfo FtpViewItem::entryInfo  )  const [inline]
 

Returns the QUrlInfo for this directory entry.

const QPixmap * FtpViewItem::pixmap int  c  )  const
 

Returns associated pixmap for column c.

QString FtpViewItem::text int  c  )  const
 

Returns serialized text for column c.


The documentation for this class was generated from the following files:
Generated on Wed Oct 22 20:32:04 2003 for nvemftp by doxygen1.3