• 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
  • mmsthreads
mmstransferfactory.h
Go to the documentation of this file.
1 /*
2  This file is part of the KDE project
3  Copyright (C) 2011 Ernesto Rodriguez Ortiz <eortiz@uci.cu>
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18 */
19 
20 #ifndef MMSTRANSFERFACTORY_H
21 #define MMSTRANSFERFACTORY_H
22 
23 #include "core/plugin/transferfactory.h"
24 #include "core/transferhandler.h"
25 
26 class Transfer;
27 class TransferGroup;
28 class Scheduler;
29 
30 class MmsTransferFactory : public TransferFactory
31 {
32  Q_OBJECT
33  public:
34  MmsTransferFactory(QObject *parent, const QVariantList &args);
35  ~MmsTransferFactory();
36 
37  Transfer * createTransfer( const KUrl &srcUrl, const KUrl &destUrl,
38  TransferGroup * parent, Scheduler * scheduler,
39  const QDomElement * e = 0 );
40 
41  TransferHandler * createTransferHandler(Transfer * transfer,
42  Scheduler * scheduler) {return new TransferHandler(transfer, scheduler);}
43  QWidget * createDetailsWidget( TransferHandler * transfer );
44 
45  const QList<KAction *> actions(TransferHandler *handler = 0);
46 
47  bool isSupported(const KUrl &url) const;
48 
49  QString displayName(){return "mms";}
50 
51 };
52 
53 #endif
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
MmsTransferFactory::displayName
QString displayName()
Definition: mmstransferfactory.h:49
MmsTransferFactory::actions
const QList< KAction * > actions(TransferHandler *handler=0)
Definition: mmstransferfactory.cpp:56
QWidget
MmsTransferFactory::createTransferHandler
TransferHandler * createTransferHandler(Transfer *transfer, Scheduler *scheduler)
Definition: mmstransferfactory.h:41
QObject
transferfactory.h
MmsTransferFactory::isSupported
bool isSupported(const KUrl &url) const
Definition: mmstransferfactory.cpp:62
MmsTransferFactory::createDetailsWidget
QWidget * createDetailsWidget(TransferHandler *transfer)
Definition: mmstransferfactory.cpp:50
MmsTransferFactory
Definition: mmstransferfactory.h:30
MmsTransferFactory::~MmsTransferFactory
~MmsTransferFactory()
Definition: mmstransferfactory.cpp:32
transferhandler.h
MmsTransferFactory::MmsTransferFactory
MmsTransferFactory(QObject *parent, const QVariantList &args)
Definition: mmstransferfactory.cpp:28
TransferFactory
TransferFactory.
Definition: transferfactory.h:52
MmsTransferFactory::createTransfer
Transfer * createTransfer(const KUrl &srcUrl, const KUrl &destUrl, TransferGroup *parent, Scheduler *scheduler, const QDomElement *e=0)
Definition: mmstransferfactory.cpp:35
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