• 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
  • mirrorsearch
mirrorsearchtransferdatasource.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2 
3  Copyright (C) 2008 Manolo Valdes <nolis71cu@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 MIRRORSEARCHTRANSFERDATASOURCE_H
12 #define MIRRORSEARCHTRANSFERDATASOURCE_H
13 
14 #include "core/transferdatasource.h"
15 
16 #include <kio/job.h>
17 
18 class MirrorSearchTransferDataSource : public TransferDataSource
19 {
20  Q_OBJECT
21  public:
22  MirrorSearchTransferDataSource(const KUrl &srcUrl, QObject *parent);
23 
24  void start();
25  void stop();
26  void addSegments(const QPair<KIO::fileoffset_t, KIO::fileoffset_t> &segmentSize, const QPair<int, int> &segmentRange);
27 
28  private Q_SLOTS:
29  void slotSearchUrls(QList<KUrl>& Urls);
30 
31  private:
32  QString m_filename;
33 };
34 
35 #endif
MirrorSearchTransferDataSource::stop
void stop()
Definition: mirrorsearchtransferdatasource.cpp:29
MirrorSearchTransferDataSource
Definition: mirrorsearchtransferdatasource.h:18
TransferDataSource
This Class is an interface for inter-plugins data change.
Definition: transferdatasource.h:26
QObject
MirrorSearchTransferDataSource::start
void start()
Definition: mirrorsearchtransferdatasource.cpp:22
transferdatasource.h
MirrorSearchTransferDataSource::addSegments
void addSegments(const QPair< KIO::fileoffset_t, KIO::fileoffset_t > &segmentSize, const QPair< int, int > &segmentRange)
Adds multiple continuous segments that should be downloaded by this TransferDataSource.
Definition: mirrorsearchtransferdatasource.cpp:34
MirrorSearchTransferDataSource::MirrorSearchTransferDataSource
MirrorSearchTransferDataSource(const KUrl &srcUrl, QObject *parent)
Definition: mirrorsearchtransferdatasource.cpp:15
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