kget
bttransferfactory.cpp
Go to the documentation of this file.
34 KGet::showNotification(0, "error", i18n("Cannot initialize libktorrent. Torrent support might not work."));
57 TransferHandler * BTTransferFactory::createTransferHandler(Transfer * transfer, Scheduler * scheduler)
84 KAction *openAdvancedDetailsAction = new KAction(KIcon("document-open"), i18n("&Advanced Details"), this);
86 connect(openAdvancedDetailsAction, SIGNAL(triggered()), bttransfer, SLOT(createAdvancedDetails()));
103 TransferDataSource * BTTransferFactory::createTransferDataSource(const KUrl &srcUrl, const QDomElement &type, QObject *parent)
Definition: bttransferfactory.h:15
This Class is an interface for inter-plugins data change.
Definition: transferdatasource.h:26
bt::TorrentControl * torrentControl() const
Definition: bttransferhandler.h:44
const QList< KAction * > actions(TransferHandler *handler=0)
Definition: bttransferfactory.cpp:77
void append(const T &value)
TransferHandler * createTransferHandler(Transfer *transfer, Scheduler *scheduler)
Definition: bttransferfactory.cpp:57
Definition: bttransfer.h:30
TransferDataSource * createTransferDataSource(const KUrl &srcUrl, const QDomElement &type, QObject *parent)
Returns a Data Source.
Definition: bttransferfactory.cpp:103
QWidget * createDetailsWidget(TransferHandler *transfer)
Definition: bttransferfactory.cpp:70
Definition: btdetailswidget.h:25
Transfer * createTransfer(const KUrl &srcUrl, const KUrl &destUrl, TransferGroup *parent, Scheduler *scheduler, const QDomElement *e=0)
Definition: bttransferfactory.cpp:43
bool isSupported(const KUrl &url) const
Definition: bttransferfactory.cpp:113
static KNotification * showNotification(QWidget *parent, const QString &eventType, const QString &text, const QString &icon=QString("dialog-error"), const QString &title=i18n("KGet"), const KNotification::NotificationFlags &flags=KNotification::CloseOnTimeout)
Shows a knotification.
Definition: kget.cpp:1281
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: bttransferhandler.h:29
Definition: transfer.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.