• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kio
 

kio/kio

  • kio
  • kio
dataprotocol.h
1 // dataprotocol.h
2 // ================
3 //
4 // Interface of the KDE data protocol core operations
5 //
6 // Author: Leo Savernik
7 // Email: l.savernik@aon.at
8 // (C) 2002 by Leo Savernik
9 // Created: Sam Dez 28 14:11:18 CET 2002
10 
11 /***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU Lesser General Public License as *
15  * published by the Free Software Foundation; version 2. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef __dataprotocol_h__
20 #define __dataprotocol_h__
21 
22 // dataprotocol.* interprets the following defines
23 // DATAKIOSLAVE: define if you want to compile this into a stand-alone
24 // kioslave
25 // TESTKIO: define for test-driving
26 // Both defines are mutually exclusive. Defining none of them compiles
27 // DataProtocol for internal usage within libkiocore.
28 
29 class TQString;
30 class TQCString;
31 
32 class KURL;
33 
34 #if defined(DATAKIOSLAVE)
35 # include <kio/slavebase.h>
36 #elif !defined(TESTKIO)
37 # include "kio/dataslave.h"
38 #endif
39 
40 namespace KIO {
41 
46 #if defined(DATAKIOSLAVE)
47 class DataProtocol : public KIO::SlaveBase {
48 #elif defined(TESTKIO)
49 class DataProtocol : public TestSlave {
50 #else
51 class DataProtocol : public DataSlave {
52 #endif
53 
54 public:
55 #if defined(DATAKIOSLAVE)
56  DataProtocol(const TQCString &pool_socket, const TQCString &app_socket);
57 #else
58  DataProtocol();
59 #endif
60  virtual ~DataProtocol();
61  virtual void mimetype(const KURL &url);
62  virtual void get(const KURL &url);
63 #if defined(TESTKIO)
64  void ref() {}
65  void deref() {}
66 #endif
67 };
68 
69 }/*end namespace*/
70 
71 #endif
KIO::mimetype
KIO_EXPORT MimetypeJob * mimetype(const KURL &url, bool showProgressInfo=true)
Find mimetype for one file or directory.
Definition: job.cpp:1509
KIO::SlaveBase
There are two classes that specifies the protocol between application (job) and kioslave.
Definition: slavebase.h:45
KIO::DataSlave
This class provides a high performance implementation for the data url scheme (rfc2397).
Definition: dataslave.h:49
KIO::DataProtocol
This kioslave provides support of data urls as specified by rfc 2397.
Definition: dataprotocol.h:51

kio/kio

Skip menu "kio/kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kio/kio

Skip menu "kio/kio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kio by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |