FtpView Class Reference

QListView; Specialized QListView for holding directory listings. More...

#include <ftpview.h>


Public Slots

void slotInsertEntries (int, const QValueList< QUrlInfo > &info)
 Adds the contents of info to the QListView as new FtpViewItem objects.

void slotInsertEntries (const QValueList< QUrlInfo > &info)
 Same as above.

void clear ()
 Empties the contents of the QListView by destroying all FtpViewItems.


Signals

void itemSelected (const int, const QString, const QUrlInfo &)
 A new item has been selected.

void transferItem (const int, const QString, const QUrlInfo &)
 A transfer was requested.

void removeItem (const int, const QString, const QUrlInfo &)
 A file remove/deletion was requested.

void abortRequested (const int)
 Current operation abort requested.

void listRequested (const int)
 A relisting of the directory contents has been requested.

void rawRequested (const int)
 User has requested to enter a raw custom command.


Public Member Functions

 FtpView (QWidget *parent, int id)
 Configures the QListView, and sets up the columns and context menus.

virtual ~FtpView ()
 Destroys the QListView and all FtpViewItem's within.

QValueList< QUrlInfo > selectedItems () const
 Returns a QValueList containing the QUrlInfo of each item that is currently selected.

void setPath (QString path)
 Set the current path of the directory listing being displayed.


Detailed Description

QListView; Specialized QListView for holding directory listings.


Constructor & Destructor Documentation

FtpView::FtpView QWidget *  parent,
int  id
 

Configures the QListView, and sets up the columns and context menus.

FtpView::~FtpView  )  [virtual]
 

Destroys the QListView and all FtpViewItem's within.


Member Function Documentation

void FtpView::abortRequested const  int  )  [signal]
 

Current operation abort requested.

void FtpView::clear  )  [slot]
 

Empties the contents of the QListView by destroying all FtpViewItems.

void FtpView::itemSelected const  int,
const  QString,
const QUrlInfo & 
[signal]
 

A new item has been selected.

void FtpView::listRequested const  int  )  [signal]
 

A relisting of the directory contents has been requested.

void FtpView::rawRequested const  int  )  [signal]
 

User has requested to enter a raw custom command.

void FtpView::removeItem const  int,
const  QString,
const QUrlInfo & 
[signal]
 

A file remove/deletion was requested.

QValueList< QUrlInfo > FtpView::selectedItems  )  const
 

Returns a QValueList containing the QUrlInfo of each item that is currently selected.

void FtpView::setPath QString  path  ) 
 

Set the current path of the directory listing being displayed.

void FtpView::slotInsertEntries const QValueList< QUrlInfo > &  info  )  [slot]
 

Same as above.

void FtpView::slotInsertEntries int  ,
const QValueList< QUrlInfo > &  info
[slot]
 

Adds the contents of info to the QListView as new FtpViewItem objects.

void FtpView::transferItem const  int,
const  QString,
const QUrlInfo & 
[signal]
 

A transfer was requested.


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