• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KIO

  • sources
  • kde-4.12
  • kdelibs
  • kio
  • kio
hostinfo_p.h
Go to the documentation of this file.
1 /*
2 Copyright 2008 Roland Harnau <tau@gmx.eu>
3 
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) version 3, or any
8 later version accepted by the membership of KDE e.V. (or its
9 successor approved by the membership of KDE e.V.), which shall
10 act as a proxy defined in Section 6 of version 3 of the license.
11 
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16 
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 #ifndef HOSTINFO_H_
22 #define HOSTINFO_H_
23 
24 #include <QtCore/QString>
25 #include <QtCore/QObject>
26 #include "kio_export.h"
27 
28 class QHostInfo;
29 
30 namespace KIO
31 {
32  namespace HostInfo
33  {
34  KIO_EXPORT void lookupHost(const QString& hostName, QObject* receiver, const char* member);
35  KIO_EXPORT QHostInfo lookupHost(const QString& hostName, unsigned long timeout);
36  KIO_EXPORT QHostInfo lookupCachedHostInfoFor(const QString& hostName);
37  KIO_EXPORT void cacheLookup(const QHostInfo& info);
38 
39  // used by khtml's DNS prefetching feature
40  KIO_EXPORT void prefetchHost(const QString& hostName);
41  KIO_EXPORT void setCacheSize( int s );
42  KIO_EXPORT void setTTL( int ttl );
43  }
44 }
45 
46 #endif
kio_export.h
timeout
int timeout
KIO::HostInfo::lookupHost
void lookupHost(const QString &hostName, QObject *receiver, const char *member)
Definition: hostinfo.cpp:240
QString
QObject
KIO::HostInfo::setTTL
void setTTL(int ttl)
Definition: hostinfo.cpp:302
KIO::HostInfo::cacheLookup
void cacheLookup(const QHostInfo &info)
Definition: hostinfo.cpp:287
KIO::HostInfo::lookupCachedHostInfoFor
QHostInfo lookupCachedHostInfoFor(const QString &hostName)
Definition: hostinfo.cpp:282
KIO::HostInfo::prefetchHost
void prefetchHost(const QString &hostName)
Definition: hostinfo.cpp:292
KIO::HostInfo::setCacheSize
void setCacheSize(int s)
Definition: hostinfo.cpp:297
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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