• 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
  • metalink
metalinkfactory.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  Copyright (C) 2012 Aish Raj Dahal <dahalaishraj@gmail.com>
5 
6  This program is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 */
11 
12 #ifndef METALINK_FACTORY_H
13 #define METALINK_FACTORY_H
14 
15 #include "core/plugin/transferfactory.h"
16 #include "ui/metalinkcreator/metalinker.h"
17 
18 class Transfer;
19 class TransferGroup;
20 class Scheduler;
21 
22 
23 class MetalinkFactory : public TransferFactory
24 {
25  Q_OBJECT
26  public:
27  MetalinkFactory(QObject *parent, const QVariantList &args);
28  ~MetalinkFactory();
29 
30  Transfer * createTransfer( const KUrl &srcUrl, const KUrl &destUrl,
31  TransferGroup * parent, Scheduler * scheduler,
32  const QDomElement * e = 0 );
33 
34  QString displayName() { return "MetaLink"; }
41  bool isSupported(const KUrl &url) const;
42 };
43 
44 #endif
MetalinkFactory::displayName
QString displayName()
Definition: metalinkfactory.h:34
TransferGroup
class TransferGroup:
Definition: transfergroup.h:46
Scheduler
Scheduler class: what handle all the jobs in kget.
Definition: scheduler.h:32
MetalinkFactory
Definition: metalinkfactory.h:23
QObject
transferfactory.h
MetalinkFactory::MetalinkFactory
MetalinkFactory(QObject *parent, const QVariantList &args)
Definition: metalinkfactory.cpp:24
MetalinkFactory::createTransfer
Transfer * createTransfer(const KUrl &srcUrl, const KUrl &destUrl, TransferGroup *parent, Scheduler *scheduler, const QDomElement *e=0)
Definition: metalinkfactory.cpp:33
metalinker.h
MetalinkFactory::isSupported
bool isSupported(const KUrl &url) const
Checks if a URL is supported by this plugin.
Definition: metalinkfactory.cpp:57
MetalinkFactory::~MetalinkFactory
~MetalinkFactory()
Definition: metalinkfactory.cpp:29
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: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