• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

console/kabcclient

formatfactory.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (C) 2005 - 2006 Kevin Krammer <kevin.krammer@gmx.at>
00003 //
00004 //  This program is free software; you can redistribute it and/or modify
00005 //  it under the terms of the GNU General Public License as published by
00006 //  the Free Software Foundation; either version 2 of the License, or
00007 //  (at your option) any later version.
00008 //
00009 //  This program is distributed in the hope that it will be useful,
00010 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 //  GNU General Public License for more details.
00013 //
00014 //  You should have received a copy of the GNU General Public License
00015 //  along with this program; if not, write to the Free Software
00016 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00017 //
00018 
00019 #ifndef FORMATFACTORY_H
00020 #define FORMATFACTORY_H
00021 
00022 // Qt includes
00023 #include <QtCore/QByteArray>
00024 #include <QtCore/QList>
00025 
00026 // forward declarations
00027 class CSVTemplateFactory;
00028 class InputFormat;
00029 class OutputFormat;
00030 
00034 typedef QList<QByteArray> QByteArrayList;
00035 
00102 class FormatFactory
00103 {
00104 public:
00108     FormatFactory();
00109 
00113     ~FormatFactory();
00114 
00128     inline QByteArrayList inputFormatList() const  { return m_inputFormats;  }
00129 
00143     inline QByteArrayList outputFormatList() const { return m_outputFormats; }
00144 
00159     InputFormat* inputFormat(const QByteArray& name);
00160 
00175     OutputFormat* outputFormat(const QByteArray& name);
00176 
00177 private:
00181     QByteArrayList m_inputFormats;
00182 
00186     QByteArrayList m_outputFormats;
00187 
00194     CSVTemplateFactory* m_csvtemplateFactory;
00195 
00196 private:
00197     FormatFactory(const FormatFactory&);
00198     FormatFactory& operator=(const FormatFactory&);
00199 };
00200 
00201 #endif
00202 
00203 // End of file

console/kabcclient

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal