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

KNewStuff

  • knewstuff
  • knewstuff3
  • core
xmlloader.h
Go to the documentation of this file.
1 /*
2  knewstuff3/xmlloader.h.
3  Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org>
4  Copyright (c) 2003 - 2007 Josef Spillner <spillner@kde.org>
5  Copyright (c) 2009 Jeremy Whiting <jpwhiting@kde.org>
6  Copyright (C) 2010 Frederik Gladhorn <gladhorn@kde.org>
7 
8  This library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Lesser General Public
10  License as published by the Free Software Foundation; either
11  version 2.1 of the License, or (at your option) any later version.
12 
13  This library is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public
19  License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 */
21 #ifndef KNEWSTUFF3_XML_LOADER_H
22 #define KNEWSTUFF3_XML_LOADER_H
23 
24 #include <QtXml/qdom.h>
25 #include <QtCore/QObject>
26 #include <QtCore/QString>
27 
28 #include <kurl.h>
29 
30 class KJob;
31 
32 namespace KIO
33 {
34  class Job;
35 }
36 
37 namespace KNS3
38 {
39 
40 QDomElement addElement(QDomDocument& doc, QDomElement& parent,
41  const QString& tag, const QString& value);
42 
51 class XmlLoader : public QObject
52 {
53  Q_OBJECT
54 public:
58  XmlLoader(QObject* parent);
59 
66  void load(const KUrl & url);
67 
68 Q_SIGNALS:
72  void signalLoaded(const QDomDocument&);
73  void signalFailed();
74 
75  void jobStarted(KJob*);
76 
77 protected Q_SLOTS:
78  void slotJobData(KIO::Job *, const QByteArray &);
79  void slotJobResult(KJob *);
80 
81 private:
82  QByteArray m_jobdata;
83 };
84 
85 }
86 
87 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon May 5 2014 18:16:41 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

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

kdelibs-4.11.5 API Reference

Skip menu "kdelibs-4.11.5 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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