Eneboo - Documentación para desarrolladores
src/flbase/aqsobjects/AQSDomNamedNodeMap_p.h
Ir a la documentación de este archivo.
00001 /***************************************************************************
00002  AQSDomNamedNodeMap_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 AQSDOMNAMEDNODEMAP_P_H_
00020 #define AQSDOMNAMEDNODEMAP_P_H_
00021 
00022 #include "AQSDomNode_p.h"
00023 
00024 // @AQ_PTR_INDIRECTION@
00025 
00026 class AQSDomNamedNodeMap : public AQSVoidPtr
00027 {
00028   Q_OBJECT
00029 
00030   AQ_DECLARE_AQS_VOID(DomNamedNodeMap, 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   QDomNode *namedItem(const QString &) const;
00041   QDomNode *setNamedItem(QDomNode *);
00042   QDomNode *setNamedItem(AQSDomNode *);
00043   QDomNode *removeNamedItem(const QString &);
00044   QDomNode *item(int) const;
00045   QDomNode *namedItemNS(const QString &, const QString &) const;
00046   QDomNode *setNamedItemNS(QDomNode *);
00047   QDomNode *setNamedItemNS(AQSDomNode *);
00048   QDomNode *removeNamedItemNS(const QString &, const QString &);
00049   uint length() const;
00050   uint count() const;
00051   bool contains(const QString &) const;
00052 
00053 protected:
00054   static void *construct(const QSArgumentList &args) {
00055     QMap<int, QStringList> candidates;
00056     candidates[0].append(QString::null);
00057     candidates[1].append(QString::fromLatin1("QDomNamedNodeMap*"));
00058     QString sgt(castArgsSignature(args, candidates));
00059     if (sgt.isEmpty())
00060       return new QDomNamedNodeMap;
00061     if (sgt == QString::fromLatin1("QDomNamedNodeMap*"))
00062       return new QDomNamedNodeMap(*argValue<QDomNamedNodeMap *>(args[0]));
00063     return 0;
00064   }
00065 
00066 public:
00067   static QMap<int, QStringList> candidateConstructors() {
00068     QMap<int, QStringList> candidates;
00069     candidates[0].append(QString::null);
00070     candidates[1].append(QString::fromLatin1("QDomNamedNodeMap*"));
00071     return candidates;
00072   }
00073   //@AQ_END_DEF_PUB_SLOTS@
00074 };
00075 
00076 //@AQ_BEGIN_IMP_PUB_SLOTS@
00077 inline QDomNode *AQSDomNamedNodeMap::namedItem(const QString &arg0) const
00078 {
00079   AQ_CALL_RET_PTR(namedItem(arg0), QDomNode);
00080 }
00081 inline QDomNode *AQSDomNamedNodeMap::setNamedItem(QDomNode *arg0)
00082 {
00083   AQ_CALL_RET_PTR(setNamedItem(*arg0), QDomNode);
00084 }
00085 inline QDomNode *AQSDomNamedNodeMap::setNamedItem(AQSDomNode *arg0)
00086 {
00087   AQ_CALL_RET_PTR(setNamedItem(*arg0), QDomNode);
00088 }
00089 inline QDomNode *AQSDomNamedNodeMap::removeNamedItem(const QString &arg0)
00090 {
00091   AQ_CALL_RET_PTR(removeNamedItem(arg0), QDomNode);
00092 }
00093 inline QDomNode *AQSDomNamedNodeMap::item(int arg0) const
00094 {
00095   AQ_CALL_RET_PTR(item(arg0), QDomNode);
00096 }
00097 inline QDomNode *AQSDomNamedNodeMap::namedItemNS(const QString &arg0,  const QString &arg1) const
00098 {
00099   AQ_CALL_RET_PTR(namedItemNS(arg0, arg1), QDomNode);
00100 }
00101 inline QDomNode *AQSDomNamedNodeMap::setNamedItemNS(QDomNode *arg0)
00102 {
00103   AQ_CALL_RET_PTR(setNamedItemNS(*arg0), QDomNode);
00104 }
00105 inline QDomNode *AQSDomNamedNodeMap::setNamedItemNS(AQSDomNode *arg0)
00106 {
00107   AQ_CALL_RET_PTR(setNamedItemNS(*arg0), QDomNode);
00108 }
00109 inline QDomNode *AQSDomNamedNodeMap::removeNamedItemNS(const QString &arg0,  const QString &arg1)
00110 {
00111   AQ_CALL_RET_PTR(removeNamedItemNS(arg0, arg1), QDomNode);
00112 }
00113 inline uint AQSDomNamedNodeMap::length() const
00114 {
00115   AQ_CALL_RET_V(length(), uint);
00116 }
00117 inline uint AQSDomNamedNodeMap::count() const
00118 {
00119   AQ_CALL_RET_V(count(), uint);
00120 }
00121 inline bool AQSDomNamedNodeMap::contains(const QString &arg0) const
00122 {
00123   AQ_CALL_RET_V(contains(arg0), bool);
00124 }
00125 //@AQ_END_IMP_PUB_SLOTS@
00126 
00127 #endif /* AQSDOMNAMEDNODEMAP_P_H_ */
00128 // @AQSVOIDPTR@
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'