• 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
  • contentfetch
contentfetchfactory.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2 
3  Copyright (C) 2004 Ningyu Shi <shiningyu@gmail.com>
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 CONTENT_FETCH_FACTORY_H
12 #define CONTENT_FETCH_FACTORY_H
13 
14 #include "core/plugin/transferfactory.h"
15 
16 #include <QStringList>
17 #include <QList>
18 
19 class Transfer;
20 class TransferGroup;
21 class Scheduler;
22 
23 class ContentFetchFactory : public TransferFactory
24 {
25  Q_OBJECT
26  public:
27  ContentFetchFactory(QObject *parent, const QVariantList &args);
28  ~ContentFetchFactory();
29 
30  Transfer * createTransfer( const KUrl &srcUrl, const KUrl &destUrl,
31  TransferGroup * parent, Scheduler * scheduler,
32  const QDomElement * e = 0 );
33 
34  TransferHandler * createTransferHandler(Transfer * transfer,
35  Scheduler * scheduler);
36 
37  QWidget * createDetailsWidget( TransferHandler * transfer );
38 
39  const QList<KAction *> actions(TransferHandler *handler = 0);
40 };
41 
42 #endif // CONTENT_FETCH_FACTORY_H
TransferHandler
Class TransferHandler:
Definition: transferhandler.h:48
TransferGroup
class TransferGroup:
Definition: transfergroup.h:46
Scheduler
Scheduler class: what handle all the jobs in kget.
Definition: scheduler.h:32
ContentFetchFactory::~ContentFetchFactory
~ContentFetchFactory()
Definition: contentfetchfactory.cpp:33
QWidget
QObject
transferfactory.h
ContentFetchFactory
Definition: contentfetchfactory.h:23
ContentFetchFactory::createTransferHandler
TransferHandler * createTransferHandler(Transfer *transfer, Scheduler *scheduler)
Definition: contentfetchfactory.cpp:79
ContentFetchFactory::ContentFetchFactory
ContentFetchFactory(QObject *parent, const QVariantList &args)
Definition: contentfetchfactory.cpp:27
ContentFetchFactory::createDetailsWidget
QWidget * createDetailsWidget(TransferHandler *transfer)
Definition: contentfetchfactory.cpp:86
ContentFetchFactory::createTransfer
Transfer * createTransfer(const KUrl &srcUrl, const KUrl &destUrl, TransferGroup *parent, Scheduler *scheduler, const QDomElement *e=0)
Definition: contentfetchfactory.cpp:37
TransferFactory
TransferFactory.
Definition: transferfactory.h:52
Transfer
Definition: transfer.h:36
ContentFetchFactory::actions
const QList< KAction * > actions(TransferHandler *handler=0)
Definition: contentfetchfactory.cpp:92
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 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