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

kget

  • sources
  • kde-4.12
  • kdenetwork
  • kget
  • transfer-plugins
  • kio
transferKioFactory.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2 
3  Copyright (C) 2004 Dario Massarin <nekkar@libero.it>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 */
10 
11 #ifndef KIO_FACTORY_H
12 #define KIO_FACTORY_H
13 
14 #include "core/plugin/transferfactory.h"
15 
16 class Transfer;
17 class TransferGroup;
18 class Scheduler;
19 
20 class TransferKioFactory : public TransferFactory
21 {
22  Q_OBJECT
23  public:
24  TransferKioFactory(QObject *parent, const QVariantList &args);
25  ~TransferKioFactory();
26 
27  Transfer * createTransfer( const KUrl &srcUrl, const KUrl &destUrl,
28  TransferGroup * parent, Scheduler * scheduler,
29  const QDomElement * e = 0 );
30 
31  QString displayName(){return "HTTP(s) / FTP(s)";}
32 
33  bool isSupported(const KUrl &url) const;
34  QStringList addsProtocols() const;
35 };
36 
37 #endif
TransferGroup
class TransferGroup:
Definition: transfergroup.h:46
Scheduler
Scheduler class: what handle all the jobs in kget.
Definition: scheduler.h:32
TransferKioFactory::isSupported
bool isSupported(const KUrl &url) const
Definition: transferKioFactory.cpp:44
TransferKioFactory
Definition: transferKioFactory.h:20
TransferKioFactory::addsProtocols
QStringList addsProtocols() const
Returns a list of protocols for which the TransferFactory adds support.
Definition: transferKioFactory.cpp:51
QObject
TransferKioFactory::displayName
QString displayName()
Definition: transferKioFactory.h:31
transferfactory.h
TransferKioFactory::createTransfer
Transfer * createTransfer(const KUrl &srcUrl, const KUrl &destUrl, TransferGroup *parent, Scheduler *scheduler, const QDomElement *e=0)
Definition: transferKioFactory.cpp:30
TransferKioFactory::~TransferKioFactory
~TransferKioFactory()
Definition: transferKioFactory.cpp:26
TransferKioFactory::TransferKioFactory
TransferKioFactory(QObject *parent, const QVariantList &args)
Definition: transferKioFactory.cpp:21
TransferFactory
TransferFactory.
Definition: transferfactory.h:52
Transfer
Definition: transfer.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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