• 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
mirrors.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2 
3  Copyright (C) 2006 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 MIRROR_H
12 #define MIRROR_H
13 
14 #include <QtCore/QObject>
15 #include <kio/job.h>
16 
17 class mirror : public QObject
18 {
19  Q_OBJECT
20 
21  public:
22  mirror();
23  void search(const KUrl &url, QObject *receiver, const char *member);
24  void search(const QString &fileName, QObject *receiver, const char *member);
25 
26  Q_SIGNALS:
27 
28  void urls (QList<KUrl>&);
29 
30  private Q_SLOTS:
31 
32  void slotData(KIO::Job *, const QByteArray& data);
33  void slotResult( KJob *job );
34 
35  private:
36 
37  QString m_search_engine;
38  KIO::TransferJob *m_job;
39  KUrl m_url;
40  QList<KUrl> m_Urls;
41  QByteArray m_data;
42 };
43 
44 void MirrorSearch ( const KUrl &url, QObject *receiver, const char *member );
45 
46 #endif // MIRROR_H
mirror::search
void search(const KUrl &url, QObject *receiver, const char *member)
Definition: mirrors.cpp:22
QObject
mirror
Definition: mirrors.h:17
MirrorSearch
void MirrorSearch(const KUrl &url, QObject *receiver, const char *member)
Definition: mirrors.cpp:90
mirror::mirror
mirror()
Definition: mirrors.cpp:16
mirror::urls
void urls(QList< KUrl > &)
KJob
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