Eneboo - Documentación para desarrolladores
src/flbase/aqsobjects/AQSDomImplementation_p.h
Ir a la documentación de este archivo.
00001 /***************************************************************************
00002  AQSDomImplementation_p.h
00003  -------------------
00004  begin                : 16/02/2011
00005  copyright            : (C) 2003-2011 by InfoSiAL S.L.
00006  email                : mail@infosial.com
00007  ***************************************************************************/
00008 /***************************************************************************
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; version 2 of the License.               *
00012  ***************************************************************************/
00013 /***************************************************************************
00014  Este  programa es software libre. Puede redistribuirlo y/o modificarlo
00015  bajo  los  términos  de  la  Licencia  Pública General de GNU   en  su
00016  versión 2, publicada  por  la  Free  Software Foundation.
00017  ***************************************************************************/
00018 
00019 #ifndef AQSDOMIMPLEMENTATION_P_H_
00020 #define AQSDOMIMPLEMENTATION_P_H_
00021 
00022 #include "AQSDomDocumentType_p.h"
00023 
00024 // @AQ_PTR_INDIRECTION@
00025 
00026 class AQSDomImplementation : public AQSVoidPtr
00027 {
00028   Q_OBJECT
00029 
00030   AQ_DECLARE_AQS_VOID(DomImplementation, VoidPtr);
00031 
00032 protected:
00033   void specializedInternalFinish() {
00034     if (!wrap_)
00035       delete o_;
00036   }
00037 
00038   //@AQ_BEGIN_DEF_PUB_SLOTS@
00039 public slots:
00040   virtual bool hasFeature(const QString &, const QString &);
00041   virtual QDomDocumentType *createDocumentType(const QString &, const QString &, const QString &);
00042   virtual QDomDocument *createDocument(const QString &, const QString &, QDomDocumentType *);
00043   virtual QDomDocument *createDocument(const QString &, const QString &, AQSDomDocumentType *);
00044   bool isNull();
00045 
00046 protected:
00047   static void *construct(const QSArgumentList &args) {
00048     QMap<int, QStringList> candidates;
00049     candidates[0].append(QString::null);
00050     candidates[1].append(QString::fromLatin1("QDomImplementation*"));
00051     QString sgt(castArgsSignature(args, candidates));
00052     if (sgt.isEmpty())
00053       return new QDomImplementation;
00054     if (sgt == QString::fromLatin1("QDomImplementation*"))
00055       return new QDomImplementation(*argValue<QDomImplementation *>(args[0]));
00056     return 0;
00057   }
00058 
00059 public:
00060   static QMap<int, QStringList> candidateConstructors() {
00061     QMap<int, QStringList> candidates;
00062     candidates[0].append(QString::null);
00063     candidates[1].append(QString::fromLatin1("QDomImplementation*"));
00064     return candidates;
00065   }
00066   //@AQ_END_DEF_PUB_SLOTS@
00067 };
00068 
00069 //@AQ_BEGIN_IMP_PUB_SLOTS@
00070 inline bool AQSDomImplementation::hasFeature(const QString &arg0,  const QString &arg1)
00071 {
00072   AQ_CALL_RET_V(hasFeature(arg0, arg1), bool);
00073 }
00074 inline QDomDocumentType *AQSDomImplementation::createDocumentType(const QString &arg0,  const QString &arg1,  const QString &arg2)
00075 {
00076   AQ_CALL_RET_PTR(createDocumentType(arg0, arg1, arg2), QDomDocumentType);
00077 }
00078 inline QDomDocument *AQSDomImplementation::createDocument(const QString &arg0,  const QString &arg1,  QDomDocumentType *arg2)
00079 {
00080   AQ_CALL_RET_PTR(createDocument(arg0, arg1, *arg2), QDomDocument);
00081 }
00082 inline QDomDocument *AQSDomImplementation::createDocument(const QString &arg0,  const QString &arg1, AQSDomDocumentType *arg2)
00083 {
00084   AQ_CALL_RET_PTR(createDocument(arg0, arg1, *arg2), QDomDocument);
00085 }
00086 inline bool AQSDomImplementation::isNull()
00087 {
00088   AQ_CALL_RET_V(isNull(), bool);
00089 }
00090 //@AQ_END_IMP_PUB_SLOTS@
00091 
00092 #endif /* AQSDOMIMPLEMENTATION_P_H_ */
00093 // @AQSVOIDPTR@
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'