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

KTNEF Library

  • sources
  • kde-4.12
  • kdepimlibs
  • ktnef
ktnefparser.h
Go to the documentation of this file.
1 /*
2  ktnefparser.h
3 
4  Copyright (C) 2002 Michael Goffioul <kdeprint@swing.be>
5 
6  This file is part of KTNEF, the KDE TNEF support library/program.
7 
8  This library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Library General Public
10  License as published by the Free Software Foundation; either
11  version 2 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  Library General Public License for more details.
17 
18  You should have received a copy of the GNU Library General Public License
19  along with this library; see the file COPYING.LIB. If not, write to
20  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  Boston, MA 02110-1301, USA.
22  */
31 #ifndef KTNEFPARSER_H
32 #define KTNEFPARSER_H
33 
34 #include <QtCore/QString>
35 #include <QtCore/QMap>
36 #include <QtCore/QIODevice>
37 #include "ktnef_export.h"
38 
39 namespace KTnef {
40  class KTNEFAttach;
41  class KTNEFMessage;
42  class KTNEFProperty;
43 }
44 
45 namespace KTnef {
46 
51 class KTNEF_EXPORT KTNEFParser
52 {
53  public:
57  KTNEFParser();
58 
62  ~KTNEFParser();
63 
70  bool openFile( const QString &filename ) const;
71 
78  bool openDevice( QIODevice *device );
79 
87  bool extractFile( const QString &filename ) const;
88 
99  bool extractFileTo( const QString &filename, const QString &dirname ) const;
100 
106  bool extractAll();
107 
113  void setDefaultExtractDir( const QString &dirname );
114 
120  KTNEFMessage *message() const;
121 
122  private:
123  //@cond PRIVATE
124  class ParserPrivate;
125  ParserPrivate *const d;
126  //@endcond
127 
128  Q_DISABLE_COPY( KTNEFParser )
129 };
130 
131 }
132 #endif
KTnef::KTNEFMessage
Represents a TNEF message.
Definition: ktnefmessage.h:49
KTnef::KTNEFParser
Provides an TNEF parser.
Definition: ktnefparser.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KTNEF Library

Skip menu "KTNEF Library"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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