#include <nqueue.h>
Public Types | |
| enum | Side { Left = 0, Right, Other } |
| Enumerated values for handling the GUI NNet connections. More... | |
Public Slots | |
| void | startQueue () |
| Start the queue transfer. | |
| void | stopQueue () |
| Abort/Stop the queue transfer. | |
| void | pauseQueue () |
| Pause the queue transfer. Stops, but doesn't abort. | |
Signals | |
| void | log (NNet::logType, QString) |
| Logs informational text to nvemFTPs log window. | |
Public Member Functions | |
| NQueue (QWidget *parent=0, const char *name=0, WFlags f=0) | |
| Create a QListView that acts as the scheduler/dispatcher for nvemFTP. | |
| virtual | ~NQueue () |
| Destroys the Queue, any entries it contained, and any NNet objects allocated. | |
| void | cd (Side side, QString path) |
| Change the directory on side to path. | |
| void | get (Side side, QString name, QString localname) |
| Retrieve the file name from side bypassing the queue, and saving it to localname. | |
| void | put (Side side, QString name, QString localname) |
| Upload the file localname to name on side bypassing the queue. | |
| void | queue (const QUrl srcUrl, const QUrlInfo srcInfo, const QUrl dstUrl, const QString dstName) |
| Queue a new entry. | |
| NNet * | newNNet (Side side, QString protocol) |
| Create a new NNet object for Side side that uses protocol. | |
| void | delNNet (Side side) |
| Destroy the NNet object current associated with Side side. | |
Friends | |
| class | NQueueItem |
| class | NQueueHost |
This will store all connections and queue entries within a linked list (the same as QListView), with all NQueueItem entries below their respective NQueueHost entries.
|
|
Enumerated values for handling the GUI NNet connections.
|
|
||||||||||||||||
|
Create a QListView that acts as the scheduler/dispatcher for nvemFTP.
|
|
|
Destroys the Queue, any entries it contained, and any NNet objects allocated.
|
|
||||||||||||
|
Change the directory on side to path.
|
|
|
Destroy the NNet object current associated with Side side.
|
|
||||||||||||||||
|
Retrieve the file name from side bypassing the queue, and saving it to localname.
|
|
||||||||||||
|
Logs informational text to nvemFTPs log window.
|
|
||||||||||||
|
Create a new NNet object for Side side that uses protocol.
|
|
|
Pause the queue transfer. Stops, but doesn't abort.
|
|
||||||||||||||||
|
Upload the file localname to name on side bypassing the queue.
|
|
||||||||||||||||||||
|
Queue a new entry.
|
|
|
Start the queue transfer.
|
|
|
Abort/Stop the queue transfer.
|
1.3